Details

Time bar (total: 5.8s)

sample82.0ms

Algorithm
intervals
Results
26.0ms53×body1280valid
20.0ms309×body80valid
9.0ms31×body640valid
4.0ms58×body80overflowed
4.0ms20×body320valid
2.0ms12×body160valid

simplify37.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (35.0ms)

IterNodesCost
04716
112416
236516
3137616
4500115

prune13.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: 26.3b

Counts
2 → 2

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
81×frac-sub
74×exp-neg
72×frac-times
56×neg-sub0 exp-diff
38×associate-*l/
36×associate-*r/
29×flip3-- flip--
27×flip3-+ flip-+
18×un-div-inv
12×add-sqr-sqrt exp-prod
10×*-un-lft-identity add-log-exp
add-cube-cbrt
pow1 add-exp-log add-cbrt-cube
associate-*l*
expm1-log1p-u log1p-expm1-u rem-exp-log
associate-*r*
distribute-lft-neg-in neg-mul-1 distribute-rgt-neg-in neg-log
sub-neg fma-neg diff-log prod-diff pow-prod-down prod-exp *-commutative cbrt-unprod distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 159
Calls
4 calls:
6.0ms
(* (- 1.0 eps) x)
3.0ms
(exp (- (* (+ 1.0 eps) x)))
4.0ms
(exp (- (* (- 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)))))

series282.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(* (- 1.0 eps) x)
26.0ms
(exp (- (* (+ 1.0 eps) x)))
27.0ms
(exp (- (* (- 1.0 eps) x)))
197.0ms
(- (* (+ 1.0 (/ 1.0 eps)) (exp (- (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x)))))

simplify145.0ms

Algorithm
egg-herbie
Counts
171 → 171
Iterations

Useful iterations: 2 (112.0ms)

IterNodesCost
012903714
147013419
250013397

prune393.0ms

Filtered
171 candidates to 92 candidates (53.8%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1683171
Fresh101
Picked101
Done000
Total1703173

Merged error: 0.3b

Counts
173 → 3

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-cube-cbrt *-un-lft-identity add-log-exp
fma-neg prod-diff
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u
sub-neg flip3-- diff-log flip-- fma-udef
Counts
2 → 30
Calls
2 calls:
3.0ms
(- 2.0 (* 1.0 (pow x 2)))
1.0ms
(fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2))))

series101.0ms

Counts
2 → 6
Calls
2 calls:
57.0ms
(- 2.0 (* 1.0 (pow x 2)))
44.0ms
(fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2))))

simplify69.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 3 (64.0ms)

IterNodesCost
0126221
1412193
22139191
35001171

prune92.0ms

Filtered
36 candidates to 27 candidates (75.0%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New35136
Fresh022
Picked011
Done000
Total35439

Merged error: 0.3b

Counts
39 → 4

localize14.0ms

Local error

Found 4 expressions with local error:

7.8b
(fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2))))
12.7b
(cbrt (fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2)))))
12.7b
(cbrt (fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2)))))
12.7b
(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)))))

series498.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(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)))))
147.0ms
(cbrt (fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2)))))
153.0ms
(cbrt (fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2)))))

simplify80.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 3 (71.0ms)

IterNodesCost
0190752
1639693
22777627
35001621

prune241.0ms

Filtered
61 candidates to 58 candidates (95.1%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New59261
Fresh022
Picked101
Done011
Total60565

Merged error: 0.3b

Counts
65 → 5

localize22.0ms

Local error

Found 4 expressions with local error:

7.8b
(fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2))))
7.8b
(fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2))))
12.7b
(cbrt (fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2)))))
12.7b
(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 → 46
Calls
4 calls:
1.0ms
(fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2))))
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)))))

series390.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2))))
45.0ms
(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)))))
150.0ms
(cbrt (fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2)))))

simplify79.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 3 (71.0ms)

IterNodesCost
0190620
1639566
22777522
35001514

prune258.0ms

Filtered
58 candidates to 54 candidates (93.1%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New57158
Fresh033
Picked101
Done011
Total58563

Merged error: 0.2b

Counts
63 → 5

regimes132.0ms

Accuracy

96.3% (0.6b remaining)

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

bsearch148.0ms

Steps
ItersRangePoint
9
3.220789993380391
25340457.240933813
173.79350790004767

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04957
15757
25757

end0.0ms

sample2.6s

Algorithm
intervals
Results
887.0ms1763×body1280valid
704.0ms10034×body80valid
400.0ms1284×body640valid
131.0ms626×body320valid
127.0ms1874×body80overflowed
41.0ms303×body160valid