Details

Time bar (total: 3.1s)

sample268.0ms

Algorithm
intervals
Results
6.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

localize8.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:
20.0ms
(/ (- (+ f n)) (- f n))

series82.0ms

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

simplify66.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (19.0ms)

IterNodesCost
0288764
1915748
22934733
35002733

prune151.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
178×times-frac
174×*-un-lft-identity
122×add-sqr-sqrt
80×add-cube-cbrt
30×associate-/r*
26×distribute-lft-out
21×distribute-lft-out-- difference-of-squares
11×associate-/r/
add-exp-log add-cbrt-cube
associate-/l*
div-inv
flip3-+ flip-+
cbrt-undiv div-exp
pow1 frac-2neg clear-num associate-/l/ add-log-exp
flip3-- div-sub flip--
Counts
2 → 168
Calls
2 calls:
11.0ms
(/ (- f n) (+ f n))
13.0ms
(/ -1 (/ (- f n) (+ f n)))

series127.0ms

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

simplify72.0ms

Algorithm
egg-herbie
Counts
174 → 174
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
05221449
125891405
250021287

prune239.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize7.0ms

Local error

Found 4 expressions with local error:

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

rewrite132.0ms

Algorithm
rewrite-expression-head
Rules
190×*-un-lft-identity
155×times-frac
114×add-sqr-sqrt
54×add-cube-cbrt
35×distribute-lft-out--
28×associate-/r/ distribute-lft-out
25×associate-/r*
20×difference-of-squares
15×distribute-rgt-out--
13×div-inv
12×flip3-+ flip-+
10×add-exp-log add-cbrt-cube
associate-/l*
add-log-exp
pow1
cbrt-undiv frac-2neg div-exp clear-num
flip3-- frac-sub flip-- sub-div
sub-neg diff-log
Counts
4 → 181
Calls
4 calls:
5.0ms
(/ n (+ f n))
5.0ms
(/ f (+ f n))
46.0ms
(- (/ f (+ f n)) (/ n (+ f n)))
66.0ms
(/ -1 (- (/ f (+ f n)) (/ n (+ f n))))

series233.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(/ n (+ f n))
38.0ms
(/ f (+ f n))
71.0ms
(- (/ f (+ f n)) (/ n (+ f n)))
84.0ms
(/ -1 (- (/ f (+ f n)) (/ n (+ f n))))

simplify60.0ms

Algorithm
egg-herbie
Counts
193 → 193
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
04501472
119191424
250011349

prune307.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite100.0ms

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

series246.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(/ f (+ f n))
87.0ms
(/ -1 (- (* (/ f (+ f n)) (/ f (+ f n))) (* (/ n (+ f n)) (/ n (+ f n)))))
60.0ms
(* (/ f (+ f n)) (/ f (+ f n)))
61.0ms
(* (/ n (+ f n)) (/ n (+ f n)))

simplify47.0ms

Algorithm
egg-herbie
Counts
268 → 268
Iterations

Useful iterations: 1 (24.0ms)

IterNodesCost
09702340
150012110

prune470.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

regimes46.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01518
11518

end0.0ms

sample294.0ms

Algorithm
intervals
Results
169.0ms8000×body80valid