Details

Time bar (total: 5.1s)

sample83.0ms

Algorithm
intervals
Results
55.0ms173×body1280valid
7.0ms42×body640valid
7.0ms251×body80valid
2.0ms18×body320valid
1.0ms14×body160valid

simplify216.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.5b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (exp x) 2.0)
3.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)))

series68.0ms

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

simplify33.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0282506
11008381
25001367

prune144.0ms

Filtered
71 candidates to 51 candidates (71.8%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New68371
Fresh000
Picked101
Done000
Total69372

Merged error: 0.0b

Counts
72 → 3

localize8.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:
118.0ms
(fma 1/360 (pow x 6) (* 1/12 (pow x 4)))
34.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

prune87.0ms

Filtered
43 candidates to 29 candidates (67.4%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New43043
Fresh022
Picked011
Done000
Total43346

Merged error: 0.0b

Counts
46 → 3

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite21.0ms

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

series354.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(* (+ (exp x) 2.0) (exp x))
36.0ms
(fma (- 2.0) 2.0 (exp (+ x x)))
207.0ms
(/ (fma (exp x) (fma (- 2.0) 2.0 (exp (+ x x))) (+ (exp x) 2.0)) (* (+ (exp x) 2.0) (exp x)))
89.0ms
(fma (exp x) (fma (- 2.0) 2.0 (exp (+ x x))) (+ (exp x) 2.0))

simplify42.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0309842
11272718
25002714

prune184.0ms

Filtered
80 candidates to 66 candidates (82.5%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New80080
Fresh011
Picked011
Done011
Total80383

Merged error: 0.0b

Counts
83 → 3

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(cbrt (- (exp x) 2.0))
0.0b
(cbrt (- (exp x) 2.0))
0.0b
(cbrt (- (exp x) 2.0))
6.0b
(fma (* (cbrt (- (exp x) 2.0)) (cbrt (- (exp x) 2.0))) (cbrt (- (exp x) 2.0)) (exp (- x)))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
15×cbrt-prod
13×add-sqr-sqrt *-un-lft-identity
add-cube-cbrt
cbrt-div
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
flip3-- pow1/3 flip-- distribute-lft-out-- difference-of-squares
fma-udef
Counts
4 → 61
Calls
4 calls:
4.0ms
(cbrt (- (exp x) 2.0))
4.0ms
(cbrt (- (exp x) 2.0))
4.0ms
(cbrt (- (exp x) 2.0))
1.0ms
(fma (* (cbrt (- (exp x) 2.0)) (cbrt (- (exp x) 2.0))) (cbrt (- (exp x) 2.0)) (exp (- x)))

series734.0ms

Counts
4 → 12
Calls
4 calls:
130.0ms
(cbrt (- (exp x) 2.0))
137.0ms
(cbrt (- (exp x) 2.0))
131.0ms
(cbrt (- (exp x) 2.0))
336.0ms
(fma (* (cbrt (- (exp x) 2.0)) (cbrt (- (exp x) 2.0))) (cbrt (- (exp x) 2.0)) (exp (- x)))

simplify82.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 3 (75.0ms)

IterNodesCost
0228609
1691551
22839527
35001507

prune187.0ms

Filtered
73 candidates to 60 candidates (82.2%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New72173
Fresh000
Picked011
Done022
Total72476

Merged error: 0.0b

Counts
76 → 4

regimes21.0ms

Accuracy

0% (0.7b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0115
1115

end0.0ms

sample2.5s

Algorithm
intervals
Results
1.8s5590×body1280valid
215.0ms1269×body640valid
212.0ms7927×body80valid
64.0ms609×body320valid
23.0ms337×body160valid