Details

Time bar (total: 15.3s)

sample209.0ms

Algorithm
intervals
Results
67.0ms138×body1280valid
39.0ms66×body1280nan
20.0ms39×body10240exit
20.0ms57×body640nan
17.0ms51×body640valid
8.0ms198×body80nan
5.0ms26×body320valid
5.0ms21×body320nan
4.0ms91×body80valid
3.0ms19×body160nan
2.0ms15×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: 29.9b

Counts
2 → 1

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(pow x (/ 1.0 n))
0.2b
(pow (+ x 1.0) (/ 1.0 n))
1.4b
(- (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:
3.0ms
(pow x (/ 1.0 n))
5.0ms
(pow (+ x 1.0) (/ 1.0 n))
11.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series549.0ms

Counts
3 → 9
Calls
3 calls:
60.0ms
(pow x (/ 1.0 n))
143.0ms
(pow (+ x 1.0) (/ 1.0 n))
346.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

prune291.0ms

Filtered
158 candidates to 95 candidates (60.1%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1526158
Fresh000
Picked101
Done000
Total1536159

Merged error: 18.3b

Counts
159 → 6

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow x (/ 1.0 n))
0.2b
(pow (+ x 1.0) (/ 1.0 n))
1.4b
(log (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))
1.4b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
135×unpow-prod-down
130×*-un-lft-identity
112×prod-diff
108×add-sqr-sqrt
84×add-cube-cbrt
61×log-prod
58×exp-sum
45×sqr-pow
26×pow-unpow
18×times-frac distribute-lft-out difference-of-squares
16×log-pow
15×exp-prod
fma-neg
pow1
add-exp-log distribute-lft-out-- add-log-exp
expm1-log1p-u add-cbrt-cube log1p-expm1-u
pow-to-exp sub-neg pow-pow pow-exp div-inv
log-div flip3-- exp-diff diff-log rem-log-exp flip--
Counts
4 → 237
Calls
4 calls:
4.0ms
(pow x (/ 1.0 n))
9.0ms
(pow (+ x 1.0) (/ 1.0 n))
16.0ms
(log (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))
12.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series765.0ms

Counts
4 → 12
Calls
4 calls:
61.0ms
(pow x (/ 1.0 n))
149.0ms
(pow (+ x 1.0) (/ 1.0 n))
279.0ms
(log (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))
275.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

simplify88.0ms

Algorithm
egg-herbie
Counts
249 → 249
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
08353935
124772885
250012880

prune441.0ms

Filtered
249 candidates to 133 candidates (53.4%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New2472249
Fresh055
Picked011
Done000
Total2478255

Merged error: 18.3b

Counts
255 → 8

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (sqrt x) (/ 1.0 n))
0.2b
(pow (+ x 1.0) (/ 1.0 n))
1.4b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow (sqrt x) (* 2 (/ 1.0 n))))
3.9b
(fma (pow (sqrt x) (/ 1.0 n)) (- (pow (sqrt x) (/ 1.0 n))) (pow (sqrt x) (* 2 (/ 1.0 n))))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
112×unpow-prod-down
93×*-un-lft-identity
84×add-sqr-sqrt
80×prod-diff
67×add-cube-cbrt
30×sqrt-prod
28×sqr-pow
26×pow-unpow
18×times-frac
12×distribute-lft-out difference-of-squares
fma-neg
pow1
add-exp-log add-log-exp
expm1-log1p-u pow-pow add-cbrt-cube log1p-expm1-u
pow-to-exp pow-exp div-inv
sub-neg flip3-- sqrt-pow1 pow1/2 diff-log sqrt-pow2 flip-- fma-udef distribute-lft-out--
Counts
4 → 190
Calls
4 calls:
4.0ms
(pow (sqrt x) (/ 1.0 n))
6.0ms
(pow (+ x 1.0) (/ 1.0 n))
13.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow (sqrt x) (* 2 (/ 1.0 n))))
1.0ms
(fma (pow (sqrt x) (/ 1.0 n)) (- (pow (sqrt x) (/ 1.0 n))) (pow (sqrt x) (* 2 (/ 1.0 n))))

series1.9s

Counts
4 → 12
Calls
4 calls:
213.0ms
(pow (sqrt x) (/ 1.0 n))
152.0ms
(pow (+ x 1.0) (/ 1.0 n))
452.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow (sqrt x) (* 2 (/ 1.0 n))))
1.1s
(fma (pow (sqrt x) (/ 1.0 n)) (- (pow (sqrt x) (/ 1.0 n))) (pow (sqrt x) (* 2 (/ 1.0 n))))

simplify97.0ms

Algorithm
egg-herbie
Counts
202 → 202
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
08364182
128673044
250013025

prune498.0ms

Filtered
202 candidates to 112 candidates (55.4%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New2011202
Fresh066
Picked101
Done101
Total2037210

Merged error: 18.3b

Counts
210 → 7

localize18.0ms

Local error

Found 4 expressions with local error:

0.2b
(pow (+ x 1.0) (/ 1.0 n))
1.4b
(log (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow (sqrt x) (* 2 (/ 1.0 n))))))
1.4b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow (sqrt x) (* 2 (/ 1.0 n))))
3.9b
(fma (pow (sqrt x) (/ 1.0 n)) (- (pow (sqrt x) (/ 1.0 n))) (pow (sqrt x) (* 2 (/ 1.0 n))))

rewrite62.0ms

Algorithm
rewrite-expression-head
Rules
204×unpow-prod-down
160×prod-diff
152×*-un-lft-identity
138×add-sqr-sqrt
104×add-cube-cbrt
85×log-prod
82×exp-sum
54×sqrt-prod
52×sqr-pow
24×difference-of-squares
22×distribute-lft-out
17×log-pow
16×exp-prod
13×pow-unpow
times-frac
fma-neg
pow1 add-log-exp
add-exp-log
expm1-log1p-u add-cbrt-cube log1p-expm1-u
sub-neg distribute-lft-out--
pow-to-exp log-div flip3-- pow-pow exp-diff diff-log rem-log-exp pow-exp flip-- fma-udef div-inv
Counts
4 → 268
Calls
4 calls:
6.0ms
(pow (+ x 1.0) (/ 1.0 n))
20.0ms
(log (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow (sqrt x) (* 2 (/ 1.0 n))))))
17.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow (sqrt x) (* 2 (/ 1.0 n))))
1.0ms
(fma (pow (sqrt x) (/ 1.0 n)) (- (pow (sqrt x) (/ 1.0 n))) (pow (sqrt x) (* 2 (/ 1.0 n))))

series2.2s

Counts
4 → 12
Calls
4 calls:
151.0ms
(pow (+ x 1.0) (/ 1.0 n))
449.0ms
(log (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow (sqrt x) (* 2 (/ 1.0 n))))))
442.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow (sqrt x) (* 2 (/ 1.0 n))))
1.1s
(fma (pow (sqrt x) (/ 1.0 n)) (- (pow (sqrt x) (/ 1.0 n))) (pow (sqrt x) (* 2 (/ 1.0 n))))

simplify121.0ms

Algorithm
egg-herbie
Counts
280 → 280
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
09547474
128685251
250015222

prune625.0ms

Filtered
280 candidates to 129 candidates (46.1%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New2791280
Fresh066
Picked011
Done000
Total2798287

Merged error: 18.2b

Counts
287 → 8

regimes246.0ms

Accuracy

83.7% (1.7b remaining)

Error of 24.5b against oracle of 22.8b and baseline of 33.2b

bsearch243.0ms

Steps
ItersRangePoint
11
3.935433936840197e-20
28487.23375504778
28170.08653940645
8
-45386.90934105675
-58.70303594915981
-44775.669105648325

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05137
15137

end0.0ms

sample6.7s

Algorithm
intervals
Results
1.8s3890×body1280valid
1.4s2237×body1280nan
725.0ms1810×body640nan
635.0ms1455×body10240exit
628.0ms1871×body640valid
271.0ms6267×body80nan
216.0ms912×body320nan
195.0ms898×body320valid
161.0ms3123×body80valid
62.0ms444×body160nan
59.0ms436×body160valid