Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
This solution fails for ambiguous sampling.
There's an option to switch to TypeScript ES6, which supports
String.prototype.repeat
.I had the same problem, but it just means there's something else wrong with your code.
Sometimes the errors you get back don't make any sense.
prop_ext_eq n k = n >= 1 && n <= 10000 && k >= 1 && k <= 100 ==> twoByN n k == twoByN' n k
It generates integers by
where
first, then checks the constraint, so the upper bound of
n
is about 100 here.prop_ext_eq n k = n >= 1 && n <= 10000 && k >= 1 && k <= 100 ==> twoByN n k == twoByN' n k
It generates integers by
where
first, then checks the constraint, so the upper bound of
n
is about 100 here.This comment is hidden because it contains spoiler information about the solution