Details

Time bar (total: 4.3s)

sample80.0ms

Algorithm
intervals
Results
54.0ms182×body1280valid
6.0ms283×body80valid
5.0ms35×body640valid
2.0ms25×body320valid
1.0ms11×body160valid

simplify222.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: 29.6b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

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

series71.0ms

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

prune143.0ms

Filtered
71 candidates to 51 candidates (71.8%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New69271
Fresh000
Picked101
Done000
Total70272

Merged error: 0.0b

Counts
72 → 2

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

series166.0ms

Counts
2 → 6
Calls
2 calls:
126.0ms
(fma 1/360 (pow x 6) (* 1/12 (pow x 4)))
39.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

prune81.0ms

Filtered
43 candidates to 29 candidates (67.4%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New43043
Fresh011
Picked011
Done000
Total43245

Merged error: 0.0b

Counts
45 → 2

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (exp x) 2.0)
4.5b
(log (exp (+ (- (exp x) 2.0) (exp (- x)))))
4.5b
(+ (- (exp x) 2.0) (exp (- x)))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
33×*-un-lft-identity
23×add-sqr-sqrt
19×add-cube-cbrt
18×prod-diff
11×associate-+l+
10×add-log-exp
log-pow
exp-prod fma-def
pow1 log-prod frac-add distribute-lft-out distribute-lft-out--
add-exp-log expm1-log1p-u flip3-- exp-diff fma-neg add-cbrt-cube flip-- log1p-expm1-u
neg-sub0 exp-neg associate-+l- sub-neg diff-log sum-log difference-of-squares
+-commutative log-div flip3-+ rem-log-exp exp-sum flip-+
Counts
3 → 86
Calls
3 calls:
5.0ms
(- (exp x) 2.0)
8.0ms
(log (exp (+ (- (exp x) 2.0) (exp (- x)))))
10.0ms
(+ (- (exp x) 2.0) (exp (- x)))

series130.0ms

Counts
3 → 9
Calls
3 calls:
12.0ms
(- (exp x) 2.0)
59.0ms
(log (exp (+ (- (exp x) 2.0) (exp (- x)))))
58.0ms
(+ (- (exp x) 2.0) (exp (- x)))

simplify38.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0316672
11083525
25002513

prune174.0ms

Filtered
95 candidates to 65 candidates (68.4%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New94195
Fresh000
Picked011
Done011
Total94397

Merged error: 0.0b

Counts
97 → 3

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (exp x) 2.0)
0.0b
(* (exp x) (- (exp x) 2.0))
3.5b
(log (exp (/ (* (+ (exp x) 2.0) (+ (* (exp x) (- (exp x) 2.0)) 1)) (* (+ (exp x) 2.0) (exp x)))))
3.8b
(+ (* (exp x) (- (exp x) 2.0)) 1)

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
45×add-sqr-sqrt prod-diff
43×*-un-lft-identity
39×add-cube-cbrt
22×distribute-rgt-in associate-+l+ distribute-lft-in
log-pow add-log-exp
pow1 exp-prod
add-cbrt-cube
add-exp-log sub-neg associate-*r*
expm1-log1p-u log1p-expm1-u
log-prod fma-neg associate-*l*
flip3-- flip3-+ associate-*r/ associate-*l/ associate-/r/ flip-- flip-+ distribute-lft-out-- difference-of-squares
+-commutative fma-def times-frac diff-log rem-log-exp pow-prod-down prod-exp sum-log *-commutative cbrt-unprod div-inv unswap-sqr
Counts
4 → 131
Calls
4 calls:
5.0ms
(- (exp x) 2.0)
9.0ms
(* (exp x) (- (exp x) 2.0))
5.0ms
(log (exp (/ (* (+ (exp x) 2.0) (+ (* (exp x) (- (exp x) 2.0)) 1)) (* (+ (exp x) 2.0) (exp x)))))
10.0ms
(+ (* (exp x) (- (exp x) 2.0)) 1)

series204.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(- (exp x) 2.0)
33.0ms
(* (exp x) (- (exp x) 2.0))
98.0ms
(log (exp (/ (* (+ (exp x) 2.0) (+ (* (exp x) (- (exp x) 2.0)) 1)) (* (+ (exp x) 2.0) (exp x)))))
61.0ms
(+ (* (exp x) (- (exp x) 2.0)) 1)

simplify64.0ms

Algorithm
egg-herbie
Counts
143 → 143
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
04511345
11915972
25001960

prune291.0ms

Filtered
143 candidates to 96 candidates (67.1%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1421143
Fresh000
Picked101
Done022
Total1433146

Merged error: 0b

Counts
146 → 3

regimes35.0ms

Accuracy

0% (0.5b remaining)

Error of 0.6b against oracle of 0.1b 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.6s5688×body1280valid
189.0ms1216×body640valid
176.0ms7996×body80valid
53.0ms577×body320valid
20.0ms340×body160valid