Details

Time bar (total: 10.2s)

sample167.0ms

Algorithm
intervals
Results
68.0ms112×body1280valid
26.0ms59×body640valid
12.0ms17×body1280nan
12.0ms150×body80valid
10.0ms22×body640nan
9.0ms161×body80nan
5.0ms18×body320valid
3.0ms40×body80overflowed
2.0ms10×body160nan
2.0msbody320nan
1.0msbody160valid

simplify33.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0176
1346
2806
32366
48686
550016

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 28.5b

localize8.0ms

Local error

Found 3 expressions with local error:

0.3b
(pow x (/ 1.0 n))
0.5b
(pow (+ x 1.0) (/ 1.0 n))
0.6b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

rewrite50.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:
2.0ms
(pow x (/ 1.0 n))
5.0ms
(pow (+ x 1.0) (/ 1.0 n))
40.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series472.0ms

Counts
3 → 9
Calls
3 calls:
59.0ms
(pow x (/ 1.0 n))
140.0ms
(pow (+ x 1.0) (/ 1.0 n))
272.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

simplify44.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0476639
11600623
25001609

prune252.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 19.2b

localize10.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow x (/ 1.0 n))
0.5b
(pow (+ x 1.0) (/ 1.0 n))
0.6b
(log (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))
0.6b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

rewrite148.0ms

Algorithm
rewrite-expression-head
Rules
46×add-sqr-sqrt
38×*-un-lft-identity
27×unpow-prod-down
26×pow-unpow
22×add-cube-cbrt
18×times-frac difference-of-squares
16×log-pow
15×exp-prod
14×sqr-pow
pow1
add-exp-log distribute-lft-out-- add-log-exp
log-prod
add-cbrt-cube
distribute-lft-out
pow-to-exp sub-neg pow-pow exp-sum pow-exp div-inv
log-div flip3-- exp-diff diff-log rem-log-exp flip--
Counts
4 → 109
Calls
4 calls:
2.0ms
(pow x (/ 1.0 n))
5.0ms
(pow (+ x 1.0) (/ 1.0 n))
93.0ms
(log (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))
43.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series741.0ms

Counts
4 → 12
Calls
4 calls:
60.0ms
(pow x (/ 1.0 n))
139.0ms
(pow (+ x 1.0) (/ 1.0 n))
275.0ms
(log (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))
267.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

simplify46.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0541922
11758884
25002863

prune371.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 19.2b

localize10.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow x (/ 1.0 n))
0.5b
(pow (+ x 1.0) (/ 1.0 n))
0.5b
(pow (+ x 1.0) (/ 1.0 n))
1.6b
(- (* (sqrt (pow (+ x 1.0) (/ 1.0 n))) (sqrt (pow (+ x 1.0) (/ 1.0 n)))) (pow x (/ 1.0 n)))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
39×pow-unpow
32×*-un-lft-identity
30×add-sqr-sqrt
28×add-cube-cbrt
27×times-frac
12×unpow-prod-down
pow1 add-exp-log
add-log-exp
add-cbrt-cube sqr-pow
pow-to-exp pow-pow pow-exp div-inv difference-of-squares
distribute-lft-out
sub-neg flip3-- diff-log flip--
Counts
4 → 98
Calls
4 calls:
2.0ms
(pow x (/ 1.0 n))
6.0ms
(pow (+ x 1.0) (/ 1.0 n))
5.0ms
(pow (+ x 1.0) (/ 1.0 n))
16.0ms
(- (* (sqrt (pow (+ x 1.0) (/ 1.0 n))) (sqrt (pow (+ x 1.0) (/ 1.0 n)))) (pow x (/ 1.0 n)))

series620.0ms

Counts
4 → 12
Calls
4 calls:
60.0ms
(pow x (/ 1.0 n))
146.0ms
(pow (+ x 1.0) (/ 1.0 n))
140.0ms
(pow (+ x 1.0) (/ 1.0 n))
274.0ms
(- (* (sqrt (pow (+ x 1.0) (/ 1.0 n))) (sqrt (pow (+ x 1.0) (/ 1.0 n)))) (pow x (/ 1.0 n)))

simplify45.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0467787
11617714
25002697

prune362.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 19.1b

localize19.0ms

Local error

Found 4 expressions with local error:

0.5b
(pow (+ x 1.0) (/ 1.0 n))
1.6b
(- (* (sqrt (pow (+ x 1.0) (/ 1.0 n))) (sqrt (pow (+ x 1.0) (/ 1.0 n)))) (pow x (/ 1.0 n)))
1.6b
(- (* (sqrt (pow (+ x 1.0) (/ 1.0 n))) (sqrt (pow (+ x 1.0) (/ 1.0 n)))) (pow x (/ 1.0 n)))
1.6b
(- (* (sqrt (pow (+ x 1.0) (/ 1.0 n))) (sqrt (pow (+ x 1.0) (/ 1.0 n)))) (pow x (/ 1.0 n)))

rewrite57.0ms

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

series985.0ms

Counts
4 → 12
Calls
4 calls:
151.0ms
(pow (+ x 1.0) (/ 1.0 n))
280.0ms
(- (* (sqrt (pow (+ x 1.0) (/ 1.0 n))) (sqrt (pow (+ x 1.0) (/ 1.0 n)))) (pow x (/ 1.0 n)))
277.0ms
(- (* (sqrt (pow (+ x 1.0) (/ 1.0 n))) (sqrt (pow (+ x 1.0) (/ 1.0 n)))) (pow x (/ 1.0 n)))
277.0ms
(- (* (sqrt (pow (+ x 1.0) (/ 1.0 n))) (sqrt (pow (+ x 1.0) (/ 1.0 n)))) (pow x (/ 1.0 n)))

simplify42.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
03501074
11158888
25002862

prune376.0ms

Pruning

11 alts after pruning (9 fresh and 2 done)

Merged error: 19.1b

regimes334.0ms

Accuracy

84.1% (1.4b remaining)

Error of 21.8b against oracle of 20.5b and baseline of 29.0b

bsearch163.0ms

Steps
ItersRangePoint
3
5702493.407928515
6835871.788935939
6765035.640122974
9
-8.752539455896483e+21
-1018083199604230.8
-1030752291146602.5

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04858
14858

end0.0ms

sample4.8s

Algorithm
intervals
Results
1.9s3182×body1280valid
738.0ms1645×body640valid
380.0ms637×body1280nan
378.0ms4691×body80valid
284.0ms4954×body80nan
259.0ms610×body640nan
237.0ms779×body320valid
95.0ms354×body320nan
92.0ms445×body160valid
88.0ms1220×body80overflowed
29.0ms183×body160nan