code-conjure-0.6.0: bench/carry-on.txt
factorial :: Int -> Int
-- testing 4 combinations of argument values
-- pruning with 27/65 rules
-- looking through 3 candidates of size 1
-- looking through 3 candidates of size 2
-- looking through 7 candidates of size 3
-- looking through 8 candidates of size 4
-- looking through 28 candidates of size 5
-- looking through 35 candidates of size 6
-- looking through 167 candidates of size 7
-- tested 95 candidates
factorial 0 = 1
factorial x = x * factorial (x - 1)
-- looking through 195 candidates of size 8
-- looking through 1048 candidates of size 9
-- tested 539 candidates
factorial 0 = 0
factorial 1 = 1
factorial x = x * factorial (x - 1)
-- tested 547 candidates
factorial 0 = 1
factorial 1 = 1
factorial x = x * factorial (x - 1)
-- looking through 1256 candidates of size 10
-- looking through 7198 candidates of size 11
-- tested 3160 candidates
factorial 0 = 1
factorial x = x + x * (factorial (x - 1) - 1)
-- tested 3340 candidates
factorial 0 = 1
factorial x = x - x * (1 - factorial (x - 1))
-- tested 3463 candidates
factorial 0 = 1
factorial x = (0 - x) * (0 - factorial (x - 1))
-- tested 9948 candidates
cannot conjure