Time bar (total: 16.0s)
| 1× | search |
| True | Other | False | Iter |
|---|---|---|---|
| 0% | 6.3% | 93.7% | 0 |
| 0% | 6.3% | 93.7% | 1 |
| 0% | 6.3% | 93.7% | 2 |
| 0% | 6.3% | 93.7% | 3 |
| 0% | 6.3% | 93.7% | 4 |
| 0% | 6.3% | 93.7% | 5 |
| 0.8% | 5.5% | 93.7% | 6 |
| 0.8% | 5.5% | 93.7% | 7 |
| 1% | 4.9% | 94.1% | 8 |
| 1.4% | 4.4% | 94.2% | 9 |
| 1.4% | 3.9% | 94.8% | 10 |
| 1.5% | 3% | 95.5% | 11 |
| 1.7% | 2.7% | 95.6% | 12 |
| 1.7% | 2.2% | 96.1% | 13 |
| 1.8% | 1.6% | 96.6% | 14 |
Compiled 44 to 30 computations (31.8% saved)
| 1.9s | 8256× | body | 128 | valid |
| 983.0ms | 4556× | body | 128 | invalid |
Compiled 109 to 73 computations (33% saved)
| 1× | egg-herbie |
| 1390× | div-sub_binary32 |
| 623× | sub-neg_binary32 |
| 600× | fma-neg_binary32 |
| 545× | fma-def_binary32 |
| 530× | unsub-neg_binary32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 14 | 28 |
| 1 | 26 | 28 |
| 2 | 39 | 28 |
| 3 | 74 | 28 |
| 4 | 114 | 28 |
| 5 | 167 | 28 |
| 6 | 246 | 28 |
| 7 | 430 | 28 |
| 8 | 663 | 28 |
| 9 | 998 | 28 |
| 10 | 1987 | 28 |
| 11 | 2521 | 28 |
| 12 | 3535 | 28 |
| 13 | 4371 | 28 |
| 14 | 4747 | 28 |
| 15 | 4795 | 28 |
| 16 | 4877 | 28 |
| 17 | 4860 | 28 |
| 18 | 5632 | 28 |
2 alts after pruning (2 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 1 | 1 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 0 | 0 |
| Total | 0 | 2 | 2 |
| Status | Error | Program |
| ▶ | 1.6b | (asin.f32 (/.f32 h (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))) |
Compiled 63 to 39 computations (38.1% saved)
Found 4 expressions with local error:
| New | Error | Program |
| ✓ | 0.0b | (/.f32 h (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))) |
| ✓ | 0.0b | (asin.f32 (/.f32 h (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))) |
| ✓ | 0.0b | (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))) |
| ✓ | 1.4b | (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))) |
4 calls:
| 278.0ms | (/.f32 h (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))) |
| 42.0ms | (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))) |
| 32.0ms | (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))) |
| 16.0ms | (asin.f32 (/.f32 h (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))) |
| 1× | rewrite-expression-head |
| 55× | times-frac_binary32 |
| 50× | add-sqr-sqrt_binary32 |
| 46× | sqrt-prod_binary32 |
| 31× | *-un-lft-identity_binary32 |
| 29× | add-cube-cbrt_binary32 |
4 calls:
| 12.0ms | (/.f32 h (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))) |
| 11.0ms | (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))) |
| 8.0ms | (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))) |
| 0.0ms | (asin.f32 (/.f32 h (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))) |
| 1× | egg-herbie |
| 340× | associate-/l*_binary32 |
| 315× | fma-def_binary32 |
| 291× | associate-*r*_binary32 |
| 263× | associate-*l*_binary32 |
| 259× | times-frac_binary32 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 506 | 10010 |
| 1 | 1379 | 9290 |
| 2 | 4997 | 9290 |
7 alts after pruning (6 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 232 | 6 | 238 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 232 | 7 | 239 |
| Status | Error | Program |
| 0.8b | (asin.f32 (/.f32 h (-.f32 eta (*.f32 1/2 (*.f32 (/.f32 (pow.f32 sinTheta_O 2) eta) (sqrt.f32 (/.f32 1 (-.f32 1 (pow.f32 sinTheta_O 2))))))))) | |
| ✓ | 1.6b | (asin.f32 (/.f32 h (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))) |
| 18.3b | (exp.f32 (log.f32 (asin.f32 (/.f32 h (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))))) | |
| ▶ | 0.5b | (asin.f32 (/.f32 h (*.f32 (sqrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))) (sqrt.f32 (-.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))))) |
| 1.9b | (asin.f32 (*.f32 h (/.f32 1 (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))) | |
| 0.6b | (asin.f32 (*.f32 (/.f32 1 (sqrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))) (/.f32 h (sqrt.f32 (-.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))))) | |
| 2.0b | (asin.f32 (/.f32 h (*.f32 (fabs.f32 (cbrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))) (sqrt.f32 (cbrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))))) |
Compiled 9849 to 5912 computations (40% saved)
Found 4 expressions with local error:
| New | Error | Program |
| ✓ | 0.0b | (asin.f32 (/.f32 h (*.f32 (sqrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))) (sqrt.f32 (-.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))))) |
| ✓ | 0.0b | (sqrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))) |
| ✓ | 0.0b | (sqrt.f32 (-.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))) |
| ✓ | 0.5b | (*.f32 (sqrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))) (sqrt.f32 (-.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))) |
4 calls:
| 157.0ms | (*.f32 (sqrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))) (sqrt.f32 (-.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))) |
| 59.0ms | (sqrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))) |
| 57.0ms | (sqrt.f32 (-.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))) |
| 26.0ms | (asin.f32 (/.f32 h (*.f32 (sqrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))) (sqrt.f32 (-.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))))) |
| 1× | rewrite-expression-head |
| 55× | add-sqr-sqrt_binary32 |
| 37× | sqrt-prod_binary32 |
| 18× | *-un-lft-identity_binary32 |
| 16× | sqrt-div_binary32 |
| 11× | associate-*r*_binary32 |
4 calls:
| 30.0ms | (*.f32 (sqrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))) (sqrt.f32 (-.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))) |
| 21.0ms | (sqrt.f32 (-.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))) |
| 13.0ms | (sqrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))) |
| 0.0ms | (asin.f32 (/.f32 h (*.f32 (sqrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))) (sqrt.f32 (-.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))))) |
| 1× | egg-herbie |
| 304× | fma-def_binary32 |
| 248× | associate-/r*_binary32 |
| 229× | associate-*r*_binary32 |
| 229× | times-frac_binary32 |
| 218× | sub-neg_binary32 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 417 | 9788 |
| 1 | 1211 | 9503 |
| 2 | 4561 | 9119 |
| 3 | 5073 | 9119 |
7 alts after pruning (5 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 189 | 0 | 189 |
| Fresh | 0 | 5 | 5 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 189 | 7 | 196 |
| Status | Error | Program |
| 0.8b | (asin.f32 (/.f32 h (-.f32 eta (*.f32 1/2 (*.f32 (/.f32 (pow.f32 sinTheta_O 2) eta) (sqrt.f32 (/.f32 1 (-.f32 1 (pow.f32 sinTheta_O 2))))))))) | |
| ✓ | 1.6b | (asin.f32 (/.f32 h (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))) |
| 18.3b | (exp.f32 (log.f32 (asin.f32 (/.f32 h (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))))) | |
| ✓ | 0.5b | (asin.f32 (/.f32 h (*.f32 (sqrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))) (sqrt.f32 (-.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))))) |
| 1.9b | (asin.f32 (*.f32 h (/.f32 1 (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))) | |
| ▶ | 0.6b | (asin.f32 (*.f32 (/.f32 1 (sqrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))) (/.f32 h (sqrt.f32 (-.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))))) |
| 2.0b | (asin.f32 (/.f32 h (*.f32 (fabs.f32 (cbrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))) (sqrt.f32 (cbrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))))) |
Compiled 11314 to 8096 computations (28.4% saved)
Found 4 expressions with local error:
| New | Error | Program |
| 0.0b | (sqrt.f32 (-.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))) | |
| ✓ | 0.2b | (/.f32 1 (sqrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))) |
| ✓ | 0.3b | (/.f32 h (sqrt.f32 (-.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))) |
| ✓ | 0.4b | (*.f32 (/.f32 1 (sqrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))) (/.f32 h (sqrt.f32 (-.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))) |
3 calls:
| 1.7s | (*.f32 (/.f32 1 (sqrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))) (/.f32 h (sqrt.f32 (-.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))) |
| 742.0ms | (/.f32 h (sqrt.f32 (-.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))) |
| 88.0ms | (/.f32 1 (sqrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))) |
| 1× | rewrite-expression-head |
| 194× | add-sqr-sqrt_binary32 |
| 151× | times-frac_binary32 |
| 116× | sqrt-prod_binary32 |
| 105× | *-un-lft-identity_binary32 |
| 71× | add-cube-cbrt_binary32 |
3 calls:
| 79.0ms | (*.f32 (/.f32 1 (sqrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))) (/.f32 h (sqrt.f32 (-.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))) |
| 15.0ms | (/.f32 h (sqrt.f32 (-.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))) |
| 14.0ms | (/.f32 1 (sqrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))) |
| 1× | egg-herbie |
| 719× | associate-/l*_binary32 |
| 499× | fma-def_binary32 |
| 262× | *-commutative_binary32 |
| 148× | associate-/r/_binary32 |
| 123× | +-commutative_binary32 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 750 | 18050 |
| 1 | 2388 | 17146 |
| 2 | 4966 | 17146 |
8 alts after pruning (5 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 353 | 1 | 354 |
| Fresh | 0 | 4 | 4 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 2 | 2 |
| Total | 353 | 8 | 361 |
| Status | Error | Program |
| 0.8b | (asin.f32 (/.f32 h (-.f32 eta (*.f32 1/2 (*.f32 (/.f32 (pow.f32 sinTheta_O 2) eta) (sqrt.f32 (/.f32 1 (-.f32 1 (pow.f32 sinTheta_O 2))))))))) | |
| ✓ | 1.6b | (asin.f32 (/.f32 h (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))) |
| 18.3b | (exp.f32 (log.f32 (asin.f32 (/.f32 h (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))))) | |
| ✓ | 0.5b | (asin.f32 (/.f32 h (*.f32 (sqrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))) (sqrt.f32 (-.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))))) |
| ▶ | 0.8b | (asin.f32 (*.f32 (/.f32 1 (sqrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))) (/.f32 h (cbrt.f32 (pow.f32 (sqrt.f32 (-.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))) 3))))) |
| 1.9b | (asin.f32 (*.f32 h (/.f32 1 (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))) | |
| ✓ | 0.6b | (asin.f32 (*.f32 (/.f32 1 (sqrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))) (/.f32 h (sqrt.f32 (-.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))))) |
| 2.0b | (asin.f32 (/.f32 h (*.f32 (fabs.f32 (cbrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))) (sqrt.f32 (cbrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))))) |
Compiled 23295 to 16424 computations (29.5% saved)
Found 4 expressions with local error:
| New | Error | Program |
| ✓ | 0.3b | (/.f32 h (cbrt.f32 (pow.f32 (sqrt.f32 (-.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))) 3))) |
| ✓ | 0.3b | (cbrt.f32 (pow.f32 (sqrt.f32 (-.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))) 3)) |
| ✓ | 0.4b | (*.f32 (/.f32 1 (sqrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))) (/.f32 h (cbrt.f32 (pow.f32 (sqrt.f32 (-.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))) 3)))) |
| ✓ | 0.7b | (pow.f32 (sqrt.f32 (-.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))) 3) |
4 calls:
| 1.8s | (*.f32 (/.f32 1 (sqrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))) (/.f32 h (cbrt.f32 (pow.f32 (sqrt.f32 (-.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))) 3)))) |
| 791.0ms | (/.f32 h (cbrt.f32 (pow.f32 (sqrt.f32 (-.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))) 3))) |
| 162.0ms | (pow.f32 (sqrt.f32 (-.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))) 3) |
| 62.0ms | (cbrt.f32 (pow.f32 (sqrt.f32 (-.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))) 3)) |
| 1× | rewrite-expression-head |
| 458× | add-sqr-sqrt_binary32 |
| 328× | times-frac_binary32 |
| 254× | cbrt-prod_binary32 |
| 236× | sqrt-prod_binary32 |
| 192× | *-un-lft-identity_binary32 |
4 calls:
| 74.0ms | (*.f32 (/.f32 1 (sqrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))) (/.f32 h (cbrt.f32 (pow.f32 (sqrt.f32 (-.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))) 3)))) |
| 21.0ms | (pow.f32 (sqrt.f32 (-.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))) 3) |
| 21.0ms | (/.f32 h (cbrt.f32 (pow.f32 (sqrt.f32 (-.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))) 3))) |
| 15.0ms | (cbrt.f32 (pow.f32 (sqrt.f32 (-.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))) 3)) |
| 1× | egg-herbie |
| 779× | associate-/l*_binary32 |
| 518× | fma-def_binary32 |
| 293× | *-commutative_binary32 |
| 136× | associate-/l/_binary32 |
| 132× | associate-*r/_binary32 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 866 | 28025 |
| 1 | 2632 | 26983 |
| 2 | 5393 | 26983 |
8 alts after pruning (4 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 494 | 0 | 494 |
| Fresh | 0 | 4 | 4 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 3 | 3 |
| Total | 494 | 8 | 502 |
| Status | Error | Program |
| 0.8b | (asin.f32 (/.f32 h (-.f32 eta (*.f32 1/2 (*.f32 (/.f32 (pow.f32 sinTheta_O 2) eta) (sqrt.f32 (/.f32 1 (-.f32 1 (pow.f32 sinTheta_O 2))))))))) | |
| ✓ | 1.6b | (asin.f32 (/.f32 h (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))) |
| 18.3b | (exp.f32 (log.f32 (asin.f32 (/.f32 h (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))))) | |
| ✓ | 0.5b | (asin.f32 (/.f32 h (*.f32 (sqrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))) (sqrt.f32 (-.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))))) |
| ✓ | 0.8b | (asin.f32 (*.f32 (/.f32 1 (sqrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))) (/.f32 h (cbrt.f32 (pow.f32 (sqrt.f32 (-.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))) 3))))) |
| 1.9b | (asin.f32 (*.f32 h (/.f32 1 (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))) | |
| ✓ | 0.6b | (asin.f32 (*.f32 (/.f32 1 (sqrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))) (/.f32 h (sqrt.f32 (-.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))))) |
| 2.0b | (asin.f32 (/.f32 h (*.f32 (fabs.f32 (cbrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))) (sqrt.f32 (cbrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))))) |
Compiled 31496 to 21956 computations (30.3% saved)
Total 0.4b remaining (93.6%)
Threshold costs 0.4b (93.6%)
Compiled 26552 to 17769 computations (33.1% saved)
| 1× | egg-herbie |
| 6× | +-commutative_binary32 |
| 5× | sub-neg_binary32 |
| 4× | *-commutative_binary32 |
| 3× | neg-sub0_binary32 |
| 3× | neg-mul-1_binary32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 17 | 45 |
| 1 | 28 | 45 |
| 2 | 38 | 45 |
| 3 | 44 | 45 |
| 4 | 47 | 45 |
| 5 | 46 | 45 |
Compiled 292 to 196 computations (32.9% saved)
Loading profile data...