Details

Time bar (total: 13.0s)

sample214.0ms

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

simplify34.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0176
1346
2806
32366
48686
550016

prune4.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:
4.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)))

series74.0ms

Counts
3 → 9
Calls
3 calls:
12.0ms
(pow x (/ 1.0 n))
18.0ms
(pow (+ x 1.0) (/ 1.0 n))
44.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

simplify52.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0552688
11885669
25002641

prune475.0ms

Filtered
88 candidates to 71 candidates (19.3%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New81788
Fresh000
Picked101
Done000
Total82789

Merged error: 21.4b

Counts
89 → 7

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

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

series134.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(pow x (/ 1.0 n))
30.0ms
(pow (sqrt (+ x 1.0)) (/ 1.0 n))
31.0ms
(pow (sqrt (+ x 1.0)) (/ 1.0 n))
61.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (sqrt (pow x (/ 1.0 n))))

simplify63.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
06331238
121571196
250021175

prune1.0s

Filtered
136 candidates to 98 candidates (27.9%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1324136
Fresh246
Picked101
Done000
Total1358143

Merged error: 21.4b

Counts
143 → 8

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

rewrite32.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:
4.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))))

series138.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(pow x (/ 1.0 n))
33.0ms
(pow (sqrt (+ x 1.0)) (/ 1.0 n))
31.0ms
(pow (sqrt (+ x 1.0)) (/ 1.0 n))
61.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (sqrt (pow x (/ 1.0 n))))

simplify61.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
06331238
121571196
250021175

prune1.5s

Filtered
136 candidates to 98 candidates (27.9%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1351136
Fresh167
Picked101
Done000
Total1377144

Merged error: 21.4b

Counts
144 → 7

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

rewrite42.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))
16.0ms
(- (pow (sqrt (sqrt (+ x 1.0))) (/ 1.0 n)) (sqrt (pow (sqrt x) (/ 1.0 n))))

series195.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(pow (sqrt (sqrt (+ x 1.0))) (/ 1.0 n))
32.0ms
(pow (sqrt (sqrt (+ x 1.0))) (/ 1.0 n))
32.0ms
(pow (sqrt (+ x 1.0)) (/ 1.0 n))
97.0ms
(- (pow (sqrt (sqrt (+ x 1.0))) (/ 1.0 n)) (sqrt (pow (sqrt x) (/ 1.0 n))))

simplify63.0ms

Algorithm
egg-herbie
Counts
162 → 162
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
06481791
121301723
250021705

prune1.3s

Filtered
162 candidates to 104 candidates (35.8%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1602162
Fresh156
Picked101
Done000
Total1627169

Merged error: 21.4b

Counts
169 → 7

regimes377.0ms

Accuracy

85.7% (1.5b remaining)

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

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07075
17275
27275

end0.0ms

sample7.1s

Algorithm
intervals
Results
2.0s3865×body1280valid
1.2s1127×body1280nan
811.0ms1857×body640valid
631.0ms959×body640nan
576.0ms4229×body80overflowed
296.0ms3118×body80valid
283.0ms6176×body80nan
266.0ms926×body320valid
173.0ms448×body320nan
82.0ms450×body160valid
50.0ms236×body160nan

Profiling

Loading profile data...