Details

Time bar (total: 11.2s)

sample3.7s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 24.21875%

Guaranteed chance to sample good point: 64.497423%

Results
22.0ms103×body5120exit
10.0ms191×body80valid
4.0ms23×body640valid
2.0ms20×body320valid
2.0ms22×body160valid
0.0msbody80invalid
0.0msbody80overflowed

simplify45.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (5.0ms)

IterNodesCost
0209
1489
21079
32248
415148
550028

prune8.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 15.1b

Counts
2 → 2

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ x (+ wj 1))
0.0b
(/ wj (+ wj 1))
0.0b
(/ (/ x (+ wj 1)) (exp wj))
5.6b
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
127×times-frac
118×*-un-lft-identity
78×add-sqr-sqrt
73×add-cube-cbrt
24×associate-/l*
21×distribute-lft-out
13×add-cbrt-cube
12×associate-/r/
11×add-exp-log associate-/r*
add-log-exp
flip3-+ flip-+ div-inv
cbrt-undiv div-exp
pow1
frac-2neg clear-num
diff-log frac-sub distribute-lft-out-- difference-of-squares
sub-neg flip3-- associate--l+ sum-log flip-- associate-/l/
Counts
4 → 176
Calls
4 calls:
7.0ms
(/ x (+ wj 1))
5.0ms
(/ wj (+ wj 1))
9.0ms
(/ (/ x (+ wj 1)) (exp wj))
29.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

series34.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(/ x (+ wj 1))
2.0ms
(/ wj (+ wj 1))
12.0ms
(/ (/ x (+ wj 1)) (exp wj))
14.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

simplify78.0ms

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
07211524
133031471
250021469

prune247.0ms

Filtered
138 candidates to 188 candidates (-36.2%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1835188
Fresh011
Picked101
Done000
Total1846190

Merged error: 0.4b

Counts
190 → 6

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (+ x (pow wj 2)) (* 2 (* wj x)))
0.0b
(* 2 (* wj x))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube add-log-exp
add-sqr-sqrt add-cube-cbrt *-un-lft-identity associate-*l* pow-prod-down prod-exp cbrt-unprod
diff-log
sub-neg flip3-- associate-*r* associate--l+ sum-log *-commutative flip--
Counts
2 → 32
Calls
2 calls:
7.0ms
(- (+ x (pow wj 2)) (* 2 (* wj x)))
4.0ms
(* 2 (* wj x))

series10.0ms

Counts
2 → 6
Calls
2 calls:
6.0ms
(- (+ x (pow wj 2)) (* 2 (* wj x)))
3.0ms
(* 2 (* wj x))

simplify109.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
0162194
1645176
23837174
35001174

prune56.0ms

Filtered
22 candidates to 38 candidates (-72.7%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New37138
Fresh055
Picked011
Done000
Total37744

Merged error: 0.4b

Counts
44 → 7

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (+ wj 1))
0.0b
(* x (/ (/ 1 (+ wj 1)) (exp wj)))
0.0b
(/ (/ 1 (+ wj 1)) (exp wj))
5.6b
(- (+ (* x (/ (/ 1 (+ wj 1)) (exp wj))) wj) (/ wj (+ wj 1)))

rewrite68.0ms

Algorithm
rewrite-expression-head
Rules
210×times-frac
161×*-un-lft-identity
125×add-sqr-sqrt
108×add-cube-cbrt
58×associate-*r*
25×distribute-lft-out
24×add-exp-log
21×associate-/l*
20×add-cbrt-cube
16×associate-/r/
14×div-exp
10×div-inv
flip3-+ flip-+ add-log-exp
pow1 cbrt-undiv associate-/r*
prod-exp
unswap-sqr
rec-exp 1-exp associate-*l* cbrt-unprod
frac-2neg diff-log clear-num frac-sub difference-of-squares
sub-neg flip3-- pow-flip associate-*r/ pow-prod-down associate--l+ sum-log *-commutative flip-- associate-/l/ distribute-lft-out-- inv-pow
Counts
4 → 231
Calls
4 calls:
7.0ms
(/ 1 (+ wj 1))
20.0ms
(* x (/ (/ 1 (+ wj 1)) (exp wj)))
9.0ms
(/ (/ 1 (+ wj 1)) (exp wj))
19.0ms
(- (+ (* x (/ (/ 1 (+ wj 1)) (exp wj))) wj) (/ wj (+ wj 1)))

series32.0ms

Counts
4 → 12
Calls
4 calls:
2.0ms
(/ 1 (+ wj 1))
11.0ms
(* x (/ (/ 1 (+ wj 1)) (exp wj)))
4.0ms
(/ (/ 1 (+ wj 1)) (exp wj))
14.0ms
(- (+ (* x (/ (/ 1 (+ wj 1)) (exp wj))) wj) (/ wj (+ wj 1)))

simplify98.0ms

Algorithm
egg-herbie
Counts
243 → 243
Iterations

Useful iterations: 2 (78.0ms)

IterNodesCost
08892050
148871750
250021738

prune251.0ms

Filtered
141 candidates to 243 candidates (-72.3%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New2430243
Fresh055
Picked011
Done011
Total2437250

Merged error: 0.4b

Counts
250 → 7

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (+ wj 1) wj)
0.0b
(/ (/ x (+ wj 1)) (exp wj))
0.2b
(/ 1 (/ (+ wj 1) wj))
6.8b
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ 1 (/ (+ wj 1) wj)))

rewrite73.0ms

Algorithm
rewrite-expression-head
Rules
216×times-frac
179×*-un-lft-identity
127×add-sqr-sqrt
113×add-cube-cbrt
30×distribute-lft-out
25×associate-/l*
22×associate-/r*
20×add-exp-log
16×add-cbrt-cube
13×div-inv
11×div-exp
associate-/r/ add-log-exp
cbrt-undiv
flip3-+ flip-+
pow1 difference-of-squares
distribute-lft-out--
frac-2neg clear-num associate-/l/
rec-exp diff-log 1-exp frac-sub
sub-neg flip3-- pow-flip associate--l+ sum-log flip-- inv-pow
Counts
4 → 236
Calls
4 calls:
5.0ms
(/ (+ wj 1) wj)
9.0ms
(/ (/ x (+ wj 1)) (exp wj))
7.0ms
(/ 1 (/ (+ wj 1) wj))
40.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ 1 (/ (+ wj 1) wj)))

series37.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(/ (+ wj 1) wj)
11.0ms
(/ (/ x (+ wj 1)) (exp wj))
3.0ms
(/ 1 (/ (+ wj 1) wj))
19.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ 1 (/ (+ wj 1) wj)))

simplify98.0ms

Algorithm
egg-herbie
Counts
248 → 248
Iterations

Useful iterations: 1 (23.0ms)

IterNodesCost
09342114
147711894
250021894

prune245.0ms

Filtered
147 candidates to 248 candidates (-68.7%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New2471248
Fresh134
Picked101
Done022
Total2496255

Merged error: 0.4b

Counts
255 → 6

regimes165.0ms

Accuracy

98.7% (0.0b remaining)

Error of 0.4b against oracle of 0.3b and baseline of 2.3b

bsearch63.0ms

Steps
ItersRangePoint
8
2.000634129336943e-11
2.5990597267736545e-08
5.271810329870012e-09
8
-7.5110977373244624e-06
-2.8753394649008844e-09
-6.098759658941175e-09

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03823
13823

end0.0ms

sample5.6s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 24.21875%

Guaranteed chance to sample good point: 64.497423%

Results
830.0ms3722×body5120exit
242.0ms6299×body80valid
92.0ms756×body320valid
75.0ms430×body640valid
38.0ms515×body160valid
3.0ms75×body80invalid
0.0ms11×body80overflowed

Profiling

Loading profile data...