
Time bar (total: 1.6s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 0 |
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 1 |
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 2 |
| 100% | 99.9% | 0% | 0.1% | 0% | 0% | 0% | 3 |
Compiled 11 to 7 computations (36.4% saved)
ival-add, time spent: 0.0ms, 0.0% of total-timeival-mult, time spent: 0.0ms, 0.0% of total-timeconst, time spent: 0.0ms, 0.0% of total-timeival-sqrt, time spent: 0.0ms, 0.0% of total-time| 1.1s | 8255× | 256 | valid |
| 0.0ms | 1× | 256 | valid |
ival-mult, time spent: 268.0ms, 56.0% of total-timeival-sqrt, time spent: 106.0ms, 22.0% of total-timeival-add, time spent: 97.0ms, 20.0% of total-timeconst, time spent: 9.0ms, 2.0% of total-time| 1× | egg-herbie |
| 104× | fma-neg |
| 90× | fma-define |
| 30× | distribute-lft-neg-in |
| 30× | neg-sub0 |
| 28× | unsub-neg |
| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 124 | 0 | - | 2 | (1.2888681060672524e-241 7.874043255453918e-157) | (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y))) |
| 0 | 0 | - | 0 | - | (+.f64 (*.f64 x x) (*.f64 y y)) |
| 0 | 0 | - | 0 | - | y |
| 0 | 0 | - | 0 | - | (*.f64 y y) |
| 0 | 0 | - | 0 | - | (*.f64 x x) |
| 0 | 0 | - | 0 | - | x |
| Operator | Subexpression | Explanation | Count | |
|---|---|---|---|---|
sqrt.f64 | (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y))) | oflow-rescue | 104 | 0 |
| ↳ | (*.f64 y y) | overflow | 104 | |
| ↳ | (*.f64 x x) | overflow | 13 | |
| ↳ | (+.f64 (*.f64 x x) (*.f64 y y)) | overflow | 104 | |
sqrt.f64 | (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y))) | uflow-rescue | 18 | 0 |
| ↳ | (*.f64 y y) | underflow | 18 | |
| ↳ | (*.f64 x x) | underflow | 113 | |
| ↳ | (+.f64 (*.f64 x x) (*.f64 y y)) | underflow | 18 |
| Predicted + | Predicted - | |
|---|---|---|
| + | 122 | 2 |
| - | 0 | 132 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 122 | 0 | 2 |
| - | 0 | 0 | 132 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 24 | 99 |
| 1 | 51 | 99 |
| 2 | 98 | 99 |
| 3 | 185 | 99 |
| 4 | 282 | 99 |
| 5 | 321 | 99 |
| 6 | 331 | 99 |
| 1× | saturated |
| Inputs |
|---|
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y))) |
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y))) |
(sqrt.f64 (+.f64 (*.f64 (neg.f64 x) (neg.f64 x)) (*.f64 y y))) |
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 (neg.f64 y) (neg.f64 y)))) |
(neg.f64 (sqrt.f64 (+.f64 (*.f64 (neg.f64 x) (neg.f64 x)) (*.f64 y y)))) |
(neg.f64 (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 (neg.f64 y) (neg.f64 y))))) |
(sqrt.f64 (+.f64 (*.f64 y y) (*.f64 x x))) |
| Outputs |
|---|
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y))) |
(hypot.f64 x y) |
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y))) |
(hypot.f64 x y) |
(sqrt.f64 (+.f64 (*.f64 (neg.f64 x) (neg.f64 x)) (*.f64 y y))) |
(hypot.f64 x y) |
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 (neg.f64 y) (neg.f64 y)))) |
(hypot.f64 x y) |
(neg.f64 (sqrt.f64 (+.f64 (*.f64 (neg.f64 x) (neg.f64 x)) (*.f64 y y)))) |
(neg.f64 (hypot.f64 x y)) |
(neg.f64 (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 (neg.f64 y) (neg.f64 y))))) |
(neg.f64 (hypot.f64 x y)) |
(sqrt.f64 (+.f64 (*.f64 y y) (*.f64 x x))) |
(hypot.f64 x y) |
(abs x)
(abs y)
(sort x y)
Compiled 72 to 26 computations (63.9% saved)
ival-mult, time spent: 8.0ms, 50.0% of total-timeival-sqrt, time spent: 5.0ms, 31.0% of total-timeival-add, time spent: 3.0ms, 19.0% of total-timeconst, time spent: 1.0ms, 6.0% of total-timeCompiled 5 to 3 computations (40% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (hypot.f64 x y) |
Compiled 5 to 3 computations (40% saved)
Compiled 8 to 4 computations (50% saved)
composed, time spent: 47.0ms, 51.0% of total-timeival-sqrt, time spent: 40.0ms, 43.0% of total-timeival-mult, time spent: 4.0ms, 4.0% of total-timeival-add, time spent: 2.0ms, 2.0% of total-timeconst, time spent: 0.0ms, 0.0% of total-timeCompiled 2 to 2 computations (0% saved)
1 alts after pruning (0 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 0 | 0 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 0 | 1 | 1 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (hypot.f64 x y) |
Compiled 18 to 10 computations (44.4% saved)
Total -28.5b remaining (-∞%)
Threshold costs -28.5b (-∞%)
| Inputs |
|---|
(hypot.f64 x y) |
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y))) |
| Outputs |
|---|
(hypot.f64 x y) |
6 calls:
| 3.0ms | x |
| 3.0ms | y |
| 3.0ms | (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y))) |
| 3.0ms | (+.f64 (*.f64 x x) (*.f64 y y)) |
| 2.0ms | (*.f64 y y) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | x |
| 100.0% | 1 | y |
| 100.0% | 1 | (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y))) |
| 100.0% | 1 | (+.f64 (*.f64 x x) (*.f64 y y)) |
| 100.0% | 1 | (*.f64 x x) |
| 100.0% | 1 | (*.f64 y y) |
Compiled 35 to 21 computations (40% saved)
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 13 |
| 1× | done |
| 1× | saturated |
| Inputs |
|---|
(hypot.f64 x y) |
| Outputs |
|---|
(hypot.f64 x y) |
Compiled 5 to 3 computations (40% saved)
| 104× | fma-neg |
| 90× | fma-define |
| 30× | distribute-lft-neg-in |
| 30× | neg-sub0 |
| 28× | unsub-neg |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 24 | 99 |
| 1 | 51 | 99 |
| 2 | 98 | 99 |
| 3 | 185 | 99 |
| 4 | 282 | 99 |
| 5 | 321 | 99 |
| 6 | 331 | 99 |
| 1× | saturated |
Compiled 13 to 7 computations (46.2% saved)
(sort x y)
(abs y)
(abs x)
Compiled 132 to 80 computations (39.4% saved)
Loading profile data...