Details

Time bar (total: 3.0s)

sample32.0ms

Algorithm
intervals
Results
11.0ms50×body1280valid
7.0ms49×body640valid
4.0ms128×body80valid
2.0ms18×body320valid
1.0ms11×body160valid

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

Counts
2 → 1

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
associate-/r/
flip3-+ fma-neg flip-+
div-inv
+-commutative sub-neg flip3-- frac-2neg clear-num flip--
Counts
3 → 15
Calls
3 calls:
3.0ms
(/ 2.0 (+ 1.0 (exp (* -2.0 x))))
6.0ms
(+ 1.0 (exp (* -2.0 x)))
5.0ms
(- (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0)

series132.0ms

Counts
3 → 9
Calls
3 calls:
36.0ms
(/ 2.0 (+ 1.0 (exp (* -2.0 x))))
19.0ms
(+ 1.0 (exp (* -2.0 x)))
77.0ms
(- (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0)

simplify47.0ms

Algorithm
egg-herbie
Counts
24 → 24
Iterations

Useful iterations: 3 (44.0ms)

IterNodesCost
0153135
1409131
21378126
35001125

prune56.0ms

Filtered
24 candidates to 17 candidates (70.8%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New21324
Fresh000
Picked101
Done000
Total22325

Merged error: 0.0b

Counts
25 → 3

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
24×associate-/r/
22×prod-diff
18×*-commutative
15×flip3-+ flip-+
12×div-inv
11×fma-neg
swap-sqr associate-*r* associate-*l*
difference-of-squares
+-commutative
sub-neg flip3-- flip--
Counts
4 → 50
Calls
4 calls:
3.0ms
(+ 1.0 (exp (* -2.0 x)))
3.0ms
(+ 1.0 (exp (* -2.0 x)))
3.0ms
(+ 1.0 (exp (* -2.0 x)))
18.0ms
(- (* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (* 1.0 1.0))

series137.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(+ 1.0 (exp (* -2.0 x)))
17.0ms
(+ 1.0 (exp (* -2.0 x)))
17.0ms
(+ 1.0 (exp (* -2.0 x)))
86.0ms
(- (* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (* 1.0 1.0))

simplify119.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 3 (111.0ms)

IterNodesCost
0240759
1765682
24189650
35001620

prune132.0ms

Filtered
62 candidates to 33 candidates (53.2%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New60262
Fresh112
Picked011
Done000
Total61465

Merged error: 0.0b

Counts
65 → 4

localize11.0ms

Local error

Found 2 expressions with local error:

0.1b
(* 0.33333333333333337 (pow x 3))
9.5b
(fma 5.551115123125783e-17 (pow x 4) (* 0.33333333333333337 (pow x 3)))

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
associate-*r*
unpow3 *-commutative fma-udef sqr-pow
Counts
2 → 4
Calls
2 calls:
3.0ms
(* 0.33333333333333337 (pow x 3))
1.0ms
(fma 5.551115123125783e-17 (pow x 4) (* 0.33333333333333337 (pow x 3)))

series133.0ms

Counts
2 → 6
Calls
2 calls:
35.0ms
(* 0.33333333333333337 (pow x 3))
98.0ms
(fma 5.551115123125783e-17 (pow x 4) (* 0.33333333333333337 (pow x 3)))

simplify207.0ms

Algorithm
egg-herbie
Counts
10 → 10
Iterations

Useful iterations: 4 (47.0ms)

IterNodesCost
03224
18624
226924
391124
4414621
5500221

prune26.0ms

Filtered
10 candidates to 5 candidates (50.0%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New10010
Fresh022
Picked011
Done011
Total10414

Merged error: 0.0b

Counts
14 → 4

localize22.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ 1.0 (exp (* -2.0 x)))
0.7b
(* (+ (* 1.0 1.0) (- (* (exp (* -2.0 x)) (exp (* -2.0 x))) (* 1.0 (exp (* -2.0 x))))) (/ 2.0 (+ 1.0 (exp (* -2.0 x)))))
3.8b
(- (* (exp (* -2.0 x)) (exp (* -2.0 x))) (* 1.0 (exp (* -2.0 x))))
3.9b
(fma (/ 2.0 (+ (pow 1.0 3) (pow (exp (* -2.0 x)) 3))) (* (+ (* 1.0 1.0) (- (* (exp (* -2.0 x)) (exp (* -2.0 x))) (* 1.0 (exp (* -2.0 x))))) (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (- (* 1.0 1.0)))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
10×*-commutative
frac-times flip3-+ flip-+
prod-diff clear-num
frac-2neg associate-*r/ associate-*r*
distribute-rgt-out-- fma-neg associate-*l/ associate-/r/ distribute-lft-out--
+-commutative sub-neg flip3-- un-div-inv flip-- fma-udef div-inv
Counts
4 → 34
Calls
4 calls:
3.0ms
(+ 1.0 (exp (* -2.0 x)))
14.0ms
(* (+ (* 1.0 1.0) (- (* (exp (* -2.0 x)) (exp (* -2.0 x))) (* 1.0 (exp (* -2.0 x))))) (/ 2.0 (+ 1.0 (exp (* -2.0 x)))))
9.0ms
(- (* (exp (* -2.0 x)) (exp (* -2.0 x))) (* 1.0 (exp (* -2.0 x))))
1.0ms
(fma (/ 2.0 (+ (pow 1.0 3) (pow (exp (* -2.0 x)) 3))) (* (+ (* 1.0 1.0) (- (* (exp (* -2.0 x)) (exp (* -2.0 x))) (* 1.0 (exp (* -2.0 x))))) (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (- (* 1.0 1.0)))

series470.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(+ 1.0 (exp (* -2.0 x)))
119.0ms
(* (+ (* 1.0 1.0) (- (* (exp (* -2.0 x)) (exp (* -2.0 x))) (* 1.0 (exp (* -2.0 x))))) (/ 2.0 (+ 1.0 (exp (* -2.0 x)))))
76.0ms
(- (* (exp (* -2.0 x)) (exp (* -2.0 x))) (* 1.0 (exp (* -2.0 x))))
258.0ms
(fma (/ 2.0 (+ (pow 1.0 3) (pow (exp (* -2.0 x)) 3))) (* (+ (* 1.0 1.0) (- (* (exp (* -2.0 x)) (exp (* -2.0 x))) (* 1.0 (exp (* -2.0 x))))) (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (- (* 1.0 1.0)))

simplify45.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0354656
11429586
25001573

prune173.0ms

Filtered
46 candidates to 32 candidates (69.6%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New46046
Fresh011
Picked011
Done022
Total46450

Merged error: 0.0b

Counts
50 → 4

regimes245.0ms

Accuracy

98.8% (0.4b remaining)

Error of 0.4b against oracle of 0.0b and baseline of 30.0b

bsearch2.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03625
13625

end0.0ms

sample897.0ms

Algorithm
intervals
Results
356.0ms1681×body1280valid
186.0ms1322×body640valid
113.0ms4007×body80valid
66.0ms673×body320valid
19.0ms317×body160valid