
Time bar (total: 3.2s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 0 |
| 100% | 99.9% | 0% | 0.1% | 0% | 0% | 0% | 1 |
Compiled 20 to 13 computations (35% saved)
ival-sub, time spent: 0.0ms, 0.0% of total-timeconst, time spent: 0.0ms, 0.0% of total-timeival-add, time spent: 0.0ms, 0.0% of total-timeival-mult, time spent: 0.0ms, 0.0% of total-timeival-pow, time spent: 0.0ms, 0.0% of total-time| 860.0ms | 5051× | 0 | infinite |
| 565.0ms | 3204× | 0 | valid |
| 0.0ms | 1× | 0 | infinite |
ival-add, time spent: 298.0ms, 38.0% of total-timeival-mult, time spent: 213.0ms, 27.0% of total-timeival-sub, time spent: 135.0ms, 17.0% of total-timeival-pow, time spent: 111.0ms, 14.0% of total-timeconst, time spent: 31.0ms, 4.0% of total-time| 1× | egg-herbie |
| 1486× | unsub-neg |
| 1342× | fma-def |
| 1230× | sub-neg |
| 610× | associate-+l- |
| 496× | distribute-lft-out |
| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | b |
| 0 | 0 | - | 0 | - | (+.f64 (*.f64 a a) (*.f64 b b)) |
| 0 | 0 | - | 0 | - | (*.f64 4 (*.f64 b b)) |
| 0 | 0 | - | 0 | - | (*.f64 b b) |
| 0 | 0 | - | 0 | - | (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) |
| 0 | 0 | - | 0 | - | (-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1) |
| 0 | 0 | - | 0 | - | (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) |
| 0 | 0 | - | 0 | - | 4 |
| 0 | 0 | - | 0 | - | 2 |
| 0 | 0 | - | 0 | - | a |
| 0 | 0 | - | 0 | - | 1 |
| 0 | 0 | - | 0 | - | (*.f64 a a) |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 38 | 449 |
| 1 | 108 | 421 |
| 2 | 251 | 413 |
| 3 | 773 | 413 |
| 4 | 3444 | 315 |
| 5 | 6954 | 315 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1) |
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1) |
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 (neg.f64 a) (neg.f64 a)) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1) |
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 (neg.f64 b) (neg.f64 b))) 2) (*.f64 4 (*.f64 (neg.f64 b) (neg.f64 b)))) 1) |
(neg.f64 (-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 (neg.f64 a) (neg.f64 a)) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)) |
(neg.f64 (-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 (neg.f64 b) (neg.f64 b))) 2) (*.f64 4 (*.f64 (neg.f64 b) (neg.f64 b)))) 1)) |
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 b b) (*.f64 a a)) 2) (*.f64 4 (*.f64 a a))) 1) |
| Outputs |
|---|
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1) |
(+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (-.f64 (*.f64 (*.f64 b b) 4) 1)) |
(+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (fma.f64 (*.f64 b b) 4 -1)) |
(+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (fma.f64 b (*.f64 b 4) -1)) |
(fma.f64 (hypot.f64 a b) (pow.f64 (hypot.f64 a b) 3) (fma.f64 b (*.f64 b 4) -1)) |
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1)) |
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1) |
(+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (-.f64 (*.f64 (*.f64 b b) 4) 1)) |
(+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (fma.f64 (*.f64 b b) 4 -1)) |
(+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (fma.f64 b (*.f64 b 4) -1)) |
(fma.f64 (hypot.f64 a b) (pow.f64 (hypot.f64 a b) 3) (fma.f64 b (*.f64 b 4) -1)) |
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1)) |
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 (neg.f64 a) (neg.f64 a)) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1) |
(+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (-.f64 (*.f64 (*.f64 b b) 4) 1)) |
(+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (fma.f64 (*.f64 b b) 4 -1)) |
(+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (fma.f64 b (*.f64 b 4) -1)) |
(fma.f64 (hypot.f64 a b) (pow.f64 (hypot.f64 a b) 3) (fma.f64 b (*.f64 b 4) -1)) |
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1)) |
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 (neg.f64 b) (neg.f64 b))) 2) (*.f64 4 (*.f64 (neg.f64 b) (neg.f64 b)))) 1) |
(+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (-.f64 (*.f64 (*.f64 b b) 4) 1)) |
(+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (fma.f64 (*.f64 b b) 4 -1)) |
(+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (fma.f64 b (*.f64 b 4) -1)) |
(fma.f64 (hypot.f64 a b) (pow.f64 (hypot.f64 a b) 3) (fma.f64 b (*.f64 b 4) -1)) |
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1)) |
(neg.f64 (-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 (neg.f64 a) (neg.f64 a)) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)) |
(neg.f64 (+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (-.f64 (*.f64 (*.f64 b b) 4) 1))) |
(+.f64 (neg.f64 (fma.f64 (*.f64 b b) 4 (pow.f64 (fma.f64 a a (*.f64 b b)) 2))) 1) |
(-.f64 1 (fma.f64 b (*.f64 b 4) (pow.f64 (fma.f64 a a (*.f64 b b)) 2))) |
(-.f64 (fma.f64 b (*.f64 b -4) 1) (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) |
(-.f64 (fma.f64 b (*.f64 b -4) 1) (pow.f64 (hypot.f64 a b) 4)) |
(neg.f64 (-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 (neg.f64 b) (neg.f64 b))) 2) (*.f64 4 (*.f64 (neg.f64 b) (neg.f64 b)))) 1)) |
(neg.f64 (+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (-.f64 (*.f64 (*.f64 b b) 4) 1))) |
(+.f64 (neg.f64 (fma.f64 (*.f64 b b) 4 (pow.f64 (fma.f64 a a (*.f64 b b)) 2))) 1) |
(-.f64 1 (fma.f64 b (*.f64 b 4) (pow.f64 (fma.f64 a a (*.f64 b b)) 2))) |
(-.f64 (fma.f64 b (*.f64 b -4) 1) (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) |
(-.f64 (fma.f64 b (*.f64 b -4) 1) (pow.f64 (hypot.f64 a b) 4)) |
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 b b) (*.f64 a a)) 2) (*.f64 4 (*.f64 a a))) 1) |
(+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (-.f64 (*.f64 (*.f64 a a) 4) 1)) |
(+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (fma.f64 (*.f64 a a) 4 -1)) |
(+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (fma.f64 a (*.f64 a 4) -1)) |
(fma.f64 (hypot.f64 a b) (pow.f64 (hypot.f64 a b) 3) (fma.f64 a (*.f64 a 4) -1)) |
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 a (*.f64 a 4) -1)) |
(abs a)
(abs b)
Compiled 153 to 62 computations (59.5% saved)
ival-add, time spent: 106.0ms, 34.0% of total-timeival-mult, time spent: 81.0ms, 26.0% of total-timeival-pow, time spent: 73.0ms, 23.0% of total-timeival-sub, time spent: 35.0ms, 11.0% of total-timeconst, time spent: 17.0ms, 5.0% of total-timeCompiled 75 to 39 computations (48% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (fma.f64 (hypot.f64 a b) (pow.f64 (hypot.f64 a b) 3) (fma.f64 b (*.f64 b 4) -1)) |
| ▶ | 99.9% | (-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1) |
| ▶ | 100.0% | (+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1)) |
Compiled 50 to 32 computations (36% saved)
Compiled 137 to 61 computations (55.5% saved)
ival-mult, time spent: 152.0ms, 26.0% of total-timeival-pow, time spent: 145.0ms, 25.0% of total-timeival-fma, time spent: 104.0ms, 18.0% of total-timeival-add, time spent: 99.0ms, 17.0% of total-timeconst, time spent: 32.0ms, 6.0% of total-timeival-sub, time spent: 24.0ms, 4.0% of total-timeival-hypot, time spent: 24.0ms, 4.0% of total-timeCompiled 2 to 2 computations (0% saved)
3 alts after pruning (0 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 0 | 0 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 3 | 3 |
| Done | 0 | 0 | 0 |
| Total | 0 | 3 | 3 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (fma.f64 (hypot.f64 a b) (pow.f64 (hypot.f64 a b) 3) (fma.f64 b (*.f64 b 4) -1)) |
| ✓ | 99.9% | (-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1) |
| ✓ | 100.0% | (+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1)) |
Compiled 96 to 59 computations (38.5% saved)
| Inputs |
|---|
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1) |
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1)) |
(fma.f64 (hypot.f64 a b) (pow.f64 (hypot.f64 a b) 3) (fma.f64 b (*.f64 b 4) -1)) |
| Outputs |
|---|
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1)) |
6 calls:
| 4.0ms | b |
| 3.0ms | a |
| 3.0ms | (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) |
| 3.0ms | (*.f64 a a) |
| 3.0ms | (*.f64 b b) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | a |
| 100.0% | 1 | b |
| 100.0% | 1 | (-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1) |
| 100.0% | 1 | (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) |
| 100.0% | 1 | (*.f64 a a) |
| 100.0% | 1 | (*.f64 b b) |
Compiled 52 to 32 computations (38.5% saved)
Total 0.0b remaining (0%)
Threshold costs 0b (0%)
| Inputs |
|---|
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1) |
| Outputs |
|---|
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1) |
6 calls:
| 4.0ms | (-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1) |
| 3.0ms | b |
| 3.0ms | a |
| 2.0ms | (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) |
| 2.0ms | (*.f64 a a) |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.9% | 1 | a |
| 99.9% | 1 | b |
| 99.9% | 1 | (-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1) |
| 99.9% | 1 | (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) |
| 99.9% | 1 | (*.f64 a a) |
| 99.9% | 1 | (*.f64 b b) |
Compiled 52 to 32 computations (38.5% saved)
| 1× | egg-herbie |
| 8× | +-commutative |
| 6× | *-commutative |
| 4× | sub-neg |
| 3× | 1-exp |
| 2× | *-rgt-identity |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 24 | 112 |
| 1 | 37 | 112 |
| 2 | 40 | 112 |
| 3 | 44 | 112 |
| 1× | done |
| 1× | saturated |
| Inputs |
|---|
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1)) |
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1) |
| Outputs |
|---|
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1)) |
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1) |
(+.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) -1) |
Compiled 33 to 22 computations (33.3% saved)
| 1486× | unsub-neg |
| 1342× | fma-def |
| 1230× | sub-neg |
| 610× | associate-+l- |
| 496× | distribute-lft-out |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 38 | 449 |
| 1 | 108 | 421 |
| 2 | 251 | 413 |
| 3 | 773 | 413 |
| 4 | 3444 | 315 |
| 5 | 6954 | 315 |
| 1× | node limit |
Compiled 67 to 33 computations (50.7% saved)
(abs b)
(abs a)
Compiled 268 to 184 computations (31.3% saved)
Loading profile data...