Details

Time bar (total: 14.6s)

sample195.0ms

Algorithm
intervals
Results
58.0ms126×body1280valid
38.0ms74×body1280nan
17.0ms47×body640valid
16.0ms43×body640nan
11.0ms41×body10240exit
10.0ms29×body320valid
8.0ms200×body80nan
8.0ms33×body320nan
5.0ms104×body80valid
3.0ms20×body160valid
2.0ms12×body160nan

simplify35.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0176
1356
2856
32496
49116
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: 31.6b

Counts
2 → 1

localize8.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))
3.2b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
76×*-un-lft-identity
73×unpow-prod-down
63×add-sqr-sqrt
56×prod-diff
51×add-cube-cbrt
26×pow-unpow
24×sqr-pow
18×times-frac
10×distribute-lft-out
difference-of-squares
fma-neg
pow1 add-exp-log add-log-exp
expm1-log1p-u add-cbrt-cube log1p-expm1-u distribute-lft-out--
pow-to-exp pow-pow pow-exp div-inv
sub-neg flip3-- diff-log flip--
Counts
3 → 149
Calls
3 calls:
5.0ms
(pow (+ x 1.0) (/ 1.0 n))
3.0ms
(pow x (/ 1.0 n))
11.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series459.0ms

Counts
3 → 9
Calls
3 calls:
138.0ms
(pow (+ x 1.0) (/ 1.0 n))
57.0ms
(pow x (/ 1.0 n))
264.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

simplify68.0ms

Algorithm
egg-herbie
Counts
158 → 158
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
06542164
121641642
250021637

prune284.0ms

Filtered
158 candidates to 95 candidates (60.1%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1517158
Fresh000
Picked101
Done000
Total1527159

Merged error: 23.8b

Counts
159 → 7

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(cbrt (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))
3.2b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
3.2b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
3.2b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

rewrite60.0ms

Algorithm
rewrite-expression-head
Rules
208×unpow-prod-down
177×*-un-lft-identity
168×prod-diff
149×add-sqr-sqrt
101×add-cube-cbrt
72×sqr-pow
36×difference-of-squares
28×distribute-lft-out
24×fma-neg
15×cbrt-prod
12×distribute-lft-out--
10×add-log-exp
pow1 add-exp-log expm1-log1p-u flip3-- add-cbrt-cube flip-- log1p-expm1-u
sub-neg diff-log
cbrt-div
pow1/3
Counts
4 → 297
Calls
4 calls:
9.0ms
(cbrt (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))
11.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
11.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
11.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series1.3s

Counts
4 → 12
Calls
4 calls:
556.0ms
(cbrt (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))
268.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
265.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
260.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

simplify90.0ms

Algorithm
egg-herbie
Counts
309 → 309
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
05545996
115344421
250014401

prune607.0ms

Filtered
309 candidates to 157 candidates (50.8%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New3081309
Fresh156
Picked011
Done000
Total3097316

Merged error: 23.8b

Counts
316 → 7

localize15.0ms

Local error

Found 4 expressions with local error:

0.3b
(cbrt (+ x 1.0))
0.3b
(cbrt (+ x 1.0))
0.3b
(cbrt (+ x 1.0))
4.9b
(fma (pow (* (cbrt (+ x 1.0)) (cbrt (+ x 1.0))) (/ 1.0 n)) (pow (cbrt (+ x 1.0)) (/ 1.0 n)) (- (pow x (/ 1.0 n))))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity
12×cbrt-prod
add-sqr-sqrt add-cube-cbrt
cbrt-div
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
flip3-+ pow1/3 flip-+ distribute-lft-out
fma-udef
Counts
4 → 58
Calls
4 calls:
3.0ms
(cbrt (+ x 1.0))
3.0ms
(cbrt (+ x 1.0))
3.0ms
(cbrt (+ x 1.0))
1.0ms
(fma (pow (* (cbrt (+ x 1.0)) (cbrt (+ x 1.0))) (/ 1.0 n)) (pow (cbrt (+ x 1.0)) (/ 1.0 n)) (- (pow x (/ 1.0 n))))

series1.1s

Counts
4 → 12
Calls
4 calls:
87.0ms
(cbrt (+ x 1.0))
86.0ms
(cbrt (+ x 1.0))
86.0ms
(cbrt (+ x 1.0))
834.0ms
(fma (pow (* (cbrt (+ x 1.0)) (cbrt (+ x 1.0))) (/ 1.0 n)) (pow (cbrt (+ x 1.0)) (/ 1.0 n)) (- (pow x (/ 1.0 n))))

simplify45.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0465701
11620644
25001634

prune297.0ms

Filtered
70 candidates to 64 candidates (91.4%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New67370
Fresh055
Picked101
Done101
Total69877

Merged error: 23.7b

Counts
77 → 8

localize21.0ms

Local error

Found 4 expressions with local error:

0.3b
(cbrt (+ x 1.0))
4.9b
(fma (pow (* (cbrt (+ x 1.0)) (cbrt (+ x 1.0))) (/ 1.0 n)) (pow (cbrt (+ x 1.0)) (/ 1.0 n)) (- (pow x (/ 1.0 n))))
4.9b
(fma (pow (* (cbrt (+ x 1.0)) (cbrt (+ x 1.0))) (/ 1.0 n)) (pow (cbrt (+ x 1.0)) (/ 1.0 n)) (- (pow x (/ 1.0 n))))
4.9b
(fma (pow (* (cbrt (+ x 1.0)) (cbrt (+ x 1.0))) (/ 1.0 n)) (pow (cbrt (+ x 1.0)) (/ 1.0 n)) (- (pow x (/ 1.0 n))))

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity
add-sqr-sqrt add-cube-cbrt
pow1 add-exp-log cbrt-prod expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
fma-udef
cbrt-div
flip3-+ pow1/3 flip-+ distribute-lft-out
Counts
4 → 46
Calls
4 calls:
3.0ms
(cbrt (+ x 1.0))
1.0ms
(fma (pow (* (cbrt (+ x 1.0)) (cbrt (+ x 1.0))) (/ 1.0 n)) (pow (cbrt (+ x 1.0)) (/ 1.0 n)) (- (pow x (/ 1.0 n))))
1.0ms
(fma (pow (* (cbrt (+ x 1.0)) (cbrt (+ x 1.0))) (/ 1.0 n)) (pow (cbrt (+ x 1.0)) (/ 1.0 n)) (- (pow x (/ 1.0 n))))
1.0ms
(fma (pow (* (cbrt (+ x 1.0)) (cbrt (+ x 1.0))) (/ 1.0 n)) (pow (cbrt (+ x 1.0)) (/ 1.0 n)) (- (pow x (/ 1.0 n))))

series2.7s

Counts
4 → 12
Calls
4 calls:
96.0ms
(cbrt (+ x 1.0))
900.0ms
(fma (pow (* (cbrt (+ x 1.0)) (cbrt (+ x 1.0))) (/ 1.0 n)) (pow (cbrt (+ x 1.0)) (/ 1.0 n)) (- (pow x (/ 1.0 n))))
858.0ms
(fma (pow (* (cbrt (+ x 1.0)) (cbrt (+ x 1.0))) (/ 1.0 n)) (pow (cbrt (+ x 1.0)) (/ 1.0 n)) (- (pow x (/ 1.0 n))))
859.0ms
(fma (pow (* (cbrt (+ x 1.0)) (cbrt (+ x 1.0))) (/ 1.0 n)) (pow (cbrt (+ x 1.0)) (/ 1.0 n)) (- (pow x (/ 1.0 n))))

simplify47.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
04651095
11620988
25001982

prune317.0ms

Filtered
58 candidates to 56 candidates (96.6%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New58058
Fresh077
Picked011
Done000
Total58866

Merged error: 23.7b

Counts
66 → 8

regimes443.0ms

Accuracy

82.1% (1.9b remaining)

Error of 24.0b against oracle of 22.1b and baseline of 32.8b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05888
15888

end0.0ms

sample6.4s

Algorithm
intervals
Results
1.8s3853×body1280valid
1.2s2135×body1280nan
724.0ms1817×body640nan
641.0ms1455×body10240exit
626.0ms1871×body640valid
258.0ms6303×body80nan
206.0ms841×body320nan
188.0ms862×body320valid
151.0ms3103×body80valid
72.0ms464×body160nan
71.0ms453×body160valid