Details

Time bar (total: 4.1s)

sample32.0ms

Algorithm
intervals
Results
13.0ms64×body1280valid
5.0ms40×body640valid
3.0ms130×body80valid
1.0ms15×body320valid
0.0msbody160valid

simplify59.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0155
1225
2315
3545
41195
53335
616375
750015

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

Counts
2 → 1

localize6.0ms

Local error

Found 1 expressions with local error:

2.0b
(- (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0)

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
fma-neg
associate-/r/
sub-neg flip3-- flip3-+ flip-- flip-+ div-inv
Counts
1 → 7
Calls
1 calls:
5.0ms
(- (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0)

series78.0ms

Counts
1 → 3
Calls
1 calls:
78.0ms
(- (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0)

simplify102.0ms

Algorithm
egg-herbie
Counts
10 → 10
Iterations

Useful iterations: 3 (23.0ms)

IterNodesCost
09261
121159
267256
3284955
4500255

prune30.0ms

Filtered
10 candidates to 7 candidates (70.0%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New7310
Fresh000
Picked101
Done000
Total8311

Merged error: 0.0b

Counts
11 → 3

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- (* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (* 1.0 1.0)) (+ (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0))
0.0b
(* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x)))))
2.0b
(- (* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (* 1.0 1.0))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
34×associate-/r/
23×*-commutative
22×prod-diff
17×flip3-+ flip-+ div-inv
12×swap-sqr associate-*r* associate-*l*
11×fma-neg
10×clear-num
frac-times frac-2neg
difference-of-squares
associate-/l*
associate-*r/ associate-*l/
flip3-- flip-- associate-/l/
pow2 sub-neg div-sub un-div-inv
Counts
3 → 80
Calls
3 calls:
20.0ms
(/ (- (* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (* 1.0 1.0)) (+ (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0))
8.0ms
(* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x)))))
14.0ms
(- (* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (* 1.0 1.0))

series326.0ms

Counts
3 → 9
Calls
3 calls:
197.0ms
(/ (- (* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (* 1.0 1.0)) (+ (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0))
46.0ms
(* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x)))))
83.0ms
(- (* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (* 1.0 1.0))

simplify57.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
03711093
11598978
25001938

prune190.0ms

Filtered
89 candidates to 52 candidates (58.4%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New85489
Fresh202
Picked101
Done000
Total88492

Merged error: 0.0b

Counts
92 → 4

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite404.0ms

Algorithm
rewrite-expression-head
Rules
1439×*-commutative
865×swap-sqr
574×prod-diff
544×unswap-sqr
498×associate-/r/
433×associate-*r* associate-*l*
400×difference-of-squares
249×flip3-+ flip-+ div-inv
200×times-frac
100×associate-/l*
41×fma-neg
19×clear-num
18×frac-times
17×frac-2neg
associate-*r/
associate-*l/
pow2 flip3-- associate-/r* un-div-inv flip-- associate-/l/
sub-neg div-sub
Counts
4 → 1083
Calls
4 calls:
171.0ms
(/ (- (* (* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x)))))) (* (* 1.0 1.0) (* 1.0 1.0))) (* (fma (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (* 1.0 1.0)) (+ (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0)))
15.0ms
(* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x)))))
15.0ms
(* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x)))))
96.0ms
(- (* (* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x)))))) (* (* 1.0 1.0) (* 1.0 1.0)))

series547.0ms

Counts
4 → 12
Calls
4 calls:
344.0ms
(/ (- (* (* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x)))))) (* (* 1.0 1.0) (* 1.0 1.0))) (* (fma (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (* 1.0 1.0)) (+ (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0)))
42.0ms
(* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x)))))
48.0ms
(* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x)))))
113.0ms
(- (* (* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x)))))) (* (* 1.0 1.0) (* 1.0 1.0)))

simplify366.0ms

Algorithm
egg-herbie
Counts
1095 → 1095
Iterations

Useful iterations: 2 (118.0ms)

IterNodesCost
080736117
1395323407
2500122471

prune446.0ms

Filtered
1095 candidates to 98 candidates (8.9%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New109231095
Fresh303
Picked011
Done000
Total109541099

Merged error: 0.0b

Counts
1099 → 4

localize8.0ms

Local error

Found 1 expressions with local error:

2.0b
(- (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0)

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
fma-neg
associate-/r/
sub-neg flip3-- flip3-+ flip-- flip-+ div-inv
Counts
1 → 7
Calls
1 calls:
5.0ms
(- (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0)

series80.0ms

Counts
1 → 3
Calls
1 calls:
79.0ms
(- (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0)

simplify99.0ms

Algorithm
egg-herbie
Counts
10 → 10
Iterations

Useful iterations: 3 (23.0ms)

IterNodesCost
09261
121159
267256
3284955
4500255

prune25.0ms

Filtered
10 candidates to 7 candidates (70.0%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New10010
Fresh022
Picked011
Done011
Total10414

Merged error: 0.0b

Counts
14 → 4

regimes292.0ms

Accuracy

99.7% (0.1b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 29.0b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04454
14654
24654

end0.0ms

sample852.0ms

Algorithm
intervals
Results
367.0ms1761×body1280valid
160.0ms1171×body640valid
107.0ms4134×body80valid
56.0ms603×body320valid
19.0ms331×body160valid