Time bar (total: 7.3s)
| 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 | 1860× | body | 1024 | valid |
| 1.1s | 1660× | body | 1024 | invalid |
| 842.0ms | 4980× | body | 128 | valid |
| 438.0ms | 946× | body | 512 | valid |
| 364.0ms | 797× | body | 512 | invalid |
| 151.0ms | 467× | body | 256 | valid |
| 124.0ms | 404× | body | 256 | invalid |
| 118.0ms | 663× | 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.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 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:
| 50.0ms | (*.f64 (cos.f64 th) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (sqrt.f64 2))) |
| 17.0ms | (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (sqrt.f64 2)) |
| 2× | batch-egg-rewrite |
| 523× | log-prod_binary64 |
| 198× | pow1/3_binary64 |
| 195× | expm1-udef_binary64 |
| 195× | log1p-udef_binary64 |
| 181× | pow3_binary64 |
2 calls:
| 50.0ms | (*.f64 (cos.f64 th) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (sqrt.f64 2))) |
| 50.0ms | (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (sqrt.f64 2)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 31 |
| 1 | 223 | 29 |
| 2 | 2595 | 29 |
| 3 | 5006 | 29 |
| 0 | 0 | 0 |
| 1 | 0 | 0 |
| 1× | egg-herbie |
| 492× | associate-/r/_binary64 |
| 338× | unswap-sqr_binary64 |
| 331× | fma-neg_binary64 |
| 276× | sub-neg_binary64 |
| 206× | associate-/l/_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 69 | 1313 |
| 1 | 165 | 1259 |
| 2 | 547 | 1215 |
| 3 | 2202 | 1173 |
| 4 | 4857 | 1173 |
| 5 | 5023 | 1173 |
6 alts after pruning (5 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 87 | 5 | 92 |
| Fresh | 1 | 0 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 88 | 6 | 94 |
| 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 (pow.f64 (hypot.f64 a1 a2) 2) (cos.f64 th)) (pow.f64 2 1/4)) (pow.f64 2 1/4)) | |
| 0.5b | (/.f64 1 (/.f64 (sqrt.f64 2) (*.f64 (pow.f64 (hypot.f64 a1 a2) 2) (cos.f64 th)))) | |
| 0.4b | (/.f64 (*.f64 (+.f64 (pow.f64 a1 2) (pow.f64 a2 2)) (cos.f64 th)) (sqrt.f64 2)) | |
| ▶ | 0.4b | (*.f64 (cos.f64 th) (*.f64 (pow.f64 (hypot.f64 a1 a2) 2) (pow.f64 2 -1/2))) |
| 0.5b | (*.f64 (cos.f64 th) (pow.f64 (/.f64 (hypot.f64 a1 a2) (pow.f64 2 1/4)) 2)) |
Compiled 1802 to 1199 computations (33.5% saved)
Found 3 expressions with local error:
| New | Error | Program |
| ✓ | 0.0b | (pow.f64 (hypot.f64 a1 a2) 2) |
| ✓ | 0.1b | (*.f64 (cos.f64 th) (*.f64 (pow.f64 (hypot.f64 a1 a2) 2) (pow.f64 2 -1/2))) |
| ✓ | 0.4b | (*.f64 (pow.f64 (hypot.f64 a1 a2) 2) (pow.f64 2 -1/2)) |
3 calls:
| 79.0ms | (*.f64 (cos.f64 th) (*.f64 (pow.f64 (hypot.f64 a1 a2) 2) (pow.f64 2 -1/2))) |
| 44.0ms | (*.f64 (pow.f64 (hypot.f64 a1 a2) 2) (pow.f64 2 -1/2)) |
| 37.0ms | (pow.f64 (hypot.f64 a1 a2) 2) |
| 2× | batch-egg-rewrite |
| 534× | log-prod_binary64 |
| 298× | pow2_binary64 |
| 208× | pow1/3_binary64 |
| 207× | expm1-udef_binary64 |
| 207× | log1p-udef_binary64 |
3 calls:
| 57.0ms | (pow.f64 (hypot.f64 a1 a2) 2) |
| 57.0ms | (*.f64 (cos.f64 th) (*.f64 (pow.f64 (hypot.f64 a1 a2) 2) (pow.f64 2 -1/2))) |
| 57.0ms | (*.f64 (pow.f64 (hypot.f64 a1 a2) 2) (pow.f64 2 -1/2)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 38 |
| 1 | 248 | 36 |
| 2 | 2605 | 36 |
| 3 | 5054 | 36 |
| 0 | 0 | 0 |
| 1 | 0 | 0 |
| 1× | egg-herbie |
| 535× | fma-def_binary64 |
| 529× | distribute-rgt-neg-in_binary64 |
| 495× | distribute-lft-neg-in_binary64 |
| 460× | associate-*l*_binary64 |
| 446× | associate-*r*_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 71 | 1417 |
| 1 | 187 | 1226 |
| 2 | 695 | 1194 |
| 3 | 3350 | 1194 |
| 4 | 5262 | 1194 |
6 alts after pruning (4 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 111 | 1 | 112 |
| Fresh | 1 | 3 | 4 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 112 | 6 | 118 |
| Status | Error | Program |
| 0.5b | (/.f64 1 (/.f64 (sqrt.f64 2) (*.f64 (pow.f64 (hypot.f64 a1 a2) 2) (cos.f64 th)))) | |
| 0.4b | (/.f64 (*.f64 (+.f64 (pow.f64 a1 2) (pow.f64 a2 2)) (cos.f64 th)) (sqrt.f64 2)) | |
| ✓ | 0.4b | (*.f64 (cos.f64 th) (*.f64 (pow.f64 (hypot.f64 a1 a2) 2) (pow.f64 2 -1/2))) |
| ▶ | 0.4b | (*.f64 (fma.f64 a2 a2 (*.f64 a1 a1)) (*.f64 (sqrt.f64 1/2) (cos.f64 th))) |
| 0.5b | (*.f64 (cos.f64 th) (pow.f64 (/.f64 (hypot.f64 a1 a2) (pow.f64 2 1/4)) 2)) | |
| ✓ | 0.4b | (*.f64 (cos.f64 th) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (sqrt.f64 2))) |
Compiled 2118 to 1316 computations (37.9% saved)
Found 2 expressions with local error:
| New | Error | Program |
| ✓ | 0.2b | (*.f64 (sqrt.f64 1/2) (cos.f64 th)) |
| ✓ | 0.3b | (*.f64 (fma.f64 a2 a2 (*.f64 a1 a1)) (*.f64 (sqrt.f64 1/2) (cos.f64 th))) |
2 calls:
| 37.0ms | (*.f64 (fma.f64 a2 a2 (*.f64 a1 a1)) (*.f64 (sqrt.f64 1/2) (cos.f64 th))) |
| 3.0ms | (*.f64 (sqrt.f64 1/2) (cos.f64 th)) |
| 2× | batch-egg-rewrite |
| 902× | log1p-expm1-u_binary64 |
| 902× | expm1-log1p-u_binary64 |
| 106× | add-sqr-sqrt_binary64 |
| 102× | prod-diff_binary64 |
| 99× | add-log-exp_binary64 |
2 calls:
| 45.0ms | (*.f64 (sqrt.f64 1/2) (cos.f64 th)) |
| 45.0ms | (*.f64 (fma.f64 a2 a2 (*.f64 a1 a1)) (*.f64 (sqrt.f64 1/2) (cos.f64 th))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 26 |
| 1 | 217 | 25 |
| 2 | 2374 | 25 |
| 3 | 5703 | 25 |
| 0 | 0 | 0 |
| 1 | 0 | 0 |
| 1× | egg-herbie |
| 585× | fma-def_binary64 |
| 580× | distribute-rgt-neg-in_binary64 |
| 512× | associate-*l*_binary64 |
| 460× | associate-*r*_binary64 |
| 432× | cancel-sign-sub-inv_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 83 | 1145 |
| 1 | 223 | 892 |
| 2 | 798 | 852 |
| 3 | 3699 | 852 |
| 4 | 5161 | 852 |
6 alts after pruning (3 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 60 | 0 | 60 |
| Fresh | 0 | 3 | 3 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 2 | 2 |
| Total | 60 | 6 | 66 |
| Status | Error | Program |
| 0.5b | (/.f64 1 (/.f64 (sqrt.f64 2) (*.f64 (pow.f64 (hypot.f64 a1 a2) 2) (cos.f64 th)))) | |
| ▶ | 0.4b | (/.f64 (*.f64 (+.f64 (pow.f64 a1 2) (pow.f64 a2 2)) (cos.f64 th)) (sqrt.f64 2)) |
| ✓ | 0.4b | (*.f64 (cos.f64 th) (*.f64 (pow.f64 (hypot.f64 a1 a2) 2) (pow.f64 2 -1/2))) |
| ✓ | 0.4b | (*.f64 (fma.f64 a2 a2 (*.f64 a1 a1)) (*.f64 (sqrt.f64 1/2) (cos.f64 th))) |
| 0.5b | (*.f64 (cos.f64 th) (pow.f64 (/.f64 (hypot.f64 a1 a2) (pow.f64 2 1/4)) 2)) | |
| ✓ | 0.4b | (*.f64 (cos.f64 th) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (sqrt.f64 2))) |
Compiled 1279 to 805 computations (37.1% saved)
Found 2 expressions with local error:
| New | Error | Program |
| ✓ | 0.1b | (*.f64 (+.f64 (pow.f64 a1 2) (pow.f64 a2 2)) (cos.f64 th)) |
| ✓ | 0.4b | (/.f64 (*.f64 (+.f64 (pow.f64 a1 2) (pow.f64 a2 2)) (cos.f64 th)) (sqrt.f64 2)) |
2 calls:
| 49.0ms | (/.f64 (*.f64 (+.f64 (pow.f64 a1 2) (pow.f64 a2 2)) (cos.f64 th)) (sqrt.f64 2)) |
| 25.0ms | (*.f64 (+.f64 (pow.f64 a1 2) (pow.f64 a2 2)) (cos.f64 th)) |
| 2× | batch-egg-rewrite |
| 634× | prod-diff_binary64 |
| 220× | expm1-udef_binary64 |
| 220× | log1p-udef_binary64 |
| 125× | add-sqr-sqrt_binary64 |
| 122× | log1p-expm1-u_binary64 |
2 calls:
| 57.0ms | (*.f64 (+.f64 (pow.f64 a1 2) (pow.f64 a2 2)) (cos.f64 th)) |
| 57.0ms | (/.f64 (*.f64 (+.f64 (pow.f64 a1 2) (pow.f64 a2 2)) (cos.f64 th)) (sqrt.f64 2)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 35 |
| 1 | 258 | 29 |
| 2 | 3128 | 29 |
| 3 | 4924 | 29 |
| 0 | 0 | 0 |
| 1 | 0 | 0 |
| 1× | egg-herbie |
| 585× | sub-neg_binary64 |
| 376× | fma-def_binary64 |
| 338× | unswap-sqr_binary64 |
| 293× | cancel-sign-sub-inv_binary64 |
| 280× | associate--l+_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 83 | 1622 |
| 1 | 230 | 1538 |
| 2 | 852 | 1205 |
| 3 | 3869 | 1205 |
| 4 | 4889 | 1205 |
| 5 | 4979 | 1205 |
5 alts after pruning (2 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 97 | 1 | 98 |
| Fresh | 1 | 1 | 2 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 3 | 3 |
| Total | 99 | 5 | 104 |
| Status | Error | Program |
| ✓ | 0.4b | (*.f64 (cos.f64 th) (*.f64 (pow.f64 (hypot.f64 a1 a2) 2) (pow.f64 2 -1/2))) |
| ✓ | 0.4b | (*.f64 (fma.f64 a2 a2 (*.f64 a1 a1)) (*.f64 (sqrt.f64 1/2) (cos.f64 th))) |
| ✓ | 0.4b | (*.f64 (cos.f64 th) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (sqrt.f64 2))) |
| 0.5b | (/.f64 1 (/.f64 (sqrt.f64 2) (*.f64 (pow.f64 (hypot.f64 a1 a2) 2) (cos.f64 th)))) | |
| 0.4b | (/.f64 (pow.f64 (hypot.f64 a1 a2) 2) (/.f64 (sqrt.f64 2) (cos.f64 th))) |
Compiled 1962 to 1229 computations (37.4% saved)
Total 0.4b remaining (83.9%)
Threshold costs 0.4b (83.9%)
Compiled 6835 to 5247 computations (23.2% saved)
| 1× | egg-herbie |
| 2× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 17 |
| 1 | 14 | 17 |
| 2 | 14 | 17 |
(sort a1 a2)
Compiled 131 to 100 computations (23.7% saved)
Loading profile data...