Details

Time bar (total: 7.3s)

sample1.8s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 53.90625%

Results
31.0ms83×body1280valid
14.0ms58×body640valid
4.0ms29×body320valid
3.0ms78×body80valid
3.0ms81×body80overflowed
1.0ms10×body160valid

simplify409.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: 44.9b

Counts
2 → 1

localize11.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.7b
(- (exp x) 1.0)
3.9b
(- (exp (* 2.0 x)) 1.0)

rewrite45.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:
10.0ms
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
19.0ms
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
4.0ms
(- (exp x) 1.0)
6.0ms
(- (exp (* 2.0 x)) 1.0)

series34.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))
2.0ms
(- (exp x) 1.0)
11.0ms
(- (exp (* 2.0 x)) 1.0)

simplify120.0ms

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 3 (106.0ms)

IterNodesCost
03871380
110541314
242651301
350021293

prune245.0ms

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

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1323135
Fresh000
Picked101
Done000
Total1333136

Merged error: 0.0b

Counts
136 → 3

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite14.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)))
8.0ms
(sqrt (+ (* x (+ 1.0 (* 0.5 x))) 2.0))

series12.0ms

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

simplify36.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0279280
11132268
25002256

prune66.0ms

Filtered
30 candidates to 43 candidates (-43.3%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New42143
Fresh022
Picked101
Done000
Total43346

Merged error: 0.0b

Counts
46 → 3

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* 0.5 (/ x (sqrt 2.0))) (+ (sqrt 2.0) (* (/ (pow x 2) (sqrt 2.0)) (- 0.25 (/ 0.125 2.0)))))
0.1b
(* (/ (pow x 2) (sqrt 2.0)) (- 0.25 (/ 0.125 2.0)))
0.2b
(/ (pow x 2) (sqrt 2.0))
0.5b
(/ x (sqrt 2.0))

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
123×times-frac
108×add-sqr-sqrt
83×*-un-lft-identity
81×add-cube-cbrt
67×sqrt-prod
52×associate-*l*
41×unpow-prod-down
21×add-exp-log
15×unpow2 sqr-pow
13×add-cbrt-cube
12×associate-/r*
11×associate-/l*
add-log-exp unswap-sqr
div-exp
pow1 associate-*r*
associate-*r/ prod-exp
cbrt-undiv sum-log div-inv
distribute-rgt-in frac-times pow-to-exp sub-neg flip3-- frac-2neg distribute-lft-in flip3-+ frac-add pow-exp clear-num flip-- cbrt-unprod flip-+ difference-of-squares
+-commutative associate-+r+ pow-prod-down associate-*l/ *-commutative distribute-lft-out--
Counts
4 → 221
Calls
4 calls:
9.0ms
(+ (* 0.5 (/ x (sqrt 2.0))) (+ (sqrt 2.0) (* (/ (pow x 2) (sqrt 2.0)) (- 0.25 (/ 0.125 2.0)))))
24.0ms
(* (/ (pow x 2) (sqrt 2.0)) (- 0.25 (/ 0.125 2.0)))
6.0ms
(/ (pow x 2) (sqrt 2.0))
4.0ms
(/ x (sqrt 2.0))

series26.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(+ (* 0.5 (/ x (sqrt 2.0))) (+ (sqrt 2.0) (* (/ (pow x 2) (sqrt 2.0)) (- 0.25 (/ 0.125 2.0)))))
7.0ms
(* (/ (pow x 2) (sqrt 2.0)) (- 0.25 (/ 0.125 2.0)))
6.0ms
(/ (pow x 2) (sqrt 2.0))
6.0ms
(/ x (sqrt 2.0))

simplify85.0ms

Algorithm
egg-herbie
Counts
233 → 233
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
07231889
130421708
250011694

prune469.0ms

Filtered
143 candidates to 233 candidates (-62.9%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New2321233
Fresh022
Picked101
Done000
Total2333236

Merged error: 0b

Counts
236 → 3

localize15.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (pow x 2) (sqrt 2.0))
0.5b
(/ x (sqrt 2.0))
3.8b
(log (exp (/ x (sqrt 2.0))))
9.8b
(+ (* 0.5 (log (exp (/ x (sqrt 2.0))))) (+ (sqrt 2.0) (* (/ (pow x 2) (sqrt 2.0)) (- 0.25 (/ 0.125 2.0)))))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
84×times-frac
67×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
48×sqrt-prod
23×log-pow
22×exp-prod
21×unpow-prod-down
12×associate-/r*
11×add-exp-log associate-/l*
log-prod add-log-exp
add-cbrt-cube
unpow2 sqr-pow
associate-+l+
pow1
div-exp
distribute-rgt-in distribute-lft-in sum-log div-inv
cbrt-undiv frac-2neg clear-num
+-commutative pow-to-exp associate-+r+ flip3-+ rem-log-exp pow-exp flip-+
Counts
4 → 168
Calls
4 calls:
6.0ms
(/ (pow x 2) (sqrt 2.0))
4.0ms
(/ x (sqrt 2.0))
6.0ms
(log (exp (/ x (sqrt 2.0))))
13.0ms
(+ (* 0.5 (log (exp (/ x (sqrt 2.0))))) (+ (sqrt 2.0) (* (/ (pow x 2) (sqrt 2.0)) (- 0.25 (/ 0.125 2.0)))))

series25.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(/ (pow x 2) (sqrt 2.0))
6.0ms
(/ x (sqrt 2.0))
6.0ms
(log (exp (/ x (sqrt 2.0))))
7.0ms
(+ (* 0.5 (log (exp (/ x (sqrt 2.0))))) (+ (sqrt 2.0) (* (/ (pow x 2) (sqrt 2.0)) (- 0.25 (/ 0.125 2.0)))))

simplify49.0ms

Algorithm
egg-herbie
Counts
180 → 180
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
04621325
116591141
250011119

prune374.0ms

Filtered
110 candidates to 180 candidates (-63.6%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1800180
Fresh022
Picked011
Done000
Total1803183

Merged error: 0b

Counts
183 → 3

regimes42.0ms

Accuracy

99% (0.2b remaining)

Error of 0.3b against oracle of 0.0b and baseline of 21.9b

bsearch21.0ms

Steps
ItersRangePoint
9
-0.8430794056005784
-8.448379255005245e-07
-3.3852818843480064e-06

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04029
14029

end0.0ms

sample3.3s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 53.90625%

Results
801.0ms2266×body1280valid
378.0ms1655×body640valid
125.0ms2905×body80valid
119.0ms806×body320valid
105.0ms2699×body80overflowed
42.0ms412×body160valid

Profiling

Loading profile data...