Time bar (total: 22.3s)
| 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)
| 2.1s | 8256× | body | 128 | valid |
Compiled 147 to 112 computations (23.8% saved)
| 1× | egg-herbie |
| 745× | fma-def_binary32 |
| 441× | fma-neg_binary32 |
| 420× | times-frac_binary32 |
| 347× | associate-*l*_binary32 |
| 269× | associate-*r*_binary32 |
Useful iterations: 5 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 22 | 59 |
| 1 | 42 | 59 |
| 2 | 73 | 59 |
| 3 | 133 | 51 |
| 4 | 213 | 48 |
| 5 | 367 | 46 |
| 6 | 652 | 46 |
| 7 | 1115 | 46 |
| 8 | 2001 | 46 |
| 9 | 4254 | 46 |
| 1× | node limit |
1 alts after pruning (1 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 1 | 1 | 2 |
| Fresh | 1 | 0 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 0 | 0 |
| Total | 2 | 1 | 3 |
| Status | Error | Program |
| ▶ | 0.3b | (*.f32 (neg.f32 s) (log.f32 (+.f32 (/.f32 -1 (-.f32 (/.f32 (+.f32 u -1) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))))) -1))) |
Compiled 127 to 93 computations (26.8% saved)
Found 4 expressions with local error:
| New | Error | Program |
| ✓ | 0.1b | (+.f32 (/.f32 -1 (-.f32 (/.f32 (+.f32 u -1) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))))) -1) |
| ✓ | 0.3b | (*.f32 (neg.f32 s) (log.f32 (+.f32 (/.f32 -1 (-.f32 (/.f32 (+.f32 u -1) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))))) -1))) |
| ✓ | 0.3b | (/.f32 (PI.f32) s) |
| ✓ | 0.3b | (/.f32 (neg.f32 (PI.f32)) s) |
4 calls:
| 1.0s | (*.f32 (neg.f32 s) (log.f32 (+.f32 (/.f32 -1 (-.f32 (/.f32 (+.f32 u -1) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))))) -1))) |
| 104.0ms | (+.f32 (/.f32 -1 (-.f32 (/.f32 (+.f32 u -1) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))))) -1) |
| 3.0ms | (/.f32 (neg.f32 (PI.f32)) s) |
| 2.0ms | (/.f32 (PI.f32) s) |
| 1× | batch-egg-rewrite |
| 252× | add-sqr-sqrt_binary32 |
| 239× | log1p-expm1-u_binary32 |
| 239× | expm1-log1p-u_binary32 |
| 238× | add-cbrt-cube_binary32 |
| 234× | add-log-exp_binary32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 22 | 97 |
| 1 | 500 | 97 |
| 1× | node limit |
4 calls:
| 43.0ms | (+.f32 (/.f32 -1 (-.f32 (/.f32 (+.f32 u -1) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))))) -1) |
| 43.0ms | (*.f32 (neg.f32 s) (log.f32 (+.f32 (/.f32 -1 (-.f32 (/.f32 (+.f32 u -1) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))))) -1))) |
| 43.0ms | (/.f32 (PI.f32) s) |
| 43.0ms | (/.f32 (neg.f32 (PI.f32)) s) |
| 1× | egg-herbie |
| 636× | associate-/l*_binary32 |
| 627× | associate-/r*_binary32 |
| 438× | fma-def_binary32 |
| 187× | +-commutative_binary32 |
| 160× | *-commutative_binary32 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 563 | 8314 |
| 1 | 2081 | 8190 |
| 1× | node limit |
11 alts after pruning (11 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 137 | 11 | 148 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 138 | 11 | 149 |
| Status | Error | Program |
| 25.3b | (*.f32 (neg.f32 s) (log.f32 (log.f32 (exp.f32 (+.f32 -1 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s))))))))))) | |
| 26.0b | (-.f32 (exp.f32 (log1p.f32 (*.f32 (neg.f32 s) (log.f32 (+.f32 -1 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s))))))))))) 1) | |
| 25.5b | (log1p.f32 (-.f32 (pow.f32 (+.f32 -1 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s))))))) (neg.f32 s)) 1)) | |
| 18.8b | (cbrt.f32 (*.f32 (pow.f32 (neg.f32 s) 3) (pow.f32 (log.f32 (+.f32 -1 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))))))) 3))) | |
| 30.4b | (pow.f32 (sqrt.f32 (*.f32 (neg.f32 s) (log.f32 (+.f32 -1 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))))))))) 2) | |
| 0.9b | (pow.f32 (cbrt.f32 (*.f32 (neg.f32 s) (log.f32 (+.f32 -1 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))))))))) 3) | |
| 2.3b | (*.f32 (neg.f32 s) (log.f32 (pow.f32 (exp.f32 (sqrt.f32 (log.f32 (+.f32 -1 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))))))))) (sqrt.f32 (log.f32 (+.f32 -1 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))))))))))) | |
| 0.9b | (*.f32 (neg.f32 s) (log.f32 (pow.f32 (exp.f32 (pow.f32 (cbrt.f32 (log.f32 (+.f32 -1 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s))))))))) 2)) (cbrt.f32 (log.f32 (+.f32 -1 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))))))))))) | |
| ▶ | 0.4b | (*.f32 (neg.f32 s) (log.f32 (pow.f32 (cbrt.f32 (+.f32 -1 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))))))) 3))) |
| 0.5b | (*.f32 (neg.f32 s) (log.f32 (pow.f32 (pow.f32 (+.f32 -1 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s))))))) 3) 1/3))) | |
| 0.4b | (*.f32 (neg.f32 s) (log.f32 (fma.f32 (cbrt.f32 (pow.f32 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))))) 2)) (/.f32 -1 (cbrt.f32 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s))))))) -1))) |
Compiled 12729 to 7310 computations (42.6% saved)
Found 4 expressions with local error:
| New | Error | Program |
| ✓ | 0.3b | (*.f32 (neg.f32 s) (log.f32 (pow.f32 (cbrt.f32 (+.f32 -1 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))))))) 3))) |
| 0.3b | (/.f32 (PI.f32) s) | |
| 0.3b | (/.f32 (neg.f32 (PI.f32)) s) | |
| ✓ | 0.7b | (pow.f32 (cbrt.f32 (+.f32 -1 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))))))) 3) |
2 calls:
| 2.4s | (*.f32 (neg.f32 s) (log.f32 (pow.f32 (cbrt.f32 (+.f32 -1 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))))))) 3))) |
| 1.4s | (pow.f32 (cbrt.f32 (+.f32 -1 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))))))) 3) |
| 1× | batch-egg-rewrite |
| 259× | log1p-expm1-u_binary32 |
| 259× | expm1-log1p-u_binary32 |
| 257× | add-cbrt-cube_binary32 |
| 252× | add-log-exp_binary32 |
| 249× | add-exp-log_binary32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 25 | 85 |
| 1 | 562 | 85 |
| 1× | node limit |
2 calls:
| 33.0ms | (*.f32 (neg.f32 s) (log.f32 (pow.f32 (cbrt.f32 (+.f32 -1 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))))))) 3))) |
| 33.0ms | (pow.f32 (cbrt.f32 (+.f32 -1 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))))))) 3) |
| 1× | egg-herbie |
| 753× | fma-def_binary32 |
| 680× | associate-/r*_binary32 |
| 625× | associate-/l*_binary32 |
| 219× | *-commutative_binary32 |
| 202× | +-commutative_binary32 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 630 | 8455 |
| 1 | 2409 | 8255 |
| 1× | node limit |
12 alts after pruning (11 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 151 | 1 | 152 |
| Fresh | 0 | 10 | 10 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 151 | 12 | 163 |
| Status | Error | Program |
| 25.3b | (*.f32 (neg.f32 s) (log.f32 (log.f32 (exp.f32 (+.f32 -1 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s))))))))))) | |
| 26.0b | (-.f32 (exp.f32 (log1p.f32 (*.f32 (neg.f32 s) (log.f32 (+.f32 -1 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s))))))))))) 1) | |
| 0.5b | (*.f32 (neg.f32 s) (log.f32 (*.f32 (pow.f32 (sqrt.f32 (cbrt.f32 (+.f32 -1 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s))))))))) 3) (pow.f32 (sqrt.f32 (cbrt.f32 (+.f32 -1 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s))))))))) 3)))) | |
| ✓ | 0.4b | (*.f32 (neg.f32 s) (log.f32 (pow.f32 (cbrt.f32 (+.f32 -1 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))))))) 3))) |
| 25.5b | (log1p.f32 (-.f32 (pow.f32 (+.f32 -1 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s))))))) (neg.f32 s)) 1)) | |
| 18.8b | (cbrt.f32 (*.f32 (pow.f32 (neg.f32 s) 3) (pow.f32 (log.f32 (+.f32 -1 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))))))) 3))) | |
| 30.4b | (pow.f32 (sqrt.f32 (*.f32 (neg.f32 s) (log.f32 (+.f32 -1 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))))))))) 2) | |
| 0.9b | (pow.f32 (cbrt.f32 (*.f32 (neg.f32 s) (log.f32 (+.f32 -1 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))))))))) 3) | |
| 2.3b | (*.f32 (neg.f32 s) (log.f32 (pow.f32 (exp.f32 (sqrt.f32 (log.f32 (+.f32 -1 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))))))))) (sqrt.f32 (log.f32 (+.f32 -1 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))))))))))) | |
| 0.9b | (*.f32 (neg.f32 s) (log.f32 (pow.f32 (exp.f32 (pow.f32 (cbrt.f32 (log.f32 (+.f32 -1 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s))))))))) 2)) (cbrt.f32 (log.f32 (+.f32 -1 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))))))))))) | |
| 0.5b | (*.f32 (neg.f32 s) (log.f32 (pow.f32 (pow.f32 (+.f32 -1 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s))))))) 3) 1/3))) | |
| ▶ | 0.4b | (*.f32 (neg.f32 s) (log.f32 (fma.f32 (cbrt.f32 (pow.f32 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))))) 2)) (/.f32 -1 (cbrt.f32 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s))))))) -1))) |
Compiled 14087 to 8524 computations (39.5% saved)
Found 4 expressions with local error:
| New | Error | Program |
| 0.3b | (/.f32 (PI.f32) s) | |
| 0.3b | (/.f32 (neg.f32 (PI.f32)) s) | |
| ✓ | 0.4b | (fma.f32 (cbrt.f32 (pow.f32 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))))) 2)) (/.f32 -1 (cbrt.f32 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s))))))) -1) |
| ✓ | 0.5b | (pow.f32 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))))) 2) |
2 calls:
| 8.2s | (fma.f32 (cbrt.f32 (pow.f32 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))))) 2)) (/.f32 -1 (cbrt.f32 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s))))))) -1) |
| 169.0ms | (pow.f32 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))))) 2) |
| 1× | batch-egg-rewrite |
| 260× | add-sqr-sqrt_binary32 |
| 251× | log1p-expm1-u_binary32 |
| 251× | expm1-log1p-u_binary32 |
| 250× | add-cbrt-cube_binary32 |
| 243× | add-cube-cbrt_binary32 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 24 | 121 |
| 1 | 536 | 78 |
| 1× | node limit |
2 calls:
| 37.0ms | (fma.f32 (cbrt.f32 (pow.f32 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))))) 2)) (/.f32 -1 (cbrt.f32 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s))))))) -1) |
| 37.0ms | (pow.f32 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))))) 2) |
| 1× | egg-herbie |
| 911× | fma-def_binary32 |
| 451× | times-frac_binary32 |
| 9× | unpow2_binary32 |
| 8× | cube-mult_binary32 |
| 8× | unpow3_binary32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 3374 | 70034 |
| 1× | node limit |
12 alts after pruning (10 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 188 | 0 | 188 |
| Fresh | 0 | 10 | 10 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 188 | 12 | 200 |
| Status | Error | Program |
| 25.3b | (*.f32 (neg.f32 s) (log.f32 (log.f32 (exp.f32 (+.f32 -1 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s))))))))))) | |
| 26.0b | (-.f32 (exp.f32 (log1p.f32 (*.f32 (neg.f32 s) (log.f32 (+.f32 -1 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s))))))))))) 1) | |
| ▶ | 0.5b | (*.f32 (neg.f32 s) (log.f32 (*.f32 (pow.f32 (sqrt.f32 (cbrt.f32 (+.f32 -1 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s))))))))) 3) (pow.f32 (sqrt.f32 (cbrt.f32 (+.f32 -1 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s))))))))) 3)))) |
| ✓ | 0.4b | (*.f32 (neg.f32 s) (log.f32 (pow.f32 (cbrt.f32 (+.f32 -1 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))))))) 3))) |
| 25.5b | (log1p.f32 (-.f32 (pow.f32 (+.f32 -1 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s))))))) (neg.f32 s)) 1)) | |
| 18.8b | (cbrt.f32 (*.f32 (pow.f32 (neg.f32 s) 3) (pow.f32 (log.f32 (+.f32 -1 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))))))) 3))) | |
| 30.4b | (pow.f32 (sqrt.f32 (*.f32 (neg.f32 s) (log.f32 (+.f32 -1 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))))))))) 2) | |
| 0.9b | (pow.f32 (cbrt.f32 (*.f32 (neg.f32 s) (log.f32 (+.f32 -1 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))))))))) 3) | |
| 2.3b | (*.f32 (neg.f32 s) (log.f32 (pow.f32 (exp.f32 (sqrt.f32 (log.f32 (+.f32 -1 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))))))))) (sqrt.f32 (log.f32 (+.f32 -1 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))))))))))) | |
| 0.9b | (*.f32 (neg.f32 s) (log.f32 (pow.f32 (exp.f32 (pow.f32 (cbrt.f32 (log.f32 (+.f32 -1 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s))))))))) 2)) (cbrt.f32 (log.f32 (+.f32 -1 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))))))))))) | |
| 0.5b | (*.f32 (neg.f32 s) (log.f32 (pow.f32 (pow.f32 (+.f32 -1 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s))))))) 3) 1/3))) | |
| ✓ | 0.4b | (*.f32 (neg.f32 s) (log.f32 (fma.f32 (cbrt.f32 (pow.f32 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))))) 2)) (/.f32 -1 (cbrt.f32 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s))))))) -1))) |
Compiled 95826 to 63757 computations (33.5% saved)
Found 4 expressions with local error:
| New | Error | Program |
| 0.3b | (/.f32 (PI.f32) s) | |
| 0.3b | (/.f32 (neg.f32 (PI.f32)) s) | |
| ✓ | 0.4b | (*.f32 (pow.f32 (sqrt.f32 (cbrt.f32 (+.f32 -1 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s))))))))) 3) (pow.f32 (sqrt.f32 (cbrt.f32 (+.f32 -1 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s))))))))) 3)) |
| ✓ | 0.8b | (pow.f32 (sqrt.f32 (cbrt.f32 (+.f32 -1 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s))))))))) 3) |
2 calls:
| 1.2s | (pow.f32 (sqrt.f32 (cbrt.f32 (+.f32 -1 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s))))))))) 3) |
| 199.0ms | (*.f32 (pow.f32 (sqrt.f32 (cbrt.f32 (+.f32 -1 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s))))))))) 3) (pow.f32 (sqrt.f32 (cbrt.f32 (+.f32 -1 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s))))))))) 3)) |
| 1× | batch-egg-rewrite |
| 256× | log1p-expm1-u_binary32 |
| 256× | expm1-log1p-u_binary32 |
| 252× | add-cbrt-cube_binary32 |
| 244× | add-log-exp_binary32 |
| 243× | add-cube-cbrt_binary32 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 24 | 88 |
| 1 | 550 | 80 |
| 1× | node limit |
2 calls:
| 38.0ms | (*.f32 (pow.f32 (sqrt.f32 (cbrt.f32 (+.f32 -1 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s))))))))) 3) (pow.f32 (sqrt.f32 (cbrt.f32 (+.f32 -1 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s))))))))) 3)) |
| 38.0ms | (pow.f32 (sqrt.f32 (cbrt.f32 (+.f32 -1 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s))))))))) 3) |
| 1× | egg-herbie |
| 612× | fma-def_binary32 |
| 432× | times-frac_binary32 |
| 404× | associate-/r*_binary32 |
| 306× | associate-/l*_binary32 |
| 236× | associate-*l/_binary32 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 516 | 7806 |
| 1 | 1883 | 7655 |
| 1× | node limit |
11 alts after pruning (10 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 239 | 3 | 242 |
| Fresh | 2 | 7 | 9 |
| Picked | 1 | 0 | 1 |
| Done | 1 | 1 | 2 |
| Total | 243 | 11 | 254 |
| Status | Error | Program |
| 25.3b | (*.f32 (neg.f32 s) (log.f32 (log.f32 (exp.f32 (+.f32 -1 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s))))))))))) | |
| 26.0b | (-.f32 (exp.f32 (log1p.f32 (*.f32 (neg.f32 s) (log.f32 (+.f32 -1 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s))))))))))) 1) | |
| 0.4b | (*.f32 (neg.f32 s) (log.f32 (*.f32 (pow.f32 (sqrt.f32 (cbrt.f32 (+.f32 -1 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s))))))))) 3) (-.f32 (exp.f32 (log1p.f32 (sqrt.f32 (+.f32 -1 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))))))))) 1)))) | |
| 0.9b | (*.f32 (neg.f32 s) (log.f32 (pow.f32 (exp.f32 (pow.f32 (cbrt.f32 (log.f32 (+.f32 -1 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s))))))))) 2)) (cbrt.f32 (log.f32 (+.f32 -1 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))))))))))) | |
| 25.5b | (log1p.f32 (-.f32 (pow.f32 (+.f32 -1 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s))))))) (neg.f32 s)) 1)) | |
| 18.8b | (cbrt.f32 (*.f32 (pow.f32 (neg.f32 s) 3) (pow.f32 (log.f32 (+.f32 -1 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))))))) 3))) | |
| 30.4b | (pow.f32 (sqrt.f32 (*.f32 (neg.f32 s) (log.f32 (+.f32 -1 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))))))))) 2) | |
| 0.9b | (pow.f32 (cbrt.f32 (*.f32 (neg.f32 s) (log.f32 (+.f32 -1 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))))))))) 3) | |
| 0.6b | (*.f32 (neg.f32 s) (log.f32 (exp.f32 (*.f32 (log.f32 (pow.f32 (+.f32 -1 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s))))))) 1/6)) 6)))) | |
| ✓ | 0.4b | (*.f32 (neg.f32 s) (log.f32 (fma.f32 (cbrt.f32 (pow.f32 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))))) 2)) (/.f32 -1 (cbrt.f32 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s))))))) -1))) |
| 0.4b | (*.f32 (neg.f32 s) (log.f32 (*.f32 (pow.f32 (sqrt.f32 (cbrt.f32 (+.f32 -1 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s))))))))) 3) (exp.f32 (*.f32 (log.f32 (cbrt.f32 (+.f32 -1 (/.f32 -1 (-.f32 (/.f32 (+.f32 -1 u) (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))) (/.f32 u (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s))))))))) 3/2))))) |
Compiled 25775 to 15280 computations (40.7% saved)
Total 0.2b remaining (58.4%)
Threshold costs 0.2b (58.4%)
Compiled 10635 to 8090 computations (23.9% saved)
| 1× | egg-herbie |
| 13× | +-commutative_binary32 |
| 10× | sub-neg_binary32 |
| 9× | *-commutative_binary32 |
| 7× | neg-sub0_binary32 |
| 7× | neg-mul-1_binary32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 26 | 90 |
| 1 | 45 | 90 |
| 2 | 64 | 90 |
| 3 | 78 | 90 |
| 4 | 85 | 90 |
| 5 | 87 | 90 |
| 1× | saturated |
Compiled 595 to 451 computations (24.2% saved)
Loading profile data...