Time bar (total: 11.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 |
| 0% | 99.9% | 0.1% | 5 |
| 25% | 74.9% | 0.1% | 6 |
| 25% | 74.9% | 0.1% | 7 |
| 25% | 74.9% | 0.1% | 8 |
| 25% | 74.9% | 0.1% | 9 |
| 25% | 64% | 11.1% | 10 |
| 31.2% | 54.6% | 14.2% | 11 |
| 39% | 44.1% | 16.9% | 12 |
| 39% | 41.5% | 19.5% | 13 |
| 42.9% | 37% | 20.1% | 14 |
Compiled 23 to 16 computations (30.4% saved)
(sort a1 a2)
| 1.4s | 1773× | body | 1024 | valid |
| 1.2s | 1620× | body | 1024 | invalid |
| 1.0s | 5106× | body | 128 | valid |
| 464.0ms | 908× | body | 512 | valid |
| 399.0ms | 776× | body | 512 | invalid |
| 161.0ms | 464× | body | 256 | valid |
| 139.0ms | 400× | body | 256 | invalid |
| 138.0ms | 696× | body | 128 | invalid |
| 6.0ms | 5× | body | 2048 | valid |
Compiled 68 to 47 computations (30.9% saved)
| 1× | egg-herbie |
| 32× | fma-def_binary64 |
| 23× | *-commutative_binary64 |
| 20× | associate-/l*_binary64 |
| 11× | associate-/r/_binary64 |
| 9× | associate-*r/_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 13 | 20 |
| 1 | 27 | 18 |
| 2 | 53 | 18 |
| 3 | 76 | 18 |
| 4 | 103 | 18 |
| 5 | 117 | 18 |
| 6 | 132 | 18 |
| 7 | 134 | 18 |
| 8 | 136 | 18 |
| 9 | 136 | 18 |
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.7b | (+.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a1 a1)) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a2 a2))) | |
| ▶ | 0.7b | (*.f64 (cos.f64 th) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (sqrt.f64 2))) |
Compiled 108 to 70 computations (35.2% saved)
Found 3 expressions with local error:
| New | Error | Program |
| ✓ | 0.0b | (fma.f64 a1 a1 (*.f64 a2 a2)) |
| ✓ | 0.3b | (*.f64 (cos.f64 th) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (sqrt.f64 2))) |
| ✓ | 0.4b | (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (sqrt.f64 2)) |
3 calls:
| 57.0ms | (*.f64 (cos.f64 th) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (sqrt.f64 2))) |
| 19.0ms | (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (sqrt.f64 2)) |
| 6.0ms | (fma.f64 a1 a1 (*.f64 a2 a2)) |
| 1× | rewrite-expression-head |
| 40× | add-sqr-sqrt_binary64 |
| 38× | times-frac_binary64 |
| 32× | *-un-lft-identity_binary64 |
| 32× | add-cube-cbrt_binary64 |
| 22× | associate-*r*_binary64 |
3 calls:
| 7.0ms | (*.f64 (cos.f64 th) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (sqrt.f64 2))) |
| 3.0ms | (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (sqrt.f64 2)) |
| 0.0ms | (fma.f64 a1 a1 (*.f64 a2 a2)) |
| 1× | egg-herbie |
| 456× | associate-*l*_binary64 |
| 410× | associate-*r*_binary64 |
| 396× | fma-neg_binary64 |
| 332× | associate-/l*_binary64 |
| 299× | sub-neg_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 174 | 3607 |
| 1 | 368 | 3275 |
| 2 | 1296 | 3231 |
| 3 | 4370 | 3231 |
| 4 | 5109 | 3231 |
8 alts after pruning (8 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 166 | 8 | 174 |
| Fresh | 1 | 0 | 1 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 168 | 8 | 176 |
| Status | Error | Program |
| 0.8b | (*.f64 (/.f64 (cos.f64 th) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (cbrt.f64 (sqrt.f64 2)))) | |
| 28.1b | (*.f64 (cos.f64 th) (/.f64 (pow.f64 a2 2) (sqrt.f64 2))) | |
| 0.9b | (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 (sqrt.f64 2))) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (sqrt.f64 (sqrt.f64 2)))) | |
| 0.7b | (*.f64 (*.f64 (cos.f64 th) (hypot.f64 a2 a1)) (/.f64 (sqrt.f64 (fma.f64 a1 a1 (*.f64 a2 a2))) (sqrt.f64 2))) | |
| 0.8b | (*.f64 (*.f64 (cos.f64 th) (/.f64 (hypot.f64 a2 a1) (sqrt.f64 (sqrt.f64 2)))) (/.f64 (sqrt.f64 (fma.f64 a1 a1 (*.f64 a2 a2))) (sqrt.f64 (sqrt.f64 2)))) | |
| 1.4b | (*.f64 (*.f64 (cos.f64 th) (/.f64 (*.f64 (cbrt.f64 (fma.f64 a1 a1 (*.f64 a2 a2))) (cbrt.f64 (fma.f64 a1 a1 (*.f64 a2 a2)))) (sqrt.f64 (sqrt.f64 2)))) (/.f64 (cbrt.f64 (fma.f64 a1 a1 (*.f64 a2 a2))) (sqrt.f64 (sqrt.f64 2)))) | |
| ▶ | 0.6b | (*.f64 (cos.f64 th) (/.f64 (sqrt.f64 (fma.f64 a1 a1 (*.f64 a2 a2))) (/.f64 (sqrt.f64 2) (hypot.f64 a2 a1)))) |
| 1.4b | (*.f64 (cos.f64 th) (/.f64 (*.f64 (cbrt.f64 (fma.f64 a1 a1 (*.f64 a2 a2))) (cbrt.f64 (fma.f64 a1 a1 (*.f64 a2 a2)))) (/.f64 (sqrt.f64 2) (cbrt.f64 (fma.f64 a2 a2 (*.f64 a1 a1)))))) |
Compiled 4145 to 1915 computations (53.8% saved)
Found 4 expressions with local error:
| New | Error | Program |
| ✓ | 0.2b | (/.f64 (sqrt.f64 (fma.f64 a1 a1 (*.f64 a2 a2))) (/.f64 (sqrt.f64 2) (hypot.f64 a2 a1))) |
| ✓ | 0.3b | (*.f64 (cos.f64 th) (/.f64 (sqrt.f64 (fma.f64 a1 a1 (*.f64 a2 a2))) (/.f64 (sqrt.f64 2) (hypot.f64 a2 a1)))) |
| ✓ | 0.4b | (/.f64 (sqrt.f64 2) (hypot.f64 a2 a1)) |
| ✓ | 6.8b | (sqrt.f64 (fma.f64 a1 a1 (*.f64 a2 a2))) |
4 calls:
| 189.0ms | (*.f64 (cos.f64 th) (/.f64 (sqrt.f64 (fma.f64 a1 a1 (*.f64 a2 a2))) (/.f64 (sqrt.f64 2) (hypot.f64 a2 a1)))) |
| 115.0ms | (/.f64 (sqrt.f64 (fma.f64 a1 a1 (*.f64 a2 a2))) (/.f64 (sqrt.f64 2) (hypot.f64 a2 a1))) |
| 23.0ms | (/.f64 (sqrt.f64 2) (hypot.f64 a2 a1)) |
| 16.0ms | (sqrt.f64 (fma.f64 a1 a1 (*.f64 a2 a2))) |
| 1× | rewrite-expression-head |
| 526× | times-frac_binary64 |
| 306× | add-sqr-sqrt_binary64 |
| 281× | *-un-lft-identity_binary64 |
| 281× | add-cube-cbrt_binary64 |
| 272× | sqrt-prod_binary64 |
4 calls:
| 29.0ms | (*.f64 (cos.f64 th) (/.f64 (sqrt.f64 (fma.f64 a1 a1 (*.f64 a2 a2))) (/.f64 (sqrt.f64 2) (hypot.f64 a2 a1)))) |
| 8.0ms | (/.f64 (sqrt.f64 (fma.f64 a1 a1 (*.f64 a2 a2))) (/.f64 (sqrt.f64 2) (hypot.f64 a2 a1))) |
| 5.0ms | (/.f64 (sqrt.f64 2) (hypot.f64 a2 a1)) |
| 1.0ms | (sqrt.f64 (fma.f64 a1 a1 (*.f64 a2 a2))) |
| 1× | egg-herbie |
| 609× | fma-def_binary64 |
| 355× | associate-/r/_binary64 |
| 280× | *-commutative_binary64 |
| 274× | cancel-sign-sub-inv_binary64 |
| 268× | associate-/l*_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 476 | 16630 |
| 1 | 1170 | 13399 |
| 2 | 3925 | 12746 |
| 3 | 4782 | 12746 |
| 4 | 4931 | 12746 |
7 alts after pruning (7 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 567 | 5 | 572 |
| Fresh | 5 | 2 | 7 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 573 | 7 | 580 |
| Status | Error | Program |
| 0.9b | (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 (sqrt.f64 2))) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (sqrt.f64 (sqrt.f64 2)))) | |
| ▶ | 0.4b | (/.f64 (*.f64 (cos.f64 th) (hypot.f64 a2 a1)) (/.f64 (sqrt.f64 2) (hypot.f64 a2 a1))) |
| 0.8b | (*.f64 (/.f64 (cos.f64 th) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (cbrt.f64 (sqrt.f64 2)))) | |
| 0.4b | (*.f64 (*.f64 (cos.f64 th) (/.f64 (hypot.f64 a2 a1) (sqrt.f64 2))) (hypot.f64 a2 a1)) | |
| 0.7b | (*.f64 (cos.f64 th) (/.f64 (/.f64 (hypot.f64 a2 a1) (sqrt.f64 (sqrt.f64 2))) (/.f64 (sqrt.f64 (sqrt.f64 2)) (hypot.f64 a2 a1)))) | |
| 0.6b | (*.f64 (cos.f64 th) (/.f64 (sqrt.f64 (fma.f64 a1 a1 (*.f64 a2 a2))) (sqrt.f64 (/.f64 2 (fma.f64 a2 a2 (*.f64 a1 a1)))))) | |
| 0.9b | (*.f64 (cos.f64 th) (/.f64 (/.f64 (sqrt.f64 (fma.f64 a1 a1 (*.f64 a2 a2))) (/.f64 1 (sqrt.f64 (hypot.f64 a2 a1)))) (/.f64 (sqrt.f64 2) (sqrt.f64 (hypot.f64 a2 a1))))) |
Compiled 18099 to 7144 computations (60.5% saved)
Found 4 expressions with local error:
| New | Error | Program |
| ✓ | 0.0b | (hypot.f64 a2 a1) |
| ✓ | 0.1b | (*.f64 (cos.f64 th) (hypot.f64 a2 a1)) |
| ✓ | 0.3b | (/.f64 (*.f64 (cos.f64 th) (hypot.f64 a2 a1)) (/.f64 (sqrt.f64 2) (hypot.f64 a2 a1))) |
| 0.4b | (/.f64 (sqrt.f64 2) (hypot.f64 a2 a1)) |
3 calls:
| 159.0ms | (/.f64 (*.f64 (cos.f64 th) (hypot.f64 a2 a1)) (/.f64 (sqrt.f64 2) (hypot.f64 a2 a1))) |
| 38.0ms | (*.f64 (cos.f64 th) (hypot.f64 a2 a1)) |
| 13.0ms | (hypot.f64 a2 a1) |
| 1× | rewrite-expression-head |
| 58× | times-frac_binary64 |
| 33× | add-sqr-sqrt_binary64 |
| 31× | *-un-lft-identity_binary64 |
| 31× | add-cube-cbrt_binary64 |
| 22× | associate-/r*_binary64 |
3 calls:
| 7.0ms | (/.f64 (*.f64 (cos.f64 th) (hypot.f64 a2 a1)) (/.f64 (sqrt.f64 2) (hypot.f64 a2 a1))) |
| 3.0ms | (*.f64 (cos.f64 th) (hypot.f64 a2 a1)) |
| 0.0ms | (hypot.f64 a2 a1) |
| 1× | egg-herbie |
| 791× | associate-/r/_binary64 |
| 477× | fma-def_binary64 |
| 298× | cancel-sign-sub-inv_binary64 |
| 276× | associate-/l*_binary64 |
| 213× | fma-neg_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 306 | 4690 |
| 1 | 808 | 4264 |
| 2 | 2930 | 4129 |
| 3 | 5130 | 4129 |
6 alts after pruning (5 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 361 | 3 | 364 |
| Fresh | 4 | 2 | 6 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 365 | 6 | 371 |
| Status | Error | Program |
| 0.9b | (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 (sqrt.f64 2))) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (sqrt.f64 (sqrt.f64 2)))) | |
| ✓ | 0.4b | (/.f64 (*.f64 (cos.f64 th) (hypot.f64 a2 a1)) (/.f64 (sqrt.f64 2) (hypot.f64 a2 a1))) |
| 0.7b | (*.f64 (cos.f64 th) (/.f64 (/.f64 (hypot.f64 a2 a1) (sqrt.f64 (sqrt.f64 2))) (/.f64 (sqrt.f64 (sqrt.f64 2)) (hypot.f64 a2 a1)))) | |
| ▶ | 0.6b | (/.f64 (*.f64 (cos.f64 th) (hypot.f64 a2 a1)) (sqrt.f64 (/.f64 2 (fma.f64 a2 a2 (*.f64 a1 a1))))) |
| 0.7b | (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (fma.f64 a1 a1 (*.f64 a2 a2))) | |
| 0.7b | (*.f64 (*.f64 (cos.f64 th) (sqrt.f64 (hypot.f64 a1 a2))) (/.f64 (hypot.f64 a1 a2) (/.f64 (sqrt.f64 2) (sqrt.f64 (hypot.f64 a1 a2))))) |
Compiled 8810 to 4375 computations (50.3% saved)
Found 4 expressions with local error:
| New | Error | Program |
| 0.1b | (*.f64 (cos.f64 th) (hypot.f64 a2 a1)) | |
| ✓ | 0.3b | (/.f64 (*.f64 (cos.f64 th) (hypot.f64 a2 a1)) (sqrt.f64 (/.f64 2 (fma.f64 a2 a2 (*.f64 a1 a1))))) |
| ✓ | 0.4b | (/.f64 2 (fma.f64 a2 a2 (*.f64 a1 a1))) |
| ✓ | 7.0b | (sqrt.f64 (/.f64 2 (fma.f64 a2 a2 (*.f64 a1 a1)))) |
3 calls:
| 190.0ms | (/.f64 (*.f64 (cos.f64 th) (hypot.f64 a2 a1)) (sqrt.f64 (/.f64 2 (fma.f64 a2 a2 (*.f64 a1 a1))))) |
| 27.0ms | (sqrt.f64 (/.f64 2 (fma.f64 a2 a2 (*.f64 a1 a1)))) |
| 19.0ms | (/.f64 2 (fma.f64 a2 a2 (*.f64 a1 a1))) |
| 1× | rewrite-expression-head |
| 53× | times-frac_binary64 |
| 39× | sqrt-prod_binary64 |
| 37× | add-sqr-sqrt_binary64 |
| 34× | *-un-lft-identity_binary64 |
| 34× | add-cube-cbrt_binary64 |
3 calls:
| 6.0ms | (/.f64 (*.f64 (cos.f64 th) (hypot.f64 a2 a1)) (sqrt.f64 (/.f64 2 (fma.f64 a2 a2 (*.f64 a1 a1))))) |
| 2.0ms | (sqrt.f64 (/.f64 2 (fma.f64 a2 a2 (*.f64 a1 a1)))) |
| 2.0ms | (/.f64 2 (fma.f64 a2 a2 (*.f64 a1 a1))) |
| 1× | egg-herbie |
| 604× | associate-/r*_binary64 |
| 407× | fma-def_binary64 |
| 363× | associate-/r/_binary64 |
| 339× | associate-/l/_binary64 |
| 270× | cancel-sign-sub-inv_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 303 | 5202 |
| 1 | 703 | 4747 |
| 2 | 2312 | 4657 |
| 3 | 5201 | 4657 |
6 alts after pruning (4 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 320 | 0 | 320 |
| Fresh | 0 | 4 | 4 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 320 | 6 | 326 |
| Status | Error | Program |
| 0.9b | (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 (sqrt.f64 2))) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (sqrt.f64 (sqrt.f64 2)))) | |
| ✓ | 0.4b | (/.f64 (*.f64 (cos.f64 th) (hypot.f64 a2 a1)) (/.f64 (sqrt.f64 2) (hypot.f64 a2 a1))) |
| 0.7b | (*.f64 (cos.f64 th) (/.f64 (/.f64 (hypot.f64 a2 a1) (sqrt.f64 (sqrt.f64 2))) (/.f64 (sqrt.f64 (sqrt.f64 2)) (hypot.f64 a2 a1)))) | |
| ✓ | 0.6b | (/.f64 (*.f64 (cos.f64 th) (hypot.f64 a2 a1)) (sqrt.f64 (/.f64 2 (fma.f64 a2 a2 (*.f64 a1 a1))))) |
| 0.7b | (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (fma.f64 a1 a1 (*.f64 a2 a2))) | |
| 0.7b | (*.f64 (*.f64 (cos.f64 th) (sqrt.f64 (hypot.f64 a1 a2))) (/.f64 (hypot.f64 a1 a2) (/.f64 (sqrt.f64 2) (sqrt.f64 (hypot.f64 a1 a2))))) |
Compiled 8685 to 3787 computations (56.4% saved)
Total 0.4b remaining (95.1%)
Threshold costs 0.4b (95.1%)
Compiled 51788 to 34373 computations (33.6% saved)
| 1× | egg-herbie |
| 1× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 20 |
| 1 | 12 | 20 |
| 2 | 12 | 20 |
(sort a1 a2)
Compiled 177 to 114 computations (35.6% saved)
Loading profile data...