Details

Time bar (total: 4.0s)

sample76.0ms

Algorithm
intervals
Results
53.0ms180×body1280valid
6.0ms38×body640valid
5.0ms234×body80valid
1.0ms17×body320valid
1.0msbody160valid

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

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 28.3b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

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

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

series71.0ms

Counts
2 → 6
Calls
2 calls:
13.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

prune187.0ms

Filtered
71 candidates to 51 candidates (71.8%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New67471
Fresh000
Picked101
Done000
Total68472

Merged error: 0.0b

Counts
72 → 4

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

series167.0ms

Counts
2 → 6
Calls
2 calls:
129.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

prune84.0ms

Filtered
43 candidates to 29 candidates (67.4%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New43043
Fresh033
Picked011
Done000
Total43447

Merged error: 0.0b

Counts
47 → 4

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
37×*-un-lft-identity
34×add-sqr-sqrt
33×prod-diff
24×add-cube-cbrt
11×associate--r+
add-log-exp
distribute-lft-out--
fma-neg
difference-of-squares
diff-log
sub-neg
pow1 add-exp-log expm1-log1p-u flip3-- add-cbrt-cube flip-- log1p-expm1-u
associate--r-
Counts
2 → 76
Calls
2 calls:
4.0ms
(- 2.0 (exp (- x)))
8.0ms
(- (exp x) (- 2.0 (exp (- x))))

series72.0ms

Counts
2 → 6
Calls
2 calls:
13.0ms
(- 2.0 (exp (- x)))
59.0ms
(- (exp x) (- 2.0 (exp (- x))))

simplify38.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
03341032
11000687
25001583

prune110.0ms

Filtered
82 candidates to 45 candidates (54.9%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New80282
Fresh112
Picked101
Done011
Total82486

Merged error: 0.0b

Counts
86 → 4

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(- 2.0 (exp (- x)))
0.0b
(- 2.0 (exp (- x)))
0.0b
(- 2.0 (exp (- x)))
5.1b
(fma (- (- 2.0 (exp (- x)))) (- 2.0 (exp (- x))) (exp (+ x x)))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
31×add-sqr-sqrt *-un-lft-identity
27×prod-diff
25×add-cube-cbrt
10×add-log-exp
fma-neg
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u
sub-neg flip3-- diff-log flip-- distribute-lft-out-- difference-of-squares
fma-udef
Counts
4 → 94
Calls
4 calls:
5.0ms
(- 2.0 (exp (- x)))
5.0ms
(- 2.0 (exp (- x)))
5.0ms
(- 2.0 (exp (- x)))
1.0ms
(fma (- (- 2.0 (exp (- x)))) (- 2.0 (exp (- x))) (exp (+ x x)))

series129.0ms

Counts
4 → 12
Calls
4 calls:
13.0ms
(- 2.0 (exp (- x)))
18.0ms
(- 2.0 (exp (- x)))
13.0ms
(- 2.0 (exp (- x)))
84.0ms
(fma (- (- 2.0 (exp (- x)))) (- 2.0 (exp (- x))) (exp (+ x x)))

simplify126.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 3 (116.0ms)

IterNodesCost
02281099
1687715
23728712
35001694

prune216.0ms

Filtered
106 candidates to 69 candidates (65.1%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1051106
Fresh022
Picked101
Done011
Total1064110

Merged error: 0.0b

Counts
110 → 4

regimes20.0ms

Accuracy

0% (0.6b 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.6s5661×body1280valid
192.0ms1239×body640valid
174.0ms7877×body80valid
59.0ms624×body320valid
18.0ms310×body160valid