Time bar (total: 2.5s)
| 1× | search |
| True | Other | False | Iter |
|---|---|---|---|
| 0% | 99.9% | 0.1% | 0 |
| 0% | 99.9% | 0.1% | 1 |
| 50% | 50% | 0.1% | 2 |
| 50% | 50% | 0.1% | 3 |
| 50% | 50% | 0.1% | 4 |
| 62.4% | 37.5% | 0.1% | 5 |
| 62.4% | 37.5% | 0.1% | 6 |
| 65.6% | 31.2% | 3.2% | 7 |
| 70.2% | 23.4% | 6.3% | 8 |
| 72.6% | 18% | 9.5% | 9 |
| 73.4% | 12.5% | 14.1% | 10 |
| 74.3% | 9.8% | 15.9% | 11 |
| 75.8% | 6.5% | 17.7% | 12 |
| 76.3% | 5% | 18.6% | 13 |
| 76.6% | 3.3% | 20.1% | 14 |
Compiled 22 to 12 computations (45.5% saved)
| 875.0ms | 8256× | body | 128 | valid |
| 423.0ms | 3766× | body | 128 | invalid |
Compiled 44 to 24 computations (45.5% saved)
| 2× | egg-herbie |
| 375× | fma-neg_binary64 |
| 355× | unsub-neg_binary64 |
| 328× | distribute-rgt-in_binary64 |
| 325× | distribute-neg-in_binary64 |
| 293× | sub-neg_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 17 | 52 |
| 1 | 58 | 50 |
| 2 | 140 | 46 |
| 3 | 427 | 32 |
| 4 | 1255 | 32 |
| 5 | 3995 | 32 |
| 0 | 2 | 2 |
| 1× | saturated |
| 1× | node limit |
| Inputs |
|---|
0 |
1 |
| Outputs |
|---|
0 |
1 |
| Inputs |
|---|
(-.f64 (*.f64 (-.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)) x.re) (*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.im)) |
(-.f64 (*.f64 (-.f64 (*.f64 x.im x.im) (*.f64 x.re x.re)) x.im) (*.f64 (+.f64 (*.f64 x.im x.re) (*.f64 x.re x.im)) x.re)) |
| Outputs |
|---|
(-.f64 (*.f64 (-.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)) x.re) (*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.im)) |
(-.f64 (*.f64 x.re (-.f64 (*.f64 x.re x.re) (*.f64 x.im x.im))) (*.f64 x.im (fma.f64 x.re x.im (*.f64 x.re x.im)))) |
(-.f64 (*.f64 x.re (-.f64 (*.f64 x.re x.re) (*.f64 x.im x.im))) (*.f64 x.im (*.f64 x.re (+.f64 x.im x.im)))) |
(fma.f64 x.re (-.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)) (*.f64 x.im (*.f64 -2 (*.f64 x.re x.im)))) |
(+.f64 (pow.f64 x.re 3) (*.f64 (*.f64 x.re (*.f64 x.im x.im)) -3)) |
(+.f64 (pow.f64 x.re 3) (*.f64 x.im (*.f64 x.re (*.f64 x.im -3)))) |
(-.f64 (*.f64 (-.f64 (*.f64 x.im x.im) (*.f64 x.re x.re)) x.im) (*.f64 (+.f64 (*.f64 x.im x.re) (*.f64 x.re x.im)) x.re)) |
(-.f64 (*.f64 x.im (-.f64 (*.f64 x.im x.im) (*.f64 x.re x.re))) (*.f64 x.re (fma.f64 x.re x.im (*.f64 x.re x.im)))) |
(fma.f64 x.im (-.f64 (*.f64 x.im x.im) (*.f64 x.re x.re)) (*.f64 x.re (neg.f64 (*.f64 x.re (+.f64 x.im x.im))))) |
(fma.f64 x.im (-.f64 (*.f64 x.im x.im) (*.f64 x.re x.re)) (*.f64 x.re (*.f64 -2 (*.f64 x.re x.im)))) |
(+.f64 (pow.f64 x.im 3) (*.f64 (*.f64 (*.f64 x.re x.re) x.im) -3)) |
(+.f64 (pow.f64 x.im 3) (*.f64 (*.f64 x.re x.re) (*.f64 x.im -3))) |
Compiled 21 to 11 computations (47.6% saved)
| 1× | egg-herbie |
| 594× | fma-neg_binary64 |
| 507× | fma-def_binary64 |
| 396× | cancel-sign-sub-inv_binary64 |
| 243× | associate--l+_binary64 |
| 211× | distribute-neg-in_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 26 |
| 1 | 31 | 25 |
| 2 | 78 | 23 |
| 3 | 241 | 16 |
| 4 | 745 | 14 |
| 5 | 2583 | 14 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 (*.f64 (-.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)) x.re) (*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.im)) |
| Outputs |
|---|
(-.f64 (*.f64 (-.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)) x.re) (*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.im)) |
(-.f64 (*.f64 x.re (-.f64 (*.f64 x.re x.re) (*.f64 x.im x.im))) (*.f64 x.im (fma.f64 x.re x.im (*.f64 x.re x.im)))) |
(-.f64 (*.f64 x.re (-.f64 (*.f64 x.re x.re) (*.f64 x.im x.im))) (*.f64 x.im (*.f64 x.re (+.f64 x.im x.im)))) |
(fma.f64 x.re (-.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)) (*.f64 x.im (*.f64 -2 (*.f64 x.re x.im)))) |
(+.f64 (pow.f64 x.re 3) (*.f64 (*.f64 x.re (*.f64 x.im x.im)) -3)) |
(fma.f64 x.re (*.f64 x.im (*.f64 x.im -3)) (pow.f64 x.re 3)) |
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 |
|---|---|---|
| 7.7b | (-.f64 (*.f64 (-.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)) x.re) (*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.im)) | |
| ▶ | 7.6b | (fma.f64 x.re (*.f64 x.im (*.f64 x.im -3)) (pow.f64 x.re 3)) |
Compiled 97 to 55 computations (43.3% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (*.f64 x.im (*.f64 x.im -3)) |
| ✓ | 7.1b | (fma.f64 x.re (*.f64 x.im (*.f64 x.im -3)) (pow.f64 x.re 3)) |
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x.re | @ | -inf | (fma.f64 x.re (*.f64 x.im (*.f64 x.im -3)) (pow.f64 x.re 3)) |
| 2.0ms | x.re | @ | inf | (fma.f64 x.re (*.f64 x.im (*.f64 x.im -3)) (pow.f64 x.re 3)) |
| 2.0ms | x.re | @ | 0 | (fma.f64 x.re (*.f64 x.im (*.f64 x.im -3)) (pow.f64 x.re 3)) |
| 2.0ms | x.im | @ | inf | (fma.f64 x.re (*.f64 x.im (*.f64 x.im -3)) (pow.f64 x.re 3)) |
| 2.0ms | x.im | @ | -inf | (fma.f64 x.re (*.f64 x.im (*.f64 x.im -3)) (pow.f64 x.re 3)) |
| 1× | batch-egg-rewrite |
| 805× | pow1_binary64 |
| 747× | log1p-expm1-u_binary64 |
| 747× | expm1-log1p-u_binary64 |
| 89× | add-sqr-sqrt_binary64 |
| 83× | *-un-lft-identity_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 21 |
| 1 | 189 | 21 |
| 2 | 2068 | 21 |
| 1× | node limit |
| Inputs |
|---|
(fma.f64 x.re (*.f64 x.im (*.f64 x.im -3)) (pow.f64 x.re 3)) |
(*.f64 x.im (*.f64 x.im -3)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 x.re 3) (*.f64 x.re (*.f64 -3 (*.f64 x.im x.im))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x.re (*.f64 -3 (*.f64 x.im x.im))) (pow.f64 x.re 3))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x.re (*.f64 -3 (*.f64 x.im x.im))) 1) (pow.f64 x.re 3))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 x.re (*.f64 -3 (*.f64 x.im x.im)) (pow.f64 x.re 3)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x.re (+.f64 (*.f64 -3 (*.f64 x.im x.im)) (*.f64 x.re x.re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x.re (*.f64 -3 (*.f64 x.im x.im)) (pow.f64 x.re 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x.re (*.f64 -3 (*.f64 x.im x.im)) (pow.f64 x.re 3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x.re (*.f64 -3 (*.f64 x.im x.im)) (pow.f64 x.re 3))) (pow.f64 (cbrt.f64 (fma.f64 x.re (*.f64 -3 (*.f64 x.im x.im)) (pow.f64 x.re 3))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x.re (*.f64 -3 (*.f64 x.im x.im)) (pow.f64 x.re 3))) 2) (cbrt.f64 (fma.f64 x.re (*.f64 -3 (*.f64 x.im x.im)) (pow.f64 x.re 3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 x.re (*.f64 -3 (*.f64 x.im x.im)) (pow.f64 x.re 3))) (sqrt.f64 (fma.f64 x.re (*.f64 -3 (*.f64 x.im x.im)) (pow.f64 x.re 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x.re (*.f64 -3 (*.f64 x.im x.im))) 3) (pow.f64 (pow.f64 x.re 3) 3)) (+.f64 (*.f64 (*.f64 x.re (*.f64 -3 (*.f64 x.im x.im))) (*.f64 x.re (*.f64 -3 (*.f64 x.im x.im)))) (-.f64 (pow.f64 x.re 6) (*.f64 (*.f64 x.re (*.f64 -3 (*.f64 x.im x.im))) (pow.f64 x.re 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 x.re (*.f64 -3 (*.f64 x.im x.im))) (*.f64 x.re (*.f64 -3 (*.f64 x.im x.im)))) (pow.f64 x.re 6)) (-.f64 (*.f64 x.re (*.f64 -3 (*.f64 x.im x.im))) (pow.f64 x.re 3)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x.re (*.f64 -3 (*.f64 x.im x.im)) (pow.f64 x.re 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x.re (*.f64 -3 (*.f64 x.im x.im)) (pow.f64 x.re 3)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 x.re (*.f64 -3 (*.f64 x.im x.im)) (pow.f64 x.re 3))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 x.re (*.f64 -3 (*.f64 x.im x.im)) (pow.f64 x.re 3))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x.re (*.f64 -3 (*.f64 x.im x.im)) (pow.f64 x.re 3)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x.re (*.f64 -3 (*.f64 x.im x.im)) (pow.f64 x.re 3))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 x.re (*.f64 -3 (*.f64 x.im x.im)) (pow.f64 x.re 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x.re (*.f64 -3 (*.f64 x.im x.im)) (pow.f64 x.re 3)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x.re (*.f64 -3 (*.f64 x.im x.im)) (pow.f64 x.re 3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 x.re (*.f64 -3 (*.f64 x.im x.im)) (pow.f64 x.re 3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 x.re (*.f64 -3 (*.f64 x.im x.im)) (pow.f64 x.re 3))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x.re (*.f64 -3 (*.f64 x.im x.im)) (pow.f64 x.re 3)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 -3 (*.f64 x.im x.im)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 -3 (*.f64 x.im x.im)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 -3 (*.f64 x.im x.im)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 -3 (*.f64 x.im x.im))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x.im (sqrt.f64 -3)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 -3 (*.f64 x.im x.im)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x.im) (*.f64 x.im -3)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 -3 (*.f64 x.im x.im)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 -3 (*.f64 x.im x.im)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x.im 3) (pow.f64 (*.f64 x.im -3) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 x.im -3) 3) (pow.f64 x.im 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 -3 (*.f64 x.im x.im))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 -3 (*.f64 x.im x.im))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 -3 (*.f64 x.im x.im))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 -3 (*.f64 x.im x.im)))))))) |
| 1× | egg-herbie |
| 984× | fma-def_binary64 |
| 593× | unswap-sqr_binary64 |
| 342× | fma-neg_binary64 |
| 255× | distribute-rgt-neg-in_binary64 |
| 232× | distribute-lft-neg-in_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 13 | 414 |
| 1 | 37 | 414 |
| 2 | 92 | 378 |
| 3 | 251 | 378 |
| 4 | 757 | 378 |
| 5 | 1495 | 378 |
| 6 | 2222 | 378 |
| 7 | 3499 | 378 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 -3 (*.f64 x.re (pow.f64 x.im 2))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(pow.f64 x.re 3) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(pow.f64 x.re 3) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(pow.f64 x.re 3) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(*.f64 -3 (*.f64 x.re (pow.f64 x.im 2))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(*.f64 -3 (*.f64 x.re (pow.f64 x.im 2))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(*.f64 -3 (pow.f64 x.im 2)) |
(*.f64 -3 (pow.f64 x.im 2)) |
(*.f64 -3 (pow.f64 x.im 2)) |
(*.f64 -3 (pow.f64 x.im 2)) |
(*.f64 -3 (pow.f64 x.im 2)) |
(*.f64 -3 (pow.f64 x.im 2)) |
(*.f64 -3 (pow.f64 x.im 2)) |
(*.f64 -3 (pow.f64 x.im 2)) |
(*.f64 -3 (pow.f64 x.im 2)) |
(*.f64 -3 (pow.f64 x.im 2)) |
(*.f64 -3 (pow.f64 x.im 2)) |
(*.f64 -3 (pow.f64 x.im 2)) |
| Outputs |
|---|
(*.f64 -3 (*.f64 x.re (pow.f64 x.im 2))) |
(*.f64 (*.f64 -3 x.re) (*.f64 x.im x.im)) |
(*.f64 -3 (*.f64 x.re (*.f64 x.im x.im))) |
(*.f64 (*.f64 x.im x.im) (*.f64 -3 x.re)) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(+.f64 (pow.f64 x.re 3) (*.f64 (*.f64 -3 x.re) (*.f64 x.im x.im))) |
(+.f64 (*.f64 -3 (*.f64 x.re (*.f64 x.im x.im))) (pow.f64 x.re 3)) |
(fma.f64 -3 (*.f64 x.re (*.f64 x.im x.im)) (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 -3 (*.f64 x.im x.im) (*.f64 x.re x.re))) |
(fma.f64 x.im (*.f64 x.im (*.f64 -3 x.re)) (pow.f64 x.re 3)) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(+.f64 (pow.f64 x.re 3) (*.f64 (*.f64 -3 x.re) (*.f64 x.im x.im))) |
(+.f64 (*.f64 -3 (*.f64 x.re (*.f64 x.im x.im))) (pow.f64 x.re 3)) |
(fma.f64 -3 (*.f64 x.re (*.f64 x.im x.im)) (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 -3 (*.f64 x.im x.im) (*.f64 x.re x.re))) |
(fma.f64 x.im (*.f64 x.im (*.f64 -3 x.re)) (pow.f64 x.re 3)) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(+.f64 (pow.f64 x.re 3) (*.f64 (*.f64 -3 x.re) (*.f64 x.im x.im))) |
(+.f64 (*.f64 -3 (*.f64 x.re (*.f64 x.im x.im))) (pow.f64 x.re 3)) |
(fma.f64 -3 (*.f64 x.re (*.f64 x.im x.im)) (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 -3 (*.f64 x.im x.im) (*.f64 x.re x.re))) |
(fma.f64 x.im (*.f64 x.im (*.f64 -3 x.re)) (pow.f64 x.re 3)) |
(pow.f64 x.re 3) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(+.f64 (pow.f64 x.re 3) (*.f64 (*.f64 -3 x.re) (*.f64 x.im x.im))) |
(+.f64 (*.f64 -3 (*.f64 x.re (*.f64 x.im x.im))) (pow.f64 x.re 3)) |
(fma.f64 -3 (*.f64 x.re (*.f64 x.im x.im)) (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 -3 (*.f64 x.im x.im) (*.f64 x.re x.re))) |
(fma.f64 x.im (*.f64 x.im (*.f64 -3 x.re)) (pow.f64 x.re 3)) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(+.f64 (pow.f64 x.re 3) (*.f64 (*.f64 -3 x.re) (*.f64 x.im x.im))) |
(+.f64 (*.f64 -3 (*.f64 x.re (*.f64 x.im x.im))) (pow.f64 x.re 3)) |
(fma.f64 -3 (*.f64 x.re (*.f64 x.im x.im)) (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 -3 (*.f64 x.im x.im) (*.f64 x.re x.re))) |
(fma.f64 x.im (*.f64 x.im (*.f64 -3 x.re)) (pow.f64 x.re 3)) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(+.f64 (pow.f64 x.re 3) (*.f64 (*.f64 -3 x.re) (*.f64 x.im x.im))) |
(+.f64 (*.f64 -3 (*.f64 x.re (*.f64 x.im x.im))) (pow.f64 x.re 3)) |
(fma.f64 -3 (*.f64 x.re (*.f64 x.im x.im)) (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 -3 (*.f64 x.im x.im) (*.f64 x.re x.re))) |
(fma.f64 x.im (*.f64 x.im (*.f64 -3 x.re)) (pow.f64 x.re 3)) |
(pow.f64 x.re 3) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(+.f64 (pow.f64 x.re 3) (*.f64 (*.f64 -3 x.re) (*.f64 x.im x.im))) |
(+.f64 (*.f64 -3 (*.f64 x.re (*.f64 x.im x.im))) (pow.f64 x.re 3)) |
(fma.f64 -3 (*.f64 x.re (*.f64 x.im x.im)) (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 -3 (*.f64 x.im x.im) (*.f64 x.re x.re))) |
(fma.f64 x.im (*.f64 x.im (*.f64 -3 x.re)) (pow.f64 x.re 3)) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(+.f64 (pow.f64 x.re 3) (*.f64 (*.f64 -3 x.re) (*.f64 x.im x.im))) |
(+.f64 (*.f64 -3 (*.f64 x.re (*.f64 x.im x.im))) (pow.f64 x.re 3)) |
(fma.f64 -3 (*.f64 x.re (*.f64 x.im x.im)) (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 -3 (*.f64 x.im x.im) (*.f64 x.re x.re))) |
(fma.f64 x.im (*.f64 x.im (*.f64 -3 x.re)) (pow.f64 x.re 3)) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(+.f64 (pow.f64 x.re 3) (*.f64 (*.f64 -3 x.re) (*.f64 x.im x.im))) |
(+.f64 (*.f64 -3 (*.f64 x.re (*.f64 x.im x.im))) (pow.f64 x.re 3)) |
(fma.f64 -3 (*.f64 x.re (*.f64 x.im x.im)) (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 -3 (*.f64 x.im x.im) (*.f64 x.re x.re))) |
(fma.f64 x.im (*.f64 x.im (*.f64 -3 x.re)) (pow.f64 x.re 3)) |
(pow.f64 x.re 3) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(+.f64 (pow.f64 x.re 3) (*.f64 (*.f64 -3 x.re) (*.f64 x.im x.im))) |
(+.f64 (*.f64 -3 (*.f64 x.re (*.f64 x.im x.im))) (pow.f64 x.re 3)) |
(fma.f64 -3 (*.f64 x.re (*.f64 x.im x.im)) (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 -3 (*.f64 x.im x.im) (*.f64 x.re x.re))) |
(fma.f64 x.im (*.f64 x.im (*.f64 -3 x.re)) (pow.f64 x.re 3)) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(+.f64 (pow.f64 x.re 3) (*.f64 (*.f64 -3 x.re) (*.f64 x.im x.im))) |
(+.f64 (*.f64 -3 (*.f64 x.re (*.f64 x.im x.im))) (pow.f64 x.re 3)) |
(fma.f64 -3 (*.f64 x.re (*.f64 x.im x.im)) (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 -3 (*.f64 x.im x.im) (*.f64 x.re x.re))) |
(fma.f64 x.im (*.f64 x.im (*.f64 -3 x.re)) (pow.f64 x.re 3)) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(+.f64 (pow.f64 x.re 3) (*.f64 (*.f64 -3 x.re) (*.f64 x.im x.im))) |
(+.f64 (*.f64 -3 (*.f64 x.re (*.f64 x.im x.im))) (pow.f64 x.re 3)) |
(fma.f64 -3 (*.f64 x.re (*.f64 x.im x.im)) (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 -3 (*.f64 x.im x.im) (*.f64 x.re x.re))) |
(fma.f64 x.im (*.f64 x.im (*.f64 -3 x.re)) (pow.f64 x.re 3)) |
(*.f64 -3 (*.f64 x.re (pow.f64 x.im 2))) |
(*.f64 (*.f64 -3 x.re) (*.f64 x.im x.im)) |
(*.f64 -3 (*.f64 x.re (*.f64 x.im x.im))) |
(*.f64 (*.f64 x.im x.im) (*.f64 -3 x.re)) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(+.f64 (pow.f64 x.re 3) (*.f64 (*.f64 -3 x.re) (*.f64 x.im x.im))) |
(+.f64 (*.f64 -3 (*.f64 x.re (*.f64 x.im x.im))) (pow.f64 x.re 3)) |
(fma.f64 -3 (*.f64 x.re (*.f64 x.im x.im)) (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 -3 (*.f64 x.im x.im) (*.f64 x.re x.re))) |
(fma.f64 x.im (*.f64 x.im (*.f64 -3 x.re)) (pow.f64 x.re 3)) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(+.f64 (pow.f64 x.re 3) (*.f64 (*.f64 -3 x.re) (*.f64 x.im x.im))) |
(+.f64 (*.f64 -3 (*.f64 x.re (*.f64 x.im x.im))) (pow.f64 x.re 3)) |
(fma.f64 -3 (*.f64 x.re (*.f64 x.im x.im)) (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 -3 (*.f64 x.im x.im) (*.f64 x.re x.re))) |
(fma.f64 x.im (*.f64 x.im (*.f64 -3 x.re)) (pow.f64 x.re 3)) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(+.f64 (pow.f64 x.re 3) (*.f64 (*.f64 -3 x.re) (*.f64 x.im x.im))) |
(+.f64 (*.f64 -3 (*.f64 x.re (*.f64 x.im x.im))) (pow.f64 x.re 3)) |
(fma.f64 -3 (*.f64 x.re (*.f64 x.im x.im)) (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 -3 (*.f64 x.im x.im) (*.f64 x.re x.re))) |
(fma.f64 x.im (*.f64 x.im (*.f64 -3 x.re)) (pow.f64 x.re 3)) |
(*.f64 -3 (*.f64 x.re (pow.f64 x.im 2))) |
(*.f64 (*.f64 -3 x.re) (*.f64 x.im x.im)) |
(*.f64 -3 (*.f64 x.re (*.f64 x.im x.im))) |
(*.f64 (*.f64 x.im x.im) (*.f64 -3 x.re)) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(+.f64 (pow.f64 x.re 3) (*.f64 (*.f64 -3 x.re) (*.f64 x.im x.im))) |
(+.f64 (*.f64 -3 (*.f64 x.re (*.f64 x.im x.im))) (pow.f64 x.re 3)) |
(fma.f64 -3 (*.f64 x.re (*.f64 x.im x.im)) (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 -3 (*.f64 x.im x.im) (*.f64 x.re x.re))) |
(fma.f64 x.im (*.f64 x.im (*.f64 -3 x.re)) (pow.f64 x.re 3)) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(+.f64 (pow.f64 x.re 3) (*.f64 (*.f64 -3 x.re) (*.f64 x.im x.im))) |
(+.f64 (*.f64 -3 (*.f64 x.re (*.f64 x.im x.im))) (pow.f64 x.re 3)) |
(fma.f64 -3 (*.f64 x.re (*.f64 x.im x.im)) (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 -3 (*.f64 x.im x.im) (*.f64 x.re x.re))) |
(fma.f64 x.im (*.f64 x.im (*.f64 -3 x.re)) (pow.f64 x.re 3)) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(+.f64 (pow.f64 x.re 3) (*.f64 (*.f64 -3 x.re) (*.f64 x.im x.im))) |
(+.f64 (*.f64 -3 (*.f64 x.re (*.f64 x.im x.im))) (pow.f64 x.re 3)) |
(fma.f64 -3 (*.f64 x.re (*.f64 x.im x.im)) (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 -3 (*.f64 x.im x.im) (*.f64 x.re x.re))) |
(fma.f64 x.im (*.f64 x.im (*.f64 -3 x.re)) (pow.f64 x.re 3)) |
(*.f64 -3 (pow.f64 x.im 2)) |
(*.f64 -3 (*.f64 x.im x.im)) |
(*.f64 x.im (*.f64 -3 x.im)) |
(*.f64 -3 (pow.f64 x.im 2)) |
(*.f64 -3 (*.f64 x.im x.im)) |
(*.f64 x.im (*.f64 -3 x.im)) |
(*.f64 -3 (pow.f64 x.im 2)) |
(*.f64 -3 (*.f64 x.im x.im)) |
(*.f64 x.im (*.f64 -3 x.im)) |
(*.f64 -3 (pow.f64 x.im 2)) |
(*.f64 -3 (*.f64 x.im x.im)) |
(*.f64 x.im (*.f64 -3 x.im)) |
(*.f64 -3 (pow.f64 x.im 2)) |
(*.f64 -3 (*.f64 x.im x.im)) |
(*.f64 x.im (*.f64 -3 x.im)) |
(*.f64 -3 (pow.f64 x.im 2)) |
(*.f64 -3 (*.f64 x.im x.im)) |
(*.f64 x.im (*.f64 -3 x.im)) |
(*.f64 -3 (pow.f64 x.im 2)) |
(*.f64 -3 (*.f64 x.im x.im)) |
(*.f64 x.im (*.f64 -3 x.im)) |
(*.f64 -3 (pow.f64 x.im 2)) |
(*.f64 -3 (*.f64 x.im x.im)) |
(*.f64 x.im (*.f64 -3 x.im)) |
(*.f64 -3 (pow.f64 x.im 2)) |
(*.f64 -3 (*.f64 x.im x.im)) |
(*.f64 x.im (*.f64 -3 x.im)) |
(*.f64 -3 (pow.f64 x.im 2)) |
(*.f64 -3 (*.f64 x.im x.im)) |
(*.f64 x.im (*.f64 -3 x.im)) |
(*.f64 -3 (pow.f64 x.im 2)) |
(*.f64 -3 (*.f64 x.im x.im)) |
(*.f64 x.im (*.f64 -3 x.im)) |
(*.f64 -3 (pow.f64 x.im 2)) |
(*.f64 -3 (*.f64 x.im x.im)) |
(*.f64 x.im (*.f64 -3 x.im)) |
5 alts after pruning (4 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 43 | 3 | 46 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 43 | 5 | 48 |
| Status | Error | Program |
|---|---|---|
| 7.7b | (-.f64 (*.f64 (-.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)) x.re) (*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.im)) | |
| ▶ | 0.2b | (fma.f64 x.im (*.f64 x.im (*.f64 -3 x.re)) (pow.f64 x.re 3)) |
| ✓ | 7.6b | (fma.f64 x.re (*.f64 x.im (*.f64 x.im -3)) (pow.f64 x.re 3)) |
| 41.3b | (/.f64 (-.f64 (*.f64 (*.f64 x.re (*.f64 -3 (*.f64 x.im x.im))) (*.f64 x.re (*.f64 -3 (*.f64 x.im x.im)))) (pow.f64 x.re 6)) (-.f64 (*.f64 x.re (*.f64 -3 (*.f64 x.im x.im))) (pow.f64 x.re 3))) | |
| 7.7b | (*.f64 x.re (+.f64 (*.f64 -3 (*.f64 x.im x.im)) (*.f64 x.re x.re))) |
Compiled 815 to 498 computations (38.9% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (fma.f64 x.im (*.f64 x.im (*.f64 -3 x.re)) (pow.f64 x.re 3)) |
| ✓ | 0.2b | (*.f64 x.im (*.f64 -3 x.re)) |
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 3.0ms | x.im | @ | 0 | (fma.f64 x.im (*.f64 x.im (*.f64 -3 x.re)) (pow.f64 x.re 3)) |
| 2.0ms | x.im | @ | -inf | (fma.f64 x.im (*.f64 x.im (*.f64 -3 x.re)) (pow.f64 x.re 3)) |
| 2.0ms | x.im | @ | inf | (fma.f64 x.im (*.f64 x.im (*.f64 -3 x.re)) (pow.f64 x.re 3)) |
| 1.0ms | x.re | @ | 0 | (fma.f64 x.im (*.f64 x.im (*.f64 -3 x.re)) (pow.f64 x.re 3)) |
| 1.0ms | x.re | @ | -inf | (fma.f64 x.im (*.f64 x.im (*.f64 -3 x.re)) (pow.f64 x.re 3)) |
| 1× | batch-egg-rewrite |
| 820× | pow1_binary64 |
| 761× | log1p-expm1-u_binary64 |
| 761× | expm1-log1p-u_binary64 |
| 90× | add-sqr-sqrt_binary64 |
| 84× | *-un-lft-identity_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 21 |
| 1 | 190 | 21 |
| 2 | 2099 | 21 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 x.im (*.f64 -3 x.re)) |
(fma.f64 x.im (*.f64 x.im (*.f64 -3 x.re)) (pow.f64 x.re 3)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 x.im (*.f64 -3 x.re)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x.im (*.f64 -3 x.re)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x.im (*.f64 -3 x.re)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x.im (*.f64 -3 x.re))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x.im (*.f64 -3 x.re))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x.im (*.f64 -3 x.re)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x.im) (*.f64 -3 x.re)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 x.im (*.f64 -3 x.re)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x.im (*.f64 -3 x.re)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x.im 3) (pow.f64 (*.f64 -3 x.re) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 -3 x.re) 3) (pow.f64 x.im 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x.im (*.f64 -3 x.re))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x.im (*.f64 -3 x.re))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 x.im (*.f64 -3 x.re))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x.im (*.f64 -3 x.re)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 x.re 3) (*.f64 (*.f64 x.im x.im) (*.f64 -3 x.re)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x.im x.im) (*.f64 -3 x.re)) (pow.f64 x.re 3))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (*.f64 x.im x.im) (*.f64 -3 x.re)) 1) (pow.f64 x.re 3))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 x.im (*.f64 x.im (*.f64 -3 x.re)) (pow.f64 x.re 3)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x.im (*.f64 x.im (*.f64 -3 x.re)) (pow.f64 x.re 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x.im (*.f64 x.im (*.f64 -3 x.re)) (pow.f64 x.re 3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x.im (*.f64 x.im (*.f64 -3 x.re)) (pow.f64 x.re 3))) (pow.f64 (cbrt.f64 (fma.f64 x.im (*.f64 x.im (*.f64 -3 x.re)) (pow.f64 x.re 3))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x.im (*.f64 x.im (*.f64 -3 x.re)) (pow.f64 x.re 3))) 2) (cbrt.f64 (fma.f64 x.im (*.f64 x.im (*.f64 -3 x.re)) (pow.f64 x.re 3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 x.im (*.f64 x.im (*.f64 -3 x.re)) (pow.f64 x.re 3))) (sqrt.f64 (fma.f64 x.im (*.f64 x.im (*.f64 -3 x.re)) (pow.f64 x.re 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 (*.f64 x.im x.im) (*.f64 -3 x.re)) 3) (pow.f64 (pow.f64 x.re 3) 3)) (+.f64 (*.f64 (*.f64 (*.f64 x.im x.im) (*.f64 -3 x.re)) (*.f64 (*.f64 x.im x.im) (*.f64 -3 x.re))) (-.f64 (pow.f64 x.re 6) (*.f64 (*.f64 (*.f64 x.im x.im) (*.f64 -3 x.re)) (pow.f64 x.re 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 (*.f64 x.im x.im) (*.f64 -3 x.re)) (*.f64 (*.f64 x.im x.im) (*.f64 -3 x.re))) (pow.f64 x.re 6)) (-.f64 (*.f64 (*.f64 x.im x.im) (*.f64 -3 x.re)) (pow.f64 x.re 3)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x.im (*.f64 x.im (*.f64 -3 x.re)) (pow.f64 x.re 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x.im (*.f64 x.im (*.f64 -3 x.re)) (pow.f64 x.re 3)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 x.im (*.f64 x.im (*.f64 -3 x.re)) (pow.f64 x.re 3))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 x.im (*.f64 x.im (*.f64 -3 x.re)) (pow.f64 x.re 3))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x.im (*.f64 x.im (*.f64 -3 x.re)) (pow.f64 x.re 3)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x.im (*.f64 x.im (*.f64 -3 x.re)) (pow.f64 x.re 3))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 x.im (*.f64 x.im (*.f64 -3 x.re)) (pow.f64 x.re 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x.im (*.f64 x.im (*.f64 -3 x.re)) (pow.f64 x.re 3)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x.im (*.f64 x.im (*.f64 -3 x.re)) (pow.f64 x.re 3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 x.im (*.f64 x.im (*.f64 -3 x.re)) (pow.f64 x.re 3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 x.im (*.f64 x.im (*.f64 -3 x.re)) (pow.f64 x.re 3))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x.im (*.f64 x.im (*.f64 -3 x.re)) (pow.f64 x.re 3)))))))) |
| 1× | egg-herbie |
| 989× | fma-def_binary64 |
| 593× | unswap-sqr_binary64 |
| 342× | fma-neg_binary64 |
| 322× | cancel-sign-sub-inv_binary64 |
| 254× | distribute-rgt-neg-in_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 14 | 498 |
| 1 | 40 | 498 |
| 2 | 96 | 462 |
| 3 | 248 | 462 |
| 4 | 723 | 462 |
| 5 | 1466 | 462 |
| 6 | 2182 | 462 |
| 7 | 3412 | 462 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 -3 (*.f64 x.re x.im)) |
(*.f64 -3 (*.f64 x.re x.im)) |
(*.f64 -3 (*.f64 x.re x.im)) |
(*.f64 -3 (*.f64 x.re x.im)) |
(*.f64 -3 (*.f64 x.re x.im)) |
(*.f64 -3 (*.f64 x.re x.im)) |
(*.f64 -3 (*.f64 x.re x.im)) |
(*.f64 -3 (*.f64 x.re x.im)) |
(*.f64 -3 (*.f64 x.re x.im)) |
(*.f64 -3 (*.f64 x.re x.im)) |
(*.f64 -3 (*.f64 x.re x.im)) |
(*.f64 -3 (*.f64 x.re x.im)) |
(*.f64 -3 (*.f64 x.re x.im)) |
(*.f64 -3 (*.f64 x.re x.im)) |
(*.f64 -3 (*.f64 x.re x.im)) |
(*.f64 -3 (*.f64 x.re x.im)) |
(*.f64 -3 (*.f64 x.re x.im)) |
(*.f64 -3 (*.f64 x.re x.im)) |
(*.f64 -3 (*.f64 x.re x.im)) |
(*.f64 -3 (*.f64 x.re x.im)) |
(*.f64 -3 (*.f64 x.re x.im)) |
(*.f64 -3 (*.f64 x.re x.im)) |
(*.f64 -3 (*.f64 x.re x.im)) |
(*.f64 -3 (*.f64 x.re x.im)) |
(pow.f64 x.re 3) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(*.f64 -3 (*.f64 x.re (pow.f64 x.im 2))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(*.f64 -3 (*.f64 x.re (pow.f64 x.im 2))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(*.f64 -3 (*.f64 x.re (pow.f64 x.im 2))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(pow.f64 x.re 3) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(pow.f64 x.re 3) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
| Outputs |
|---|
(*.f64 -3 (*.f64 x.re x.im)) |
(*.f64 (*.f64 -3 x.re) x.im) |
(*.f64 x.re (*.f64 -3 x.im)) |
(*.f64 x.im (*.f64 -3 x.re)) |
(*.f64 -3 (*.f64 x.re x.im)) |
(*.f64 (*.f64 -3 x.re) x.im) |
(*.f64 x.re (*.f64 -3 x.im)) |
(*.f64 x.im (*.f64 -3 x.re)) |
(*.f64 -3 (*.f64 x.re x.im)) |
(*.f64 (*.f64 -3 x.re) x.im) |
(*.f64 x.re (*.f64 -3 x.im)) |
(*.f64 x.im (*.f64 -3 x.re)) |
(*.f64 -3 (*.f64 x.re x.im)) |
(*.f64 (*.f64 -3 x.re) x.im) |
(*.f64 x.re (*.f64 -3 x.im)) |
(*.f64 x.im (*.f64 -3 x.re)) |
(*.f64 -3 (*.f64 x.re x.im)) |
(*.f64 (*.f64 -3 x.re) x.im) |
(*.f64 x.re (*.f64 -3 x.im)) |
(*.f64 x.im (*.f64 -3 x.re)) |
(*.f64 -3 (*.f64 x.re x.im)) |
(*.f64 (*.f64 -3 x.re) x.im) |
(*.f64 x.re (*.f64 -3 x.im)) |
(*.f64 x.im (*.f64 -3 x.re)) |
(*.f64 -3 (*.f64 x.re x.im)) |
(*.f64 (*.f64 -3 x.re) x.im) |
(*.f64 x.re (*.f64 -3 x.im)) |
(*.f64 x.im (*.f64 -3 x.re)) |
(*.f64 -3 (*.f64 x.re x.im)) |
(*.f64 (*.f64 -3 x.re) x.im) |
(*.f64 x.re (*.f64 -3 x.im)) |
(*.f64 x.im (*.f64 -3 x.re)) |
(*.f64 -3 (*.f64 x.re x.im)) |
(*.f64 (*.f64 -3 x.re) x.im) |
(*.f64 x.re (*.f64 -3 x.im)) |
(*.f64 x.im (*.f64 -3 x.re)) |
(*.f64 -3 (*.f64 x.re x.im)) |
(*.f64 (*.f64 -3 x.re) x.im) |
(*.f64 x.re (*.f64 -3 x.im)) |
(*.f64 x.im (*.f64 -3 x.re)) |
(*.f64 -3 (*.f64 x.re x.im)) |
(*.f64 (*.f64 -3 x.re) x.im) |
(*.f64 x.re (*.f64 -3 x.im)) |
(*.f64 x.im (*.f64 -3 x.re)) |
(*.f64 -3 (*.f64 x.re x.im)) |
(*.f64 (*.f64 -3 x.re) x.im) |
(*.f64 x.re (*.f64 -3 x.im)) |
(*.f64 x.im (*.f64 -3 x.re)) |
(*.f64 -3 (*.f64 x.re x.im)) |
(*.f64 (*.f64 -3 x.re) x.im) |
(*.f64 x.re (*.f64 -3 x.im)) |
(*.f64 x.im (*.f64 -3 x.re)) |
(*.f64 -3 (*.f64 x.re x.im)) |
(*.f64 (*.f64 -3 x.re) x.im) |
(*.f64 x.re (*.f64 -3 x.im)) |
(*.f64 x.im (*.f64 -3 x.re)) |
(*.f64 -3 (*.f64 x.re x.im)) |
(*.f64 (*.f64 -3 x.re) x.im) |
(*.f64 x.re (*.f64 -3 x.im)) |
(*.f64 x.im (*.f64 -3 x.re)) |
(*.f64 -3 (*.f64 x.re x.im)) |
(*.f64 (*.f64 -3 x.re) x.im) |
(*.f64 x.re (*.f64 -3 x.im)) |
(*.f64 x.im (*.f64 -3 x.re)) |
(*.f64 -3 (*.f64 x.re x.im)) |
(*.f64 (*.f64 -3 x.re) x.im) |
(*.f64 x.re (*.f64 -3 x.im)) |
(*.f64 x.im (*.f64 -3 x.re)) |
(*.f64 -3 (*.f64 x.re x.im)) |
(*.f64 (*.f64 -3 x.re) x.im) |
(*.f64 x.re (*.f64 -3 x.im)) |
(*.f64 x.im (*.f64 -3 x.re)) |
(*.f64 -3 (*.f64 x.re x.im)) |
(*.f64 (*.f64 -3 x.re) x.im) |
(*.f64 x.re (*.f64 -3 x.im)) |
(*.f64 x.im (*.f64 -3 x.re)) |
(*.f64 -3 (*.f64 x.re x.im)) |
(*.f64 (*.f64 -3 x.re) x.im) |
(*.f64 x.re (*.f64 -3 x.im)) |
(*.f64 x.im (*.f64 -3 x.re)) |
(*.f64 -3 (*.f64 x.re x.im)) |
(*.f64 (*.f64 -3 x.re) x.im) |
(*.f64 x.re (*.f64 -3 x.im)) |
(*.f64 x.im (*.f64 -3 x.re)) |
(*.f64 -3 (*.f64 x.re x.im)) |
(*.f64 (*.f64 -3 x.re) x.im) |
(*.f64 x.re (*.f64 -3 x.im)) |
(*.f64 x.im (*.f64 -3 x.re)) |
(*.f64 -3 (*.f64 x.re x.im)) |
(*.f64 (*.f64 -3 x.re) x.im) |
(*.f64 x.re (*.f64 -3 x.im)) |
(*.f64 x.im (*.f64 -3 x.re)) |
(*.f64 -3 (*.f64 x.re x.im)) |
(*.f64 (*.f64 -3 x.re) x.im) |
(*.f64 x.re (*.f64 -3 x.im)) |
(*.f64 x.im (*.f64 -3 x.re)) |
(pow.f64 x.re 3) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(+.f64 (pow.f64 x.re 3) (*.f64 (*.f64 -3 x.re) (*.f64 x.im x.im))) |
(+.f64 (pow.f64 x.re 3) (*.f64 x.re (*.f64 (*.f64 x.im x.im) -3))) |
(fma.f64 (*.f64 -3 (*.f64 x.re x.im)) x.im (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 -3 (*.f64 x.im x.im) (*.f64 x.re x.re))) |
(fma.f64 x.re (*.f64 x.im (*.f64 -3 x.im)) (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 x.re x.re (*.f64 x.im (*.f64 -3 x.im)))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(+.f64 (pow.f64 x.re 3) (*.f64 (*.f64 -3 x.re) (*.f64 x.im x.im))) |
(+.f64 (pow.f64 x.re 3) (*.f64 x.re (*.f64 (*.f64 x.im x.im) -3))) |
(fma.f64 (*.f64 -3 (*.f64 x.re x.im)) x.im (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 -3 (*.f64 x.im x.im) (*.f64 x.re x.re))) |
(fma.f64 x.re (*.f64 x.im (*.f64 -3 x.im)) (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 x.re x.re (*.f64 x.im (*.f64 -3 x.im)))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(+.f64 (pow.f64 x.re 3) (*.f64 (*.f64 -3 x.re) (*.f64 x.im x.im))) |
(+.f64 (pow.f64 x.re 3) (*.f64 x.re (*.f64 (*.f64 x.im x.im) -3))) |
(fma.f64 (*.f64 -3 (*.f64 x.re x.im)) x.im (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 -3 (*.f64 x.im x.im) (*.f64 x.re x.re))) |
(fma.f64 x.re (*.f64 x.im (*.f64 -3 x.im)) (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 x.re x.re (*.f64 x.im (*.f64 -3 x.im)))) |
(*.f64 -3 (*.f64 x.re (pow.f64 x.im 2))) |
(*.f64 (*.f64 -3 x.re) (*.f64 x.im x.im)) |
(*.f64 x.re (*.f64 (*.f64 x.im x.im) -3)) |
(*.f64 (*.f64 x.re x.im) (*.f64 -3 x.im)) |
(*.f64 x.im (*.f64 x.re (*.f64 -3 x.im))) |
(*.f64 x.re (*.f64 x.im (*.f64 -3 x.im))) |
(*.f64 x.im (*.f64 x.im (*.f64 -3 x.re))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(+.f64 (pow.f64 x.re 3) (*.f64 (*.f64 -3 x.re) (*.f64 x.im x.im))) |
(+.f64 (pow.f64 x.re 3) (*.f64 x.re (*.f64 (*.f64 x.im x.im) -3))) |
(fma.f64 (*.f64 -3 (*.f64 x.re x.im)) x.im (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 -3 (*.f64 x.im x.im) (*.f64 x.re x.re))) |
(fma.f64 x.re (*.f64 x.im (*.f64 -3 x.im)) (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 x.re x.re (*.f64 x.im (*.f64 -3 x.im)))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(+.f64 (pow.f64 x.re 3) (*.f64 (*.f64 -3 x.re) (*.f64 x.im x.im))) |
(+.f64 (pow.f64 x.re 3) (*.f64 x.re (*.f64 (*.f64 x.im x.im) -3))) |
(fma.f64 (*.f64 -3 (*.f64 x.re x.im)) x.im (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 -3 (*.f64 x.im x.im) (*.f64 x.re x.re))) |
(fma.f64 x.re (*.f64 x.im (*.f64 -3 x.im)) (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 x.re x.re (*.f64 x.im (*.f64 -3 x.im)))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(+.f64 (pow.f64 x.re 3) (*.f64 (*.f64 -3 x.re) (*.f64 x.im x.im))) |
(+.f64 (pow.f64 x.re 3) (*.f64 x.re (*.f64 (*.f64 x.im x.im) -3))) |
(fma.f64 (*.f64 -3 (*.f64 x.re x.im)) x.im (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 -3 (*.f64 x.im x.im) (*.f64 x.re x.re))) |
(fma.f64 x.re (*.f64 x.im (*.f64 -3 x.im)) (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 x.re x.re (*.f64 x.im (*.f64 -3 x.im)))) |
(*.f64 -3 (*.f64 x.re (pow.f64 x.im 2))) |
(*.f64 (*.f64 -3 x.re) (*.f64 x.im x.im)) |
(*.f64 x.re (*.f64 (*.f64 x.im x.im) -3)) |
(*.f64 (*.f64 x.re x.im) (*.f64 -3 x.im)) |
(*.f64 x.im (*.f64 x.re (*.f64 -3 x.im))) |
(*.f64 x.re (*.f64 x.im (*.f64 -3 x.im))) |
(*.f64 x.im (*.f64 x.im (*.f64 -3 x.re))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(+.f64 (pow.f64 x.re 3) (*.f64 (*.f64 -3 x.re) (*.f64 x.im x.im))) |
(+.f64 (pow.f64 x.re 3) (*.f64 x.re (*.f64 (*.f64 x.im x.im) -3))) |
(fma.f64 (*.f64 -3 (*.f64 x.re x.im)) x.im (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 -3 (*.f64 x.im x.im) (*.f64 x.re x.re))) |
(fma.f64 x.re (*.f64 x.im (*.f64 -3 x.im)) (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 x.re x.re (*.f64 x.im (*.f64 -3 x.im)))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(+.f64 (pow.f64 x.re 3) (*.f64 (*.f64 -3 x.re) (*.f64 x.im x.im))) |
(+.f64 (pow.f64 x.re 3) (*.f64 x.re (*.f64 (*.f64 x.im x.im) -3))) |
(fma.f64 (*.f64 -3 (*.f64 x.re x.im)) x.im (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 -3 (*.f64 x.im x.im) (*.f64 x.re x.re))) |
(fma.f64 x.re (*.f64 x.im (*.f64 -3 x.im)) (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 x.re x.re (*.f64 x.im (*.f64 -3 x.im)))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(+.f64 (pow.f64 x.re 3) (*.f64 (*.f64 -3 x.re) (*.f64 x.im x.im))) |
(+.f64 (pow.f64 x.re 3) (*.f64 x.re (*.f64 (*.f64 x.im x.im) -3))) |
(fma.f64 (*.f64 -3 (*.f64 x.re x.im)) x.im (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 -3 (*.f64 x.im x.im) (*.f64 x.re x.re))) |
(fma.f64 x.re (*.f64 x.im (*.f64 -3 x.im)) (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 x.re x.re (*.f64 x.im (*.f64 -3 x.im)))) |
(*.f64 -3 (*.f64 x.re (pow.f64 x.im 2))) |
(*.f64 (*.f64 -3 x.re) (*.f64 x.im x.im)) |
(*.f64 x.re (*.f64 (*.f64 x.im x.im) -3)) |
(*.f64 (*.f64 x.re x.im) (*.f64 -3 x.im)) |
(*.f64 x.im (*.f64 x.re (*.f64 -3 x.im))) |
(*.f64 x.re (*.f64 x.im (*.f64 -3 x.im))) |
(*.f64 x.im (*.f64 x.im (*.f64 -3 x.re))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(+.f64 (pow.f64 x.re 3) (*.f64 (*.f64 -3 x.re) (*.f64 x.im x.im))) |
(+.f64 (pow.f64 x.re 3) (*.f64 x.re (*.f64 (*.f64 x.im x.im) -3))) |
(fma.f64 (*.f64 -3 (*.f64 x.re x.im)) x.im (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 -3 (*.f64 x.im x.im) (*.f64 x.re x.re))) |
(fma.f64 x.re (*.f64 x.im (*.f64 -3 x.im)) (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 x.re x.re (*.f64 x.im (*.f64 -3 x.im)))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(+.f64 (pow.f64 x.re 3) (*.f64 (*.f64 -3 x.re) (*.f64 x.im x.im))) |
(+.f64 (pow.f64 x.re 3) (*.f64 x.re (*.f64 (*.f64 x.im x.im) -3))) |
(fma.f64 (*.f64 -3 (*.f64 x.re x.im)) x.im (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 -3 (*.f64 x.im x.im) (*.f64 x.re x.re))) |
(fma.f64 x.re (*.f64 x.im (*.f64 -3 x.im)) (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 x.re x.re (*.f64 x.im (*.f64 -3 x.im)))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(+.f64 (pow.f64 x.re 3) (*.f64 (*.f64 -3 x.re) (*.f64 x.im x.im))) |
(+.f64 (pow.f64 x.re 3) (*.f64 x.re (*.f64 (*.f64 x.im x.im) -3))) |
(fma.f64 (*.f64 -3 (*.f64 x.re x.im)) x.im (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 -3 (*.f64 x.im x.im) (*.f64 x.re x.re))) |
(fma.f64 x.re (*.f64 x.im (*.f64 -3 x.im)) (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 x.re x.re (*.f64 x.im (*.f64 -3 x.im)))) |
(pow.f64 x.re 3) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(+.f64 (pow.f64 x.re 3) (*.f64 (*.f64 -3 x.re) (*.f64 x.im x.im))) |
(+.f64 (pow.f64 x.re 3) (*.f64 x.re (*.f64 (*.f64 x.im x.im) -3))) |
(fma.f64 (*.f64 -3 (*.f64 x.re x.im)) x.im (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 -3 (*.f64 x.im x.im) (*.f64 x.re x.re))) |
(fma.f64 x.re (*.f64 x.im (*.f64 -3 x.im)) (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 x.re x.re (*.f64 x.im (*.f64 -3 x.im)))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(+.f64 (pow.f64 x.re 3) (*.f64 (*.f64 -3 x.re) (*.f64 x.im x.im))) |
(+.f64 (pow.f64 x.re 3) (*.f64 x.re (*.f64 (*.f64 x.im x.im) -3))) |
(fma.f64 (*.f64 -3 (*.f64 x.re x.im)) x.im (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 -3 (*.f64 x.im x.im) (*.f64 x.re x.re))) |
(fma.f64 x.re (*.f64 x.im (*.f64 -3 x.im)) (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 x.re x.re (*.f64 x.im (*.f64 -3 x.im)))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(+.f64 (pow.f64 x.re 3) (*.f64 (*.f64 -3 x.re) (*.f64 x.im x.im))) |
(+.f64 (pow.f64 x.re 3) (*.f64 x.re (*.f64 (*.f64 x.im x.im) -3))) |
(fma.f64 (*.f64 -3 (*.f64 x.re x.im)) x.im (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 -3 (*.f64 x.im x.im) (*.f64 x.re x.re))) |
(fma.f64 x.re (*.f64 x.im (*.f64 -3 x.im)) (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 x.re x.re (*.f64 x.im (*.f64 -3 x.im)))) |
(pow.f64 x.re 3) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(+.f64 (pow.f64 x.re 3) (*.f64 (*.f64 -3 x.re) (*.f64 x.im x.im))) |
(+.f64 (pow.f64 x.re 3) (*.f64 x.re (*.f64 (*.f64 x.im x.im) -3))) |
(fma.f64 (*.f64 -3 (*.f64 x.re x.im)) x.im (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 -3 (*.f64 x.im x.im) (*.f64 x.re x.re))) |
(fma.f64 x.re (*.f64 x.im (*.f64 -3 x.im)) (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 x.re x.re (*.f64 x.im (*.f64 -3 x.im)))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(+.f64 (pow.f64 x.re 3) (*.f64 (*.f64 -3 x.re) (*.f64 x.im x.im))) |
(+.f64 (pow.f64 x.re 3) (*.f64 x.re (*.f64 (*.f64 x.im x.im) -3))) |
(fma.f64 (*.f64 -3 (*.f64 x.re x.im)) x.im (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 -3 (*.f64 x.im x.im) (*.f64 x.re x.re))) |
(fma.f64 x.re (*.f64 x.im (*.f64 -3 x.im)) (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 x.re x.re (*.f64 x.im (*.f64 -3 x.im)))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(+.f64 (pow.f64 x.re 3) (*.f64 (*.f64 -3 x.re) (*.f64 x.im x.im))) |
(+.f64 (pow.f64 x.re 3) (*.f64 x.re (*.f64 (*.f64 x.im x.im) -3))) |
(fma.f64 (*.f64 -3 (*.f64 x.re x.im)) x.im (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 -3 (*.f64 x.im x.im) (*.f64 x.re x.re))) |
(fma.f64 x.re (*.f64 x.im (*.f64 -3 x.im)) (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 x.re x.re (*.f64 x.im (*.f64 -3 x.im)))) |
6 alts after pruning (5 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 42 | 3 | 45 |
| Fresh | 1 | 2 | 3 |
| Picked | 0 | 1 | 1 |
| Done | 1 | 0 | 1 |
| Total | 44 | 6 | 50 |
| Status | Error | Program |
|---|---|---|
| 7.7b | (-.f64 (*.f64 (-.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)) x.re) (*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.im)) | |
| 0.6b | (fma.f64 x.im (pow.f64 (cbrt.f64 (*.f64 x.im (*.f64 -3 x.re))) 3) (pow.f64 x.re 3)) | |
| ✓ | 0.2b | (fma.f64 x.im (*.f64 x.im (*.f64 -3 x.re)) (pow.f64 x.re 3)) |
| 7.7b | (*.f64 x.re (fma.f64 x.re x.re (*.f64 x.im (*.f64 -3 x.im)))) | |
| ▶ | 0.2b | (fma.f64 x.im (*.f64 -3 (*.f64 x.re x.im)) (pow.f64 x.re 3)) |
| 41.3b | (/.f64 (-.f64 (*.f64 (*.f64 x.re (*.f64 -3 (*.f64 x.im x.im))) (*.f64 x.re (*.f64 -3 (*.f64 x.im x.im)))) (pow.f64 x.re 6)) (-.f64 (*.f64 x.re (*.f64 -3 (*.f64 x.im x.im))) (pow.f64 x.re 3))) |
Compiled 834 to 545 computations (34.7% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (fma.f64 x.im (*.f64 -3 (*.f64 x.re x.im)) (pow.f64 x.re 3)) |
| ✓ | 0.2b | (*.f64 -3 (*.f64 x.re x.im)) |
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 5.0ms | x.im | @ | -inf | (fma.f64 x.im (*.f64 -3 (*.f64 x.re x.im)) (pow.f64 x.re 3)) |
| 2.0ms | x.im | @ | inf | (fma.f64 x.im (*.f64 -3 (*.f64 x.re x.im)) (pow.f64 x.re 3)) |
| 2.0ms | x.im | @ | 0 | (fma.f64 x.im (*.f64 -3 (*.f64 x.re x.im)) (pow.f64 x.re 3)) |
| 1.0ms | x.re | @ | inf | (fma.f64 x.im (*.f64 -3 (*.f64 x.re x.im)) (pow.f64 x.re 3)) |
| 1.0ms | x.re | @ | 0 | (fma.f64 x.im (*.f64 -3 (*.f64 x.re x.im)) (pow.f64 x.re 3)) |
| 1× | batch-egg-rewrite |
| 820× | pow1_binary64 |
| 761× | log1p-expm1-u_binary64 |
| 761× | expm1-log1p-u_binary64 |
| 90× | add-sqr-sqrt_binary64 |
| 84× | *-un-lft-identity_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 21 |
| 1 | 190 | 21 |
| 2 | 2100 | 21 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 -3 (*.f64 x.re x.im)) |
(fma.f64 x.im (*.f64 -3 (*.f64 x.re x.im)) (pow.f64 x.re 3)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 -3 (*.f64 x.re x.im)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 -3 (*.f64 x.re x.im)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 -3 (*.f64 x.re x.im)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 -3 (*.f64 x.re x.im))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 -3 (*.f64 x.re x.im))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 (*.f64 x.re x.im) 2) 9))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 -3) (*.f64 x.re x.im)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 -3 (*.f64 x.re x.im)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 -3 (*.f64 x.re x.im)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 -3 (*.f64 x.re x.im))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 -3 (*.f64 x.re x.im))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 -3 (*.f64 x.re x.im))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 -3 (*.f64 x.re x.im)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 x.re 3) (*.f64 x.im (*.f64 -3 (*.f64 x.re x.im))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x.im (*.f64 -3 (*.f64 x.re x.im))) (pow.f64 x.re 3))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x.im (*.f64 -3 (*.f64 x.re x.im))) 1) (pow.f64 x.re 3))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 x.im (*.f64 -3 (*.f64 x.re x.im)) (pow.f64 x.re 3)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x.im (*.f64 -3 (*.f64 x.re x.im)) (pow.f64 x.re 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x.im (*.f64 -3 (*.f64 x.re x.im)) (pow.f64 x.re 3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x.im (*.f64 -3 (*.f64 x.re x.im)) (pow.f64 x.re 3))) (cbrt.f64 (pow.f64 (fma.f64 x.im (*.f64 -3 (*.f64 x.re x.im)) (pow.f64 x.re 3)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fma.f64 x.im (*.f64 -3 (*.f64 x.re x.im)) (pow.f64 x.re 3)) 2)) (cbrt.f64 (fma.f64 x.im (*.f64 -3 (*.f64 x.re x.im)) (pow.f64 x.re 3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 x.im (*.f64 -3 (*.f64 x.re x.im)) (pow.f64 x.re 3))) (sqrt.f64 (fma.f64 x.im (*.f64 -3 (*.f64 x.re x.im)) (pow.f64 x.re 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x.im (*.f64 -3 (*.f64 x.re x.im))) 3) (pow.f64 (pow.f64 x.re 3) 3)) (+.f64 (*.f64 (*.f64 x.im (*.f64 -3 (*.f64 x.re x.im))) (*.f64 x.im (*.f64 -3 (*.f64 x.re x.im)))) (-.f64 (pow.f64 x.re 6) (*.f64 (*.f64 x.im (*.f64 -3 (*.f64 x.re x.im))) (pow.f64 x.re 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 x.im (*.f64 -3 (*.f64 x.re x.im))) (*.f64 x.im (*.f64 -3 (*.f64 x.re x.im)))) (pow.f64 x.re 6)) (-.f64 (*.f64 x.im (*.f64 -3 (*.f64 x.re x.im))) (pow.f64 x.re 3)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x.im (*.f64 -3 (*.f64 x.re x.im)) (pow.f64 x.re 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x.im (*.f64 -3 (*.f64 x.re x.im)) (pow.f64 x.re 3)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 x.im (*.f64 -3 (*.f64 x.re x.im)) (pow.f64 x.re 3))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 x.im (*.f64 -3 (*.f64 x.re x.im)) (pow.f64 x.re 3))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x.im (*.f64 -3 (*.f64 x.re x.im)) (pow.f64 x.re 3)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x.im (*.f64 -3 (*.f64 x.re x.im)) (pow.f64 x.re 3))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 x.im (*.f64 -3 (*.f64 x.re x.im)) (pow.f64 x.re 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x.im (*.f64 -3 (*.f64 x.re x.im)) (pow.f64 x.re 3)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x.im (*.f64 -3 (*.f64 x.re x.im)) (pow.f64 x.re 3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 x.im (*.f64 -3 (*.f64 x.re x.im)) (pow.f64 x.re 3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 x.im (*.f64 -3 (*.f64 x.re x.im)) (pow.f64 x.re 3))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x.im (*.f64 -3 (*.f64 x.re x.im)) (pow.f64 x.re 3)))))))) |
| 1× | egg-herbie |
| 973× | fma-def_binary64 |
| 593× | unswap-sqr_binary64 |
| 340× | fma-neg_binary64 |
| 336× | cancel-sign-sub-inv_binary64 |
| 254× | distribute-rgt-neg-in_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 330 |
| 1 | 35 | 330 |
| 2 | 88 | 294 |
| 3 | 245 | 294 |
| 4 | 709 | 294 |
| 5 | 1449 | 294 |
| 6 | 2170 | 294 |
| 7 | 3404 | 294 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 x.re 3) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(*.f64 -3 (*.f64 x.re (pow.f64 x.im 2))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(*.f64 -3 (*.f64 x.re (pow.f64 x.im 2))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(*.f64 -3 (*.f64 x.re (pow.f64 x.im 2))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(pow.f64 x.re 3) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(pow.f64 x.re 3) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
| Outputs |
|---|
(pow.f64 x.re 3) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(-.f64 (pow.f64 x.re 3) (*.f64 (*.f64 3 x.re) (*.f64 x.im x.im))) |
(+.f64 (pow.f64 x.re 3) (*.f64 x.re (*.f64 (*.f64 x.im x.im) -3))) |
(fma.f64 x.re (*.f64 (*.f64 x.im x.im) -3) (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3))) |
(fma.f64 x.re (*.f64 x.im (*.f64 x.im -3)) (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 (*.f64 x.im x.im) -3 (*.f64 x.re x.re))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(-.f64 (pow.f64 x.re 3) (*.f64 (*.f64 3 x.re) (*.f64 x.im x.im))) |
(+.f64 (pow.f64 x.re 3) (*.f64 x.re (*.f64 (*.f64 x.im x.im) -3))) |
(fma.f64 x.re (*.f64 (*.f64 x.im x.im) -3) (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3))) |
(fma.f64 x.re (*.f64 x.im (*.f64 x.im -3)) (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 (*.f64 x.im x.im) -3 (*.f64 x.re x.re))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(-.f64 (pow.f64 x.re 3) (*.f64 (*.f64 3 x.re) (*.f64 x.im x.im))) |
(+.f64 (pow.f64 x.re 3) (*.f64 x.re (*.f64 (*.f64 x.im x.im) -3))) |
(fma.f64 x.re (*.f64 (*.f64 x.im x.im) -3) (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3))) |
(fma.f64 x.re (*.f64 x.im (*.f64 x.im -3)) (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 (*.f64 x.im x.im) -3 (*.f64 x.re x.re))) |
(*.f64 -3 (*.f64 x.re (pow.f64 x.im 2))) |
(*.f64 (*.f64 x.re (*.f64 x.im x.im)) -3) |
(*.f64 x.re (*.f64 (*.f64 x.im x.im) -3)) |
(*.f64 x.im (*.f64 (*.f64 x.re x.im) -3)) |
(*.f64 x.im (*.f64 -3 (*.f64 x.re x.im))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(-.f64 (pow.f64 x.re 3) (*.f64 (*.f64 3 x.re) (*.f64 x.im x.im))) |
(+.f64 (pow.f64 x.re 3) (*.f64 x.re (*.f64 (*.f64 x.im x.im) -3))) |
(fma.f64 x.re (*.f64 (*.f64 x.im x.im) -3) (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3))) |
(fma.f64 x.re (*.f64 x.im (*.f64 x.im -3)) (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 (*.f64 x.im x.im) -3 (*.f64 x.re x.re))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(-.f64 (pow.f64 x.re 3) (*.f64 (*.f64 3 x.re) (*.f64 x.im x.im))) |
(+.f64 (pow.f64 x.re 3) (*.f64 x.re (*.f64 (*.f64 x.im x.im) -3))) |
(fma.f64 x.re (*.f64 (*.f64 x.im x.im) -3) (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3))) |
(fma.f64 x.re (*.f64 x.im (*.f64 x.im -3)) (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 (*.f64 x.im x.im) -3 (*.f64 x.re x.re))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(-.f64 (pow.f64 x.re 3) (*.f64 (*.f64 3 x.re) (*.f64 x.im x.im))) |
(+.f64 (pow.f64 x.re 3) (*.f64 x.re (*.f64 (*.f64 x.im x.im) -3))) |
(fma.f64 x.re (*.f64 (*.f64 x.im x.im) -3) (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3))) |
(fma.f64 x.re (*.f64 x.im (*.f64 x.im -3)) (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 (*.f64 x.im x.im) -3 (*.f64 x.re x.re))) |
(*.f64 -3 (*.f64 x.re (pow.f64 x.im 2))) |
(*.f64 (*.f64 x.re (*.f64 x.im x.im)) -3) |
(*.f64 x.re (*.f64 (*.f64 x.im x.im) -3)) |
(*.f64 x.im (*.f64 (*.f64 x.re x.im) -3)) |
(*.f64 x.im (*.f64 -3 (*.f64 x.re x.im))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(-.f64 (pow.f64 x.re 3) (*.f64 (*.f64 3 x.re) (*.f64 x.im x.im))) |
(+.f64 (pow.f64 x.re 3) (*.f64 x.re (*.f64 (*.f64 x.im x.im) -3))) |
(fma.f64 x.re (*.f64 (*.f64 x.im x.im) -3) (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3))) |
(fma.f64 x.re (*.f64 x.im (*.f64 x.im -3)) (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 (*.f64 x.im x.im) -3 (*.f64 x.re x.re))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(-.f64 (pow.f64 x.re 3) (*.f64 (*.f64 3 x.re) (*.f64 x.im x.im))) |
(+.f64 (pow.f64 x.re 3) (*.f64 x.re (*.f64 (*.f64 x.im x.im) -3))) |
(fma.f64 x.re (*.f64 (*.f64 x.im x.im) -3) (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3))) |
(fma.f64 x.re (*.f64 x.im (*.f64 x.im -3)) (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 (*.f64 x.im x.im) -3 (*.f64 x.re x.re))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(-.f64 (pow.f64 x.re 3) (*.f64 (*.f64 3 x.re) (*.f64 x.im x.im))) |
(+.f64 (pow.f64 x.re 3) (*.f64 x.re (*.f64 (*.f64 x.im x.im) -3))) |
(fma.f64 x.re (*.f64 (*.f64 x.im x.im) -3) (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3))) |
(fma.f64 x.re (*.f64 x.im (*.f64 x.im -3)) (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 (*.f64 x.im x.im) -3 (*.f64 x.re x.re))) |
(*.f64 -3 (*.f64 x.re (pow.f64 x.im 2))) |
(*.f64 (*.f64 x.re (*.f64 x.im x.im)) -3) |
(*.f64 x.re (*.f64 (*.f64 x.im x.im) -3)) |
(*.f64 x.im (*.f64 (*.f64 x.re x.im) -3)) |
(*.f64 x.im (*.f64 -3 (*.f64 x.re x.im))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(-.f64 (pow.f64 x.re 3) (*.f64 (*.f64 3 x.re) (*.f64 x.im x.im))) |
(+.f64 (pow.f64 x.re 3) (*.f64 x.re (*.f64 (*.f64 x.im x.im) -3))) |
(fma.f64 x.re (*.f64 (*.f64 x.im x.im) -3) (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3))) |
(fma.f64 x.re (*.f64 x.im (*.f64 x.im -3)) (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 (*.f64 x.im x.im) -3 (*.f64 x.re x.re))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(-.f64 (pow.f64 x.re 3) (*.f64 (*.f64 3 x.re) (*.f64 x.im x.im))) |
(+.f64 (pow.f64 x.re 3) (*.f64 x.re (*.f64 (*.f64 x.im x.im) -3))) |
(fma.f64 x.re (*.f64 (*.f64 x.im x.im) -3) (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3))) |
(fma.f64 x.re (*.f64 x.im (*.f64 x.im -3)) (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 (*.f64 x.im x.im) -3 (*.f64 x.re x.re))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(-.f64 (pow.f64 x.re 3) (*.f64 (*.f64 3 x.re) (*.f64 x.im x.im))) |
(+.f64 (pow.f64 x.re 3) (*.f64 x.re (*.f64 (*.f64 x.im x.im) -3))) |
(fma.f64 x.re (*.f64 (*.f64 x.im x.im) -3) (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3))) |
(fma.f64 x.re (*.f64 x.im (*.f64 x.im -3)) (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 (*.f64 x.im x.im) -3 (*.f64 x.re x.re))) |
(pow.f64 x.re 3) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(-.f64 (pow.f64 x.re 3) (*.f64 (*.f64 3 x.re) (*.f64 x.im x.im))) |
(+.f64 (pow.f64 x.re 3) (*.f64 x.re (*.f64 (*.f64 x.im x.im) -3))) |
(fma.f64 x.re (*.f64 (*.f64 x.im x.im) -3) (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3))) |
(fma.f64 x.re (*.f64 x.im (*.f64 x.im -3)) (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 (*.f64 x.im x.im) -3 (*.f64 x.re x.re))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(-.f64 (pow.f64 x.re 3) (*.f64 (*.f64 3 x.re) (*.f64 x.im x.im))) |
(+.f64 (pow.f64 x.re 3) (*.f64 x.re (*.f64 (*.f64 x.im x.im) -3))) |
(fma.f64 x.re (*.f64 (*.f64 x.im x.im) -3) (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3))) |
(fma.f64 x.re (*.f64 x.im (*.f64 x.im -3)) (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 (*.f64 x.im x.im) -3 (*.f64 x.re x.re))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(-.f64 (pow.f64 x.re 3) (*.f64 (*.f64 3 x.re) (*.f64 x.im x.im))) |
(+.f64 (pow.f64 x.re 3) (*.f64 x.re (*.f64 (*.f64 x.im x.im) -3))) |
(fma.f64 x.re (*.f64 (*.f64 x.im x.im) -3) (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3))) |
(fma.f64 x.re (*.f64 x.im (*.f64 x.im -3)) (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 (*.f64 x.im x.im) -3 (*.f64 x.re x.re))) |
(pow.f64 x.re 3) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(-.f64 (pow.f64 x.re 3) (*.f64 (*.f64 3 x.re) (*.f64 x.im x.im))) |
(+.f64 (pow.f64 x.re 3) (*.f64 x.re (*.f64 (*.f64 x.im x.im) -3))) |
(fma.f64 x.re (*.f64 (*.f64 x.im x.im) -3) (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3))) |
(fma.f64 x.re (*.f64 x.im (*.f64 x.im -3)) (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 (*.f64 x.im x.im) -3 (*.f64 x.re x.re))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(-.f64 (pow.f64 x.re 3) (*.f64 (*.f64 3 x.re) (*.f64 x.im x.im))) |
(+.f64 (pow.f64 x.re 3) (*.f64 x.re (*.f64 (*.f64 x.im x.im) -3))) |
(fma.f64 x.re (*.f64 (*.f64 x.im x.im) -3) (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3))) |
(fma.f64 x.re (*.f64 x.im (*.f64 x.im -3)) (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 (*.f64 x.im x.im) -3 (*.f64 x.re x.re))) |
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2)))) |
(-.f64 (pow.f64 x.re 3) (*.f64 (*.f64 3 x.re) (*.f64 x.im x.im))) |
(+.f64 (pow.f64 x.re 3) (*.f64 x.re (*.f64 (*.f64 x.im x.im) -3))) |
(fma.f64 x.re (*.f64 (*.f64 x.im x.im) -3) (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3))) |
(fma.f64 x.re (*.f64 x.im (*.f64 x.im -3)) (pow.f64 x.re 3)) |
(*.f64 x.re (fma.f64 (*.f64 x.im x.im) -3 (*.f64 x.re x.re))) |
6 alts after pruning (4 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 41 | 0 | 41 |
| Fresh | 0 | 4 | 4 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 41 | 6 | 47 |
| Status | Error | Program |
|---|---|---|
| 7.7b | (-.f64 (*.f64 (-.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)) x.re) (*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.im)) | |
| ▶ | 0.6b | (fma.f64 x.im (pow.f64 (cbrt.f64 (*.f64 x.im (*.f64 -3 x.re))) 3) (pow.f64 x.re 3)) |
| ✓ | 0.2b | (fma.f64 x.im (*.f64 x.im (*.f64 -3 x.re)) (pow.f64 x.re 3)) |
| 7.7b | (*.f64 x.re (fma.f64 x.re x.re (*.f64 x.im (*.f64 -3 x.im)))) | |
| ✓ | 0.2b | (fma.f64 x.im (*.f64 -3 (*.f64 x.re x.im)) (pow.f64 x.re 3)) |
| 41.3b | (/.f64 (-.f64 (*.f64 (*.f64 x.re (*.f64 -3 (*.f64 x.im x.im))) (*.f64 x.re (*.f64 -3 (*.f64 x.im x.im)))) (pow.f64 x.re 6)) (-.f64 (*.f64 x.re (*.f64 -3 (*.f64 x.im x.im))) (pow.f64 x.re 3))) |
Compiled 772 to 468 computations (39.4% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (fma.f64 x.im (pow.f64 (cbrt.f64 (*.f64 x.im (*.f64 -3 x.re))) 3) (pow.f64 x.re 3)) |
| 0.2b | (*.f64 x.im (*.f64 -3 x.re)) | |
| ✓ | 0.6b | (pow.f64 (cbrt.f64 (*.f64 x.im (*.f64 -3 x.re))) 3) |
| ✓ | 12.8b | (cbrt.f64 (*.f64 x.im (*.f64 -3 x.re))) |
18 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 20.0ms | x.re | @ | 0 | (pow.f64 (cbrt.f64 (*.f64 x.im (*.f64 -3 x.re))) 3) |
| 19.0ms | x.im | @ | 0 | (pow.f64 (cbrt.f64 (*.f64 x.im (*.f64 -3 x.re))) 3) |
| 19.0ms | x.im | @ | inf | (pow.f64 (cbrt.f64 (*.f64 x.im (*.f64 -3 x.re))) 3) |
| 18.0ms | x.re | @ | inf | (pow.f64 (cbrt.f64 (*.f64 x.im (*.f64 -3 x.re))) 3) |
| 14.0ms | x.re | @ | inf | (fma.f64 x.im (pow.f64 (cbrt.f64 (*.f64 x.im (*.f64 -3 x.re))) 3) (pow.f64 x.re 3)) |
| 1× | batch-egg-rewrite |
| 850× | log1p-expm1-u_binary64 |
| 850× | expm1-log1p-u_binary64 |
| 100× | add-sqr-sqrt_binary64 |
| 95× | pow1_binary64 |
| 94× | add-log-exp_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 30 |
| 1 | 237 | 30 |
| 2 | 2401 | 30 |
| 1× | node limit |
| Inputs |
|---|
(cbrt.f64 (*.f64 x.im (*.f64 -3 x.re))) |
(pow.f64 (cbrt.f64 (*.f64 x.im (*.f64 -3 x.re))) 3) |
(fma.f64 x.im (pow.f64 (cbrt.f64 (*.f64 x.im (*.f64 -3 x.re))) 3) (pow.f64 x.re 3)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (cbrt.f64 (*.f64 -3 (*.f64 x.re x.im))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 -3 (*.f64 x.re x.im))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cbrt.f64 (*.f64 -3 (*.f64 x.re x.im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 -3 x.re)) (cbrt.f64 x.im))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 x.im) (cbrt.f64 (*.f64 -3 x.re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (*.f64 -3 (*.f64 x.re x.im)))) (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 -3 (*.f64 x.re x.im)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (*.f64 -3 (*.f64 x.re x.im)))) (pow.f64 (pow.f64 (cbrt.f64 (*.f64 -3 (*.f64 x.re x.im))) 2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 -3 (*.f64 x.re x.im)))) 2) (cbrt.f64 (cbrt.f64 (*.f64 -3 (*.f64 x.re x.im)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 -3 (*.f64 x.re x.im)) 1/6) (pow.f64 (*.f64 -3 (*.f64 x.re x.im)) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x.im -3)) (cbrt.f64 x.re))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (*.f64 -3 (*.f64 x.re x.im))) 2) 1/3) (cbrt.f64 (cbrt.f64 (*.f64 -3 (*.f64 x.re x.im)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (cbrt.f64 (*.f64 -3 (*.f64 x.re x.im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (*.f64 -3 (*.f64 x.re x.im))) 1/3) (pow.f64 (sqrt.f64 (*.f64 -3 (*.f64 x.re x.im))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 x.im -3) 1/3) (cbrt.f64 x.re))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 -3 (*.f64 x.re x.im)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 -3 (*.f64 x.re x.im))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 -3 (*.f64 x.re x.im)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 -3 (*.f64 x.re x.im)) 1/6) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cbrt.f64 (*.f64 -3 (*.f64 x.re x.im))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cbrt.f64 (*.f64 -3 (*.f64 x.re x.im)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (cbrt.f64 (*.f64 -3 (*.f64 x.re x.im))))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cbrt.f64 (*.f64 -3 (*.f64 x.re x.im)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cbrt.f64 (*.f64 -3 (*.f64 x.re x.im)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 -3 (*.f64 x.re x.im))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 -3 (*.f64 x.re x.im)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cbrt.f64 (*.f64 -3 (*.f64 x.re x.im))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 -3 (*.f64 x.re x.im)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x.im (*.f64 -3 x.re))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -3 (*.f64 x.re x.im))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x.re (*.f64 x.im -3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 -3 x.re) x.im)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 -3 (*.f64 x.re x.im)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 -3 (*.f64 x.re x.im))) (pow.f64 (cbrt.f64 (*.f64 -3 (*.f64 x.re x.im))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 -3 (*.f64 x.re x.im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 -3 (*.f64 x.re x.im))) 2) (cbrt.f64 (*.f64 -3 (*.f64 x.re x.im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 9 (*.f64 x.re x.re))) (*.f64 (cbrt.f64 (*.f64 -3 x.re)) x.im))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 x.im) (*.f64 (cbrt.f64 (*.f64 -3 x.re)) (pow.f64 (cbrt.f64 (*.f64 -3 (*.f64 x.re x.im))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x.im x.im)) (*.f64 (cbrt.f64 x.im) (*.f64 -3 x.re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 -3 (*.f64 x.re x.im)))) 2) (*.f64 (cbrt.f64 (cbrt.f64 (*.f64 -3 (*.f64 x.re x.im)))) (pow.f64 (cbrt.f64 (*.f64 -3 (*.f64 x.re x.im))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 -3 x.re)) (*.f64 (sqrt.f64 (*.f64 -3 x.re)) x.im))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x.im) (*.f64 (sqrt.f64 x.im) (*.f64 -3 x.re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 -3 (*.f64 x.re x.im))) (sqrt.f64 (*.f64 -3 (*.f64 x.re x.im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 -3 (*.f64 x.re x.im)) 1/6) (*.f64 (pow.f64 (*.f64 -3 (*.f64 x.re x.im)) 1/6) (pow.f64 (cbrt.f64 (*.f64 -3 (*.f64 x.re x.im))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x.im -3) x.re)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 -3 (*.f64 x.re x.im)))) 2) 3) (cbrt.f64 (*.f64 -3 (*.f64 x.re x.im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (*.f64 -3 (*.f64 x.re x.im)) 1/6) 3) (pow.f64 (pow.f64 (*.f64 -3 (*.f64 x.re x.im)) 1/6) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x.im x.re) -3)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x.im (cbrt.f64 (*.f64 9 (*.f64 x.re x.re)))) (cbrt.f64 (*.f64 -3 x.re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x.im (sqrt.f64 (*.f64 -3 x.re))) (sqrt.f64 (*.f64 -3 x.re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 -3 x.re) (cbrt.f64 (*.f64 x.im x.im))) (cbrt.f64 x.im))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 -3 x.re) (sqrt.f64 x.im)) (sqrt.f64 x.im))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (*.f64 -3 (*.f64 x.re x.im))) 2) 1) (cbrt.f64 (*.f64 -3 (*.f64 x.re x.im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (*.f64 -3 (*.f64 x.re x.im))) 2) (cbrt.f64 x.im)) (cbrt.f64 (*.f64 -3 x.re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (*.f64 -3 (*.f64 x.re x.im))) 2) (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 -3 (*.f64 x.re x.im)))) 2)) (cbrt.f64 (cbrt.f64 (*.f64 -3 (*.f64 x.re x.im)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (*.f64 -3 (*.f64 x.re x.im))) 2) (pow.f64 (*.f64 -3 (*.f64 x.re x.im)) 1/6)) (pow.f64 (*.f64 -3 (*.f64 x.re x.im)) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 x.im -3) 1) x.re)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 x.im -3) (pow.f64 (cbrt.f64 x.re) 2)) (cbrt.f64 x.re))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 x.im -3) (sqrt.f64 x.re)) (sqrt.f64 x.re))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 -3 (*.f64 x.re x.im)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (*.f64 x.im -3)) x.re))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 -3 (*.f64 x.re x.im)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 -3 (*.f64 x.re x.im)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x.im 3) (pow.f64 (*.f64 -3 x.re) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 -3 x.re) 3) (pow.f64 x.im 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 -3 (*.f64 x.re x.im))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 -3 (*.f64 x.re x.im))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 -3 (*.f64 x.re x.im))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 -3 (*.f64 x.re x.im)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 x.re 3) (*.f64 x.im (*.f64 -3 (*.f64 x.re x.im))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x.im (*.f64 -3 (*.f64 x.re x.im))) (pow.f64 x.re 3))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x.im (*.f64 -3 (*.f64 x.re x.im))) 1) (pow.f64 x.re 3))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 x.im (*.f64 -3 (*.f64 x.re x.im)) (pow.f64 x.re 3)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x.im (*.f64 -3 (*.f64 x.re x.im)) (pow.f64 x.re 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x.im (*.f64 -3 (*.f64 x.re x.im)) (pow.f64 x.re 3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x.im (*.f64 -3 (*.f64 x.re x.im)) (pow.f64 x.re 3))) (pow.f64 (cbrt.f64 (fma.f64 x.im (*.f64 -3 (*.f64 x.re x.im)) (pow.f64 x.re 3))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x.im (*.f64 -3 (*.f64 x.re x.im)) (pow.f64 x.re 3))) 2) (cbrt.f64 (fma.f64 x.im (*.f64 -3 (*.f64 x.re x.im)) (pow.f64 x.re 3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 x.im (*.f64 -3 (*.f64 x.re x.im)) (pow.f64 x.re 3))) (sqrt.f64 (fma.f64 x.im (*.f64 -3 (*.f64 x.re x.im)) (pow.f64 x.re 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x.im (*.f64 -3 (*.f64 x.re x.im))) 3) (pow.f64 (pow.f64 x.re 3) 3)) (+.f64 (*.f64 (*.f64 x.im (*.f64 -3 (*.f64 x.re x.im))) (*.f64 x.im (*.f64 -3 (*.f64 x.re x.im)))) (-.f64 (pow.f64 x.re 6) (*.f64 (*.f64 x.im (*.f64 -3 (*.f64 x.re x.im))) (pow.f64 x.re 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 x.im (*.f64 -3 (*.f64 x.re x.im))) (*.f64 x.im (*.f64 -3 (*.f64 x.re x.im)))) (pow.f64 x.re 6)) (-.f64 (*.f64 x.im (*.f64 -3 (*.f64 x.re x.im))) (pow.f64 x.re 3)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x.im (*.f64 -3 (*.f64 x.re x.im)) (pow.f64 x.re 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x.im (*.f64 -3 (*.f64 x.re x.im)) (pow.f64 x.re 3)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 x.im (*.f64 -3 (*.f64 x.re x.im)) (pow.f64 x.re 3))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 x.im (*.f64 -3 (*.f64 x.re x.im)) (pow.f64 x.re 3))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x.im (*.f64 -3 (*.f64 x.re x.im)) (pow.f64 x.re 3)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x.im (*.f64 -3 (*.f64 x.re x.im)) (pow.f64 x.re 3))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 x.im (*.f64 -3 (*.f64 x.re x.im)) (pow.f64 x.re 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x.im (*.f64 -3 (*.f64 x.re x.im)) (pow.f64 x.re 3)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x.im (*.f64 -3 (*.f64 x.re x.im)) (pow.f64 x.re 3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 x.im (*.f64 -3 (*.f64 x.re x.im)) (pow.f64 x.re 3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 x.im (*.f64 -3 (*.f64 x.re x.im)) (pow.f64 x.re 3))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x.im (*.f64 -3 (*.f64 x.re x.im)) (pow.f64 x.re 3)))))))) |
| 1× | egg-herbie |
| 733× | sqr-pow_binary64 |
| 410× | cube-prod_binary64 |
| 362× | unswap-sqr_binary64 |
| 313× | pow-sqr_binary64 |
| 280× | fabs-mul_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 4 | 28 |
| 1 | 12 | 28 |
| 2 | 17 | 28 |
| 3 | 26 | 28 |
| 4 | 47 | 28 |
| 5 | 122 | 28 |
| 6 | 499 | 28 |
| 7 | 1160 | 28 |
| 8 | 1247 | 28 |
| 9 | 1380 | 28 |
| 10 | 1538 | 28 |
| 11 | 1766 | 28 |
| 12 | 2088 | 28 |
| 13 | 2509 | 28 |
| 14 | 3009 | 28 |
| 15 | 3602 | 28 |
| 16 | 4324 | 28 |
| 17 | 4645 | 28 |
| 18 | 4929 | 28 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 x.re 3) |
(pow.f64 x.re 3) |
(pow.f64 x.re 3) |
(pow.f64 x.re 3) |
(pow.f64 x.re 3) |
(pow.f64 x.re 3) |
(pow.f64 x.re 3) |
| Outputs |
|---|
(pow.f64 x.re 3) |
(pow.f64 x.re 3) |
(pow.f64 x.re 3) |
(pow.f64 x.re 3) |
(pow.f64 x.re 3) |
(pow.f64 x.re 3) |
(pow.f64 x.re 3) |
6 alts after pruning (4 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 107 | 2 | 109 |
| Fresh | 1 | 2 | 3 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 2 | 2 |
| Total | 109 | 6 | 115 |
| Status | Error | Program |
|---|---|---|
| 0.2b | (fma.f64 x.im (*.f64 x.re (*.f64 x.im -3)) (pow.f64 x.re 3)) | |
| ✓ | 0.2b | (fma.f64 x.im (*.f64 x.im (*.f64 -3 x.re)) (pow.f64 x.re 3)) |
| 7.7b | (*.f64 x.re (fma.f64 x.re x.re (*.f64 x.im (*.f64 -3 x.im)))) | |
| ✓ | 0.2b | (fma.f64 x.im (*.f64 -3 (*.f64 x.re x.im)) (pow.f64 x.re 3)) |
| 0.7b | (fma.f64 x.im (pow.f64 (*.f64 (cbrt.f64 (*.f64 -3 x.re)) (cbrt.f64 x.im)) 3) (pow.f64 x.re 3)) | |
| 41.3b | (/.f64 (-.f64 (*.f64 (*.f64 x.re (*.f64 -3 (*.f64 x.im x.im))) (*.f64 x.re (*.f64 -3 (*.f64 x.im x.im)))) (pow.f64 x.re 6)) (-.f64 (*.f64 x.re (*.f64 -3 (*.f64 x.im x.im))) (pow.f64 x.re 3))) |
Compiled 1890 to 1224 computations (35.2% saved)
Total 0.1b remaining (75.9%)
Threshold costs 0.1b (75.9%)
Compiled 942 to 633 computations (32.8% saved)
| 1× | egg-herbie |
| 2× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 14 |
| 1 | 11 | 14 |
| 1× | saturated |
| Inputs |
|---|
(fma.f64 x.im (*.f64 x.im (*.f64 -3 x.re)) (pow.f64 x.re 3)) |
| Outputs |
|---|
(fma.f64 x.im (*.f64 x.im (*.f64 -3 x.re)) (pow.f64 x.re 3)) |
| 1× | fuel |
Compiled 121 to 79 computations (34.7% saved)
Loading profile data...