Details

Time bar (total: 5.4s)

sample1.0s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 73.825073%

Results
26.0ms118×body5120exit
8.0ms208×body80valid
5.0ms146×body80overflowed
3.0ms24×body320valid
2.0ms12×body640valid
1.0ms12×body160valid
0.0msbody80invalid

simplify46.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (5.0ms)

IterNodesCost
0209
1489
21079
32248
415148
550028

prune11.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: 10.8b

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))
3.8b
(- (+ (/ (/ 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
(/ x (+ wj 1))
5.0ms
(/ wj (+ wj 1))
9.0ms
(/ (/ x (+ wj 1)) (exp wj))
28.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

series33.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(/ x (+ wj 1))
2.0ms
(/ wj (+ wj 1))
11.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

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1817188
Fresh101
Picked101
Done000
Total1837190

Merged error: 0.2b

Counts
190 → 7

localize7.0ms

Local error

Found 2 expressions with local error:

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

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

simplify110.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
0162194
1645176
23837174
35001174

prune58.0ms

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

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New38038
Fresh066
Picked011
Done000
Total38745

Merged error: 0.2b

Counts
45 → 7

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.3b
(- 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))
9.0ms
(- wj (/ wj (+ wj 1)))

series21.0ms

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

simplify69.0ms

Algorithm
egg-herbie
Counts
183 → 183
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
06311335
128411279
250011273

prune220.0ms

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

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1812183
Fresh235
Picked101
Done011
Total1846190

Merged error: 0.1b

Counts
190 → 6

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ x (+ wj 1))
0.0b
(+ (pow wj 4) (pow wj 2))
0.0b
(- (+ (pow wj 4) (pow wj 2)) (pow wj 3))
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:
5.0ms
(/ x (+ wj 1))
6.0ms
(+ (pow wj 4) (pow wj 2))
14.0ms
(- (+ (pow wj 4) (pow wj 2)) (pow wj 3))
9.0ms
(/ (/ x (+ wj 1)) (exp wj))

series27.0ms

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

simplify70.0ms

Algorithm
egg-herbie
Counts
167 → 167
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
06371315
128741259
250021257

prune281.0ms

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

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1652167
Fresh044
Picked101
Done011
Total1667173

Merged error: 0.1b

Counts
173 → 7

regimes111.0ms

Accuracy

0% (1.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02318
12318

end0.0ms

sample2.8s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 73.825073%

Results
814.0ms3696×body5120exit
232.0ms6245×body80valid
132.0ms3870×body80overflowed
90.0ms792×body320valid
80.0ms450×body640valid
38.0ms513×body160valid
4.0ms89×body80invalid

Profiling

Loading profile data...