Time bar (total: 3.3s)
| 1× | search |
| True | Other | False | Iter |
|---|---|---|---|
| 0% | 50% | 50% | 0 |
| 0% | 50% | 50% | 1 |
| 0% | 50% | 50% | 2 |
| 0% | 50% | 50% | 3 |
| 6.2% | 43.7% | 50% | 4 |
| 12.5% | 37.5% | 50% | 5 |
| 18.7% | 31.2% | 50% | 6 |
| 23.4% | 26.5% | 50% | 7 |
| 27.3% | 22.6% | 50% | 8 |
| 30% | 19.9% | 50% | 9 |
| 32.2% | 17.8% | 50% | 10 |
| 33.7% | 16.3% | 50% | 11 |
| 34.8% | 15.2% | 50% | 12 |
| 35.5% | 14.4% | 50% | 13 |
| 36.1% | 13.8% | 50% | 14 |
Compiled 20 to 14 computations (30% saved)
| 914.0ms | 6272× | body | 128 | valid |
| 367.0ms | 540× | body | 4096 | valid |
| 358.0ms | 641× | body | 2048 | valid |
| 252.0ms | 444× | body | 1024 | valid |
| 79.0ms | 240× | body | 512 | valid |
| 37.0ms | 119× | body | 256 | valid |
Compiled 40 to 28 computations (30% saved)
| 2× | egg-herbie |
| 316× | fma-def_binary64 |
| 164× | fma-neg_binary64 |
| 86× | distribute-rgt-in_binary64 |
| 48× | distribute-lft-in_binary64 |
| 48× | cancel-sign-sub-inv_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 19 | 30 |
| 1 | 33 | 30 |
| 2 | 51 | 30 |
| 3 | 88 | 30 |
| 4 | 135 | 30 |
| 5 | 185 | 30 |
| 6 | 305 | 30 |
| 7 | 478 | 30 |
| 8 | 682 | 30 |
| 9 | 833 | 30 |
| 10 | 1083 | 30 |
| 11 | 1243 | 30 |
| 12 | 1261 | 30 |
| 13 | 1265 | 30 |
| 0 | 2 | 2 |
| 1× | saturated |
| 1× | saturated |
| Inputs |
|---|
0 |
1 |
| Outputs |
|---|
0 |
1 |
| Inputs |
|---|
(*.f64 1/2 (sqrt.f64 (*.f64 2 (-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)))) |
(*.f64 1/2 (sqrt.f64 (*.f64 2 (-.f64 (sqrt.f64 (+.f64 (*.f64 im im) (*.f64 re re))) im)))) |
| Outputs |
|---|
(*.f64 1/2 (sqrt.f64 (*.f64 2 (-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)))) |
(*.f64 1/2 (sqrt.f64 (*.f64 2 (-.f64 (hypot.f64 re im) re)))) |
(*.f64 1/2 (sqrt.f64 (*.f64 2 (-.f64 (sqrt.f64 (+.f64 (*.f64 im im) (*.f64 re re))) im)))) |
(*.f64 1/2 (sqrt.f64 (*.f64 2 (-.f64 (hypot.f64 re im) im)))) |
Compiled 17 to 12 computations (29.4% saved)
| 1× | egg-herbie |
| 201× | fma-def_binary64 |
| 142× | fma-neg_binary64 |
| 51× | distribute-rgt-in_binary64 |
| 43× | cancel-sign-sub-inv_binary64 |
| 27× | sub-neg_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 13 | 15 |
| 1 | 20 | 15 |
| 2 | 33 | 15 |
| 3 | 53 | 15 |
| 4 | 80 | 15 |
| 5 | 109 | 15 |
| 6 | 180 | 15 |
| 7 | 286 | 15 |
| 8 | 410 | 15 |
| 9 | 493 | 15 |
| 10 | 610 | 15 |
| 11 | 682 | 15 |
| 12 | 705 | 15 |
| 13 | 744 | 15 |
| 14 | 793 | 15 |
| 15 | 856 | 15 |
| 16 | 892 | 15 |
| 17 | 901 | 15 |
| 1× | saturated |
| Inputs |
|---|
(*.f64 1/2 (sqrt.f64 (*.f64 2 (-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)))) |
| Outputs |
|---|
(*.f64 1/2 (sqrt.f64 (*.f64 2 (-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)))) |
(*.f64 1/2 (sqrt.f64 (*.f64 2 (-.f64 (hypot.f64 re im) re)))) |
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 |
|---|---|---|
| ▶ | 12.4b | (*.f64 1/2 (sqrt.f64 (*.f64 2 (-.f64 (hypot.f64 re im) re)))) |
Compiled 51 to 37 computations (27.5% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.5b | (-.f64 (hypot.f64 re im) re) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | re | @ | inf | (-.f64 (hypot.f64 re im) re) |
| 1.0ms | im | @ | 0 | (-.f64 (hypot.f64 re im) re) |
| 1.0ms | re | @ | 0 | (-.f64 (hypot.f64 re im) re) |
| 1.0ms | re | @ | -inf | (-.f64 (hypot.f64 re im) re) |
| 1.0ms | im | @ | inf | (-.f64 (hypot.f64 re im) re) |
| 1× | batch-egg-rewrite |
| 622× | pow1_binary64 |
| 578× | add-log-exp_binary64 |
| 578× | log1p-expm1-u_binary64 |
| 578× | expm1-log1p-u_binary64 |
| 61× | add-sqr-sqrt_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 7 |
| 1 | 111 | 7 |
| 2 | 1540 | 7 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 (hypot.f64 re im) re) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (hypot.f64 re im) (neg.f64 re))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (hypot.f64 re im) (*.f64 (neg.f64 re) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (hypot.f64 re im) re) (fma.f64 (neg.f64 re) 1 re))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (hypot.f64 re im) re) (fma.f64 (neg.f64 (cbrt.f64 re)) (cbrt.f64 (*.f64 re re)) re))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (hypot.f64 re im) re) (fma.f64 (neg.f64 (sqrt.f64 re)) (sqrt.f64 re) re))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (neg.f64 re) (hypot.f64 re im))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (hypot.f64 re im) re) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (-.f64 (hypot.f64 re im) re))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (-.f64 (hypot.f64 re im) re)) (cbrt.f64 (pow.f64 (-.f64 (hypot.f64 re im) re) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (-.f64 (hypot.f64 re im) re) 2)) (cbrt.f64 (-.f64 (hypot.f64 re im) re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (-.f64 (hypot.f64 re im) re)) (sqrt.f64 (-.f64 (hypot.f64 re im) re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (hypot.f64 re im) 3) (pow.f64 re 3)) (/.f64 1 (+.f64 (pow.f64 (hypot.f64 re im) 2) (*.f64 re (+.f64 re (hypot.f64 re im))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (hypot.f64 re im) 2) (*.f64 re re)) (/.f64 1 (+.f64 re (hypot.f64 re im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sqrt.f64 (hypot.f64 re im)) (sqrt.f64 re)) (-.f64 (sqrt.f64 (hypot.f64 re im)) (sqrt.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (hypot.f64 re im) 2) (*.f64 re (+.f64 re (hypot.f64 re im)))) (-.f64 (pow.f64 (hypot.f64 re im) 3) (pow.f64 re 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 re (hypot.f64 re im)) (-.f64 (pow.f64 (hypot.f64 re im) 2) (*.f64 re re))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (hypot.f64 re im) 3) (pow.f64 re 3)) (+.f64 (pow.f64 (hypot.f64 re im) 2) (*.f64 re (+.f64 re (hypot.f64 re im)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (hypot.f64 re im) 2) (*.f64 re re)) (+.f64 re (hypot.f64 re im)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (hypot.f64 re im) 3) (pow.f64 re 3))) (neg.f64 (+.f64 (pow.f64 (hypot.f64 re im) 2) (*.f64 re (+.f64 re (hypot.f64 re im))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (hypot.f64 re im) 2) (*.f64 re re))) (neg.f64 (+.f64 re (hypot.f64 re im))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (hypot.f64 re im) 3) (pow.f64 (neg.f64 re) 3)) (+.f64 (pow.f64 (hypot.f64 re im) 2) (-.f64 (*.f64 (neg.f64 re) (neg.f64 re)) (*.f64 (hypot.f64 re im) (neg.f64 re)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (hypot.f64 re im) 2) (*.f64 (neg.f64 re) (neg.f64 re))) (-.f64 (hypot.f64 re im) (neg.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (-.f64 (hypot.f64 re im) re) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (-.f64 (hypot.f64 re im) re) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (-.f64 (hypot.f64 re im) re)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (-.f64 (hypot.f64 re im) re)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (-.f64 (hypot.f64 re im) re) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (-.f64 (hypot.f64 re im) re)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (-.f64 (hypot.f64 re im) re))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (-.f64 (hypot.f64 re im) re) 3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (hypot.f64 re im) (neg.f64 re))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (hypot.f64 re im)) 2) (cbrt.f64 (hypot.f64 re im)) (neg.f64 re))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (hypot.f64 re im)) (sqrt.f64 (hypot.f64 re im)) (neg.f64 re))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (-.f64 (hypot.f64 re im) re)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (-.f64 (hypot.f64 re im) re)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (-.f64 (hypot.f64 re im) re))))))) |
| 1× | egg-herbie |
| 401× | associate-/l/_binary64 |
| 318× | fma-def_binary64 |
| 306× | associate-/r/_binary64 |
| 233× | times-frac_binary64 |
| 214× | unswap-sqr_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 84 | 509 |
| 1 | 250 | 495 |
| 2 | 734 | 488 |
| 3 | 2981 | 482 |
| 1× | node limit |
| Inputs |
|---|
im |
(+.f64 (*.f64 -1 re) im) |
(+.f64 (*.f64 -1 re) (+.f64 (*.f64 1/2 (/.f64 (pow.f64 re 2) im)) im)) |
(+.f64 (*.f64 -1 re) (+.f64 (*.f64 -1/8 (/.f64 (pow.f64 re 4) (pow.f64 im 3))) (+.f64 (*.f64 1/2 (/.f64 (pow.f64 re 2) im)) im))) |
(*.f64 1/2 (/.f64 (pow.f64 im 2) re)) |
(+.f64 (*.f64 1/2 (/.f64 (pow.f64 im 2) re)) (*.f64 -1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3)))) |
(+.f64 (*.f64 1/2 (/.f64 (pow.f64 im 2) re)) (+.f64 (*.f64 1/16 (/.f64 (pow.f64 im 6) (pow.f64 re 5))) (*.f64 -1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3))))) |
(+.f64 (*.f64 1/2 (/.f64 (pow.f64 im 2) re)) (+.f64 (*.f64 1/16 (/.f64 (pow.f64 im 6) (pow.f64 re 5))) (+.f64 (*.f64 -1/2 (/.f64 (+.f64 (pow.f64 (*.f64 -1/8 (pow.f64 im 4)) 2) (*.f64 1/16 (pow.f64 im 8))) (pow.f64 re 7))) (*.f64 -1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3)))))) |
(*.f64 -2 re) |
(+.f64 (*.f64 -1/2 (/.f64 (pow.f64 im 2) re)) (*.f64 -2 re)) |
(+.f64 (*.f64 1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3))) (+.f64 (*.f64 -1/2 (/.f64 (pow.f64 im 2) re)) (*.f64 -2 re))) |
(+.f64 (*.f64 1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3))) (+.f64 (*.f64 -1/16 (/.f64 (pow.f64 im 6) (pow.f64 re 5))) (+.f64 (*.f64 -1/2 (/.f64 (pow.f64 im 2) re)) (*.f64 -2 re)))) |
(*.f64 1/2 (/.f64 (pow.f64 im 2) re)) |
(+.f64 (*.f64 1/2 (/.f64 (pow.f64 im 2) re)) (*.f64 -1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3)))) |
(+.f64 (*.f64 1/2 (/.f64 (pow.f64 im 2) re)) (+.f64 (*.f64 1/16 (/.f64 (pow.f64 im 6) (pow.f64 re 5))) (*.f64 -1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3))))) |
(+.f64 (*.f64 1/2 (/.f64 (pow.f64 im 2) re)) (+.f64 (*.f64 -1/2 (/.f64 (*.f64 (+.f64 (pow.f64 (/.f64 -1/8 (pow.f64 re 3)) 2) (*.f64 1/16 (/.f64 1 (pow.f64 re 6)))) (pow.f64 im 8)) re)) (+.f64 (*.f64 1/16 (/.f64 (pow.f64 im 6) (pow.f64 re 5))) (*.f64 -1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3)))))) |
im |
(+.f64 (*.f64 -1 re) im) |
(+.f64 (*.f64 -1 re) (+.f64 (*.f64 1/2 (/.f64 (pow.f64 re 2) im)) im)) |
(+.f64 (*.f64 -1 re) (+.f64 (*.f64 -1/8 (/.f64 (pow.f64 re 4) (pow.f64 im 3))) (+.f64 (*.f64 1/2 (/.f64 (pow.f64 re 2) im)) im))) |
(*.f64 -1 im) |
(+.f64 (*.f64 -1 re) (*.f64 -1 im)) |
(+.f64 (*.f64 -1 re) (+.f64 (*.f64 -1/2 (/.f64 (pow.f64 re 2) im)) (*.f64 -1 im))) |
(+.f64 (*.f64 -1 re) (+.f64 (*.f64 1/8 (/.f64 (pow.f64 re 4) (pow.f64 im 3))) (+.f64 (*.f64 -1/2 (/.f64 (pow.f64 re 2) im)) (*.f64 -1 im)))) |
| Outputs |
|---|
im |
(+.f64 (*.f64 -1 re) im) |
(fma.f64 -1 re im) |
(-.f64 im re) |
(+.f64 (*.f64 -1 re) (+.f64 (*.f64 1/2 (/.f64 (pow.f64 re 2) im)) im)) |
(fma.f64 -1 re (fma.f64 1/2 (/.f64 (*.f64 re re) im) im)) |
(-.f64 (fma.f64 1/2 (/.f64 re (/.f64 im re)) im) re) |
(fma.f64 1/2 (*.f64 (/.f64 re im) re) (-.f64 im re)) |
(+.f64 (*.f64 -1 re) (+.f64 (*.f64 -1/8 (/.f64 (pow.f64 re 4) (pow.f64 im 3))) (+.f64 (*.f64 1/2 (/.f64 (pow.f64 re 2) im)) im))) |
(fma.f64 -1 re (fma.f64 -1/8 (/.f64 (pow.f64 re 4) (pow.f64 im 3)) (fma.f64 1/2 (/.f64 (*.f64 re re) im) im))) |
(-.f64 (fma.f64 -1/8 (/.f64 (pow.f64 re 4) (pow.f64 im 3)) (fma.f64 1/2 (/.f64 re (/.f64 im re)) im)) re) |
(fma.f64 -1/8 (/.f64 (pow.f64 re 4) (pow.f64 im 3)) (fma.f64 1/2 (*.f64 (/.f64 re im) re) (-.f64 im re))) |
(-.f64 (fma.f64 -1/8 (/.f64 (pow.f64 re 4) (pow.f64 im 3)) (fma.f64 1/2 (*.f64 (/.f64 re im) re) im)) re) |
(*.f64 1/2 (/.f64 (pow.f64 im 2) re)) |
(*.f64 1/2 (/.f64 (*.f64 im im) re)) |
(*.f64 1/2 (/.f64 im (/.f64 re im))) |
(*.f64 1/2 (*.f64 (/.f64 im re) im)) |
(+.f64 (*.f64 1/2 (/.f64 (pow.f64 im 2) re)) (*.f64 -1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3)))) |
(fma.f64 1/2 (/.f64 (*.f64 im im) re) (*.f64 -1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3)))) |
(fma.f64 1/2 (/.f64 im (/.f64 re im)) (*.f64 -1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3)))) |
(fma.f64 1/2 (*.f64 (/.f64 im re) im) (*.f64 -1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3)))) |
(+.f64 (*.f64 1/2 (/.f64 (pow.f64 im 2) re)) (+.f64 (*.f64 1/16 (/.f64 (pow.f64 im 6) (pow.f64 re 5))) (*.f64 -1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3))))) |
(fma.f64 1/2 (/.f64 (*.f64 im im) re) (fma.f64 1/16 (/.f64 (pow.f64 im 6) (pow.f64 re 5)) (*.f64 -1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3))))) |
(fma.f64 1/2 (/.f64 im (/.f64 re im)) (fma.f64 -1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3)) (*.f64 1/16 (/.f64 (pow.f64 im 6) (pow.f64 re 5))))) |
(fma.f64 1/2 (*.f64 (/.f64 im re) im) (fma.f64 -1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3)) (*.f64 1/16 (/.f64 (pow.f64 im 6) (pow.f64 re 5))))) |
(+.f64 (*.f64 1/2 (/.f64 (pow.f64 im 2) re)) (+.f64 (*.f64 1/16 (/.f64 (pow.f64 im 6) (pow.f64 re 5))) (+.f64 (*.f64 -1/2 (/.f64 (+.f64 (pow.f64 (*.f64 -1/8 (pow.f64 im 4)) 2) (*.f64 1/16 (pow.f64 im 8))) (pow.f64 re 7))) (*.f64 -1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3)))))) |
(fma.f64 1/2 (/.f64 (*.f64 im im) re) (fma.f64 1/16 (/.f64 (pow.f64 im 6) (pow.f64 re 5)) (fma.f64 -1/2 (/.f64 (+.f64 (pow.f64 (*.f64 -1/8 (pow.f64 im 4)) 2) (*.f64 1/16 (pow.f64 im 8))) (pow.f64 re 7)) (*.f64 -1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3)))))) |
(fma.f64 1/2 (/.f64 im (/.f64 re im)) (fma.f64 1/16 (/.f64 (pow.f64 im 6) (pow.f64 re 5)) (fma.f64 -1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3)) (*.f64 -1/2 (/.f64 (fma.f64 1/16 (pow.f64 im 8) (*.f64 (pow.f64 im 8) 1/64)) (pow.f64 re 7)))))) |
(fma.f64 1/2 (*.f64 (/.f64 im re) im) (fma.f64 -1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3)) (fma.f64 1/16 (/.f64 (pow.f64 im 6) (pow.f64 re 5)) (*.f64 (/.f64 -1/2 (pow.f64 re 7)) (*.f64 (pow.f64 im 8) 5/64))))) |
(fma.f64 1/2 (*.f64 (/.f64 im re) im) (fma.f64 -1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3)) (fma.f64 1/16 (/.f64 (pow.f64 im 6) (pow.f64 re 5)) (/.f64 (*.f64 (pow.f64 im 8) -5/128) (pow.f64 re 7))))) |
(*.f64 -2 re) |
(*.f64 re -2) |
(+.f64 (*.f64 -1/2 (/.f64 (pow.f64 im 2) re)) (*.f64 -2 re)) |
(fma.f64 -1/2 (/.f64 (*.f64 im im) re) (*.f64 re -2)) |
(fma.f64 re -2 (*.f64 (/.f64 im (/.f64 re im)) -1/2)) |
(fma.f64 re -2 (*.f64 (*.f64 (/.f64 im re) im) -1/2)) |
(+.f64 (*.f64 1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3))) (+.f64 (*.f64 -1/2 (/.f64 (pow.f64 im 2) re)) (*.f64 -2 re))) |
(fma.f64 1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3)) (fma.f64 -1/2 (/.f64 (*.f64 im im) re) (*.f64 re -2))) |
(fma.f64 (/.f64 (pow.f64 im 4) (pow.f64 re 3)) 1/8 (fma.f64 re -2 (*.f64 (/.f64 im (/.f64 re im)) -1/2))) |
(fma.f64 (*.f64 (/.f64 im re) im) -1/2 (fma.f64 re -2 (*.f64 (/.f64 (pow.f64 im 4) (pow.f64 re 3)) 1/8))) |
(+.f64 (*.f64 1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3))) (+.f64 (*.f64 -1/16 (/.f64 (pow.f64 im 6) (pow.f64 re 5))) (+.f64 (*.f64 -1/2 (/.f64 (pow.f64 im 2) re)) (*.f64 -2 re)))) |
(fma.f64 1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3)) (fma.f64 -1/16 (/.f64 (pow.f64 im 6) (pow.f64 re 5)) (fma.f64 -1/2 (/.f64 (*.f64 im im) re) (*.f64 re -2)))) |
(fma.f64 (/.f64 (pow.f64 im 4) (pow.f64 re 3)) 1/8 (fma.f64 (/.f64 (pow.f64 im 6) (pow.f64 re 5)) -1/16 (fma.f64 re -2 (*.f64 (/.f64 im (/.f64 re im)) -1/2)))) |
(fma.f64 (/.f64 (pow.f64 im 4) (pow.f64 re 3)) 1/8 (fma.f64 (*.f64 (/.f64 im re) im) -1/2 (fma.f64 (/.f64 (pow.f64 im 6) (pow.f64 re 5)) -1/16 (*.f64 re -2)))) |
(*.f64 1/2 (/.f64 (pow.f64 im 2) re)) |
(*.f64 1/2 (/.f64 (*.f64 im im) re)) |
(*.f64 1/2 (/.f64 im (/.f64 re im))) |
(*.f64 1/2 (*.f64 (/.f64 im re) im)) |
(+.f64 (*.f64 1/2 (/.f64 (pow.f64 im 2) re)) (*.f64 -1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3)))) |
(fma.f64 1/2 (/.f64 (*.f64 im im) re) (*.f64 -1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3)))) |
(fma.f64 1/2 (/.f64 im (/.f64 re im)) (*.f64 -1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3)))) |
(fma.f64 1/2 (*.f64 (/.f64 im re) im) (*.f64 -1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3)))) |
(+.f64 (*.f64 1/2 (/.f64 (pow.f64 im 2) re)) (+.f64 (*.f64 1/16 (/.f64 (pow.f64 im 6) (pow.f64 re 5))) (*.f64 -1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3))))) |
(fma.f64 1/2 (/.f64 (*.f64 im im) re) (fma.f64 1/16 (/.f64 (pow.f64 im 6) (pow.f64 re 5)) (*.f64 -1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3))))) |
(fma.f64 1/2 (/.f64 im (/.f64 re im)) (fma.f64 -1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3)) (*.f64 1/16 (/.f64 (pow.f64 im 6) (pow.f64 re 5))))) |
(fma.f64 1/2 (*.f64 (/.f64 im re) im) (fma.f64 -1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3)) (*.f64 1/16 (/.f64 (pow.f64 im 6) (pow.f64 re 5))))) |
(+.f64 (*.f64 1/2 (/.f64 (pow.f64 im 2) re)) (+.f64 (*.f64 -1/2 (/.f64 (*.f64 (+.f64 (pow.f64 (/.f64 -1/8 (pow.f64 re 3)) 2) (*.f64 1/16 (/.f64 1 (pow.f64 re 6)))) (pow.f64 im 8)) re)) (+.f64 (*.f64 1/16 (/.f64 (pow.f64 im 6) (pow.f64 re 5))) (*.f64 -1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3)))))) |
(fma.f64 1/2 (/.f64 (*.f64 im im) re) (fma.f64 -1/2 (/.f64 (+.f64 (pow.f64 (/.f64 -1/8 (pow.f64 re 3)) 2) (/.f64 1/16 (pow.f64 re 6))) (/.f64 re (pow.f64 im 8))) (fma.f64 1/16 (/.f64 (pow.f64 im 6) (pow.f64 re 5)) (*.f64 -1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3)))))) |
(fma.f64 1/2 (/.f64 im (/.f64 re im)) (fma.f64 -1/2 (/.f64 (pow.f64 im 8) (/.f64 re (+.f64 (pow.f64 (/.f64 -1/8 (pow.f64 re 3)) 2) (/.f64 1/16 (pow.f64 re 6))))) (fma.f64 -1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3)) (*.f64 1/16 (/.f64 (pow.f64 im 6) (pow.f64 re 5)))))) |
(fma.f64 -1/2 (*.f64 (pow.f64 im 8) (/.f64 (+.f64 (pow.f64 (/.f64 -1/8 (pow.f64 re 3)) 2) (/.f64 1/16 (pow.f64 re 6))) re)) (fma.f64 1/2 (*.f64 (/.f64 im re) im) (fma.f64 -1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3)) (*.f64 1/16 (/.f64 (pow.f64 im 6) (pow.f64 re 5)))))) |
(fma.f64 -1/2 (*.f64 (pow.f64 im 8) (/.f64 (+.f64 (/.f64 1/64 (pow.f64 re 6)) (/.f64 1/16 (pow.f64 re 6))) re)) (fma.f64 1/2 (*.f64 (/.f64 im re) im) (fma.f64 -1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3)) (*.f64 1/16 (/.f64 (pow.f64 im 6) (pow.f64 re 5)))))) |
im |
(+.f64 (*.f64 -1 re) im) |
(fma.f64 -1 re im) |
(-.f64 im re) |
(+.f64 (*.f64 -1 re) (+.f64 (*.f64 1/2 (/.f64 (pow.f64 re 2) im)) im)) |
(fma.f64 -1 re (fma.f64 1/2 (/.f64 (*.f64 re re) im) im)) |
(-.f64 (fma.f64 1/2 (/.f64 re (/.f64 im re)) im) re) |
(fma.f64 1/2 (*.f64 (/.f64 re im) re) (-.f64 im re)) |
(+.f64 (*.f64 -1 re) (+.f64 (*.f64 -1/8 (/.f64 (pow.f64 re 4) (pow.f64 im 3))) (+.f64 (*.f64 1/2 (/.f64 (pow.f64 re 2) im)) im))) |
(fma.f64 -1 re (fma.f64 -1/8 (/.f64 (pow.f64 re 4) (pow.f64 im 3)) (fma.f64 1/2 (/.f64 (*.f64 re re) im) im))) |
(-.f64 (fma.f64 -1/8 (/.f64 (pow.f64 re 4) (pow.f64 im 3)) (fma.f64 1/2 (/.f64 re (/.f64 im re)) im)) re) |
(fma.f64 -1/8 (/.f64 (pow.f64 re 4) (pow.f64 im 3)) (fma.f64 1/2 (*.f64 (/.f64 re im) re) (-.f64 im re))) |
(-.f64 (fma.f64 -1/8 (/.f64 (pow.f64 re 4) (pow.f64 im 3)) (fma.f64 1/2 (*.f64 (/.f64 re im) re) im)) re) |
(*.f64 -1 im) |
(neg.f64 im) |
(+.f64 (*.f64 -1 re) (*.f64 -1 im)) |
(*.f64 -1 (+.f64 re im)) |
(-.f64 (neg.f64 re) im) |
(+.f64 (*.f64 -1 re) (+.f64 (*.f64 -1/2 (/.f64 (pow.f64 re 2) im)) (*.f64 -1 im))) |
(fma.f64 -1 re (fma.f64 -1/2 (/.f64 (*.f64 re re) im) (neg.f64 im))) |
(-.f64 (-.f64 (*.f64 (/.f64 re (/.f64 im re)) -1/2) im) re) |
(-.f64 (*.f64 (*.f64 (/.f64 re im) re) -1/2) (+.f64 im re)) |
(+.f64 (*.f64 -1 re) (+.f64 (*.f64 1/8 (/.f64 (pow.f64 re 4) (pow.f64 im 3))) (+.f64 (*.f64 -1/2 (/.f64 (pow.f64 re 2) im)) (*.f64 -1 im)))) |
(fma.f64 -1 re (fma.f64 1/8 (/.f64 (pow.f64 re 4) (pow.f64 im 3)) (fma.f64 -1/2 (/.f64 (*.f64 re re) im) (neg.f64 im)))) |
(-.f64 (fma.f64 (/.f64 (pow.f64 re 4) (pow.f64 im 3)) 1/8 (-.f64 (*.f64 (/.f64 re (/.f64 im re)) -1/2) im)) re) |
(-.f64 (fma.f64 (*.f64 (/.f64 re im) re) -1/2 (*.f64 (/.f64 1/8 (pow.f64 im 3)) (pow.f64 re 4))) (+.f64 im re)) |
(-.f64 (fma.f64 (*.f64 (/.f64 re im) re) -1/2 (fma.f64 (/.f64 1/8 (pow.f64 im 3)) (pow.f64 re 4) (neg.f64 im))) re) |
4 alts after pruning (3 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 66 | 3 | 69 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 66 | 4 | 70 |
| Status | Error | Program |
|---|---|---|
| 54.0b | (*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 1/2 (*.f64 (/.f64 im re) im))))) | |
| 55.9b | (*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 1/2 (/.f64 (pow.f64 im 2) re))))) | |
| ▶ | 28.8b | (*.f64 1/2 (sqrt.f64 (*.f64 2 im))) |
| ✓ | 12.4b | (*.f64 1/2 (sqrt.f64 (*.f64 2 (-.f64 (hypot.f64 re im) re)))) |
Compiled 1451 to 956 computations (34.1% saved)
4 alts after pruning (2 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 0 | 0 |
| Fresh | 0 | 2 | 2 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 0 | 4 | 4 |
| Status | Error | Program |
|---|---|---|
| ▶ | 54.0b | (*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 1/2 (*.f64 (/.f64 im re) im))))) |
| 55.9b | (*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 1/2 (/.f64 (pow.f64 im 2) re))))) | |
| ✓ | 28.8b | (*.f64 1/2 (sqrt.f64 (*.f64 2 im))) |
| ✓ | 12.4b | (*.f64 1/2 (sqrt.f64 (*.f64 2 (-.f64 (hypot.f64 re im) re)))) |
Compiled 76 to 62 computations (18.4% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (*.f64 2 (*.f64 1/2 (*.f64 (/.f64 im re) im))) |
| ✓ | 0.1b | (*.f64 (/.f64 im re) im) |
| ✓ | 0.2b | (*.f64 1/2 (*.f64 (/.f64 im re) im)) |
| ✓ | 20.2b | (sqrt.f64 (*.f64 2 (*.f64 1/2 (*.f64 (/.f64 im re) im)))) |
24 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | im | @ | inf | (sqrt.f64 (*.f64 2 (*.f64 1/2 (*.f64 (/.f64 im re) im)))) |
| 2.0ms | re | @ | inf | (*.f64 1/2 (*.f64 (/.f64 im re) im)) |
| 1.0ms | im | @ | 0 | (sqrt.f64 (*.f64 2 (*.f64 1/2 (*.f64 (/.f64 im re) im)))) |
| 1.0ms | re | @ | 0 | (sqrt.f64 (*.f64 2 (*.f64 1/2 (*.f64 (/.f64 im re) im)))) |
| 1.0ms | re | @ | -inf | (sqrt.f64 (*.f64 2 (*.f64 1/2 (*.f64 (/.f64 im re) im)))) |
| 1× | batch-egg-rewrite |
| 848× | log1p-expm1-u_binary64 |
| 848× | expm1-log1p-u_binary64 |
| 92× | add-sqr-sqrt_binary64 |
| 88× | *-un-lft-identity_binary64 |
| 88× | pow1_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 33 |
| 1 | 213 | 30 |
| 2 | 2338 | 30 |
| 1× | node limit |
| Inputs |
|---|
(sqrt.f64 (*.f64 2 (*.f64 1/2 (*.f64 (/.f64 im re) im)))) |
(*.f64 1/2 (*.f64 (/.f64 im re) im)) |
(*.f64 (/.f64 im re) im) |
(*.f64 2 (*.f64 1/2 (*.f64 (/.f64 im re) im))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 im (sqrt.f64 re)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 im (sqrt.f64 re)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 im (sqrt.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 im (/.f64 im re))) (cbrt.f64 (/.f64 im (sqrt.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 im (sqrt.f64 re))) (cbrt.f64 (*.f64 im (/.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (/.f64 im (sqrt.f64 re)) (sqrt.f64 1/2)) (sqrt.f64 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 2) (*.f64 (/.f64 im (sqrt.f64 re)) (sqrt.f64 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 im re)) (sqrt.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 im (sqrt.f64 re))) (sqrt.f64 (/.f64 im (sqrt.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 im) (sqrt.f64 (/.f64 im re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (*.f64 im (/.f64 im re))) 2)) (sqrt.f64 (cbrt.f64 (*.f64 im (/.f64 im re)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/2) (/.f64 im (sqrt.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (*.f64 im (/.f64 im re))) 2) 1/2) (pow.f64 (cbrt.f64 (*.f64 im (/.f64 im re))) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 im (sqrt.f64 re))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 im (/.f64 im re)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 im (sqrt.f64 re)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 im (sqrt.f64 re)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 im (sqrt.f64 re))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 im (sqrt.f64 re))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (/.f64 im (sqrt.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 im (sqrt.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 im (sqrt.f64 re)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 im (sqrt.f64 re)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 im (sqrt.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 im (/.f64 im re))) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (/.f64 im (sqrt.f64 re))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 im (sqrt.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 im (sqrt.f64 re)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (/.f64 im re) (*.f64 im 1/2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 im im) 1/2) re)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 1/2 (*.f64 im im)) re)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (/.f64 im re) (*.f64 im 1/2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (/.f64 im re) (*.f64 im 1/2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (/.f64 im re) (*.f64 im 1/2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (/.f64 im (sqrt.f64 re)) (sqrt.f64 1/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (/.f64 im re) (*.f64 im 1/2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (pow.f64 (exp.f64 im) (/.f64 im re)) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (/.f64 im re) (*.f64 im 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (/.f64 im re) (*.f64 im 1/2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (/.f64 im re) (*.f64 im 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (/.f64 im re) (*.f64 im 1/2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (/.f64 im re) (*.f64 im 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (/.f64 im re) (*.f64 im 1/2)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 im (/.f64 im re)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 im (/.f64 re im))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 re (*.f64 im im)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 im im) re)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (*.f64 im im)) (neg.f64 re))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (neg.f64 im) im) (neg.f64 re))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 im (neg.f64 im)) (neg.f64 re))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 im im) 1) re)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 im im) (cbrt.f64 (*.f64 re re))) (cbrt.f64 re))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 im im) (sqrt.f64 re)) (sqrt.f64 re))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 im (/.f64 im re)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 im (sqrt.f64 re)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 im (/.f64 im re)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 im (/.f64 im re)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 im (/.f64 im re))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 im (/.f64 im re)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 im) (/.f64 im re)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 im (/.f64 im re)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 im (/.f64 im re)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 im 3) (pow.f64 (/.f64 im re) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (/.f64 im re) 3) (pow.f64 im 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 im (/.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 im (/.f64 im re))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 im (/.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 im (/.f64 im re)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 im (/.f64 im re)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 im (/.f64 re im))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 re (*.f64 im im)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 im im) re)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (*.f64 im im)) (neg.f64 re))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (neg.f64 im) im) (neg.f64 re))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 im (neg.f64 im)) (neg.f64 re))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 im im) 1) re)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 im im) (cbrt.f64 (*.f64 re re))) (cbrt.f64 re))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 im im) (sqrt.f64 re)) (sqrt.f64 re))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 im (/.f64 im re)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 im (sqrt.f64 re)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 im (/.f64 im re)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 im (/.f64 im re)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 im (/.f64 im re))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 im (/.f64 im re)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 im) (/.f64 im re)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 im (/.f64 im re)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 im (/.f64 im re)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 im 3) (pow.f64 (/.f64 im re) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (/.f64 im re) 3) (pow.f64 im 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 im (/.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 im (/.f64 im re))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 im (/.f64 im re))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 im (/.f64 im re)))))))) |
| 1× | egg-herbie |
| 651× | associate-*l/_binary64 |
| 553× | associate-*r/_binary64 |
| 360× | *-commutative_binary64 |
| 242× | unswap-sqr_binary64 |
| 219× | associate-/l*_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 14 | 692 |
| 1 | 28 | 692 |
| 2 | 52 | 692 |
| 3 | 102 | 692 |
| 4 | 262 | 692 |
| 5 | 858 | 692 |
| 6 | 2048 | 692 |
| 7 | 3186 | 692 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (sqrt.f64 (/.f64 1 re)) im) |
(*.f64 (sqrt.f64 (/.f64 1 re)) im) |
(*.f64 (sqrt.f64 (/.f64 1 re)) im) |
(*.f64 (sqrt.f64 (/.f64 1 re)) im) |
(*.f64 (sqrt.f64 (/.f64 1 re)) im) |
(*.f64 (sqrt.f64 (/.f64 1 re)) im) |
(*.f64 (sqrt.f64 (/.f64 1 re)) im) |
(*.f64 (sqrt.f64 (/.f64 1 re)) im) |
(*.f64 -1 (*.f64 (sqrt.f64 (/.f64 1 re)) im)) |
(*.f64 -1 (*.f64 (sqrt.f64 (/.f64 1 re)) im)) |
(*.f64 -1 (*.f64 (sqrt.f64 (/.f64 1 re)) im)) |
(*.f64 -1 (*.f64 (sqrt.f64 (/.f64 1 re)) im)) |
(*.f64 1/2 (/.f64 (pow.f64 im 2) re)) |
(*.f64 1/2 (/.f64 (pow.f64 im 2) re)) |
(*.f64 1/2 (/.f64 (pow.f64 im 2) re)) |
(*.f64 1/2 (/.f64 (pow.f64 im 2) re)) |
(*.f64 1/2 (/.f64 (pow.f64 im 2) re)) |
(*.f64 1/2 (/.f64 (pow.f64 im 2) re)) |
(*.f64 1/2 (/.f64 (pow.f64 im 2) re)) |
(*.f64 1/2 (/.f64 (pow.f64 im 2) re)) |
(*.f64 1/2 (/.f64 (pow.f64 im 2) re)) |
(*.f64 1/2 (/.f64 (pow.f64 im 2) re)) |
(*.f64 1/2 (/.f64 (pow.f64 im 2) re)) |
(*.f64 1/2 (/.f64 (pow.f64 im 2) re)) |
(*.f64 1/2 (/.f64 (pow.f64 im 2) re)) |
(*.f64 1/2 (/.f64 (pow.f64 im 2) re)) |
(*.f64 1/2 (/.f64 (pow.f64 im 2) re)) |
(*.f64 1/2 (/.f64 (pow.f64 im 2) re)) |
(*.f64 1/2 (/.f64 (pow.f64 im 2) re)) |
(*.f64 1/2 (/.f64 (pow.f64 im 2) re)) |
(*.f64 1/2 (/.f64 (pow.f64 im 2) re)) |
(*.f64 1/2 (/.f64 (pow.f64 im 2) re)) |
(*.f64 1/2 (/.f64 (pow.f64 im 2) re)) |
(*.f64 1/2 (/.f64 (pow.f64 im 2) re)) |
(*.f64 1/2 (/.f64 (pow.f64 im 2) re)) |
(*.f64 1/2 (/.f64 (pow.f64 im 2) re)) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (pow.f64 im 2) re) |
| Outputs |
|---|
(*.f64 (sqrt.f64 (/.f64 1 re)) im) |
(*.f64 (sqrt.f64 (/.f64 1 re)) im) |
(*.f64 (sqrt.f64 (/.f64 1 re)) im) |
(*.f64 (sqrt.f64 (/.f64 1 re)) im) |
(*.f64 (sqrt.f64 (/.f64 1 re)) im) |
(*.f64 (sqrt.f64 (/.f64 1 re)) im) |
(*.f64 (sqrt.f64 (/.f64 1 re)) im) |
(*.f64 (sqrt.f64 (/.f64 1 re)) im) |
(*.f64 -1 (*.f64 (sqrt.f64 (/.f64 1 re)) im)) |
(neg.f64 (*.f64 (sqrt.f64 (/.f64 1 re)) im)) |
(*.f64 (sqrt.f64 (/.f64 1 re)) (neg.f64 im)) |
(*.f64 -1 (*.f64 (sqrt.f64 (/.f64 1 re)) im)) |
(neg.f64 (*.f64 (sqrt.f64 (/.f64 1 re)) im)) |
(*.f64 (sqrt.f64 (/.f64 1 re)) (neg.f64 im)) |
(*.f64 -1 (*.f64 (sqrt.f64 (/.f64 1 re)) im)) |
(neg.f64 (*.f64 (sqrt.f64 (/.f64 1 re)) im)) |
(*.f64 (sqrt.f64 (/.f64 1 re)) (neg.f64 im)) |
(*.f64 -1 (*.f64 (sqrt.f64 (/.f64 1 re)) im)) |
(neg.f64 (*.f64 (sqrt.f64 (/.f64 1 re)) im)) |
(*.f64 (sqrt.f64 (/.f64 1 re)) (neg.f64 im)) |
(*.f64 1/2 (/.f64 (pow.f64 im 2) re)) |
(*.f64 1/2 (/.f64 (*.f64 im im) re)) |
(/.f64 1/2 (/.f64 re (*.f64 im im))) |
(*.f64 1/2 (*.f64 (/.f64 im re) im)) |
(*.f64 (/.f64 (*.f64 im 1/2) re) im) |
(*.f64 im (*.f64 1/2 (/.f64 im re))) |
(*.f64 1/2 (/.f64 im (/.f64 re im))) |
(*.f64 1/2 (/.f64 (pow.f64 im 2) re)) |
(*.f64 1/2 (/.f64 (*.f64 im im) re)) |
(/.f64 1/2 (/.f64 re (*.f64 im im))) |
(*.f64 1/2 (*.f64 (/.f64 im re) im)) |
(*.f64 (/.f64 (*.f64 im 1/2) re) im) |
(*.f64 im (*.f64 1/2 (/.f64 im re))) |
(*.f64 1/2 (/.f64 im (/.f64 re im))) |
(*.f64 1/2 (/.f64 (pow.f64 im 2) re)) |
(*.f64 1/2 (/.f64 (*.f64 im im) re)) |
(/.f64 1/2 (/.f64 re (*.f64 im im))) |
(*.f64 1/2 (*.f64 (/.f64 im re) im)) |
(*.f64 (/.f64 (*.f64 im 1/2) re) im) |
(*.f64 im (*.f64 1/2 (/.f64 im re))) |
(*.f64 1/2 (/.f64 im (/.f64 re im))) |
(*.f64 1/2 (/.f64 (pow.f64 im 2) re)) |
(*.f64 1/2 (/.f64 (*.f64 im im) re)) |
(/.f64 1/2 (/.f64 re (*.f64 im im))) |
(*.f64 1/2 (*.f64 (/.f64 im re) im)) |
(*.f64 (/.f64 (*.f64 im 1/2) re) im) |
(*.f64 im (*.f64 1/2 (/.f64 im re))) |
(*.f64 1/2 (/.f64 im (/.f64 re im))) |
(*.f64 1/2 (/.f64 (pow.f64 im 2) re)) |
(*.f64 1/2 (/.f64 (*.f64 im im) re)) |
(/.f64 1/2 (/.f64 re (*.f64 im im))) |
(*.f64 1/2 (*.f64 (/.f64 im re) im)) |
(*.f64 (/.f64 (*.f64 im 1/2) re) im) |
(*.f64 im (*.f64 1/2 (/.f64 im re))) |
(*.f64 1/2 (/.f64 im (/.f64 re im))) |
(*.f64 1/2 (/.f64 (pow.f64 im 2) re)) |
(*.f64 1/2 (/.f64 (*.f64 im im) re)) |
(/.f64 1/2 (/.f64 re (*.f64 im im))) |
(*.f64 1/2 (*.f64 (/.f64 im re) im)) |
(*.f64 (/.f64 (*.f64 im 1/2) re) im) |
(*.f64 im (*.f64 1/2 (/.f64 im re))) |
(*.f64 1/2 (/.f64 im (/.f64 re im))) |
(*.f64 1/2 (/.f64 (pow.f64 im 2) re)) |
(*.f64 1/2 (/.f64 (*.f64 im im) re)) |
(/.f64 1/2 (/.f64 re (*.f64 im im))) |
(*.f64 1/2 (*.f64 (/.f64 im re) im)) |
(*.f64 (/.f64 (*.f64 im 1/2) re) im) |
(*.f64 im (*.f64 1/2 (/.f64 im re))) |
(*.f64 1/2 (/.f64 im (/.f64 re im))) |
(*.f64 1/2 (/.f64 (pow.f64 im 2) re)) |
(*.f64 1/2 (/.f64 (*.f64 im im) re)) |
(/.f64 1/2 (/.f64 re (*.f64 im im))) |
(*.f64 1/2 (*.f64 (/.f64 im re) im)) |
(*.f64 (/.f64 (*.f64 im 1/2) re) im) |
(*.f64 im (*.f64 1/2 (/.f64 im re))) |
(*.f64 1/2 (/.f64 im (/.f64 re im))) |
(*.f64 1/2 (/.f64 (pow.f64 im 2) re)) |
(*.f64 1/2 (/.f64 (*.f64 im im) re)) |
(/.f64 1/2 (/.f64 re (*.f64 im im))) |
(*.f64 1/2 (*.f64 (/.f64 im re) im)) |
(*.f64 (/.f64 (*.f64 im 1/2) re) im) |
(*.f64 im (*.f64 1/2 (/.f64 im re))) |
(*.f64 1/2 (/.f64 im (/.f64 re im))) |
(*.f64 1/2 (/.f64 (pow.f64 im 2) re)) |
(*.f64 1/2 (/.f64 (*.f64 im im) re)) |
(/.f64 1/2 (/.f64 re (*.f64 im im))) |
(*.f64 1/2 (*.f64 (/.f64 im re) im)) |
(*.f64 (/.f64 (*.f64 im 1/2) re) im) |
(*.f64 im (*.f64 1/2 (/.f64 im re))) |
(*.f64 1/2 (/.f64 im (/.f64 re im))) |
(*.f64 1/2 (/.f64 (pow.f64 im 2) re)) |
(*.f64 1/2 (/.f64 (*.f64 im im) re)) |
(/.f64 1/2 (/.f64 re (*.f64 im im))) |
(*.f64 1/2 (*.f64 (/.f64 im re) im)) |
(*.f64 (/.f64 (*.f64 im 1/2) re) im) |
(*.f64 im (*.f64 1/2 (/.f64 im re))) |
(*.f64 1/2 (/.f64 im (/.f64 re im))) |
(*.f64 1/2 (/.f64 (pow.f64 im 2) re)) |
(*.f64 1/2 (/.f64 (*.f64 im im) re)) |
(/.f64 1/2 (/.f64 re (*.f64 im im))) |
(*.f64 1/2 (*.f64 (/.f64 im re) im)) |
(*.f64 (/.f64 (*.f64 im 1/2) re) im) |
(*.f64 im (*.f64 1/2 (/.f64 im re))) |
(*.f64 1/2 (/.f64 im (/.f64 re im))) |
(*.f64 1/2 (/.f64 (pow.f64 im 2) re)) |
(*.f64 1/2 (/.f64 (*.f64 im im) re)) |
(/.f64 1/2 (/.f64 re (*.f64 im im))) |
(*.f64 1/2 (*.f64 (/.f64 im re) im)) |
(*.f64 (/.f64 (*.f64 im 1/2) re) im) |
(*.f64 im (*.f64 1/2 (/.f64 im re))) |
(*.f64 1/2 (/.f64 im (/.f64 re im))) |
(*.f64 1/2 (/.f64 (pow.f64 im 2) re)) |
(*.f64 1/2 (/.f64 (*.f64 im im) re)) |
(/.f64 1/2 (/.f64 re (*.f64 im im))) |
(*.f64 1/2 (*.f64 (/.f64 im re) im)) |
(*.f64 (/.f64 (*.f64 im 1/2) re) im) |
(*.f64 im (*.f64 1/2 (/.f64 im re))) |
(*.f64 1/2 (/.f64 im (/.f64 re im))) |
(*.f64 1/2 (/.f64 (pow.f64 im 2) re)) |
(*.f64 1/2 (/.f64 (*.f64 im im) re)) |
(/.f64 1/2 (/.f64 re (*.f64 im im))) |
(*.f64 1/2 (*.f64 (/.f64 im re) im)) |
(*.f64 (/.f64 (*.f64 im 1/2) re) im) |
(*.f64 im (*.f64 1/2 (/.f64 im re))) |
(*.f64 1/2 (/.f64 im (/.f64 re im))) |
(*.f64 1/2 (/.f64 (pow.f64 im 2) re)) |
(*.f64 1/2 (/.f64 (*.f64 im im) re)) |
(/.f64 1/2 (/.f64 re (*.f64 im im))) |
(*.f64 1/2 (*.f64 (/.f64 im re) im)) |
(*.f64 (/.f64 (*.f64 im 1/2) re) im) |
(*.f64 im (*.f64 1/2 (/.f64 im re))) |
(*.f64 1/2 (/.f64 im (/.f64 re im))) |
(*.f64 1/2 (/.f64 (pow.f64 im 2) re)) |
(*.f64 1/2 (/.f64 (*.f64 im im) re)) |
(/.f64 1/2 (/.f64 re (*.f64 im im))) |
(*.f64 1/2 (*.f64 (/.f64 im re) im)) |
(*.f64 (/.f64 (*.f64 im 1/2) re) im) |
(*.f64 im (*.f64 1/2 (/.f64 im re))) |
(*.f64 1/2 (/.f64 im (/.f64 re im))) |
(*.f64 1/2 (/.f64 (pow.f64 im 2) re)) |
(*.f64 1/2 (/.f64 (*.f64 im im) re)) |
(/.f64 1/2 (/.f64 re (*.f64 im im))) |
(*.f64 1/2 (*.f64 (/.f64 im re) im)) |
(*.f64 (/.f64 (*.f64 im 1/2) re) im) |
(*.f64 im (*.f64 1/2 (/.f64 im re))) |
(*.f64 1/2 (/.f64 im (/.f64 re im))) |
(*.f64 1/2 (/.f64 (pow.f64 im 2) re)) |
(*.f64 1/2 (/.f64 (*.f64 im im) re)) |
(/.f64 1/2 (/.f64 re (*.f64 im im))) |
(*.f64 1/2 (*.f64 (/.f64 im re) im)) |
(*.f64 (/.f64 (*.f64 im 1/2) re) im) |
(*.f64 im (*.f64 1/2 (/.f64 im re))) |
(*.f64 1/2 (/.f64 im (/.f64 re im))) |
(*.f64 1/2 (/.f64 (pow.f64 im 2) re)) |
(*.f64 1/2 (/.f64 (*.f64 im im) re)) |
(/.f64 1/2 (/.f64 re (*.f64 im im))) |
(*.f64 1/2 (*.f64 (/.f64 im re) im)) |
(*.f64 (/.f64 (*.f64 im 1/2) re) im) |
(*.f64 im (*.f64 1/2 (/.f64 im re))) |
(*.f64 1/2 (/.f64 im (/.f64 re im))) |
(*.f64 1/2 (/.f64 (pow.f64 im 2) re)) |
(*.f64 1/2 (/.f64 (*.f64 im im) re)) |
(/.f64 1/2 (/.f64 re (*.f64 im im))) |
(*.f64 1/2 (*.f64 (/.f64 im re) im)) |
(*.f64 (/.f64 (*.f64 im 1/2) re) im) |
(*.f64 im (*.f64 1/2 (/.f64 im re))) |
(*.f64 1/2 (/.f64 im (/.f64 re im))) |
(*.f64 1/2 (/.f64 (pow.f64 im 2) re)) |
(*.f64 1/2 (/.f64 (*.f64 im im) re)) |
(/.f64 1/2 (/.f64 re (*.f64 im im))) |
(*.f64 1/2 (*.f64 (/.f64 im re) im)) |
(*.f64 (/.f64 (*.f64 im 1/2) re) im) |
(*.f64 im (*.f64 1/2 (/.f64 im re))) |
(*.f64 1/2 (/.f64 im (/.f64 re im))) |
(*.f64 1/2 (/.f64 (pow.f64 im 2) re)) |
(*.f64 1/2 (/.f64 (*.f64 im im) re)) |
(/.f64 1/2 (/.f64 re (*.f64 im im))) |
(*.f64 1/2 (*.f64 (/.f64 im re) im)) |
(*.f64 (/.f64 (*.f64 im 1/2) re) im) |
(*.f64 im (*.f64 1/2 (/.f64 im re))) |
(*.f64 1/2 (/.f64 im (/.f64 re im))) |
(*.f64 1/2 (/.f64 (pow.f64 im 2) re)) |
(*.f64 1/2 (/.f64 (*.f64 im im) re)) |
(/.f64 1/2 (/.f64 re (*.f64 im im))) |
(*.f64 1/2 (*.f64 (/.f64 im re) im)) |
(*.f64 (/.f64 (*.f64 im 1/2) re) im) |
(*.f64 im (*.f64 1/2 (/.f64 im re))) |
(*.f64 1/2 (/.f64 im (/.f64 re im))) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (*.f64 im im) re) |
(/.f64 im (/.f64 re im)) |
(*.f64 (/.f64 im re) im) |
(*.f64 im (/.f64 im re)) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (*.f64 im im) re) |
(/.f64 im (/.f64 re im)) |
(*.f64 (/.f64 im re) im) |
(*.f64 im (/.f64 im re)) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (*.f64 im im) re) |
(/.f64 im (/.f64 re im)) |
(*.f64 (/.f64 im re) im) |
(*.f64 im (/.f64 im re)) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (*.f64 im im) re) |
(/.f64 im (/.f64 re im)) |
(*.f64 (/.f64 im re) im) |
(*.f64 im (/.f64 im re)) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (*.f64 im im) re) |
(/.f64 im (/.f64 re im)) |
(*.f64 (/.f64 im re) im) |
(*.f64 im (/.f64 im re)) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (*.f64 im im) re) |
(/.f64 im (/.f64 re im)) |
(*.f64 (/.f64 im re) im) |
(*.f64 im (/.f64 im re)) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (*.f64 im im) re) |
(/.f64 im (/.f64 re im)) |
(*.f64 (/.f64 im re) im) |
(*.f64 im (/.f64 im re)) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (*.f64 im im) re) |
(/.f64 im (/.f64 re im)) |
(*.f64 (/.f64 im re) im) |
(*.f64 im (/.f64 im re)) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (*.f64 im im) re) |
(/.f64 im (/.f64 re im)) |
(*.f64 (/.f64 im re) im) |
(*.f64 im (/.f64 im re)) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (*.f64 im im) re) |
(/.f64 im (/.f64 re im)) |
(*.f64 (/.f64 im re) im) |
(*.f64 im (/.f64 im re)) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (*.f64 im im) re) |
(/.f64 im (/.f64 re im)) |
(*.f64 (/.f64 im re) im) |
(*.f64 im (/.f64 im re)) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (*.f64 im im) re) |
(/.f64 im (/.f64 re im)) |
(*.f64 (/.f64 im re) im) |
(*.f64 im (/.f64 im re)) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (*.f64 im im) re) |
(/.f64 im (/.f64 re im)) |
(*.f64 (/.f64 im re) im) |
(*.f64 im (/.f64 im re)) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (*.f64 im im) re) |
(/.f64 im (/.f64 re im)) |
(*.f64 (/.f64 im re) im) |
(*.f64 im (/.f64 im re)) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (*.f64 im im) re) |
(/.f64 im (/.f64 re im)) |
(*.f64 (/.f64 im re) im) |
(*.f64 im (/.f64 im re)) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (*.f64 im im) re) |
(/.f64 im (/.f64 re im)) |
(*.f64 (/.f64 im re) im) |
(*.f64 im (/.f64 im re)) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (*.f64 im im) re) |
(/.f64 im (/.f64 re im)) |
(*.f64 (/.f64 im re) im) |
(*.f64 im (/.f64 im re)) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (*.f64 im im) re) |
(/.f64 im (/.f64 re im)) |
(*.f64 (/.f64 im re) im) |
(*.f64 im (/.f64 im re)) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (*.f64 im im) re) |
(/.f64 im (/.f64 re im)) |
(*.f64 (/.f64 im re) im) |
(*.f64 im (/.f64 im re)) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (*.f64 im im) re) |
(/.f64 im (/.f64 re im)) |
(*.f64 (/.f64 im re) im) |
(*.f64 im (/.f64 im re)) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (*.f64 im im) re) |
(/.f64 im (/.f64 re im)) |
(*.f64 (/.f64 im re) im) |
(*.f64 im (/.f64 im re)) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (*.f64 im im) re) |
(/.f64 im (/.f64 re im)) |
(*.f64 (/.f64 im re) im) |
(*.f64 im (/.f64 im re)) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (*.f64 im im) re) |
(/.f64 im (/.f64 re im)) |
(*.f64 (/.f64 im re) im) |
(*.f64 im (/.f64 im re)) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (*.f64 im im) re) |
(/.f64 im (/.f64 re im)) |
(*.f64 (/.f64 im re) im) |
(*.f64 im (/.f64 im re)) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (*.f64 im im) re) |
(/.f64 im (/.f64 re im)) |
(*.f64 (/.f64 im re) im) |
(*.f64 im (/.f64 im re)) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (*.f64 im im) re) |
(/.f64 im (/.f64 re im)) |
(*.f64 (/.f64 im re) im) |
(*.f64 im (/.f64 im re)) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (*.f64 im im) re) |
(/.f64 im (/.f64 re im)) |
(*.f64 (/.f64 im re) im) |
(*.f64 im (/.f64 im re)) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (*.f64 im im) re) |
(/.f64 im (/.f64 re im)) |
(*.f64 (/.f64 im re) im) |
(*.f64 im (/.f64 im re)) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (*.f64 im im) re) |
(/.f64 im (/.f64 re im)) |
(*.f64 (/.f64 im re) im) |
(*.f64 im (/.f64 im re)) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (*.f64 im im) re) |
(/.f64 im (/.f64 re im)) |
(*.f64 (/.f64 im re) im) |
(*.f64 im (/.f64 im re)) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (*.f64 im im) re) |
(/.f64 im (/.f64 re im)) |
(*.f64 (/.f64 im re) im) |
(*.f64 im (/.f64 im re)) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (*.f64 im im) re) |
(/.f64 im (/.f64 re im)) |
(*.f64 (/.f64 im re) im) |
(*.f64 im (/.f64 im re)) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (*.f64 im im) re) |
(/.f64 im (/.f64 re im)) |
(*.f64 (/.f64 im re) im) |
(*.f64 im (/.f64 im re)) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (*.f64 im im) re) |
(/.f64 im (/.f64 re im)) |
(*.f64 (/.f64 im re) im) |
(*.f64 im (/.f64 im re)) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (*.f64 im im) re) |
(/.f64 im (/.f64 re im)) |
(*.f64 (/.f64 im re) im) |
(*.f64 im (/.f64 im re)) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (*.f64 im im) re) |
(/.f64 im (/.f64 re im)) |
(*.f64 (/.f64 im re) im) |
(*.f64 im (/.f64 im re)) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (*.f64 im im) re) |
(/.f64 im (/.f64 re im)) |
(*.f64 (/.f64 im re) im) |
(*.f64 im (/.f64 im re)) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (*.f64 im im) re) |
(/.f64 im (/.f64 re im)) |
(*.f64 (/.f64 im re) im) |
(*.f64 im (/.f64 im re)) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (*.f64 im im) re) |
(/.f64 im (/.f64 re im)) |
(*.f64 (/.f64 im re) im) |
(*.f64 im (/.f64 im re)) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (*.f64 im im) re) |
(/.f64 im (/.f64 re im)) |
(*.f64 (/.f64 im re) im) |
(*.f64 im (/.f64 im re)) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (*.f64 im im) re) |
(/.f64 im (/.f64 re im)) |
(*.f64 (/.f64 im re) im) |
(*.f64 im (/.f64 im re)) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (*.f64 im im) re) |
(/.f64 im (/.f64 re im)) |
(*.f64 (/.f64 im re) im) |
(*.f64 im (/.f64 im re)) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (*.f64 im im) re) |
(/.f64 im (/.f64 re im)) |
(*.f64 (/.f64 im re) im) |
(*.f64 im (/.f64 im re)) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (*.f64 im im) re) |
(/.f64 im (/.f64 re im)) |
(*.f64 (/.f64 im re) im) |
(*.f64 im (/.f64 im re)) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (*.f64 im im) re) |
(/.f64 im (/.f64 re im)) |
(*.f64 (/.f64 im re) im) |
(*.f64 im (/.f64 im re)) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (*.f64 im im) re) |
(/.f64 im (/.f64 re im)) |
(*.f64 (/.f64 im re) im) |
(*.f64 im (/.f64 im re)) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (*.f64 im im) re) |
(/.f64 im (/.f64 re im)) |
(*.f64 (/.f64 im re) im) |
(*.f64 im (/.f64 im re)) |
(/.f64 (pow.f64 im 2) re) |
(/.f64 (*.f64 im im) re) |
(/.f64 im (/.f64 re im)) |
(*.f64 (/.f64 im re) im) |
(*.f64 im (/.f64 im re)) |
5 alts after pruning (4 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 71 | 4 | 75 |
| Fresh | 1 | 0 | 1 |
| Picked | 1 | 0 | 1 |
| Done | 1 | 1 | 2 |
| Total | 74 | 5 | 79 |
| Status | Error | Program |
|---|---|---|
| 56.0b | (*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 1/2 (/.f64 1 (/.f64 re (*.f64 im im))))))) | |
| ▶ | 47.8b | (*.f64 1/2 (/.f64 im (sqrt.f64 re))) |
| 49.4b | (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 im re)) (sqrt.f64 im))) | |
| ✓ | 12.4b | (*.f64 1/2 (sqrt.f64 (*.f64 2 (-.f64 (hypot.f64 re im) re)))) |
| 47.8b | (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 re)) im)) |
Compiled 1055 to 678 computations (35.7% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (/.f64 im (sqrt.f64 re)) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | re | @ | -inf | (/.f64 im (sqrt.f64 re)) |
| 1.0ms | im | @ | -inf | (/.f64 im (sqrt.f64 re)) |
| 0.0ms | im | @ | 0 | (/.f64 im (sqrt.f64 re)) |
| 0.0ms | re | @ | 0 | (/.f64 im (sqrt.f64 re)) |
| 0.0ms | re | @ | inf | (/.f64 im (sqrt.f64 re)) |
| 1× | batch-egg-rewrite |
| 533× | pow1_binary64 |
| 496× | add-log-exp_binary64 |
| 496× | log1p-expm1-u_binary64 |
| 496× | expm1-log1p-u_binary64 |
| 483× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 6 |
| 1 | 104 | 6 |
| 2 | 1347 | 6 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 im (sqrt.f64 re)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 im (sqrt.f64 re))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 im (pow.f64 re -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 im (sqrt.f64 re)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 im (sqrt.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 im (sqrt.f64 re))) (cbrt.f64 (/.f64 (*.f64 im im) re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 (*.f64 im im) re)) (cbrt.f64 (/.f64 im (sqrt.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 im im)) (*.f64 (cbrt.f64 im) (pow.f64 re -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 im (sqrt.f64 re))) (sqrt.f64 (/.f64 im (sqrt.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 im) (*.f64 (sqrt.f64 im) (pow.f64 re -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 im) (/.f64 1 (neg.f64 (sqrt.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 re -1/2) im)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (*.f64 im im)) 1) (/.f64 (cbrt.f64 im) (sqrt.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 im) 1) (/.f64 (sqrt.f64 im) (sqrt.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cbrt.f64 re)) (/.f64 im (cbrt.f64 (sqrt.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (*.f64 im im)) (cbrt.f64 re)) (cbrt.f64 (/.f64 im (sqrt.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 im) (cbrt.f64 re)) (/.f64 (sqrt.f64 im) (cbrt.f64 (sqrt.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (pow.f64 re 1/4)) (/.f64 im (pow.f64 re 1/4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (*.f64 im im)) (pow.f64 re 1/4)) (/.f64 (cbrt.f64 im) (pow.f64 re 1/4)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 im (sqrt.f64 re)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 im (sqrt.f64 re)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 im (sqrt.f64 re))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 im (sqrt.f64 re))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (sqrt.f64 re) im) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 im (neg.f64 (sqrt.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (/.f64 (*.f64 im im) re))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 im (sqrt.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 im (sqrt.f64 re)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 im 3) (pow.f64 re 3/2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 im (sqrt.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 im (sqrt.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 im (sqrt.f64 re)))))))) |
| 1× | egg-herbie |
| 1× | *-commutative_binary64 |
| 1× | 1-exp_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 108 |
| 1 | 10 | 108 |
| 1× | saturated |
| Inputs |
|---|
(*.f64 (sqrt.f64 (/.f64 1 re)) im) |
(*.f64 (sqrt.f64 (/.f64 1 re)) im) |
(*.f64 (sqrt.f64 (/.f64 1 re)) im) |
(*.f64 (sqrt.f64 (/.f64 1 re)) im) |
(*.f64 (sqrt.f64 (/.f64 1 re)) im) |
(*.f64 (sqrt.f64 (/.f64 1 re)) im) |
(*.f64 (sqrt.f64 (/.f64 1 re)) im) |
(*.f64 (sqrt.f64 (/.f64 1 re)) im) |
(*.f64 (sqrt.f64 (/.f64 1 re)) im) |
(*.f64 (sqrt.f64 (/.f64 1 re)) im) |
(*.f64 (sqrt.f64 (/.f64 1 re)) im) |
(*.f64 (sqrt.f64 (/.f64 1 re)) im) |
| Outputs |
|---|
(*.f64 (sqrt.f64 (/.f64 1 re)) im) |
(*.f64 (sqrt.f64 (/.f64 1 re)) im) |
(*.f64 (sqrt.f64 (/.f64 1 re)) im) |
(*.f64 (sqrt.f64 (/.f64 1 re)) im) |
(*.f64 (sqrt.f64 (/.f64 1 re)) im) |
(*.f64 (sqrt.f64 (/.f64 1 re)) im) |
(*.f64 (sqrt.f64 (/.f64 1 re)) im) |
(*.f64 (sqrt.f64 (/.f64 1 re)) im) |
(*.f64 (sqrt.f64 (/.f64 1 re)) im) |
(*.f64 (sqrt.f64 (/.f64 1 re)) im) |
(*.f64 (sqrt.f64 (/.f64 1 re)) im) |
(*.f64 (sqrt.f64 (/.f64 1 re)) im) |
5 alts after pruning (3 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 30 | 2 | 32 |
| Fresh | 2 | 1 | 3 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 32 | 5 | 37 |
| Status | Error | Program |
|---|---|---|
| 56.0b | (*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 1/2 (/.f64 1 (/.f64 re (*.f64 im im))))))) | |
| ✓ | 47.8b | (*.f64 1/2 (/.f64 im (sqrt.f64 re))) |
| ✓ | 12.4b | (*.f64 1/2 (sqrt.f64 (*.f64 2 (-.f64 (hypot.f64 re im) re)))) |
| 48.1b | (*.f64 1/2 (pow.f64 (/.f64 (sqrt.f64 re) im) -1)) | |
| 47.8b | (*.f64 1/2 (*.f64 im (pow.f64 re -1/2))) |
Compiled 388 to 220 computations (43.3% saved)
Total 6.1b remaining (97.6%)
Threshold costs 0b (0%)
Compiled 307 to 205 computations (33.2% saved)
| 1× | left-value |
1 calls:
| 0.0ms | (-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re) |
| Iters | Point | Range | ||||
|---|---|---|---|---|---|---|
0.0 | ∈ [ | 0.0 | , | 1.9175533496523124e-292 | ] | |
Compiled 12 to 7 computations (41.7% saved)
| 1× | egg-herbie |
| 5× | *-commutative_binary64 |
| 4× | +-commutative_binary64 |
| 3× | sub-neg_binary64 |
| 1× | neg-sub0_binary64 |
| 1× | neg-mul-1_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 23 | 45 |
| 1 | 31 | 45 |
| 2 | 36 | 45 |
| 3 | 38 | 45 |
| 4 | 39 | 45 |
| 1× | saturated |
| Inputs |
|---|
(if (<=.f64 (-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re) 0) (*.f64 1/2 (*.f64 im (pow.f64 re -1/2))) (*.f64 1/2 (sqrt.f64 (*.f64 2 (-.f64 (hypot.f64 re im) re))))) |
| Outputs |
|---|
(if (<=.f64 (-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re) 0) (*.f64 1/2 (*.f64 im (pow.f64 re -1/2))) (*.f64 1/2 (sqrt.f64 (*.f64 2 (-.f64 (hypot.f64 re im) re))))) |
| 1× | fuel |
Compiled 119 to 87 computations (26.9% saved)
Loading profile data...