Details

Time bar (total: 5.9s)

sample95.0ms

Algorithm
intervals
Results
31.0ms55×body1280valid
21.0ms303×body80valid
14.0ms45×body640valid
5.0ms26×body320valid
5.0ms61×body80overflowed
1.0msbody160valid

simplify37.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (36.0ms)

IterNodesCost
04716
112416
236516
3137616
4500115

prune10.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 31.6b

Counts
2 → 2

localize17.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)
2.2b
(- (* (+ 1.0 (/ 1.0 eps)) (exp (- (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x)))))

rewrite63.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:
12.0ms
(* (+ 1.0 (/ 1.0 eps)) (exp (- (* (- 1.0 eps) x))))
16.0ms
(* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x))))
7.0ms
(* (- 1.0 eps) x)
17.0ms
(- (* (+ 1.0 (/ 1.0 eps)) (exp (- (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x)))))

series326.0ms

Counts
4 → 12
Calls
4 calls:
51.0ms
(* (+ 1.0 (/ 1.0 eps)) (exp (- (* (- 1.0 eps) x))))
53.0ms
(* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x))))
28.0ms
(* (- 1.0 eps) x)
193.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 (27.0ms)

IterNodesCost
013724120
150013814

prune464.0ms

Filtered
195 candidates to 107 candidates (54.9%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1923195
Fresh101
Picked101
Done000
Total1943197

Merged error: 0.8b

Counts
197 → 3

localize10.0ms

Local error

Found 1 expressions with local error:

5.2b
(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:
1.0ms
(fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2))))

series43.0ms

Counts
1 → 3
Calls
1 calls:
43.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 (27.0ms)

IterNodesCost
04289
113678
272278
3500275

prune43.0ms

Filtered
13 candidates to 11 candidates (84.6%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New12113
Fresh022
Picked011
Done000
Total12416

Merged error: 0.8b

Counts
16 → 4

localize14.0ms

Local error

Found 4 expressions with local error:

5.2b
(fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2))))
10.4b
(cbrt (fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2)))))
10.4b
(cbrt (fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2)))))
10.4b
(cbrt (fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2)))))

rewrite5.0ms

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

series503.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2))))
155.0ms
(cbrt (fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2)))))
149.0ms
(cbrt (fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2)))))
154.0ms
(cbrt (fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2)))))

simplify81.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 3 (71.0ms)

IterNodesCost
0190752
1639693
22777627
35001621

prune245.0ms

Filtered
61 candidates to 58 candidates (95.1%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New58361
Fresh022
Picked101
Done011
Total59665

Merged error: 0.8b

Counts
65 → 6

localize23.0ms

Local error

Found 4 expressions with local error:

5.2b
(fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2))))
10.4b
(cbrt (fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2)))))
10.4b
(cbrt (fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2)))))
10.4b
(cbrt (fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2)))))

rewrite5.0ms

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

series505.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2))))
157.0ms
(cbrt (fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2)))))
156.0ms
(cbrt (fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2)))))
152.0ms
(cbrt (fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2)))))

simplify84.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 3 (69.0ms)

IterNodesCost
0190752
1639693
22777627
35001621

prune400.0ms

Filtered
61 candidates to 58 candidates (95.1%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New61061
Fresh044
Picked011
Done011
Total61667

Merged error: 0.8b

Counts
67 → 6

regimes108.0ms

Accuracy

96.6% (0.6b remaining)

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

bsearch164.0ms

Steps
ItersRangePoint
10
121.55286302593997
3002406562115.273
357.6465136238462

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04021
14221
24221

end0.0ms

sample2.6s

Algorithm
intervals
Results
856.0ms1703×body1280valid
712.0ms10160×body80valid
374.0ms1212×body640valid
138.0ms660×body320valid
130.0ms1869×body80overflowed
44.0ms328×body160valid