Details

Time bar (total: 10.4s)

sample3.2s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0.457764%

Guaranteed chance to sample good point: 29.278313%

Results
29.0ms81×body1280valid
13.0ms52×body640valid
5.0ms30×body320valid
4.0ms92×body80overflowed
4.0ms77×body80valid
2.0ms16×body160valid

simplify401.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0197
1287
2407
3737
41767
55597
626267
750017

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 43.9b

Counts
2 → 1

localize24.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
0.0b
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
3.8b
(- (exp (* 2.0 x)) 1.0)
3.9b
(- (exp x) 1.0)

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
78×add-sqr-sqrt
75×*-un-lft-identity
51×times-frac
31×sqrt-prod
27×add-cube-cbrt
24×distribute-lft-out-- difference-of-squares
add-log-exp
add-exp-log add-cbrt-cube
pow1 flip3-- associate-/r* flip-- associate-/l*
associate-/r/
sub-neg rem-sqrt-square diff-log div-inv associate-/l/
cbrt-undiv frac-2neg sqrt-pow1 pow1/2 sqrt-div div-sub div-exp clear-num
Counts
4 → 123
Calls
4 calls:
9.0ms
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
8.0ms
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
4.0ms
(- (exp (* 2.0 x)) 1.0)
6.0ms
(- (exp x) 1.0)

series32.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
8.0ms
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
3.0ms
(- (exp (* 2.0 x)) 1.0)
10.0ms
(- (exp x) 1.0)

simplify120.0ms

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 3 (105.0ms)

IterNodesCost
03871380
110541314
242651301
350011293

prune255.0ms

Filtered
92 candidates to 135 candidates (-46.7%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1314135
Fresh000
Picked101
Done000
Total1324136

Merged error: 0.0b

Counts
136 → 4

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(* x (+ 1.0 (* 0.5 x)))
8.2b
(sqrt (+ (* x (+ 1.0 (* 0.5 x))) 2.0))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity
add-exp-log add-cbrt-cube
associate-*r* associate-*l* sqrt-prod
flip3-+ sqrt-div associate-*r/ flip-+ add-log-exp
distribute-rgt-in rem-sqrt-square distribute-lft-in sqrt-pow1 pow1/2 pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
2 → 37
Calls
2 calls:
5.0ms
(* x (+ 1.0 (* 0.5 x)))
5.0ms
(sqrt (+ (* x (+ 1.0 (* 0.5 x))) 2.0))

series11.0ms

Counts
2 → 6
Calls
2 calls:
6.0ms
(* x (+ 1.0 (* 0.5 x)))
5.0ms
(sqrt (+ (* x (+ 1.0 (* 0.5 x))) 2.0))

simplify38.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0279280
11132268
25002256

prune73.0ms

Filtered
31 candidates to 43 candidates (-38.7%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New42143
Fresh033
Picked011
Done000
Total42547

Merged error: 0.0b

Counts
47 → 5

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (sqrt (+ (* x (+ 1.0 (* 0.5 x))) 2.0)))
0.9b
(* (sqrt (sqrt (+ (* x (+ 1.0 (* 0.5 x))) 2.0))) (sqrt (sqrt (+ (* x (+ 1.0 (* 0.5 x))) 2.0))))
8.2b
(sqrt (+ (* x (+ 1.0 (* 0.5 x))) 2.0))
8.2b
(sqrt (+ (* x (+ 1.0 (* 0.5 x))) 2.0))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
82×sqrt-prod
54×add-sqr-sqrt
38×sqrt-pow1
32×sqrt-div
31×pow1
20×add-cube-cbrt *-un-lft-identity pow1/2
15×swap-sqr
flip3-+ associate-*r* associate-*l* pow-prod-up flip-+ unswap-sqr
add-exp-log add-cbrt-cube
pow-prod-down pow-sqr
frac-times rem-sqrt-square add-log-exp
associate-*r/ associate-*l/
pow2 pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 134
Calls
4 calls:
6.0ms
(sqrt (sqrt (+ (* x (+ 1.0 (* 0.5 x))) 2.0)))
17.0ms
(* (sqrt (sqrt (+ (* x (+ 1.0 (* 0.5 x))) 2.0))) (sqrt (sqrt (+ (* x (+ 1.0 (* 0.5 x))) 2.0))))
5.0ms
(sqrt (+ (* x (+ 1.0 (* 0.5 x))) 2.0))
5.0ms
(sqrt (+ (* x (+ 1.0 (* 0.5 x))) 2.0))

series25.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(sqrt (sqrt (+ (* x (+ 1.0 (* 0.5 x))) 2.0)))
5.0ms
(* (sqrt (sqrt (+ (* x (+ 1.0 (* 0.5 x))) 2.0))) (sqrt (sqrt (+ (* x (+ 1.0 (* 0.5 x))) 2.0))))
5.0ms
(sqrt (+ (* x (+ 1.0 (* 0.5 x))) 2.0))
5.0ms
(sqrt (+ (* x (+ 1.0 (* 0.5 x))) 2.0))

simplify67.0ms

Algorithm
egg-herbie
Counts
146 → 146
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
04271491
117631403
250021383

prune251.0ms

Filtered
80 candidates to 146 candidates (-82.5%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1460146
Fresh033
Picked011
Done011
Total1465151

Merged error: 0.0b

Counts
151 → 5

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite106.0ms

Algorithm
rewrite-expression-head
Rules
218×add-sqr-sqrt
214×*-un-lft-identity
164×sqrt-prod
135×times-frac
87×associate-*r*
80×difference-of-squares
46×add-cube-cbrt
44×distribute-lft-out
40×distribute-lft-out--
31×associate-*l*
18×add-exp-log add-cbrt-cube
add-log-exp
pow1 associate-/r/
cbrt-undiv div-exp associate-/r* associate-/l*
prod-exp cbrt-unprod unswap-sqr
flip3-- flip3-+ flip-- flip-+ div-inv
sub-neg diff-log associate-/l/
frac-times frac-2neg associate-*r/ pow-prod-down associate-*l/ clear-num *-commutative
Counts
4 → 229
Calls
4 calls:
64.0ms
(* (/ (+ (sqrt (exp (* 2.0 x))) (sqrt 1.0)) (+ (sqrt (exp x)) (sqrt 1.0))) (/ (- (sqrt (exp (* 2.0 x))) (sqrt 1.0)) (- (sqrt (exp x)) (sqrt 1.0))))
13.0ms
(/ (+ (sqrt (exp (* 2.0 x))) (sqrt 1.0)) (+ (sqrt (exp x)) (sqrt 1.0)))
6.0ms
(- (sqrt (exp (* 2.0 x))) (sqrt 1.0))
6.0ms
(- (sqrt (exp x)) (sqrt 1.0))

series53.0ms

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

simplify108.0ms

Algorithm
egg-herbie
Counts
241 → 241
Iterations

Useful iterations: 2 (73.0ms)

IterNodesCost
07534573
136943975
250023890

prune601.0ms

Filtered
127 candidates to 241 candidates (-89.8%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New2401241
Fresh022
Picked101
Done022
Total2415246

Merged error: 0.0b

Counts
246 → 5

regimes54.0ms

Accuracy

98.5% (0.3b remaining)

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

bsearch22.0ms

Steps
ItersRangePoint
9
-0.02049104390072357
-4.517264162674723e-10
-0.00013445133628746207

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03819
13819

end0.0ms

sample4.8s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0.457764%

Guaranteed chance to sample good point: 29.278313%

Results
835.0ms2290×body1280valid
383.0ms1648×body640valid
127.0ms2849×body80valid
122.0ms789×body320valid
106.0ms2614×body80overflowed
42.0ms424×body160valid
0.0msbody80invalid

Profiling

Loading profile data...