Details

Time bar (total: 5.1s)

sample931.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 24.292737%

Space saved by search: 0.097632%

Guaranteed chance to sample good point: 0%

Results
26.0ms113×body5120exit
7.0ms205×body80valid
3.0ms18×body640valid
2.0ms21×body320valid
1.0ms12×body160valid
0.0msbody80invalid
0.0msbody80overflowed

simplify46.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (6.0ms)

IterNodesCost
0209
1489
21079
32248
415148
550028

prune9.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: 11.8b

Counts
2 → 2

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite55.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:
5.0ms
(/ wj (+ wj 1))
5.0ms
(/ x (+ wj 1))
11.0ms
(/ (/ x (+ wj 1)) (exp wj))
27.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

series34.0ms

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

simplify76.0ms

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
07211524
133031471
250021469

prune437.0ms

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

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1844188
Fresh011
Picked101
Done000
Total1855190

Merged error: 0.2b

Counts
190 → 5

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)))
6.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))

simplify108.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
0162194
1645176
23837174
35001174

prune52.0ms

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

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New37138
Fresh044
Picked011
Done000
Total37643

Merged error: 0.2b

Counts
43 → 6

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
(- wj (/ wj (+ wj 1)))

rewrite33.0ms

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

series25.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(/ x (+ wj 1))
3.0ms
(/ wj (+ wj 1))
12.0ms
(/ (/ x (+ wj 1)) (exp wj))
3.0ms
(- wj (/ wj (+ wj 1)))

simplify67.0ms

Algorithm
egg-herbie
Counts
183 → 183
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
06341321
128441269
250011267

prune214.0ms

Filtered
135 candidates to 183 candidates (-35.6%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1821183
Fresh134
Picked101
Done101
Total1854189

Merged error: 0.0b

Counts
189 → 4

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (+ (pow wj 4) (pow wj 2)) (pow wj 3))
0.0b
(+ (pow wj 4) (pow wj 2))
0.0b
(/ x (+ wj 1))
0.0b
(/ (/ x (+ wj 1)) (exp wj))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
114×times-frac
103×*-un-lft-identity
71×add-sqr-sqrt
64×add-cube-cbrt
21×associate-/l*
18×distribute-lft-out
11×add-cbrt-cube add-log-exp
10×associate-/r/
add-exp-log
associate-/r*
flip3-+ flip-+ div-inv
pow1 cbrt-undiv div-exp difference-of-squares
frac-2neg diff-log clear-num sum-log distribute-lft-out--
+-commutative sub-neg unpow-prod-down flip3-- cube-prod associate--l+ flip-- associate-/l/ sqr-pow
Counts
4 → 155
Calls
4 calls:
11.0ms
(- (+ (pow wj 4) (pow wj 2)) (pow wj 3))
6.0ms
(+ (pow wj 4) (pow wj 2))
5.0ms
(/ x (+ wj 1))
9.0ms
(/ (/ x (+ wj 1)) (exp wj))

series29.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(- (+ (pow wj 4) (pow wj 2)) (pow wj 3))
7.0ms
(+ (pow wj 4) (pow wj 2))
5.0ms
(/ x (+ wj 1))
12.0ms
(/ (/ x (+ wj 1)) (exp wj))

simplify73.0ms

Algorithm
egg-herbie
Counts
167 → 167
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
06371315
128721259
250021257

prune280.0ms

Filtered
119 candidates to 167 candidates (-40.3%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1670167
Fresh033
Picked011
Done000
Total1674171

Merged error: 0.0b

Counts
171 → 4

regimes125.0ms

Accuracy

0% (0.9b remaining)

Error of 0.9b against oracle of 0.1b and baseline of 0.9b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02110
12110

end0.0ms

sample2.4s

Algorithm
intervals
sampling

Space saved by range analysis: 24.292737%

Space saved by search: 0.097632%

Guaranteed chance to sample good point: 0%

Results
847.0ms3839×body5120exit
230.0ms6216×body80valid
86.0ms780×body320valid
82.0ms468×body640valid
41.0ms536×body160valid
3.0ms78×body80invalid
1.0ms16×body80overflowed

Profiling

Loading profile data...