Details

Time bar (total: 6.0s)

sample855.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 74.609375%

Results
24.0ms108×body5120exit
8.0ms208×body80valid
4.0ms16×body160valid
4.0ms118×body80overflowed
2.0ms23×body320valid
2.0ms13×body640valid

simplify47.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (6.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: 11.6b

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))
4.1b
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

rewrite56.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))
28.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

series33.0ms

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

simplify77.0ms

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
07211524
133031471
250021469

prune243.0ms

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

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1835188
Fresh101
Picked101
Done000
Total1855190

Merged error: 0.2b

Counts
190 → 5

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite11.0ms

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

series9.0ms

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

simplify62.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 2 (15.0ms)

IterNodesCost
0149128
1551109
22317108
35001108

prune54.0ms

Filtered
21 candidates to 36 candidates (-71.4%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New34236
Fresh044
Picked011
Done000
Total34741

Merged error: 0.2b

Counts
41 → 7

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
32×*-un-lft-identity
24×add-sqr-sqrt
17×add-cube-cbrt
16×times-frac
13×add-cbrt-cube
11×add-exp-log
add-log-exp
pow1 distribute-lft-out associate-/l*
associate-/r*
flip3-+ associate-*r/ associate-*r* associate-/r/ flip-+
cbrt-undiv div-exp associate-*l*
frac-2neg diff-log prod-exp clear-num frac-sub cbrt-unprod div-inv distribute-lft-out-- difference-of-squares
distribute-rgt-in sub-neg flip3-- distribute-lft-in pow-prod-down associate--l+ sum-log *-commutative flip-- unswap-sqr
Counts
4 → 99
Calls
4 calls:
7.0ms
(/ x (* (exp wj) (+ wj 1)))
5.0ms
(/ wj (+ wj 1))
6.0ms
(* (exp wj) (+ wj 1))
17.0ms
(- (+ (/ x (* (exp wj) (+ wj 1))) wj) (/ wj (+ wj 1)))

series34.0ms

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

simplify56.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0493762
12288711
25001708

prune125.0ms

Filtered
79 candidates to 111 candidates (-40.5%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1110111
Fresh055
Picked011
Done011
Total1117118

Merged error: 0.2b

Counts
118 → 7

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite125.0ms

Algorithm
rewrite-expression-head
Rules
207×times-frac
156×*-un-lft-identity
108×add-sqr-sqrt add-cube-cbrt
42×associate-*l/
39×associate-/l*
33×flip3-- flip--
32×frac-sub
24×associate-/r/ distribute-lft-out
23×flip3-+ flip-+
20×frac-times associate-/l/
19×add-cbrt-cube
15×add-exp-log
11×div-inv
10×associate-*r/
cbrt-undiv div-exp
associate-/r*
add-log-exp
pow1
frac-2neg clear-num
associate--l+
distribute-rgt-in sub-neg distribute-lft-in diff-log div-sub prod-exp cbrt-unprod
Counts
4 → 258
Calls
4 calls:
9.0ms
(/ (/ x (+ wj 1)) (exp wj))
9.0ms
(/ (/ x (+ wj 1)) (exp wj))
35.0ms
(- (* (- (* (/ (/ x (+ wj 1)) (exp wj)) (/ (/ x (+ wj 1)) (exp wj))) (* wj wj)) (+ wj 1)) (* (- (/ (/ x (+ wj 1)) (exp wj)) wj) wj))
58.0ms
(/ (- (* (- (* (/ (/ x (+ wj 1)) (exp wj)) (/ (/ x (+ wj 1)) (exp wj))) (* wj wj)) (+ wj 1)) (* (- (/ (/ x (+ wj 1)) (exp wj)) wj) wj)) (* (- (/ (/ x (+ wj 1)) (exp wj)) wj) (+ wj 1)))

series180.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(/ (/ x (+ wj 1)) (exp wj))
11.0ms
(/ (/ x (+ wj 1)) (exp wj))
61.0ms
(- (* (- (* (/ (/ x (+ wj 1)) (exp wj)) (/ (/ x (+ wj 1)) (exp wj))) (* wj wj)) (+ wj 1)) (* (- (/ (/ x (+ wj 1)) (exp wj)) wj) wj))
97.0ms
(/ (- (* (- (* (/ (/ x (+ wj 1)) (exp wj)) (/ (/ x (+ wj 1)) (exp wj))) (* wj wj)) (+ wj 1)) (* (- (/ (/ x (+ wj 1)) (exp wj)) wj) wj)) (* (- (/ (/ x (+ wj 1)) (exp wj)) wj) (+ wj 1)))

simplify78.0ms

Algorithm
egg-herbie
Counts
270 → 270
Iterations

Useful iterations: 1 (31.0ms)

IterNodesCost
014335416
150015211

prune996.0ms

Filtered
213 candidates to 270 candidates (-26.8%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New2673270
Fresh314
Picked101
Done022
Total2716277

Merged error: 0.0b

Counts
277 → 6

regimes97.0ms

Accuracy

0% (2.0b remaining)

Error of 2.0b against oracle of 0.0b and baseline of 2.0b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0115
1115

end0.0ms

sample2.8s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 74.609375%

Results
811.0ms3731×body5120exit
237.0ms6320×body80valid
128.0ms3810×body80overflowed
92.0ms772×body320valid
79.0ms448×body640valid
42.0ms532×body160valid

Profiling

Loading profile data...