Details

Time bar (total: 8.8s)

sample3.2s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 53.997803%

Guaranteed chance to sample good point: 72.442616%

Results
9.0ms256×body80valid
1.0ms39×body80nan
1.0ms17×body80invalid

simplify79.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0145
1215
2365
3625
41335
52115
63975
717985
850015

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 27.3b

Counts
2 → 1

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(* x (sqrt (- (* y y) (* z z))))
2.4b
(- (* y y) (* z z))
27.4b
(sqrt (- (* y y) (* z z)))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
sqrt-prod
add-cube-cbrt *-un-lft-identity associate-*r*
pow1
add-exp-log add-cbrt-cube add-log-exp
sqrt-div
flip3-- associate-*l* flip-- difference-of-squares
associate-*r/ unswap-sqr
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log pow-prod-down prod-exp *-commutative cbrt-unprod
Counts
3 → 54
Calls
3 calls:
7.0ms
(* x (sqrt (- (* y y) (* z z))))
3.0ms
(- (* y y) (* z z))
3.0ms
(sqrt (- (* y y) (* z z)))

series33.0ms

Counts
3 → 9
Calls
3 calls:
18.0ms
(* x (sqrt (- (* y y) (* z z))))
8.0ms
(- (* y y) (* z z))
7.0ms
(sqrt (- (* y y) (* z z)))

simplify74.0ms

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 2 (19.0ms)

IterNodesCost
0188364
1742340
23019337
35001337

prune77.0ms

Filtered
46 candidates to 63 candidates (-37.0%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New59463
Fresh000
Picked011
Done000
Total59564

Merged error: 0b

Counts
64 → 5

localize11.0ms

Local error

Found 4 expressions with local error:

27.4b
(sqrt (* (* (cbrt (- (* y y) (* z z))) (cbrt (- (* y y) (* z z)))) (cbrt (- (* y y) (* z z)))))
28.4b
(cbrt (- (* y y) (* z z)))
28.4b
(cbrt (- (* y y) (* z z)))
28.4b
(cbrt (- (* y y) (* z z)))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
60×cbrt-div
30×flip3-- flip--
28×frac-times
26×sqrt-div
24×pow1
15×sqrt-pow1
14×associate-*l/
12×cbrt-prod pow1/3
pow-prod-up
associate-*r/
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow-plus
pow-prod-down
add-exp-log add-cbrt-cube add-log-exp
pow-sqr difference-of-squares
pow2
pow1/2 pow3 sqrt-prod
Counts
4 → 92
Calls
4 calls:
16.0ms
(sqrt (* (* (cbrt (- (* y y) (* z z))) (cbrt (- (* y y) (* z z)))) (cbrt (- (* y y) (* z z)))))
3.0ms
(cbrt (- (* y y) (* z z)))
3.0ms
(cbrt (- (* y y) (* z z)))
3.0ms
(cbrt (- (* y y) (* z z)))

series72.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(sqrt (* (* (cbrt (- (* y y) (* z z))) (cbrt (- (* y y) (* z z)))) (cbrt (- (* y y) (* z z)))))
22.0ms
(cbrt (- (* y y) (* z z)))
21.0ms
(cbrt (- (* y y) (* z z)))
22.0ms
(cbrt (- (* y y) (* z z)))

simplify180.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 3 (163.0ms)

IterNodesCost
03251572
17791531
234951502
350031414

prune109.0ms

Filtered
67 candidates to 104 candidates (-55.2%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1040104
Fresh033
Picked011
Done011
Total1045109

Merged error: 0b

Counts
109 → 5

localize2.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify2.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
000

prune8.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New000
Fresh022
Picked011
Done022
Total055

Merged error: 0b

Counts
5 → 5

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (+ y z))
0.0b
(sqrt (- y z))
0.2b
(* x (sqrt (+ y z)))
0.2b
(* (* x (sqrt (+ y z))) (sqrt (- y z)))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt
19×*-un-lft-identity sqrt-prod
18×sqrt-div
15×associate-*r*
13×pow1
11×add-exp-log add-cube-cbrt add-cbrt-cube
10×associate-*r/
flip3-+ flip-+
frac-times flip3-- associate-*l* pow-prod-down prod-exp flip-- cbrt-unprod add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2 associate-*l/ *-commutative distribute-lft-out distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 89
Calls
4 calls:
4.0ms
(sqrt (+ y z))
3.0ms
(sqrt (- y z))
7.0ms
(* x (sqrt (+ y z)))
11.0ms
(* (* x (sqrt (+ y z))) (sqrt (- y z)))

series52.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(sqrt (+ y z))
11.0ms
(sqrt (- y z))
13.0ms
(* x (sqrt (+ y z)))
22.0ms
(* (* x (sqrt (+ y z))) (sqrt (- y z)))

simplify52.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0413619
11771590
25002576

prune87.0ms

Filtered
71 candidates to 101 candidates (-42.3%)
Pruning

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New1010101
Fresh011
Picked011
Done033
Total1015106

Merged error: 0b

Counts
106 → 5

regimes674.0ms

Accuracy

97.7% (0.6b remaining)

Error of 0.7b against oracle of 0.1b and baseline of 25.2b

bsearch189.0ms

Steps
ItersRangePoint
10
-7.80286951386116e-252
-5.593115311114745e-263
-5.650530489878562e-263

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0133
1143
2173
3173

end0.0ms

sample3.7s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 53.997803%

Guaranteed chance to sample good point: 72.442616%

Results
296.0ms8000×body80valid
30.0ms894×body80nan
13.0ms377×body80invalid

Profiling

Loading profile data...