Time bar (total: 2.5s)
| 1× | search |
| True | Other | False | Iter |
|---|---|---|---|
| 0% | 99.9% | 0.1% | 0 |
| 0% | 99.9% | 0.1% | 1 |
| 0% | 99.9% | 0.1% | 2 |
| 0% | 99.9% | 0.1% | 3 |
| 0% | 99.9% | 0.1% | 4 |
| 25% | 74.9% | 0.1% | 5 |
| 25% | 68.7% | 6.3% | 6 |
| 25% | 53.1% | 22% | 7 |
| 25% | 46.8% | 28.2% | 8 |
| 25% | 33.6% | 41.5% | 9 |
| 28.1% | 18% | 54% | 10 |
| 31.6% | 12.1% | 56.3% | 11 |
| 33.4% | 5.9% | 60.8% | 12 |
| 35.2% | 3.8% | 61% | 13 |
| 36.1% | 2.9% | 61% | 14 |
Compiled 32 to 20 computations (37.5% saved)
| 1.2s | 8256× | body | 128 | valid |
| 1.0ms | 6× | body | 128 | invalid |
Compiled 95 to 59 computations (37.9% saved)
| 1× | egg-herbie |
| 620× | fma-def_binary64 |
| 556× | cancel-sign-sub-inv_binary64 |
| 552× | unswap-sqr_binary64 |
| 357× | unsub-neg_binary64 |
| 344× | +-commutative_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 19 | 39 |
| 1 | 57 | 37 |
| 2 | 168 | 37 |
| 3 | 492 | 37 |
| 4 | 1604 | 33 |
| 5 | 2891 | 33 |
| 6 | 4309 | 33 |
| 7 | 5214 | 33 |
3 alts after pruning (3 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 2 | 2 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 0 | 0 |
| Total | 0 | 3 | 3 |
| Status | Error | Program |
| 0.2b | (-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (-.f64 1 a)) (*.f64 (*.f64 b b) (+.f64 3 a))))) 1) | |
| ▶ | 0.0b | (+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -1)) |
Compiled 166 to 104 computations (37.3% saved)
Found 4 expressions with local error:
| New | Error | Program |
| ✓ | 0.0b | (pow.f64 (hypot.f64 a b) 4) |
| ✓ | 0.0b | (hypot.f64 a b) |
| ✓ | 0.1b | (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) |
| ✓ | 0.9b | (*.f64 (*.f64 b b) (+.f64 a 3)) |
4 calls:
| 34.0ms | (pow.f64 (hypot.f64 a b) 4) |
| 13.0ms | (hypot.f64 a b) |
| 11.0ms | (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) |
| 9.0ms | (*.f64 (*.f64 b b) (+.f64 a 3)) |
| 2× | batch-egg-rewrite |
| 85× | egg-rr |
2 calls:
| 66.0ms | ((*.f64 (*.f64 b b) (+.f64 a 3)) (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) (hypot.f64 a b) (pow.f64 (hypot.f64 a b) 4)) |
| 0.0ms | () |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 14 | 41 |
| 1 | 305 | 41 |
| 2 | 3411 | 41 |
| 3 | 5290 | 41 |
| 0 | 0 | 0 |
| 1 | 0 | 0 |
| 1× | egg-herbie |
| 859× | fma-neg_binary64 |
| 590× | cancel-sign-sub-inv_binary64 |
| 287× | neg-mul-1_binary64 |
| 276× | neg-sub0_binary64 |
| 267× | fma-def_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 68 | 1506 |
| 1 | 210 | 1468 |
| 2 | 639 | 1424 |
| 3 | 2563 | 1424 |
| 4 | 4250 | 1424 |
| 5 | 5090 | 1424 |
2 alts after pruning (1 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 140 | 0 | 140 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 140 | 2 | 142 |
| Status | Error | Program |
| ▶ | 0.2b | (-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (-.f64 1 a)) (*.f64 (*.f64 b b) (+.f64 3 a))))) 1) |
| ✓ | 0.0b | (+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -1)) |
Compiled 4168 to 2401 computations (42.4% saved)
Found 4 expressions with local error:
| New | Error | Program |
| ✓ | 0.0b | (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (-.f64 1 a)) (*.f64 (*.f64 b b) (+.f64 3 a)))) |
| ✓ | 0.1b | (*.f64 (*.f64 a a) (-.f64 1 a)) |
| ✓ | 0.3b | (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) |
| ✓ | 0.9b | (*.f64 (*.f64 b b) (+.f64 3 a)) |
4 calls:
| 19.0ms | (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (-.f64 1 a)) (*.f64 (*.f64 b b) (+.f64 3 a)))) |
| 13.0ms | (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) |
| 8.0ms | (*.f64 (*.f64 b b) (+.f64 3 a)) |
| 3.0ms | (*.f64 (*.f64 a a) (-.f64 1 a)) |
| 2× | batch-egg-rewrite |
| 107× | egg-rr |
2 calls:
| 84.0ms | ((*.f64 (*.f64 b b) (+.f64 3 a)) (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 (*.f64 a a) (-.f64 1 a)) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (-.f64 1 a)) (*.f64 (*.f64 b b) (+.f64 3 a))))) |
| 0.0ms | () |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 17 | 54 |
| 1 | 389 | 53 |
| 2 | 4889 | 53 |
| 3 | 5323 | 53 |
| 0 | 0 | 0 |
| 1 | 0 | 0 |
| 1× | egg-herbie |
| 848× | fma-neg_binary64 |
| 710× | cancel-sign-sub-inv_binary64 |
| 669× | associate-*l*_binary64 |
| 552× | unswap-sqr_binary64 |
| 488× | associate-*r*_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 39 | 1326 |
| 1 | 107 | 1232 |
| 2 | 307 | 1152 |
| 3 | 929 | 1152 |
| 4 | 2408 | 1152 |
| 5 | 5051 | 1152 |
2 alts after pruning (0 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 144 | 0 | 144 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 144 | 2 | 146 |
| Status | Error | Program |
| ✓ | 0.2b | (-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (-.f64 1 a)) (*.f64 (*.f64 b b) (+.f64 3 a))))) 1) |
| ✓ | 0.0b | (+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -1)) |
Compiled 5119 to 2762 computations (46% saved)
Total 0.1b remaining (81.2%)
Threshold costs 0.1b (81.2%)
Compiled 5079 to 3473 computations (31.6% saved)
| 1× | egg-herbie |
| 3× | +-commutative_binary64 |
| 2× | *-commutative_binary64 |
| 2× | sub-neg_binary64 |
| 1× | neg-sub0_binary64 |
| 1× | neg-mul-1_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 16 | 30 |
| 1 | 22 | 30 |
| 2 | 25 | 30 |
| 3 | 27 | 30 |
| 4 | 28 | 30 |
| 5 | 27 | 30 |
Compiled 102 to 68 computations (33.3% saved)
Loading profile data...