Details

Time bar (total: 12.1s)

sample229.0ms

Algorithm
intervals
Results
74.0ms139×body1280valid
45.0ms78×body1280nan
23.0ms47×body10240exit
21.0ms54×body640nan
17.0ms49×body640valid
8.0ms213×body80nan
7.0ms26×body320nan
6.0ms25×body320valid
5.0ms90×body80valid
2.0ms17×body160nan
1.0ms12×body160valid

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: 30.9b

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

rewrite27.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)))

series479.0ms

Counts
3 → 9
Calls
3 calls:
148.0ms
(pow (+ x 1.0) (/ 1.0 n))
61.0ms
(pow x (/ 1.0 n))
269.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 (49.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: 22.1b

Counts
159 → 7

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (+ x 1.0))
0.0b
(sqrt (+ x 1.0))
0.0b
(pow x (/ 1.0 n))
3.1b
(fma (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (- (pow x (/ 1.0 n))))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
18×*-un-lft-identity
14×add-cube-cbrt
13×pow-unpow
times-frac
sqrt-prod
pow1
add-exp-log
expm1-log1p-u sqrt-div add-cbrt-cube log1p-expm1-u add-log-exp
unpow-prod-down
rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 flip-+ hypot-def distribute-lft-out
pow-to-exp pow-pow pow-exp fma-udef div-inv sqr-pow
Counts
4 → 77
Calls
4 calls:
3.0ms
(sqrt (+ x 1.0))
3.0ms
(sqrt (+ x 1.0))
4.0ms
(pow x (/ 1.0 n))
1.0ms
(fma (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (- (pow x (/ 1.0 n))))

series802.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(sqrt (+ x 1.0))
29.0ms
(sqrt (+ x 1.0))
60.0ms
(pow x (/ 1.0 n))
684.0ms
(fma (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (- (pow x (/ 1.0 n))))

simplify45.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0459584
11627532
25001515

prune257.0ms

Filtered
89 candidates to 72 candidates (80.9%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New88189
Fresh156
Picked011
Done000
Total89796

Merged error: 22.1b

Counts
96 → 7

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))) 3)
0.0b
(pow x (/ 1.0 n))
0.0b
(cbrt (pow (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))) 3))
2.0b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
139×unpow-prod-down
110×add-sqr-sqrt
101×*-un-lft-identity
56×prod-diff
50×add-cube-cbrt
49×sqr-pow
45×difference-of-squares
36×cbrt-prod
30×cube-prod
16×pow-unpow
15×distribute-lft-out--
13×distribute-lft-out
times-frac
fma-neg
pow1 add-exp-log add-log-exp
add-cbrt-cube
cube-div expm1-log1p-u log1p-expm1-u
flip3-- flip--
cube-mult pow-to-exp cbrt-div pow-pow unpow3 pow-exp
sub-neg pow1/3 diff-log rem-cbrt-cube div-inv rem-cube-cbrt
Counts
4 → 219
Calls
4 calls:
11.0ms
(pow (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))) 3)
4.0ms
(pow x (/ 1.0 n))
12.0ms
(cbrt (pow (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))) 3))
15.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series1.1s

Counts
4 → 12
Calls
4 calls:
451.0ms
(pow (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))) 3)
56.0ms
(pow x (/ 1.0 n))
282.0ms
(cbrt (pow (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))) 3))
274.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

simplify111.0ms

Algorithm
egg-herbie
Counts
231 → 231
Iterations

Useful iterations: 2 (80.0ms)

IterNodesCost
09153356
137252800
250012789

prune402.0ms

Filtered
231 candidates to 120 candidates (51.9%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New2301231
Fresh055
Picked011
Done011
Total2308238

Merged error: 22.1b

Counts
238 → 8

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (+ x 1.0))
0.0b
(exp (pow x (/ 1.0 n)))
0.0b
(pow x (/ 1.0 n))
2.0b
(log (/ (exp (pow (sqrt (+ x 1.0)) (* 2 (/ 1.0 n)))) (exp (pow x (/ 1.0 n)))))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
26×*-un-lft-identity
25×add-sqr-sqrt
22×add-cube-cbrt
18×times-frac
13×pow-unpow log-prod
exp-prod
pow1
add-exp-log unpow-prod-down
add-log-exp
expm1-log1p-u sqrt-prod add-cbrt-cube log1p-expm1-u
sqrt-div rem-log-exp log-pow div-inv sqr-pow
pow-to-exp rem-sqrt-square log-div pow-pow sqrt-pow1 flip3-+ pow1/2 div-exp pow-exp flip-+ hypot-def rem-exp-log distribute-lft-out pow-div
Counts
4 → 92
Calls
4 calls:
3.0ms
(sqrt (+ x 1.0))
3.0ms
(exp (pow x (/ 1.0 n)))
4.0ms
(pow x (/ 1.0 n))
10.0ms
(log (/ (exp (pow (sqrt (+ x 1.0)) (* 2 (/ 1.0 n)))) (exp (pow x (/ 1.0 n)))))

series848.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(sqrt (+ x 1.0))
73.0ms
(exp (pow x (/ 1.0 n)))
62.0ms
(pow x (/ 1.0 n))
683.0ms
(log (/ (exp (pow (sqrt (+ x 1.0)) (* 2 (/ 1.0 n)))) (exp (pow x (/ 1.0 n)))))

simplify58.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0670911
12337846
25001839

prune340.0ms

Filtered
104 candidates to 85 candidates (81.7%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1013104
Fresh235
Picked101
Done112
Total1057112

Merged error: 21.9b

Counts
112 → 7

regimes234.0ms

Accuracy

81.4% (2.0b remaining)

Error of 23.3b against oracle of 21.3b and baseline of 31.9b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05146
15146

end0.0ms

sample6.6s

Algorithm
intervals
Results
1.9s3932×body1280valid
1.3s2165×body1280nan
733.0ms1804×body640nan
622.0ms1773×body640valid
615.0ms1477×body10240exit
275.0ms6191×body80nan
221.0ms875×body320nan
207.0ms919×body320valid
157.0ms3183×body80valid
69.0ms474×body160nan
63.0ms447×body160valid