Details

Time bar (total: 4.8s)

sample73.0ms

Algorithm
intervals
Results
49.0ms172×body1280valid
6.0ms279×body80valid
6.0ms36×body640valid
2.0ms23×body320valid
1.0ms18×body160valid

simplify222.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0145
1265
2415
3555
4675
51045
61615
73445
814545
950015

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 30.4b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
25×*-un-lft-identity
20×add-sqr-sqrt
18×prod-diff
16×add-cube-cbrt
11×associate-+l+
add-log-exp
fma-def
frac-add
flip3-- fma-neg flip-- distribute-lft-out--
pow1 add-exp-log neg-sub0 exp-neg expm1-log1p-u sub-neg exp-diff diff-log sum-log add-cbrt-cube log1p-expm1-u distribute-lft-out difference-of-squares
+-commutative associate-+l- flip3-+ flip-+
Counts
2 → 65
Calls
2 calls:
5.0ms
(- (exp x) 2.0)
26.0ms
(+ (- (exp x) 2.0) (exp (- x)))

series70.0ms

Counts
2 → 6
Calls
2 calls:
12.0ms
(- (exp x) 2.0)
58.0ms
(+ (- (exp x) 2.0) (exp (- x)))

simplify34.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0282506
11008381
25001367

prune164.0ms

Filtered
71 candidates to 51 candidates (71.8%)
Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 2 expressions with local error:

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

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
add-exp-log associate-*r*
add-cube-cbrt *-un-lft-identity
unpow-prod-down add-cbrt-cube
associate-*l* prod-exp unswap-sqr
pow1 expm1-log1p-u log1p-expm1-u add-log-exp sqr-pow
pow-to-exp pow-exp *-commutative cbrt-unprod fma-udef
Counts
2 → 37
Calls
2 calls:
0.0ms
(fma 1/360 (pow x 6) (* 1/12 (pow x 4)))
6.0ms
(* 1/12 (pow x 4))

series163.0ms

Counts
2 → 6
Calls
2 calls:
127.0ms
(fma 1/360 (pow x 6) (* 1/12 (pow x 4)))
35.0ms
(* 1/12 (pow x 4))

simplify86.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 2 (16.0ms)

IterNodesCost
0123177
1469163
22175160
35002160

prune108.0ms

Filtered
43 candidates to 29 candidates (67.4%)
Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (exp x) 2.0)
5.8b
(+ (+ (- (exp x) 2.0) (fma (- 2.0) 1 2.0)) (exp (- x)))

rewrite112.0ms

Algorithm
rewrite-expression-head
Rules
26×*-un-lft-identity
13×add-log-exp
12×add-sqr-sqrt
10×add-cube-cbrt
prod-diff
distribute-lft-out
fma-def sum-log
frac-add
flip3-+ fma-neg flip-+ distribute-lft-out--
pow1 add-exp-log neg-sub0 exp-neg expm1-log1p-u associate-+l- exp-diff diff-log add-cbrt-cube log1p-expm1-u
+-commutative sub-neg associate-+l+ flip3-- flip-- difference-of-squares
Counts
2 → 57
Calls
2 calls:
5.0ms
(- (exp x) 2.0)
105.0ms
(+ (+ (- (exp x) 2.0) (fma (- 2.0) 1 2.0)) (exp (- x)))

series118.0ms

Counts
2 → 6
Calls
2 calls:
12.0ms
(- (exp x) 2.0)
105.0ms
(+ (+ (- (exp x) 2.0) (fma (- 2.0) 1 2.0)) (exp (- x)))

simplify41.0ms

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0338570
11279480
25001466

prune128.0ms

Filtered
63 candidates to 40 candidates (63.5%)
Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (exp x) 2.0)
0.1b
(pow (+ (+ (- (exp x) 2.0) (fma (- 2.0) 1 2.0)) (exp (- x))) 3)
0.3b
(cbrt (pow (+ (+ (- (exp x) 2.0) (fma (- 2.0) 1 2.0)) (exp (- x))) 3))
5.8b
(+ (+ (- (exp x) 2.0) (fma (- 2.0) 1 2.0)) (exp (- x)))

rewrite357.0ms

Algorithm
rewrite-expression-head
Rules
70×*-un-lft-identity
27×distribute-lft-out
20×add-sqr-sqrt
18×cbrt-prod add-cube-cbrt
15×add-log-exp
12×cube-div unpow-prod-down cube-prod frac-add
flip3-+ prod-diff flip-+
distribute-lft-out--
neg-sub0 exp-neg cbrt-div exp-diff
pow1 add-exp-log fma-def sum-log add-cbrt-cube
expm1-log1p-u log1p-expm1-u
pow-unpow fma-neg
cube-mult associate-+l- diff-log unpow3 sqr-pow
+-commutative pow-to-exp sub-neg associate-+l+ flip3-- pow-pow pow1/3 pow-exp flip-- rem-cbrt-cube rem-cube-cbrt difference-of-squares
Counts
4 → 129
Calls
4 calls:
5.0ms
(- (exp x) 2.0)
133.0ms
(pow (+ (+ (- (exp x) 2.0) (fma (- 2.0) 1 2.0)) (exp (- x))) 3)
109.0ms
(cbrt (pow (+ (+ (- (exp x) 2.0) (fma (- 2.0) 1 2.0)) (exp (- x))) 3))
106.0ms
(+ (+ (- (exp x) 2.0) (fma (- 2.0) 1 2.0)) (exp (- x)))

series371.0ms

Counts
4 → 12
Calls
4 calls:
13.0ms
(- (exp x) 2.0)
144.0ms
(pow (+ (+ (- (exp x) 2.0) (fma (- 2.0) 1 2.0)) (exp (- x))) 3)
110.0ms
(cbrt (pow (+ (+ (- (exp x) 2.0) (fma (- 2.0) 1 2.0)) (exp (- x))) 3))
104.0ms
(+ (+ (- (exp x) 2.0) (fma (- 2.0) 1 2.0)) (exp (- x)))

simplify76.0ms

Algorithm
egg-herbie
Counts
141 → 141
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
05271740
122251583
250011578

prune285.0ms

Filtered
141 candidates to 78 candidates (55.3%)
Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0.0b

regimes34.0ms

Accuracy

0% (0.6b remaining)

Error of 0.7b against oracle of 0.0b and baseline of 0.7b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0115
1115

end0.0ms

sample2.3s

Algorithm
intervals
Results
1.6s5655×body1280valid
193.0ms1217×body640valid
176.0ms7993×body80valid
59.0ms622×body320valid
19.0ms322×body160valid