Time bar (total: 1.6min)
| 1× | search |
| True | Other | False | Iter |
|---|---|---|---|
| 0% | 3% | 97% | 0 |
| 0% | 3% | 97% | 1 |
| 0% | 3% | 97% | 2 |
| 0% | 3% | 97% | 3 |
| 0% | 3% | 97% | 4 |
| 0% | 3% | 97% | 5 |
| 0% | 1.5% | 98.5% | 6 |
| 0% | 1.5% | 98.5% | 7 |
| 0% | 1.5% | 98.5% | 8 |
| 0% | 1.5% | 98.5% | 9 |
| 0% | 1.5% | 98.5% | 10 |
| 0.6% | 0.9% | 98.5% | 11 |
| 0.6% | 0.9% | 98.5% | 12 |
| 0.6% | 0.9% | 98.5% | 13 |
| 0.6% | 0.9% | 98.5% | 14 |
Compiled 69 to 51 computations (26.1% saved)
(sort cosTheta_i cosTheta_O)
(sort sinTheta_i sinTheta_O)
| 2.6s | 8256× | body | 128 | valid |
| 39.0ms | 110× | body | 128 | invalid |
Compiled 168 to 124 computations (26.2% saved)
| 1× | egg-herbie |
| 696× | fma-def_binary32 |
| 512× | exp-sum_binary32 |
| 492× | fma-neg_binary32 |
| 429× | exp-diff_binary32 |
| 212× | times-frac_binary32 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 22 | 35 |
| 1 | 53 | 33 |
| 2 | 147 | 31 |
| 3 | 584 | 29 |
| 4 | 2863 | 29 |
| 1× | node limit |
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.1b | (exp.f32 (+.f32 (+.f32 (-.f32 (-.f32 (/.f32 (*.f32 cosTheta_i cosTheta_O) v) (/.f32 (*.f32 sinTheta_i sinTheta_O) v)) (/.f32 1 v)) 6931/10000) (log.f32 (/.f32 1 (*.f32 2 v))))) |
| 0.1b | (*.f32 (exp.f32 (-.f32 (fma.f32 cosTheta_O (/.f32 cosTheta_i v) 6931/10000) (fma.f32 sinTheta_i (/.f32 sinTheta_O v) (/.f32 1 v)))) (/.f32 1/2 v)) |
Compiled 160 to 112 computations (30% saved)
Found 4 expressions with local error:
| New | Error | Program |
| ✓ | 0.1b | (-.f32 (/.f32 (*.f32 cosTheta_i cosTheta_O) v) (/.f32 (*.f32 sinTheta_i sinTheta_O) v)) |
| ✓ | 0.1b | (+.f32 (+.f32 (-.f32 (-.f32 (/.f32 (*.f32 cosTheta_i cosTheta_O) v) (/.f32 (*.f32 sinTheta_i sinTheta_O) v)) (/.f32 1 v)) 6931/10000) (log.f32 (/.f32 1 (*.f32 2 v)))) |
| ✓ | 6.9b | (/.f32 (*.f32 cosTheta_i cosTheta_O) v) |
| ✓ | 7.1b | (/.f32 (*.f32 sinTheta_i sinTheta_O) v) |
4 calls:
| 221.0ms | (+.f32 (+.f32 (-.f32 (-.f32 (/.f32 (*.f32 cosTheta_i cosTheta_O) v) (/.f32 (*.f32 sinTheta_i sinTheta_O) v)) (/.f32 1 v)) 6931/10000) (log.f32 (/.f32 1 (*.f32 2 v)))) |
| 54.0ms | (-.f32 (/.f32 (*.f32 cosTheta_i cosTheta_O) v) (/.f32 (*.f32 sinTheta_i sinTheta_O) v)) |
| 13.0ms | (/.f32 (*.f32 sinTheta_i sinTheta_O) v) |
| 12.0ms | (/.f32 (*.f32 cosTheta_i cosTheta_O) v) |
| 1× | batch-egg-rewrite |
| 245× | add-sqr-sqrt_binary32 |
| 235× | log1p-expm1-u_binary32 |
| 235× | expm1-log1p-u_binary32 |
| 234× | add-cbrt-cube_binary32 |
| 228× | add-log-exp_binary32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 21 | 57 |
| 1 | 489 | 57 |
| 1× | node limit |
4 calls:
| 51.0ms | (-.f32 (/.f32 (*.f32 cosTheta_i cosTheta_O) v) (/.f32 (*.f32 sinTheta_i sinTheta_O) v)) |
| 51.0ms | (+.f32 (+.f32 (-.f32 (-.f32 (/.f32 (*.f32 cosTheta_i cosTheta_O) v) (/.f32 (*.f32 sinTheta_i sinTheta_O) v)) (/.f32 1 v)) 6931/10000) (log.f32 (/.f32 1 (*.f32 2 v)))) |
| 51.0ms | (/.f32 (*.f32 cosTheta_i cosTheta_O) v) |
| 51.0ms | (/.f32 (*.f32 sinTheta_i sinTheta_O) v) |
| 1× | egg-herbie |
| 745× | sub-neg_binary32 |
| 474× | fma-def_binary32 |
| 441× | +-commutative_binary32 |
| 389× | fma-neg_binary32 |
| 263× | associate--r+_binary32 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 57 | 1955 |
| 1 | 165 | 1949 |
| 2 | 480 | 1575 |
| 3 | 1663 | 1573 |
| 4 | 3813 | 1569 |
| 1× | node limit |
2 alts after pruning (2 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 116 | 2 | 118 |
| Fresh | 1 | 0 | 1 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 118 | 2 | 120 |
| Status | Error | Program |
| ▶ | 0.0b | (exp.f32 (fma.f32 (pow.f32 (cbrt.f32 (-.f32 (/.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (*.f32 sinTheta_i sinTheta_O)) v) (/.f32 1 v))) 2) (cbrt.f32 (-.f32 (/.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (*.f32 sinTheta_i sinTheta_O)) v) (/.f32 1 v))) (+.f32 6931/10000 (log.f32 (/.f32 1/2 v))))) |
| 0.1b | (exp.f32 (fma.f32 (pow.f32 (cbrt.f32 (-.f32 (/.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (*.f32 sinTheta_i sinTheta_O)) v) (-.f32 (/.f32 1 v) 6931/10000))) 2) (cbrt.f32 (-.f32 (/.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (*.f32 sinTheta_i sinTheta_O)) v) (-.f32 (/.f32 1 v) 6931/10000))) (log.f32 (/.f32 1/2 v)))) |
Compiled 3674 to 1921 computations (47.7% saved)
Found 4 expressions with local error:
| New | Error | Program |
| ✓ | 0.1b | (cbrt.f32 (-.f32 (/.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (*.f32 sinTheta_i sinTheta_O)) v) (/.f32 1 v))) |
| ✓ | 0.3b | (fma.f32 (pow.f32 (cbrt.f32 (-.f32 (/.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (*.f32 sinTheta_i sinTheta_O)) v) (/.f32 1 v))) 2) (cbrt.f32 (-.f32 (/.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (*.f32 sinTheta_i sinTheta_O)) v) (/.f32 1 v))) (+.f32 6931/10000 (log.f32 (/.f32 1/2 v)))) |
| ✓ | 0.6b | (pow.f32 (cbrt.f32 (-.f32 (/.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (*.f32 sinTheta_i sinTheta_O)) v) (/.f32 1 v))) 2) |
| ✓ | 3.2b | (/.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (*.f32 sinTheta_i sinTheta_O)) v) |
4 calls:
| 46.1s | (fma.f32 (pow.f32 (cbrt.f32 (-.f32 (/.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (*.f32 sinTheta_i sinTheta_O)) v) (/.f32 1 v))) 2) (cbrt.f32 (-.f32 (/.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (*.f32 sinTheta_i sinTheta_O)) v) (/.f32 1 v))) (+.f32 6931/10000 (log.f32 (/.f32 1/2 v)))) |
| 752.0ms | (pow.f32 (cbrt.f32 (-.f32 (/.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (*.f32 sinTheta_i sinTheta_O)) v) (/.f32 1 v))) 2) |
| 444.0ms | (cbrt.f32 (-.f32 (/.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (*.f32 sinTheta_i sinTheta_O)) v) (/.f32 1 v))) |
| 27.0ms | (/.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (*.f32 sinTheta_i sinTheta_O)) v) |
| 1× | batch-egg-rewrite |
| 242× | add-sqr-sqrt_binary32 |
| 232× | log1p-expm1-u_binary32 |
| 232× | expm1-log1p-u_binary32 |
| 231× | add-cbrt-cube_binary32 |
| 226× | add-log-exp_binary32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 22 | 79 |
| 1 | 498 | 79 |
| 1× | node limit |
4 calls:
| 31.0ms | (cbrt.f32 (-.f32 (/.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (*.f32 sinTheta_i sinTheta_O)) v) (/.f32 1 v))) |
| 31.0ms | (fma.f32 (pow.f32 (cbrt.f32 (-.f32 (/.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (*.f32 sinTheta_i sinTheta_O)) v) (/.f32 1 v))) 2) (cbrt.f32 (-.f32 (/.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (*.f32 sinTheta_i sinTheta_O)) v) (/.f32 1 v))) (+.f32 6931/10000 (log.f32 (/.f32 1/2 v)))) |
| 31.0ms | (pow.f32 (cbrt.f32 (-.f32 (/.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (*.f32 sinTheta_i sinTheta_O)) v) (/.f32 1 v))) 2) |
| 31.0ms | (/.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (*.f32 sinTheta_i sinTheta_O)) v) |
| 1× | egg-herbie |
| 373× | *-commutative_binary32 |
| 292× | +-commutative_binary32 |
| 221× | fma-def_binary32 |
| 200× | associate-+r+_binary32 |
| 193× | associate-/r*_binary32 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 1118 | 20366 |
| 1 | 4708 | 20282 |
| 1× | node limit |
2 alts after pruning (1 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 439 | 1 | 440 |
| Fresh | 1 | 0 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 440 | 2 | 442 |
| Status | Error | Program |
| ✓ | 0.0b | (exp.f32 (fma.f32 (pow.f32 (cbrt.f32 (-.f32 (/.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (*.f32 sinTheta_i sinTheta_O)) v) (/.f32 1 v))) 2) (cbrt.f32 (-.f32 (/.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (*.f32 sinTheta_i sinTheta_O)) v) (/.f32 1 v))) (+.f32 6931/10000 (log.f32 (/.f32 1/2 v))))) |
| ▶ | 0.1b | (exp.f32 (fma.f32 (expm1.f32 (log1p.f32 (pow.f32 (cbrt.f32 (/.f32 (-.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (*.f32 sinTheta_i sinTheta_O)) 1) v)) 2))) (cbrt.f32 (-.f32 (/.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (*.f32 sinTheta_i sinTheta_O)) v) (/.f32 1 v))) (+.f32 6931/10000 (log.f32 (/.f32 1/2 v))))) |
Compiled 40055 to 22442 computations (44% saved)
Found 4 expressions with local error:
| New | Error | Program |
| ✓ | 0.3b | (fma.f32 (expm1.f32 (log1p.f32 (pow.f32 (cbrt.f32 (/.f32 (-.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (*.f32 sinTheta_i sinTheta_O)) 1) v)) 2))) (cbrt.f32 (-.f32 (/.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (*.f32 sinTheta_i sinTheta_O)) v) (/.f32 1 v))) (+.f32 6931/10000 (log.f32 (/.f32 1/2 v)))) |
| ✓ | 0.6b | (pow.f32 (cbrt.f32 (/.f32 (-.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (*.f32 sinTheta_i sinTheta_O)) 1) v)) 2) |
| ✓ | 2.6b | (expm1.f32 (log1p.f32 (pow.f32 (cbrt.f32 (/.f32 (-.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (*.f32 sinTheta_i sinTheta_O)) 1) v)) 2))) |
| 3.2b | (/.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (*.f32 sinTheta_i sinTheta_O)) v) |
3 calls:
| 36.9s | (fma.f32 (expm1.f32 (log1p.f32 (pow.f32 (cbrt.f32 (/.f32 (-.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (*.f32 sinTheta_i sinTheta_O)) 1) v)) 2))) (cbrt.f32 (-.f32 (/.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (*.f32 sinTheta_i sinTheta_O)) v) (/.f32 1 v))) (+.f32 6931/10000 (log.f32 (/.f32 1/2 v)))) |
| 627.0ms | (expm1.f32 (log1p.f32 (pow.f32 (cbrt.f32 (/.f32 (-.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (*.f32 sinTheta_i sinTheta_O)) 1) v)) 2))) |
| 622.0ms | (pow.f32 (cbrt.f32 (/.f32 (-.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (*.f32 sinTheta_i sinTheta_O)) 1) v)) 2) |
| 1× | batch-egg-rewrite |
| 262× | expm1-log1p-u_binary32 |
| 261× | log1p-expm1-u_binary32 |
| 258× | add-cbrt-cube_binary32 |
| 252× | add-log-exp_binary32 |
| 251× | add-exp-log_binary32 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 27 | 69 |
| 1 | 594 | 63 |
| 1× | node limit |
3 calls:
| 27.0ms | (fma.f32 (expm1.f32 (log1p.f32 (pow.f32 (cbrt.f32 (/.f32 (-.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (*.f32 sinTheta_i sinTheta_O)) 1) v)) 2))) (cbrt.f32 (-.f32 (/.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (*.f32 sinTheta_i sinTheta_O)) v) (/.f32 1 v))) (+.f32 6931/10000 (log.f32 (/.f32 1/2 v)))) |
| 27.0ms | (pow.f32 (cbrt.f32 (/.f32 (-.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (*.f32 sinTheta_i sinTheta_O)) 1) v)) 2) |
| 27.0ms | (expm1.f32 (log1p.f32 (pow.f32 (cbrt.f32 (/.f32 (-.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (*.f32 sinTheta_i sinTheta_O)) 1) v)) 2))) |
| 1× | egg-herbie |
| 768× | fma-def_binary32 |
| 301× | *-commutative_binary32 |
| 215× | +-commutative_binary32 |
| 186× | sub-neg_binary32 |
| 151× | sqr-pow_binary32 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 888 | 24008 |
| 1 | 3589 | 22868 |
| 1× | node limit |
2 alts after pruning (0 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 207 | 0 | 207 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 207 | 2 | 209 |
| Status | Error | Program |
| ✓ | 0.0b | (exp.f32 (fma.f32 (pow.f32 (cbrt.f32 (-.f32 (/.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (*.f32 sinTheta_i sinTheta_O)) v) (/.f32 1 v))) 2) (cbrt.f32 (-.f32 (/.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (*.f32 sinTheta_i sinTheta_O)) v) (/.f32 1 v))) (+.f32 6931/10000 (log.f32 (/.f32 1/2 v))))) |
| ✓ | 0.1b | (exp.f32 (fma.f32 (expm1.f32 (log1p.f32 (pow.f32 (cbrt.f32 (/.f32 (-.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (*.f32 sinTheta_i sinTheta_O)) 1) v)) 2))) (cbrt.f32 (-.f32 (/.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (*.f32 sinTheta_i sinTheta_O)) v) (/.f32 1 v))) (+.f32 6931/10000 (log.f32 (/.f32 1/2 v))))) |
Compiled 19606 to 11787 computations (39.9% saved)
Total 0.0b remaining (6.7%)
Threshold costs 0.0b (6.7%)
Compiled 37146 to 27030 computations (27.2% saved)
| 1× | egg-herbie |
| 9× | +-commutative_binary32 |
| 8× | sub-neg_binary32 |
| 7× | *-commutative_binary32 |
| 5× | neg-sub0_binary32 |
| 5× | neg-mul-1_binary32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 29 | 57 |
| 1 | 43 | 57 |
| 2 | 62 | 57 |
| 3 | 72 | 57 |
| 4 | 78 | 57 |
| 5 | 79 | 57 |
| 1× | saturated |
(sort sinTheta_i sinTheta_O)
(sort cosTheta_i cosTheta_O)
Compiled 338 to 228 computations (32.5% saved)
Loading profile data...