Details

Time bar (total: 10.1s)

sample124.0ms

Algorithm
intervals
Results
53.0ms112×body1280valid
13.0ms38×body640valid
8.0msbody1280nan
7.0ms143×body80valid
6.0ms26×body320valid
6.0ms159×body80nan
4.0msbody640nan
4.0ms75×body80overflowed
2.0ms14×body160valid
2.0msbody320nan
0.0msbody160nan

simplify34.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0176
1356
2856
32496
49116
550016

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 29.7b

localize9.0ms

Local error

Found 3 expressions with local error:

1.2b
(pow x (/ 1.0 n))
1.5b
(pow (+ x 1.0) (/ 1.0 n))
2.3b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

rewrite111.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))
10.0ms
(pow (+ x 1.0) (/ 1.0 n))
91.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series442.0ms

Counts
3 → 9
Calls
3 calls:
52.0ms
(pow x (/ 1.0 n))
138.0ms
(pow (+ x 1.0) (/ 1.0 n))
251.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 (47.0ms)

IterNodesCost
06542164
121641642
250021637

prune329.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 20.6b

localize12.0ms

Local error

Found 4 expressions with local error:

1.2b
(pow x (/ (/ 1.0 n) 2))
1.5b
(pow (+ x 1.0) (/ (/ 1.0 n) 2))
1.5b
(pow (+ x 1.0) (/ (/ 1.0 n) 2))
2.3b
(- (pow (+ x 1.0) (/ (/ 1.0 n) 2)) (pow x (/ (/ 1.0 n) 2)))

rewrite141.0ms

Algorithm
rewrite-expression-head
Rules
198×times-frac
171×*-un-lft-identity
156×add-sqr-sqrt
144×add-cube-cbrt
129×pow-unpow
77×unpow-prod-down
56×prod-diff
25×sqr-pow
12×div-inv
11×distribute-lft-out
difference-of-squares
fma-neg
pow1 add-exp-log
add-log-exp
expm1-log1p-u add-cbrt-cube log1p-expm1-u
pow-to-exp pow-pow pow-exp distribute-lft-out--
sub-neg flip3-- diff-log flip--
Counts
4 → 269
Calls
4 calls:
7.0ms
(pow x (/ (/ 1.0 n) 2))
13.0ms
(pow (+ x 1.0) (/ (/ 1.0 n) 2))
13.0ms
(pow (+ x 1.0) (/ (/ 1.0 n) 2))
92.0ms
(- (pow (+ x 1.0) (/ (/ 1.0 n) 2)) (pow x (/ (/ 1.0 n) 2)))

series575.0ms

Counts
4 → 12
Calls
4 calls:
51.0ms
(pow x (/ (/ 1.0 n) 2))
137.0ms
(pow (+ x 1.0) (/ (/ 1.0 n) 2))
131.0ms
(pow (+ x 1.0) (/ (/ 1.0 n) 2))
256.0ms
(- (pow (+ x 1.0) (/ (/ 1.0 n) 2)) (pow x (/ (/ 1.0 n) 2)))

simplify98.0ms

Algorithm
egg-herbie
Counts
281 → 281
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
09853525
135002856
250012853

prune869.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 19.7b

localize15.0ms

Local error

Found 4 expressions with local error:

1.2b
(pow x (/ (/ 1.0 n) 2))
1.5b
(pow (+ x 1.0) (/ (/ 1.0 n) 2))
1.5b
(pow (+ x 1.0) (/ (/ 1.0 n) 2))
2.3b
(- (pow (+ x 1.0) (/ (/ 1.0 n) 2)) (pow x (/ (/ 1.0 n) 2)))

rewrite141.0ms

Algorithm
rewrite-expression-head
Rules
198×times-frac
171×*-un-lft-identity
156×add-sqr-sqrt
144×add-cube-cbrt
129×pow-unpow
77×unpow-prod-down
56×prod-diff
25×sqr-pow
12×div-inv
11×distribute-lft-out
difference-of-squares
fma-neg
pow1 add-exp-log
add-log-exp
expm1-log1p-u add-cbrt-cube log1p-expm1-u
pow-to-exp pow-pow pow-exp distribute-lft-out--
sub-neg flip3-- diff-log flip--
Counts
4 → 269
Calls
4 calls:
7.0ms
(pow x (/ (/ 1.0 n) 2))
15.0ms
(pow (+ x 1.0) (/ (/ 1.0 n) 2))
13.0ms
(pow (+ x 1.0) (/ (/ 1.0 n) 2))
92.0ms
(- (pow (+ x 1.0) (/ (/ 1.0 n) 2)) (pow x (/ (/ 1.0 n) 2)))

series586.0ms

Counts
4 → 12
Calls
4 calls:
53.0ms
(pow x (/ (/ 1.0 n) 2))
142.0ms
(pow (+ x 1.0) (/ (/ 1.0 n) 2))
134.0ms
(pow (+ x 1.0) (/ (/ 1.0 n) 2))
257.0ms
(- (pow (+ x 1.0) (/ (/ 1.0 n) 2)) (pow x (/ (/ 1.0 n) 2)))

simplify99.0ms

Algorithm
egg-herbie
Counts
281 → 281
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
09853525
135002856
250012853

prune1.0s

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 19.7b

localize19.0ms

Local error

Found 4 expressions with local error:

0.6b
(* (cbrt x) (cbrt x))
1.2b
(pow (cbrt x) (/ 1.0 n))
1.5b
(pow (+ x 1.0) (/ 1.0 n))
3.0b
(- (pow (+ x 1.0) (/ 1.0 n)) (* (pow (* (cbrt x) (cbrt x)) (/ 1.0 n)) (pow (cbrt x) (/ 1.0 n))))

rewrite114.0ms

Algorithm
rewrite-expression-head
Rules
41×add-sqr-sqrt
39×*-un-lft-identity
33×add-cube-cbrt
26×pow-unpow
19×cbrt-prod
18×unpow-prod-down times-frac
13×pow1
add-exp-log fma-neg prod-diff
pow1/3
swap-sqr associate-*r* associate-*l* add-log-exp
expm1-log1p-u add-cbrt-cube log1p-expm1-u unswap-sqr sqr-pow
pow-pow distribute-lft-out
pow-to-exp pow-prod-down pow-exp pow-sqr pow-prod-up div-inv
pow2 sub-neg flip3-- pow-plus diff-log prod-exp *-commutative flip-- cbrt-unprod
Counts
4 → 135
Calls
4 calls:
12.0ms
(* (cbrt x) (cbrt x))
5.0ms
(pow (cbrt x) (/ 1.0 n))
10.0ms
(pow (+ x 1.0) (/ 1.0 n))
84.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (* (pow (* (cbrt x) (cbrt x)) (/ 1.0 n)) (pow (cbrt x) (/ 1.0 n))))

series829.0ms

Counts
4 → 12
Calls
4 calls:
198.0ms
(* (cbrt x) (cbrt x))
91.0ms
(pow (cbrt x) (/ 1.0 n))
133.0ms
(pow (+ x 1.0) (/ 1.0 n))
406.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (* (pow (* (cbrt x) (cbrt x)) (/ 1.0 n)) (pow (cbrt x) (/ 1.0 n))))

simplify79.0ms

Algorithm
egg-herbie
Counts
147 → 147
Iterations

Useful iterations: 2 (65.0ms)

IterNodesCost
07441352
130191236
250011214

prune483.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 19.6b

regimes243.0ms

Accuracy

83.6% (1.5b remaining)

Error of 21.8b against oracle of 20.3b and baseline of 29.4b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05043
15043

end0.0ms

sample3.7s

Algorithm
intervals
Results
1.4s3140×body1280valid
544.0ms1581×body640valid
252.0ms4755×body80valid
194.0ms5110×body80nan
184.0ms840×body320valid
152.0ms164×body1280nan
137.0ms2367×body80overflowed
133.0ms275×body640nan
62.0ms451×body160valid
36.0ms153×body320nan
11.0ms86×body160nan