Details

Time bar (total: 14.9s)

sample54.0ms

Algorithm
intervals
Results
20.0ms59×body1280valid
10.0ms38×body640valid
9.0ms128×body80valid
4.0ms19×body320valid
2.0ms12×body160valid

simplify246.0ms

Counts
1 → 1

prune10.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 30.0b

localize34.0ms

Local error

Found 2 expressions with local error:

3.4b
(- (/ x (+ x 1)) (/ (+ x 1) (- x 1)))
0.0b
(/ (+ x 1) (- x 1))

rewrite83.0ms

Algorithm
rewrite-expression-head
Rules
92×*-un-lft-identity
48×times-frac
47×add-sqr-sqrt
18×distribute-lft-out--
16×distribute-lft-out
15×add-cube-cbrt
14×difference-of-squares
associate-/r*
difference-of-sqr-1
add-cbrt-cube add-exp-log associate-/l* add-log-exp
pow1 flip3-- associate-/r/ insert-posit16 flip-- associate-/l/
cbrt-undiv clear-num sub-neg frac-2neg flip3-+ diff-log div-exp frac-sub flip-+ div-inv
Counts
2 → 83
Calls
2 calls:
Slowest
64.0ms
(- (/ x (+ x 1)) (/ (+ x 1) (- x 1)))
17.0ms
(/ (+ x 1) (- x 1))

series135.0ms

Counts
2 → 6
Calls
2 calls:
Slowest
95.0ms
(- (/ x (+ x 1)) (/ (+ x 1) (- x 1)))
40.0ms
(/ (+ x 1) (- x 1))

simplify839.0ms

Counts
89 → 89

prune796.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize32.0ms

Local error

Found 4 expressions with local error:

8.8b
(+ (+ (/ 3 x) (/ 3 (* (* x x) x))) (/ 1 (* x x)))
0.5b
(/ 3 (* (* x x) x))
0.1b
(/ 1 (* x x))
0.1b
(* (* x x) x)

rewrite260.0ms

Algorithm
rewrite-expression-head
Rules
31×pow1
29×add-exp-log
23×add-cbrt-cube
17×*-un-lft-identity
10×add-sqr-sqrt
prod-exp add-cube-cbrt add-log-exp
pow-plus div-exp pow-prod-up cbrt-unprod
times-frac pow-flip distribute-lft-out associate-/l*
cbrt-undiv
pow-prod-down frac-add insert-posit16 div-inv
pow2 sum-log associate-*r* pow-sqr
rec-exp clear-num associate-/r* frac-2neg flip3-+ 1-exp flip-+
+-commutative associate-+l+ associate-*l* pow3 *-commutative inv-pow unswap-sqr
Counts
4 → 107
Calls
4 calls:
Slowest
203.0ms
(+ (+ (/ 3 x) (/ 3 (* (* x x) x))) (/ 1 (* x x)))
26.0ms
(/ 3 (* (* x x) x))
17.0ms
(* (* x x) x)
12.0ms
(/ 1 (* x x))

series198.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
72.0ms
(/ 3 (* (* x x) x))
66.0ms
(* (* x x) x)
39.0ms
(+ (+ (/ 3 x) (/ 3 (* (* x x) x))) (/ 1 (* x x)))
20.0ms
(/ 1 (* x x))

simplify3.4s

Counts
119 → 119

prune1.0s

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize29.0ms

Local error

Found 4 expressions with local error:

19.9b
(- (* x (- x 1)) (* (+ x 1) (+ x 1)))
0.0b
(/ (- (* x (- x 1)) (* (+ x 1) (+ x 1))) (* (+ x 1) (- x 1)))
0.0b
(* (+ x 1) (+ x 1))
0.0b
(* x (- x 1))

rewrite116.0ms

Algorithm
rewrite-expression-head
Rules
46×associate-*r/
33×flip3-+ flip-+
32×frac-sub
29×*-un-lft-identity
24×frac-times
22×flip3-- flip--
20×add-sqr-sqrt
18×associate-/l/
13×pow1 add-cbrt-cube add-exp-log
12×associate-*l/ add-cube-cbrt
11×associate-*r*
associate-/r/
associate-*l*
distribute-rgt-in distribute-lft-in swap-sqr distribute-lft-out add-log-exp
sub-neg
associate--l+ insert-posit16
times-frac prod-exp cbrt-unprod associate-/l*
cbrt-undiv div-exp pow-prod-down *-commutative associate--r+ difference-of-squares unswap-sqr
pow2 clear-num associate-/r* frac-2neg pow-plus diff-log difference-of-sqr-1 div-sub pow-sqr pow-prod-up div-inv distribute-lft-out--
Counts
4 → 154
Calls
4 calls:
Slowest
41.0ms
(/ (- (* x (- x 1)) (* (+ x 1) (+ x 1))) (* (+ x 1) (- x 1)))
28.0ms
(* x (- x 1))
28.0ms
(* (+ x 1) (+ x 1))
15.0ms
(- (* x (- x 1)) (* (+ x 1) (+ x 1)))

series208.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
78.0ms
(/ (- (* x (- x 1)) (* (+ x 1) (+ x 1))) (* (+ x 1) (- x 1)))
61.0ms
(- (* x (- x 1)) (* (+ x 1) (+ x 1)))
48.0ms
(* x (- x 1))
20.0ms
(* (+ x 1) (+ x 1))

simplify1.4s

Counts
166 → 166

prune1.5s

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

localize42.0ms

Local error

Found 3 expressions with local error:

15.8b
(/ (- (+ (* 3 x) 1)) (* (+ x 1) (- x 1)))
0.0b
(+ (* 3 x) 1)
0.0b
(* (+ x 1) (- x 1))

rewrite119.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt
16×*-un-lft-identity
11×add-cube-cbrt
10×times-frac add-cbrt-cube add-exp-log associate-/l*
frac-times flip3-+ associate-/r/ flip-+
associate-*r*
distribute-lft-neg-in distribute-rgt-neg-in flip3-- flip--
pow1 add-log-exp
associate-*l* associate-*l/ associate-*r/
insert-posit16
distribute-rgt-in cbrt-undiv neg-mul-1 sub-neg distribute-lft-in div-exp prod-exp cbrt-unprod distribute-neg-frac difference-of-squares associate-/l/
neg-sub0 +-commutative clear-num associate-/r* sum-log frac-2neg difference-of-sqr-1 div-sub pow-prod-down distribute-frac-neg *-commutative div-inv distribute-lft-out distribute-lft-out-- unswap-sqr
Counts
3 → 96
Calls
3 calls:
Slowest
55.0ms
(/ (- (+ (* 3 x) 1)) (* (+ x 1) (- x 1)))
50.0ms
(* (+ x 1) (- x 1))
12.0ms
(+ (* 3 x) 1)

series238.0ms

Counts
3 → 9
Calls
3 calls:
Slowest
91.0ms
(* (+ x 1) (- x 1))
78.0ms
(/ (- (+ (* 3 x) 1)) (* (+ x 1) (- x 1)))
68.0ms
(+ (* 3 x) 1)

simplify565.0ms

Counts
105 → 105

prune1.0s

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

regimes83.0ms

Accuracy

97.7% (0.3b remaining)

Error of 0.4b against oracle of 0.0b and baseline of 14.9b

bsearch124.0ms

end0.0ms

sample2.3s

Algorithm
intervals
Results
810.0ms4171×body80valid
786.0ms1681×body1280valid
407.0ms1242×body640valid
128.0ms597×body320valid
44.0ms309×body160valid