Details

Time bar (total: 3.5s)

sample280.0ms

Algorithm
intervals
Results
12.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 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:
19.0ms
(/ (- (+ f n)) (- f n))

series81.0ms

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

simplify65.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
0288764
1915748
22934733
35002733

prune151.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
500×times-frac
424×*-un-lft-identity
302×add-sqr-sqrt
204×add-cube-cbrt
81×distribute-lft-neg-in distribute-rgt-neg-in
61×distribute-lft-out
49×distribute-lft-out-- difference-of-squares
30×associate-/r*
27×neg-mul-1
25×associate-/r/
15×associate-/l*
13×div-inv
12×flip3-+ flip-+
add-exp-log add-cbrt-cube
cbrt-undiv div-exp
pow1 frac-2neg div-sub clear-num associate-/l/ add-log-exp
neg-sub0 flip3-- distribute-frac-neg flip--
Counts
2 → 359
Calls
2 calls:
21.0ms
(/ (- 1) (/ (- f n) (+ f n)))
11.0ms
(/ (- f n) (+ f n))

series130.0ms

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

simplify57.0ms

Algorithm
egg-herbie
Counts
365 → 365
Iterations

Useful iterations: 1 (23.0ms)

IterNodesCost
010193937
150013550

prune442.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite148.0ms

Algorithm
rewrite-expression-head
Rules
415×*-un-lft-identity
386×times-frac
255×add-sqr-sqrt
111×add-cube-cbrt
84×distribute-lft-out--
56×associate-/r/ distribute-lft-out
54×distribute-lft-neg-in distribute-rgt-neg-in
48×difference-of-squares
36×distribute-rgt-out--
27×div-inv
26×flip3-+ flip-+
25×associate-/r*
18×neg-mul-1
16×associate-/l*
10×add-exp-log add-cbrt-cube
add-log-exp
pow1
cbrt-undiv frac-2neg div-exp clear-num
flip3-- frac-sub flip-- sub-div
neg-sub0 sub-neg diff-log div-sub distribute-frac-neg
Counts
4 → 309
Calls
4 calls:
69.0ms
(/ (- 1) (- (/ f (+ f n)) (/ n (+ f n))))
6.0ms
(/ f (+ f n))
5.0ms
(/ n (+ f n))
47.0ms
(- (/ f (+ f n)) (/ n (+ f n)))

series231.0ms

Counts
4 → 12
Calls
4 calls:
81.0ms
(/ (- 1) (- (/ f (+ f n)) (/ n (+ f n))))
37.0ms
(/ f (+ f n))
39.0ms
(/ n (+ f n))
74.0ms
(- (/ f (+ f n)) (/ n (+ f n)))

simplify87.0ms

Algorithm
egg-herbie
Counts
321 → 321
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
07313367
129383131
250012827

prune371.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite89.0ms

Algorithm
rewrite-expression-head
Rules
194×*-un-lft-identity
152×times-frac
118×add-sqr-sqrt
94×add-cube-cbrt
48×swap-sqr
44×distribute-lft-out
36×associate-*r* associate-*l*
32×add-exp-log add-cbrt-cube
20×associate-/r/
18×pow1
10×cbrt-undiv flip3-+ div-exp flip-+ div-inv
prod-exp associate-/r* cbrt-unprod unswap-sqr
associate-/l*
add-log-exp
pow2 frac-times frac-2neg pow-plus associate-*r/ pow-prod-down associate-*l/ clear-num pow-sqr *-commutative pow-prod-up
Counts
4 → 242
Calls
4 calls:
5.0ms
(/ n (+ f n))
5.0ms
(/ n (+ f n))
30.0ms
(* (/ f (+ f n)) (/ f (+ f n)))
33.0ms
(* (/ n (+ f n)) (/ n (+ f n)))

series205.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(/ n (+ f n))
43.0ms
(/ n (+ f n))
64.0ms
(* (/ f (+ f n)) (/ f (+ f n)))
59.0ms
(* (/ n (+ f n)) (/ n (+ f n)))

simplify90.0ms

Algorithm
egg-herbie
Counts
254 → 254
Iterations

Useful iterations: 2 (73.0ms)

IterNodesCost
07341766
137561558
250011510

prune486.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

regimes29.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
01518
11518

end0.0ms

sample433.0ms

Algorithm
intervals
Results
304.0ms8000×body80valid