Details

Time bar (total: 5.3s)

sample78.0ms

Algorithm
intervals
Results
56.0ms189×body1280valid
6.0ms37×body640valid
4.0ms194×body80valid
1.0ms14×body320valid
1.0ms12×body160valid

simplify223.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

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 26.7b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite33.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)))

series73.0ms

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

simplify35.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0282506
11008381
25001367

prune162.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize12.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:
125.0ms
(fma 1/360 (pow x 6) (* 1/12 (pow x 4)))
38.0ms
(* 1/12 (pow x 4))

simplify88.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0123177
1469163
22175160
35002160

prune105.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize19.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (exp x) 3)
0.0b
(pow (exp x) 3)
0.3b
(/ (fma (exp x) (- (pow (exp x) 3) (pow 2.0 3)) (fma 2.0 (+ (exp x) 2.0) (exp (+ x x)))) (fma (exp x) (fma 2.0 2.0 (* (exp x) 2.0)) (pow (exp x) 3)))
4.3b
(fma (exp x) (- (pow (exp x) 3) (pow 2.0 3)) (fma 2.0 (+ (exp x) 2.0) (exp (+ x x))))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
pow-pow add-cbrt-cube
pow1 add-exp-log unpow-prod-down pow-unpow exp-prod cube-prod
expm1-log1p-u log1p-expm1-u add-log-exp
associate-/r* associate-/l*
cube-mult pow-to-exp unpow3 pow-exp rem-cube-cbrt sqr-pow
cbrt-undiv frac-2neg div-exp clear-num fma-udef div-inv
Counts
4 → 95
Calls
4 calls:
2.0ms
(pow (exp x) 3)
2.0ms
(pow (exp x) 3)
2.0ms
(/ (fma (exp x) (- (pow (exp x) 3) (pow 2.0 3)) (fma 2.0 (+ (exp x) 2.0) (exp (+ x x)))) (fma (exp x) (fma 2.0 2.0 (* (exp x) 2.0)) (pow (exp x) 3)))
0.0ms
(fma (exp x) (- (pow (exp x) 3) (pow 2.0 3)) (fma 2.0 (+ (exp x) 2.0) (exp (+ x x))))

series476.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(pow (exp x) 3)
27.0ms
(pow (exp x) 3)
299.0ms
(/ (fma (exp x) (- (pow (exp x) 3) (pow 2.0 3)) (fma 2.0 (+ (exp x) 2.0) (exp (+ x x)))) (fma (exp x) (fma 2.0 2.0 (* (exp x) 2.0)) (pow (exp x) 3)))
126.0ms
(fma (exp x) (- (pow (exp x) 3) (pow 2.0 3)) (fma 2.0 (+ (exp x) 2.0) (exp (+ x x))))

simplify51.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
03011234
112331128
250011118

prune361.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (exp x) 3)
0.1b
(pow (exp x) 4)
0.3b
(/ (+ (+ (pow (exp x) 4) 4.0) (* (exp x) (- (exp x) 6.0))) (fma (exp x) (fma 2.0 2.0 (* (exp x) 2.0)) (pow (exp x) 3)))
4.2b
(+ (+ (pow (exp x) 4) 4.0) (* (exp x) (- (exp x) 6.0)))

rewrite159.0ms

Algorithm
rewrite-expression-head
Rules
34×*-un-lft-identity
32×add-sqr-sqrt add-cube-cbrt
22×associate-+r+
18×prod-diff
11×distribute-rgt-in distribute-lft-in
times-frac add-log-exp
pow-pow associate-*r/ frac-add
add-cbrt-cube
pow1 add-exp-log unpow-prod-down pow-unpow exp-prod flip3-+ flip-+ associate-/l/
expm1-log1p-u flip3-- fma-def flip-- log1p-expm1-u
cube-prod associate-/r* sum-log associate-/l*
pow-to-exp sub-neg pow-exp sqr-pow
cbrt-undiv +-commutative cube-mult associate-+l+ frac-2neg unpow3 div-exp clear-num div-inv distribute-lft-out rem-cube-cbrt
Counts
4 → 130
Calls
4 calls:
2.0ms
(pow (exp x) 3)
2.0ms
(pow (exp x) 4)
101.0ms
(/ (+ (+ (pow (exp x) 4) 4.0) (* (exp x) (- (exp x) 6.0))) (fma (exp x) (fma 2.0 2.0 (* (exp x) 2.0)) (pow (exp x) 3)))
49.0ms
(+ (+ (pow (exp x) 4) 4.0) (* (exp x) (- (exp x) 6.0)))

series398.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(pow (exp x) 3)
24.0ms
(pow (exp x) 4)
256.0ms
(/ (+ (+ (pow (exp x) 4) 4.0) (* (exp x) (- (exp x) 6.0))) (fma (exp x) (fma 2.0 2.0 (* (exp x) 2.0)) (pow (exp x) 3)))
94.0ms
(+ (+ (pow (exp x) 4) 4.0) (* (exp x) (- (exp x) 6.0)))

simplify107.0ms

Algorithm
egg-herbie
Counts
142 → 142
Iterations

Useful iterations: 2 (89.0ms)

IterNodesCost
07371654
135941425
250011423

prune439.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

regimes26.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.6s5570×body1280valid
195.0ms1288×body640valid
185.0ms8015×body80valid
56.0ms616×body320valid
25.0ms355×body160valid