Details

Time bar (total: 14.3s)

sample132.0ms

Algorithm
intervals
Results
40.0ms90×body1280valid
21.0ms62×body640valid
16.0ms26×body10240exit
8.0ms162×body80valid
7.0ms31×body320valid
6.0ms15×body1280nan
6.0ms22×body640nan
5.0ms143×body80nan
2.0ms13×body320nan
1.0ms10×body160valid
1.0msbody160nan

simplify35.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: 26.7b

localize8.0ms

Local error

Found 3 expressions with local error:

1.0b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
1.2b
(pow x (/ 1.0 n))
1.7b
(pow (+ x 1.0) (/ 1.0 n))

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

series472.0ms

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

simplify65.0ms

Algorithm
egg-herbie
Counts
158 → 158
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
06542164
121621642
250021637

prune327.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 19.9b

localize24.0ms

Local error

Found 4 expressions with local error:

1.3b
(pow (cbrt x) (/ 1.0 n))
1.3b
(pow (cbrt x) (/ 1.0 n))
1.8b
(pow (cbrt (+ x 1.0)) (/ 1.0 n))
1.9b
(fma (pow (* (cbrt (+ x 1.0)) (cbrt (+ x 1.0))) (/ 1.0 n)) (pow (cbrt (+ x 1.0)) (/ 1.0 n)) (- (* (pow (cbrt x) (/ 1.0 n)) (pow (* (cbrt x) (cbrt x)) (/ 1.0 n)))))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
39×pow-unpow
33×*-un-lft-identity
31×add-sqr-sqrt add-cube-cbrt
27×times-frac
19×unpow-prod-down
10×cbrt-prod
pow1 add-exp-log
pow-pow
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow-to-exp pow1/3 pow-exp div-inv sqr-pow
fma-udef distribute-lft-out
Counts
4 → 110
Calls
4 calls:
3.0ms
(pow (cbrt x) (/ 1.0 n))
3.0ms
(pow (cbrt x) (/ 1.0 n))
6.0ms
(pow (cbrt (+ x 1.0)) (/ 1.0 n))
0.0ms
(fma (pow (* (cbrt (+ x 1.0)) (cbrt (+ x 1.0))) (/ 1.0 n)) (pow (cbrt (+ x 1.0)) (/ 1.0 n)) (- (* (pow (cbrt x) (/ 1.0 n)) (pow (* (cbrt x) (cbrt x)) (/ 1.0 n)))))

series1.7s

Counts
4 → 12
Calls
4 calls:
94.0ms
(pow (cbrt x) (/ 1.0 n))
95.0ms
(pow (cbrt x) (/ 1.0 n))
308.0ms
(pow (cbrt (+ x 1.0)) (/ 1.0 n))
1.2s
(fma (pow (* (cbrt (+ x 1.0)) (cbrt (+ x 1.0))) (/ 1.0 n)) (pow (cbrt (+ x 1.0)) (/ 1.0 n)) (- (* (pow (cbrt x) (/ 1.0 n)) (pow (* (cbrt x) (cbrt x)) (/ 1.0 n)))))

simplify59.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
06641094
124591033
250031028

prune665.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 19.9b

localize40.0ms

Local error

Found 4 expressions with local error:

1.3b
(pow (cbrt x) (/ 1.0 n))
1.3b
(pow (cbrt x) (/ 1.0 n))
1.8b
(fma (pow (* (cbrt (+ x 1.0)) (cbrt (+ x 1.0))) (/ 1.0 n)) (fma 0.3333333333333333 (/ 1 (* x n)) (fma 1.0 (/ (log (pow (/ 1 x) -1/3)) n) 1)) (- (* (pow (cbrt x) (/ 1.0 n)) (pow (* (cbrt x) (cbrt x)) (/ 1.0 n)))))
4.0b
(pow (/ 1 x) -1/3)

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
30×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
29×pow-unpow
27×times-frac
25×unpow-prod-down
11×add-exp-log
pow1
pow-pow
cbrt-prod pow-exp
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow-to-exp div-inv sqr-pow
pow1/3 div-exp
rec-exp pow-flip 1-exp fma-udef inv-pow
Counts
4 → 110
Calls
4 calls:
3.0ms
(pow (cbrt x) (/ 1.0 n))
3.0ms
(pow (cbrt x) (/ 1.0 n))
0.0ms
(fma (pow (* (cbrt (+ x 1.0)) (cbrt (+ x 1.0))) (/ 1.0 n)) (fma 0.3333333333333333 (/ 1 (* x n)) (fma 1.0 (/ (log (pow (/ 1 x) -1/3)) n) 1)) (- (* (pow (cbrt x) (/ 1.0 n)) (pow (* (cbrt x) (cbrt x)) (/ 1.0 n)))))
4.0ms
(pow (/ 1 x) -1/3)

series1.2s

Counts
4 → 12
Calls
4 calls:
97.0ms
(pow (cbrt x) (/ 1.0 n))
95.0ms
(pow (cbrt x) (/ 1.0 n))
783.0ms
(fma (pow (* (cbrt (+ x 1.0)) (cbrt (+ x 1.0))) (/ 1.0 n)) (fma 0.3333333333333333 (/ 1 (* x n)) (fma 1.0 (/ (log (pow (/ 1 x) -1/3)) n) 1)) (- (* (pow (cbrt x) (/ 1.0 n)) (pow (* (cbrt x) (cbrt x)) (/ 1.0 n)))))
179.0ms
(pow (/ 1 x) -1/3)

simplify63.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
06541042
12589963
25001955

prune808.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 19.8b

localize47.0ms

Local error

Found 4 expressions with local error:

1.3b
(pow (cbrt x) (/ 1.0 n))
1.8b
(fma (pow (* (cbrt (+ x 1.0)) (cbrt (+ x 1.0))) (/ 1.0 n)) (fma 0.3333333333333333 (/ 1 (* x n)) (fma 1.0 (/ (log (pow (/ 1 x) -1/3)) n) 1)) (- (* (pow (cbrt x) (/ 1.0 n)) (pow (* (cbrt x) (cbrt x)) (/ 1.0 n)))))
3.2b
(log1p (fma (pow (* (cbrt (+ x 1.0)) (cbrt (+ x 1.0))) (/ 1.0 n)) (fma 0.3333333333333333 (/ 1 (* x n)) (fma 1.0 (/ (log (pow (/ 1 x) -1/3)) n) 1)) (- (* (pow (cbrt x) (/ 1.0 n)) (pow (* (cbrt x) (cbrt x)) (/ 1.0 n))))))
4.0b
(pow (/ 1 x) -1/3)

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
19×unpow-prod-down
18×times-frac
16×pow-unpow
10×add-exp-log
pow1
expm1-log1p-u pow-pow pow-exp
add-cbrt-cube log1p-expm1-u add-log-exp
cbrt-prod
pow-to-exp div-exp div-inv sqr-pow
rec-exp log1p-udef pow-flip pow1/3 1-exp log1p-expm1 fma-udef inv-pow
Counts
4 → 88
Calls
4 calls:
3.0ms
(pow (cbrt x) (/ 1.0 n))
0.0ms
(fma (pow (* (cbrt (+ x 1.0)) (cbrt (+ x 1.0))) (/ 1.0 n)) (fma 0.3333333333333333 (/ 1 (* x n)) (fma 1.0 (/ (log (pow (/ 1 x) -1/3)) n) 1)) (- (* (pow (cbrt x) (/ 1.0 n)) (pow (* (cbrt x) (cbrt x)) (/ 1.0 n)))))
0.0ms
(log1p (fma (pow (* (cbrt (+ x 1.0)) (cbrt (+ x 1.0))) (/ 1.0 n)) (fma 0.3333333333333333 (/ 1 (* x n)) (fma 1.0 (/ (log (pow (/ 1 x) -1/3)) n) 1)) (- (* (pow (cbrt x) (/ 1.0 n)) (pow (* (cbrt x) (cbrt x)) (/ 1.0 n))))))
4.0ms
(pow (/ 1 x) -1/3)

series3.0s

Counts
4 → 12
Calls
4 calls:
97.0ms
(pow (cbrt x) (/ 1.0 n))
795.0ms
(fma (pow (* (cbrt (+ x 1.0)) (cbrt (+ x 1.0))) (/ 1.0 n)) (fma 0.3333333333333333 (/ 1 (* x n)) (fma 1.0 (/ (log (pow (/ 1 x) -1/3)) n) 1)) (- (* (pow (cbrt x) (/ 1.0 n)) (pow (* (cbrt x) (cbrt x)) (/ 1.0 n)))))
2.0s
(log1p (fma (pow (* (cbrt (+ x 1.0)) (cbrt (+ x 1.0))) (/ 1.0 n)) (fma 0.3333333333333333 (/ 1 (* x n)) (fma 1.0 (/ (log (pow (/ 1 x) -1/3)) n) 1)) (- (* (pow (cbrt x) (/ 1.0 n)) (pow (* (cbrt x) (cbrt x)) (/ 1.0 n))))))
173.0ms
(pow (/ 1 x) -1/3)

simplify84.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (69.0ms)

IterNodesCost
09271416
137911282
250011278

prune705.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 19.8b

regimes256.0ms

Accuracy

79.1% (1.7b remaining)

Error of 22.6b against oracle of 20.9b and baseline of 29.2b

bsearch297.0ms

Steps
ItersRangePoint
8
0.00010735495496369802
0.23449948331106904
0.2317853494525819
9
-238.82950093874626
-3.0083479578817887e-06
-235.54342409600352

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07687
17887
27887

end0.0ms

sample4.2s

Algorithm
intervals
Results
1.4s3112×body1280valid
560.0ms1611×body640valid
526.0ms1146×body10240exit
303.0ms647×body1280nan
247.0ms4800×body80valid
210.0ms650×body640nan
185.0ms849×body320valid
185.0ms5126×body80nan
69.0ms369×body320nan
59.0ms422×body160valid
19.0ms179×body160nan