Details

Time bar (total: 4.8s)

sample82.0ms

Algorithm
intervals
Results
58.0ms188×body1280valid
5.0ms233×body80valid
5.0ms35×body640valid
2.0ms19×body320valid
1.0msbody160valid

simplify217.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: 30.8b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (exp x) 2.0)
3.9b
(+ (- (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)))

series69.0ms

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

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

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

series158.0ms

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

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity
11×add-sqr-sqrt add-cbrt-cube
add-exp-log add-cube-cbrt
pow1 add-log-exp
expm1-log1p-u associate-*l* associate-*l/ log1p-expm1-u
fma-def flip3-+ times-frac associate-*r* flip-+ associate-/l*
cbrt-undiv div-exp prod-exp associate-/r/ cbrt-unprod distribute-lft-out
+-commutative frac-2neg pow-prod-down clear-num associate-/r* sum-log *-commutative fma-udef div-inv unswap-sqr
Counts
4 → 75
Calls
4 calls:
4.0ms
(+ (exp x) 2.0)
8.0ms
(/ (fma (exp x) (fma (- 2.0) 2.0 (exp (+ x x))) (+ (exp x) 2.0)) (* (+ (exp x) 2.0) (exp x)))
8.0ms
(* (+ (exp x) 2.0) (exp x))
1.0ms
(fma (exp x) (fma (- 2.0) 2.0 (exp (+ x x))) (+ (exp x) 2.0))

series337.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(+ (exp x) 2.0)
213.0ms
(/ (fma (exp x) (fma (- 2.0) 2.0 (exp (+ x x))) (+ (exp x) 2.0)) (* (+ (exp x) 2.0) (exp x)))
26.0ms
(* (+ (exp x) 2.0) (exp x))
90.0ms
(fma (exp x) (fma (- 2.0) 2.0 (exp (+ x x))) (+ (exp x) 2.0))

simplify46.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0312834
11220713
25001710

prune201.0ms

Filtered
87 candidates to 70 candidates (80.5%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New87087
Fresh022
Picked011
Done011
Total87491

Merged error: 0.0b

Counts
91 → 4

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (- (exp x) 2.0) (- (exp x) 2.0))
0.0b
(pow (exp (- x)) 3)
0.0b
(pow (- (exp x) 2.0) 3)
3.8b
(+ (pow (- (exp x) 2.0) 3) (pow (exp (- x)) 3))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
76×*-un-lft-identity
50×add-sqr-sqrt
32×add-cube-cbrt
21×unpow-prod-down cube-prod
18×prod-diff
16×fma-def
14×distribute-lft-out--
13×pow1
12×cube-div pow-pow
11×distribute-rgt-in distribute-lft-in
10×exp-prod
flip3-- flip-- distribute-lft-out
add-cbrt-cube difference-of-squares
add-exp-log swap-sqr
pow-unpow add-log-exp
associate-*r* associate-*l*
expm1-log1p-u frac-times frac-add log1p-expm1-u
neg-sub0 distribute-lft-neg-in exp-neg cube-mult distribute-rgt-neg-in exp-diff unpow3 sqr-pow
pow-to-exp sub-neg associate-*r/ associate-*l/ pow-exp rem-cube-cbrt
+-commutative pow2 neg-mul-1 flip3-+ pow-plus pow-prod-down prod-exp sum-log pow-sqr sum-cubes *-commutative pow-prod-up cbrt-unprod flip-+ unswap-sqr
Counts
4 → 176
Calls
4 calls:
12.0ms
(* (- (exp x) 2.0) (- (exp x) 2.0))
5.0ms
(pow (exp (- x)) 3)
5.0ms
(pow (- (exp x) 2.0) 3)
18.0ms
(+ (pow (- (exp x) 2.0) 3) (pow (exp (- x)) 3))

series259.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(* (- (exp x) 2.0) (- (exp x) 2.0))
26.0ms
(pow (exp (- x)) 3)
46.0ms
(pow (- (exp x) 2.0) 3)
153.0ms
(+ (pow (- (exp x) 2.0) 3) (pow (exp (- x)) 3))

simplify125.0ms

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 2 (110.0ms)

IterNodesCost
06431322
137141084
250011083

prune402.0ms

Filtered
188 candidates to 103 candidates (54.8%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1871188
Fresh011
Picked101
Done022
Total1884192

Merged error: 0b

Counts
192 → 4

regimes20.0ms

Accuracy

0% (0.5b remaining)

Error of 0.5b against oracle of 0.0b 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.7s5719×body1280valid
196.0ms7994×body80valid
193.0ms1222×body640valid
61.0ms605×body320valid
19.0ms306×body160valid