Details

Time bar (total: 3.5s)

sample262.0ms

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

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

series82.0ms

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

simplify67.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
0293774
1927758
23021743
35001743

prune157.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite68.0ms

Algorithm
rewrite-expression-head
Rules
217×*-un-lft-identity
182×times-frac
181×add-sqr-sqrt
97×add-cube-cbrt
96×associate-*r*
94×sqrt-prod
77×distribute-lft-neg-in distribute-rgt-neg-in
37×distribute-lft-out-- difference-of-squares
23×distribute-lft-out
18×associate-/l*
11×neg-mul-1
add-exp-log add-cbrt-cube
associate-*l*
sqrt-div
associate-/r*
pow1 associate-/r/ unswap-sqr
flip3-+ flip-+
cbrt-undiv expm1-log1p-u frac-times flip3-- distribute-frac-neg div-exp associate-*l/ prod-exp flip-- cbrt-unprod log1p-expm1-u div-inv associate-/l/ distribute-neg-frac add-log-exp
neg-sub0 frac-2neg div-sub associate-*r/ pow-prod-down clear-num *-commutative distribute-rgt-neg-out
Counts
2 → 261
Calls
2 calls:
12.0ms
(/ (- (sqrt (+ f n))) (- f n))
40.0ms
(* (sqrt (+ f n)) (/ (- (sqrt (+ f n))) (- f n)))

series157.0ms

Counts
2 → 6
Calls
2 calls:
77.0ms
(/ (- (sqrt (+ f n))) (- f n))
80.0ms
(* (sqrt (+ f n)) (/ (- (sqrt (+ f n))) (- f n)))

simplify92.0ms

Algorithm
egg-herbie
Counts
267 → 267
Iterations

Useful iterations: 2 (70.0ms)

IterNodesCost
06742520
131972420
250012350

prune421.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite70.0ms

Algorithm
rewrite-expression-head
Rules
192×*-un-lft-identity
160×add-sqr-sqrt
154×times-frac
149×sqrt-prod
82×add-cube-cbrt
81×associate-*r*
48×distribute-lft-neg-in distribute-rgt-neg-in
31×distribute-lft-out-- difference-of-squares
24×distribute-lft-out
15×associate-*l* associate-/l*
12×neg-mul-1
add-exp-log add-cbrt-cube
sqrt-div distribute-neg-frac unswap-sqr
associate-/r*
pow1 associate-/r/
flip3-+ flip-+
cbrt-undiv expm1-log1p-u frac-times flip3-- div-exp associate-*l/ prod-exp flip-- cbrt-unprod log1p-expm1-u div-inv associate-/l/ add-log-exp
frac-2neg associate-*r/ pow-prod-down clear-num *-commutative
Counts
2 → 235
Calls
2 calls:
44.0ms
(* (sqrt (- (+ f n))) (/ (sqrt (- (+ f n))) (- f n)))
12.0ms
(/ (sqrt (- (+ f n))) (- f n))

series179.0ms

Counts
2 → 6
Calls
2 calls:
79.0ms
(* (sqrt (- (+ f n))) (/ (sqrt (- (+ f n))) (- f n)))
99.0ms
(/ (sqrt (- (+ f n))) (- f n))

simplify77.0ms

Algorithm
egg-herbie
Counts
241 → 241
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
06052411
124472263
250012174

prune440.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

localize18.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (- f n))
0.5b
(cbrt (- f n))
0.6b
(cbrt (+ f n))
0.6b
(cbrt (+ f n))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
18×cbrt-prod
16×*-un-lft-identity
12×add-sqr-sqrt
add-cube-cbrt cbrt-div
pow1 add-exp-log expm1-log1p-u pow1/3 add-cbrt-cube log1p-expm1-u add-log-exp
flip3-- flip3-+ flip-- flip-+ distribute-lft-out distribute-lft-out-- difference-of-squares
Counts
4 → 66
Calls
4 calls:
3.0ms
(cbrt (- f n))
3.0ms
(cbrt (- f n))
3.0ms
(cbrt (+ f n))
3.0ms
(cbrt (+ f n))

series550.0ms

Counts
4 → 12
Calls
4 calls:
143.0ms
(cbrt (- f n))
148.0ms
(cbrt (- f n))
130.0ms
(cbrt (+ f n))
129.0ms
(cbrt (+ f n))

simplify54.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 3 (48.0ms)

IterNodesCost
0228412
1564392
21856380
35002368

prune325.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

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

sample299.0ms

Algorithm
intervals
Results
172.0ms8000×body80valid