Time bar (total: 11.2s)
| 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 | 1861× | body | 1024 | valid |
| 1.1s | 1679× | body | 1024 | invalid |
| 850.0ms | 5032× | body | 128 | valid |
| 417.0ms | 885× | body | 512 | valid |
| 367.0ms | 847× | body | 512 | invalid |
| 145.0ms | 472× | body | 256 | valid |
| 132.0ms | 637× | body | 128 | invalid |
| 131.0ms | 410× | body | 256 | invalid |
| 6.0ms | 6× | 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 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a1 a1)) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a2 a2))) | |
| ▶ | 0.5b | (*.f64 (cos.f64 th) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (sqrt.f64 2))) |
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.5b | (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (sqrt.f64 2)) |
2 calls:
| 52.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)) |
| 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:
| 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)) |
| 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 |
6 alts after pruning (6 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 145 | 6 | 151 |
| Fresh | 1 | 0 | 1 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 147 | 6 | 153 |
| Status | Error | Program |
| 0.5b | (*.f64 (*.f64 (cos.f64 th) (/.f64 (hypot.f64 a2 a1) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2))))) (/.f64 (sqrt.f64 (fma.f64 a1 a1 (*.f64 a2 a2))) (cbrt.f64 (sqrt.f64 2)))) | |
| 0.7b | (*.f64 (cos.f64 th) (/.f64 1 (/.f64 (sqrt.f64 2) (fma.f64 a1 a1 (*.f64 a2 a2))))) | |
| 0.6b | (*.f64 (*.f64 (cos.f64 th) (/.f64 1 (sqrt.f64 (sqrt.f64 2)))) (/.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 (cos.f64 th) (*.f64 (hypot.f64 a2 a1) (/.f64 (hypot.f64 a2 a1) (sqrt.f64 2)))) |
| 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)))) |
Compiled 3679 to 1734 computations (52.9% saved)
Found 3 expressions with local error:
| New | Error | Program |
| ✓ | 0.1b | (*.f64 (cos.f64 th) (*.f64 (hypot.f64 a2 a1) (/.f64 (hypot.f64 a2 a1) (sqrt.f64 2)))) |
| ✓ | 0.2b | (*.f64 (hypot.f64 a2 a1) (/.f64 (hypot.f64 a2 a1) (sqrt.f64 2))) |
| ✓ | 0.4b | (/.f64 (hypot.f64 a2 a1) (sqrt.f64 2)) |
3 calls:
| 151.0ms | (*.f64 (cos.f64 th) (*.f64 (hypot.f64 a2 a1) (/.f64 (hypot.f64 a2 a1) (sqrt.f64 2)))) |
| 60.0ms | (*.f64 (hypot.f64 a2 a1) (/.f64 (hypot.f64 a2 a1) (sqrt.f64 2))) |
| 19.0ms | (/.f64 (hypot.f64 a2 a1) (sqrt.f64 2)) |
| 1× | rewrite-expression-head |
| 41× | add-sqr-sqrt_binary64 |
| 38× | times-frac_binary64 |
| 33× | *-un-lft-identity_binary64 |
| 33× | add-cube-cbrt_binary64 |
| 23× | associate-*r*_binary64 |
3 calls:
| 8.0ms | (*.f64 (hypot.f64 a2 a1) (/.f64 (hypot.f64 a2 a1) (sqrt.f64 2))) |
| 6.0ms | (*.f64 (cos.f64 th) (*.f64 (hypot.f64 a2 a1) (/.f64 (hypot.f64 a2 a1) (sqrt.f64 2)))) |
| 3.0ms | (/.f64 (hypot.f64 a2 a1) (sqrt.f64 2)) |
| 1× | egg-herbie |
| 731× | associate-/l*_binary64 |
| 669× | times-frac_binary64 |
| 233× | fma-def_binary64 |
| 218× | associate-/l/_binary64 |
| 166× | associate-*r*_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 241 | 4340 |
| 1 | 586 | 4018 |
| 2 | 2016 | 3928 |
| 3 | 5092 | 3928 |
6 alts after pruning (5 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 176 | 1 | 177 |
| Fresh | 1 | 4 | 5 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 177 | 6 | 183 |
| Status | Error | Program |
| ▶ | 0.5b | (*.f64 (*.f64 (cos.f64 th) (/.f64 (hypot.f64 a2 a1) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2))))) (/.f64 (sqrt.f64 (fma.f64 a1 a1 (*.f64 a2 a2))) (cbrt.f64 (sqrt.f64 2)))) |
| 0.7b | (*.f64 (cos.f64 th) (/.f64 1 (/.f64 (sqrt.f64 2) (fma.f64 a1 a1 (*.f64 a2 a2))))) | |
| 0.5b | (*.f64 (cos.f64 th) (*.f64 (hypot.f64 a2 a1) (/.f64 (/.f64 (hypot.f64 a2 a1) (sqrt.f64 (sqrt.f64 2))) (sqrt.f64 (sqrt.f64 2))))) | |
| 0.6b | (*.f64 (*.f64 (cos.f64 th) (/.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 (hypot.f64 a2 a1) (/.f64 (hypot.f64 a2 a1) (sqrt.f64 2)))) |
| 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)))) |
Compiled 4390 to 2372 computations (46% saved)
Found 4 expressions with local error:
| New | Error | Program |
| ✓ | 0.2b | (*.f64 (cos.f64 th) (/.f64 (hypot.f64 a2 a1) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2))))) |
| ✓ | 0.2b | (/.f64 (sqrt.f64 (fma.f64 a1 a1 (*.f64 a2 a2))) (cbrt.f64 (sqrt.f64 2))) |
| ✓ | 0.3b | (*.f64 (*.f64 (cos.f64 th) (/.f64 (hypot.f64 a2 a1) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2))))) (/.f64 (sqrt.f64 (fma.f64 a1 a1 (*.f64 a2 a2))) (cbrt.f64 (sqrt.f64 2)))) |
| ✓ | 5.8b | (sqrt.f64 (fma.f64 a1 a1 (*.f64 a2 a2))) |
4 calls:
| 382.0ms | (*.f64 (cos.f64 th) (/.f64 (hypot.f64 a2 a1) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2))))) |
| 184.0ms | (*.f64 (*.f64 (cos.f64 th) (/.f64 (hypot.f64 a2 a1) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2))))) (/.f64 (sqrt.f64 (fma.f64 a1 a1 (*.f64 a2 a2))) (cbrt.f64 (sqrt.f64 2)))) |
| 48.0ms | (/.f64 (sqrt.f64 (fma.f64 a1 a1 (*.f64 a2 a2))) (cbrt.f64 (sqrt.f64 2))) |
| 13.0ms | (sqrt.f64 (fma.f64 a1 a1 (*.f64 a2 a2))) |
| 1× | rewrite-expression-head |
| 112× | times-frac_binary64 |
| 99× | sqrt-prod_binary64 |
| 91× | add-sqr-sqrt_binary64 |
| 86× | *-un-lft-identity_binary64 |
| 86× | add-cube-cbrt_binary64 |
4 calls:
| 18.0ms | (*.f64 (*.f64 (cos.f64 th) (/.f64 (hypot.f64 a2 a1) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2))))) (/.f64 (sqrt.f64 (fma.f64 a1 a1 (*.f64 a2 a2))) (cbrt.f64 (sqrt.f64 2)))) |
| 8.0ms | (*.f64 (cos.f64 th) (/.f64 (hypot.f64 a2 a1) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2))))) |
| 5.0ms | (/.f64 (sqrt.f64 (fma.f64 a1 a1 (*.f64 a2 a2))) (cbrt.f64 (sqrt.f64 2))) |
| 2.0ms | (sqrt.f64 (fma.f64 a1 a1 (*.f64 a2 a2))) |
| 1× | egg-herbie |
| 629× | fma-def_binary64 |
| 486× | associate-*l*_binary64 |
| 420× | associate-*r*_binary64 |
| 263× | associate-*r/_binary64 |
| 258× | fma-neg_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 424 | 12369 |
| 1 | 1171 | 9283 |
| 2 | 4493 | 9166 |
| 3 | 5108 | 9166 |
6 alts after pruning (4 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 402 | 2 | 404 |
| Fresh | 2 | 2 | 4 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 404 | 6 | 410 |
| Status | Error | Program |
| ✓ | 0.5b | (*.f64 (*.f64 (cos.f64 th) (/.f64 (hypot.f64 a2 a1) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2))))) (/.f64 (sqrt.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) (cbrt.f64 1/2))) (/.f64 (sqrt.f64 (fma.f64 a1 a1 (*.f64 a2 a2))) (cbrt.f64 (sqrt.f64 2)))) |
| 0.6b | (*.f64 (*.f64 (cos.f64 th) (/.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) (/.f64 (fma.f64 a2 a2 (*.f64 a1 a1)) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2))))) (cbrt.f64 (sqrt.f64 2))) | |
| ✓ | 0.4b | (*.f64 (cos.f64 th) (*.f64 (hypot.f64 a2 a1) (/.f64 (hypot.f64 a2 a1) (sqrt.f64 2)))) |
| 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)))) |
Compiled 15608 to 9168 computations (41.3% saved)
Found 4 expressions with local error:
| New | Error | Program |
| 0.2b | (/.f64 (sqrt.f64 (fma.f64 a1 a1 (*.f64 a2 a2))) (cbrt.f64 (sqrt.f64 2))) | |
| ✓ | 0.3b | (*.f64 (*.f64 (cos.f64 th) (*.f64 (hypot.f64 a2 a1) (cbrt.f64 1/2))) (/.f64 (sqrt.f64 (fma.f64 a1 a1 (*.f64 a2 a2))) (cbrt.f64 (sqrt.f64 2)))) |
| ✓ | 0.4b | (*.f64 (hypot.f64 a2 a1) (cbrt.f64 1/2)) |
| 5.8b | (sqrt.f64 (fma.f64 a1 a1 (*.f64 a2 a2))) |
2 calls:
| 651.0ms | (*.f64 (*.f64 (cos.f64 th) (*.f64 (hypot.f64 a2 a1) (cbrt.f64 1/2))) (/.f64 (sqrt.f64 (fma.f64 a1 a1 (*.f64 a2 a2))) (cbrt.f64 (sqrt.f64 2)))) |
| 24.0ms | (*.f64 (hypot.f64 a2 a1) (cbrt.f64 1/2)) |
| 1× | rewrite-expression-head |
| 64× | associate-*r*_binary64 |
| 54× | times-frac_binary64 |
| 46× | add-sqr-sqrt_binary64 |
| 45× | sqrt-prod_binary64 |
| 42× | *-un-lft-identity_binary64 |
2 calls:
| 15.0ms | (*.f64 (*.f64 (cos.f64 th) (*.f64 (hypot.f64 a2 a1) (cbrt.f64 1/2))) (/.f64 (sqrt.f64 (fma.f64 a1 a1 (*.f64 a2 a2))) (cbrt.f64 (sqrt.f64 2)))) |
| 4.0ms | (*.f64 (hypot.f64 a2 a1) (cbrt.f64 1/2)) |
| 1× | egg-herbie |
| 788× | fma-def_binary64 |
| 590× | times-frac_binary64 |
| 542× | associate-*l*_binary64 |
| 453× | associate-*r*_binary64 |
| 255× | *-commutative_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 276 | 5636 |
| 1 | 792 | 4726 |
| 2 | 3334 | 4704 |
| 3 | 5229 | 4704 |
6 alts after pruning (3 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 390 | 0 | 390 |
| Fresh | 0 | 3 | 3 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 2 | 2 |
| Total | 390 | 6 | 396 |
| Status | Error | Program |
| ✓ | 0.5b | (*.f64 (*.f64 (cos.f64 th) (/.f64 (hypot.f64 a2 a1) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2))))) (/.f64 (sqrt.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) (cbrt.f64 1/2))) (/.f64 (sqrt.f64 (fma.f64 a1 a1 (*.f64 a2 a2))) (cbrt.f64 (sqrt.f64 2)))) |
| 0.6b | (*.f64 (*.f64 (cos.f64 th) (/.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) (/.f64 (fma.f64 a2 a2 (*.f64 a1 a1)) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2))))) (cbrt.f64 (sqrt.f64 2))) | |
| ✓ | 0.4b | (*.f64 (cos.f64 th) (*.f64 (hypot.f64 a2 a1) (/.f64 (hypot.f64 a2 a1) (sqrt.f64 2)))) |
| 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)))) |
Compiled 13004 to 7055 computations (45.7% saved)
Total 0.3b remaining (85.8%)
Threshold costs 0.3b (85.8%)
Compiled 42223 to 28725 computations (32% saved)
| 1× | egg-herbie |
| 2× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 13 | 24 |
| 1 | 15 | 24 |
| 2 | 15 | 24 |
Compiled 216 to 151 computations (30.1% saved)
Loading profile data...