Time bar (total: 4.9s)
| 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 | (+.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.1b | (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) |
| ✓ | 0.3b | (*.f64 (*.f64 b b) (+.f64 a 3)) |
4 calls:
| 35.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)) |
| 33.0ms | (pow.f64 (hypot.f64 a b) 4) |
| 13.0ms | (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) |
| 8.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:
| 8.0ms | (*.f64 (*.f64 b b) (+.f64 a 3)) |
| 4.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)) |
| 2.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 |
4 alts after pruning (4 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 158 | 4 | 162 |
| Fresh | 1 | 0 | 1 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 160 | 4 | 164 |
| Status | Error | Program |
| ▶ | 0.0b | (-.f64 (+.f64 (*.f64 4 (pow.f64 a 2)) (+.f64 (*.f64 4 (*.f64 a (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 12 (pow.f64 b 2)) (pow.f64 b 4)))))) (+.f64 1 (*.f64 4 (pow.f64 a 3)))) |
| 0.1b | (+.f64 (*.f64 (*.f64 b b) (+.f64 (+.f64 12 (*.f64 b b)) (*.f64 a (+.f64 4 (*.f64 2 a))))) (fma.f64 (*.f64 a a) 4 (+.f64 (*.f64 (pow.f64 a 3) (-.f64 a 4)) -1))) | |
| 0.0b | (+.f64 (fma.f64 (-.f64 (fma.f64 a a (*.f64 (+.f64 3 a) (*.f64 b b))) (pow.f64 a 3)) 4 (pow.f64 (hypot.f64 a b) 4)) -1) | |
| 13.3b | (cbrt.f64 (pow.f64 (+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 (-.f64 (fma.f64 a a (*.f64 (+.f64 3 a) (*.f64 b b))) (pow.f64 a 3)) 4 -1)) 3)) |
Compiled 5038 to 2969 computations (41.1% saved)
Found 4 expressions with local error:
| New | Error | Program |
| ✓ | 0.0b | (*.f64 4 (*.f64 a (pow.f64 b 2))) |
| ✓ | 0.2b | (*.f64 a (pow.f64 b 2)) |
| ✓ | 0.3b | (*.f64 12 (pow.f64 b 2)) |
| ✓ | 1.8b | (*.f64 (pow.f64 a 2) (pow.f64 b 2)) |
4 calls:
| 16.0ms | (*.f64 4 (*.f64 a (pow.f64 b 2))) |
| 12.0ms | (*.f64 (pow.f64 a 2) (pow.f64 b 2)) |
| 8.0ms | (*.f64 a (pow.f64 b 2)) |
| 2.0ms | (*.f64 12 (pow.f64 b 2)) |
| 1× | rewrite-expression-head |
| 43× | add-sqr-sqrt_binary64 |
| 36× | add-exp-log_binary64 |
| 25× | associate-*r*_binary64 |
| 24× | unswap-sqr_binary64 |
| 22× | unpow-prod-down_binary64 |
4 calls:
| 6.0ms | (*.f64 (pow.f64 a 2) (pow.f64 b 2)) |
| 5.0ms | (*.f64 a (pow.f64 b 2)) |
| 4.0ms | (*.f64 12 (pow.f64 b 2)) |
| 4.0ms | (*.f64 4 (*.f64 a (pow.f64 b 2))) |
| 1× | egg-herbie |
| 893× | fma-def_binary64 |
| 369× | *-commutative_binary64 |
| 303× | sqr-pow_binary64 |
| 237× | associate-/l/_binary64 |
| 230× | exp-prod_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 162 | 1455 |
| 1 | 295 | 1266 |
| 2 | 859 | 1241 |
| 3 | 1567 | 1178 |
| 4 | 2616 | 1178 |
| 5 | 4804 | 1178 |
| 6 | 4941 | 1178 |
4 alts after pruning (3 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 186 | 0 | 186 |
| Fresh | 0 | 3 | 3 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 186 | 4 | 190 |
| Status | Error | Program |
| ✓ | 0.0b | (-.f64 (+.f64 (*.f64 4 (pow.f64 a 2)) (+.f64 (*.f64 4 (*.f64 a (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 12 (pow.f64 b 2)) (pow.f64 b 4)))))) (+.f64 1 (*.f64 4 (pow.f64 a 3)))) |
| 0.1b | (+.f64 (*.f64 (*.f64 b b) (+.f64 (+.f64 12 (*.f64 b b)) (*.f64 a (+.f64 4 (*.f64 2 a))))) (fma.f64 (*.f64 a a) 4 (+.f64 (*.f64 (pow.f64 a 3) (-.f64 a 4)) -1))) | |
| ▶ | 0.0b | (+.f64 (fma.f64 (-.f64 (fma.f64 a a (*.f64 (+.f64 3 a) (*.f64 b b))) (pow.f64 a 3)) 4 (pow.f64 (hypot.f64 a b) 4)) -1) |
| 13.3b | (cbrt.f64 (pow.f64 (+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 (-.f64 (fma.f64 a a (*.f64 (+.f64 3 a) (*.f64 b b))) (pow.f64 a 3)) 4 -1)) 3)) |
Compiled 9647 to 7437 computations (22.9% saved)
Found 4 expressions with local error:
| New | Error | Program |
| 0.0b | (pow.f64 (hypot.f64 a b) 4) | |
| ✓ | 0.0b | (-.f64 (fma.f64 a a (*.f64 (+.f64 3 a) (*.f64 b b))) (pow.f64 a 3)) |
| ✓ | 0.0b | (fma.f64 (-.f64 (fma.f64 a a (*.f64 (+.f64 3 a) (*.f64 b b))) (pow.f64 a 3)) 4 (pow.f64 (hypot.f64 a b) 4)) |
| ✓ | 0.3b | (*.f64 (+.f64 3 a) (*.f64 b b)) |
3 calls:
| 41.0ms | (fma.f64 (-.f64 (fma.f64 a a (*.f64 (+.f64 3 a) (*.f64 b b))) (pow.f64 a 3)) 4 (pow.f64 (hypot.f64 a b) 4)) |
| 12.0ms | (-.f64 (fma.f64 a a (*.f64 (+.f64 3 a) (*.f64 b b))) (pow.f64 a 3)) |
| 8.0ms | (*.f64 (+.f64 3 a) (*.f64 b b)) |
| 1× | rewrite-expression-head |
| 37× | add-sqr-sqrt_binary64 |
| 36× | prod-diff_binary64 |
| 33× | *-un-lft-identity_binary64 |
| 29× | add-cube-cbrt_binary64 |
| 13× | cube-prod_binary64 |
3 calls:
| 8.0ms | (-.f64 (fma.f64 a a (*.f64 (+.f64 3 a) (*.f64 b b))) (pow.f64 a 3)) |
| 6.0ms | (*.f64 (+.f64 3 a) (*.f64 b b)) |
| 0.0ms | (fma.f64 (-.f64 (fma.f64 a a (*.f64 (+.f64 3 a) (*.f64 b b))) (pow.f64 a 3)) 4 (pow.f64 (hypot.f64 a b) 4)) |
| 1× | egg-herbie |
| 548× | distribute-rgt-in_binary64 |
| 515× | fma-neg_binary64 |
| 502× | exp-prod_binary64 |
| 458× | cancel-sign-sub-inv_binary64 |
| 247× | unswap-sqr_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 221 | 4043 |
| 1 | 447 | 3644 |
| 2 | 1699 | 3331 |
| 3 | 4274 | 3318 |
| 4 | 4869 | 3318 |
| 5 | 4953 | 3318 |
| 6 | 4906 | 3318 |
4 alts after pruning (2 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 195 | 0 | 195 |
| Fresh | 0 | 2 | 2 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 195 | 4 | 199 |
| Status | Error | Program |
| ✓ | 0.0b | (-.f64 (+.f64 (*.f64 4 (pow.f64 a 2)) (+.f64 (*.f64 4 (*.f64 a (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 12 (pow.f64 b 2)) (pow.f64 b 4)))))) (+.f64 1 (*.f64 4 (pow.f64 a 3)))) |
| ▶ | 0.1b | (+.f64 (*.f64 (*.f64 b b) (+.f64 (+.f64 12 (*.f64 b b)) (*.f64 a (+.f64 4 (*.f64 2 a))))) (fma.f64 (*.f64 a a) 4 (+.f64 (*.f64 (pow.f64 a 3) (-.f64 a 4)) -1))) |
| ✓ | 0.0b | (+.f64 (fma.f64 (-.f64 (fma.f64 a a (*.f64 (+.f64 3 a) (*.f64 b b))) (pow.f64 a 3)) 4 (pow.f64 (hypot.f64 a b) 4)) -1) |
| 13.3b | (cbrt.f64 (pow.f64 (+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 (-.f64 (fma.f64 a a (*.f64 (+.f64 3 a) (*.f64 b b))) (pow.f64 a 3)) 4 -1)) 3)) |
Compiled 6780 to 4077 computations (39.9% saved)
Found 4 expressions with local error:
| New | Error | Program |
| ✓ | 0.0b | (+.f64 (*.f64 (*.f64 b b) (+.f64 (+.f64 12 (*.f64 b b)) (*.f64 a (+.f64 4 (*.f64 2 a))))) (fma.f64 (*.f64 a a) 4 (+.f64 (*.f64 (pow.f64 a 3) (-.f64 a 4)) -1))) |
| ✓ | 0.0b | (*.f64 a (+.f64 4 (*.f64 2 a))) |
| ✓ | 0.1b | (*.f64 (pow.f64 a 3) (-.f64 a 4)) |
| ✓ | 1.2b | (*.f64 (*.f64 b b) (+.f64 (+.f64 12 (*.f64 b b)) (*.f64 a (+.f64 4 (*.f64 2 a))))) |
4 calls:
| 30.0ms | (+.f64 (*.f64 (*.f64 b b) (+.f64 (+.f64 12 (*.f64 b b)) (*.f64 a (+.f64 4 (*.f64 2 a))))) (fma.f64 (*.f64 a a) 4 (+.f64 (*.f64 (pow.f64 a 3) (-.f64 a 4)) -1))) |
| 18.0ms | (*.f64 (*.f64 b b) (+.f64 (+.f64 12 (*.f64 b b)) (*.f64 a (+.f64 4 (*.f64 2 a))))) |
| 3.0ms | (*.f64 (pow.f64 a 3) (-.f64 a 4)) |
| 2.0ms | (*.f64 a (+.f64 4 (*.f64 2 a))) |
| 1× | rewrite-expression-head |
| 37× | add-sqr-sqrt_binary64 |
| 27× | *-un-lft-identity_binary64 |
| 25× | add-cube-cbrt_binary64 |
| 18× | prod-diff_binary64 |
| 16× | associate-*l*_binary64 |
4 calls:
| 8.0ms | (+.f64 (*.f64 (*.f64 b b) (+.f64 (+.f64 12 (*.f64 b b)) (*.f64 a (+.f64 4 (*.f64 2 a))))) (fma.f64 (*.f64 a a) 4 (+.f64 (*.f64 (pow.f64 a 3) (-.f64 a 4)) -1))) |
| 7.0ms | (*.f64 (*.f64 b b) (+.f64 (+.f64 12 (*.f64 b b)) (*.f64 a (+.f64 4 (*.f64 2 a))))) |
| 7.0ms | (*.f64 (pow.f64 a 3) (-.f64 a 4)) |
| 7.0ms | (*.f64 a (+.f64 4 (*.f64 2 a))) |
| 1× | egg-herbie |
| 510× | fma-neg_binary64 |
| 496× | associate-*l*_binary64 |
| 455× | associate-*r*_binary64 |
| 333× | fma-def_binary64 |
| 235× | unswap-sqr_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 309 | 4913 |
| 1 | 844 | 3754 |
| 2 | 3812 | 3736 |
| 3 | 4980 | 3730 |
| 4 | 4949 | 3730 |
4 alts after pruning (1 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 239 | 0 | 239 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 2 | 2 |
| Total | 239 | 4 | 243 |
| Status | Error | Program |
| ✓ | 0.0b | (-.f64 (+.f64 (*.f64 4 (pow.f64 a 2)) (+.f64 (*.f64 4 (*.f64 a (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 12 (pow.f64 b 2)) (pow.f64 b 4)))))) (+.f64 1 (*.f64 4 (pow.f64 a 3)))) |
| ✓ | 0.1b | (+.f64 (*.f64 (*.f64 b b) (+.f64 (+.f64 12 (*.f64 b b)) (*.f64 a (+.f64 4 (*.f64 2 a))))) (fma.f64 (*.f64 a a) 4 (+.f64 (*.f64 (pow.f64 a 3) (-.f64 a 4)) -1))) |
| ✓ | 0.0b | (+.f64 (fma.f64 (-.f64 (fma.f64 a a (*.f64 (+.f64 3 a) (*.f64 b b))) (pow.f64 a 3)) 4 (pow.f64 (hypot.f64 a b) 4)) -1) |
| 13.3b | (cbrt.f64 (pow.f64 (+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 (-.f64 (fma.f64 a a (*.f64 (+.f64 3 a) (*.f64 b b))) (pow.f64 a 3)) 4 -1)) 3)) |
Compiled 10179 to 6500 computations (36.1% saved)
Total 0.0b remaining (72.8%)
Threshold costs 0.0b (72.8%)
Compiled 27561 to 19297 computations (30% saved)
| 1× | egg-herbie |
| 10× | +-commutative_binary64 |
| 10× | *-commutative_binary64 |
| 4× | sub-neg_binary64 |
| 3× | neg-sub0_binary64 |
| 3× | neg-mul-1_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 27 | 67 |
| 1 | 44 | 67 |
| 2 | 52 | 67 |
| 3 | 64 | 67 |
| 4 | 69 | 67 |
| 5 | 72 | 67 |
| 6 | 73 | 67 |
| 7 | 70 | 67 |
Compiled 228 to 174 computations (23.7% saved)
Loading profile data...