Details

Time bar (total: 9.0s)

sample265.0ms

Algorithm
intervals
Results
11.0ms256×body80valid

simplify14.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0134
1164
2204
3264
4314
5334
6334

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 1 expressions with local error:

0.0b
(/ (- (+ f n)) (- f n))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
82×*-un-lft-identity
60×times-frac
58×add-sqr-sqrt
32×add-cube-cbrt
24×distribute-lft-neg-in distribute-rgt-neg-in
13×distribute-lft-out-- difference-of-squares
12×distribute-lft-out associate-/l*
neg-mul-1
associate-/r*
add-exp-log add-cbrt-cube
associate-/r/ associate-/l/ distribute-neg-frac
pow1 cbrt-undiv neg-sub0 expm1-log1p-u flip3-- frac-2neg flip3-+ div-sub distribute-frac-neg div-exp clear-num flip-- flip-+ log1p-expm1-u div-inv add-log-exp
Counts
1 → 97
Calls
1 calls:
20.0ms
(/ (- (+ f n)) (- f n))

series84.0ms

Counts
1 → 3
Calls
1 calls:
84.0ms
(/ (- (+ f n)) (- f n))

simplify68.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
0293774
1927758
23021743
35001743

prune155.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (- f n) (- (+ f n)))
0.0b
(/ 1 (/ (- f n) (- (+ f n))))

rewrite68.0ms

Algorithm
rewrite-expression-head
Rules
498×times-frac
438×*-un-lft-identity
334×add-sqr-sqrt
212×add-cube-cbrt
104×distribute-lft-neg-in distribute-rgt-neg-in
78×associate-/r*
61×distribute-lft-out-- difference-of-squares
52×distribute-lft-out
26×neg-mul-1
15×add-exp-log
11×associate-/r/
10×distribute-neg-frac
add-cbrt-cube
div-exp associate-/l*
div-inv
flip3-+ flip-+
cbrt-undiv
pow1
expm1-log1p-u rec-exp frac-2neg 1-exp clear-num log1p-expm1-u associate-/l/ add-log-exp
flip3-- pow-flip div-sub flip-- inv-pow
Counts
2 → 386
Calls
2 calls:
17.0ms
(/ (- f n) (- (+ f n)))
27.0ms
(/ 1 (/ (- f n) (- (+ f n))))

series135.0ms

Counts
2 → 6
Calls
2 calls:
65.0ms
(/ (- f n) (- (+ f n)))
70.0ms
(/ 1 (/ (- f n) (- (+ f n))))

simplify101.0ms

Algorithm
egg-herbie
Counts
392 → 392
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
09343959
143713574
250013221

prune401.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ f (- (+ f n)))
0.0b
(/ n (- (+ f n)))
0.0b
(/ 1 (- (/ f (- (+ f n))) (/ n (- (+ f n)))))
0.0b
(- (/ f (- (+ f n))) (/ n (- (+ f n))))

rewrite622.0ms

Algorithm
rewrite-expression-head
Rules
3445×times-frac
3402×*-un-lft-identity
2050×add-sqr-sqrt
1990×add-cube-cbrt
1764×prod-diff
1132×distribute-rgt-neg-in
1112×distribute-lft-neg-in
576×distribute-lft-out
273×neg-mul-1
198×associate-/r/
194×distribute-neg-frac
105×distribute-lft-out--
98×div-inv
97×flip3-+ flip-+
55×associate-/r*
42×fma-neg
20×difference-of-squares
15×distribute-rgt-out--
12×add-exp-log
10×add-cbrt-cube
associate-/l*
add-log-exp
pow1
expm1-log1p-u div-exp log1p-expm1-u
cbrt-undiv frac-2neg clear-num
flip3-- frac-sub flip-- sub-div
sub-neg rec-exp pow-flip diff-log 1-exp inv-pow
Counts
4 → 2133
Calls
4 calls:
10.0ms
(/ f (- (+ f n)))
10.0ms
(/ n (- (+ f n)))
188.0ms
(/ 1 (- (/ f (- (+ f n))) (/ n (- (+ f n)))))
178.0ms
(- (/ f (- (+ f n))) (/ n (- (+ f n))))

series236.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(/ f (- (+ f n)))
41.0ms
(/ n (- (+ f n)))
78.0ms
(/ 1 (- (/ f (- (+ f n))) (/ n (- (+ f n)))))
77.0ms
(- (/ f (- (+ f n))) (/ n (- (+ f n))))

simplify506.0ms

Algorithm
egg-herbie
Counts
2145 → 2145
Iterations

Useful iterations: 1 (49.0ms)

IterNodesCost
0327570507
1500258690

prune3.9s

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize23.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (/ n (- (+ f n))) (/ n (- (+ f n))))
0.1b
(pow (/ f (- (+ f n))) 3)
0.1b
(pow (/ n (- (+ f n))) 3)
0.1b
(* (/ f (- (+ f n))) (/ f (- (+ f n))))

rewrite214.0ms

Algorithm
rewrite-expression-head
Rules
578×*-un-lft-identity
536×times-frac
326×add-sqr-sqrt
302×add-cube-cbrt
192×distribute-rgt-neg-in
168×distribute-lft-neg-in
132×swap-sqr
108×distribute-lft-out
84×unpow-prod-down cube-prod associate-*r* associate-*l*
36×neg-mul-1
34×add-exp-log add-cbrt-cube
24×associate-/r/ distribute-neg-frac
20×pow1
12×flip3-+ flip-+ div-inv
10×cbrt-undiv div-exp
prod-exp cbrt-unprod unswap-sqr
pow-unpow
expm1-log1p-u pow-exp log1p-expm1-u add-log-exp rem-cube-cbrt
cube-div pow2 cube-mult frac-times pow-to-exp pow-pow pow-plus unpow3 associate-*r/ pow-prod-down associate-*l/ pow-sqr *-commutative pow-prod-up sqr-pow
Counts
4 → 572
Calls
4 calls:
72.0ms
(* (/ n (- (+ f n))) (/ n (- (+ f n))))
15.0ms
(pow (/ f (- (+ f n))) 3)
15.0ms
(pow (/ n (- (+ f n))) 3)
73.0ms
(* (/ f (- (+ f n))) (/ f (- (+ f n))))

series294.0ms

Counts
4 → 12
Calls
4 calls:
65.0ms
(* (/ n (- (+ f n))) (/ n (- (+ f n))))
81.0ms
(pow (/ f (- (+ f n))) 3)
81.0ms
(pow (/ n (- (+ f n))) 3)
68.0ms
(* (/ f (- (+ f n))) (/ f (- (+ f n))))

simplify92.0ms

Algorithm
egg-herbie
Counts
584 → 584
Iterations

Useful iterations: 1 (43.0ms)

IterNodesCost
021105578
150024860

prune1.3s

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

regimes61.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0145
1155
2155

end0.0ms

sample416.0ms

Algorithm
intervals
Results
286.0ms8000×body80valid