Details

Time bar (total: 4.9s)

sample257.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 47.04159%

Results
186.0ms64×body80overflowed
29.0ms77×body1280valid
12.0ms51×body640valid
6.0ms35×body320valid
4.0ms82×body80valid
1.0ms11×body160valid

simplify410.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.2b

Counts
2 → 1

localize25.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))
4.4b
(- (exp x) 1.0)
4.8b
(- (exp (* 2.0 x)) 1.0)

rewrite36.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)))
10.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)

series32.0ms

Counts
4 → 12
Calls
4 calls:
11.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)

simplify128.0ms

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 3 (114.0ms)

IterNodesCost
03871380
110541314
242651301
350021293

prune241.0ms

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

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1332135
Fresh000
Picked101
Done000
Total1342136

Merged error: 0.0b

Counts
136 → 2

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.2b
(* (/ (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))

rewrite48.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)))))
20.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))

series28.0ms

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

simplify84.0ms

Algorithm
egg-herbie
Counts
233 → 233
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
07231889
130421708
250011694

prune476.0ms

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

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New2321233
Fresh011
Picked011
Done000
Total2323235

Merged error: 0b

Counts
235 → 3

localize16.0ms

Local error

Found 4 expressions with local error:

0.5b
(/ x (sqrt 2.0))
0.7b
(* (sqrt (+ (* 0.5 (/ x (sqrt 2.0))) (+ (sqrt 2.0) (* (/ (pow x 2) (sqrt 2.0)) (- 0.25 (/ 0.125 2.0)))))) (sqrt (+ (* 0.5 (/ x (sqrt 2.0))) (+ (sqrt 2.0) (* (/ (pow x 2) (sqrt 2.0)) (- 0.25 (/ 0.125 2.0)))))))
9.4b
(sqrt (+ (* 0.5 (/ x (sqrt 2.0))) (+ (sqrt 2.0) (* (/ (pow x 2) (sqrt 2.0)) (- 0.25 (/ 0.125 2.0))))))
9.4b
(sqrt (+ (* 0.5 (/ x (sqrt 2.0))) (+ (sqrt 2.0) (* (/ (pow x 2) (sqrt 2.0)) (- 0.25 (/ 0.125 2.0))))))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
48×sqrt-div
43×add-sqr-sqrt
36×sqrt-prod
29×add-cube-cbrt *-un-lft-identity
28×associate-*r/
24×flip3-+ frac-add flip-+
21×pow1
18×times-frac
16×frac-times
10×sqrt-pow1 pow1/2
add-exp-log swap-sqr add-cbrt-cube
associate-*r* associate-*l* associate-/r*
pow-prod-up
associate-*l/ add-log-exp unswap-sqr
pow-prod-down pow-sqr associate-/l*
rem-sqrt-square
cbrt-undiv pow2 frac-2neg pow-plus sqrt-unprod div-exp prod-exp clear-num rem-square-sqrt *-commutative cbrt-unprod div-inv
Counts
4 → 146
Calls
4 calls:
4.0ms
(/ x (sqrt 2.0))
22.0ms
(* (sqrt (+ (* 0.5 (/ x (sqrt 2.0))) (+ (sqrt 2.0) (* (/ (pow x 2) (sqrt 2.0)) (- 0.25 (/ 0.125 2.0)))))) (sqrt (+ (* 0.5 (/ x (sqrt 2.0))) (+ (sqrt 2.0) (* (/ (pow x 2) (sqrt 2.0)) (- 0.25 (/ 0.125 2.0)))))))
8.0ms
(sqrt (+ (* 0.5 (/ x (sqrt 2.0))) (+ (sqrt 2.0) (* (/ (pow x 2) (sqrt 2.0)) (- 0.25 (/ 0.125 2.0))))))
8.0ms
(sqrt (+ (* 0.5 (/ x (sqrt 2.0))) (+ (sqrt 2.0) (* (/ (pow x 2) (sqrt 2.0)) (- 0.25 (/ 0.125 2.0))))))

series35.0ms

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

simplify91.0ms

Algorithm
egg-herbie
Counts
158 → 158
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
05153981
124063731
250013668

prune686.0ms

Filtered
95 candidates to 158 candidates (-66.3%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1580158
Fresh011
Picked011
Done011
Total1583161

Merged error: 0b

Counts
161 → 3

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (* (+ (sqrt (exp (* 2.0 x))) (sqrt 1.0)) (- (sqrt (exp (* 2.0 x))) (sqrt 1.0))) (- (exp x) 1.0))
0.0b
(* (+ (sqrt (exp (* 2.0 x))) (sqrt 1.0)) (- (sqrt (exp (* 2.0 x))) (sqrt 1.0)))
4.4b
(- (exp x) 1.0)
4.6b
(- (sqrt (exp (* 2.0 x))) (sqrt 1.0))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt
26×*-un-lft-identity
14×sqrt-prod
11×add-exp-log add-cbrt-cube difference-of-squares
flip3-- associate-*r* flip--
frac-times add-cube-cbrt associate-/l/ add-log-exp
distribute-lft-out--
pow1 flip3-+ flip-+
times-frac associate-*l* associate-/r*
sub-neg associate-*r/ associate-*l/
cbrt-undiv distribute-rgt-in distribute-lft-in diff-log div-exp prod-exp associate-/r/ cbrt-unprod distribute-lft-out
frac-2neg pow-prod-down clear-num *-commutative div-inv associate-/l* unswap-sqr
Counts
4 → 105
Calls
4 calls:
18.0ms
(/ (* (+ (sqrt (exp (* 2.0 x))) (sqrt 1.0)) (- (sqrt (exp (* 2.0 x))) (sqrt 1.0))) (- (exp x) 1.0))
16.0ms
(* (+ (sqrt (exp (* 2.0 x))) (sqrt 1.0)) (- (sqrt (exp (* 2.0 x))) (sqrt 1.0)))
4.0ms
(- (exp x) 1.0)
6.0ms
(- (sqrt (exp (* 2.0 x))) (sqrt 1.0))

series35.0ms

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

simplify65.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
04811464
124031163
250021124

prune273.0ms

Filtered
83 candidates to 117 candidates (-41.0%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1170117
Fresh000
Picked011
Done022
Total1173120

Merged error: 0b

Counts
120 → 3

regimes42.0ms

Accuracy

98.8% (0.2b remaining)

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

bsearch22.0ms

Steps
ItersRangePoint
7
-1.4449029625915488e-09
-1.3431212883364233e-11
-1.3229309755636334e-09

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03827
13827

end0.0ms

sample1.8s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 47.04159%

Results
809.0ms2287×body1280valid
371.0ms1639×body640valid
129.0ms864×body320valid
124.0ms2836×body80valid
101.0ms2621×body80overflowed
40.0ms418×body160valid

Profiling

Loading profile data...