Details

Time bar (total: 13.9s)

sample252.0ms

Algorithm
intervals
Results
72.0ms129×body1280valid
47.0ms45×body1280nan
26.0ms59×body640valid
22.0ms25×body640nan
18.0ms124×body80overflowed
12.0ms118×body80valid
10.0ms221×body80nan
7.0ms20×body320valid
5.0ms12×body320nan
2.0ms13×body160valid
2.0ms10×body160nan

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 (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 29.6b

Counts
2 → 1

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(pow x (/ 1.0 n))
1.3b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

rewrite14.0ms

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

series331.0ms

Counts
2 → 6
Calls
2 calls:
60.0ms
(pow x (/ 1.0 n))
271.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

simplify39.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0404475
11391461
25001449

prune227.0ms

Filtered
57 candidates to 46 candidates (80.7%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New53457
Fresh000
Picked101
Done000
Total54458

Merged error: 19.6b

Counts
58 → 4

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
37×add-sqr-sqrt
27×*-un-lft-identity
23×unpow-prod-down
18×difference-of-squares
16×log-pow
15×exp-prod
13×add-cube-cbrt pow-unpow sqr-pow
times-frac
distribute-lft-out--
pow1 log-prod add-log-exp
add-exp-log
add-cbrt-cube
sub-neg exp-sum distribute-lft-out
pow-to-exp log-div flip3-- pow-pow exp-diff diff-log rem-log-exp pow-exp flip-- div-inv
Counts
3 → 81
Calls
3 calls:
3.0ms
(pow x (/ 1.0 n))
9.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
10.0ms
(log (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))

series615.0ms

Counts
3 → 9
Calls
3 calls:
62.0ms
(pow x (/ 1.0 n))
278.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
274.0ms
(log (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))

simplify43.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0469758
11551722
25001703

prune351.0ms

Filtered
90 candidates to 71 candidates (78.9%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New89190
Fresh033
Picked101
Done000
Total90494

Merged error: 19.6b

Counts
94 → 4

localize16.0ms

Local error

Found 4 expressions with local error:

1.3b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
1.3b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
1.4b
(log (cbrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))
1.4b
(log (cbrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt
22×*-un-lft-identity
20×unpow-prod-down
18×difference-of-squares
16×log-prod
12×sqr-pow
10×cbrt-prod
add-cube-cbrt add-log-exp
pow1 add-exp-log distribute-lft-out--
sub-neg exp-sum log-pow add-cbrt-cube
log-div cbrt-div flip3-- exp-diff pow1/3 diff-log rem-log-exp flip-- distribute-lft-out
Counts
4 → 86
Calls
4 calls:
9.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
9.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
10.0ms
(log (cbrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))
10.0ms
(log (cbrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))

series1.5s

Counts
4 → 12
Calls
4 calls:
271.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)))
447.0ms
(log (cbrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))
456.0ms
(log (cbrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))

simplify102.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (22.0ms)

IterNodesCost
03001278
18051194
237131170
350011170

prune557.0ms

Filtered
98 candidates to 82 candidates (83.7%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New95398
Fresh033
Picked101
Done000
Total966102

Merged error: 19.4b

Counts
102 → 6

localize25.0ms

Local error

Found 4 expressions with local error:

1.3b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
1.3b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
1.4b
(log (cbrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))
1.4b
(log (cbrt (exp (cbrt (pow (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))) 3)))))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt
22×*-un-lft-identity
20×unpow-prod-down
18×difference-of-squares
14×log-prod
12×sqr-pow
cbrt-prod add-cube-cbrt add-log-exp
pow1 add-exp-log distribute-lft-out--
log-pow add-cbrt-cube
sub-neg
flip3-- pow1/3 diff-log rem-log-exp exp-sum flip-- distribute-lft-out
log-div cbrt-div exp-diff
Counts
4 → 83
Calls
4 calls:
9.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
9.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
9.0ms
(log (cbrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))
12.0ms
(log (cbrt (exp (cbrt (pow (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))) 3)))))

series1.4s

Counts
4 → 12
Calls
4 calls:
275.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)))
444.0ms
(log (cbrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))
439.0ms
(log (cbrt (exp (cbrt (pow (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))) 3)))))

simplify108.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
03291217
18391159
237561135
350021135

prune589.0ms

Filtered
95 candidates to 82 candidates (86.3%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New95095
Fresh055
Picked011
Done000
Total956101

Merged error: 19.4b

Counts
101 → 6

regimes381.0ms

Accuracy

77.7% (2.5b remaining)

Error of 24.5b against oracle of 22.0b and baseline of 33.3b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05352
15352

end0.0ms

sample7.2s

Algorithm
intervals
Results
2.1s4038×body1280valid
1.1s1086×body1280nan
784.0ms1751×body640valid
727.0ms4120×body80overflowed
618.0ms914×body640nan
287.0ms3074×body80valid
283.0ms6262×body80nan
248.0ms846×body320valid
180.0ms462×body320nan
84.0ms458×body160valid
44.0ms217×body160nan

Profiling

Loading profile data...