Details

Time bar (total: 3.7s)

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

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

series84.0ms

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

simplify68.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
0293774
1927758
23021743
35001743

prune163.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(expm1 (log1p (/ (- (+ f n)) (- f n))))
0.0b
(/ (- (+ f n)) (- f n))
2.0b
(log1p (/ (- (+ f n)) (- f n)))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
84×*-un-lft-identity
60×add-sqr-sqrt times-frac
34×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
add-exp-log associate-/r* add-cbrt-cube
expm1-log1p-u
pow1 log1p-expm1-u add-log-exp
associate-/r/ associate-/l/ distribute-neg-frac
cbrt-undiv neg-sub0 log1p-udef expm1-log1p flip3-- frac-2neg flip3-+ div-sub log1p-expm1 distribute-frac-neg div-exp clear-num flip-- flip-+ div-inv expm1-udef
Counts
3 → 119
Calls
3 calls:
0.0ms
(expm1 (log1p (/ (- (+ f n)) (- f n))))
17.0ms
(/ (- (+ f n)) (- f n))
0.0ms
(log1p (/ (- (+ f n)) (- f n)))

series416.0ms

Counts
3 → 9
Calls
3 calls:
233.0ms
(expm1 (log1p (/ (- (+ f n)) (- f n))))
69.0ms
(/ (- (+ f n)) (- f n))
114.0ms
(log1p (/ (- (+ f n)) (- f n)))

simplify78.0ms

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 3 (62.0ms)

IterNodesCost
0364946
11083907
23442885
35001884

prune261.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
45×add-sqr-sqrt
43×*-un-lft-identity
32×times-frac
24×add-cube-cbrt
21×associate-*r*
15×add-exp-log
12×associate-*l*
add-cbrt-cube
distribute-lft-out-- difference-of-squares
pow1 associate-/r*
distribute-lft-neg-in distribute-rgt-neg-in div-exp prod-exp associate-/r/ distribute-neg-frac
associate-/l* unswap-sqr
cbrt-undiv expm1-log1p-u frac-times rec-exp flip3-- flip3-+ 1-exp associate-*l/ flip-- cbrt-unprod flip-+ log1p-expm1-u div-inv distribute-lft-out add-log-exp
distribute-lft-neg-out neg-mul-1 pow-flip frac-2neg associate-*r/ pow-prod-down clear-num un-div-inv *-commutative inv-pow
Counts
2 → 103
Calls
2 calls:
5.0ms
(/ 1 (- f n))
33.0ms
(* (- (+ f n)) (/ 1 (- f n)))

series102.0ms

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

simplify48.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0365591
11757520
25003472

prune163.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (- (+ f n)))
0.1b
(* (sqrt (- (+ f n))) (/ (sqrt (- (+ f n))) (- f n)))
0.2b
(/ (sqrt (- (+ f n))) (- f n))
7.1b
(log1p (* (sqrt (- (+ f n))) (/ (sqrt (- (+ f n))) (- f n))))

rewrite120.0ms

Algorithm
rewrite-expression-head
Rules
201×*-un-lft-identity
166×add-sqr-sqrt
161×sqrt-prod
154×times-frac
87×add-cube-cbrt
81×associate-*r*
52×distribute-lft-neg-in distribute-rgt-neg-in
31×distribute-lft-out-- difference-of-squares
26×distribute-lft-out
15×associate-*l* associate-/l*
13×neg-mul-1
11×add-exp-log add-cbrt-cube
sqrt-div distribute-neg-frac
pow1
unswap-sqr
expm1-log1p-u associate-/r*
flip3-+ associate-/r/ flip-+ log1p-expm1-u add-log-exp
cbrt-undiv frac-times flip3-- div-exp associate-*l/ prod-exp flip-- cbrt-unprod div-inv associate-/l/
rem-sqrt-square log1p-udef frac-2neg sqrt-pow1 pow1/2 log1p-expm1 associate-*r/ pow-prod-down clear-num *-commutative
Counts
4 → 272
Calls
4 calls:
8.0ms
(sqrt (- (+ f n)))
76.0ms
(* (sqrt (- (+ f n))) (/ (sqrt (- (+ f n))) (- f n)))
18.0ms
(/ (sqrt (- (+ f n))) (- f n))
0.0ms
(log1p (* (sqrt (- (+ f n))) (/ (sqrt (- (+ f n))) (- f n))))

series486.0ms

Counts
4 → 12
Calls
4 calls:
65.0ms
(sqrt (- (+ f n)))
84.0ms
(* (sqrt (- (+ f n))) (/ (sqrt (- (+ f n))) (- f n)))
108.0ms
(/ (sqrt (- (+ f n))) (- f n))
229.0ms
(log1p (* (sqrt (- (+ f n))) (/ (sqrt (- (+ f n))) (- f n))))

simplify91.0ms

Algorithm
egg-herbie
Counts
284 → 284
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
06642730
126042543
250012449

prune662.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

regimes60.0ms

Accuracy

0% (0.8b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0146
1156
2156

end0.0ms

sample440.0ms

Algorithm
intervals
Results
312.0ms8000×body80valid