Time bar (total: 14.8s)
| 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.2s | 1750× | body | 1024 | valid |
| 1.1s | 1685× | body | 1024 | invalid |
| 879.0ms | 5090× | body | 128 | valid |
| 429.0ms | 958× | body | 512 | valid |
| 340.0ms | 802× | body | 512 | invalid |
| 143.0ms | 455× | body | 256 | valid |
| 133.0ms | 424× | body | 256 | invalid |
| 113.0ms | 665× | body | 128 | invalid |
| 3.0ms | 3× | 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.5b | (*.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 2 expressions with local error:
| New | Error | Program |
| ✓ | 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)) |
2 calls:
| 54.0ms | (*.f64 (cos.f64 th) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (sqrt.f64 2))) |
| 21.0ms | (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (sqrt.f64 2)) |
| 1× | rewrite-expression-head |
| 39× | add-sqr-sqrt_binary64 |
| 38× | times-frac_binary64 |
| 31× | *-un-lft-identity_binary64 |
| 31× | add-cube-cbrt_binary64 |
| 22× | associate-*r*_binary64 |
2 calls:
| 43.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)) |
| 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 | 170 | 3315 |
| 1 | 365 | 3012 |
| 2 | 1289 | 2968 |
| 3 | 4359 | 2968 |
| 4 | 5076 | 2968 |
9 alts after pruning (8 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 143 | 8 | 151 |
| Fresh | 1 | 0 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 144 | 9 | 153 |
| Status | Error | Program |
| 0.5b | (*.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)))) | |
| 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.8b | (*.f64 (*.f64 (cbrt.f64 (cos.f64 th)) (cbrt.f64 (cos.f64 th))) (*.f64 (cbrt.f64 (cos.f64 th)) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (sqrt.f64 2)))) | |
| ✓ | 0.5b | (*.f64 (cos.f64 th) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (sqrt.f64 2))) |
| 37.0b | (cbrt.f64 (*.f64 (*.f64 (*.f64 (cos.f64 th) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (sqrt.f64 2))) (*.f64 (cos.f64 th) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (sqrt.f64 2)))) (*.f64 (cos.f64 th) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (sqrt.f64 2))))) | |
| 0.5b | (*.f64 (cos.f64 th) (/.f64 (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (sqrt.f64 (sqrt.f64 2))) (sqrt.f64 (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 (sqrt.f64 (fma.f64 a1 a1 (*.f64 a2 a2))) (sqrt.f64 2))) | |
| 0.4b | (/.f64 (*.f64 (cos.f64 th) (fma.f64 a1 a1 (*.f64 a2 a2))) (sqrt.f64 2)) |
Compiled 3808 to 1792 computations (52.9% 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.2b | (/.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.8b | (sqrt.f64 (fma.f64 a1 a1 (*.f64 a2 a2))) |
4 calls:
| 187.0ms | (*.f64 (cos.f64 th) (/.f64 (sqrt.f64 (fma.f64 a1 a1 (*.f64 a2 a2))) (/.f64 (sqrt.f64 2) (hypot.f64 a2 a1)))) |
| 108.0ms | (/.f64 (sqrt.f64 (fma.f64 a1 a1 (*.f64 a2 a2))) (/.f64 (sqrt.f64 2) (hypot.f64 a2 a1))) |
| 24.0ms | (/.f64 (sqrt.f64 2) (hypot.f64 a2 a1)) |
| 19.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:
| 27.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 |
7 alts after pruning (6 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 569 | 3 | 572 |
| Fresh | 4 | 3 | 7 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 1 | 1 |
| Total | 574 | 7 | 581 |
| Status | Error | Program |
| 0.5b | (*.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)))) | |
| 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.5b | (*.f64 (*.f64 (cos.f64 th) (sqrt.f64 (hypot.f64 a2 a1))) (/.f64 (sqrt.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 (sqrt.f64 (fma.f64 a1 a1 (*.f64 a2 a2))) (sqrt.f64 2))) | |
| 1.2b | (*.f64 (*.f64 (cos.f64 th) (/.f64 (cbrt.f64 (hypot.f64 a2 a1)) (/.f64 (sqrt.f64 2) (cbrt.f64 (hypot.f64 a2 a1))))) (/.f64 (cbrt.f64 (sqrt.f64 (fma.f64 a1 a1 (*.f64 a2 a2)))) (/.f64 1 (hypot.f64 a2 a1)))) | |
| ✓ | 0.5b | (*.f64 (cos.f64 th) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (sqrt.f64 2))) |
| ▶ | 0.4b | (/.f64 (*.f64 (cos.f64 th) (hypot.f64 a2 a1)) (/.f64 (sqrt.f64 2) (hypot.f64 a2 a1))) |
Compiled 18102 to 7144 computations (60.5% saved)
Found 3 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)) (/.f64 (sqrt.f64 2) (hypot.f64 a2 a1))) |
| 0.5b | (/.f64 (sqrt.f64 2) (hypot.f64 a2 a1)) |
2 calls:
| 108.0ms | (/.f64 (*.f64 (cos.f64 th) (hypot.f64 a2 a1)) (/.f64 (sqrt.f64 2) (hypot.f64 a2 a1))) |
| 34.0ms | (*.f64 (cos.f64 th) (hypot.f64 a2 a1)) |
| 1× | rewrite-expression-head |
| 58× | times-frac_binary64 |
| 32× | add-sqr-sqrt_binary64 |
| 30× | *-un-lft-identity_binary64 |
| 30× | add-cube-cbrt_binary64 |
| 22× | associate-/r*_binary64 |
2 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)) |
| 1× | egg-herbie |
| 777× | associate-/r/_binary64 |
| 384× | fma-neg_binary64 |
| 360× | fma-def_binary64 |
| 264× | associate-/l*_binary64 |
| 221× | cancel-sign-sub-inv_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 272 | 4223 |
| 1 | 699 | 3721 |
| 2 | 2586 | 3604 |
| 3 | 4473 | 3597 |
| 4 | 4970 | 3597 |
7 alts after pruning (5 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 266 | 2 | 268 |
| Fresh | 2 | 3 | 5 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 268 | 7 | 275 |
| Status | Error | Program |
| 0.5b | (*.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)))) | |
| 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 (cos.f64 th) (hypot.f64 a2 a1)) (/.f64 (hypot.f64 a1 a2) (sqrt.f64 2))) | |
| ✓ | 0.4b | (/.f64 (*.f64 (cos.f64 th) (hypot.f64 a2 a1)) (/.f64 (sqrt.f64 2) (hypot.f64 a2 a1))) |
| 0.5b | (*.f64 (*.f64 (cos.f64 th) (sqrt.f64 (hypot.f64 a2 a1))) (/.f64 (sqrt.f64 (sqrt.f64 (fma.f64 a1 a1 (*.f64 a2 a2)))) (/.f64 (sqrt.f64 2) (hypot.f64 a2 a1)))) | |
| ▶ | 0.4b | (/.f64 (/.f64 (*.f64 (cos.f64 th) (hypot.f64 a2 a1)) (/.f64 (sqrt.f64 (sqrt.f64 2)) 1)) (/.f64 (sqrt.f64 (sqrt.f64 2)) (hypot.f64 a2 a1))) |
| ✓ | 0.5b | (*.f64 (cos.f64 th) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (sqrt.f64 2))) |
Compiled 6731 to 3370 computations (49.9% saved)
Found 4 expressions with local error:
| New | Error | Program |
| 0.1b | (*.f64 (cos.f64 th) (hypot.f64 a2 a1)) | |
| ✓ | 0.2b | (/.f64 (sqrt.f64 (sqrt.f64 2)) (hypot.f64 a2 a1)) |
| ✓ | 0.3b | (/.f64 (*.f64 (cos.f64 th) (hypot.f64 a2 a1)) (/.f64 (sqrt.f64 (sqrt.f64 2)) 1)) |
| ✓ | 0.4b | (/.f64 (/.f64 (*.f64 (cos.f64 th) (hypot.f64 a2 a1)) (/.f64 (sqrt.f64 (sqrt.f64 2)) 1)) (/.f64 (sqrt.f64 (sqrt.f64 2)) (hypot.f64 a2 a1))) |
3 calls:
| 111.0ms | (/.f64 (/.f64 (*.f64 (cos.f64 th) (hypot.f64 a2 a1)) (/.f64 (sqrt.f64 (sqrt.f64 2)) 1)) (/.f64 (sqrt.f64 (sqrt.f64 2)) (hypot.f64 a2 a1))) |
| 62.0ms | (/.f64 (*.f64 (cos.f64 th) (hypot.f64 a2 a1)) (/.f64 (sqrt.f64 (sqrt.f64 2)) 1)) |
| 31.0ms | (/.f64 (sqrt.f64 (sqrt.f64 2)) (hypot.f64 a2 a1)) |
| 1× | rewrite-expression-head |
| 4083× | times-frac_binary64 |
| 1953× | sqrt-prod_binary64 |
| 1406× | *-un-lft-identity_binary64 |
| 1406× | add-sqr-sqrt_binary64 |
| 1406× | add-cube-cbrt_binary64 |
3 calls:
| 31.0ms | (/.f64 (/.f64 (*.f64 (cos.f64 th) (hypot.f64 a2 a1)) (/.f64 (sqrt.f64 (sqrt.f64 2)) 1)) (/.f64 (sqrt.f64 (sqrt.f64 2)) (hypot.f64 a2 a1))) |
| 10.0ms | (/.f64 (*.f64 (cos.f64 th) (hypot.f64 a2 a1)) (/.f64 (sqrt.f64 (sqrt.f64 2)) 1)) |
| 4.0ms | (/.f64 (sqrt.f64 (sqrt.f64 2)) (hypot.f64 a2 a1)) |
| 1× | egg-herbie |
| 780× | associate-/r/_binary64 |
| 606× | associate-/l*_binary64 |
| 417× | associate-/r*_binary64 |
| 387× | times-frac_binary64 |
| 380× | associate-/l/_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 852 | 69168 |
| 1 | 2201 | 65957 |
| 2 | 4860 | 65838 |
| 3 | 5080 | 65838 |
7 alts after pruning (4 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 1427 | 1 | 1428 |
| Fresh | 1 | 3 | 4 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 2 | 2 |
| Total | 1428 | 7 | 1435 |
| Status | Error | Program |
| 0.5b | (*.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)))) | |
| 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.5b | (*.f64 1 (*.f64 (/.f64 (*.f64 (cos.f64 th) (hypot.f64 a2 a1)) (sqrt.f64 2)) (hypot.f64 a2 a1))) | |
| 0.4b | (*.f64 (*.f64 (cos.f64 th) (hypot.f64 a2 a1)) (/.f64 (hypot.f64 a1 a2) (sqrt.f64 2))) | |
| ✓ | 0.4b | (/.f64 (*.f64 (cos.f64 th) (hypot.f64 a2 a1)) (/.f64 (sqrt.f64 2) (hypot.f64 a2 a1))) |
| ✓ | 0.4b | (/.f64 (/.f64 (*.f64 (cos.f64 th) (hypot.f64 a2 a1)) (/.f64 (sqrt.f64 (sqrt.f64 2)) 1)) (/.f64 (sqrt.f64 (sqrt.f64 2)) (hypot.f64 a2 a1))) |
| ✓ | 0.5b | (*.f64 (cos.f64 th) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (sqrt.f64 2))) |
Compiled 53793 to 35266 computations (34.4% saved)
Total 0.4b remaining (95.7%)
Threshold costs 0.4b (95.7%)
Compiled 58656 to 37917 computations (35.4% saved)
| 1× | egg-herbie |
| 1× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 16 | 33 |
| 1 | 17 | 33 |
| 2 | 17 | 33 |
(sort a1 a2)
Compiled 231 to 163 computations (29.4% saved)
Loading profile data...