Details

Time bar (total: 4.8s)

sample35.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0.097632%

Space saved by search: 0.097632%

Guaranteed chance to sample good point: 0%

Results
13.0ms52×body1280valid
7.0ms43×body640valid
4.0ms133×body80valid
2.0ms17×body320valid
1.0ms11×body160valid

simplify58.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0155
1225
2305
3525
41145
53225
616275
750025

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 28.5b

Counts
2 → 1

localize6.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)))
2.5b
(- (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0)

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
24×*-un-lft-identity
17×add-sqr-sqrt
13×times-frac
12×add-cube-cbrt
add-log-exp
add-exp-log add-cbrt-cube distribute-lft-out
associate-/r*
pow1 associate-/l*
flip3-+ associate-/r/ flip-+ difference-of-squares
cbrt-undiv +-commutative sub-neg flip3-- frac-2neg diff-log div-exp clear-num sum-log flip-- div-inv distribute-lft-out--
Counts
3 → 60
Calls
3 calls:
9.0ms
(/ 2.0 (+ 1.0 (exp (* -2.0 x))))
3.0ms
(+ 1.0 (exp (* -2.0 x)))
9.0ms
(- (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0)

series16.0ms

Counts
3 → 9
Calls
3 calls:
6.0ms
(/ 2.0 (+ 1.0 (exp (* -2.0 x))))
2.0ms
(+ 1.0 (exp (* -2.0 x)))
9.0ms
(- (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0)

simplify89.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 2 (19.0ms)

IterNodesCost
0251494
1731465
22771460
35002460

prune127.0ms

Filtered
50 candidates to 69 candidates (-38.0%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New66369
Fresh000
Picked101
Done000
Total67370

Merged error: 0.0b

Counts
70 → 3

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ 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.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.5b
(- (* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (* 1.0 1.0))

rewrite60.0ms

Algorithm
rewrite-expression-head
Rules
104×*-un-lft-identity
80×times-frac
62×add-sqr-sqrt
50×add-cube-cbrt
24×swap-sqr distribute-lft-out
18×add-exp-log associate-*r* associate-*l* add-cbrt-cube
11×pow1
10×associate-/r/
add-log-exp
flip3-+ flip-+ difference-of-squares
cbrt-undiv div-exp div-inv
prod-exp associate-/r* cbrt-unprod associate-/l* unswap-sqr
flip3-- flip-- associate-/l/
+-commutative pow2 frac-times sub-neg frac-2neg pow-plus diff-log div-sub associate-*r/ pow-prod-down associate-*l/ clear-num sum-log pow-sqr *-commutative pow-prod-up
Counts
4 → 154
Calls
4 calls:
3.0ms
(+ 1.0 (exp (* -2.0 x)))
21.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))
18.0ms
(* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x)))))
11.0ms
(- (* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (* 1.0 1.0))

series54.0ms

Counts
4 → 12
Calls
4 calls:
2.0ms
(+ 1.0 (exp (* -2.0 x)))
30.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))
10.0ms
(* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x)))))
12.0ms
(- (* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (* 1.0 1.0))

simplify118.0ms

Algorithm
egg-herbie
Counts
166 → 166
Iterations

Useful iterations: 2 (96.0ms)

IterNodesCost
07222489
137812190
250022172

prune453.0ms

Filtered
110 candidates to 166 candidates (-50.9%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1642166
Fresh112
Picked101
Done000
Total1663169

Merged error: 0.0b

Counts
169 → 3

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (- (pow (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 4) (/ (pow 1.0 4) 1)) (+ (* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (* 1.0 1.0)))
0.0b
(* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x)))))
0.0b
(pow (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 4)
2.4b
(- (pow (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 4) (/ (pow 1.0 4) 1))

rewrite123.0ms

Algorithm
rewrite-expression-head
Rules
398×add-sqr-sqrt
327×times-frac
204×*-un-lft-identity
140×difference-of-squares
128×unpow-prod-down
86×add-cube-cbrt
76×sqr-pow
32×associate-/l*
24×swap-sqr
21×add-exp-log distribute-lft-out
18×associate-*r* associate-*l* add-cbrt-cube
12×pow1 associate-/r/
flip3-+ div-exp flip-+ div-inv add-log-exp
cbrt-undiv distribute-lft-out--
prod-exp cbrt-unprod unswap-sqr
pow-unpow associate-/r*
flip3-- pow-exp flip-- associate-/l/
pow2 frac-times pow-to-exp sub-neg pow-pow frac-2neg pow-plus diff-log div-sub associate-*r/ pow-prod-down associate-*l/ clear-num pow-sqr *-commutative pow-prod-up
Counts
4 → 310
Calls
4 calls:
45.0ms
(/ (- (pow (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 4) (/ (pow 1.0 4) 1)) (+ (* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (* 1.0 1.0)))
18.0ms
(* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x)))))
7.0ms
(pow (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 4)
28.0ms
(- (pow (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 4) (/ (pow 1.0 4) 1))

series74.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(/ (- (pow (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 4) (/ (pow 1.0 4) 1)) (+ (* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (* 1.0 1.0)))
10.0ms
(* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x)))))
11.0ms
(pow (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 4)
15.0ms
(- (pow (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 4) (/ (pow 1.0 4) 1))

simplify90.0ms

Algorithm
egg-herbie
Counts
322 → 322
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
013367757
150026789

prune1.3s

Filtered
183 candidates to 322 candidates (-76.0%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New3220322
Fresh022
Picked011
Done000
Total3223325

Merged error: 0.0b

Counts
325 → 3

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (- (cbrt (pow (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 6)) (* 1.0 1.0)) (+ (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0))
0.0b
(cbrt (pow (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 6))
0.1b
(pow (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 6)
2.5b
(- (cbrt (pow (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 6)) (* 1.0 1.0))

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
66×add-sqr-sqrt *-un-lft-identity
62×times-frac
48×unpow-prod-down
46×cbrt-prod
36×add-cube-cbrt
30×difference-of-squares
15×distribute-lft-out
add-exp-log
associate-/l* sqr-pow
associate-/r/ add-cbrt-cube add-log-exp
pow1
associate-/r*
pow-unpow flip3-+ flip-+ div-inv
flip3-- div-exp pow-exp flip-- associate-/l/
cbrt-undiv pow-to-exp sub-neg pow-pow frac-2neg pow1/3 diff-log div-sub clear-num
Counts
4 → 141
Calls
4 calls:
21.0ms
(/ (- (cbrt (pow (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 6)) (* 1.0 1.0)) (+ (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0))
7.0ms
(cbrt (pow (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 6))
7.0ms
(pow (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 6)
14.0ms
(- (cbrt (pow (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 6)) (* 1.0 1.0))

series63.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(/ (- (cbrt (pow (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 6)) (* 1.0 1.0)) (+ (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0))
10.0ms
(cbrt (pow (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 6))
12.0ms
(pow (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 6)
12.0ms
(- (cbrt (pow (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 6)) (* 1.0 1.0))

simplify72.0ms

Algorithm
egg-herbie
Counts
153 → 153
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
06342426
122042290
250012258

prune436.0ms

Filtered
108 candidates to 153 candidates (-41.7%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1521153
Fresh011
Picked101
Done011
Total1533156

Merged error: 0.0b

Counts
156 → 3

regimes485.0ms

Accuracy

98.1% (0.6b remaining)

Error of 0.6b against oracle of 0.0b and baseline of 29.1b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04329
14329

end0.0ms

sample987.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0.097632%

Space saved by search: 0.097632%

Guaranteed chance to sample good point: 0%

Results
408.0ms1635×body1280valid
215.0ms1265×body640valid
134.0ms4129×body80valid
74.0ms634×body320valid
25.0ms337×body160valid

Profiling

Loading profile data...