Details

Time bar (total: 19.1s)

sample214.0ms

Algorithm
intervals
Results
67.0ms134×body1280valid
29.0ms30×body1280nan
23.0ms57×body640valid
20.0ms114×body80overflowed
15.0ms22×body640nan
8.0ms29×body320valid
8.0ms83×body80valid
7.0ms165×body80nan
6.0ms15×body320nan
3.0ms14×body160valid
1.0msbody160nan

simplify33.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0176
1346
2806
32366
48686
550016

prune7.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 32.3b

Counts
2 → 1

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

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
31×add-sqr-sqrt
28×*-un-lft-identity
26×pow-unpow
19×add-cube-cbrt
18×times-frac
17×unpow-prod-down
difference-of-squares
sqr-pow
pow1 add-exp-log add-log-exp
add-cbrt-cube distribute-lft-out--
pow-to-exp pow-pow pow-exp div-inv distribute-lft-out
sub-neg flip3-- diff-log flip--
Counts
3 → 79
Calls
3 calls:
3.0ms
(pow x (/ 1.0 n))
5.0ms
(pow (+ x 1.0) (/ 1.0 n))
9.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series580.0ms

Counts
3 → 9
Calls
3 calls:
67.0ms
(pow x (/ 1.0 n))
181.0ms
(pow (+ x 1.0) (/ 1.0 n))
332.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

simplify48.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0476639
11600623
25001609

prune439.0ms

Filtered
88 candidates to 70 candidates (20.5%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New81788
Fresh000
Picked101
Done000
Total82789

Merged error: 21.4b

Counts
89 → 7

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
54×add-sqr-sqrt
39×pow-unpow
36×*-un-lft-identity
30×add-cube-cbrt
29×unpow-prod-down
27×times-frac
24×sqrt-prod
16×difference-of-squares
11×sqr-pow
pow1
add-exp-log pow-pow
add-log-exp
add-cbrt-cube
pow-to-exp pow-exp div-inv
sqrt-pow1 pow1/2 sqrt-pow2 distribute-lft-out
sub-neg flip3-- diff-log flip-- distribute-lft-out--
Counts
4 → 124
Calls
4 calls:
3.0ms
(pow x (/ 1.0 n))
6.0ms
(pow (sqrt (+ x 1.0)) (/ 1.0 n))
6.0ms
(pow (sqrt (+ x 1.0)) (/ 1.0 n))
12.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (sqrt (pow x (/ 1.0 n))))

series2.0s

Counts
4 → 12
Calls
4 calls:
65.0ms
(pow x (/ 1.0 n))
505.0ms
(pow (sqrt (+ x 1.0)) (/ 1.0 n))
501.0ms
(pow (sqrt (+ x 1.0)) (/ 1.0 n))
901.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (sqrt (pow x (/ 1.0 n))))

simplify55.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
05701199
118871156
250021145

prune934.0ms

Filtered
136 candidates to 97 candidates (28.7%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1324136
Fresh246
Picked101
Done000
Total1358143

Merged error: 21.4b

Counts
143 → 8

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
54×add-sqr-sqrt
39×pow-unpow
36×*-un-lft-identity
30×add-cube-cbrt
29×unpow-prod-down
27×times-frac
24×sqrt-prod
16×difference-of-squares
11×sqr-pow
pow1
add-exp-log pow-pow
add-log-exp
add-cbrt-cube
pow-to-exp pow-exp div-inv
sqrt-pow1 pow1/2 sqrt-pow2 distribute-lft-out
sub-neg flip3-- diff-log flip-- distribute-lft-out--
Counts
4 → 124
Calls
4 calls:
3.0ms
(pow x (/ 1.0 n))
8.0ms
(pow (sqrt (+ x 1.0)) (/ 1.0 n))
6.0ms
(pow (sqrt (+ x 1.0)) (/ 1.0 n))
12.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (sqrt (pow x (/ 1.0 n))))

series1.8s

Counts
4 → 12
Calls
4 calls:
68.0ms
(pow x (/ 1.0 n))
503.0ms
(pow (sqrt (+ x 1.0)) (/ 1.0 n))
500.0ms
(pow (sqrt (+ x 1.0)) (/ 1.0 n))
717.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (sqrt (pow x (/ 1.0 n))))

simplify51.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
05701199
118871156
250021145

prune1.4s

Filtered
136 candidates to 97 candidates (28.7%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1351136
Fresh167
Picked101
Done000
Total1377144

Merged error: 21.4b

Counts
144 → 7

localize23.0ms

Local error

Found 4 expressions with local error:

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

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
73×add-sqr-sqrt
66×sqrt-prod
52×unpow-prod-down
41×*-un-lft-identity
39×pow-unpow
33×add-cube-cbrt
27×times-frac
25×difference-of-squares
13×pow-pow sqr-pow
12×pow1
sqrt-pow1
add-exp-log
add-log-exp
pow1/2
add-cbrt-cube
pow-to-exp pow-exp sqrt-pow2 div-inv distribute-lft-out
sub-neg flip3-- diff-log flip-- distribute-lft-out--
Counts
4 → 150
Calls
4 calls:
7.0ms
(pow (sqrt (sqrt (+ x 1.0))) (/ 1.0 n))
7.0ms
(pow (sqrt (sqrt (+ x 1.0))) (/ 1.0 n))
6.0ms
(pow (sqrt (+ x 1.0)) (/ 1.0 n))
19.0ms
(- (pow (sqrt (sqrt (+ x 1.0))) (/ 1.0 n)) (sqrt (pow (sqrt x) (/ 1.0 n))))

series2.7s

Counts
4 → 12
Calls
4 calls:
502.0ms
(pow (sqrt (sqrt (+ x 1.0))) (/ 1.0 n))
493.0ms
(pow (sqrt (sqrt (+ x 1.0))) (/ 1.0 n))
508.0ms
(pow (sqrt (+ x 1.0)) (/ 1.0 n))
1.2s
(- (pow (sqrt (sqrt (+ x 1.0))) (/ 1.0 n)) (sqrt (pow (sqrt x) (/ 1.0 n))))

simplify56.0ms

Algorithm
egg-herbie
Counts
162 → 162
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
06081765
119341699
250011692

prune1.2s

Filtered
162 candidates to 104 candidates (35.8%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1602162
Fresh066
Picked101
Done000
Total1618169

Merged error: 21.4b

Counts
169 → 8

regimes402.0ms

Accuracy

85.8% (1.5b remaining)

Error of 23.8b against oracle of 22.2b and baseline of 33.1b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05672
15672

end0.0ms

sample7.1s

Algorithm
intervals
Results
2.0s3865×body1280valid
1.2s1127×body1280nan
817.0ms1857×body640valid
632.0ms959×body640nan
601.0ms4229×body80overflowed
296.0ms3118×body80valid
281.0ms926×body320valid
277.0ms6176×body80nan
175.0ms448×body320nan
83.0ms450×body160valid
48.0ms236×body160nan

Profiling

Loading profile data...