Time bar (total: 12.3s)
| 1× | search |
| True | Other | False | Iter |
|---|---|---|---|
| 0% | 99.8% | 0.2% | 0 |
| 0% | 99.8% | 0.2% | 1 |
| 0% | 99.8% | 0.2% | 2 |
| 0% | 99.8% | 0.2% | 3 |
| 0% | 99.8% | 0.2% | 4 |
| 0% | 99.8% | 0.2% | 5 |
| 9.4% | 90.4% | 0.2% | 6 |
| 17.2% | 82.7% | 0.2% | 7 |
| 19.5% | 80.3% | 0.2% | 8 |
| 30.8% | 69% | 0.2% | 9 |
| 35.5% | 64.3% | 0.2% | 10 |
| 42.4% | 57.4% | 0.2% | 11 |
| 47.1% | 52.7% | 0.2% | 12 |
| 48.9% | 50.9% | 0.2% | 13 |
| 50% | 49.7% | 0.2% | 14 |
Compiled 42 to 20 computations (52.4% saved)
| 2.5s | 2543× | body | 1024 | invalid |
| 1.8s | 7883× | body | 128 | valid |
| 746.0ms | 931× | body | 512 | invalid |
| 483.0ms | 214× | body | 2048 | invalid |
| 157.0ms | 347× | body | 256 | invalid |
| 150.0ms | 156× | body | 1024 | valid |
| 133.0ms | 510× | body | 128 | invalid |
| 75.0ms | 118× | body | 512 | valid |
| 36.0ms | 85× | body | 256 | valid |
| 22.0ms | 14× | body | 2048 | valid |
Compiled 125 to 59 computations (52.8% saved)
| 1× | egg-herbie |
| 892× | unswap-sqr_binary64 |
| 461× | associate-/l*_binary64 |
| 323× | associate-/r*_binary64 |
| 296× | associate-*l/_binary64 |
| 286× | associate-*r/_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 20 | 40 |
| 1 | 39 | 38 |
| 2 | 70 | 38 |
| 3 | 118 | 38 |
| 4 | 263 | 38 |
| 5 | 996 | 38 |
| 6 | 3043 | 38 |
| 7 | 4085 | 38 |
| 8 | 4541 | 38 |
| 9 | 4866 | 38 |
| 10 | 4932 | 38 |
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 |
| 33.0b | (*.f64 (exp.f64 (-.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.re) (*.f64 (atan2.f64 x.im x.re) y.im))) (sin.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.im) (*.f64 (atan2.f64 x.im x.re) y.re)))) | |
| ▶ | 6.4b | (*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re))))) |
Compiled 206 to 96 computations (53.4% saved)
Found 4 expressions with local error:
| New | Error | Program |
| ✓ | 0.2b | (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re))) |
| ✓ | 0.6b | (*.f64 y.re (atan2.f64 x.im x.re)) |
| ✓ | 0.6b | (*.f64 (atan2.f64 x.im x.re) y.im) |
| ✓ | 32.1b | (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re)))) |
4 calls:
| 276.0ms | (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re))) |
| 107.0ms | (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re)))) |
| 7.0ms | (*.f64 y.re (atan2.f64 x.im x.re)) |
| 7.0ms | (*.f64 (atan2.f64 x.im x.re) y.im) |
| 1× | rewrite-expression-head |
| 12× | add-sqr-sqrt_binary64 |
| 8× | *-un-lft-identity_binary64 |
| 8× | add-cube-cbrt_binary64 |
| 8× | add-cbrt-cube_binary64 |
| 8× | add-exp-log_binary64 |
4 calls:
| 2.0ms | (*.f64 y.re (atan2.f64 x.im x.re)) |
| 2.0ms | (*.f64 (atan2.f64 x.im x.re) y.im) |
| 1.0ms | (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re)))) |
| 0.0ms | (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re))) |
| 1× | egg-herbie |
| 433× | associate-*r*_binary64 |
| 296× | sub-neg_binary64 |
| 295× | fma-neg_binary64 |
| 279× | fma-def_binary64 |
| 278× | associate-*l*_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 424 | 5775 |
| 1 | 1273 | 5176 |
| 2 | 4198 | 5164 |
| 3 | 4994 | 5164 |
| 4 | 4931 | 5164 |
10 alts after pruning (10 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 177 | 9 | 186 |
| Fresh | 0 | 1 | 1 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 178 | 10 | 188 |
| Status | Error | Program |
| 19.8b | (*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (sin.f64 (expm1.f64 (log1p.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re))))))) | |
| 39.3b | (*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (sin.f64 (-.f64 (*.f64 y.re (atan2.f64 x.im x.re)) (*.f64 (log.f64 (/.f64 -1 x.im)) y.im)))) | |
| 33.0b | (*.f64 (exp.f64 (-.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.re) (*.f64 (atan2.f64 x.im x.re) y.im))) (sin.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.im) (*.f64 (atan2.f64 x.im x.re) y.re)))) | |
| 39.7b | (*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (sin.f64 (fma.f64 (log.f64 x.im) y.im (*.f64 y.re (atan2.f64 x.im x.re))))) | |
| 32.2b | (*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (sin.f64 (*.f64 (sqrt.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re)))) (sqrt.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re))))))) | |
| 6.8b | (*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (sin.f64 (*.f64 (*.f64 (cbrt.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re)))) (cbrt.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re))))) (cbrt.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re))))))) | |
| 18.4b | (*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (cbrt.f64 (pow.f64 (sin.f64 (fma.f64 y.im (log.f64 (hypot.f64 x.im x.re)) (*.f64 y.re (atan2.f64 x.im x.re)))) 3))) | |
| ▶ | 6.5b | (*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 (*.f64 (cbrt.f64 y.re) (cbrt.f64 y.re)) (*.f64 (cbrt.f64 y.re) (atan2.f64 x.im x.re)))))) |
| 39.2b | (*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (sin.f64 (cbrt.f64 (*.f64 (*.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re))) (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re)))) (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re))))))) | |
| 25.0b | (*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (cbrt.f64 (*.f64 (*.f64 (*.f64 y.re y.re) y.re) (*.f64 (*.f64 (atan2.f64 x.im x.re) (atan2.f64 x.im x.re)) (atan2.f64 x.im x.re))))))) |
Compiled 9664 to 3245 computations (66.4% saved)
Found 4 expressions with local error:
| New | Error | Program |
| ✓ | 0.6b | (*.f64 (*.f64 (cbrt.f64 y.re) (cbrt.f64 y.re)) (*.f64 (cbrt.f64 y.re) (atan2.f64 x.im x.re))) |
| ✓ | 0.6b | (cbrt.f64 y.re) |
| 0.6b | (*.f64 (atan2.f64 x.im x.re) y.im) | |
| ✓ | 32.4b | (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 (*.f64 (cbrt.f64 y.re) (cbrt.f64 y.re)) (*.f64 (cbrt.f64 y.re) (atan2.f64 x.im x.re))))) |
3 calls:
| 98.0ms | (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 (*.f64 (cbrt.f64 y.re) (cbrt.f64 y.re)) (*.f64 (cbrt.f64 y.re) (atan2.f64 x.im x.re))))) |
| 33.0ms | (cbrt.f64 y.re) |
| 19.0ms | (*.f64 (*.f64 (cbrt.f64 y.re) (cbrt.f64 y.re)) (*.f64 (cbrt.f64 y.re) (atan2.f64 x.im x.re))) |
| 1× | rewrite-expression-head |
| 15× | add-exp-log_binary64 |
| 15× | pow1_binary64 |
| 9× | add-cbrt-cube_binary64 |
| 8× | cbrt-unprod_binary64 |
| 8× | prod-exp_binary64 |
3 calls:
| 7.0ms | (*.f64 (*.f64 (cbrt.f64 y.re) (cbrt.f64 y.re)) (*.f64 (cbrt.f64 y.re) (atan2.f64 x.im x.re))) |
| 1.0ms | (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 (*.f64 (cbrt.f64 y.re) (cbrt.f64 y.re)) (*.f64 (cbrt.f64 y.re) (atan2.f64 x.im x.re))))) |
| 1.0ms | (cbrt.f64 y.re) |
| 1× | egg-herbie |
| 677× | fma-def_binary64 |
| 467× | associate-*r*_binary64 |
| 321× | associate-*l*_binary64 |
| 255× | *-commutative_binary64 |
| 250× | unswap-sqr_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 372 | 4492 |
| 1 | 1077 | 4087 |
| 2 | 3715 | 4081 |
| 3 | 4952 | 4081 |
14 alts after pruning (14 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 183 | 5 | 188 |
| Fresh | 0 | 9 | 9 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 184 | 14 | 198 |
| Status | Error | Program |
| 19.8b | (*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (sin.f64 (expm1.f64 (log1p.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re))))))) | |
| 39.3b | (*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (sin.f64 (-.f64 (*.f64 y.re (atan2.f64 x.im x.re)) (*.f64 (log.f64 (/.f64 -1 x.im)) y.im)))) | |
| 33.0b | (*.f64 (exp.f64 (-.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.re) (*.f64 (atan2.f64 x.im x.re) y.im))) (sin.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.im) (*.f64 (atan2.f64 x.im x.re) y.re)))) | |
| ▶ | 6.5b | (*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 (*.f64 (cbrt.f64 y.re) (cbrt.f64 y.re)) (*.f64 (cbrt.f64 (*.f64 (*.f64 (cbrt.f64 y.re) (cbrt.f64 y.re)) (cbrt.f64 y.re))) (atan2.f64 x.im x.re)))))) |
| 18.4b | (*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (cbrt.f64 (*.f64 (*.f64 (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 (*.f64 (cbrt.f64 y.re) (cbrt.f64 y.re)) (*.f64 (cbrt.f64 y.re) (atan2.f64 x.im x.re))))) (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 (*.f64 (cbrt.f64 y.re) (cbrt.f64 y.re)) (*.f64 (cbrt.f64 y.re) (atan2.f64 x.im x.re)))))) (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 (*.f64 (cbrt.f64 y.re) (cbrt.f64 y.re)) (*.f64 (cbrt.f64 y.re) (atan2.f64 x.im x.re)))))))) | |
| 39.7b | (*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (sin.f64 (fma.f64 (log.f64 x.im) y.im (*.f64 y.re (atan2.f64 x.im x.re))))) | |
| 37.9b | (*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 (cbrt.f64 y.re) (*.f64 (atan2.f64 x.im x.re) (pow.f64 y.re 2/3)))))) | |
| 18.4b | (*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (cbrt.f64 (pow.f64 (sin.f64 (fma.f64 y.im (log.f64 (hypot.f64 x.im x.re)) (*.f64 y.re (atan2.f64 x.im x.re)))) 3))) | |
| 6.5b | (*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 (*.f64 (cbrt.f64 y.re) (*.f64 (cbrt.f64 (*.f64 (cbrt.f64 y.re) (cbrt.f64 y.re))) (cbrt.f64 (cbrt.f64 y.re)))) (*.f64 (cbrt.f64 y.re) (atan2.f64 x.im x.re)))))) | |
| 6.6b | (*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 (*.f64 (cbrt.f64 y.re) (cbrt.f64 y.re)) (*.f64 (*.f64 (*.f64 (cbrt.f64 (cbrt.f64 y.re)) (cbrt.f64 (cbrt.f64 y.re))) (cbrt.f64 (cbrt.f64 y.re))) (atan2.f64 x.im x.re)))))) | |
| 32.2b | (*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (sin.f64 (*.f64 (sqrt.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re)))) (sqrt.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re))))))) | |
| 6.8b | (*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (sin.f64 (*.f64 (*.f64 (cbrt.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re)))) (cbrt.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re))))) (cbrt.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re))))))) | |
| 39.2b | (*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (sin.f64 (cbrt.f64 (*.f64 (*.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re))) (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re)))) (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re))))))) | |
| 25.0b | (*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (cbrt.f64 (*.f64 (*.f64 (*.f64 y.re y.re) y.re) (*.f64 (*.f64 (atan2.f64 x.im x.re) (atan2.f64 x.im x.re)) (atan2.f64 x.im x.re))))))) |
Compiled 10433 to 3070 computations (70.6% saved)
Found 4 expressions with local error:
| New | Error | Program |
| ✓ | 0.6b | (cbrt.f64 (*.f64 (*.f64 (cbrt.f64 y.re) (cbrt.f64 y.re)) (cbrt.f64 y.re))) |
| 0.6b | (cbrt.f64 y.re) | |
| 0.6b | (*.f64 (atan2.f64 x.im x.re) y.im) | |
| ✓ | 32.4b | (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 (*.f64 (cbrt.f64 y.re) (cbrt.f64 y.re)) (*.f64 (cbrt.f64 (*.f64 (*.f64 (cbrt.f64 y.re) (cbrt.f64 y.re)) (cbrt.f64 y.re))) (atan2.f64 x.im x.re))))) |
2 calls:
| 102.0ms | (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 (*.f64 (cbrt.f64 y.re) (cbrt.f64 y.re)) (*.f64 (cbrt.f64 (*.f64 (*.f64 (cbrt.f64 y.re) (cbrt.f64 y.re)) (cbrt.f64 y.re))) (atan2.f64 x.im x.re))))) |
| 30.0ms | (cbrt.f64 (*.f64 (*.f64 (cbrt.f64 y.re) (cbrt.f64 y.re)) (cbrt.f64 y.re))) |
| 1× | rewrite-expression-head |
| 2× | *-un-lft-identity_binary64 |
| 2× | add-sqr-sqrt_binary64 |
| 2× | add-cube-cbrt_binary64 |
| 2× | add-cbrt-cube_binary64 |
| 2× | add-exp-log_binary64 |
2 calls:
| 5.0ms | (cbrt.f64 (*.f64 (*.f64 (cbrt.f64 y.re) (cbrt.f64 y.re)) (cbrt.f64 y.re))) |
| 1.0ms | (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 (*.f64 (cbrt.f64 y.re) (cbrt.f64 y.re)) (*.f64 (cbrt.f64 (*.f64 (*.f64 (cbrt.f64 y.re) (cbrt.f64 y.re)) (cbrt.f64 y.re))) (atan2.f64 x.im x.re))))) |
| 1× | egg-herbie |
| 661× | fma-def_binary64 |
| 534× | cancel-sign-sub-inv_binary64 |
| 377× | associate-*r*_binary64 |
| 231× | *-commutative_binary64 |
| 226× | times-frac_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 342 | 3939 |
| 1 | 1008 | 3616 |
| 2 | 3409 | 3610 |
| 3 | 5010 | 3610 |
15 alts after pruning (14 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 215 | 1 | 216 |
| Fresh | 0 | 13 | 13 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 215 | 15 | 230 |
| Status | Error | Program |
| 19.8b | (*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (sin.f64 (expm1.f64 (log1p.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re))))))) | |
| 39.3b | (*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (sin.f64 (-.f64 (*.f64 y.re (atan2.f64 x.im x.re)) (*.f64 (log.f64 (/.f64 -1 x.im)) y.im)))) | |
| 33.0b | (*.f64 (exp.f64 (-.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.re) (*.f64 (atan2.f64 x.im x.re) y.im))) (sin.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.im) (*.f64 (atan2.f64 x.im x.re) y.re)))) | |
| ✓ | 6.5b | (*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 (*.f64 (cbrt.f64 y.re) (cbrt.f64 y.re)) (*.f64 (cbrt.f64 (*.f64 (*.f64 (cbrt.f64 y.re) (cbrt.f64 y.re)) (cbrt.f64 y.re))) (atan2.f64 x.im x.re)))))) |
| 18.4b | (*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (cbrt.f64 (*.f64 (*.f64 (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 (*.f64 (cbrt.f64 y.re) (cbrt.f64 y.re)) (*.f64 (cbrt.f64 y.re) (atan2.f64 x.im x.re))))) (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 (*.f64 (cbrt.f64 y.re) (cbrt.f64 y.re)) (*.f64 (cbrt.f64 y.re) (atan2.f64 x.im x.re)))))) (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 (*.f64 (cbrt.f64 y.re) (cbrt.f64 y.re)) (*.f64 (cbrt.f64 y.re) (atan2.f64 x.im x.re)))))))) | |
| 39.7b | (*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (sin.f64 (fma.f64 (log.f64 x.im) y.im (*.f64 y.re (atan2.f64 x.im x.re))))) | |
| 32.9b | (*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 (*.f64 (cbrt.f64 y.re) (cbrt.f64 y.re)) (*.f64 (cbrt.f64 (*.f64 (*.f64 (cbrt.f64 y.re) (cbrt.f64 y.re)) (*.f64 (pow.f64 (*.f64 -1 y.re) 1/3) (cbrt.f64 -1)))) (atan2.f64 x.im x.re)))))) | |
| 37.9b | (*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 (cbrt.f64 y.re) (*.f64 (atan2.f64 x.im x.re) (pow.f64 y.re 2/3)))))) | |
| 18.4b | (*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (cbrt.f64 (pow.f64 (sin.f64 (fma.f64 y.im (log.f64 (hypot.f64 x.im x.re)) (*.f64 y.re (atan2.f64 x.im x.re)))) 3))) | |
| ▶ | 6.5b | (*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 (*.f64 (cbrt.f64 y.re) (*.f64 (cbrt.f64 (*.f64 (cbrt.f64 y.re) (cbrt.f64 y.re))) (cbrt.f64 (cbrt.f64 y.re)))) (*.f64 (cbrt.f64 y.re) (atan2.f64 x.im x.re)))))) |
| 6.6b | (*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 (*.f64 (cbrt.f64 y.re) (cbrt.f64 y.re)) (*.f64 (*.f64 (*.f64 (cbrt.f64 (cbrt.f64 y.re)) (cbrt.f64 (cbrt.f64 y.re))) (cbrt.f64 (cbrt.f64 y.re))) (atan2.f64 x.im x.re)))))) | |
| 32.2b | (*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (sin.f64 (*.f64 (sqrt.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re)))) (sqrt.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re))))))) | |
| 6.8b | (*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (sin.f64 (*.f64 (*.f64 (cbrt.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re)))) (cbrt.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re))))) (cbrt.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re))))))) | |
| 39.2b | (*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (sin.f64 (cbrt.f64 (*.f64 (*.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re))) (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re)))) (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re))))))) | |
| 25.0b | (*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (cbrt.f64 (*.f64 (*.f64 (*.f64 y.re y.re) y.re) (*.f64 (*.f64 (atan2.f64 x.im x.re) (atan2.f64 x.im x.re)) (atan2.f64 x.im x.re))))))) |
Compiled 12530 to 3446 computations (72.5% saved)
Found 4 expressions with local error:
| New | Error | Program |
| ✓ | 0.6b | (*.f64 (*.f64 (cbrt.f64 y.re) (*.f64 (cbrt.f64 (*.f64 (cbrt.f64 y.re) (cbrt.f64 y.re))) (cbrt.f64 (cbrt.f64 y.re)))) (*.f64 (cbrt.f64 y.re) (atan2.f64 x.im x.re))) |
| 0.6b | (cbrt.f64 y.re) | |
| 0.6b | (*.f64 (atan2.f64 x.im x.re) y.im) | |
| ✓ | 32.2b | (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 (*.f64 (cbrt.f64 y.re) (*.f64 (cbrt.f64 (*.f64 (cbrt.f64 y.re) (cbrt.f64 y.re))) (cbrt.f64 (cbrt.f64 y.re)))) (*.f64 (cbrt.f64 y.re) (atan2.f64 x.im x.re))))) |
2 calls:
| 107.0ms | (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 (*.f64 (cbrt.f64 y.re) (*.f64 (cbrt.f64 (*.f64 (cbrt.f64 y.re) (cbrt.f64 y.re))) (cbrt.f64 (cbrt.f64 y.re)))) (*.f64 (cbrt.f64 y.re) (atan2.f64 x.im x.re))))) |
| 21.0ms | (*.f64 (*.f64 (cbrt.f64 y.re) (*.f64 (cbrt.f64 (*.f64 (cbrt.f64 y.re) (cbrt.f64 y.re))) (cbrt.f64 (cbrt.f64 y.re)))) (*.f64 (cbrt.f64 y.re) (atan2.f64 x.im x.re))) |
| 1× | rewrite-expression-head |
| 23× | add-exp-log_binary64 |
| 23× | pow1_binary64 |
| 15× | cbrt-unprod_binary64 |
| 15× | prod-exp_binary64 |
| 15× | pow-prod-down_binary64 |
2 calls:
| 9.0ms | (*.f64 (*.f64 (cbrt.f64 y.re) (*.f64 (cbrt.f64 (*.f64 (cbrt.f64 y.re) (cbrt.f64 y.re))) (cbrt.f64 (cbrt.f64 y.re)))) (*.f64 (cbrt.f64 y.re) (atan2.f64 x.im x.re))) |
| 1.0ms | (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 (*.f64 (cbrt.f64 y.re) (*.f64 (cbrt.f64 (*.f64 (cbrt.f64 y.re) (cbrt.f64 y.re))) (cbrt.f64 (cbrt.f64 y.re)))) (*.f64 (cbrt.f64 y.re) (atan2.f64 x.im x.re))))) |
| 1× | egg-herbie |
| 624× | fma-def_binary64 |
| 541× | associate-*r*_binary64 |
| 400× | associate-*l*_binary64 |
| 284× | *-commutative_binary64 |
| 226× | times-frac_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 373 | 5776 |
| 1 | 1118 | 5038 |
| 2 | 3891 | 5029 |
| 3 | 4925 | 5029 |
15 alts after pruning (13 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 230 | 0 | 230 |
| Fresh | 0 | 13 | 13 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 230 | 15 | 245 |
| Status | Error | Program |
| 19.8b | (*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (sin.f64 (expm1.f64 (log1p.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re))))))) | |
| 39.3b | (*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (sin.f64 (-.f64 (*.f64 y.re (atan2.f64 x.im x.re)) (*.f64 (log.f64 (/.f64 -1 x.im)) y.im)))) | |
| 33.0b | (*.f64 (exp.f64 (-.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.re) (*.f64 (atan2.f64 x.im x.re) y.im))) (sin.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.im) (*.f64 (atan2.f64 x.im x.re) y.re)))) | |
| ✓ | 6.5b | (*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 (*.f64 (cbrt.f64 y.re) (cbrt.f64 y.re)) (*.f64 (cbrt.f64 (*.f64 (*.f64 (cbrt.f64 y.re) (cbrt.f64 y.re)) (cbrt.f64 y.re))) (atan2.f64 x.im x.re)))))) |
| 18.4b | (*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (cbrt.f64 (*.f64 (*.f64 (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 (*.f64 (cbrt.f64 y.re) (cbrt.f64 y.re)) (*.f64 (cbrt.f64 y.re) (atan2.f64 x.im x.re))))) (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 (*.f64 (cbrt.f64 y.re) (cbrt.f64 y.re)) (*.f64 (cbrt.f64 y.re) (atan2.f64 x.im x.re)))))) (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 (*.f64 (cbrt.f64 y.re) (cbrt.f64 y.re)) (*.f64 (cbrt.f64 y.re) (atan2.f64 x.im x.re)))))))) | |
| 39.7b | (*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (sin.f64 (fma.f64 (log.f64 x.im) y.im (*.f64 y.re (atan2.f64 x.im x.re))))) | |
| 32.9b | (*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 (*.f64 (cbrt.f64 y.re) (cbrt.f64 y.re)) (*.f64 (cbrt.f64 (*.f64 (*.f64 (cbrt.f64 y.re) (cbrt.f64 y.re)) (*.f64 (pow.f64 (*.f64 -1 y.re) 1/3) (cbrt.f64 -1)))) (atan2.f64 x.im x.re)))))) | |
| 37.9b | (*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 (cbrt.f64 y.re) (*.f64 (atan2.f64 x.im x.re) (pow.f64 y.re 2/3)))))) | |
| 18.4b | (*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (cbrt.f64 (pow.f64 (sin.f64 (fma.f64 y.im (log.f64 (hypot.f64 x.im x.re)) (*.f64 y.re (atan2.f64 x.im x.re)))) 3))) | |
| ✓ | 6.5b | (*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 (*.f64 (cbrt.f64 y.re) (*.f64 (cbrt.f64 (*.f64 (cbrt.f64 y.re) (cbrt.f64 y.re))) (cbrt.f64 (cbrt.f64 y.re)))) (*.f64 (cbrt.f64 y.re) (atan2.f64 x.im x.re)))))) |
| 6.6b | (*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 (*.f64 (cbrt.f64 y.re) (cbrt.f64 y.re)) (*.f64 (*.f64 (*.f64 (cbrt.f64 (cbrt.f64 y.re)) (cbrt.f64 (cbrt.f64 y.re))) (cbrt.f64 (cbrt.f64 y.re))) (atan2.f64 x.im x.re)))))) | |
| 32.2b | (*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (sin.f64 (*.f64 (sqrt.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re)))) (sqrt.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re))))))) | |
| 6.8b | (*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (sin.f64 (*.f64 (*.f64 (cbrt.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re)))) (cbrt.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re))))) (cbrt.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re))))))) | |
| 39.2b | (*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (sin.f64 (cbrt.f64 (*.f64 (*.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re))) (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re)))) (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (*.f64 y.re (atan2.f64 x.im x.re))))))) | |
| 25.0b | (*.f64 (/.f64 (pow.f64 (hypot.f64 x.re x.im) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))) (sin.f64 (fma.f64 (log.f64 (hypot.f64 x.re x.im)) y.im (cbrt.f64 (*.f64 (*.f64 (*.f64 y.re y.re) y.re) (*.f64 (*.f64 (atan2.f64 x.im x.re) (atan2.f64 x.im x.re)) (atan2.f64 x.im x.re))))))) |
Compiled 13157 to 3246 computations (75.3% saved)
Total 0.3b remaining (6%)
Threshold costs 0.3b (6%)
Compiled 18467 to 9245 computations (49.9% saved)
Compiled 41 to 19 computations (53.7% saved)
| 1× | egg-herbie |
| 9× | *-commutative_binary64 |
| 6× | +-commutative_binary64 |
| 4× | sub-neg_binary64 |
| 3× | neg-sub0_binary64 |
| 3× | neg-mul-1_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 32 | 159 |
| 1 | 45 | 159 |
| 2 | 54 | 159 |
| 3 | 60 | 159 |
| 4 | 64 | 159 |
| 5 | 65 | 159 |
| 6 | 65 | 159 |
Compiled 860 to 351 computations (59.2% saved)
Loading profile data...