Details

Time bar (total: 4.6s)

sample78.0ms

Algorithm
intervals
Results
52.0ms173×body1280valid
9.0ms59×body640valid
5.0ms236×body80valid
1.0ms13×body320valid
0.0msbody160valid

simplify221.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.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: 30.8b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite16.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)
9.0ms
(+ (- (exp x) 2.0) (exp (- x)))

series68.0ms

Counts
2 → 6
Calls
2 calls:
12.0ms
(- (exp x) 2.0)
56.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

prune344.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize9.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:
1.0ms
(fma 1/360 (pow x 6) (* 1/12 (pow x 4)))
5.0ms
(* 1/12 (pow x 4))

series152.0ms

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

simplify85.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 2 (16.0ms)

IterNodesCost
0123177
1469163
22175160
35002160

prune102.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 1 expressions with local error:

1.8b
(- (+ (exp (* -1 x)) (exp x)) 2.0)

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
22×*-un-lft-identity
12×prod-diff
11×add-sqr-sqrt
add-cube-cbrt
add-log-exp
distribute-lft-out
fma-neg
diff-log distribute-lft-out--
pow1 add-exp-log expm1-log1p-u sub-neg flip3-- associate--l+ sum-log add-cbrt-cube flip-- log1p-expm1-u difference-of-squares
Counts
1 → 35
Calls
1 calls:
8.0ms
(- (+ (exp (* -1 x)) (exp x)) 2.0)

series47.0ms

Counts
1 → 3
Calls
1 calls:
47.0ms
(- (+ (exp (* -1 x)) (exp x)) 2.0)

simplify118.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 3 (113.0ms)

IterNodesCost
0169392
1576281
23646264
35001236

prune55.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

localize20.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (+ 1 (pow (exp x) -2)) (* 2.0 2.0))
0.0b
(/ (+ (+ (exp (+ x x)) 1) (- (+ 1 (pow (exp x) -2)) (* 2.0 2.0))) (+ (+ (exp (* -1 x)) (exp x)) 2.0))
0.0b
(pow (exp x) -2)
2.2b
(+ (+ (exp (+ x x)) 1) (- (+ 1 (pow (exp x) -2)) (* 2.0 2.0)))

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
96×*-un-lft-identity
43×distribute-lft-out
30×add-log-exp
25×times-frac
24×add-sqr-sqrt
23×add-cube-cbrt
12×sum-log
prod-diff frac-add
associate-+r+ flip3-+ flip-+
add-exp-log diff-log add-cbrt-cube associate-/l/
pow1 flip3-- associate-/r* flip-- associate-/l*
expm1-log1p-u pow-pow fma-def fma-neg log1p-expm1-u
unpow-prod-down pow-unpow exp-prod
associate-+r- sub-neg associate--l+ associate-/r/
cbrt-undiv +-commutative pow-to-exp associate-+l+ frac-2neg div-sub div-exp pow-exp clear-num div-inv difference-of-squares sqr-pow
Counts
4 → 142
Calls
4 calls:
7.0ms
(- (+ 1 (pow (exp x) -2)) (* 2.0 2.0))
24.0ms
(/ (+ (+ (exp (+ x x)) 1) (- (+ 1 (pow (exp x) -2)) (* 2.0 2.0))) (+ (+ (exp (* -1 x)) (exp x)) 2.0))
3.0ms
(pow (exp x) -2)
17.0ms
(+ (+ (exp (+ x x)) 1) (- (+ 1 (pow (exp x) -2)) (* 2.0 2.0)))

series249.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(- (+ 1 (pow (exp x) -2)) (* 2.0 2.0))
128.0ms
(/ (+ (+ (exp (+ x x)) 1) (- (+ 1 (pow (exp x) -2)) (* 2.0 2.0))) (+ (+ (exp (* -1 x)) (exp x)) 2.0))
18.0ms
(pow (exp x) -2)
76.0ms
(+ (+ (exp (+ x x)) 1) (- (+ 1 (pow (exp x) -2)) (* 2.0 2.0)))

simplify96.0ms

Algorithm
egg-herbie
Counts
154 → 154
Iterations

Useful iterations: 2 (73.0ms)

IterNodesCost
06652158
134341996
250021990

prune426.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

regimes22.0ms

Accuracy

0% (0.5b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0115
1115

end0.0ms

sample2.3s

Algorithm
intervals
Results
1.7s5687×body1280valid
194.0ms1270×body640valid
186.0ms8186×body80valid
53.0ms585×body320valid
20.0ms296×body160valid