Time bar (total: 2.7s)
| 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.4s | 8256× | body | 128 | valid |
| 1.0ms | 5× | 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.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)) |
| 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) |
Compiled 166 to 104 computations (37.3% saved)
Found 4 expressions with local error:
| New | Error | Program |
| ✓ | 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)) |
| ✓ | 0.0b | (pow.f64 (hypot.f64 a b) 4) |
| ✓ | 0.1b | (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) |
| ✓ | 0.5b | (*.f64 (*.f64 b b) (+.f64 a 3)) |
4 calls:
| 30.0ms | (+.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)) |
| 30.0ms | (pow.f64 (hypot.f64 a b) 4) |
| 12.0ms | (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) |
| 7.0ms | (*.f64 (*.f64 b b) (+.f64 a 3)) |
| 1× | rewrite-expression-head |
| 13× | *-un-lft-identity_binary64 |
| 10× | add-sqr-sqrt_binary64 |
| 10× | add-exp-log_binary64 |
| 10× | pow1_binary64 |
| 9× | add-cube-cbrt_binary64 |
4 calls:
| 6.0ms | (*.f64 (*.f64 b b) (+.f64 a 3)) |
| 5.0ms | (+.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)) |
| 1.0ms | (pow.f64 (hypot.f64 a b) 4) |
| 0.0ms | (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) |
| 1× | egg-herbie |
| 574× | associate-+l+_binary64 |
| 469× | distribute-rgt-in_binary64 |
| 453× | distribute-lft-in_binary64 |
| 338× | associate--l+_binary64 |
| 219× | cancel-sign-sub-inv_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 174 | 3413 |
| 1 | 464 | 3143 |
| 2 | 1556 | 3045 |
| 3 | 5074 | 3045 |
2 alts after pruning (1 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 161 | 1 | 162 |
| Fresh | 1 | 0 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 162 | 2 | 164 |
| Status | Error | Program |
| ✓ | 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)) |
| ▶ | 0.2b | (+.f64 (pow.f64 (pow.f64 (hypot.f64 a b) 2) (sqrt.f64 4)) (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -1)) |
Compiled 4887 to 2850 computations (41.7% saved)
Found 4 expressions with local error:
| New | Error | Program |
| ✓ | 0.0b | (pow.f64 (hypot.f64 a b) 2) |
| 0.1b | (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) | |
| ✓ | 0.3b | (pow.f64 (pow.f64 (hypot.f64 a b) 2) (sqrt.f64 4)) |
| 0.5b | (*.f64 (*.f64 b b) (+.f64 a 3)) |
2 calls:
| 38.0ms | (pow.f64 (hypot.f64 a b) 2) |
| 31.0ms | (pow.f64 (pow.f64 (hypot.f64 a b) 2) (sqrt.f64 4)) |
| 1× | rewrite-expression-head |
| 14× | unpow-prod-down_binary64 |
| 9× | pow-unpow_binary64 |
| 8× | *-un-lft-identity_binary64 |
| 8× | add-sqr-sqrt_binary64 |
| 8× | add-cube-cbrt_binary64 |
2 calls:
| 3.0ms | (pow.f64 (pow.f64 (hypot.f64 a b) 2) (sqrt.f64 4)) |
| 2.0ms | (pow.f64 (hypot.f64 a b) 2) |
| 1× | egg-herbie |
| 467× | fma-def_binary64 |
| 456× | associate-/l/_binary64 |
| 413× | sqr-pow_binary64 |
| 353× | *-commutative_binary64 |
| 334× | log-prod_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 73 | 1237 |
| 1 | 141 | 1046 |
| 2 | 302 | 1013 |
| 3 | 892 | 1010 |
| 4 | 1517 | 1007 |
| 5 | 3029 | 1007 |
| 6 | 4733 | 1007 |
| 7 | 4757 | 1007 |
2 alts after pruning (0 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 151 | 0 | 151 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 151 | 2 | 153 |
| Status | Error | Program |
| ✓ | 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)) |
| ✓ | 0.2b | (+.f64 (pow.f64 (pow.f64 (hypot.f64 a b) 2) (sqrt.f64 4)) (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -1)) |
Compiled 4690 to 2829 computations (39.7% saved)
Total 0.0b remaining (59.2%)
Threshold costs 0.0b (59.2%)
Compiled 4976 to 3600 computations (27.7% 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 99 to 69 computations (30.3% saved)
Loading profile data...