Details

Time bar (total: 7.4s)

sample2.0s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 48.834229%

Results
23.0ms109×body5120exit
7.0ms199×body80valid
4.0ms124×body80overflowed
3.0ms16×body640valid
2.0ms23×body320valid
1.0ms18×body160valid
0.0msbody80invalid

simplify47.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (6.0ms)

IterNodesCost
0209
1489
21079
32248
415148
550028

prune12.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: 12.7b

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))
4.7b
(- (+ (/ (/ 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:
5.0ms
(/ wj (+ wj 1))
5.0ms
(/ x (+ 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:
2.0ms
(/ wj (+ wj 1))
5.0ms
(/ x (+ wj 1))
11.0ms
(/ (/ x (+ wj 1)) (exp wj))
14.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

simplify80.0ms

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
07211524
133031471
250021469

prune249.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.5b

Counts
190 → 5

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite17.0ms

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

series18.0ms

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

simplify131.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0202245
1794228
24222225
35001225

prune76.0ms

Filtered
32 candidates to 53 candidates (-65.6%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New51253
Fresh044
Picked011
Done000
Total51758

Merged error: 0.5b

Counts
58 → 7

localize11.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (+ x (pow wj 2))) (cbrt (+ x (pow wj 2))))
0.5b
(cbrt (+ x (pow wj 2)))
0.5b
(cbrt (+ x (pow wj 2)))
0.5b
(cbrt (+ x (pow wj 2)))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
36×cbrt-prod
35×*-un-lft-identity
23×add-sqr-sqrt
18×cbrt-div
15×add-cube-cbrt
11×pow1
flip3-+ pow1/3 swap-sqr flip-+ distribute-lft-out
associate-*r* associate-*l*
add-exp-log
frac-times add-cbrt-cube add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 95
Calls
4 calls:
12.0ms
(* (cbrt (+ x (pow wj 2))) (cbrt (+ x (pow wj 2))))
4.0ms
(cbrt (+ x (pow wj 2)))
4.0ms
(cbrt (+ x (pow wj 2)))
4.0ms
(cbrt (+ x (pow wj 2)))

series212.0ms

Counts
4 → 12
Calls
4 calls:
56.0ms
(* (cbrt (+ x (pow wj 2))) (cbrt (+ x (pow wj 2))))
51.0ms
(cbrt (+ x (pow wj 2)))
52.0ms
(cbrt (+ x (pow wj 2)))
53.0ms
(cbrt (+ x (pow wj 2)))

simplify133.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 3 (123.0ms)

IterNodesCost
0286944
1927893
24130787
35001764

prune261.0ms

Filtered
72 candidates to 107 candidates (-48.6%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1052107
Fresh055
Picked101
Done011
Total1068114

Merged error: 0.5b

Counts
114 → 8

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(* wj (exp wj))
0.0b
(+ (exp wj) (* wj (exp wj)))
0.5b
(/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj))))
4.7b
(- wj (/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj)))))

rewrite31.0ms

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

series35.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(* wj (exp wj))
4.0ms
(+ (exp wj) (* wj (exp wj)))
13.0ms
(/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj))))
15.0ms
(- wj (/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj)))))

simplify47.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0394942
11478877
25001855

prune92.0ms

Filtered
81 candidates to 99 candidates (-22.2%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New98199
Fresh156
Picked011
Done011
Total998107

Merged error: 0.5b

Counts
107 → 8

regimes186.0ms

Accuracy

0% (1.9b remaining)

Error of 2.1b against oracle of 0.3b and baseline of 2.1b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0115
1115

end0.0ms

sample3.7s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 48.834229%

Results
831.0ms3873×body5120exit
226.0ms6302×body80valid
128.0ms3838×body80overflowed
81.0ms741×body320valid
71.0ms417×body640valid
38.0ms540×body160valid
4.0ms83×body80invalid

Profiling

Loading profile data...