Details

Time bar (total: 3.6s)

sample45.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 100%

Results
14.0ms52×body1280valid
6.0ms36×body640valid
5.0ms136×body80valid
2.0ms20×body320valid
1.0ms12×body160valid

simplify60.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: 27.9b

Counts
2 → 1

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite20.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:
3.0ms
(+ 1.0 (exp (* -2.0 x)))
5.0ms
(/ 2.0 (+ 1.0 (exp (* -2.0 x))))
10.0ms
(- (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0)

series16.0ms

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

simplify92.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
0251494
1731465
22771460
35002460

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

rewrite63.0ms

Algorithm
rewrite-expression-head
Rules
54×add-sqr-sqrt
52×*-un-lft-identity
28×times-frac
24×add-cube-cbrt
20×sqrt-prod
12×difference-of-squares
11×associate-*r*
10×add-exp-log add-cbrt-cube distribute-lft-out
associate-/r*
pow1 associate-/l* add-log-exp
flip3-+ associate-*l* flip-+
frac-times flip3-- associate-/r/ flip-- distribute-lft-out--
sub-neg
cbrt-undiv distribute-rgt-in frac-2neg distribute-lft-in associate-*r/ div-exp associate-*l/ clear-num div-inv
diff-log pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 126
Calls
4 calls:
6.0ms
(/ 2.0 (+ 1.0 (exp (* -2.0 x))))
5.0ms
(/ 2.0 (+ 1.0 (exp (* -2.0 x))))
33.0ms
(* (+ (sqrt (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (sqrt 1.0)) (- (sqrt (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (sqrt 1.0)))
14.0ms
(- (sqrt (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (sqrt 1.0))

series53.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(/ 2.0 (+ 1.0 (exp (* -2.0 x))))
6.0ms
(/ 2.0 (+ 1.0 (exp (* -2.0 x))))
29.0ms
(* (+ (sqrt (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (sqrt 1.0)) (- (sqrt (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (sqrt 1.0)))
12.0ms
(- (sqrt (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (sqrt 1.0))

simplify61.0ms

Algorithm
egg-herbie
Counts
138 → 138
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
04411655
119291488
250021459

prune370.0ms

Filtered
94 candidates to 138 candidates (-46.8%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1371138
Fresh022
Picked101
Done000
Total1383141

Merged error: 0.0b

Counts
141 → 3

localize18.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (+ 1.0 (exp (* -2.0 x))))
0.5b
(cbrt (+ 1.0 (exp (* -2.0 x))))
0.5b
(cbrt (+ 1.0 (exp (* -2.0 x))))
3.9b
(- (sqrt (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (sqrt 1.0))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt
17×*-un-lft-identity
12×cbrt-prod
sqrt-prod
add-cube-cbrt
cbrt-div add-log-exp difference-of-squares
pow1 add-exp-log add-cbrt-cube
flip3-+ pow1/3 flip-+ distribute-lft-out
times-frac distribute-lft-out--
sub-neg flip3-- diff-log flip--
Counts
4 → 62
Calls
4 calls:
3.0ms
(cbrt (+ 1.0 (exp (* -2.0 x))))
3.0ms
(cbrt (+ 1.0 (exp (* -2.0 x))))
3.0ms
(cbrt (+ 1.0 (exp (* -2.0 x))))
14.0ms
(- (sqrt (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (sqrt 1.0))

series68.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(cbrt (+ 1.0 (exp (* -2.0 x))))
18.0ms
(cbrt (+ 1.0 (exp (* -2.0 x))))
21.0ms
(cbrt (+ 1.0 (exp (* -2.0 x))))
12.0ms
(- (sqrt (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (sqrt 1.0))

simplify60.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 3 (52.0ms)

IterNodesCost
0233710
1632665
21986656
35002648

prune301.0ms

Filtered
57 candidates to 74 candidates (-29.8%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New73174
Fresh022
Picked101
Done000
Total74377

Merged error: 0.0b

Counts
77 → 3

localize22.0ms

Local error

Found 4 expressions with local error:

0.5b
(/ 2.0 (* (cbrt (+ 1.0 (exp (* -2.0 x)))) (cbrt (+ 1.0 (exp (* -2.0 x))))))
0.5b
(cbrt (+ 1.0 (exp (* -2.0 x))))
0.5b
(cbrt (+ 1.0 (exp (* -2.0 x))))
3.9b
(- (sqrt (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (sqrt 1.0))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt
16×cbrt-div *-un-lft-identity
add-exp-log sqrt-prod
cbrt-prod add-cube-cbrt flip3-+ associate-/r/ flip-+
add-cbrt-cube
add-log-exp difference-of-squares
times-frac
pow1 frac-times
associate-/l*
cbrt-undiv pow1/3 associate-*r/ div-exp associate-*l/ distribute-lft-out distribute-lft-out--
sub-neg flip3-- frac-2neg diff-log prod-exp clear-num associate-/r* flip-- cbrt-unprod div-inv
Counts
4 → 77
Calls
4 calls:
11.0ms
(/ 2.0 (* (cbrt (+ 1.0 (exp (* -2.0 x)))) (cbrt (+ 1.0 (exp (* -2.0 x))))))
3.0ms
(cbrt (+ 1.0 (exp (* -2.0 x))))
3.0ms
(cbrt (+ 1.0 (exp (* -2.0 x))))
15.0ms
(- (sqrt (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (sqrt 1.0))

series80.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(/ 2.0 (* (cbrt (+ 1.0 (exp (* -2.0 x)))) (cbrt (+ 1.0 (exp (* -2.0 x))))))
18.0ms
(cbrt (+ 1.0 (exp (* -2.0 x))))
17.0ms
(cbrt (+ 1.0 (exp (* -2.0 x))))
12.0ms
(- (sqrt (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (sqrt 1.0))

simplify109.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0397990
11220899
24402875
35002875

prune443.0ms

Filtered
67 candidates to 89 candidates (-32.8%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New89089
Fresh022
Picked011
Done000
Total89392

Merged error: 0.0b

Counts
92 → 3

regimes414.0ms

Accuracy

98.8% (0.4b remaining)

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

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04953
14953

end0.0ms

sample1.1s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 100%

Results
441.0ms1701×body1280valid
225.0ms1259×body640valid
145.0ms4102×body80valid
80.0ms641×body320valid
23.0ms297×body160valid

Profiling

Loading profile data...