Details

Time bar (total: 2.9s)

sample312.0ms

Algorithm
intervals
Results
6.0ms256×body80valid

simplify15.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

localize8.0ms

Local error

Found 1 expressions with local error:

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

rewrite66.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 flip3-- frac-2neg flip3-+ div-sub distribute-frac-neg div-exp clear-num flip-- flip-+ div-inv add-log-exp
Counts
1 → 95
Calls
1 calls:
60.0ms
(/ (- (+ f n)) (- f n))

series78.0ms

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

simplify70.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
0288764
1915748
22934733
35002733

prune141.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
41×add-sqr-sqrt
38×*-un-lft-identity
31×times-frac
22×add-cube-cbrt
21×associate-*l*
add-exp-log add-cbrt-cube
distribute-lft-out-- difference-of-squares
associate-/r*
pow1 associate-*r* associate-/r/
associate-/l*
cbrt-undiv frac-times flip3-- flip3-+ associate-*r/ div-exp prod-exp flip-- cbrt-unprod flip-+ div-inv add-log-exp unswap-sqr
distribute-rgt-in frac-2neg distribute-lft-in pow-prod-down associate-*l/ clear-num *-commutative distribute-lft-out
Counts
2 → 84
Calls
2 calls:
13.0ms
(/ -1 (- f n))
42.0ms
(* (/ -1 (- f n)) (+ f n))

series102.0ms

Counts
2 → 6
Calls
2 calls:
38.0ms
(/ -1 (- f n))
64.0ms
(* (/ -1 (- f n)) (+ f n))

simplify52.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0417470
11635436
25001406

prune130.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite308.0ms

Algorithm
rewrite-expression-head
Rules
807×*-un-lft-identity
526×times-frac
438×sqrt-prod
417×add-sqr-sqrt
209×add-cube-cbrt
200×distribute-rgt-neg-in
172×distribute-lft-neg-in
151×swap-sqr
130×distribute-lft-out--
114×distribute-lft-out
90×difference-of-squares
69×associate-*r* associate-*l*
36×neg-mul-1
24×associate-/l*
18×pow1
12×associate-/r/
10×associate-/r*
add-exp-log add-cbrt-cube unswap-sqr
sqrt-pow1 pow1/2
flip3-- flip-- div-inv
pow-prod-up
sqrt-div associate-/l/ distribute-neg-frac
pow-prod-down pow-sqr add-log-exp
cbrt-undiv neg-sub0 frac-2neg flip3-+ div-sub distribute-frac-neg div-exp clear-num flip-+
pow2 frac-times pow-plus sqrt-unprod associate-*r/ associate-*l/ prod-exp rem-square-sqrt *-commutative cbrt-unprod
Counts
3 → 516
Calls
3 calls:
196.0ms
(* (sqrt (/ (- (+ f n)) (- f n))) (sqrt (/ (- (+ f n)) (- f n))))
33.0ms
(/ (- (+ f n)) (- f n))
32.0ms
(/ (- (+ f n)) (- f n))

series262.0ms

Counts
3 → 9
Calls
3 calls:
130.0ms
(* (sqrt (/ (- (+ f n)) (- f n))) (sqrt (/ (- (+ f n)) (- f n))))
63.0ms
(/ (- (+ f n)) (- f n))
69.0ms
(/ (- (+ f n)) (- f n))

simplify130.0ms

Algorithm
egg-herbie
Counts
525 → 525
Iterations

Useful iterations: 2 (86.0ms)

IterNodesCost
06554631
132244497
250014482

prune796.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes41.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
0124
1134
2134

end0.0ms

sample313.0ms

Algorithm
intervals
Results
158.0ms8000×body80valid