
Time bar (total: 2.2s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 37.5% | 62.5% | 0% | 0% | 0% | 0 |
| 0% | 0% | 37.5% | 62.5% | 0% | 0% | 0% | 1 |
| 0% | 0% | 18.7% | 81.3% | 0% | 0% | 0% | 2 |
| 0% | 0% | 9.4% | 90.6% | 0% | 0% | 0% | 3 |
| 0% | 0% | 9.4% | 90.6% | 0% | 0% | 0% | 4 |
| 0% | 0% | 7% | 93% | 0% | 0% | 0% | 5 |
| 20% | 1.2% | 4.7% | 94.1% | 0% | 0% | 0% | 6 |
| 25% | 1.2% | 3.5% | 95.3% | 0% | 0% | 0% | 7 |
| 40% | 1.8% | 2.6% | 95.6% | 0% | 0% | 0% | 8 |
| 51.9% | 2% | 1.9% | 96% | 0% | 0% | 0% | 9 |
| 64.7% | 2.4% | 1.3% | 96.3% | 0% | 0% | 0% | 10 |
| 72.9% | 2.6% | 1% | 96.5% | 0% | 0% | 0% | 11 |
| 80.2% | 2.7% | 0.7% | 96.6% | 0% | 0% | 0% | 12 |
Compiled 26 to 15 computations (42.3% saved)
ival-sqrt, time spent: 2.0ms, 22.0% of total-timeival-mult, time spent: 2.0ms, 22.0% of total-timeival-<=, time spent: 2.0ms, 22.0% of total-timeival-fabs, time spent: 1.0ms, 11.0% of total-timeival-div, time spent: 1.0ms, 11.0% of total-timeival-sub, time spent: 1.0ms, 11.0% of total-timeival-and, time spent: 0.0ms, 0.0% of total-timeconst, time spent: 0.0ms, 0.0% of total-time| 1.2s | 8255× | 0 | valid |
| 102.0ms | 735× | 0 | precondition |
| 0.0ms | 1× | 0 | valid |
ival-sub, time spent: 158.0ms, 24.0% of total-timeival-mult, time spent: 133.0ms, 20.0% of total-timeival-<=, time spent: 128.0ms, 19.0% of total-timeival-sqrt, time spent: 113.0ms, 17.0% of total-timeival-div, time spent: 76.0ms, 11.0% of total-timeival-and, time spent: 26.0ms, 4.0% of total-timeconst, time spent: 19.0ms, 3.0% of total-timeival-fabs, time spent: 18.0ms, 3.0% of total-time| 1× | egg-herbie |
| 1380× | div-sub |
| 942× | times-frac |
| 760× | associate-*r* |
| 718× | associate-*r/ |
| 582× | associate-/r/ |
| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 58 | 0 | - | 0 | - | (/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (*.f64 a a)) |
| 0 | 0 | - | 0 | - | (sqrt.f64 (fabs.f64 (/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (*.f64 a a)))) |
| 0 | 0 | - | 0 | - | (fabs.f64 (/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (*.f64 a a))) |
| 0 | 0 | - | 0 | - | (-.f64 (*.f64 a a) (*.f64 b b)) |
| 0 | 0 | - | 0 | - | (*.f64 b b) |
| 0 | 0 | - | 0 | - | b |
| 0 | 0 | - | 0 | - | a |
| 0 | 0 | - | 0 | - | (*.f64 a a) |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 32 | 407 |
| 1 | 106 | 323 |
| 2 | 376 | 295 |
| 3 | 2248 | 295 |
| 1× | node limit |
| Inputs |
|---|
(sqrt.f64 (fabs.f64 (/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (*.f64 a a)))) |
(sqrt.f64 (fabs.f64 (/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (*.f64 a a)))) |
(sqrt.f64 (fabs.f64 (/.f64 (-.f64 (*.f64 (neg.f64 a) (neg.f64 a)) (*.f64 b b)) (*.f64 (neg.f64 a) (neg.f64 a))))) |
(sqrt.f64 (fabs.f64 (/.f64 (-.f64 (*.f64 a a) (*.f64 (neg.f64 b) (neg.f64 b))) (*.f64 a a)))) |
(neg.f64 (sqrt.f64 (fabs.f64 (/.f64 (-.f64 (*.f64 (neg.f64 a) (neg.f64 a)) (*.f64 b b)) (*.f64 (neg.f64 a) (neg.f64 a)))))) |
(neg.f64 (sqrt.f64 (fabs.f64 (/.f64 (-.f64 (*.f64 a a) (*.f64 (neg.f64 b) (neg.f64 b))) (*.f64 a a))))) |
(sqrt.f64 (fabs.f64 (/.f64 (-.f64 (*.f64 b b) (*.f64 a a)) (*.f64 b b)))) |
| Outputs |
|---|
(sqrt.f64 (fabs.f64 (/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (*.f64 a a)))) |
(sqrt.f64 (fabs.f64 (-.f64 1 (*.f64 (/.f64 b a) (/.f64 b a))))) |
(sqrt.f64 (fabs.f64 (fma.f64 (/.f64 b a) (/.f64 b a) -1))) |
(sqrt.f64 (fabs.f64 (/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (*.f64 a a)))) |
(sqrt.f64 (fabs.f64 (-.f64 1 (*.f64 (/.f64 b a) (/.f64 b a))))) |
(sqrt.f64 (fabs.f64 (fma.f64 (/.f64 b a) (/.f64 b a) -1))) |
(sqrt.f64 (fabs.f64 (/.f64 (-.f64 (*.f64 (neg.f64 a) (neg.f64 a)) (*.f64 b b)) (*.f64 (neg.f64 a) (neg.f64 a))))) |
(sqrt.f64 (fabs.f64 (/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (*.f64 a a)))) |
(sqrt.f64 (fabs.f64 (-.f64 1 (*.f64 (/.f64 b a) (/.f64 b a))))) |
(sqrt.f64 (fabs.f64 (fma.f64 (/.f64 b a) (/.f64 b a) -1))) |
(sqrt.f64 (fabs.f64 (/.f64 (-.f64 (*.f64 a a) (*.f64 (neg.f64 b) (neg.f64 b))) (*.f64 a a)))) |
(sqrt.f64 (fabs.f64 (/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (*.f64 a a)))) |
(sqrt.f64 (fabs.f64 (-.f64 1 (*.f64 (/.f64 b a) (/.f64 b a))))) |
(sqrt.f64 (fabs.f64 (fma.f64 (/.f64 b a) (/.f64 b a) -1))) |
(neg.f64 (sqrt.f64 (fabs.f64 (/.f64 (-.f64 (*.f64 (neg.f64 a) (neg.f64 a)) (*.f64 b b)) (*.f64 (neg.f64 a) (neg.f64 a)))))) |
(neg.f64 (sqrt.f64 (fabs.f64 (/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (*.f64 a a))))) |
(neg.f64 (sqrt.f64 (fabs.f64 (-.f64 1 (*.f64 (/.f64 b a) (/.f64 b a)))))) |
(neg.f64 (sqrt.f64 (fabs.f64 (fma.f64 (/.f64 b a) (/.f64 b a) -1)))) |
(neg.f64 (sqrt.f64 (fabs.f64 (/.f64 (-.f64 (*.f64 a a) (*.f64 (neg.f64 b) (neg.f64 b))) (*.f64 a a))))) |
(neg.f64 (sqrt.f64 (fabs.f64 (/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (*.f64 a a))))) |
(neg.f64 (sqrt.f64 (fabs.f64 (-.f64 1 (*.f64 (/.f64 b a) (/.f64 b a)))))) |
(neg.f64 (sqrt.f64 (fabs.f64 (fma.f64 (/.f64 b a) (/.f64 b a) -1)))) |
(sqrt.f64 (fabs.f64 (/.f64 (-.f64 (*.f64 b b) (*.f64 a a)) (*.f64 b b)))) |
(sqrt.f64 (fabs.f64 (-.f64 1 (*.f64 (/.f64 a b) (/.f64 a b))))) |
(sqrt.f64 (fabs.f64 (fma.f64 (/.f64 a b) (/.f64 a b) -1))) |
(abs a)
(abs b)
Compiled 123 to 26 computations (78.9% saved)
ival-sub, time spent: 9.0ms, 31.0% of total-timeival-mult, time spent: 8.0ms, 28.0% of total-timeival-sqrt, time spent: 6.0ms, 21.0% of total-timeival-div, time spent: 4.0ms, 14.0% of total-timeival-fabs, time spent: 1.0ms, 3.0% of total-timeconst, time spent: 1.0ms, 3.0% of total-timeCompiled 23 to 12 computations (47.8% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (sqrt.f64 (fabs.f64 (fma.f64 (/.f64 b a) (/.f64 b a) -1))) |
| ▶ | 100.0% | (sqrt.f64 (fabs.f64 (-.f64 1 (*.f64 (/.f64 b a) (/.f64 b a))))) |
Compiled 25 to 15 computations (40% saved)
Compiled 79 to 25 computations (68.4% saved)
ival-sub, time spent: 72.0ms, 31.0% of total-timeival-fma, time spent: 62.0ms, 27.0% of total-timeival-sqrt, time spent: 36.0ms, 15.0% of total-timeival-fabs, time spent: 24.0ms, 10.0% of total-timeival-div, time spent: 16.0ms, 7.0% of total-timeival-mult, time spent: 13.0ms, 6.0% of total-timeconst, time spent: 10.0ms, 4.0% of total-timeCompiled 2 to 2 computations (0% saved)
2 alts after pruning (0 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 0 | 0 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 2 | 2 |
| Done | 0 | 0 | 0 |
| Total | 0 | 2 | 2 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (sqrt.f64 (fabs.f64 (fma.f64 (/.f64 b a) (/.f64 b a) -1))) |
| ✓ | 100.0% | (sqrt.f64 (fabs.f64 (-.f64 1 (*.f64 (/.f64 b a) (/.f64 b a))))) |
Compiled 61 to 33 computations (45.9% saved)
| Inputs |
|---|
(sqrt.f64 (fabs.f64 (-.f64 1 (*.f64 (/.f64 b a) (/.f64 b a))))) |
(sqrt.f64 (fabs.f64 (/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (*.f64 a a)))) |
(sqrt.f64 (fabs.f64 (fma.f64 (/.f64 b a) (/.f64 b a) -1))) |
| Outputs |
|---|
(sqrt.f64 (fabs.f64 (fma.f64 (/.f64 b a) (/.f64 b a) -1))) |
7 calls:
| 5.0ms | b |
| 3.0ms | a |
| 3.0ms | (*.f64 a a) |
| 2.0ms | (sqrt.f64 (fabs.f64 (/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (*.f64 a a)))) |
| 2.0ms | (fabs.f64 (/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (*.f64 a a))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | a |
| 100.0% | 1 | b |
| 100.0% | 1 | (sqrt.f64 (fabs.f64 (/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (*.f64 a a)))) |
| 100.0% | 1 | (fabs.f64 (/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (*.f64 a a))) |
| 100.0% | 1 | (/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (*.f64 a a)) |
| 100.0% | 1 | (*.f64 a a) |
| 100.0% | 1 | (*.f64 b b) |
Compiled 58 to 31 computations (46.6% saved)
Total -14.5b remaining (-123666.7%)
Threshold costs -14.5b (-123666.7%)
| Inputs |
|---|
(sqrt.f64 (fabs.f64 (-.f64 1 (*.f64 (/.f64 b a) (/.f64 b a))))) |
(sqrt.f64 (fabs.f64 (/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (*.f64 a a)))) |
| Outputs |
|---|
(sqrt.f64 (fabs.f64 (-.f64 1 (*.f64 (/.f64 b a) (/.f64 b a))))) |
7 calls:
| 4.0ms | a |
| 3.0ms | b |
| 2.0ms | (*.f64 a a) |
| 2.0ms | (sqrt.f64 (fabs.f64 (/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (*.f64 a a)))) |
| 2.0ms | (fabs.f64 (/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (*.f64 a a))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | a |
| 100.0% | 1 | b |
| 100.0% | 1 | (sqrt.f64 (fabs.f64 (/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (*.f64 a a)))) |
| 100.0% | 1 | (fabs.f64 (/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (*.f64 a a))) |
| 100.0% | 1 | (/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (*.f64 a a)) |
| 100.0% | 1 | (*.f64 a a) |
| 100.0% | 1 | (*.f64 b b) |
Compiled 58 to 31 computations (46.6% saved)
| 1× | egg-herbie |
| 12× | sub-neg |
| 12× | +-commutative |
| 8× | neg-mul-1 |
| 8× | *-commutative |
| 8× | neg-sub0 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 19 | 86 |
| 1 | 31 | 86 |
| 2 | 41 | 86 |
| 3 | 50 | 86 |
| 4 | 59 | 86 |
| 5 | 60 | 86 |
| 1× | done |
| 1× | saturated |
| Inputs |
|---|
(sqrt.f64 (fabs.f64 (fma.f64 (/.f64 b a) (/.f64 b a) -1))) |
(sqrt.f64 (fabs.f64 (-.f64 1 (*.f64 (/.f64 b a) (/.f64 b a))))) |
| Outputs |
|---|
(sqrt.f64 (fabs.f64 (fma.f64 (/.f64 b a) (/.f64 b a) -1))) |
(sqrt.f64 (fabs.f64 (-.f64 1 (*.f64 (/.f64 b a) (/.f64 b a))))) |
Compiled 25 to 15 computations (40% saved)
| 1380× | div-sub |
| 1380× | div-sub |
| 942× | times-frac |
| 942× | times-frac |
| 760× | associate-*r* |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 32 | 407 |
| 1 | 106 | 323 |
| 2 | 376 | 295 |
| 3 | 2248 | 295 |
| 0 | 32 | 407 |
| 1 | 106 | 323 |
| 2 | 376 | 295 |
| 3 | 2248 | 295 |
| 1× | node limit |
| 1× | node limit |
Compiled 249 to 83 computations (66.7% saved)
(abs b)
(abs a)
Compiled 220 to 124 computations (43.6% saved)
Loading profile data...