Time bar (total: 6.1s)
| 1× | search |
| True | Other | False | Iter |
|---|---|---|---|
| 0% | 12.3% | 87.7% | 0 |
| 0% | 12.3% | 87.7% | 1 |
| 6.2% | 6.2% | 87.7% | 2 |
| 6.2% | 6.2% | 87.7% | 3 |
| 9.2% | 3.1% | 87.7% | 4 |
| 9.2% | 3.1% | 87.7% | 5 |
| 10.8% | 1.5% | 87.7% | 6 |
| 10.8% | 1.5% | 87.7% | 7 |
| 11.5% | 0.8% | 87.7% | 8 |
| 11.5% | 0.8% | 87.7% | 9 |
| 11.9% | 0.4% | 87.7% | 10 |
| 11.9% | 0.4% | 87.7% | 11 |
| 12.1% | 0.2% | 87.7% | 12 |
| 12.1% | 0.2% | 87.7% | 13 |
| 12.1% | 0.1% | 87.8% | 14 |
Compiled 42 to 32 computations (23.8% saved)
| 1.7s | 8256× | body | 128 | valid |
Compiled 84 to 64 computations (23.8% saved)
| 2× | egg-herbie |
| 602× | div-sub_binary32 |
| 562× | associate-/l*_binary32 |
| 544× | fma-def_binary32 |
| 329× | associate-/r*_binary32 |
| 268× | fma-neg_binary32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 31 | 80 |
| 1 | 80 | 70 |
| 2 | 215 | 70 |
| 3 | 590 | 66 |
| 4 | 1534 | 66 |
| 5 | 4062 | 66 |
| 0 | 2 | 2 |
| 1× | saturated |
| 1× | node limit |
Compiled 27 to 21 computations (22.2% saved)
| 1× | egg-herbie |
| 929× | fma-def_binary32 |
| 742× | times-frac_binary32 |
| 323× | fma-neg_binary32 |
| 318× | associate-*l*_binary32 |
| 303× | div-sub_binary32 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 19 | 40 |
| 1 | 45 | 35 |
| 2 | 114 | 35 |
| 3 | 306 | 33 |
| 4 | 786 | 33 |
| 5 | 3763 | 33 |
| 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.7b | (/.f32 1 (+.f32 (+.f32 1 c) (*.f32 (*.f32 (/.f32 1 (sqrt.f32 (PI.f32))) (/.f32 (sqrt.f32 (-.f32 (-.f32 1 cosTheta) cosTheta)) cosTheta)) (exp.f32 (*.f32 (neg.f32 cosTheta) cosTheta))))) | |
| ▶ | 0.5b | (/.f32 1 (+.f32 1 (+.f32 c (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 (sqrt.f32 (PI.f32)) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))))))) |
Compiled 148 to 113 computations (23.6% saved)
Found 4 expressions with local error:
| New | Error | Program |
| ✓ | 0.0b | (sqrt.f32 (fma.f32 cosTheta -2 1)) |
| ✓ | 0.3b | (/.f32 1 (+.f32 1 (+.f32 c (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 (sqrt.f32 (PI.f32)) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))))))) |
| ✓ | 0.3b | (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 (sqrt.f32 (PI.f32)) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)))) |
| ✓ | 0.4b | (*.f32 (sqrt.f32 (PI.f32)) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))) |
15 calls:
| 11.0ms | (/.f32 1 (+.f32 1 (+.f32 c (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 (sqrt.f32 (PI.f32)) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))))))) | cosTheta | inf |
| 10.0ms | (/.f32 1 (+.f32 1 (+.f32 c (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 (sqrt.f32 (PI.f32)) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))))))) | cosTheta | -inf |
| 9.0ms | (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 (sqrt.f32 (PI.f32)) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)))) | cosTheta | -inf |
| 9.0ms | (/.f32 1 (+.f32 1 (+.f32 c (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 (sqrt.f32 (PI.f32)) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))))))) | c | -inf |
| 8.0ms | (/.f32 1 (+.f32 1 (+.f32 c (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 (sqrt.f32 (PI.f32)) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))))))) | c | inf |
| 2× | batch-egg-rewrite |
| 186× | add-sqr-sqrt_binary32 |
| 180× | pow1_binary32 |
| 179× | *-un-lft-identity_binary32 |
| 173× | add-log-exp_binary32 |
| 172× | log1p-expm1-u_binary32 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 17 | 79 |
| 1 | 369 | 75 |
| 0 | 17 | 79 |
| 1× | saturated |
| 1× | node limit |
| 1× | egg-herbie |
| 582× | times-frac_binary32 |
| 355× | cancel-sign-sub-inv_binary32 |
| 246× | fma-def_binary32 |
| 222× | associate-*r*_binary32 |
| 177× | associate-*l*_binary32 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 212 | 2281 |
| 1 | 707 | 2147 |
| 2 | 2794 | 2133 |
| 1× | node limit |
15 alts after pruning (15 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 136 | 15 | 151 |
| Fresh | 1 | 0 | 1 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 138 | 15 | 153 |
| Status | Error | Program |
| 21.5b | (*.f32 (/.f32 1 (+.f32 1 (pow.f32 (+.f32 (/.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))) c) 3))) (+.f32 1 (-.f32 (pow.f32 (+.f32 (/.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))) c) 2) (+.f32 (/.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))) c)))) | |
| ▶ | 0.7b | (/.f32 1 (+.f32 1 (+.f32 c (*.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32))) (/.f32 1 (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))))))) |
| 12.1b | (/.f32 1 (+.f32 1 (+.f32 c (*.f32 (/.f32 1 (cbrt.f32 (*.f32 (PI.f32) (pow.f32 (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)) 2)))) (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (cbrt.f32 (*.f32 (pow.f32 (exp.f32 cosTheta) cosTheta) (*.f32 (sqrt.f32 (PI.f32)) cosTheta)))))))) | |
| 1.2b | (-.f32 (fma.f32 (sqrt.f32 (PI.f32)) (+.f32 cosTheta (*.f32 cosTheta cosTheta)) (fma.f32 (*.f32 (sqrt.f32 (PI.f32)) (pow.f32 cosTheta 3)) 5/2 (fma.f32 (*.f32 c c) (*.f32 (pow.f32 cosTheta 3) (pow.f32 (PI.f32) 3/2)) (*.f32 (pow.f32 (PI.f32) 3/2) (+.f32 (*.f32 2 (*.f32 (pow.f32 cosTheta 3) c)) (pow.f32 cosTheta 3)))))) (+.f32 (*.f32 (*.f32 (PI.f32) (pow.f32 cosTheta 3)) (+.f32 2 (*.f32 2 c))) (*.f32 (*.f32 (PI.f32) (*.f32 cosTheta cosTheta)) (+.f32 1 c)))) | |
| 19.0b | (pow.f32 (pow.f32 (/.f32 1 (+.f32 1 (+.f32 (/.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))) c))) 3) 1/3) | |
| 0.8b | (/.f32 1 (+.f32 1 (+.f32 c (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (pow.f32 (cbrt.f32 (*.f32 (pow.f32 (exp.f32 cosTheta) cosTheta) (*.f32 (sqrt.f32 (PI.f32)) cosTheta))) 3))))) | |
| 13.8b | (*.f32 (/.f32 1 (-.f32 1 (pow.f32 (+.f32 (/.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))) c) 2))) (-.f32 (-.f32 1 c) (/.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))))) | |
| 0.9b | (/.f32 1 (+.f32 1 (+.f32 c (pow.f32 (cbrt.f32 (/.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)))) 3)))) | |
| 0.8b | (*.f32 (pow.f32 (sqrt.f32 (+.f32 1 (+.f32 (/.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))) c))) -1) (pow.f32 (sqrt.f32 (+.f32 1 (+.f32 (/.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))) c))) -1)) | |
| 1.0b | (*.f32 (pow.f32 (pow.f32 (cbrt.f32 (+.f32 1 (+.f32 (/.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))) c))) 2) -1) (pow.f32 (cbrt.f32 (+.f32 1 (+.f32 (/.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))) c))) -1)) | |
| 12.0b | (*.f32 (/.f32 1 (cbrt.f32 (+.f32 1 (+.f32 (/.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))) c)))) (cbrt.f32 (pow.f32 (+.f32 1 (+.f32 (/.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))) c)) -2))) | |
| 12.0b | (sqrt.f32 (pow.f32 (+.f32 1 (+.f32 (/.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))) c)) -2)) | |
| 13.7b | (/.f32 1 (+.f32 1 (+.f32 c (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (*.f32 (PI.f32) (pow.f32 (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)) 2))))))) | |
| 0.8b | (/.f32 1 (+.f32 1 (+.f32 c (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (pow.f32 (sqrt.f32 (*.f32 (pow.f32 (exp.f32 cosTheta) cosTheta) (*.f32 (sqrt.f32 (PI.f32)) cosTheta))) 2))))) | |
| 0.8b | (/.f32 1 (+.f32 1 (+.f32 c (pow.f32 (sqrt.f32 (/.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)))) 2)))) |
Compiled 6154 to 3911 computations (36.4% saved)
Found 4 expressions with local error:
| New | Error | Program |
| ✓ | 0.1b | (/.f32 (fma.f32 cosTheta -2 1) (PI.f32)) |
| ✓ | 0.3b | (/.f32 1 (+.f32 1 (+.f32 c (*.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32))) (/.f32 1 (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))))))) |
| ✓ | 0.6b | (*.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32))) (/.f32 1 (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)))) |
| ✓ | 0.8b | (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32))) |
15 calls:
| 11.0ms | (/.f32 1 (+.f32 1 (+.f32 c (*.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32))) (/.f32 1 (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))))))) | cosTheta | inf |
| 10.0ms | (/.f32 1 (+.f32 1 (+.f32 c (*.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32))) (/.f32 1 (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))))))) | cosTheta | -inf |
| 9.0ms | (/.f32 1 (+.f32 1 (+.f32 c (*.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32))) (/.f32 1 (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))))))) | c | inf |
| 9.0ms | (*.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32))) (/.f32 1 (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)))) | cosTheta | -inf |
| 8.0ms | (/.f32 1 (+.f32 1 (+.f32 c (*.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32))) (/.f32 1 (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))))))) | c | -inf |
| 2× | batch-egg-rewrite |
| 190× | add-sqr-sqrt_binary32 |
| 184× | pow1_binary32 |
| 183× | *-un-lft-identity_binary32 |
| 177× | add-log-exp_binary32 |
| 176× | log1p-expm1-u_binary32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 17 | 73 |
| 1 | 376 | 73 |
| 0 | 17 | 79 |
| 1× | saturated |
| 1× | node limit |
| 1× | egg-herbie |
| 589× | times-frac_binary32 |
| 363× | cancel-sign-sub-inv_binary32 |
| 227× | fma-def_binary32 |
| 216× | associate-*r*_binary32 |
| 170× | associate-*l*_binary32 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 202 | 2266 |
| 1 | 670 | 2128 |
| 2 | 2695 | 2114 |
| 1× | node limit |
9 alts after pruning (9 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 173 | 2 | 175 |
| Fresh | 7 | 7 | 14 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 181 | 9 | 190 |
| Status | Error | Program |
| ▶ | 0.5b | (/.f32 1 (+.f32 1 (+.f32 c (*.f32 (*.f32 (cbrt.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32)))) (cbrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32)))) (/.f32 1 (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))))))) |
| 1.2b | (-.f32 (fma.f32 (sqrt.f32 (PI.f32)) (+.f32 cosTheta (*.f32 cosTheta cosTheta)) (fma.f32 (*.f32 (sqrt.f32 (PI.f32)) (pow.f32 cosTheta 3)) 5/2 (fma.f32 (*.f32 c c) (*.f32 (pow.f32 cosTheta 3) (pow.f32 (PI.f32) 3/2)) (*.f32 (pow.f32 (PI.f32) 3/2) (+.f32 (*.f32 2 (*.f32 (pow.f32 cosTheta 3) c)) (pow.f32 cosTheta 3)))))) (+.f32 (*.f32 (*.f32 (PI.f32) (pow.f32 cosTheta 3)) (+.f32 2 (*.f32 2 c))) (*.f32 (*.f32 (PI.f32) (*.f32 cosTheta cosTheta)) (+.f32 1 c)))) | |
| 0.5b | (/.f32 1 (+.f32 1 (+.f32 c (/.f32 (*.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (/.f32 1 cosTheta)) (*.f32 (sqrt.f32 (PI.f32)) (pow.f32 (exp.f32 cosTheta) cosTheta)))))) | |
| 19.0b | (pow.f32 (pow.f32 (/.f32 1 (+.f32 1 (+.f32 (/.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))) c))) 3) 1/3) | |
| 0.8b | (*.f32 (pow.f32 (sqrt.f32 (+.f32 1 (+.f32 (/.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))) c))) -1) (pow.f32 (sqrt.f32 (+.f32 1 (+.f32 (/.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))) c))) -1)) | |
| 1.0b | (*.f32 (pow.f32 (pow.f32 (cbrt.f32 (+.f32 1 (+.f32 (/.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))) c))) 2) -1) (pow.f32 (cbrt.f32 (+.f32 1 (+.f32 (/.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))) c))) -1)) | |
| 12.0b | (*.f32 (/.f32 1 (cbrt.f32 (+.f32 1 (+.f32 (/.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))) c)))) (cbrt.f32 (pow.f32 (+.f32 1 (+.f32 (/.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))) c)) -2))) | |
| 0.8b | (/.f32 1 (+.f32 1 (+.f32 c (pow.f32 (sqrt.f32 (/.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)))) 2)))) | |
| 13.8b | (*.f32 (/.f32 1 (-.f32 1 (pow.f32 (+.f32 (/.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))) c) 2))) (-.f32 (-.f32 1 c) (/.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))))) |
Compiled 6423 to 4191 computations (34.8% saved)
Found 4 expressions with local error:
| New | Error | Program |
| ✓ | 0.3b | (/.f32 1 (+.f32 1 (+.f32 c (*.f32 (*.f32 (cbrt.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32)))) (cbrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32)))) (/.f32 1 (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))))))) |
| ✓ | 0.6b | (*.f32 (*.f32 (cbrt.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32)))) (cbrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32)))) (/.f32 1 (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)))) |
| ✓ | 0.8b | (cbrt.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32)))) |
| 0.8b | (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32))) |
12 calls:
| 11.0ms | (/.f32 1 (+.f32 1 (+.f32 c (*.f32 (*.f32 (cbrt.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32)))) (cbrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32)))) (/.f32 1 (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))))))) | cosTheta | inf |
| 10.0ms | (/.f32 1 (+.f32 1 (+.f32 c (*.f32 (*.f32 (cbrt.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32)))) (cbrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32)))) (/.f32 1 (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))))))) | cosTheta | -inf |
| 9.0ms | (*.f32 (*.f32 (cbrt.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32)))) (cbrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32)))) (/.f32 1 (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)))) | cosTheta | -inf |
| 9.0ms | (/.f32 1 (+.f32 1 (+.f32 c (*.f32 (*.f32 (cbrt.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32)))) (cbrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32)))) (/.f32 1 (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))))))) | c | inf |
| 9.0ms | (/.f32 1 (+.f32 1 (+.f32 c (*.f32 (*.f32 (cbrt.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32)))) (cbrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32)))) (/.f32 1 (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))))))) | c | -inf |
| 2× | batch-egg-rewrite |
| 216× | add-sqr-sqrt_binary32 |
| 210× | pow1_binary32 |
| 208× | *-un-lft-identity_binary32 |
| 201× | add-cbrt-cube_binary32 |
| 201× | add-log-exp_binary32 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 20 | 92 |
| 1 | 436 | 65 |
| 0 | 20 | 102 |
| 1× | saturated |
| 1× | node limit |
| 1× | egg-herbie |
| 642× | times-frac_binary32 |
| 440× | cancel-sign-sub-inv_binary32 |
| 248× | fma-def_binary32 |
| 230× | associate-*r*_binary32 |
| 211× | sub-neg_binary32 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 247 | 2657 |
| 1 | 799 | 2507 |
| 2 | 3116 | 2493 |
| 1× | node limit |
9 alts after pruning (8 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 163 | 0 | 163 |
| Fresh | 0 | 8 | 8 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 163 | 9 | 172 |
| Status | Error | Program |
| ✓ | 0.5b | (/.f32 1 (+.f32 1 (+.f32 c (*.f32 (*.f32 (cbrt.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32)))) (cbrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32)))) (/.f32 1 (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))))))) |
| 1.2b | (-.f32 (fma.f32 (sqrt.f32 (PI.f32)) (+.f32 cosTheta (*.f32 cosTheta cosTheta)) (fma.f32 (*.f32 (sqrt.f32 (PI.f32)) (pow.f32 cosTheta 3)) 5/2 (fma.f32 (*.f32 c c) (*.f32 (pow.f32 cosTheta 3) (pow.f32 (PI.f32) 3/2)) (*.f32 (pow.f32 (PI.f32) 3/2) (+.f32 (*.f32 2 (*.f32 (pow.f32 cosTheta 3) c)) (pow.f32 cosTheta 3)))))) (+.f32 (*.f32 (*.f32 (PI.f32) (pow.f32 cosTheta 3)) (+.f32 2 (*.f32 2 c))) (*.f32 (*.f32 (PI.f32) (*.f32 cosTheta cosTheta)) (+.f32 1 c)))) | |
| ▶ | 0.5b | (/.f32 1 (+.f32 1 (+.f32 c (/.f32 (*.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (/.f32 1 cosTheta)) (*.f32 (sqrt.f32 (PI.f32)) (pow.f32 (exp.f32 cosTheta) cosTheta)))))) |
| 19.0b | (pow.f32 (pow.f32 (/.f32 1 (+.f32 1 (+.f32 (/.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))) c))) 3) 1/3) | |
| 0.8b | (*.f32 (pow.f32 (sqrt.f32 (+.f32 1 (+.f32 (/.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))) c))) -1) (pow.f32 (sqrt.f32 (+.f32 1 (+.f32 (/.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))) c))) -1)) | |
| 1.0b | (*.f32 (pow.f32 (pow.f32 (cbrt.f32 (+.f32 1 (+.f32 (/.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))) c))) 2) -1) (pow.f32 (cbrt.f32 (+.f32 1 (+.f32 (/.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))) c))) -1)) | |
| 12.0b | (*.f32 (/.f32 1 (cbrt.f32 (+.f32 1 (+.f32 (/.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))) c)))) (cbrt.f32 (pow.f32 (+.f32 1 (+.f32 (/.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))) c)) -2))) | |
| 0.8b | (/.f32 1 (+.f32 1 (+.f32 c (pow.f32 (sqrt.f32 (/.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)))) 2)))) | |
| 13.8b | (*.f32 (/.f32 1 (-.f32 1 (pow.f32 (+.f32 (/.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))) c) 2))) (-.f32 (-.f32 1 c) (/.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))))) |
Compiled 7227 to 4913 computations (32% saved)
Found 4 expressions with local error:
| New | Error | Program |
| ✓ | 0.0b | (*.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (/.f32 1 cosTheta)) |
| ✓ | 0.0b | (*.f32 (sqrt.f32 (PI.f32)) (pow.f32 (exp.f32 cosTheta) cosTheta)) |
| ✓ | 0.3b | (/.f32 1 (+.f32 1 (+.f32 c (/.f32 (*.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (/.f32 1 cosTheta)) (*.f32 (sqrt.f32 (PI.f32)) (pow.f32 (exp.f32 cosTheta) cosTheta)))))) |
| ✓ | 0.4b | (/.f32 (*.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (/.f32 1 cosTheta)) (*.f32 (sqrt.f32 (PI.f32)) (pow.f32 (exp.f32 cosTheta) cosTheta))) |
15 calls:
| 11.0ms | (/.f32 1 (+.f32 1 (+.f32 c (/.f32 (*.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (/.f32 1 cosTheta)) (*.f32 (sqrt.f32 (PI.f32)) (pow.f32 (exp.f32 cosTheta) cosTheta)))))) | cosTheta | inf |
| 10.0ms | (/.f32 1 (+.f32 1 (+.f32 c (/.f32 (*.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (/.f32 1 cosTheta)) (*.f32 (sqrt.f32 (PI.f32)) (pow.f32 (exp.f32 cosTheta) cosTheta)))))) | cosTheta | -inf |
| 10.0ms | (/.f32 1 (+.f32 1 (+.f32 c (/.f32 (*.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (/.f32 1 cosTheta)) (*.f32 (sqrt.f32 (PI.f32)) (pow.f32 (exp.f32 cosTheta) cosTheta)))))) | c | -inf |
| 9.0ms | (/.f32 (*.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (/.f32 1 cosTheta)) (*.f32 (sqrt.f32 (PI.f32)) (pow.f32 (exp.f32 cosTheta) cosTheta))) | cosTheta | -inf |
| 8.0ms | (/.f32 1 (+.f32 1 (+.f32 c (/.f32 (*.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (/.f32 1 cosTheta)) (*.f32 (sqrt.f32 (PI.f32)) (pow.f32 (exp.f32 cosTheta) cosTheta)))))) | c | inf |
| 2× | batch-egg-rewrite |
| 201× | add-sqr-sqrt_binary32 |
| 195× | pow1_binary32 |
| 194× | *-un-lft-identity_binary32 |
| 187× | add-log-exp_binary32 |
| 186× | log1p-expm1-u_binary32 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 18 | 79 |
| 1 | 399 | 78 |
| 0 | 18 | 88 |
| 1× | saturated |
| 1× | node limit |
| 1× | egg-herbie |
| 582× | times-frac_binary32 |
| 340× | cancel-sign-sub-inv_binary32 |
| 240× | fma-def_binary32 |
| 219× | associate-*r*_binary32 |
| 175× | associate-+r+_binary32 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 207 | 2264 |
| 1 | 690 | 2115 |
| 2 | 2756 | 2101 |
| 1× | node limit |
10 alts after pruning (8 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 145 | 4 | 149 |
| Fresh | 3 | 4 | 7 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 148 | 10 | 158 |
| Status | Error | Program |
| 0.7b | (/.f32 1 (+.f32 1 (+.f32 c (pow.f32 (sqrt.f32 (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 cosTheta (*.f32 (sqrt.f32 (PI.f32)) (exp.f32 (*.f32 cosTheta cosTheta)))))) 2)))) | |
| 1.0b | (*.f32 (pow.f32 (pow.f32 (cbrt.f32 (+.f32 1 (+.f32 (/.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))) c))) 2) -1) (pow.f32 (cbrt.f32 (+.f32 1 (+.f32 (/.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))) c))) -1)) | |
| 12.0b | (sqrt.f32 (pow.f32 (+.f32 1 (fma.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32))) (/.f32 (pow.f32 cosTheta -1) (exp.f32 (*.f32 cosTheta cosTheta))) c)) -2)) | |
| 0.8b | (*.f32 (pow.f32 (sqrt.f32 (+.f32 1 (+.f32 (/.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))) c))) -1) (pow.f32 (sqrt.f32 (+.f32 1 (+.f32 (/.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))) c))) -1)) | |
| 18.9b | (pow.f32 (pow.f32 (/.f32 1 (+.f32 1 (fma.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32))) (/.f32 (pow.f32 cosTheta -1) (exp.f32 (*.f32 cosTheta cosTheta))) c))) 3) 1/3) | |
| 12.0b | (*.f32 (/.f32 1 (cbrt.f32 (+.f32 1 (+.f32 (/.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))) c)))) (cbrt.f32 (pow.f32 (+.f32 1 (+.f32 (/.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))) c)) -2))) | |
| ✓ | 0.5b | (/.f32 1 (+.f32 1 (+.f32 c (*.f32 (*.f32 (cbrt.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32)))) (cbrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32)))) (/.f32 1 (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))))))) |
| ✓ | 0.5b | (/.f32 1 (+.f32 1 (+.f32 c (/.f32 (*.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (/.f32 1 cosTheta)) (*.f32 (sqrt.f32 (PI.f32)) (pow.f32 (exp.f32 cosTheta) cosTheta)))))) |
| 1.2b | (-.f32 (fma.f32 (sqrt.f32 (PI.f32)) (fma.f32 cosTheta cosTheta cosTheta) (fma.f32 5/2 (*.f32 (pow.f32 cosTheta 3) (sqrt.f32 (PI.f32))) (fma.f32 (*.f32 c c) (*.f32 (pow.f32 cosTheta 3) (pow.f32 (PI.f32) 3/2)) (*.f32 (pow.f32 (PI.f32) 3/2) (+.f32 (*.f32 2 (*.f32 c (pow.f32 cosTheta 3))) (pow.f32 cosTheta 3)))))) (+.f32 (*.f32 (*.f32 (PI.f32) (pow.f32 cosTheta 3)) (+.f32 2 (*.f32 2 c))) (*.f32 (*.f32 cosTheta (*.f32 cosTheta (PI.f32))) (+.f32 1 c)))) | |
| 13.8b | (*.f32 (/.f32 1 (-.f32 1 (pow.f32 (+.f32 (/.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))) c) 2))) (-.f32 (-.f32 1 c) (/.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))))) |
Compiled 5366 to 3419 computations (36.3% saved)
Total 0.4b remaining (92.2%)
Threshold costs 0.4b (92.2%)
Compiled 49306 to 38443 computations (22% saved)
| 1× | egg-herbie |
| 2× | +-commutative_binary32 |
| 1× | *-commutative_binary32 |
| 1× | 1-exp_binary32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 19 | 46 |
| 1 | 24 | 46 |
| 1× | saturated |
| 1× | fuel |
Compiled 442 to 324 computations (26.7% saved)
Loading profile data...