Details

Time bar (total: 4.8s)

sample86.0ms

Algorithm
intervals
Results
59.0ms181×body1280valid
7.0ms270×body80valid
6.0ms36×body640valid
3.0ms27×body320valid
0.0msbody160valid

simplify227.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.7b

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

series70.0ms

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

prune137.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 1 expressions with local error:

0.1b
(* 1/12 (pow x 4))

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
associate-*r*
add-exp-log
add-cube-cbrt unpow-prod-down *-un-lft-identity
associate-*l* prod-exp add-cbrt-cube unswap-sqr
sqr-pow
pow1 expm1-log1p-u pow-to-exp pow-exp *-commutative cbrt-unprod log1p-expm1-u add-log-exp
Counts
1 → 27
Calls
1 calls:
5.0ms
(* 1/12 (pow x 4))

series40.0ms

Counts
1 → 3
Calls
1 calls:
39.0ms
(* 1/12 (pow x 4))

simplify71.0ms

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 2 (14.0ms)

IterNodesCost
0102103
140698
2184195
3500195

prune60.0ms

Filtered
30 candidates to 19 candidates (63.3%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New30030
Fresh033
Picked011
Done000
Total30434

Merged error: 0.0b

Counts
34 → 4

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma (exp x) (fma 2.0 2.0 (* (exp x) 2.0)) (pow (exp x) 3))
0.0b
(pow (exp x) 3)
0.0b
(pow (exp x) 3)
3.5b
(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
12×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow-pow
pow1 unpow-prod-down pow-unpow exp-prod cube-prod add-cbrt-cube
add-exp-log expm1-log1p-u log1p-expm1-u add-log-exp
cube-mult pow-to-exp unpow3 pow-exp fma-udef rem-cube-cbrt sqr-pow
Counts
4 → 76
Calls
4 calls:
1.0ms
(fma (exp x) (fma 2.0 2.0 (* (exp x) 2.0)) (pow (exp x) 3))
3.0ms
(pow (exp x) 3)
3.0ms
(pow (exp x) 3)
1.0ms
(fma (exp x) (- (pow (exp x) 3) (pow 2.0 3)) (fma 2.0 (+ (exp x) 2.0) (exp (+ x x))))

series435.0ms

Counts
4 → 12
Calls
4 calls:
76.0ms
(fma (exp x) (fma 2.0 2.0 (* (exp x) 2.0)) (pow (exp x) 3))
23.0ms
(pow (exp x) 3)
215.0ms
(pow (exp x) 3)
121.0ms
(fma (exp x) (- (pow (exp x) 3) (pow 2.0 3)) (fma 2.0 (+ (exp x) 2.0) (exp (+ x x))))

simplify43.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0228446
1940404
25001393

prune256.0ms

Filtered
88 candidates to 60 candidates (68.2%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New87188
Fresh022
Picked101
Done011
Total88492

Merged error: 0.0b

Counts
92 → 4

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite18.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:
1.0ms
(fma (- 2.0) 2.0 (exp (+ x x)))
7.0ms
(* (+ (exp x) 2.0) (exp x))
8.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))

series362.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(fma (- 2.0) 2.0 (exp (+ x x)))
22.0ms
(* (+ (exp x) 2.0) (exp x))
211.0ms
(/ (fma (exp x) (fma (- 2.0) 2.0 (exp (+ x x))) (+ (exp x) 2.0)) (* (+ (exp x) 2.0) (exp x)))
90.0ms
(fma (exp x) (fma (- 2.0) 2.0 (exp (+ x x))) (+ (exp x) 2.0))

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

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New79180
Fresh022
Picked101
Done011
Total80484

Merged error: 0.0b

Counts
84 → 4

regimes41.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.6s

Algorithm
intervals
Results
1.8s5615×body1280valid
228.0ms1264×body640valid
224.0ms8058×body80valid
71.0ms625×body320valid
24.0ms319×body160valid