Details

Time bar (total: 16.9s)

sample219.0ms

Algorithm
intervals
Results
50.0ms113×body1280valid
46.0ms87×body1280nan
30.0ms42×body10240exit
22.0ms62×body640valid
20.0ms49×body640nan
11.0ms146×body80nan
7.0ms29×body320nan
7.0ms30×body320valid
4.0ms92×body80valid
3.0ms20×body160nan
2.0ms12×body160valid

simplify34.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0176
1346
2806
32366
48686
550016

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 33.9b

Counts
2 → 1

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(pow (+ x 1.0) (/ 1.0 n))
0.0b
(pow x (/ 1.0 n))
2.2b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
31×add-sqr-sqrt
28×*-un-lft-identity
26×pow-unpow
19×add-cube-cbrt
18×times-frac
17×unpow-prod-down
difference-of-squares
sqr-pow
pow1 add-exp-log add-log-exp
add-cbrt-cube distribute-lft-out--
pow-to-exp pow-pow pow-exp div-inv distribute-lft-out
sub-neg flip3-- diff-log flip--
Counts
3 → 79
Calls
3 calls:
6.0ms
(pow (+ x 1.0) (/ 1.0 n))
4.0ms
(pow x (/ 1.0 n))
12.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series508.0ms

Counts
3 → 9
Calls
3 calls:
154.0ms
(pow (+ x 1.0) (/ 1.0 n))
64.0ms
(pow x (/ 1.0 n))
290.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

simplify44.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0476639
11600623
25001609

prune259.0ms

Filtered
88 candidates to 70 candidates (79.5%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New82688
Fresh000
Picked101
Done000
Total83689

Merged error: 20.4b

Counts
89 → 6

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n))) (- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n))))
0.0b
(pow (sqrt x) (/ 1.0 n))
0.0b
(pow (sqrt x) (/ 1.0 n))
2.2b
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))

rewrite75.0ms

Algorithm
rewrite-expression-head
Rules
74×add-sqr-sqrt
62×unpow-prod-down
51×*-un-lft-identity
34×sqrt-prod
32×difference-of-squares
26×pow-unpow
24×add-cube-cbrt
23×associate-*r*
18×times-frac sqr-pow
10×pow1
add-exp-log distribute-lft-out--
associate-*l* distribute-lft-out
pow-pow add-cbrt-cube add-log-exp
frac-times flip3-- flip--
sub-neg flip3-+ flip-+
distribute-rgt-in pow-to-exp distribute-lft-in sqrt-pow1 pow1/2 associate-*r/ associate-*l/ pow-exp sqrt-pow2 div-inv
diff-log pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 152
Calls
4 calls:
43.0ms
(* (+ (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n))) (- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n))))
5.0ms
(pow (sqrt x) (/ 1.0 n))
5.0ms
(pow (sqrt x) (/ 1.0 n))
17.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))

series2.8s

Counts
4 → 12
Calls
4 calls:
1.6s
(* (+ (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n))) (- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n))))
220.0ms
(pow (sqrt x) (/ 1.0 n))
223.0ms
(pow (sqrt x) (/ 1.0 n))
748.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))

simplify73.0ms

Algorithm
egg-herbie
Counts
164 → 164
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
05332158
122642011
250031999

prune495.0ms

Filtered
164 candidates to 110 candidates (67.1%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1622164
Fresh145
Picked101
Done000
Total1646170

Merged error: 20.4b

Counts
170 → 6

localize21.0ms

Local error

Found 4 expressions with local error:

0.0b
(cbrt (pow (sqrt x) (/ 1.0 n)))
0.0b
(cbrt (pow (sqrt x) (/ 1.0 n)))
0.0b
(cbrt (pow (sqrt x) (/ 1.0 n)))
2.2b
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
40×unpow-prod-down
37×add-sqr-sqrt
30×cbrt-prod
22×*-un-lft-identity
21×sqrt-prod
16×difference-of-squares
13×add-cube-cbrt
11×sqr-pow
add-log-exp
pow1 add-exp-log add-cbrt-cube distribute-lft-out--
pow1/3
sub-neg flip3-- diff-log flip-- distribute-lft-out
Counts
4 → 86
Calls
4 calls:
6.0ms
(cbrt (pow (sqrt x) (/ 1.0 n)))
5.0ms
(cbrt (pow (sqrt x) (/ 1.0 n)))
5.0ms
(cbrt (pow (sqrt x) (/ 1.0 n)))
16.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))

series1.5s

Counts
4 → 12
Calls
4 calls:
265.0ms
(cbrt (pow (sqrt x) (/ 1.0 n)))
267.0ms
(cbrt (pow (sqrt x) (/ 1.0 n)))
256.0ms
(cbrt (pow (sqrt x) (/ 1.0 n)))
757.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))

simplify84.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 3 (74.0ms)

IterNodesCost
02681062
16891001
22850987
35002978

prune359.0ms

Filtered
98 candidates to 68 candidates (69.4%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New97198
Fresh055
Picked101
Done000
Total986104

Merged error: 20.4b

Counts
104 → 6

localize21.0ms

Local error

Found 4 expressions with local error:

0.0b
(cbrt (pow (sqrt x) (/ 1.0 n)))
2.2b
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))
2.2b
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))
2.2b
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))

rewrite66.0ms

Algorithm
rewrite-expression-head
Rules
79×add-sqr-sqrt
72×unpow-prod-down
48×difference-of-squares
39×sqrt-prod
34×*-un-lft-identity
25×sqr-pow
12×distribute-lft-out--
10×cbrt-prod add-log-exp
add-cube-cbrt
pow1 add-exp-log add-cbrt-cube
sub-neg flip3-- diff-log flip-- distribute-lft-out
pow1/3
Counts
4 → 114
Calls
4 calls:
6.0ms
(cbrt (pow (sqrt x) (/ 1.0 n)))
17.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))
21.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))
16.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))

series2.8s

Counts
4 → 12
Calls
4 calls:
257.0ms
(cbrt (pow (sqrt x) (/ 1.0 n)))
958.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))
772.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))
765.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))

simplify90.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 3 (74.0ms)

IterNodesCost
02681826
16891739
228501729
350021726

prune498.0ms

Filtered
126 candidates to 84 candidates (66.7%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1242126
Fresh145
Picked101
Done000
Total1266132

Merged error: 20.4b

Counts
132 → 6

regimes219.0ms

Accuracy

83.2% (1.8b remaining)

Error of 24.2b against oracle of 22.4b and baseline of 33.2b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05292
15292

end0.0ms

sample6.7s

Algorithm
intervals
Results
1.8s3828×body1280valid
1.3s2322×body1280nan
753.0ms1849×body640nan
639.0ms1870×body640valid
636.0ms1411×body10240exit
275.0ms6075×body80nan
245.0ms969×body320nan
202.0ms918×body320valid
149.0ms3080×body80valid
68.0ms475×body160nan
66.0ms473×body160valid