Time bar (total: 9.0s)
| 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 | 1811× | body | 1024 | valid |
| 1.1s | 1562× | body | 1024 | invalid |
| 855.0ms | 5100× | body | 128 | valid |
| 408.0ms | 893× | body | 512 | valid |
| 369.0ms | 784× | body | 512 | invalid |
| 148.0ms | 670× | body | 128 | invalid |
| 144.0ms | 372× | body | 256 | invalid |
| 139.0ms | 451× | body | 256 | valid |
| 1.0ms | 1× | 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 | 58 | 18 |
| 3 | 88 | 18 |
| 4 | 115 | 18 |
| 5 | 135 | 18 |
| 6 | 152 | 18 |
| 7 | 170 | 18 |
| 8 | 172 | 18 |
| 1× | saturated |
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 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a1 a1)) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a2 a2))) |
| 0.4b | (*.f64 (cos.f64 th) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (sqrt.f64 2))) |
Compiled 108 to 70 computations (35.2% saved)
Found 4 expressions with local error:
| New | Error | Program |
| ✓ | 0.0b | (+.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a1 a1)) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a2 a2))) |
| ✓ | 0.2b | (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a2 a2)) |
| ✓ | 0.3b | (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a1 a1)) |
| ✓ | 0.7b | (/.f64 (cos.f64 th) (sqrt.f64 2)) |
4 calls:
| 98.0ms | (+.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a1 a1)) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a2 a2))) |
| 24.0ms | (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a2 a2)) |
| 23.0ms | (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a1 a1)) |
| 6.0ms | (/.f64 (cos.f64 th) (sqrt.f64 2)) |
| 1× | batch-egg-rewrite |
| 512× | fma-def_binary64 |
| 246× | expm1-udef_binary64 |
| 246× | log1p-udef_binary64 |
| 243× | fma-neg_binary64 |
| 164× | egg-rr |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 13 | 56 |
| 1 | 283 | 54 |
| 2 | 3898 | 54 |
| 1× | node limit |
4 calls:
| 67.0ms | (+.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a1 a1)) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a2 a2))) |
| 67.0ms | (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a2 a2)) |
| 67.0ms | (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a1 a1)) |
| 67.0ms | (/.f64 (cos.f64 th) (sqrt.f64 2)) |
| 1× | egg-herbie |
| 547× | fma-neg_binary64 |
| 398× | sub-neg_binary64 |
| 338× | unswap-sqr_binary64 |
| 221× | associate-*r*_binary64 |
| 193× | associate-*l*_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 90 | 2134 |
| 1 | 297 | 2126 |
| 2 | 859 | 1810 |
| 3 | 3448 | 1806 |
| 1× | node limit |
7 alts after pruning (7 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 234 | 7 | 241 |
| Fresh | 1 | 0 | 1 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 236 | 7 | 243 |
| Status | Error | Program |
| 0.5b | (*.f64 (cos.f64 th) (*.f64 (pow.f64 2 -1/2) (fma.f64 a1 a1 (*.f64 a2 a2)))) | |
| 0.6b | (+.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a1 a1)) (*.f64 (*.f64 (/.f64 (pow.f64 (cbrt.f64 (cos.f64 th)) 2) 1) (/.f64 (cbrt.f64 (cos.f64 th)) (sqrt.f64 2))) (*.f64 a2 a2))) | |
| 0.5b | (fma.f64 (*.f64 (*.f64 (cos.f64 th) a2) a2) (pow.f64 2 -1/2) (/.f64 (cos.f64 th) (/.f64 (sqrt.f64 2) (*.f64 a1 a1)))) | |
| ▶ | 0.4b | (+.f64 (*.f64 (*.f64 (cos.f64 th) (pow.f64 2 -1/2)) (*.f64 a1 a1)) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a2 a2))) |
| 0.4b | (/.f64 (fma.f64 (*.f64 (cos.f64 th) (*.f64 a1 a1)) (sqrt.f64 2) (*.f64 (sqrt.f64 2) (*.f64 (*.f64 (cos.f64 th) a2) a2))) 2) | |
| 0.4b | (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (/.f64 (sqrt.f64 2) (cos.f64 th))) | |
| 0.4b | (+.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a1 a1)) (/.f64 (/.f64 (*.f64 (*.f64 (cos.f64 th) a2) a2) (pow.f64 2 1/4)) (pow.f64 2 1/4))) |
Compiled 6413 to 3675 computations (42.7% saved)
Found 4 expressions with local error:
| New | Error | Program |
| ✓ | 0.2b | (*.f64 (cos.f64 th) (pow.f64 2 -1/2)) |
| 0.2b | (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a2 a2)) | |
| ✓ | 0.3b | (*.f64 (*.f64 (cos.f64 th) (pow.f64 2 -1/2)) (*.f64 a1 a1)) |
| 0.7b | (/.f64 (cos.f64 th) (sqrt.f64 2)) |
2 calls:
| 17.0ms | (*.f64 (*.f64 (cos.f64 th) (pow.f64 2 -1/2)) (*.f64 a1 a1)) |
| 4.0ms | (*.f64 (cos.f64 th) (pow.f64 2 -1/2)) |
| 1× | batch-egg-rewrite |
| 838× | log1p-expm1-u_binary64 |
| 838× | expm1-log1p-u_binary64 |
| 100× | add-sqr-sqrt_binary64 |
| 94× | add-cube-cbrt_binary64 |
| 94× | add-cbrt-cube_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 24 |
| 1 | 207 | 22 |
| 2 | 2391 | 22 |
| 1× | node limit |
2 calls:
| 39.0ms | (*.f64 (cos.f64 th) (pow.f64 2 -1/2)) |
| 39.0ms | (*.f64 (*.f64 (cos.f64 th) (pow.f64 2 -1/2)) (*.f64 a1 a1)) |
| 1× | egg-herbie |
| 704× | fma-neg_binary64 |
| 335× | distribute-rgt-neg-in_binary64 |
| 320× | distribute-lft-neg-in_binary64 |
| 278× | associate-*r*_binary64 |
| 275× | associate-*l*_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 44 | 588 |
| 1 | 125 | 580 |
| 2 | 425 | 542 |
| 3 | 2138 | 518 |
| 4 | 4737 | 518 |
| 1× | node limit |
7 alts after pruning (6 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 122 | 0 | 122 |
| Fresh | 0 | 6 | 6 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 122 | 7 | 129 |
| Status | Error | Program |
| 0.5b | (*.f64 (cos.f64 th) (*.f64 (pow.f64 2 -1/2) (fma.f64 a1 a1 (*.f64 a2 a2)))) | |
| 0.6b | (+.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a1 a1)) (*.f64 (*.f64 (/.f64 (pow.f64 (cbrt.f64 (cos.f64 th)) 2) 1) (/.f64 (cbrt.f64 (cos.f64 th)) (sqrt.f64 2))) (*.f64 a2 a2))) | |
| 0.5b | (fma.f64 (*.f64 (*.f64 (cos.f64 th) a2) a2) (pow.f64 2 -1/2) (/.f64 (cos.f64 th) (/.f64 (sqrt.f64 2) (*.f64 a1 a1)))) | |
| ✓ | 0.4b | (+.f64 (*.f64 (*.f64 (cos.f64 th) (pow.f64 2 -1/2)) (*.f64 a1 a1)) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a2 a2))) |
| ▶ | 0.4b | (/.f64 (fma.f64 (*.f64 (cos.f64 th) (*.f64 a1 a1)) (sqrt.f64 2) (*.f64 (sqrt.f64 2) (*.f64 (*.f64 (cos.f64 th) a2) a2))) 2) |
| 0.4b | (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (/.f64 (sqrt.f64 2) (cos.f64 th))) | |
| 0.4b | (+.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a1 a1)) (/.f64 (/.f64 (*.f64 (*.f64 (cos.f64 th) a2) a2) (pow.f64 2 1/4)) (pow.f64 2 1/4))) |
Compiled 3380 to 2036 computations (39.8% saved)
Found 4 expressions with local error:
| New | Error | Program |
| ✓ | 0.1b | (*.f64 (cos.f64 th) (*.f64 a1 a1)) |
| ✓ | 0.1b | (*.f64 (cos.f64 th) a2) |
| ✓ | 0.2b | (fma.f64 (*.f64 (cos.f64 th) (*.f64 a1 a1)) (sqrt.f64 2) (*.f64 (sqrt.f64 2) (*.f64 (*.f64 (cos.f64 th) a2) a2))) |
| ✓ | 0.3b | (*.f64 (sqrt.f64 2) (*.f64 (*.f64 (cos.f64 th) a2) a2)) |
4 calls:
| 55.0ms | (fma.f64 (*.f64 (cos.f64 th) (*.f64 a1 a1)) (sqrt.f64 2) (*.f64 (sqrt.f64 2) (*.f64 (*.f64 (cos.f64 th) a2) a2))) |
| 15.0ms | (*.f64 (sqrt.f64 2) (*.f64 (*.f64 (cos.f64 th) a2) a2)) |
| 9.0ms | (*.f64 (cos.f64 th) (*.f64 a1 a1)) |
| 6.0ms | (*.f64 (cos.f64 th) a2) |
| 1× | batch-egg-rewrite |
| 369× | prod-diff_binary64 |
| 227× | expm1-udef_binary64 |
| 227× | log1p-udef_binary64 |
| 210× | log-pow_binary64 |
| 142× | fma-def_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 13 | 57 |
| 1 | 262 | 54 |
| 2 | 3148 | 52 |
| 1× | node limit |
4 calls:
| 53.0ms | (*.f64 (cos.f64 th) (*.f64 a1 a1)) |
| 53.0ms | (*.f64 (cos.f64 th) a2) |
| 53.0ms | (fma.f64 (*.f64 (cos.f64 th) (*.f64 a1 a1)) (sqrt.f64 2) (*.f64 (sqrt.f64 2) (*.f64 (*.f64 (cos.f64 th) a2) a2))) |
| 53.0ms | (*.f64 (sqrt.f64 2) (*.f64 (*.f64 (cos.f64 th) a2) a2)) |
| 1× | egg-herbie |
| 720× | fma-def_binary64 |
| 597× | associate-*l*_binary64 |
| 564× | associate-*r*_binary64 |
| 488× | cancel-sign-sub-inv_binary64 |
| 201× | associate--l+_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 92 | 1758 |
| 1 | 310 | 1624 |
| 2 | 1113 | 1459 |
| 1× | node limit |
6 alts after pruning (5 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 110 | 1 | 111 |
| Fresh | 1 | 4 | 5 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 1 | 1 |
| Total | 112 | 6 | 118 |
| Status | Error | Program |
| 0.4b | (/.f64 (*.f64 (sqrt.f64 2) (fma.f64 (cos.f64 th) (*.f64 a1 a1) (*.f64 (cos.f64 th) (*.f64 a2 a2)))) 2) | |
| 0.5b | (fma.f64 (*.f64 (*.f64 (cos.f64 th) a2) a2) (pow.f64 2 -1/2) (/.f64 (cos.f64 th) (/.f64 (sqrt.f64 2) (*.f64 a1 a1)))) | |
| 0.6b | (+.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a1 a1)) (*.f64 (*.f64 (/.f64 (pow.f64 (cbrt.f64 (cos.f64 th)) 2) 1) (/.f64 (cbrt.f64 (cos.f64 th)) (sqrt.f64 2))) (*.f64 a2 a2))) | |
| ✓ | 0.4b | (+.f64 (*.f64 (*.f64 (cos.f64 th) (pow.f64 2 -1/2)) (*.f64 a1 a1)) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a2 a2))) |
| ▶ | 0.4b | (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (/.f64 (sqrt.f64 2) (cos.f64 th))) |
| 0.4b | (+.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a1 a1)) (/.f64 (/.f64 (*.f64 (*.f64 (cos.f64 th) a2) a2) (pow.f64 2 1/4)) (pow.f64 2 1/4))) |
Compiled 3190 to 1788 computations (43.9% saved)
Found 3 expressions with local error:
| New | Error | Program |
| ✓ | 0.0b | (fma.f64 a1 a1 (*.f64 a2 a2)) |
| ✓ | 0.3b | (/.f64 (sqrt.f64 2) (cos.f64 th)) |
| ✓ | 0.4b | (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (/.f64 (sqrt.f64 2) (cos.f64 th))) |
3 calls:
| 52.0ms | (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (/.f64 (sqrt.f64 2) (cos.f64 th))) |
| 8.0ms | (/.f64 (sqrt.f64 2) (cos.f64 th)) |
| 5.0ms | (fma.f64 a1 a1 (*.f64 a2 a2)) |
| 1× | batch-egg-rewrite |
| 569× | log-prod_binary64 |
| 201× | expm1-udef_binary64 |
| 201× | log1p-udef_binary64 |
| 185× | log-pow_binary64 |
| 156× | prod-diff_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 34 |
| 1 | 230 | 32 |
| 2 | 2981 | 32 |
| 1× | node limit |
3 calls:
| 50.0ms | (fma.f64 a1 a1 (*.f64 a2 a2)) |
| 50.0ms | (/.f64 (sqrt.f64 2) (cos.f64 th)) |
| 50.0ms | (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (/.f64 (sqrt.f64 2) (cos.f64 th))) |
| 1× | egg-herbie |
| 338× | unswap-sqr_binary64 |
| 331× | fma-neg_binary64 |
| 276× | sub-neg_binary64 |
| 245× | associate-*r*_binary64 |
| 222× | associate-*l*_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 80 | 1449 |
| 1 | 236 | 1409 |
| 2 | 713 | 1051 |
| 3 | 3152 | 1047 |
| 1× | node limit |
6 alts after pruning (4 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 138 | 1 | 139 |
| Fresh | 1 | 3 | 4 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 139 | 6 | 145 |
| Status | Error | Program |
| 0.4b | (/.f64 (*.f64 (sqrt.f64 2) (fma.f64 (cos.f64 th) (*.f64 a1 a1) (*.f64 (cos.f64 th) (*.f64 a2 a2)))) 2) | |
| 0.5b | (fma.f64 (*.f64 (*.f64 (cos.f64 th) a2) a2) (pow.f64 2 -1/2) (/.f64 (cos.f64 th) (/.f64 (sqrt.f64 2) (*.f64 a1 a1)))) | |
| 0.5b | (*.f64 (/.f64 (hypot.f64 a1 a2) (sqrt.f64 2)) (/.f64 (hypot.f64 a1 a2) (/.f64 1 (cos.f64 th)))) | |
| ✓ | 0.4b | (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (/.f64 (sqrt.f64 2) (cos.f64 th))) |
| ✓ | 0.4b | (+.f64 (*.f64 (*.f64 (cos.f64 th) (pow.f64 2 -1/2)) (*.f64 a1 a1)) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a2 a2))) |
| 0.4b | (+.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a1 a1)) (/.f64 (/.f64 (*.f64 (*.f64 (cos.f64 th) a2) a2) (pow.f64 2 1/4)) (pow.f64 2 1/4))) |
Compiled 2688 to 1615 computations (39.9% saved)
Total 0.5b remaining (96.2%)
Threshold costs 0.5b (96.2%)
Compiled 36007 to 26348 computations (26.8% saved)
| 1× | egg-herbie |
| 2× | *-commutative_binary64 |
| 1× | +-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 14 | 30 |
| 1 | 17 | 30 |
| 1× | saturated |
Compiled 213 to 150 computations (29.6% saved)
Loading profile data...