
Time bar (total: 1.2s)
| 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| 701.0ms | 8256× | 0 | valid |
ival-mult, time spent: 129.0ms, 50.0% of total-timeival-sqrt, time spent: 71.0ms, 28.0% of total-timeival-add, time spent: 48.0ms, 19.0% of total-timeconst, time spent: 7.0ms, 3.0% of total-timebackward-pass, time spent: 3.0ms, 1.0% of total-time| 1× | egg-herbie |
| 52× | fma-neg |
| 45× | fma-define |
| 15× | distribute-lft-neg-in |
| 15× | neg-sub0 |
| 14× | unsub-neg |
| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 137 | 0 | - | 2 | (1.2778085718747382e-213 5.577476906130052e-158) | (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y))) |
| 0 | 0 | - | 0 | - | x |
| 0 | 0 | - | 0 | - | (*.f64 x x) |
| 0 | 0 | - | 0 | - | (*.f64 y y) |
| 0 | 0 | - | 0 | - | y |
| 0 | 0 | - | 0 | - | (+.f64 (*.f64 x x) (*.f64 y y)) |
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)
| 49.0ms | 512× | 256 | valid |
Compiled 62 to 20 computations (67.7% saved)
ival-mult, time spent: 9.0ms, 53.0% of total-timeival-add, time spent: 4.0ms, 23.0% of total-timeival-sqrt, time spent: 4.0ms, 23.0% of total-timeconst, time spent: 0.0ms, 0.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)
| 23.0ms | 256× | 256 | valid |
Compiled 8 to 4 computations (50% saved)
composed, time spent: 8.0ms, 52.0% of total-timeival-mult, time spent: 4.0ms, 26.0% of total-timeival-sqrt, time spent: 2.0ms, 13.0% of total-timeival-add, time spent: 1.0ms, 7.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 -31.5b remaining (-∞%)
Threshold costs -31.5b (-∞%)
| Inputs |
|---|
(hypot.f64 x y) |
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y))) |
| Outputs |
|---|
(hypot.f64 x y) |
6 calls:
| 2.0ms | x |
| 1.0ms | y |
| 1.0ms | (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y))) |
| 1.0ms | (+.f64 (*.f64 x x) (*.f64 y y)) |
| 1.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× | saturated |
| Inputs |
|---|
(hypot.f64 x y) |
| Outputs |
|---|
(hypot.f64 x y) |
| 52× | fma-neg |
| 45× | fma-define |
| 15× | distribute-lft-neg-in |
| 15× | neg-sub0 |
| 14× | 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× | done |
| 1× | saturated |
Compiled 18 to 10 computations (44.4% saved)
(sort x y)
(abs y)
(abs x)
Compiled 132 to 80 computations (39.4% saved)
Loading profile data...