Time bar (total: 26.7s)
| 1× | search |
| True | Other | False | Iter |
|---|---|---|---|
| 0% | 0.1% | 99.9% | 0 |
| 0% | 0.1% | 99.9% | 1 |
| 0% | 0.1% | 99.9% | 2 |
| 0% | 0.1% | 99.9% | 3 |
| 0% | 0% | 99.9% | 4 |
| 0% | 0% | 99.9% | 5 |
| 0% | 0% | 99.9% | 6 |
| 0.1% | 0% | 99.9% | 7 |
| 0.1% | 0% | 99.9% | 8 |
| 0.1% | 0% | 99.9% | 9 |
| 0.1% | 0% | 99.9% | 10 |
| 0.1% | 0% | 99.9% | 11 |
| 0.1% | 0% | 99.9% | 12 |
| 0.1% | 0% | 99.9% | 13 |
| 0.1% | 0% | 99.9% | 14 |
Compiled 51 to 37 computations (27.5% saved)
| 2.3s | 8256× | body | 128 | valid |
Compiled 130 to 94 computations (27.7% saved)
| 1× | egg-herbie |
| 743× | sub-neg_binary32 |
| 674× | fma-neg_binary32 |
| 386× | associate--l-_binary32 |
| 316× | distribute-rgt-in_binary32 |
| 286× | unsub-neg_binary32 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 17 | 39 |
| 1 | 41 | 35 |
| 2 | 117 | 35 |
| 3 | 431 | 33 |
| 4 | 1755 | 33 |
| 5 | 4135 | 33 |
| 6 | 4966 | 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 |
| ▶ | 14.1b | (*.f32 (cos.f32 (*.f32 (*.f32 uy 2) (PI.f32))) (sqrt.f32 (fma.f32 (fma.f32 ux maxCos (-.f32 1 ux)) (-.f32 ux (fma.f32 ux maxCos 1)) 1))) |
| 14.1b | (*.f32 (cos.f32 (*.f32 (*.f32 uy 2) (PI.f32))) (sqrt.f32 (-.f32 1 (*.f32 (+.f32 (-.f32 1 ux) (*.f32 ux maxCos)) (+.f32 (-.f32 1 ux) (*.f32 ux maxCos)))))) |
Compiled 156 to 110 computations (29.5% saved)
Found 4 expressions with local error:
| New | Error | Program |
| ✓ | 0.1b | (cos.f32 (*.f32 (*.f32 uy 2) (PI.f32))) |
| ✓ | 0.2b | (*.f32 (cos.f32 (*.f32 (*.f32 uy 2) (PI.f32))) (sqrt.f32 (fma.f32 (fma.f32 ux maxCos (-.f32 1 ux)) (-.f32 ux (fma.f32 ux maxCos 1)) 1))) |
| ✓ | 0.3b | (*.f32 (*.f32 uy 2) (PI.f32)) |
| ✓ | 14.7b | (fma.f32 (fma.f32 ux maxCos (-.f32 1 ux)) (-.f32 ux (fma.f32 ux maxCos 1)) 1) |
4 calls:
| 246.0ms | (*.f32 (cos.f32 (*.f32 (*.f32 uy 2) (PI.f32))) (sqrt.f32 (fma.f32 (fma.f32 ux maxCos (-.f32 1 ux)) (-.f32 ux (fma.f32 ux maxCos 1)) 1))) |
| 15.0ms | (fma.f32 (fma.f32 ux maxCos (-.f32 1 ux)) (-.f32 ux (fma.f32 ux maxCos 1)) 1) |
| 4.0ms | (cos.f32 (*.f32 (*.f32 uy 2) (PI.f32))) |
| 3.0ms | (*.f32 (*.f32 uy 2) (PI.f32)) |
| 1× | rewrite-expression-head |
| 12× | add-sqr-sqrt_binary32 |
| 11× | add-cbrt-cube_binary32 |
| 11× | add-exp-log_binary32 |
| 11× | pow1_binary32 |
| 9× | associate-*r*_binary32 |
4 calls:
| 6.0ms | (*.f32 (cos.f32 (*.f32 (*.f32 uy 2) (PI.f32))) (sqrt.f32 (fma.f32 (fma.f32 ux maxCos (-.f32 1 ux)) (-.f32 ux (fma.f32 ux maxCos 1)) 1))) |
| 4.0ms | (*.f32 (*.f32 uy 2) (PI.f32)) |
| 1.0ms | (cos.f32 (*.f32 (*.f32 uy 2) (PI.f32))) |
| 0.0ms | (fma.f32 (fma.f32 ux maxCos (-.f32 1 ux)) (-.f32 ux (fma.f32 ux maxCos 1)) 1) |
| 1× | egg-herbie |
| 477× | associate-*l*_binary32 |
| 474× | fma-neg_binary32 |
| 411× | associate-*r*_binary32 |
| 313× | fma-def_binary32 |
| 258× | *-commutative_binary32 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 369 | 7663 |
| 1 | 1134 | 6796 |
| 2 | 4835 | 6794 |
| 3 | 5243 | 6794 |
11 alts after pruning (11 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 162 | 11 | 173 |
| Fresh | 1 | 0 | 1 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 164 | 11 | 175 |
| Status | Error | Program |
| 14.1b | (*.f32 (cos.f32 (*.f32 (*.f32 (cbrt.f32 (*.f32 (*.f32 uy 2) (PI.f32))) (cbrt.f32 (*.f32 (*.f32 uy 2) (PI.f32)))) (cbrt.f32 (*.f32 (*.f32 uy 2) (PI.f32))))) (sqrt.f32 (fma.f32 (fma.f32 ux maxCos (-.f32 1 ux)) (-.f32 ux (fma.f32 ux maxCos 1)) 1))) | |
| 2.4b | (-.f32 (*.f32 (fma.f32 2/3 (*.f32 (pow.f32 (PI.f32) 4) (pow.f32 uy 4)) 1) (sqrt.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (+.f32 (*.f32 (fma.f32 maxCos maxCos 1) (*.f32 ux ux)) (*.f32 2 (*.f32 maxCos ux)))))) (*.f32 (sqrt.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (+.f32 (*.f32 (fma.f32 maxCos maxCos 1) (*.f32 ux ux)) (*.f32 2 (*.f32 maxCos ux))))) (fma.f32 2 (*.f32 (*.f32 uy uy) (pow.f32 (PI.f32) 2)) (*.f32 4/45 (*.f32 (pow.f32 uy 6) (pow.f32 (PI.f32) 6)))))) | |
| ▶ | 0.4b | (*.f32 (cos.f32 (*.f32 (*.f32 uy 2) (PI.f32))) (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux))))))) |
| 1.2b | (fma.f32 (cos.f32 (*.f32 2 (*.f32 uy (PI.f32)))) (*.f32 (*.f32 maxCos (*.f32 ux ux)) (sqrt.f32 (/.f32 1 (*.f32 ux (-.f32 2 ux))))) (*.f32 (cos.f32 (*.f32 2 (*.f32 uy (PI.f32)))) (-.f32 (sqrt.f32 (*.f32 ux (-.f32 2 ux))) (*.f32 (*.f32 maxCos ux) (sqrt.f32 (/.f32 1 (*.f32 ux (-.f32 2 ux)))))))) | |
| 3.0b | (-.f32 (+.f32 (*.f32 2/3 (*.f32 (*.f32 (pow.f32 (PI.f32) 4) (pow.f32 uy 4)) (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux)))))))) (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux))))))) (*.f32 2 (*.f32 (*.f32 (pow.f32 (PI.f32) 2) (pow.f32 uy 2)) (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux))))))))) | |
| 7.4b | (*.f32 (cos.f32 (*.f32 (*.f32 uy 2) (PI.f32))) (sqrt.f32 (*.f32 (-.f32 2 (*.f32 2 maxCos)) ux))) | |
| 7.1b | (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux)))))) | |
| 1.0b | (-.f32 (+.f32 (*.f32 (*.f32 (cos.f32 (*.f32 2 (*.f32 uy (PI.f32)))) (*.f32 maxCos (pow.f32 ux 2))) (sqrt.f32 (/.f32 1 (-.f32 (*.f32 2 ux) (pow.f32 ux 2))))) (+.f32 (*.f32 (cos.f32 (*.f32 2 (*.f32 uy (PI.f32)))) (sqrt.f32 (-.f32 (*.f32 2 ux) (pow.f32 ux 2)))) (*.f32 (*.f32 (cos.f32 (*.f32 2 (*.f32 uy (PI.f32)))) (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 3))) (sqrt.f32 (/.f32 1 (pow.f32 (-.f32 (*.f32 2 ux) (pow.f32 ux 2)) 3)))))) (+.f32 (*.f32 1/2 (*.f32 (*.f32 (cos.f32 (*.f32 2 (*.f32 uy (PI.f32)))) (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2))) (sqrt.f32 (/.f32 1 (-.f32 (*.f32 2 ux) (pow.f32 ux 2)))))) (+.f32 (*.f32 (*.f32 (cos.f32 (*.f32 2 (*.f32 uy (PI.f32)))) (*.f32 maxCos ux)) (sqrt.f32 (/.f32 1 (-.f32 (*.f32 2 ux) (pow.f32 ux 2))))) (+.f32 (*.f32 1/2 (*.f32 (*.f32 (cos.f32 (*.f32 2 (*.f32 uy (PI.f32)))) (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 4))) (sqrt.f32 (/.f32 1 (pow.f32 (-.f32 (*.f32 2 ux) (pow.f32 ux 2)) 3))))) (*.f32 1/2 (*.f32 (*.f32 (cos.f32 (*.f32 2 (*.f32 uy (PI.f32)))) (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2))) (sqrt.f32 (/.f32 1 (pow.f32 (-.f32 (*.f32 2 ux) (pow.f32 ux 2)) 3))))))))) | |
| 14.1b | (log.f32 (exp.f32 (*.f32 (cos.f32 (*.f32 (*.f32 uy 2) (PI.f32))) (sqrt.f32 (fma.f32 (fma.f32 ux maxCos (-.f32 1 ux)) (-.f32 ux (fma.f32 ux maxCos 1)) 1))))) | |
| 1.2b | (-.f32 (+.f32 (*.f32 (*.f32 (cos.f32 (*.f32 2 (*.f32 uy (PI.f32)))) (*.f32 maxCos (pow.f32 ux 2))) (sqrt.f32 (/.f32 1 (-.f32 (*.f32 2 ux) (pow.f32 ux 2))))) (*.f32 (cos.f32 (*.f32 2 (*.f32 uy (PI.f32)))) (sqrt.f32 (-.f32 (*.f32 2 ux) (pow.f32 ux 2))))) (*.f32 (*.f32 (cos.f32 (*.f32 2 (*.f32 uy (PI.f32)))) (*.f32 maxCos ux)) (sqrt.f32 (/.f32 1 (-.f32 (*.f32 2 ux) (pow.f32 ux 2)))))) | |
| 14.1b | (*.f32 (*.f32 (cos.f32 (*.f32 (*.f32 uy 2) (PI.f32))) (sqrt.f32 (sqrt.f32 (fma.f32 (fma.f32 ux maxCos (-.f32 1 ux)) (-.f32 ux (fma.f32 ux maxCos 1)) 1)))) (sqrt.f32 (sqrt.f32 (fma.f32 (fma.f32 ux maxCos (-.f32 1 ux)) (-.f32 ux (fma.f32 ux maxCos 1)) 1)))) |
Compiled 10789 to 7120 computations (34% saved)
Found 4 expressions with local error:
| New | Error | Program |
| 0.1b | (cos.f32 (*.f32 (*.f32 uy 2) (PI.f32))) | |
| ✓ | 0.2b | (*.f32 maxCos (pow.f32 ux 2)) |
| ✓ | 0.2b | (*.f32 (cos.f32 (*.f32 (*.f32 uy 2) (PI.f32))) (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux))))))) |
| 0.3b | (*.f32 (*.f32 uy 2) (PI.f32)) |
2 calls:
| 261.0ms | (*.f32 (cos.f32 (*.f32 (*.f32 uy 2) (PI.f32))) (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux))))))) |
| 9.0ms | (*.f32 maxCos (pow.f32 ux 2)) |
| 1× | rewrite-expression-head |
| 20× | add-sqr-sqrt_binary32 |
| 17× | associate-*r*_binary32 |
| 13× | *-un-lft-identity_binary32 |
| 9× | add-exp-log_binary32 |
| 8× | add-cube-cbrt_binary32 |
2 calls:
| 20.0ms | (*.f32 (cos.f32 (*.f32 (*.f32 uy 2) (PI.f32))) (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux))))))) |
| 4.0ms | (*.f32 maxCos (pow.f32 ux 2)) |
| 1× | egg-herbie |
| 514× | associate-*l*_binary32 |
| 484× | associate-*r*_binary32 |
| 358× | fma-def_binary32 |
| 191× | fma-neg_binary32 |
| 180× | times-frac_binary32 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 401 | 7626 |
| 1 | 1284 | 6684 |
| 2 | 4889 | 6682 |
| 3 | 4991 | 6682 |
11 alts after pruning (11 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 193 | 8 | 201 |
| Fresh | 7 | 3 | 10 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 201 | 11 | 212 |
| Status | Error | Program |
| 0.4b | (cbrt.f32 (*.f32 (*.f32 (*.f32 (cos.f32 (*.f32 (*.f32 uy 2) (PI.f32))) (cos.f32 (*.f32 (*.f32 uy 2) (PI.f32)))) (cos.f32 (*.f32 (*.f32 uy 2) (PI.f32)))) (*.f32 (*.f32 (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux)))))) (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux))))))) (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux))))))))) | |
| 2.4b | (-.f32 (*.f32 (fma.f32 2/3 (*.f32 (pow.f32 (PI.f32) 4) (pow.f32 uy 4)) 1) (sqrt.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (+.f32 (*.f32 (fma.f32 maxCos maxCos 1) (*.f32 ux ux)) (*.f32 2 (*.f32 maxCos ux)))))) (*.f32 (sqrt.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (+.f32 (*.f32 (fma.f32 maxCos maxCos 1) (*.f32 ux ux)) (*.f32 2 (*.f32 maxCos ux))))) (fma.f32 2 (*.f32 (*.f32 uy uy) (pow.f32 (PI.f32) 2)) (*.f32 4/45 (*.f32 (pow.f32 uy 6) (pow.f32 (PI.f32) 6)))))) | |
| 6.8b | (/.f32 (*.f32 (cos.f32 (*.f32 (*.f32 uy 2) (PI.f32))) (sqrt.f32 (-.f32 (*.f32 (+.f32 (pow.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) 3) (pow.f32 (*.f32 2 ux) 3)) (-.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux))))) (*.f32 (+.f32 (*.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 (*.f32 maxCos (pow.f32 ux 2)))) (-.f32 (*.f32 (*.f32 2 ux) (*.f32 2 ux)) (*.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)))) (-.f32 (*.f32 (pow.f32 ux 2) (pow.f32 ux 2)) (*.f32 (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux))) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux))))))))) (sqrt.f32 (*.f32 (+.f32 (*.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 (*.f32 maxCos (pow.f32 ux 2)))) (-.f32 (*.f32 (*.f32 2 ux) (*.f32 2 ux)) (*.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)))) (-.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux))))))) | |
| 7.4b | (*.f32 (cos.f32 (*.f32 (*.f32 uy 2) (PI.f32))) (sqrt.f32 (*.f32 (-.f32 2 (*.f32 2 maxCos)) ux))) | |
| 0.6b | (*.f32 (*.f32 (cos.f32 (*.f32 2 (*.f32 uy (PI.f32)))) (sqrt.f32 (sqrt.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (+.f32 (*.f32 (fma.f32 maxCos maxCos 1) (*.f32 ux ux)) (*.f32 2 (*.f32 maxCos ux))))))) (sqrt.f32 (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux)))))))) | |
| 0.4b | (*.f32 (expm1.f32 (log1p.f32 (cos.f32 (*.f32 2 (*.f32 uy (PI.f32)))))) (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux))))))) | |
| 1.2b | (fma.f32 (cos.f32 (*.f32 2 (*.f32 uy (PI.f32)))) (*.f32 (*.f32 maxCos (*.f32 ux ux)) (sqrt.f32 (/.f32 1 (*.f32 ux (-.f32 2 ux))))) (*.f32 (cos.f32 (*.f32 2 (*.f32 uy (PI.f32)))) (-.f32 (sqrt.f32 (*.f32 ux (-.f32 2 ux))) (*.f32 (*.f32 maxCos ux) (sqrt.f32 (/.f32 1 (*.f32 ux (-.f32 2 ux)))))))) | |
| 0.9b | (*.f32 (*.f32 (cos.f32 (*.f32 2 (*.f32 uy (PI.f32)))) (*.f32 (cbrt.f32 (sqrt.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (+.f32 (*.f32 (fma.f32 maxCos maxCos 1) (*.f32 ux ux)) (*.f32 2 (*.f32 maxCos ux)))))) (cbrt.f32 (sqrt.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (+.f32 (*.f32 (fma.f32 maxCos maxCos 1) (*.f32 ux ux)) (*.f32 2 (*.f32 maxCos ux)))))))) (cbrt.f32 (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux)))))))) | |
| ▶ | 0.4b | (*.f32 (cos.f32 (exp.f32 (log.f32 (*.f32 (*.f32 uy 2) (PI.f32))))) (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux))))))) |
| 2.1b | (*.f32 (sqrt.f32 (cos.f32 (*.f32 (*.f32 uy 2) (PI.f32)))) (*.f32 (sqrt.f32 (cos.f32 (*.f32 (*.f32 uy 2) (PI.f32)))) (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux)))))))) | |
| 0.9b | (*.f32 (log.f32 (exp.f32 (cos.f32 (*.f32 2 (*.f32 uy (PI.f32)))))) (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux))))))) |
Compiled 15481 to 10273 computations (33.6% saved)
Found 4 expressions with local error:
| New | Error | Program |
| 0.2b | (*.f32 maxCos (pow.f32 ux 2)) | |
| ✓ | 0.2b | (*.f32 (cos.f32 (exp.f32 (log.f32 (*.f32 (*.f32 uy 2) (PI.f32))))) (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux))))))) |
| 0.3b | (*.f32 (*.f32 uy 2) (PI.f32)) | |
| ✓ | 1.4b | (exp.f32 (log.f32 (*.f32 (*.f32 uy 2) (PI.f32)))) |
2 calls:
| 253.0ms | (*.f32 (cos.f32 (exp.f32 (log.f32 (*.f32 (*.f32 uy 2) (PI.f32))))) (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux))))))) |
| 3.0ms | (exp.f32 (log.f32 (*.f32 (*.f32 uy 2) (PI.f32)))) |
| 1× | rewrite-expression-head |
| 12× | add-sqr-sqrt_binary32 |
| 11× | *-un-lft-identity_binary32 |
| 10× | pow1_binary32 |
| 9× | associate-*r*_binary32 |
| 7× | sqrt-prod_binary32 |
2 calls:
| 19.0ms | (*.f32 (cos.f32 (exp.f32 (log.f32 (*.f32 (*.f32 uy 2) (PI.f32))))) (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux))))))) |
| 4.0ms | (exp.f32 (log.f32 (*.f32 (*.f32 uy 2) (PI.f32)))) |
| 1× | egg-herbie |
| 498× | fma-neg_binary32 |
| 469× | associate-*l*_binary32 |
| 447× | associate-*r*_binary32 |
| 358× | fma-def_binary32 |
| 156× | times-frac_binary32 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 378 | 7592 |
| 1 | 1244 | 6681 |
| 2 | 4900 | 6679 |
| 3 | 5313 | 6679 |
10 alts after pruning (10 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 201 | 1 | 202 |
| Fresh | 1 | 9 | 10 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 203 | 10 | 213 |
| Status | Error | Program |
| ▶ | 0.4b | (cbrt.f32 (*.f32 (*.f32 (*.f32 (cos.f32 (*.f32 (*.f32 uy 2) (PI.f32))) (cos.f32 (*.f32 (*.f32 uy 2) (PI.f32)))) (cos.f32 (*.f32 (*.f32 uy 2) (PI.f32)))) (*.f32 (*.f32 (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux)))))) (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux))))))) (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux))))))))) |
| 2.4b | (-.f32 (*.f32 (fma.f32 2/3 (*.f32 (pow.f32 (PI.f32) 4) (pow.f32 uy 4)) 1) (sqrt.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (+.f32 (*.f32 (fma.f32 maxCos maxCos 1) (*.f32 ux ux)) (*.f32 2 (*.f32 maxCos ux)))))) (*.f32 (sqrt.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (+.f32 (*.f32 (fma.f32 maxCos maxCos 1) (*.f32 ux ux)) (*.f32 2 (*.f32 maxCos ux))))) (fma.f32 2 (*.f32 (*.f32 uy uy) (pow.f32 (PI.f32) 2)) (*.f32 4/45 (*.f32 (pow.f32 uy 6) (pow.f32 (PI.f32) 6)))))) | |
| 6.8b | (/.f32 (*.f32 (cos.f32 (*.f32 (*.f32 uy 2) (PI.f32))) (sqrt.f32 (-.f32 (*.f32 (+.f32 (pow.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) 3) (pow.f32 (*.f32 2 ux) 3)) (-.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux))))) (*.f32 (+.f32 (*.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 (*.f32 maxCos (pow.f32 ux 2)))) (-.f32 (*.f32 (*.f32 2 ux) (*.f32 2 ux)) (*.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)))) (-.f32 (*.f32 (pow.f32 ux 2) (pow.f32 ux 2)) (*.f32 (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux))) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux))))))))) (sqrt.f32 (*.f32 (+.f32 (*.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 (*.f32 maxCos (pow.f32 ux 2)))) (-.f32 (*.f32 (*.f32 2 ux) (*.f32 2 ux)) (*.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)))) (-.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux))))))) | |
| 6.2b | (log.f32 (exp.f32 (*.f32 (cos.f32 (exp.f32 (log.f32 (*.f32 (*.f32 uy 2) (PI.f32))))) (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux))))))))) | |
| 0.4b | (*.f32 (expm1.f32 (log1p.f32 (cos.f32 (*.f32 2 (*.f32 uy (PI.f32)))))) (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux))))))) | |
| 1.2b | (fma.f32 (cos.f32 (*.f32 2 (*.f32 uy (PI.f32)))) (*.f32 (*.f32 maxCos (*.f32 ux ux)) (sqrt.f32 (/.f32 1 (*.f32 ux (-.f32 2 ux))))) (*.f32 (cos.f32 (*.f32 2 (*.f32 uy (PI.f32)))) (-.f32 (sqrt.f32 (*.f32 ux (-.f32 2 ux))) (*.f32 (*.f32 maxCos ux) (sqrt.f32 (/.f32 1 (*.f32 ux (-.f32 2 ux)))))))) | |
| 0.9b | (*.f32 (*.f32 (cos.f32 (*.f32 2 (*.f32 uy (PI.f32)))) (*.f32 (cbrt.f32 (sqrt.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (+.f32 (*.f32 (fma.f32 maxCos maxCos 1) (*.f32 ux ux)) (*.f32 2 (*.f32 maxCos ux)))))) (cbrt.f32 (sqrt.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (+.f32 (*.f32 (fma.f32 maxCos maxCos 1) (*.f32 ux ux)) (*.f32 2 (*.f32 maxCos ux)))))))) (cbrt.f32 (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux)))))))) | |
| 7.4b | (*.f32 (cos.f32 (*.f32 (*.f32 uy 2) (PI.f32))) (sqrt.f32 (*.f32 (-.f32 2 (*.f32 2 maxCos)) ux))) | |
| 2.1b | (*.f32 (sqrt.f32 (cos.f32 (*.f32 (*.f32 uy 2) (PI.f32)))) (*.f32 (sqrt.f32 (cos.f32 (*.f32 (*.f32 uy 2) (PI.f32)))) (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux)))))))) | |
| 0.9b | (*.f32 (log.f32 (exp.f32 (cos.f32 (*.f32 2 (*.f32 uy (PI.f32)))))) (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux))))))) |
Compiled 15631 to 10455 computations (33.1% saved)
Found 4 expressions with local error:
| New | Error | Program |
| ✓ | 0.2b | (*.f32 (cos.f32 (*.f32 (*.f32 uy 2) (PI.f32))) (cos.f32 (*.f32 (*.f32 uy 2) (PI.f32)))) |
| ✓ | 0.3b | (*.f32 (*.f32 (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux)))))) (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux))))))) (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux))))))) |
| 0.3b | (*.f32 (*.f32 uy 2) (PI.f32)) | |
| ✓ | 0.5b | (*.f32 (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux)))))) (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux))))))) |
3 calls:
| 566.0ms | (*.f32 (*.f32 (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux)))))) (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux))))))) (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux))))))) |
| 30.0ms | (*.f32 (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux)))))) (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux))))))) |
| 9.0ms | (*.f32 (cos.f32 (*.f32 (*.f32 uy 2) (PI.f32))) (cos.f32 (*.f32 (*.f32 uy 2) (PI.f32)))) |
| 1× | rewrite-expression-head |
| 966× | sqrt-div_binary32 |
| 644× | flip-+_binary32 |
| 644× | frac-sub_binary32 |
| 644× | flip3-+_binary32 |
| 576× | frac-times_binary32 |
3 calls:
| 70.0ms | (*.f32 (*.f32 (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux)))))) (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux))))))) (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux))))))) |
| 40.0ms | (*.f32 (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux)))))) (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux))))))) |
| 5.0ms | (*.f32 (cos.f32 (*.f32 (*.f32 uy 2) (PI.f32))) (cos.f32 (*.f32 (*.f32 uy 2) (PI.f32)))) |
| 1× | egg-herbie |
| 752× | *-commutative_binary32 |
| 584× | associate-*l*_binary32 |
| 274× | distribute-rgt-in_binary32 |
| 233× | +-commutative_binary32 |
| 224× | fma-def_binary32 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 1468 | 166607 |
| 1 | 3436 | 151710 |
| 2 | 5111 | 151710 |
11 alts after pruning (11 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 859 | 4 | 863 |
| Fresh | 2 | 7 | 9 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 862 | 11 | 873 |
| Status | Error | Program |
| 6.8b | (/.f32 (*.f32 (cos.f32 (*.f32 (*.f32 uy 2) (PI.f32))) (sqrt.f32 (-.f32 (*.f32 (+.f32 (pow.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) 3) (pow.f32 (*.f32 2 ux) 3)) (-.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux))))) (*.f32 (+.f32 (*.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 (*.f32 maxCos (pow.f32 ux 2)))) (-.f32 (*.f32 (*.f32 2 ux) (*.f32 2 ux)) (*.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)))) (-.f32 (*.f32 (pow.f32 ux 2) (pow.f32 ux 2)) (*.f32 (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux))) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux))))))))) (sqrt.f32 (*.f32 (+.f32 (*.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 (*.f32 maxCos (pow.f32 ux 2)))) (-.f32 (*.f32 (*.f32 2 ux) (*.f32 2 ux)) (*.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)))) (-.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux))))))) | |
| 6.2b | (log.f32 (exp.f32 (*.f32 (cos.f32 (exp.f32 (log.f32 (*.f32 (*.f32 uy 2) (PI.f32))))) (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux))))))))) | |
| 0.4b | (*.f32 (expm1.f32 (log1p.f32 (cos.f32 (*.f32 2 (*.f32 uy (PI.f32)))))) (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux))))))) | |
| 1.2b | (fma.f32 (cos.f32 (*.f32 2 (*.f32 uy (PI.f32)))) (*.f32 (*.f32 maxCos (*.f32 ux ux)) (sqrt.f32 (/.f32 1 (*.f32 ux (-.f32 2 ux))))) (*.f32 (cos.f32 (*.f32 2 (*.f32 uy (PI.f32)))) (-.f32 (sqrt.f32 (*.f32 ux (-.f32 2 ux))) (*.f32 (*.f32 maxCos ux) (sqrt.f32 (/.f32 1 (*.f32 ux (-.f32 2 ux)))))))) | |
| 0.9b | (*.f32 (*.f32 (cos.f32 (*.f32 2 (*.f32 uy (PI.f32)))) (*.f32 (cbrt.f32 (sqrt.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (+.f32 (*.f32 (fma.f32 maxCos maxCos 1) (*.f32 ux ux)) (*.f32 2 (*.f32 maxCos ux)))))) (cbrt.f32 (sqrt.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (+.f32 (*.f32 (fma.f32 maxCos maxCos 1) (*.f32 ux ux)) (*.f32 2 (*.f32 maxCos ux)))))))) (cbrt.f32 (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux)))))))) | |
| 7.4b | (*.f32 (cos.f32 (*.f32 (*.f32 uy 2) (PI.f32))) (sqrt.f32 (*.f32 (-.f32 2 (*.f32 2 maxCos)) ux))) | |
| 0.3b | (cbrt.f32 (*.f32 (*.f32 (*.f32 (cos.f32 (*.f32 (*.f32 uy 2) (PI.f32))) (cos.f32 (*.f32 (*.f32 uy 2) (PI.f32)))) (cos.f32 (*.f32 (*.f32 uy 2) (PI.f32)))) (pow.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux))))) 3/2))) | |
| 12.6b | (cbrt.f32 (*.f32 (*.f32 (*.f32 (cos.f32 (*.f32 (*.f32 uy 2) (PI.f32))) (cos.f32 (*.f32 (*.f32 uy 2) (PI.f32)))) (cos.f32 (*.f32 (*.f32 uy 2) (PI.f32)))) (/.f32 (*.f32 (-.f32 (*.f32 (*.f32 8 (+.f32 (*.f32 (pow.f32 ux 6) (pow.f32 maxCos 3)) (pow.f32 ux 3))) (+.f32 (pow.f32 ux 4) (*.f32 (fma.f32 (*.f32 maxCos maxCos) (*.f32 ux ux) (*.f32 2 (*.f32 ux maxCos))) (-.f32 (fma.f32 (*.f32 maxCos maxCos) (*.f32 ux ux) (*.f32 2 (*.f32 ux maxCos))) (*.f32 ux ux))))) (*.f32 (+.f32 (*.f32 4 (*.f32 (*.f32 maxCos maxCos) (pow.f32 ux 4))) (*.f32 (*.f32 2 ux) (*.f32 2 (-.f32 ux (*.f32 (*.f32 ux ux) maxCos))))) (+.f32 (pow.f32 ux 6) (pow.f32 (fma.f32 (*.f32 maxCos maxCos) (*.f32 ux ux) (*.f32 2 (*.f32 ux maxCos))) 3)))) (sqrt.f32 (-.f32 (*.f32 4 (*.f32 (+.f32 (*.f32 (*.f32 ux ux) maxCos) ux) (+.f32 (*.f32 (*.f32 ux ux) maxCos) ux))) (*.f32 (+.f32 (*.f32 (+.f32 (*.f32 maxCos maxCos) 1) (*.f32 ux ux)) (*.f32 2 (*.f32 ux maxCos))) (+.f32 (*.f32 (+.f32 (*.f32 maxCos maxCos) 1) (*.f32 ux ux)) (*.f32 2 (*.f32 ux maxCos))))))) (*.f32 (*.f32 (+.f32 (pow.f32 ux 4) (*.f32 (fma.f32 (*.f32 maxCos maxCos) (*.f32 ux ux) (*.f32 2 (*.f32 ux maxCos))) (-.f32 (fma.f32 (*.f32 maxCos maxCos) (*.f32 ux ux) (*.f32 2 (*.f32 ux maxCos))) (*.f32 ux ux)))) (+.f32 (*.f32 4 (*.f32 (*.f32 maxCos maxCos) (pow.f32 ux 4))) (*.f32 (*.f32 2 ux) (*.f32 2 (-.f32 ux (*.f32 (*.f32 ux ux) maxCos)))))) (sqrt.f32 (+.f32 (*.f32 2 (+.f32 (*.f32 (*.f32 ux ux) maxCos) ux)) (+.f32 (*.f32 (+.f32 (*.f32 maxCos maxCos) 1) (*.f32 ux ux)) (*.f32 2 (*.f32 ux maxCos))))))))) | |
| 0.3b | (cbrt.f32 (*.f32 (*.f32 (*.f32 (cos.f32 (*.f32 (*.f32 uy 2) (PI.f32))) (cos.f32 (*.f32 (*.f32 uy 2) (PI.f32)))) (cos.f32 (*.f32 (*.f32 (*.f32 2 uy) (*.f32 (cbrt.f32 (PI.f32)) (cbrt.f32 (PI.f32)))) (cbrt.f32 (PI.f32))))) (*.f32 (*.f32 (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux)))))) (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux))))))) (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux))))))))) | |
| 0.9b | (*.f32 (log.f32 (exp.f32 (cos.f32 (*.f32 2 (*.f32 uy (PI.f32)))))) (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux))))))) | |
| 0.4b | (cbrt.f32 (*.f32 (*.f32 (/.f32 (+.f32 1 (cos.f32 (*.f32 (PI.f32) (*.f32 uy 4)))) 2) (cos.f32 (*.f32 (*.f32 uy 2) (PI.f32)))) (*.f32 (*.f32 (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux)))))) (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux))))))) (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux))))))))) |
Compiled 244009 to 164931 computations (32.4% saved)
Total 0.3b remaining (77.8%)
Threshold costs 0.3b (77.8%)
Compiled 274230 to 198309 computations (27.7% saved)
| 1× | egg-herbie |
| 19× | *-commutative_binary32 |
| 13× | +-commutative_binary32 |
| 10× | sub-neg_binary32 |
| 9× | neg-sub0_binary32 |
| 9× | neg-mul-1_binary32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 27 | 84 |
| 1 | 42 | 84 |
| 2 | 51 | 84 |
| 3 | 63 | 84 |
| 4 | 86 | 84 |
| 5 | 102 | 84 |
| 6 | 112 | 84 |
| 7 | 118 | 84 |
| 8 | 120 | 84 |
| 9 | 119 | 84 |
Compiled 1117 to 761 computations (31.9% saved)
Loading profile data...