Details

Time bar (total: 4.1s)

sample81.0ms

Algorithm
intervals
Results
56.0ms185×body1280valid
6.0ms41×body640valid
6.0ms251×body80valid
1.0ms16×body320valid
0.0msbody160valid

simplify225.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0145
1265
2415
3555
4675
51045
61615
73445
814525
950025

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 29.5b

Counts
2 → 1

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (exp x) 2.0)
4.0b
(+ (- (exp x) 2.0) (exp (- x)))

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
frac-add
flip3-- flip--
neg-sub0 exp-neg sub-neg associate-+l+ exp-diff
+-commutative associate-+l- flip3-+ flip-+
Counts
2 → 14
Calls
2 calls:
2.0ms
(- (exp x) 2.0)
4.0ms
(+ (- (exp x) 2.0) (exp (- x)))

series72.0ms

Counts
2 → 6
Calls
2 calls:
16.0ms
(- (exp x) 2.0)
56.0ms
(+ (- (exp x) 2.0) (exp (- x)))

simplify65.0ms

Algorithm
egg-herbie
Counts
20 → 20
Iterations

Useful iterations: 3 (62.0ms)

IterNodesCost
0175161
1551149
22525142
35002137

prune46.0ms

Filtered
20 candidates to 13 candidates (65.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New18220
Fresh000
Picked101
Done000
Total19221

Merged error: 0.0b

Counts
21 → 2

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma x x (fma 1/360 (pow x 6) (* 1/12 (pow x 4))))
0.0b
(fma 1/360 (pow x 6) (* 1/12 (pow x 4)))
0.1b
(* 1/12 (pow x 4))

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
fma-udef
associate-*r* *-commutative sqr-pow
Counts
3 → 4
Calls
3 calls:
1.0ms
(fma x x (fma 1/360 (pow x 6) (* 1/12 (pow x 4))))
1.0ms
(fma 1/360 (pow x 6) (* 1/12 (pow x 4)))
3.0ms
(* 1/12 (pow x 4))

series222.0ms

Counts
3 → 9
Calls
3 calls:
56.0ms
(fma x x (fma 1/360 (pow x 6) (* 1/12 (pow x 4))))
128.0ms
(fma 1/360 (pow x 6) (* 1/12 (pow x 4)))
37.0ms
(* 1/12 (pow x 4))

simplify68.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
03541
111038
231338
3124938
4500238

prune15.0ms

Filtered
13 candidates to 4 candidates (30.8%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New13013
Fresh011
Picked011
Done000
Total13215

Merged error: 0.0b

Counts
15 → 2

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (fma (- 2.0) 2.0 (exp (+ x x))) 1)
0.0b
(/ (fma (+ (fma (- 2.0) 2.0 (exp (+ x x))) 1) (exp x) 2.0) (* (+ (exp x) 2.0) (exp x)))
0.0b
(* (+ (exp x) 2.0) (exp x))
3.1b
(fma (+ (fma (- 2.0) 2.0 (exp (+ x x))) 1) (exp x) 2.0)

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
associate-*l/
flip3-+ flip-+
associate-/r* associate-/r/ *-commutative fma-udef
+-commutative associate-+l+ frac-2neg clear-num div-inv
Counts
4 → 15
Calls
4 calls:
2.0ms
(+ (fma (- 2.0) 2.0 (exp (+ x x))) 1)
4.0ms
(/ (fma (+ (fma (- 2.0) 2.0 (exp (+ x x))) 1) (exp x) 2.0) (* (+ (exp x) 2.0) (exp x)))
4.0ms
(* (+ (exp x) 2.0) (exp x))
1.0ms
(fma (+ (fma (- 2.0) 2.0 (exp (+ x x))) 1) (exp x) 2.0)

series347.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(+ (fma (- 2.0) 2.0 (exp (+ x x))) 1)
197.0ms
(/ (fma (+ (fma (- 2.0) 2.0 (exp (+ x x))) 1) (exp x) 2.0) (* (+ (exp x) 2.0) (exp x)))
23.0ms
(* (+ (exp x) 2.0) (exp x))
84.0ms
(fma (+ (fma (- 2.0) 2.0 (exp (+ x x))) 1) (exp x) 2.0)

simplify87.0ms

Algorithm
egg-herbie
Counts
27 → 27
Iterations

Useful iterations: 3 (83.0ms)

IterNodesCost
0211209
1720203
22893195
35003190

prune82.0ms

Filtered
27 candidates to 22 candidates (81.5%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New26127
Fresh000
Picked101
Done011
Total27229

Merged error: 0.0b

Counts
29 → 2

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma (exp x) (- 1 (* 2.0 2.0)) (pow (exp x) 3))
0.0b
(* (+ (exp x) 2.0) (exp x))
0.0b
(pow (exp x) 3)
2.7b
(+ (fma (exp x) (- 1 (* 2.0 2.0)) (pow (exp x) 3)) 2.0)

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
flip3-+ associate-*l/ flip-+ fma-udef
+-commutative pow-to-exp associate-+l+ unpow3 pow-exp *-commutative sqr-pow
Counts
4 → 12
Calls
4 calls:
1.0ms
(fma (exp x) (- 1 (* 2.0 2.0)) (pow (exp x) 3))
4.0ms
(* (+ (exp x) 2.0) (exp x))
2.0ms
(pow (exp x) 3)
2.0ms
(+ (fma (exp x) (- 1 (* 2.0 2.0)) (pow (exp x) 3)) 2.0)

series216.0ms

Counts
4 → 12
Calls
4 calls:
77.0ms
(fma (exp x) (- 1 (* 2.0 2.0)) (pow (exp x) 3))
23.0ms
(* (+ (exp x) 2.0) (exp x))
24.0ms
(pow (exp x) 3)
93.0ms
(+ (fma (exp x) (- 1 (* 2.0 2.0)) (pow (exp x) 3)) 2.0)

simplify46.0ms

Algorithm
egg-herbie
Counts
24 → 24
Iterations

Useful iterations: 3 (43.0ms)

IterNodesCost
0152133
1429131
21495125
35001119

prune57.0ms

Filtered
24 candidates to 17 candidates (70.8%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New23124
Fresh000
Picked011
Done011
Total23326

Merged error: 0.0b

Counts
26 → 3

regimes20.0ms

Accuracy

0% (0.5b remaining)

Error of 0.5b against oracle of 0.1b and baseline of 0.5b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0115
1115

end0.0ms

sample2.4s

Algorithm
intervals
Results
1.7s5678×body1280valid
196.0ms1238×body640valid
189.0ms8156×body80valid
60.0ms602×body320valid
23.0ms336×body160valid