Details

Time bar (total: 19.3s)

sample209.0ms

Algorithm
intervals
Results
53.0ms117×body1280valid
51.0ms83×body1280nan
21.0ms63×body640valid
20.0ms52×body640nan
11.0ms39×body10240exit
9.0ms209×body80nan
7.0ms30×body320nan
6.0ms27×body320valid
5.0ms103×body80valid
3.0ms20×body160valid
2.0ms16×body160nan

simplify34.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: 34.7b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
69×unpow-prod-down
65×*-un-lft-identity
56×prod-diff
54×add-sqr-sqrt
42×add-cube-cbrt
23×sqr-pow
13×pow-unpow
times-frac distribute-lft-out difference-of-squares
fma-neg
add-log-exp
pow1 add-exp-log distribute-lft-out--
expm1-log1p-u add-cbrt-cube log1p-expm1-u
pow-to-exp sub-neg flip3-- pow-pow diff-log pow-exp flip-- div-inv
Counts
2 → 119
Calls
2 calls:
3.0ms
(pow x (/ 1.0 n))
12.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series344.0ms

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

simplify64.0ms

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
05861993
119441473
250021469

prune208.0ms

Filtered
125 candidates to 69 candidates (55.2%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1187125
Fresh000
Picked101
Done000
Total1197126

Merged error: 24.5b

Counts
126 → 7

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (cbrt (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))) (cbrt (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))
3.1b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
3.1b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
3.1b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

rewrite92.0ms

Algorithm
rewrite-expression-head
Rules
246×unpow-prod-down
221×*-un-lft-identity
200×add-sqr-sqrt
168×prod-diff
108×add-cube-cbrt
90×sqr-pow
72×cbrt-prod
63×difference-of-squares
33×distribute-lft-out
27×distribute-lft-out--
24×fma-neg
22×swap-sqr
18×associate-*r* associate-*l*
12×cbrt-div
11×pow1
10×add-log-exp
flip3-- flip--
add-cbrt-cube
add-exp-log pow1/3
expm1-log1p-u frac-times cbrt-unprod log1p-expm1-u unswap-sqr
sub-neg diff-log
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative
Counts
4 → 363
Calls
4 calls:
34.0ms
(* (cbrt (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))) (cbrt (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))
13.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
13.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
13.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series2.3s

Counts
4 → 12
Calls
4 calls:
1.5s
(* (cbrt (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))) (cbrt (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))
290.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
274.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)))

simplify128.0ms

Algorithm
egg-herbie
Counts
375 → 375
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
07017579
122495888
250015677

prune801.0ms

Filtered
375 candidates to 195 candidates (52.0%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New3678375
Fresh336
Picked101
Done000
Total37111382

Merged error: 24.4b

Counts
382 → 11

localize31.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt x)
3.1b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
3.1b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
3.1b
(- (pow (+ x 1.0) (/ 1.0 n)) (* (pow (cbrt x) (/ 1.0 n)) (pow (* (cbrt x) (cbrt x)) (/ 1.0 n))))

rewrite223.0ms

Algorithm
rewrite-expression-head
Rules
1523×add-sqr-sqrt
1447×unpow-prod-down
832×prod-diff
692×unswap-sqr
600×*-un-lft-identity
540×cbrt-prod
363×add-cube-cbrt
361×sqr-pow
296×associate-*r*
153×difference-of-squares
136×swap-sqr
131×associate-*l*
110×distribute-lft-out
60×*-commutative
24×fma-neg
10×distribute-lft-out-- add-log-exp
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u
sub-neg flip3-- diff-log flip--
pow1/3
Counts
4 → 1074
Calls
4 calls:
1.0ms
(cbrt x)
13.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
13.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
78.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (* (pow (cbrt x) (/ 1.0 n)) (pow (* (cbrt x) (cbrt x)) (/ 1.0 n))))

series1.2s

Counts
4 → 12
Calls
4 calls:
178.0ms
(cbrt x)
294.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
286.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
464.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (* (pow (cbrt x) (/ 1.0 n)) (pow (* (cbrt x) (cbrt x)) (/ 1.0 n))))

simplify479.0ms

Algorithm
egg-herbie
Counts
1086 → 1086
Iterations

Useful iterations: 1 (56.0ms)

IterNodesCost
0325454184
1500148990

prune2.7s

Filtered
1086 candidates to 361 candidates (33.2%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New108151086
Fresh6410
Picked101
Done000
Total108891097

Merged error: 24.4b

Counts
1097 → 9

localize45.0ms

Local error

Found 4 expressions with local error:

3.1b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
3.1b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
3.9b
(fma 1 (pow (+ x 1.0) (/ 1.0 n)) (- (* (* (pow (cbrt (cbrt x)) (/ 1.0 n)) (pow (* (cbrt x) (cbrt x)) (/ 1.0 n))) (pow (cbrt (* (cbrt x) (cbrt x))) (/ 1.0 n)))))
4.4b
(fma (- (* (pow (cbrt (cbrt x)) (/ 1.0 n)) (pow (* (cbrt x) (cbrt x)) (/ 1.0 n)))) (pow (cbrt (* (cbrt x) (cbrt x))) (/ 1.0 n)) (* (* (pow (cbrt (cbrt x)) (/ 1.0 n)) (pow (* (cbrt x) (cbrt x)) (/ 1.0 n))) (pow (cbrt (* (cbrt x) (cbrt x))) (/ 1.0 n))))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
132×unpow-prod-down
114×*-un-lft-identity
112×prod-diff
92×add-sqr-sqrt
68×add-cube-cbrt
44×sqr-pow
18×distribute-lft-out difference-of-squares
16×fma-neg
add-log-exp
distribute-lft-out--
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u
sub-neg flip3-- diff-log flip-- fma-udef
Counts
4 → 200
Calls
4 calls:
13.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
15.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
1.0ms
(fma 1 (pow (+ x 1.0) (/ 1.0 n)) (- (* (* (pow (cbrt (cbrt x)) (/ 1.0 n)) (pow (* (cbrt x) (cbrt x)) (/ 1.0 n))) (pow (cbrt (* (cbrt x) (cbrt x))) (/ 1.0 n)))))
1.0ms
(fma (- (* (pow (cbrt (cbrt x)) (/ 1.0 n)) (pow (* (cbrt x) (cbrt x)) (/ 1.0 n)))) (pow (cbrt (* (cbrt x) (cbrt x))) (/ 1.0 n)) (* (* (pow (cbrt (cbrt x)) (/ 1.0 n)) (pow (* (cbrt x) (cbrt x)) (/ 1.0 n))) (pow (cbrt (* (cbrt x) (cbrt x))) (/ 1.0 n))))

series2.0s

Counts
4 → 12
Calls
4 calls:
298.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
299.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
776.0ms
(fma 1 (pow (+ x 1.0) (/ 1.0 n)) (- (* (* (pow (cbrt (cbrt x)) (/ 1.0 n)) (pow (* (cbrt x) (cbrt x)) (/ 1.0 n))) (pow (cbrt (* (cbrt x) (cbrt x))) (/ 1.0 n)))))
639.0ms
(fma (- (* (pow (cbrt (cbrt x)) (/ 1.0 n)) (pow (* (cbrt x) (cbrt x)) (/ 1.0 n)))) (pow (cbrt (* (cbrt x) (cbrt x))) (/ 1.0 n)) (* (* (pow (cbrt (cbrt x)) (/ 1.0 n)) (pow (* (cbrt x) (cbrt x)) (/ 1.0 n))) (pow (cbrt (* (cbrt x) (cbrt x))) (/ 1.0 n))))

simplify105.0ms

Algorithm
egg-herbie
Counts
212 → 212
Iterations

Useful iterations: 2 (67.0ms)

IterNodesCost
08904570
131663490
250013457

prune1.0s

Filtered
212 candidates to 112 candidates (52.8%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New2093212
Fresh178
Picked101
Done000
Total21110221

Merged error: 24.4b

Counts
221 → 10

regimes470.0ms

Accuracy

84.6% (1.6b remaining)

Error of 24.7b against oracle of 23.1b and baseline of 33.5b

bsearch2.0ms

simplify4.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0112220
1122220
2122220

end0.0ms

sample6.6s

Algorithm
intervals
Results
1.8s3895×body1280valid
1.3s2247×body1280nan
736.0ms1820×body640nan
660.0ms1416×body10240exit
623.0ms1809×body640valid
257.0ms6194×body80nan
221.0ms890×body320nan
205.0ms933×body320valid
157.0ms3187×body80valid
65.0ms458×body160nan
61.0ms441×body160valid