Time bar (total: 52.6s)
| 1× | search |
| True | Other | False | Iter |
|---|---|---|---|
| 0% | 1.6% | 98.4% | 0 |
| 0% | 1.6% | 98.4% | 1 |
| 0% | 1.6% | 98.4% | 2 |
| 0.4% | 1.2% | 98.4% | 3 |
| 0.6% | 1% | 98.4% | 4 |
| 0.9% | 0.7% | 98.4% | 5 |
| 1% | 0.5% | 98.4% | 6 |
| 1.2% | 0.4% | 98.4% | 7 |
| 1.3% | 0.3% | 98.4% | 8 |
| 1.4% | 0.2% | 98.4% | 9 |
| 1.4% | 0.1% | 98.4% | 10 |
| 1.5% | 0.1% | 98.4% | 11 |
| 1.5% | 0.1% | 98.4% | 12 |
| 1.5% | 0% | 98.4% | 13 |
| 1.5% | 0% | 98.4% | 14 |
Compiled 54 to 41 computations (24.1% saved)
| 1× | intervals |
| 37.0ms | 256× | body | 128 | valid |
| 7.0ms | 256× | pre | 128 | true |
Compiled 95 to 73 computations (23.2% saved)
| 1× | egg-herbie |
| 1145× | fma-def_binary32 |
| 518× | unswap-sqr_binary32 |
| 445× | fma-neg_binary32 |
| 420× | times-frac_binary32 |
| 354× | associate-*l*_binary32 |
Useful iterations: 5 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 22 | 59 |
| 1 | 42 | 59 |
| 2 | 72 | 59 |
| 3 | 120 | 51 |
| 4 | 179 | 48 |
| 5 | 319 | 46 |
| 6 | 505 | 46 |
| 7 | 788 | 46 |
| 8 | 1249 | 46 |
| 9 | 2584 | 46 |
| 10 | 4419 | 46 |
| 11 | 4832 | 46 |
| 12 | 4827 | 46 |
2 alts after pruning (2 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 1 | 1 | 2 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 0 | 0 |
| Total | 1 | 2 | 3 |
| Status | Error | Program |
| ▶ | 0.4b | (*.f32 (neg.f32 s) (log.f32 (-.f32 (/.f32 1 (+.f32 (*.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) 1))) |
Compiled 145 to 105 computations (27.6% saved)
Found 4 expressions with local error:
| New | Error | Program |
| ✓ | 0.1b | (log.f32 (-.f32 (/.f32 1 (+.f32 (*.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) 1)) |
| ✓ | 0.3b | (*.f32 (neg.f32 s) (log.f32 (-.f32 (/.f32 1 (+.f32 (*.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) 1))) |
| ✓ | 0.3b | (/.f32 (PI.f32) s) |
| ✓ | 0.3b | (/.f32 (neg.f32 (PI.f32)) s) |
4 calls:
| 923.0ms | (*.f32 (neg.f32 s) (log.f32 (-.f32 (/.f32 1 (+.f32 (*.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) 1))) |
| 729.0ms | (log.f32 (-.f32 (/.f32 1 (+.f32 (*.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) 1)) |
| 3.0ms | (/.f32 (neg.f32 (PI.f32)) s) |
| 2.0ms | (/.f32 (PI.f32) s) |
| 1× | rewrite-expression-head |
| 89× | add-sqr-sqrt_binary32 |
| 69× | *-un-lft-identity_binary32 |
| 57× | times-frac_binary32 |
| 42× | log-prod_binary32 |
| 42× | add-cube-cbrt_binary32 |
4 calls:
| 44.0ms | (*.f32 (neg.f32 s) (log.f32 (-.f32 (/.f32 1 (+.f32 (*.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) 1))) |
| 40.0ms | (log.f32 (-.f32 (/.f32 1 (+.f32 (*.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) 1)) |
| 3.0ms | (/.f32 (neg.f32 (PI.f32)) s) |
| 2.0ms | (/.f32 (PI.f32) s) |
| 1× | egg-herbie |
| 752× | associate-/l*_binary32 |
| 541× | fma-def_binary32 |
| 229× | +-commutative_binary32 |
| 188× | *-commutative_binary32 |
| 185× | associate-+r+_binary32 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 822 | 18517 |
| 1 | 2662 | 17801 |
| 2 | 5379 | 17801 |
11 alts after pruning (11 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 301 | 11 | 312 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 302 | 11 | 313 |
| Status | Error | Program |
| 0.9b | (*.f32 (neg.f32 s) (-.f32 (log.f32 (-.f32 (pow.f32 (/.f32 1 (+.f32 (*.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) 3) (pow.f32 1 3))) (log.f32 (+.f32 (*.f32 (/.f32 1 (+.f32 (*.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) (/.f32 1 (+.f32 (*.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))))) (+.f32 (*.f32 1 1) (*.f32 (/.f32 1 (+.f32 (*.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) 1)))))) | |
| 0.9b | (*.f32 (*.f32 (neg.f32 s) (*.f32 (cbrt.f32 (log.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))) (cbrt.f32 (log.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))))) (cbrt.f32 (log.f32 (-.f32 (/.f32 1 (+.f32 (*.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) 1)))) | |
| 0.9b | (*.f32 (*.f32 (cbrt.f32 s) (cbrt.f32 s)) (*.f32 (log.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1)) (neg.f32 (cbrt.f32 s)))) | |
| 0.5b | (+.f32 (*.f32 (neg.f32 s) (log1p.f32 (sqrt.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))))))) (*.f32 (neg.f32 s) (log.f32 (+.f32 (sqrt.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))))) -1)))) | |
| 0.5b | (+.f32 (*.f32 (log.f32 (*.f32 (cbrt.f32 (-.f32 (/.f32 1 (+.f32 (*.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) 1)) (cbrt.f32 (-.f32 (/.f32 1 (+.f32 (*.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) 1)))) (neg.f32 s)) (*.f32 (log.f32 (cbrt.f32 (-.f32 (/.f32 1 (+.f32 (*.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) 1))) (neg.f32 s))) | |
| ▶ | 0.4b | (*.f32 (neg.f32 s) (log.f32 (-.f32 (/.f32 1 (+.f32 (*.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) (/.f32 1 (+.f32 1 (exp.f32 (expm1.f32 (log1p.f32 (/.f32 (PI.f32) s)))))))) 1))) |
| 23.4b | (log.f32 (pow.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1) (neg.f32 s))) | |
| 31.1b | (exp.f32 (log.f32 (*.f32 (neg.f32 s) (log.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))))) | |
| 0.5b | (+.f32 (*.f32 (neg.f32 s) (*.f32 2 (log.f32 (cbrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))))) (*.f32 (neg.f32 s) (log.f32 (cbrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))))) | |
| 0.4b | (*.f32 (neg.f32 s) (+.f32 (log.f32 (sqrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))) (log.f32 (sqrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))))) | |
| 0.8b | (*.f32 (*.f32 (cbrt.f32 (*.f32 (neg.f32 s) (log.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1)))) (cbrt.f32 (*.f32 (neg.f32 s) (log.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))))) (cbrt.f32 (*.f32 (neg.f32 s) (log.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))))) |
Compiled 25112 to 14468 computations (42.4% saved)
Found 4 expressions with local error:
| New | Error | Program |
| ✓ | 0.3b | (*.f32 (neg.f32 s) (log.f32 (-.f32 (/.f32 1 (+.f32 (*.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) (/.f32 1 (+.f32 1 (exp.f32 (expm1.f32 (log1p.f32 (/.f32 (PI.f32) s)))))))) 1))) |
| 0.3b | (/.f32 (PI.f32) s) | |
| 0.3b | (/.f32 (neg.f32 (PI.f32)) s) | |
| ✓ | 3.0b | (expm1.f32 (log1p.f32 (/.f32 (PI.f32) s))) |
2 calls:
| 940.0ms | (*.f32 (neg.f32 s) (log.f32 (-.f32 (/.f32 1 (+.f32 (*.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) (/.f32 1 (+.f32 1 (exp.f32 (expm1.f32 (log1p.f32 (/.f32 (PI.f32) s)))))))) 1))) |
| 2.0ms | (expm1.f32 (log1p.f32 (/.f32 (PI.f32) s))) |
| 1× | rewrite-expression-head |
| 40× | add-sqr-sqrt_binary32 |
| 28× | log-prod_binary32 |
| 26× | *-un-lft-identity_binary32 |
| 14× | distribute-lft-in_binary32 |
| 14× | distribute-rgt-in_binary32 |
2 calls:
| 37.0ms | (*.f32 (neg.f32 s) (log.f32 (-.f32 (/.f32 1 (+.f32 (*.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) (/.f32 1 (+.f32 1 (exp.f32 (expm1.f32 (log1p.f32 (/.f32 (PI.f32) s)))))))) 1))) |
| 0.0ms | (expm1.f32 (log1p.f32 (/.f32 (PI.f32) s))) |
| 1× | egg-herbie |
| 666× | times-frac_binary32 |
| 440× | associate-/r*_binary32 |
| 420× | associate-/l*_binary32 |
| 275× | fma-def_binary32 |
| 143× | *-commutative_binary32 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 476 | 10205 |
| 1 | 1556 | 9705 |
| 2 | 4993 | 9705 |
| 3 | 4968 | 9705 |
11 alts after pruning (10 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 261 | 0 | 261 |
| Fresh | 0 | 10 | 10 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 261 | 11 | 272 |
| Status | Error | Program |
| 0.9b | (*.f32 (neg.f32 s) (-.f32 (log.f32 (-.f32 (pow.f32 (/.f32 1 (+.f32 (*.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) 3) (pow.f32 1 3))) (log.f32 (+.f32 (*.f32 (/.f32 1 (+.f32 (*.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) (/.f32 1 (+.f32 (*.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))))) (+.f32 (*.f32 1 1) (*.f32 (/.f32 1 (+.f32 (*.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) 1)))))) | |
| 0.9b | (*.f32 (*.f32 (neg.f32 s) (*.f32 (cbrt.f32 (log.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))) (cbrt.f32 (log.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))))) (cbrt.f32 (log.f32 (-.f32 (/.f32 1 (+.f32 (*.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) 1)))) | |
| 0.9b | (*.f32 (*.f32 (cbrt.f32 s) (cbrt.f32 s)) (*.f32 (log.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1)) (neg.f32 (cbrt.f32 s)))) | |
| 0.5b | (+.f32 (*.f32 (neg.f32 s) (log1p.f32 (sqrt.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))))))) (*.f32 (neg.f32 s) (log.f32 (+.f32 (sqrt.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))))) -1)))) | |
| 0.5b | (+.f32 (*.f32 (log.f32 (*.f32 (cbrt.f32 (-.f32 (/.f32 1 (+.f32 (*.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) 1)) (cbrt.f32 (-.f32 (/.f32 1 (+.f32 (*.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) 1)))) (neg.f32 s)) (*.f32 (log.f32 (cbrt.f32 (-.f32 (/.f32 1 (+.f32 (*.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) 1))) (neg.f32 s))) | |
| ✓ | 0.4b | (*.f32 (neg.f32 s) (log.f32 (-.f32 (/.f32 1 (+.f32 (*.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) (/.f32 1 (+.f32 1 (exp.f32 (expm1.f32 (log1p.f32 (/.f32 (PI.f32) s)))))))) 1))) |
| 23.4b | (log.f32 (pow.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1) (neg.f32 s))) | |
| 31.1b | (exp.f32 (log.f32 (*.f32 (neg.f32 s) (log.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))))) | |
| 0.5b | (+.f32 (*.f32 (neg.f32 s) (*.f32 2 (log.f32 (cbrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))))) (*.f32 (neg.f32 s) (log.f32 (cbrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))))) | |
| ▶ | 0.4b | (*.f32 (neg.f32 s) (+.f32 (log.f32 (sqrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))) (log.f32 (sqrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))))) |
| 0.8b | (*.f32 (*.f32 (cbrt.f32 (*.f32 (neg.f32 s) (log.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1)))) (cbrt.f32 (*.f32 (neg.f32 s) (log.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))))) (cbrt.f32 (*.f32 (neg.f32 s) (log.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))))) |
Compiled 18358 to 10353 computations (43.6% saved)
Found 4 expressions with local error:
| New | Error | Program |
| ✓ | 0.1b | (sqrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1)) |
| ✓ | 0.1b | (log.f32 (sqrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))) |
| ✓ | 0.3b | (*.f32 (neg.f32 s) (+.f32 (log.f32 (sqrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))) (log.f32 (sqrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))))) |
| 0.3b | (/.f32 (PI.f32) s) |
3 calls:
| 1.1s | (*.f32 (neg.f32 s) (+.f32 (log.f32 (sqrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))) (log.f32 (sqrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))))) |
| 880.0ms | (log.f32 (sqrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))) |
| 228.0ms | (sqrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1)) |
| 1× | rewrite-expression-head |
| 32× | add-sqr-sqrt_binary32 |
| 29× | *-un-lft-identity_binary32 |
| 26× | associate-*r*_binary32 |
| 25× | log-pow_binary32 |
| 24× | pow1_binary32 |
3 calls:
| 13.0ms | (*.f32 (neg.f32 s) (+.f32 (log.f32 (sqrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))) (log.f32 (sqrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))))) |
| 6.0ms | (log.f32 (sqrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))) |
| 6.0ms | (sqrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1)) |
| 1× | egg-herbie |
| 362× | *-commutative_binary32 |
| 320× | +-commutative_binary32 |
| 263× | associate-+r+_binary32 |
| 243× | fma-def_binary32 |
| 137× | sub-neg_binary32 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 1095 | 21908 |
| 1 | 3808 | 21033 |
| 2 | 4952 | 21033 |
| 3 | 4938 | 21033 |
9 alts after pruning (9 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 568 | 4 | 572 |
| Fresh | 4 | 5 | 9 |
| Picked | 1 | 0 | 1 |
| Done | 1 | 0 | 1 |
| Total | 574 | 9 | 583 |
| Status | Error | Program |
| 0.9b | (*.f32 (neg.f32 s) (-.f32 (log.f32 (-.f32 (pow.f32 (/.f32 1 (+.f32 (*.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) 3) (pow.f32 1 3))) (log.f32 (+.f32 (*.f32 (/.f32 1 (+.f32 (*.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) (/.f32 1 (+.f32 (*.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))))) (+.f32 (*.f32 1 1) (*.f32 (/.f32 1 (+.f32 (*.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) 1)))))) | |
| 0.5b | (*.f32 (neg.f32 s) (+.f32 (log.f32 (sqrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))) (-.f32 (log.f32 (sqrt.f32 (-.f32 (*.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))))) (*.f32 -1 -1)))) (log.f32 (sqrt.f32 (-.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1)))))) | |
| 0.9b | (*.f32 (*.f32 (cbrt.f32 s) (cbrt.f32 s)) (*.f32 (log.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1)) (neg.f32 (cbrt.f32 s)))) | |
| ▶ | 0.5b | (+.f32 (*.f32 (neg.f32 s) (log1p.f32 (sqrt.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))))))) (*.f32 (neg.f32 s) (log.f32 (+.f32 (sqrt.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))))) -1)))) |
| 0.5b | (/.f32 (*.f32 (neg.f32 s) (*.f32 2 (pow.f32 (log.f32 (sqrt.f32 (+.f32 -1 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))))))) 3))) (+.f32 (*.f32 (log.f32 (sqrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))) (log.f32 (sqrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1)))) (-.f32 (*.f32 (log.f32 (sqrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))) (log.f32 (sqrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1)))) (*.f32 (log.f32 (sqrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))) (log.f32 (sqrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))))))) | |
| 31.1b | (exp.f32 (log.f32 (*.f32 (neg.f32 s) (log.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))))) | |
| 1.6b | (*.f32 (*.f32 (neg.f32 s) (sqrt.f32 (log.f32 (+.f32 -1 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))))))) (sqrt.f32 (+.f32 (log.f32 (sqrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))) (log.f32 (sqrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1)))))) | |
| 0.5b | (+.f32 (*.f32 (neg.f32 s) (*.f32 2 (log.f32 (cbrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))))) (*.f32 (neg.f32 s) (log.f32 (cbrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))))) | |
| 1.6b | (*.f32 (*.f32 (neg.f32 s) (sqrt.f32 (log.f32 (sqrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))))) (+.f32 (sqrt.f32 (log.f32 (sqrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1)))) (sqrt.f32 (log.f32 (sqrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1)))))) |
Compiled 69713 to 40102 computations (42.5% saved)
Found 4 expressions with local error:
| New | Error | Program |
| ✓ | 0.3b | (*.f32 (neg.f32 s) (log.f32 (+.f32 (sqrt.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))))) -1))) |
| ✓ | 0.3b | (*.f32 (neg.f32 s) (log1p.f32 (sqrt.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))))))) |
| ✓ | 0.3b | (+.f32 (*.f32 (neg.f32 s) (log1p.f32 (sqrt.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))))))) (*.f32 (neg.f32 s) (log.f32 (+.f32 (sqrt.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))))) -1)))) |
| 0.3b | (/.f32 (PI.f32) s) |
3 calls:
| 20.2s | (+.f32 (*.f32 (neg.f32 s) (log1p.f32 (sqrt.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))))))) (*.f32 (neg.f32 s) (log.f32 (+.f32 (sqrt.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))))) -1)))) |
| 5.9s | (*.f32 (neg.f32 s) (log.f32 (+.f32 (sqrt.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))))) -1))) |
| 5.8s | (*.f32 (neg.f32 s) (log1p.f32 (sqrt.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))))))) |
| 1× | rewrite-expression-head |
| 39× | add-sqr-sqrt_binary32 |
| 32× | log-prod_binary32 |
| 27× | *-un-lft-identity_binary32 |
| 20× | associate-*l*_binary32 |
| 16× | distribute-lft-in_binary32 |
3 calls:
| 11.0ms | (*.f32 (neg.f32 s) (log.f32 (+.f32 (sqrt.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))))) -1))) |
| 10.0ms | (+.f32 (*.f32 (neg.f32 s) (log1p.f32 (sqrt.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))))))) (*.f32 (neg.f32 s) (log.f32 (+.f32 (sqrt.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))))) -1)))) |
| 3.0ms | (*.f32 (neg.f32 s) (log1p.f32 (sqrt.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))))))) |
| 1× | egg-herbie |
| 1159× | fma-def_binary32 |
| 416× | times-frac_binary32 |
| 13× | cube-mult_binary32 |
| 13× | unpow3_binary32 |
| 12× | unpow2_binary32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 3149 | 90810 |
| 1 | 5040 | 90810 |
8 alts after pruning (8 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 360 | 3 | 363 |
| Fresh | 3 | 5 | 8 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 364 | 8 | 372 |
| Status | Error | Program |
| 0.5b | (/.f32 (*.f32 (neg.f32 s) (*.f32 2 (pow.f32 (log.f32 (sqrt.f32 (+.f32 -1 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))))))) 3))) (+.f32 (*.f32 (log.f32 (sqrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))) (log.f32 (sqrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1)))) (-.f32 (*.f32 (log.f32 (sqrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))) (log.f32 (sqrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1)))) (*.f32 (log.f32 (sqrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))) (log.f32 (sqrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))))))) | |
| 31.1b | (exp.f32 (log.f32 (*.f32 (neg.f32 s) (log.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))))) | |
| 0.5b | (*.f32 (neg.f32 s) (+.f32 (log.f32 (sqrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))) (-.f32 (log.f32 (sqrt.f32 (-.f32 (*.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))))) (*.f32 -1 -1)))) (log.f32 (sqrt.f32 (-.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1)))))) | |
| 0.5b | (+.f32 (+.f32 (*.f32 (neg.f32 s) (log1p.f32 (sqrt.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))))))) (*.f32 (log.f32 (*.f32 (cbrt.f32 (+.f32 (sqrt.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))))) -1)) (cbrt.f32 (+.f32 (sqrt.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))))) -1)))) (neg.f32 s))) (*.f32 (log.f32 (cbrt.f32 (+.f32 (sqrt.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))))) -1))) (neg.f32 s))) | |
| 1.6b | (*.f32 (*.f32 (neg.f32 s) (sqrt.f32 (log.f32 (+.f32 -1 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))))))) (sqrt.f32 (+.f32 (log.f32 (sqrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))) (log.f32 (sqrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1)))))) | |
| 0.5b | (+.f32 (*.f32 (neg.f32 s) (*.f32 2 (log.f32 (cbrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))))) (*.f32 (neg.f32 s) (log.f32 (cbrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))))) | |
| 0.4b | (+.f32 (*.f32 (neg.f32 s) (log1p.f32 (sqrt.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))))))) (*.f32 (neg.f32 s) (log.f32 (+.f32 (sqrt.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (*.f32 (cbrt.f32 (PI.f32)) (cbrt.f32 (PI.f32))) (/.f32 s (cbrt.f32 (PI.f32)))))))))) -1)))) | |
| 0.6b | (+.f32 (*.f32 (neg.f32 s) (log1p.f32 (sqrt.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))))))) (*.f32 (*.f32 (cbrt.f32 s) (cbrt.f32 s)) (*.f32 (neg.f32 (cbrt.f32 s)) (log.f32 (+.f32 (sqrt.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))))) -1))))) |
Compiled 121468 to 71666 computations (41% saved)
Total 0.3b remaining (84.4%)
Threshold costs 0.3b (84.4%)
Compiled 143205 to 97170 computations (32.1% saved)
| 1× | egg-herbie |
| 8× | +-commutative_binary32 |
| 5× | *-commutative_binary32 |
| 5× | sub-neg_binary32 |
| 4× | neg-sub0_binary32 |
| 4× | neg-mul-1_binary32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 24 | 117 |
| 1 | 38 | 117 |
| 2 | 49 | 117 |
| 3 | 55 | 117 |
| 4 | 57 | 117 |
| 5 | 55 | 117 |
Compiled 73 to 48 computations (34.2% saved)
| 1× | intervals |
| 1.5s | 8000× | body | 128 | valid |
| 221.0ms | 8000× | pre | 128 | true |
Compiled 1067 to 696 computations (34.8% saved)
Loading profile data...