Time bar (total: 8.7s)
| 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.8s | 8256× | body | 128 | valid |
| 0.0ms | 1× | body | 128 | invalid |
Compiled 111 to 85 computations (23.4% saved)
| 1× | egg-herbie |
| 940× | fma-neg_binary32 |
| 929× | fma-def_binary32 |
| 740× | times-frac_binary32 |
| 329× | div-sub_binary32 |
| 317× | associate-*l*_binary32 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 19 | 40 |
| 1 | 45 | 35 |
| 2 | 107 | 35 |
| 3 | 264 | 33 |
| 4 | 605 | 33 |
| 5 | 2500 | 33 |
| 6 | 3754 | 33 |
| 7 | 5049 | 33 |
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 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 (sqrt.f32 (PI.f32)) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)))))) |
| 0.9b | (/.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))))) |
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 (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))) |
| ✓ | 0.5b | (/.f32 1 (+.f32 (+.f32 1 c) (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 (sqrt.f32 (PI.f32)) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)))))) |
4 calls:
| 78.0ms | (/.f32 1 (+.f32 (+.f32 1 c) (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 (sqrt.f32 (PI.f32)) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)))))) |
| 24.0ms | (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 (sqrt.f32 (PI.f32)) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)))) |
| 13.0ms | (*.f32 (sqrt.f32 (PI.f32)) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))) |
| 8.0ms | (sqrt.f32 (fma.f32 cosTheta -2 1)) |
| 2× | batch-egg-rewrite |
| 315× | log1p-udef_binary32 |
| 180× | add-sqr-sqrt_binary32 |
| 172× | log1p-expm1-u_binary32 |
| 172× | expm1-log1p-u_binary32 |
| 169× | add-log-exp_binary32 |
4 calls:
| 96.0ms | (sqrt.f32 (fma.f32 cosTheta -2 1)) |
| 96.0ms | (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 (sqrt.f32 (PI.f32)) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)))) |
| 96.0ms | (*.f32 (sqrt.f32 (PI.f32)) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))) |
| 96.0ms | (/.f32 1 (+.f32 (+.f32 1 c) (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 (sqrt.f32 (PI.f32)) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)))))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 17 | 79 |
| 1 | 367 | 75 |
| 2 | 4816 | 75 |
| 3 | 5237 | 75 |
| 0 | 0 | 0 |
| 1 | 0 | 0 |
| 1× | egg-herbie |
| 582× | times-frac_binary32 |
| 355× | cancel-sign-sub-inv_binary32 |
| 325× | fma-neg_binary32 |
| 246× | fma-def_binary32 |
| 222× | associate-*r*_binary32 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 212 | 2281 |
| 1 | 696 | 2147 |
| 2 | 2682 | 2095 |
| 3 | 4678 | 2095 |
| 4 | 5070 | 2095 |
9 alts after pruning (9 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 141 | 9 | 150 |
| Fresh | 1 | 0 | 1 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 143 | 9 | 152 |
| Status | Error | Program |
| 13.3b | (/.f32 1 (+.f32 (+.f32 1 c) (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (*.f32 (PI.f32) (pow.f32 (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)) 2)))))) | |
| 1.1b | (*.f32 (pow.f32 (pow.f32 (cbrt.f32 (+.f32 (+.f32 1 c) (/.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))))) 2) -1) (pow.f32 (cbrt.f32 (+.f32 (+.f32 1 c) (/.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))))) -1)) | |
| 1.0b | (/.f32 1 (+.f32 (+.f32 1 c) (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (pow.f32 (cbrt.f32 (*.f32 (sqrt.f32 (PI.f32)) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)))) 3)))) | |
| 0.8b | (/.f32 1 (+.f32 (+.f32 1 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))) | |
| 1.1b | (/.f32 1 (+.f32 (+.f32 1 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 (fma.f32 cosTheta (sqrt.f32 (PI.f32)) (fma.f32 5/2 (*.f32 (pow.f32 cosTheta 3) (sqrt.f32 (PI.f32))) (fma.f32 7/2 (*.f32 (sqrt.f32 (PI.f32)) (pow.f32 cosTheta 4)) (fma.f32 2 (*.f32 (pow.f32 (PI.f32) 3/2) (*.f32 c (pow.f32 cosTheta 3))) (fma.f32 3 (*.f32 (pow.f32 (PI.f32) 3/2) (pow.f32 cosTheta 4)) (fma.f32 (pow.f32 cosTheta 3) (pow.f32 (PI.f32) 3/2) (fma.f32 (*.f32 cosTheta cosTheta) (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 3 (*.f32 (*.f32 c c) (pow.f32 cosTheta 4))) (*.f32 6 (*.f32 c (pow.f32 cosTheta 4))))))))))))) (fma.f32 c (*.f32 (PI.f32) (*.f32 cosTheta cosTheta)) (fma.f32 3 (*.f32 (*.f32 c c) (*.f32 (pow.f32 cosTheta 4) (pow.f32 (PI.f32) 2))) (fma.f32 6 (*.f32 (PI.f32) (*.f32 c (pow.f32 cosTheta 4))) (+.f32 (+.f32 (*.f32 (PI.f32) (*.f32 cosTheta cosTheta)) (*.f32 (+.f32 1 c) (*.f32 2 (*.f32 (PI.f32) (pow.f32 cosTheta 3))))) (+.f32 (*.f32 (pow.f32 cosTheta 4) (+.f32 (pow.f32 (PI.f32) 2) (*.f32 (PI.f32) 6))) (*.f32 (*.f32 (pow.f32 cosTheta 4) (pow.f32 (PI.f32) 2)) (+.f32 (pow.f32 c 3) (*.f32 c 3))))))))) | |
| 0.9b | (pow.f32 (pow.f32 (+.f32 (+.f32 1 c) (/.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)))) -1/2) 2) | |
| ▶ | 0.8b | (/.f32 1 (+.f32 (+.f32 1 c) (*.f32 (/.f32 (cbrt.f32 (fma.f32 cosTheta -2 1)) (sqrt.f32 (PI.f32))) (/.f32 (cbrt.f32 (sqrt.f32 (fma.f32 cosTheta -2 1))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)))))) |
| 13.5b | (*.f32 (/.f32 1 (-.f32 (pow.f32 (+.f32 1 c) 2) (/.f32 (fma.f32 cosTheta -2 1) (*.f32 (PI.f32) (pow.f32 (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)) 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 5814 to 3667 computations (36.9% saved)
Found 4 expressions with local error:
| New | Error | Program |
| ✓ | 0.0b | (cbrt.f32 (sqrt.f32 (fma.f32 cosTheta -2 1))) |
| ✓ | 0.5b | (/.f32 1 (+.f32 (+.f32 1 c) (*.f32 (/.f32 (cbrt.f32 (fma.f32 cosTheta -2 1)) (sqrt.f32 (PI.f32))) (/.f32 (cbrt.f32 (sqrt.f32 (fma.f32 cosTheta -2 1))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)))))) |
| ✓ | 0.6b | (*.f32 (/.f32 (cbrt.f32 (fma.f32 cosTheta -2 1)) (sqrt.f32 (PI.f32))) (/.f32 (cbrt.f32 (sqrt.f32 (fma.f32 cosTheta -2 1))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)))) |
| ✓ | 0.8b | (/.f32 (cbrt.f32 (fma.f32 cosTheta -2 1)) (sqrt.f32 (PI.f32))) |
4 calls:
| 78.0ms | (/.f32 1 (+.f32 (+.f32 1 c) (*.f32 (/.f32 (cbrt.f32 (fma.f32 cosTheta -2 1)) (sqrt.f32 (PI.f32))) (/.f32 (cbrt.f32 (sqrt.f32 (fma.f32 cosTheta -2 1))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)))))) |
| 28.0ms | (*.f32 (/.f32 (cbrt.f32 (fma.f32 cosTheta -2 1)) (sqrt.f32 (PI.f32))) (/.f32 (cbrt.f32 (sqrt.f32 (fma.f32 cosTheta -2 1))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)))) |
| 8.0ms | (/.f32 (cbrt.f32 (fma.f32 cosTheta -2 1)) (sqrt.f32 (PI.f32))) |
| 4.0ms | (cbrt.f32 (sqrt.f32 (fma.f32 cosTheta -2 1))) |
| 2× | batch-egg-rewrite |
| 211× | prod-diff_binary32 |
| 210× | add-sqr-sqrt_binary32 |
| 201× | log1p-expm1-u_binary32 |
| 201× | expm1-log1p-u_binary32 |
| 196× | add-cbrt-cube_binary32 |
4 calls:
| 82.0ms | (cbrt.f32 (sqrt.f32 (fma.f32 cosTheta -2 1))) |
| 82.0ms | (/.f32 1 (+.f32 (+.f32 1 c) (*.f32 (/.f32 (cbrt.f32 (fma.f32 cosTheta -2 1)) (sqrt.f32 (PI.f32))) (/.f32 (cbrt.f32 (sqrt.f32 (fma.f32 cosTheta -2 1))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)))))) |
| 82.0ms | (*.f32 (/.f32 (cbrt.f32 (fma.f32 cosTheta -2 1)) (sqrt.f32 (PI.f32))) (/.f32 (cbrt.f32 (sqrt.f32 (fma.f32 cosTheta -2 1))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)))) |
| 82.0ms | (/.f32 (cbrt.f32 (fma.f32 cosTheta -2 1)) (sqrt.f32 (PI.f32))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 20 | 101 |
| 1 | 431 | 78 |
| 2 | 4895 | 78 |
| 3 | 5271 | 78 |
| 0 | 0 | 0 |
| 1 | 0 | 0 |
| 1× | egg-herbie |
| 746× | times-frac_binary32 |
| 286× | fma-def_binary32 |
| 254× | sub-neg_binary32 |
| 243× | associate-*r*_binary32 |
| 190× | associate-*l*_binary32 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 290 | 3202 |
| 1 | 920 | 3028 |
| 2 | 3438 | 2994 |
| 3 | 5056 | 2994 |
7 alts after pruning (7 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 184 | 3 | 187 |
| Fresh | 4 | 4 | 8 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 189 | 7 | 196 |
| Status | Error | Program |
| 1.1b | (*.f32 (pow.f32 (pow.f32 (cbrt.f32 (+.f32 (+.f32 1 c) (/.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))))) 2) -1) (pow.f32 (cbrt.f32 (+.f32 (+.f32 1 c) (/.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))))) -1)) | |
| ▶ | 0.7b | (/.f32 1 (+.f32 (+.f32 1 c) (/.f32 (*.f32 (cbrt.f32 (fma.f32 cosTheta -2 1)) (/.f32 (pow.f32 (fma.f32 cosTheta -2 1) 1/6) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)))) (sqrt.f32 (PI.f32))))) |
| 13.5b | (*.f32 (/.f32 1 (-.f32 (pow.f32 (+.f32 1 c) 2) (/.f32 (fma.f32 cosTheta -2 1) (*.f32 (PI.f32) (pow.f32 (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)) 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.8b | (/.f32 1 (+.f32 (+.f32 1 c) (*.f32 (*.f32 (cbrt.f32 (/.f32 (pow.f32 (fma.f32 cosTheta -2 1) 2/3) (PI.f32))) (cbrt.f32 (/.f32 (cbrt.f32 (fma.f32 cosTheta -2 1)) (sqrt.f32 (PI.f32))))) (/.f32 (cbrt.f32 (sqrt.f32 (fma.f32 cosTheta -2 1))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)))))) | |
| 0.8b | (/.f32 1 (+.f32 (+.f32 1 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))) | |
| 0.8b | (-.f32 (fma.f32 cosTheta (sqrt.f32 (PI.f32)) (fma.f32 5/2 (*.f32 (pow.f32 cosTheta 3) (sqrt.f32 (PI.f32))) (fma.f32 7/2 (*.f32 (sqrt.f32 (PI.f32)) (pow.f32 cosTheta 4)) (fma.f32 2 (*.f32 (pow.f32 (PI.f32) 3/2) (*.f32 c (pow.f32 cosTheta 3))) (fma.f32 3 (*.f32 (pow.f32 (PI.f32) 3/2) (pow.f32 cosTheta 4)) (fma.f32 (pow.f32 cosTheta 3) (pow.f32 (PI.f32) 3/2) (fma.f32 (*.f32 cosTheta cosTheta) (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 3 (*.f32 (*.f32 c c) (pow.f32 cosTheta 4))) (*.f32 6 (*.f32 c (pow.f32 cosTheta 4))))))))))))) (fma.f32 c (*.f32 (PI.f32) (*.f32 cosTheta cosTheta)) (fma.f32 3 (*.f32 (*.f32 c c) (*.f32 (pow.f32 cosTheta 4) (pow.f32 (PI.f32) 2))) (fma.f32 6 (*.f32 (PI.f32) (*.f32 c (pow.f32 cosTheta 4))) (+.f32 (+.f32 (*.f32 (PI.f32) (*.f32 cosTheta cosTheta)) (*.f32 (+.f32 1 c) (*.f32 2 (*.f32 (PI.f32) (pow.f32 cosTheta 3))))) (+.f32 (*.f32 (pow.f32 cosTheta 4) (+.f32 (pow.f32 (PI.f32) 2) (*.f32 (PI.f32) 6))) (*.f32 (*.f32 (pow.f32 cosTheta 4) (pow.f32 (PI.f32) 2)) (+.f32 (pow.f32 c 3) (*.f32 c 3))))))))) | |
| 0.8b | (pow.f32 (pow.f32 (+.f32 (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 (sqrt.f32 (PI.f32)) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)))) (+.f32 1 c)) -1/2) 2) |
Compiled 8209 to 5480 computations (33.2% saved)
Found 4 expressions with local error:
| New | Error | Program |
| ✓ | 0.0b | (/.f32 (pow.f32 (fma.f32 cosTheta -2 1) 1/6) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))) |
| ✓ | 0.1b | (*.f32 (cbrt.f32 (fma.f32 cosTheta -2 1)) (/.f32 (pow.f32 (fma.f32 cosTheta -2 1) 1/6) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)))) |
| ✓ | 0.5b | (/.f32 1 (+.f32 (+.f32 1 c) (/.f32 (*.f32 (cbrt.f32 (fma.f32 cosTheta -2 1)) (/.f32 (pow.f32 (fma.f32 cosTheta -2 1) 1/6) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)))) (sqrt.f32 (PI.f32))))) |
| ✓ | 0.5b | (/.f32 (*.f32 (cbrt.f32 (fma.f32 cosTheta -2 1)) (/.f32 (pow.f32 (fma.f32 cosTheta -2 1) 1/6) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)))) (sqrt.f32 (PI.f32))) |
4 calls:
| 75.0ms | (/.f32 1 (+.f32 (+.f32 1 c) (/.f32 (*.f32 (cbrt.f32 (fma.f32 cosTheta -2 1)) (/.f32 (pow.f32 (fma.f32 cosTheta -2 1) 1/6) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)))) (sqrt.f32 (PI.f32))))) |
| 24.0ms | (/.f32 (*.f32 (cbrt.f32 (fma.f32 cosTheta -2 1)) (/.f32 (pow.f32 (fma.f32 cosTheta -2 1) 1/6) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)))) (sqrt.f32 (PI.f32))) |
| 17.0ms | (*.f32 (cbrt.f32 (fma.f32 cosTheta -2 1)) (/.f32 (pow.f32 (fma.f32 cosTheta -2 1) 1/6) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)))) |
| 10.0ms | (/.f32 (pow.f32 (fma.f32 cosTheta -2 1) 1/6) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))) |
| 2× | batch-egg-rewrite |
| 214× | add-sqr-sqrt_binary32 |
| 207× | log1p-expm1-u_binary32 |
| 207× | expm1-log1p-u_binary32 |
| 201× | add-cbrt-cube_binary32 |
| 201× | add-log-exp_binary32 |
4 calls:
| 89.0ms | (/.f32 (pow.f32 (fma.f32 cosTheta -2 1) 1/6) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))) |
| 89.0ms | (*.f32 (cbrt.f32 (fma.f32 cosTheta -2 1)) (/.f32 (pow.f32 (fma.f32 cosTheta -2 1) 1/6) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)))) |
| 89.0ms | (/.f32 1 (+.f32 (+.f32 1 c) (/.f32 (*.f32 (cbrt.f32 (fma.f32 cosTheta -2 1)) (/.f32 (pow.f32 (fma.f32 cosTheta -2 1) 1/6) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)))) (sqrt.f32 (PI.f32))))) |
| 89.0ms | (/.f32 (*.f32 (cbrt.f32 (fma.f32 cosTheta -2 1)) (/.f32 (pow.f32 (fma.f32 cosTheta -2 1) 1/6) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)))) (sqrt.f32 (PI.f32))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 20 | 124 |
| 1 | 440 | 93 |
| 2 | 4748 | 93 |
| 3 | 4955 | 93 |
| 0 | 0 | 0 |
| 1 | 0 | 0 |
| 1× | egg-herbie |
| 792× | times-frac_binary32 |
| 414× | cancel-sign-sub-inv_binary32 |
| 243× | fma-def_binary32 |
| 215× | associate-*r*_binary32 |
| 213× | sub-neg_binary32 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 253 | 2736 |
| 1 | 796 | 2540 |
| 2 | 2992 | 2526 |
| 3 | 5352 | 2526 |
7 alts after pruning (6 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 160 | 1 | 161 |
| Fresh | 1 | 5 | 6 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 161 | 7 | 168 |
| Status | Error | Program |
| 1.1b | (*.f32 (pow.f32 (pow.f32 (cbrt.f32 (+.f32 (+.f32 1 c) (/.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))))) 2) -1) (pow.f32 (cbrt.f32 (+.f32 (+.f32 1 c) (/.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))))) -1)) | |
| ✓ | 0.7b | (/.f32 1 (+.f32 (+.f32 1 c) (/.f32 (*.f32 (cbrt.f32 (fma.f32 cosTheta -2 1)) (/.f32 (pow.f32 (fma.f32 cosTheta -2 1) 1/6) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)))) (sqrt.f32 (PI.f32))))) |
| ▶ | 0.7b | (/.f32 1 (+.f32 (+.f32 1 c) (*.f32 (/.f32 1 (cbrt.f32 (PI.f32))) (/.f32 (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))) (cbrt.f32 (sqrt.f32 (PI.f32))))))) |
| 0.8b | (-.f32 (fma.f32 cosTheta (sqrt.f32 (PI.f32)) (fma.f32 5/2 (*.f32 (pow.f32 cosTheta 3) (sqrt.f32 (PI.f32))) (fma.f32 7/2 (*.f32 (sqrt.f32 (PI.f32)) (pow.f32 cosTheta 4)) (fma.f32 2 (*.f32 (pow.f32 (PI.f32) 3/2) (*.f32 c (pow.f32 cosTheta 3))) (fma.f32 3 (*.f32 (pow.f32 (PI.f32) 3/2) (pow.f32 cosTheta 4)) (fma.f32 (pow.f32 cosTheta 3) (pow.f32 (PI.f32) 3/2) (fma.f32 (*.f32 cosTheta cosTheta) (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 3 (*.f32 (*.f32 c c) (pow.f32 cosTheta 4))) (*.f32 6 (*.f32 c (pow.f32 cosTheta 4))))))))))))) (fma.f32 c (*.f32 (PI.f32) (*.f32 cosTheta cosTheta)) (fma.f32 3 (*.f32 (*.f32 c c) (*.f32 (pow.f32 cosTheta 4) (pow.f32 (PI.f32) 2))) (fma.f32 6 (*.f32 (PI.f32) (*.f32 c (pow.f32 cosTheta 4))) (+.f32 (+.f32 (*.f32 (PI.f32) (*.f32 cosTheta cosTheta)) (*.f32 (+.f32 1 c) (*.f32 2 (*.f32 (PI.f32) (pow.f32 cosTheta 3))))) (+.f32 (*.f32 (pow.f32 cosTheta 4) (+.f32 (pow.f32 (PI.f32) 2) (*.f32 (PI.f32) 6))) (*.f32 (*.f32 (pow.f32 cosTheta 4) (pow.f32 (PI.f32) 2)) (+.f32 (pow.f32 c 3) (*.f32 c 3))))))))) | |
| 13.5b | (*.f32 (/.f32 1 (-.f32 (pow.f32 (+.f32 1 c) 2) (/.f32 (fma.f32 cosTheta -2 1) (*.f32 (PI.f32) (pow.f32 (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)) 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.8b | (/.f32 1 (+.f32 (+.f32 1 c) (*.f32 (*.f32 (cbrt.f32 (/.f32 (pow.f32 (fma.f32 cosTheta -2 1) 2/3) (PI.f32))) (cbrt.f32 (/.f32 (cbrt.f32 (fma.f32 cosTheta -2 1)) (sqrt.f32 (PI.f32))))) (/.f32 (cbrt.f32 (sqrt.f32 (fma.f32 cosTheta -2 1))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)))))) | |
| 0.8b | (pow.f32 (pow.f32 (+.f32 (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 (sqrt.f32 (PI.f32)) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)))) (+.f32 1 c)) -1/2) 2) |
Compiled 6836 to 4548 computations (33.5% saved)
Found 4 expressions with local error:
| New | Error | Program |
| 0.0b | (sqrt.f32 (fma.f32 cosTheta -2 1)) | |
| ✓ | 0.4b | (*.f32 (/.f32 1 (cbrt.f32 (PI.f32))) (/.f32 (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))) (cbrt.f32 (sqrt.f32 (PI.f32))))) |
| ✓ | 0.5b | (/.f32 1 (+.f32 (+.f32 1 c) (*.f32 (/.f32 1 (cbrt.f32 (PI.f32))) (/.f32 (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))) (cbrt.f32 (sqrt.f32 (PI.f32))))))) |
| ✓ | 0.5b | (/.f32 (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))) (cbrt.f32 (sqrt.f32 (PI.f32)))) |
3 calls:
| 78.0ms | (/.f32 1 (+.f32 (+.f32 1 c) (*.f32 (/.f32 1 (cbrt.f32 (PI.f32))) (/.f32 (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))) (cbrt.f32 (sqrt.f32 (PI.f32))))))) |
| 34.0ms | (/.f32 (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))) (cbrt.f32 (sqrt.f32 (PI.f32)))) |
| 28.0ms | (*.f32 (/.f32 1 (cbrt.f32 (PI.f32))) (/.f32 (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))) (cbrt.f32 (sqrt.f32 (PI.f32))))) |
| 2× | batch-egg-rewrite |
| 221× | add-sqr-sqrt_binary32 |
| 211× | log1p-expm1-u_binary32 |
| 211× | expm1-log1p-u_binary32 |
| 206× | add-cbrt-cube_binary32 |
| 206× | add-log-exp_binary32 |
3 calls:
| 76.0ms | (*.f32 (/.f32 1 (cbrt.f32 (PI.f32))) (/.f32 (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))) (cbrt.f32 (sqrt.f32 (PI.f32))))) |
| 76.0ms | (/.f32 1 (+.f32 (+.f32 1 c) (*.f32 (/.f32 1 (cbrt.f32 (PI.f32))) (/.f32 (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))) (cbrt.f32 (sqrt.f32 (PI.f32))))))) |
| 76.0ms | (/.f32 (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))) (cbrt.f32 (sqrt.f32 (PI.f32)))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 21 | 99 |
| 1 | 455 | 82 |
| 2 | 4804 | 82 |
| 3 | 4956 | 82 |
| 0 | 0 | 0 |
| 1 | 0 | 0 |
| 1× | egg-herbie |
| 586× | times-frac_binary32 |
| 372× | fma-neg_binary32 |
| 354× | cancel-sign-sub-inv_binary32 |
| 223× | fma-def_binary32 |
| 219× | associate-*r*_binary32 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 201 | 2169 |
| 1 | 660 | 2023 |
| 2 | 2594 | 1895 |
| 3 | 4901 | 1891 |
| 4 | 5131 | 1891 |
7 alts after pruning (6 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 150 | 1 | 151 |
| Fresh | 0 | 5 | 5 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 1 | 1 |
| Total | 151 | 7 | 158 |
| Status | Error | Program |
| 1.1b | (*.f32 (pow.f32 (pow.f32 (cbrt.f32 (+.f32 (+.f32 1 c) (/.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))))) 2) -1) (pow.f32 (cbrt.f32 (+.f32 (+.f32 1 c) (/.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))))) -1)) | |
| ✓ | 0.7b | (/.f32 1 (+.f32 (+.f32 1 c) (/.f32 (*.f32 (cbrt.f32 (fma.f32 cosTheta -2 1)) (/.f32 (pow.f32 (fma.f32 cosTheta -2 1) 1/6) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)))) (sqrt.f32 (PI.f32))))) |
| 13.5b | (*.f32 (/.f32 1 (-.f32 (pow.f32 (+.f32 1 c) 2) (/.f32 (fma.f32 cosTheta -2 1) (*.f32 (PI.f32) (pow.f32 (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)) 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.8b | (/.f32 1 (+.f32 (+.f32 1 c) (*.f32 (*.f32 (cbrt.f32 (/.f32 (pow.f32 (fma.f32 cosTheta -2 1) 2/3) (PI.f32))) (cbrt.f32 (/.f32 (cbrt.f32 (fma.f32 cosTheta -2 1)) (sqrt.f32 (PI.f32))))) (/.f32 (cbrt.f32 (sqrt.f32 (fma.f32 cosTheta -2 1))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)))))) | |
| 1.1b | (/.f32 1 (+.f32 (+.f32 1 c) (*.f32 (/.f32 1 (cbrt.f32 (PI.f32))) (-.f32 (/.f32 (pow.f32 (/.f32 1 (PI.f32)) 1/6) cosTheta) (*.f32 (pow.f32 (/.f32 1 (PI.f32)) 1/6) (+.f32 (*.f32 3/2 cosTheta) 1)))))) | |
| 0.8b | (-.f32 (fma.f32 cosTheta (sqrt.f32 (PI.f32)) (fma.f32 5/2 (*.f32 (pow.f32 cosTheta 3) (sqrt.f32 (PI.f32))) (fma.f32 7/2 (*.f32 (sqrt.f32 (PI.f32)) (pow.f32 cosTheta 4)) (fma.f32 2 (*.f32 (pow.f32 (PI.f32) 3/2) (*.f32 c (pow.f32 cosTheta 3))) (fma.f32 3 (*.f32 (pow.f32 (PI.f32) 3/2) (pow.f32 cosTheta 4)) (fma.f32 (pow.f32 cosTheta 3) (pow.f32 (PI.f32) 3/2) (fma.f32 (*.f32 cosTheta cosTheta) (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 3 (*.f32 (*.f32 c c) (pow.f32 cosTheta 4))) (*.f32 6 (*.f32 c (pow.f32 cosTheta 4))))))))))))) (fma.f32 c (*.f32 (PI.f32) (*.f32 cosTheta cosTheta)) (fma.f32 3 (*.f32 (*.f32 c c) (*.f32 (pow.f32 cosTheta 4) (pow.f32 (PI.f32) 2))) (fma.f32 6 (*.f32 (PI.f32) (*.f32 c (pow.f32 cosTheta 4))) (+.f32 (+.f32 (*.f32 (PI.f32) (*.f32 cosTheta cosTheta)) (*.f32 (+.f32 1 c) (*.f32 2 (*.f32 (PI.f32) (pow.f32 cosTheta 3))))) (+.f32 (*.f32 (pow.f32 cosTheta 4) (+.f32 (pow.f32 (PI.f32) 2) (*.f32 (PI.f32) 6))) (*.f32 (*.f32 (pow.f32 cosTheta 4) (pow.f32 (PI.f32) 2)) (+.f32 (pow.f32 c 3) (*.f32 c 3))))))))) | |
| 0.8b | (pow.f32 (pow.f32 (+.f32 (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 (sqrt.f32 (PI.f32)) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)))) (+.f32 1 c)) -1/2) 2) |
Compiled 5605 to 3570 computations (36.3% saved)
Total 0.4b remaining (92.8%)
Threshold costs 0.4b (92.8%)
Compiled 75954 to 59228 computations (22% saved)
| 1× | egg-herbie |
| 13× | *-commutative_binary32 |
| 11× | +-commutative_binary32 |
| 9× | sub-neg_binary32 |
| 9× | neg-sub0_binary32 |
| 8× | neg-mul-1_binary32 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 23 | 44 |
| 1 | 36 | 44 |
| 2 | 46 | 42 |
| 3 | 62 | 42 |
| 4 | 78 | 42 |
| 5 | 88 | 42 |
| 6 | 94 | 42 |
| 7 | 96 | 42 |
| 8 | 95 | 42 |
Compiled 437 to 316 computations (27.7% saved)
Loading profile data...