Details

Time bar (total: 5.1s)

sample101.0ms

Algorithm
intervals
Results
28.0ms65×body10240exit
23.0ms54×body1280valid
17.0ms318×body80valid
10.0ms39×body640valid
4.0ms27×body320valid
1.0ms12×body160valid

simplify37.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (36.0ms)

IterNodesCost
04716
112416
236516
3137616
4500115

prune9.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: 30.2b

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

rewrite41.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
10×exp-prod *-commutative
distribute-lft-neg-in distribute-rgt-neg-in prod-diff
neg-mul-1 fma-neg
sub-neg
Counts
4 → 108
Calls
4 calls:
6.0ms
(* (- 1.0 eps) x)
4.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)))))

series274.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(* (- 1.0 eps) x)
31.0ms
(exp (- (* (- 1.0 eps) x)))
26.0ms
(exp (- (* (+ 1.0 eps) x)))
189.0ms
(- (* (+ 1.0 (/ 1.0 eps)) (exp (- (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x)))))

simplify128.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (100.0ms)

IterNodesCost
011743388
141603137
250013061

prune269.0ms

Filtered
120 candidates to 51 candidates (42.5%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1173120
Fresh011
Picked011
Done000
Total1175122

Merged error: 0.9b

Counts
122 → 5

localize9.0ms

Local error

Found 1 expressions with local error:

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

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
fma-udef
Counts
1 → 1
Calls
1 calls:
1.0ms
(fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2))))

series37.0ms

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

simplify129.0ms

Algorithm
egg-herbie
Counts
4 → 4
Iterations

Useful iterations: 3 (10.0ms)

IterNodesCost
02820
18217
223917
374114
4323714
5500114

prune20.0ms

Filtered
4 candidates to 2 candidates (50.0%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New314
Fresh033
Picked101
Done011
Total459

Merged error: 0.9b

Counts
9 → 5

localize8.0ms

Local error

Found 1 expressions with local error:

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

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
fma-udef
Counts
1 → 1
Calls
1 calls:
1.0ms
(fma (pow x 2) (- (* x 0.6666666666666667) 1.0) 2.0)

series38.0ms

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

simplify132.0ms

Algorithm
egg-herbie
Counts
4 → 4
Iterations

Useful iterations: 3 (11.0ms)

IterNodesCost
03622
19819
227719
382216
4351016
5500116

prune14.0ms

Filtered
4 candidates to 2 candidates (50.0%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New404
Fresh033
Picked011
Done011
Total459

Merged error: 0.9b

Counts
9 → 5

localize25.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (- 1.0 eps) x)
0.0b
(exp (- (* (- 1.0 eps) x)))
0.1b
(pow (exp -1) (* (+ 1.0 eps) x))
2.7b
(- (* (+ 1.0 (/ 1.0 eps)) (exp (- (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (pow (exp -1) (* (+ 1.0 eps) x))))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
24×associate-*l/
18×frac-sub
11×flip3-- flip--
10×*-commutative
exp-neg
frac-times
neg-sub0 exp-diff
flip3-+ prod-diff flip-+
exp-prod
associate-*r/
sqr-pow
distribute-lft-neg-in pow-unpow distribute-rgt-neg-in fma-neg associate-*r* un-div-inv
pow-to-exp neg-mul-1 sub-neg pow-exp
Counts
4 → 45
Calls
4 calls:
3.0ms
(* (- 1.0 eps) x)
4.0ms
(exp (- (* (- 1.0 eps) x)))
3.0ms
(pow (exp -1) (* (+ 1.0 eps) x))
13.0ms
(- (* (+ 1.0 (/ 1.0 eps)) (exp (- (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (pow (exp -1) (* (+ 1.0 eps) x))))

series463.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(* (- 1.0 eps) x)
26.0ms
(exp (- (* (- 1.0 eps) x)))
42.0ms
(pow (exp -1) (* (+ 1.0 eps) x))
366.0ms
(- (* (+ 1.0 (/ 1.0 eps)) (exp (- (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (pow (exp -1) (* (+ 1.0 eps) x))))

simplify85.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 2 (69.0ms)

IterNodesCost
07041174
128411070
250011052

prune163.0ms

Filtered
57 candidates to 35 candidates (61.4%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New55257
Fresh112
Picked101
Done112
Total58462

Merged error: 0.9b

Counts
62 → 4

regimes70.0ms

Accuracy

96.6% (0.5b remaining)

Error of 1.0b against oracle of 0.5b and baseline of 15.8b

bsearch62.0ms

Steps
ItersRangePoint
4
221.0380432921384
357.20278190505735
330.46423576118536

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03621
13621

end0.0ms

sample2.9s

Algorithm
intervals
Results
787.0ms1902×body10240exit
779.0ms1783×body1280valid
564.0ms10024×body80valid
333.0ms1268×body640valid
111.0ms639×body320valid
40.0ms347×body160valid