Details

Time bar (total: 4.3s)

sample951.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 6.054688%

Guaranteed chance to sample good point: 76.195426%

Results
15.0ms238×body80valid
3.0ms77×body80overflowed
2.0msbody640valid
1.0msbody1280valid
1.0msbody320valid
1.0ms10×body80invalid
0.0msbody160valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0125
1195
2195

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 1.0b

Counts
2 → 1

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (log (+ 1.0 (exp x))) (* x y))
0.0b
(+ 1.0 (exp x))
0.7b
(log (+ 1.0 (exp x)))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
11×*-un-lft-identity
log-prod
add-log-exp
add-sqr-sqrt add-cube-cbrt
pow1 add-exp-log log-div associate--l+
flip3-+ add-cbrt-cube flip-+ distribute-lft-out
associate--l-
+-commutative sub-neg flip3-- diff-log rem-log-exp sum-log log-pow flip--
Counts
3 → 45
Calls
3 calls:
5.0ms
(- (log (+ 1.0 (exp x))) (* x y))
3.0ms
(+ 1.0 (exp x))
3.0ms
(log (+ 1.0 (exp x)))

series21.0ms

Counts
3 → 9
Calls
3 calls:
9.0ms
(- (log (+ 1.0 (exp x))) (* x y))
2.0ms
(+ 1.0 (exp x))
10.0ms
(log (+ 1.0 (exp x)))

simplify45.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 3 (40.0ms)

IterNodesCost
0207322
1584301
21729298
35001297

prune81.0ms

Filtered
40 candidates to 54 candidates (-35.0%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New50454
Fresh000
Picked101
Done000
Total51455

Merged error: 0.7b

Counts
55 → 4

localize10.0ms

Local error

Found 4 expressions with local error:

0.2b
(sqrt (+ 1.0 (exp x)))
0.2b
(sqrt (+ 1.0 (exp x)))
1.1b
(log (sqrt (+ 1.0 (exp x))))
1.1b
(log (sqrt (+ 1.0 (exp x))))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
18×*-un-lft-identity
16×sqrt-prod
14×log-prod
12×add-sqr-sqrt
10×pow1 add-cube-cbrt
sqrt-div
add-exp-log log-pow
log-div sqrt-pow1 flip3-+ pow1/2 add-cbrt-cube flip-+ distribute-lft-out add-log-exp
rem-sqrt-square rem-log-exp
Counts
4 → 72
Calls
4 calls:
3.0ms
(sqrt (+ 1.0 (exp x)))
3.0ms
(sqrt (+ 1.0 (exp x)))
4.0ms
(log (sqrt (+ 1.0 (exp x))))
4.0ms
(log (sqrt (+ 1.0 (exp x))))

series33.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(sqrt (+ 1.0 (exp x)))
4.0ms
(sqrt (+ 1.0 (exp x)))
13.0ms
(log (sqrt (+ 1.0 (exp x))))
13.0ms
(log (sqrt (+ 1.0 (exp x))))

simplify52.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 3 (43.0ms)

IterNodesCost
0162564
1453526
21549508
35001496

prune148.0ms

Filtered
60 candidates to 84 candidates (-40.0%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New83184
Fresh033
Picked011
Done000
Total83588

Merged error: 0.7b

Counts
88 → 5

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(* 1/2 (pow x 2))
0.0b
(- (log (+ (* 1/2 (pow x 2)) (+ x 2.0))) (* x y))
0.0b
(+ (* 1/2 (pow x 2)) (+ x 2.0))
6.8b
(log (+ (* 1/2 (pow x 2)) (+ x 2.0)))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
10×add-exp-log add-log-exp
add-cube-cbrt *-un-lft-identity
associate-*r*
log-prod add-cbrt-cube
pow1
unpow-prod-down log-div unswap-sqr
flip3-+ associate-*l* prod-exp associate--l+ sum-log flip-+
associate--l- unpow2 sqr-pow
+-commutative pow-to-exp sub-neg associate-+r+ flip3-- diff-log rem-log-exp pow-exp log-pow *-commutative flip-- cbrt-unprod
Counts
4 → 71
Calls
4 calls:
5.0ms
(* 1/2 (pow x 2))
10.0ms
(- (log (+ (* 1/2 (pow x 2)) (+ x 2.0))) (* x y))
6.0ms
(+ (* 1/2 (pow x 2)) (+ x 2.0))
6.0ms
(log (+ (* 1/2 (pow x 2)) (+ x 2.0)))

series18.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(* 1/2 (pow x 2))
9.0ms
(- (log (+ (* 1/2 (pow x 2)) (+ x 2.0))) (* x y))
2.0ms
(+ (* 1/2 (pow x 2)) (+ x 2.0))
4.0ms
(log (+ (* 1/2 (pow x 2)) (+ x 2.0)))

simplify44.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0371575
11439529
25001520

prune143.0ms

Filtered
61 candidates to 83 candidates (-36.1%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New81283
Fresh123
Picked011
Done011
Total82688

Merged error: 0.7b

Counts
88 → 6

localize24.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (pow x 2) (sqrt 2.0))
0.4b
(/ x (sqrt 2.0))
1.1b
(log (sqrt (+ 1.0 (exp x))))
7.5b
(log (+ (* 1/2 (/ x (sqrt 2.0))) (+ (sqrt 2.0) (* (/ (pow x 2) (sqrt 2.0)) (- 1/4 (/ 1/8 2.0))))))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
66×times-frac
56×*-un-lft-identity
54×add-sqr-sqrt add-cube-cbrt
43×sqrt-prod
21×unpow-prod-down
13×add-exp-log
12×associate-/r*
11×associate-/l*
10×log-prod
add-cbrt-cube
pow1 unpow2 sqr-pow
log-div
div-exp log-pow add-log-exp
flip3-+ flip-+
cbrt-undiv frac-2neg sqrt-div associate-*r/ rem-log-exp frac-add clear-num div-inv
pow-to-exp sqrt-pow1 pow1/2 pow-exp distribute-lft-out
Counts
4 → 151
Calls
4 calls:
6.0ms
(/ (pow x 2) (sqrt 2.0))
4.0ms
(/ x (sqrt 2.0))
4.0ms
(log (sqrt (+ 1.0 (exp x))))
8.0ms
(log (+ (* 1/2 (/ x (sqrt 2.0))) (+ (sqrt 2.0) (* (/ (pow x 2) (sqrt 2.0)) (- 1/4 (/ 1/8 2.0))))))

series35.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(/ (pow x 2) (sqrt 2.0))
8.0ms
(/ x (sqrt 2.0))
13.0ms
(log (sqrt (+ 1.0 (exp x))))
9.0ms
(log (+ (* 1/2 (/ x (sqrt 2.0))) (+ (sqrt 2.0) (* (/ (pow x 2) (sqrt 2.0)) (- 1/4 (/ 1/8 2.0))))))

simplify66.0ms

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
06231438
124001267
250031254

prune408.0ms

Filtered
100 candidates to 163 candidates (-63.0%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1603163
Fresh213
Picked101
Done022
Total1636169

Merged error: 0.7b

Counts
169 → 6

regimes169.0ms

Accuracy

0% (0.8b remaining)

Error of 1.0b against oracle of 0.2b and baseline of 1.0b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01211
11211

end0.0ms

sample1.9s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 6.054688%

Guaranteed chance to sample good point: 76.195426%

Results
359.0ms7321×body80valid
105.0ms2499×body80overflowed
80.0ms258×body640valid
65.0ms116×body1280valid
38.0ms196×body320valid
20.0ms364×body80invalid
13.0ms109×body160valid

Profiling

Loading profile data...