Details

Time bar (total: 3.7s)

sample81.0ms

Algorithm
intervals
Results
57.0ms187×body1280valid
5.0ms249×body80valid
5.0ms37×body640valid
2.0ms17×body320valid
1.0ms10×body160valid

simplify226.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0145
1265
2415
3555
4675
51045
61615
73445
814525
950025

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.9b
(+ (- (exp x) 2.0) (exp (- x)))

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
frac-add
flip3-- flip--
neg-sub0 exp-neg sub-neg associate-+l+ exp-diff
+-commutative associate-+l- flip3-+ flip-+
Counts
2 → 14
Calls
2 calls:
2.0ms
(- (exp x) 2.0)
4.0ms
(+ (- (exp x) 2.0) (exp (- x)))

series71.0ms

Counts
2 → 6
Calls
2 calls:
17.0ms
(- (exp x) 2.0)
54.0ms
(+ (- (exp x) 2.0) (exp (- x)))

simplify68.0ms

Algorithm
egg-herbie
Counts
20 → 20
Iterations

Useful iterations: 3 (64.0ms)

IterNodesCost
0175161
1551149
22525142
35002137

prune45.0ms

Filtered
20 candidates to 13 candidates (65.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New18220
Fresh000
Picked101
Done000
Total19221

Merged error: 0.0b

Counts
21 → 2

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

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
associate-*r* *-commutative fma-udef sqr-pow
Counts
2 → 3
Calls
2 calls:
1.0ms
(fma 1/360 (pow x 6) (* 1/12 (pow x 4)))
3.0ms
(* 1/12 (pow x 4))

series163.0ms

Counts
2 → 6
Calls
2 calls:
127.0ms
(fma 1/360 (pow x 6) (* 1/12 (pow x 4)))
35.0ms
(* 1/12 (pow x 4))

simplify72.0ms

Algorithm
egg-herbie
Counts
9 → 9
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02722
18722
226922
3113022
4500122

prune11.0ms

Filtered
9 candidates to 3 candidates (33.3%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New909
Fresh011
Picked011
Done000
Total9211

Merged error: 0.0b

Counts
11 → 2

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
sub-neg
flip3-- flip-- associate--r+
associate--r-
Counts
2 → 11
Calls
2 calls:
2.0ms
(- 2.0 (exp (- x)))
3.0ms
(- (exp x) (- 2.0 (exp (- x))))

series72.0ms

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

simplify45.0ms

Algorithm
egg-herbie
Counts
17 → 17
Iterations

Useful iterations: 3 (42.0ms)

IterNodesCost
0145104
1429101
2141998
3500194

prune34.0ms

Filtered
17 candidates to 11 candidates (64.7%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New16117
Fresh000
Picked011
Done011
Total16319

Merged error: 0.0b

Counts
19 → 3

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(- 2.0 (exp (- x)))
0.0b
(- 2.0 (exp (* -1 x)))
0.3b
(/ (fma (- (- 2.0 (exp (- x)))) (- 2.0 (exp (* -1 x))) (exp (+ x x))) (+ (exp x) (- 2.0 (exp (- x)))))
5.4b
(fma (- (- 2.0 (exp (- x)))) (- 2.0 (exp (* -1 x))) (exp (+ x x)))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
sub-neg flip3-- associate-/r/ flip--
frac-2neg flip3-+ clear-num flip-+ fma-udef div-inv
Counts
4 → 14
Calls
4 calls:
2.0ms
(- 2.0 (exp (- x)))
2.0ms
(- 2.0 (exp (* -1 x)))
3.0ms
(/ (fma (- (- 2.0 (exp (- x)))) (- 2.0 (exp (* -1 x))) (exp (+ x x))) (+ (exp x) (- 2.0 (exp (- x)))))
1.0ms
(fma (- (- 2.0 (exp (- x)))) (- 2.0 (exp (* -1 x))) (exp (+ x x)))

series312.0ms

Counts
4 → 12
Calls
4 calls:
13.0ms
(- 2.0 (exp (- x)))
17.0ms
(- 2.0 (exp (* -1 x)))
202.0ms
(/ (fma (- (- 2.0 (exp (- x)))) (- 2.0 (exp (* -1 x))) (exp (+ x x))) (+ (exp x) (- 2.0 (exp (- x)))))
79.0ms
(fma (- (- 2.0 (exp (- x)))) (- 2.0 (exp (* -1 x))) (exp (+ x x)))

simplify65.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 3 (61.0ms)

IterNodesCost
0242242
1682234
22251210
35001205

prune79.0ms

Filtered
26 candidates to 21 candidates (80.8%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New25126
Fresh000
Picked101
Done022
Total26329

Merged error: 0b

Counts
29 → 3

regimes19.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.6s5677×body1280valid
185.0ms1223×body640valid
175.0ms7927×body80valid
56.0ms630×body320valid
17.0ms303×body160valid