Details

Time bar (total: 16.4s)

sample251.0ms

Algorithm
intervals
Results
78.0ms133×body1280valid
47.0ms40×body1280nan
24.0ms51×body640valid
21.0ms137×body80overflowed
17.0ms24×body640nan
12.0ms218×body80nan
12.0ms33×body320valid
10.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)))

rewrite28.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:
4.0ms
(pow x (/ 1.0 n))
6.0ms
(pow (+ x 1.0) (/ 1.0 n))
12.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series472.0ms

Counts
3 → 9
Calls
3 calls:
59.0ms
(pow x (/ 1.0 n))
140.0ms
(pow (+ x 1.0) (/ 1.0 n))
273.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

simplify70.0ms

Algorithm
egg-herbie
Counts
158 → 158
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
06542164
121641642
250021637

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

rewrite63.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:
6.0ms
(pow (+ x 1.0) (/ 1.0 n))
16.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)))
12.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series976.0ms

Counts
4 → 12
Calls
4 calls:
150.0ms
(pow (+ x 1.0) (/ 1.0 n))
278.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
277.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
271.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 (52.0ms)

IterNodesCost
05425691
116944129
250014126

prune694.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

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

rewrite76.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))
18.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:
152.0ms
(pow (+ x 1.0) (/ 1.0 n))
729.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))
278.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
281.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

simplify144.0ms

Algorithm
egg-herbie
Counts
377 → 377
Iterations

Useful iterations: 2 (73.0ms)

IterNodesCost
09738393
129495988
250015957

prune1.1s

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

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

rewrite33.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)))
6.0ms
(pow (+ x 1.0) (/ 1.0 n))
14.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:
215.0ms
(pow (sqrt x) (* 2 (/ 1.0 n)))
159.0ms
(pow (+ x 1.0) (/ 1.0 n))
457.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))))

simplify98.0ms

Algorithm
egg-herbie
Counts
190 → 190
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
07754136
127782972
250012949

prune474.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

regimes246.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.8s

Algorithm
intervals
Results
2.3s3910×body1280valid
1.3s1115×body1280nan
864.0ms1813×body640valid
666.0ms908×body640nan
644.0ms4125×body80overflowed
534.0ms6269×body80nan
325.0ms3100×body80valid
305.0ms923×body320valid
193.0ms436×body320nan
93.0ms452×body160valid
52.0ms231×body160nan