Details

Time bar (total: 8.2s)

sample2.1s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 48.834229%

Results
32.0ms122×body5120exit
7.0ms187×body80valid
5.0ms130×body80overflowed
3.0ms18×body640valid
3.0ms27×body320valid
2.0ms24×body160valid
0.0msbody80invalid

simplify44.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (5.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: 15.5b

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))
6.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:
5.0ms
(/ x (+ wj 1))
5.0ms
(/ wj (+ wj 1))
9.0ms
(/ (/ x (+ wj 1)) (exp wj))
31.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)))

simplify80.0ms

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
07181538
133001481
250011479

prune260.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.3b

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

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

simplify107.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
0162194
1645176
23837174
35001174

prune57.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.3b

Counts
43 → 6

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
18×cbrt-div
15×add-cube-cbrt *-un-lft-identity
11×pow1
flip3-- pow1/3 flip--
add-exp-log swap-sqr associate-*r* associate-*l*
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 → 87
Calls
4 calls:
16.0ms
(* (cbrt (- (+ x (pow wj 2)) (* 2 (* wj x)))) (cbrt (- (+ x (pow wj 2)) (* 2 (* wj x)))))
6.0ms
(cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))
6.0ms
(cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))
6.0ms
(cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))

series165.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(* (cbrt (- (+ x (pow wj 2)) (* 2 (* wj x)))) (cbrt (- (+ x (pow wj 2)) (* 2 (* wj x)))))
38.0ms
(cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))
40.0ms
(cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))
38.0ms
(cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))

simplify49.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
03311613
111861520
250011414

prune350.0ms

Filtered
75 candidates to 99 candidates (-32.0%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New96399
Fresh044
Picked101
Done011
Total978105

Merged error: 0.3b

Counts
105 → 8

localize18.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (cbrt (- (+ x (pow wj 2)) (* 2 (* wj x)))))
0.6b
(cbrt (cbrt (- (+ x (pow wj 2)) (* 2 (* wj x)))))
0.6b
(cbrt (cbrt (- (+ x (pow wj 2)) (* 2 (* wj x)))))
0.9b
(pow (cbrt (cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))) 4)

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
36×cbrt-prod
14×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
12×cbrt-div
unpow-prod-down
pow1 add-exp-log
pow1/3 add-cbrt-cube add-log-exp
pow-unpow flip3-- flip--
pow-pow
pow-to-exp pow-exp sqr-pow
Counts
4 → 72
Calls
4 calls:
7.0ms
(cbrt (cbrt (- (+ x (pow wj 2)) (* 2 (* wj x)))))
7.0ms
(cbrt (cbrt (- (+ x (pow wj 2)) (* 2 (* wj x)))))
7.0ms
(cbrt (cbrt (- (+ x (pow wj 2)) (* 2 (* wj x)))))
11.0ms
(pow (cbrt (cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))) 4)

series154.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(cbrt (cbrt (- (+ x (pow wj 2)) (* 2 (* wj x)))))
38.0ms
(cbrt (cbrt (- (+ x (pow wj 2)) (* 2 (* wj x)))))
40.0ms
(cbrt (cbrt (- (+ x (pow wj 2)) (* 2 (* wj x)))))
36.0ms
(pow (cbrt (cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))) 4)

simplify50.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
04171295
113541227
250021184

prune409.0ms

Filtered
67 candidates to 84 candidates (-25.4%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New82284
Fresh156
Picked101
Done011
Total84892

Merged error: 0.3b

Counts
92 → 8

regimes213.0ms

Accuracy

63.4% (0.7b remaining)

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

bsearch13.0ms

Steps
ItersRangePoint
5
3.3338709830465335e-09
1.1356478858019517e-08
8.327848517469272e-09

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02613
12613

end0.0ms

sample3.9s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 48.834229%

Results
871.0ms3836×body5120exit
245.0ms6158×body80valid
138.0ms3920×body80overflowed
94.0ms812×body320valid
85.0ms464×body640valid
43.0ms566×body160valid
4.0ms78×body80invalid

Profiling

Loading profile data...