Details

Time bar (total: 5.4s)

sample107.0ms

Algorithm
intervals
Results
33.0ms76×body10240exit
23.0ms53×body1280valid
18.0ms324×body80valid
10.0ms41×body640valid
4.0ms23×body320valid
1.0msbody160valid

simplify40.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (38.0ms)

IterNodesCost
04716
112416
236516
3137616
4500115

prune9.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 29.2b

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ 1.0 (/ 1.0 eps)) (exp (- (* (- 1.0 eps) x))))
0.0b
(* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x))))
0.0b
(* (- 1.0 eps) x)
1.9b
(- (* (+ 1.0 (/ 1.0 eps)) (exp (- (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x)))))

rewrite125.0ms

Algorithm
rewrite-expression-head
Rules
81×frac-sub
80×exp-neg frac-times
60×neg-sub0 exp-diff
42×associate-*l/
40×associate-*r/
32×flip3-- flip--
30×flip3-+ flip-+
23×add-sqr-sqrt
20×un-div-inv
16×*-un-lft-identity
15×associate-*l*
10×pow1 add-cube-cbrt add-cbrt-cube
associate-*r*
add-exp-log
add-log-exp
expm1-log1p-u log1p-expm1-u
pow-prod-down prod-exp *-commutative cbrt-unprod difference-of-squares unswap-sqr
distribute-lft-out--
sub-neg times-frac fma-neg diff-log prod-diff distribute-lft-out
Counts
4 → 183
Calls
4 calls:
33.0ms
(* (+ 1.0 (/ 1.0 eps)) (exp (- (* (- 1.0 eps) x))))
41.0ms
(* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x))))
10.0ms
(* (- 1.0 eps) x)
31.0ms
(- (* (+ 1.0 (/ 1.0 eps)) (exp (- (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x)))))

series462.0ms

Counts
4 → 12
Calls
4 calls:
184.0ms
(* (+ 1.0 (/ 1.0 eps)) (exp (- (* (- 1.0 eps) x))))
49.0ms
(* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x))))
34.0ms
(* (- 1.0 eps) x)
194.0ms
(- (* (+ 1.0 (/ 1.0 eps)) (exp (- (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x)))))

simplify63.0ms

Algorithm
egg-herbie
Counts
195 → 195
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
013724120
150013814

prune477.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 1 expressions with local error:

7.0b
(fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2))))

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
1 → 10
Calls
1 calls:
0.0ms
(fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2))))

series38.0ms

Counts
1 → 3
Calls
1 calls:
38.0ms
(fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2))))

simplify29.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 3 (26.0ms)

IterNodesCost
04289
113678
272278
3500275

prune40.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0b

localize7.0ms

Local error

Found 1 expressions with local error:

0.0b
(fma (pow x 2) (- (* 0.6666666666666667 x) 1.0) 2.0)

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
1 → 10
Calls
1 calls:
0.0ms
(fma (pow x 2) (- (* 0.6666666666666667 x) 1.0) 2.0)

series42.0ms

Counts
1 → 3
Calls
1 calls:
42.0ms
(fma (pow x 2) (- (* 0.6666666666666667 x) 1.0) 2.0)

simplify105.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
04982
113267
253467
3307667
4500167

prune29.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize21.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ 1.0 eps) x)
0.0b
(* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x))))
0.0b
(* (- 1.0 eps) x)
2.9b
(fma (+ 1.0 (/ 1.0 eps)) (exp (- (* (- 1.0 eps) x))) (- (* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x))))))

rewrite66.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt
16×*-un-lft-identity
15×associate-*l*
10×pow1 add-cube-cbrt add-cbrt-cube
add-exp-log associate-*r*
associate-*l/
exp-neg expm1-log1p-u frac-times flip3-- flip-- log1p-expm1-u add-log-exp
neg-sub0 exp-diff pow-prod-down prod-exp *-commutative cbrt-unprod difference-of-squares unswap-sqr
associate-*r/ distribute-lft-out--
flip3-+ times-frac un-div-inv flip-+ fma-udef distribute-lft-out
Counts
4 → 89
Calls
4 calls:
10.0ms
(* (+ 1.0 eps) x)
41.0ms
(* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x))))
10.0ms
(* (- 1.0 eps) x)
0.0ms
(fma (+ 1.0 (/ 1.0 eps)) (exp (- (* (- 1.0 eps) x))) (- (* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x))))))

series294.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(* (+ 1.0 eps) x)
53.0ms
(* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x))))
29.0ms
(* (- 1.0 eps) x)
184.0ms
(fma (+ 1.0 (/ 1.0 eps)) (exp (- (* (- 1.0 eps) x))) (- (* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x))))))

simplify54.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0420763
11716677
25002672

prune319.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes57.0ms

Accuracy

96.9% (0.5b remaining)

Error of 1.0b against oracle of 0.4b and baseline of 17.1b

bsearch146.0ms

Steps
ItersRangePoint
10
7.241082556785e-09
30809428.134158503
434.1645604525621

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04621
15621
25621

end0.0ms

sample2.9s

Algorithm
intervals
Results
776.0ms1912×body10240exit
747.0ms1700×body1280valid
570.0ms10216×body80valid
324.0ms1281×body640valid
107.0ms633×body320valid
33.0ms307×body160valid