Time bar (total: 11.1s)
| 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 | 1894× | body | 1024 | valid |
| 1.1s | 1570× | body | 1024 | invalid |
| 887.0ms | 4947× | body | 128 | valid |
| 423.0ms | 906× | body | 512 | valid |
| 347.0ms | 753× | body | 512 | invalid |
| 193.0ms | 501× | body | 256 | valid |
| 134.0ms | 387× | body | 256 | invalid |
| 118.0ms | 642× | body | 128 | invalid |
| 9.0ms | 8× | body | 2048 | valid |
| 4.0ms | 2× | body | 2048 | invalid |
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.4b | (*.f64 (cos.f64 th) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (sqrt.f64 2))) |
| 0.5b | (+.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a1 a1)) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a2 a2))) |
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.1b | (*.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:
| 53.0ms | (*.f64 (cos.f64 th) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (sqrt.f64 2))) |
| 20.0ms | (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (sqrt.f64 2)) |
| 7.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 |
9 alts after pruning (9 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 165 | 9 | 174 |
| Fresh | 1 | 0 | 1 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 167 | 9 | 176 |
| Status | Error | Program |
| 0.4b | (/.f64 (*.f64 (cos.f64 th) (fma.f64 a1 a1 (*.f64 a2 a2))) (sqrt.f64 2)) | |
| ▶ | 0.4b | (*.f64 (cos.f64 th) (/.f64 (sqrt.f64 (fma.f64 a1 a1 (*.f64 a2 a2))) (/.f64 (sqrt.f64 2) (hypot.f64 a2 a1)))) |
| 0.6b | (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 (sqrt.f64 2))) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (sqrt.f64 (sqrt.f64 2)))) | |
| 1.1b | (*.f64 (cos.f64 th) (*.f64 (/.f64 1 (fabs.f64 (cbrt.f64 2))) (/.f64 (fma.f64 a2 a2 (*.f64 a1 a1)) (sqrt.f64 (cbrt.f64 2))))) | |
| 0.4b | (*.f64 (cos.f64 th) (/.f64 (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))) (cbrt.f64 (sqrt.f64 2)))) | |
| 0.6b | (*.f64 (cos.f64 th) (*.f64 (/.f64 (hypot.f64 a2 a1) (sqrt.f64 (sqrt.f64 2))) (/.f64 (hypot.f64 a2 a1) (sqrt.f64 (sqrt.f64 2))))) | |
| 0.6b | (*.f64 (cos.f64 th) (/.f64 1 (/.f64 (sqrt.f64 2) (fma.f64 a1 a1 (*.f64 a2 a2))))) | |
| 0.4b | (*.f64 (*.f64 (cos.f64 th) (hypot.f64 a2 a1)) (/.f64 (sqrt.f64 (fma.f64 a1 a1 (*.f64 a2 a2))) (sqrt.f64 2))) | |
| 0.7b | (*.f64 (cos.f64 th) (*.f64 (/.f64 1 (sqrt.f64 (sqrt.f64 2))) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (sqrt.f64 (sqrt.f64 2))))) |
Compiled 4127 to 1933 computations (53.2% saved)
Found 4 expressions with local error:
| New | Error | Program |
| ✓ | 0.1b | (*.f64 (cos.f64 th) (/.f64 (sqrt.f64 (fma.f64 a1 a1 (*.f64 a2 a2))) (/.f64 (sqrt.f64 2) (hypot.f64 a2 a1)))) |
| ✓ | 0.3b | (/.f64 (sqrt.f64 (fma.f64 a1 a1 (*.f64 a2 a2))) (/.f64 (sqrt.f64 2) (hypot.f64 a2 a1))) |
| ✓ | 0.5b | (/.f64 (sqrt.f64 2) (hypot.f64 a2 a1)) |
| ✓ | 6.3b | (sqrt.f64 (fma.f64 a1 a1 (*.f64 a2 a2))) |
4 calls:
| 192.0ms | (*.f64 (cos.f64 th) (/.f64 (sqrt.f64 (fma.f64 a1 a1 (*.f64 a2 a2))) (/.f64 (sqrt.f64 2) (hypot.f64 a2 a1)))) |
| 107.0ms | (/.f64 (sqrt.f64 (fma.f64 a1 a1 (*.f64 a2 a2))) (/.f64 (sqrt.f64 2) (hypot.f64 a2 a1))) |
| 26.0ms | (/.f64 (sqrt.f64 2) (hypot.f64 a2 a1)) |
| 12.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:
| 31.0ms | (*.f64 (cos.f64 th) (/.f64 (sqrt.f64 (fma.f64 a1 a1 (*.f64 a2 a2))) (/.f64 (sqrt.f64 2) (hypot.f64 a2 a1)))) |
| 9.0ms | (/.f64 (sqrt.f64 (fma.f64 a1 a1 (*.f64 a2 a2))) (/.f64 (sqrt.f64 2) (hypot.f64 a2 a1))) |
| 3.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 |
| 353× | 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 | 3926 | 12746 |
| 3 | 4782 | 12746 |
| 4 | 4931 | 12746 |
9 alts after pruning (8 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 571 | 1 | 572 |
| Fresh | 1 | 7 | 8 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 572 | 9 | 581 |
| Status | Error | Program |
| 0.4b | (/.f64 (*.f64 (cos.f64 th) (fma.f64 a1 a1 (*.f64 a2 a2))) (sqrt.f64 2)) | |
| ✓ | 0.4b | (*.f64 (cos.f64 th) (/.f64 (sqrt.f64 (fma.f64 a1 a1 (*.f64 a2 a2))) (/.f64 (sqrt.f64 2) (hypot.f64 a2 a1)))) |
| 0.6b | (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 (sqrt.f64 2))) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (sqrt.f64 (sqrt.f64 2)))) | |
| 1.1b | (*.f64 (cos.f64 th) (*.f64 (/.f64 1 (fabs.f64 (cbrt.f64 2))) (/.f64 (fma.f64 a2 a2 (*.f64 a1 a1)) (sqrt.f64 (cbrt.f64 2))))) | |
| 0.4b | (*.f64 (*.f64 (cos.f64 th) (hypot.f64 a2 a1)) (/.f64 1 (/.f64 (sqrt.f64 2) (hypot.f64 a2 a1)))) | |
| 0.7b | (*.f64 (cos.f64 th) (*.f64 (/.f64 1 (sqrt.f64 (sqrt.f64 2))) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (sqrt.f64 (sqrt.f64 2))))) | |
| ▶ | 0.4b | (*.f64 (cos.f64 th) (/.f64 (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))) (cbrt.f64 (sqrt.f64 2)))) |
| 0.6b | (*.f64 (cos.f64 th) (*.f64 (/.f64 (hypot.f64 a2 a1) (sqrt.f64 (sqrt.f64 2))) (/.f64 (hypot.f64 a2 a1) (sqrt.f64 (sqrt.f64 2))))) | |
| 0.4b | (*.f64 (*.f64 (cos.f64 th) (hypot.f64 a2 a1)) (/.f64 (sqrt.f64 (fma.f64 a1 a1 (*.f64 a2 a2))) (sqrt.f64 2))) |
Compiled 18147 to 7197 computations (60.3% saved)
Found 4 expressions with local error:
| New | Error | Program |
| 0.0b | (fma.f64 a1 a1 (*.f64 a2 a2)) | |
| ✓ | 0.1b | (*.f64 (cos.f64 th) (/.f64 (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))) (cbrt.f64 (sqrt.f64 2)))) |
| ✓ | 0.3b | (/.f64 (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))) (cbrt.f64 (sqrt.f64 2))) |
| ✓ | 0.3b | (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))) |
3 calls:
| 313.0ms | (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))) |
| 54.0ms | (*.f64 (cos.f64 th) (/.f64 (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))) (cbrt.f64 (sqrt.f64 2)))) |
| 21.0ms | (/.f64 (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))) (cbrt.f64 (sqrt.f64 2))) |
| 1× | rewrite-expression-head |
| 195× | times-frac_binary64 |
| 110× | add-sqr-sqrt_binary64 |
| 94× | cbrt-prod_binary64 |
| 90× | *-un-lft-identity_binary64 |
| 90× | add-cube-cbrt_binary64 |
3 calls:
| 19.0ms | (*.f64 (cos.f64 th) (/.f64 (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))) (cbrt.f64 (sqrt.f64 2)))) |
| 10.0ms | (/.f64 (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))) (cbrt.f64 (sqrt.f64 2))) |
| 5.0ms | (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))) |
| 1× | egg-herbie |
| 846× | fma-neg_binary64 |
| 500× | associate-/r/_binary64 |
| 260× | fma-def_binary64 |
| 191× | associate-/l*_binary64 |
| 181× | associate-/l/_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 309 | 9806 |
| 1 | 697 | 8974 |
| 2 | 2581 | 8924 |
| 3 | 4583 | 8924 |
| 4 | 5353 | 8924 |
8 alts after pruning (7 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 387 | 1 | 388 |
| Fresh | 1 | 6 | 7 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 1 | 1 |
| Total | 389 | 8 | 397 |
| Status | Error | Program |
| 0.4b | (/.f64 (*.f64 (cos.f64 th) (fma.f64 a1 a1 (*.f64 a2 a2))) (sqrt.f64 2)) | |
| ✓ | 0.4b | (*.f64 (cos.f64 th) (/.f64 (sqrt.f64 (fma.f64 a1 a1 (*.f64 a2 a2))) (/.f64 (sqrt.f64 2) (hypot.f64 a2 a1)))) |
| 0.6b | (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 (sqrt.f64 2))) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (sqrt.f64 (sqrt.f64 2)))) | |
| 1.1b | (*.f64 (cos.f64 th) (*.f64 (/.f64 1 (fabs.f64 (cbrt.f64 2))) (/.f64 (fma.f64 a2 a2 (*.f64 a1 a1)) (sqrt.f64 (cbrt.f64 2))))) | |
| 0.4b | (*.f64 (*.f64 (cos.f64 th) (hypot.f64 a2 a1)) (/.f64 1 (/.f64 (sqrt.f64 2) (hypot.f64 a2 a1)))) | |
| 0.7b | (*.f64 (cos.f64 th) (*.f64 (/.f64 1 (sqrt.f64 (sqrt.f64 2))) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (sqrt.f64 (sqrt.f64 2))))) | |
| ▶ | 0.4b | (*.f64 (cos.f64 th) (/.f64 (*.f64 (cbrt.f64 1/2) (fma.f64 a2 a2 (*.f64 a1 a1))) (cbrt.f64 (sqrt.f64 2)))) |
| 0.6b | (*.f64 (cos.f64 th) (*.f64 (/.f64 (hypot.f64 a2 a1) (sqrt.f64 (sqrt.f64 2))) (/.f64 (hypot.f64 a2 a1) (sqrt.f64 (sqrt.f64 2))))) |
Compiled 13313 to 8404 computations (36.9% saved)
Found 3 expressions with local error:
| New | Error | Program |
| ✓ | 0.1b | (*.f64 (cos.f64 th) (/.f64 (*.f64 (cbrt.f64 1/2) (fma.f64 a2 a2 (*.f64 a1 a1))) (cbrt.f64 (sqrt.f64 2)))) |
| ✓ | 0.3b | (/.f64 (*.f64 (cbrt.f64 1/2) (fma.f64 a2 a2 (*.f64 a1 a1))) (cbrt.f64 (sqrt.f64 2))) |
| ✓ | 0.4b | (*.f64 (cbrt.f64 1/2) (fma.f64 a2 a2 (*.f64 a1 a1))) |
3 calls:
| 413.0ms | (*.f64 (cos.f64 th) (/.f64 (*.f64 (cbrt.f64 1/2) (fma.f64 a2 a2 (*.f64 a1 a1))) (cbrt.f64 (sqrt.f64 2)))) |
| 207.0ms | (/.f64 (*.f64 (cbrt.f64 1/2) (fma.f64 a2 a2 (*.f64 a1 a1))) (cbrt.f64 (sqrt.f64 2))) |
| 18.0ms | (*.f64 (cbrt.f64 1/2) (fma.f64 a2 a2 (*.f64 a1 a1))) |
| 1× | rewrite-expression-head |
| 23× | add-sqr-sqrt_binary64 |
| 22× | cbrt-prod_binary64 |
| 19× | add-exp-log_binary64 |
| 18× | times-frac_binary64 |
| 17× | *-un-lft-identity_binary64 |
3 calls:
| 12.0ms | (*.f64 (cos.f64 th) (/.f64 (*.f64 (cbrt.f64 1/2) (fma.f64 a2 a2 (*.f64 a1 a1))) (cbrt.f64 (sqrt.f64 2)))) |
| 5.0ms | (/.f64 (*.f64 (cbrt.f64 1/2) (fma.f64 a2 a2 (*.f64 a1 a1))) (cbrt.f64 (sqrt.f64 2))) |
| 4.0ms | (*.f64 (cbrt.f64 1/2) (fma.f64 a2 a2 (*.f64 a1 a1))) |
| 1× | egg-herbie |
| 766× | fma-def_binary64 |
| 452× | fma-neg_binary64 |
| 290× | cancel-sign-sub-inv_binary64 |
| 284× | associate-*l*_binary64 |
| 258× | distribute-rgt-in_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 195 | 4730 |
| 1 | 469 | 4129 |
| 2 | 1978 | 4012 |
| 3 | 4657 | 4010 |
| 4 | 4977 | 4010 |
7 alts after pruning (6 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 180 | 1 | 181 |
| Fresh | 1 | 5 | 6 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 1 | 1 |
| Total | 182 | 7 | 189 |
| Status | Error | Program |
| 0.4b | (/.f64 (*.f64 (cos.f64 th) (fma.f64 a1 a1 (*.f64 a2 a2))) (sqrt.f64 2)) | |
| ✓ | 0.4b | (*.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 (*.f64 (cos.f64 th) (hypot.f64 a2 a1)) (/.f64 1 (/.f64 (sqrt.f64 2) (hypot.f64 a2 a1)))) | |
| 0.7b | (*.f64 (cos.f64 th) (*.f64 (/.f64 1 (sqrt.f64 (sqrt.f64 2))) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (sqrt.f64 (sqrt.f64 2))))) | |
| 0.4b | (/.f64 (*.f64 (cbrt.f64 1/2) (*.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (cos.f64 th))) (cbrt.f64 (sqrt.f64 2))) | |
| 0.6b | (*.f64 (cos.f64 th) (*.f64 (/.f64 (hypot.f64 a2 a1) (sqrt.f64 (sqrt.f64 2))) (/.f64 (hypot.f64 a2 a1) (sqrt.f64 (sqrt.f64 2))))) | |
| 1.1b | (*.f64 (cos.f64 th) (*.f64 (/.f64 1 (fabs.f64 (cbrt.f64 2))) (/.f64 (fma.f64 a2 a2 (*.f64 a1 a1)) (sqrt.f64 (cbrt.f64 2))))) |
Compiled 4623 to 2774 computations (40% saved)
Total 0.4b remaining (95.9%)
Threshold costs 0.4b (95.9%)
Compiled 26840 to 18271 computations (31.9% saved)
| 1× | egg-herbie |
| 2× | *-commutative_binary64 |
| 1× | /-rgt-identity_binary64 |
| 1× | 1-exp_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 17 | 25 |
| 1 | 21 | 25 |
| 2 | 20 | 25 |
(sort a1 a2)
Compiled 213 to 154 computations (27.7% saved)
Loading profile data...