Details

Time bar (total: 15.4s)

sample239.0ms

Algorithm
intervals
Results
74.0ms133×body1280valid
40.0ms40×body1280nan
23.0ms51×body640valid
21.0ms24×body640nan
20.0ms137×body80overflowed
11.0ms218×body80nan
11.0ms33×body320valid
9.0ms93×body80valid
6.0ms14×body320nan
3.0ms13×body160valid
1.0msbody160nan

simplify36.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: 32.2b

Counts
2 → 1

localize9.0ms

Local error

Found 3 expressions with local error:

0.1b
(pow x (/ 1.0 n))
0.1b
(pow (+ x 1.0) (/ 1.0 n))
2.1b
(- (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:
3.0ms
(pow x (/ 1.0 n))
6.0ms
(pow (+ x 1.0) (/ 1.0 n))
11.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series469.0ms

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

IterNodesCost
06542164
121641642
250021637

prune283.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.9b

Counts
159 → 7

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(pow (+ x 1.0) (/ 1.0 n))
2.1b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
2.1b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
2.1b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
202×unpow-prod-down
179×*-un-lft-identity
168×prod-diff
144×add-sqr-sqrt
108×add-cube-cbrt
67×sqr-pow
28×distribute-lft-out
27×difference-of-squares
24×fma-neg
13×pow-unpow
10×add-log-exp
times-frac distribute-lft-out--
pow1 add-exp-log
expm1-log1p-u add-cbrt-cube log1p-expm1-u
sub-neg flip3-- diff-log flip--
pow-to-exp pow-pow pow-exp div-inv
Counts
4 → 300
Calls
4 calls:
9.0ms
(pow (+ x 1.0) (/ 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)))

series966.0ms

Counts
4 → 12
Calls
4 calls:
148.0ms
(pow (+ x 1.0) (/ 1.0 n))
273.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
270.0ms
(- (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)))

simplify101.0ms

Algorithm
egg-herbie
Counts
312 → 312
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
05425691
116944129
250014126

prune626.0ms

Filtered
312 candidates to 158 candidates (50.6%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New3111312
Fresh066
Picked011
Done000
Total3118319

Merged error: 23.9b

Counts
319 → 8

localize28.0ms

Local error

Found 4 expressions with local error:

0.1b
(pow (+ x 1.0) (/ 1.0 n))
2.1b
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))
2.1b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
2.1b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

rewrite71.0ms

Algorithm
rewrite-expression-head
Rules
301×unpow-prod-down
222×prod-diff
221×*-un-lft-identity
190×add-sqr-sqrt
142×add-cube-cbrt
89×sqrt-prod
75×sqr-pow
34×difference-of-squares
31×distribute-lft-out
27×fma-neg
13×pow-unpow
10×distribute-lft-out-- add-log-exp
times-frac
pow1 add-exp-log
expm1-log1p-u add-cbrt-cube log1p-expm1-u
sub-neg flip3-- diff-log flip--
pow-to-exp pow-pow pow-exp div-inv
Counts
4 → 365
Calls
4 calls:
6.0ms
(pow (+ x 1.0) (/ 1.0 n))
17.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))
12.0ms
(- (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)))

series1.4s

Counts
4 → 12
Calls
4 calls:
143.0ms
(pow (+ x 1.0) (/ 1.0 n))
717.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))
273.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
276.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

simplify145.0ms

Algorithm
egg-herbie
Counts
377 → 377
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
09738393
129495988
250015957

prune1.0s

Filtered
377 candidates to 168 candidates (44.6%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New3752377
Fresh066
Picked101
Done101
Total3778385

Merged error: 23.8b

Counts
385 → 8

localize21.0ms

Local error

Found 4 expressions with local error:

0.1b
(pow (sqrt x) (* 2 (/ 1.0 n)))
0.1b
(pow (+ x 1.0) (/ 1.0 n))
2.1b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow (sqrt x) (* 2 (/ 1.0 n))))
4.1b
(fma (pow (sqrt x) (/ 1.0 n)) (- (pow (sqrt x) (/ 1.0 n))) (pow (sqrt x) (* 2 (/ 1.0 n))))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
112×unpow-prod-down
86×*-un-lft-identity
80×prod-diff
77×add-sqr-sqrt
60×add-cube-cbrt
30×sqrt-prod
28×sqr-pow
14×pow-unpow
12×distribute-lft-out difference-of-squares
times-frac
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
sub-neg flip3-- sqrt-pow1 pow1/2 diff-log sqrt-pow2 flip-- fma-udef div-inv distribute-lft-out--
Counts
4 → 178
Calls
4 calls:
3.0ms
(pow (sqrt x) (* 2 (/ 1.0 n)))
5.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:
212.0ms
(pow (sqrt x) (* 2 (/ 1.0 n)))
152.0ms
(pow (+ x 1.0) (/ 1.0 n))
448.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))))

simplify106.0ms

Algorithm
egg-herbie
Counts
190 → 190
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
07754136
127782972
250012949

prune424.0ms

Filtered
190 candidates to 101 candidates (53.2%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1873190
Fresh257
Picked101
Done000
Total1908198

Merged error: 23.8b

Counts
198 → 8

regimes231.0ms

Accuracy

82.6% (1.8b remaining)

Error of 24.4b against oracle of 22.6b and baseline of 32.9b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06571
16571

end0.0ms

sample7.2s

Algorithm
intervals
Results
2.1s3910×body1280valid
1.2s1115×body1280nan
827.0ms1813×body640valid
634.0ms908×body640nan
613.0ms4125×body80overflowed
312.0ms3100×body80valid
307.0ms6269×body80nan
288.0ms923×body320valid
183.0ms436×body320nan
89.0ms452×body160valid
53.0ms231×body160nan