
Time bar (total: 1.5s)
| 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: 0.0ms (0% of total)ival-mult: 0.0ms (0% of total)const: 0.0ms (0% of total)ival-sqrt: 0.0ms (0% of total)| 985.0ms | 8256× | 0 | valid |
ival-mult: 130.0ms (49.3% of total)ival-sqrt: 71.0ms (26.9% of total)ival-add: 52.0ms (19.7% of total)const: 8.0ms (3% of total)backward-pass: 3.0ms (1.1% of total)| 1× | egg-herbie |
| 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× | 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)
| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 127 | 0 | - | 2 | (1.7424543998158204e-176 2.348111551823495e-162) | (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)) |
| 51.0ms | 512× | 256 | valid |
Compiled 62 to 20 computations (67.7% saved)
ival-mult: 8.0ms (46.9% of total)ival-sqrt: 5.0ms (29.3% of total)ival-add: 4.0ms (23.5% of total)const: 0.0ms (0% of total)Compiled 5 to 3 computations (40% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (hypot.f64 x y) |
Compiled 5 to 3 computations (40% saved)
| 33.0ms | 256× | 256 | valid |
Compiled 8 to 4 computations (50% saved)
composed: 9.0ms (53.7% of total)ival-mult: 4.0ms (23.9% of total)ival-sqrt: 3.0ms (17.9% of total)ival-add: 1.0ms (6% of total)const: 0.0ms (0% of total)Compiled 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 -29.2b remaining (-∞%)
Threshold costs -29.2b (-∞%)
| Inputs |
|---|
(hypot.f64 x y) |
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y))) |
| Outputs |
|---|
(hypot.f64 x y) |
6 calls:
| 2.0ms | (+.f64 (*.f64 x x) (*.f64 y y)) |
| 1.0ms | x |
| 1.0ms | (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y))) |
| 1.0ms | 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...