Time bar (total: 5.3s)
| 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 |
| 74.9% | 25% | 0.1% | 4 |
| 74.9% | 25% | 0.1% | 5 |
| 74.9% | 18.7% | 6.3% | 6 |
| 74.9% | 18.7% | 6.3% | 7 |
| 74.9% | 15.6% | 9.5% | 8 |
| 74.9% | 15.6% | 9.5% | 9 |
| 74.9% | 14% | 11% | 10 |
| 74.9% | 14% | 11% | 11 |
| 74.9% | 13.3% | 11.8% | 12 |
Compiled 8 to 6 computations (25% saved)
| 870.0ms | 6192× | body | 256 | valid |
| 718.0ms | 1364× | body | 1024 | valid |
| 213.0ms | 698× | body | 512 | valid |
| 205.0ms | 664× | body | 1024 | invalid |
| 89.0ms | 360× | body | 512 | invalid |
| 62.0ms | 386× | body | 256 | invalid |
| 2.0ms | 2× | body | 2048 | valid |
| 2× | egg-herbie |
| 2× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 16 |
| 1 | 11 | 16 |
| 0 | 2 | 2 |
| 1× | saturated |
| 1× | saturated |
| Inputs |
|---|
0 |
1 |
| Outputs |
|---|
0 |
1 |
| Inputs |
|---|
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (exp.f64 im) (cos.f64 re)) |
| Outputs |
|---|
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (exp.f64 im) (cos.f64 re)) |
Compiled 9 to 7 computations (22.2% saved)
| 1× | egg-herbie |
| 1× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 8 |
| 1 | 7 | 8 |
| 1× | saturated |
| Inputs |
|---|
(*.f64 (exp.f64 re) (cos.f64 im)) |
| Outputs |
|---|
(*.f64 (exp.f64 re) (cos.f64 im)) |
Compiled 7 to 5 computations (28.6% saved)
2 alts after pruning (2 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 1 | 1 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 0 | 0 |
| Total | 0 | 2 | 2 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.0b | (*.f64 (exp.f64 re) (cos.f64 im)) |
Compiled 7 to 5 computations (28.6% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (*.f64 (exp.f64 re) (cos.f64 im)) | |
| ✓ | 0.0b | (*.f64 (exp.f64 re) (cos.f64 im)) |
Compiled 13 to 5 computations (61.5% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | im | @ | 0 | (*.f64 (exp.f64 re) (cos.f64 im)) |
| 1.0ms | re | @ | inf | (*.f64 (exp.f64 re) (cos.f64 im)) |
| 1.0ms | re | @ | 0 | (*.f64 (exp.f64 re) (cos.f64 im)) |
| 1.0ms | im | @ | inf | (*.f64 (exp.f64 re) (cos.f64 im)) |
| 0.0ms | re | @ | -inf | (*.f64 (exp.f64 re) (cos.f64 im)) |
| 1× | batch-egg-rewrite |
| 530× | pow1_binary64 |
| 504× | add-sqr-sqrt_binary64 |
| 483× | add-log-exp_binary64 |
| 483× | log1p-expm1-u_binary64 |
| 483× | expm1-log1p-u_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 8 |
| 1 | 113 | 8 |
| 2 | 1324 | 8 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (exp.f64 re) (cos.f64 im)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (exp.f64 re) (cos.f64 im))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (exp.f64 re)) (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 re (log.f64 (cos.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (exp.f64 re) (cos.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (exp.f64 re) (cos.f64 im)))))))) |
| 1× | egg-herbie |
| 760× | fma-def_binary64 |
| 582× | associate-*l*_binary64 |
| 568× | distribute-lft-out_binary64 |
| 524× | distribute-rgt-out_binary64 |
| 448× | distribute-rgt-in_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 39 | 152 |
| 1 | 105 | 150 |
| 2 | 269 | 142 |
| 3 | 868 | 122 |
| 4 | 3279 | 118 |
| 5 | 5667 | 118 |
| 6 | 7103 | 118 |
| 7 | 7527 | 118 |
| 1× | node limit |
| Inputs |
|---|
(cos.f64 im) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))) |
(+.f64 (*.f64 1/6 (*.f64 (cos.f64 im) (pow.f64 re 3))) (+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)))) |
(exp.f64 re) |
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (pow.f64 im 2))) (exp.f64 re)) |
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (pow.f64 im 2))) (+.f64 (*.f64 1/24 (*.f64 (exp.f64 re) (pow.f64 im 4))) (exp.f64 re))) |
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (pow.f64 im 2))) (+.f64 (*.f64 1/24 (*.f64 (exp.f64 re) (pow.f64 im 4))) (+.f64 (exp.f64 re) (*.f64 -1/720 (*.f64 (exp.f64 re) (pow.f64 im 6)))))) |
| Outputs |
|---|
(cos.f64 im) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(fma.f64 (cos.f64 im) re (cos.f64 im)) |
(*.f64 (+.f64 re 1) (cos.f64 im)) |
(*.f64 (cos.f64 im) (+.f64 re 1)) |
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))) |
(fma.f64 1/2 (*.f64 (cos.f64 im) (*.f64 re re)) (fma.f64 (cos.f64 im) re (cos.f64 im))) |
(fma.f64 1/2 (*.f64 (cos.f64 im) (*.f64 re re)) (*.f64 (+.f64 re 1) (cos.f64 im))) |
(*.f64 (cos.f64 im) (+.f64 (+.f64 re 1) (*.f64 re (*.f64 re 1/2)))) |
(*.f64 (cos.f64 im) (fma.f64 1/2 (*.f64 re re) (+.f64 re 1))) |
(fma.f64 (cos.f64 im) (fma.f64 re (*.f64 re 1/2) re) (cos.f64 im)) |
(+.f64 (*.f64 1/6 (*.f64 (cos.f64 im) (pow.f64 re 3))) (+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)))) |
(fma.f64 1/6 (*.f64 (cos.f64 im) (pow.f64 re 3)) (fma.f64 1/2 (*.f64 (cos.f64 im) (*.f64 re re)) (fma.f64 (cos.f64 im) re (cos.f64 im)))) |
(fma.f64 1/6 (*.f64 (cos.f64 im) (pow.f64 re 3)) (fma.f64 1/2 (*.f64 (cos.f64 im) (*.f64 re re)) (*.f64 (+.f64 re 1) (cos.f64 im)))) |
(fma.f64 (cos.f64 im) (*.f64 re (*.f64 re 1/2)) (*.f64 (cos.f64 im) (+.f64 (*.f64 1/6 (pow.f64 re 3)) (+.f64 re 1)))) |
(*.f64 (cos.f64 im) (+.f64 (+.f64 re 1) (*.f64 (*.f64 re re) (+.f64 1/2 (*.f64 re 1/6))))) |
(*.f64 (cos.f64 im) (+.f64 (fma.f64 1/6 (pow.f64 re 3) 1) (fma.f64 re (*.f64 re 1/2) re))) |
(exp.f64 re) |
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (pow.f64 im 2))) (exp.f64 re)) |
(fma.f64 -1/2 (*.f64 (exp.f64 re) (*.f64 im im)) (exp.f64 re)) |
(fma.f64 -1/2 (*.f64 im (*.f64 im (exp.f64 re))) (exp.f64 re)) |
(fma.f64 (exp.f64 re) (*.f64 im (*.f64 im -1/2)) (exp.f64 re)) |
(*.f64 (exp.f64 re) (fma.f64 im (*.f64 im -1/2) 1)) |
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (pow.f64 im 2))) (+.f64 (*.f64 1/24 (*.f64 (exp.f64 re) (pow.f64 im 4))) (exp.f64 re))) |
(fma.f64 -1/2 (*.f64 (exp.f64 re) (*.f64 im im)) (fma.f64 1/24 (*.f64 (exp.f64 re) (pow.f64 im 4)) (exp.f64 re))) |
(fma.f64 -1/2 (*.f64 im (*.f64 im (exp.f64 re))) (fma.f64 1/24 (*.f64 (exp.f64 re) (pow.f64 im 4)) (exp.f64 re))) |
(+.f64 (exp.f64 re) (*.f64 (exp.f64 re) (+.f64 (*.f64 im (*.f64 im -1/2)) (*.f64 1/24 (pow.f64 im 4))))) |
(*.f64 (exp.f64 re) (+.f64 (*.f64 im (*.f64 im -1/2)) (fma.f64 1/24 (pow.f64 im 4) 1))) |
(*.f64 (exp.f64 re) (+.f64 1 (fma.f64 im (*.f64 im -1/2) (*.f64 1/24 (pow.f64 im 4))))) |
(*.f64 (exp.f64 re) (+.f64 (*.f64 -1/2 (*.f64 im im)) (fma.f64 1/24 (pow.f64 im 4) 1))) |
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (pow.f64 im 2))) (+.f64 (*.f64 1/24 (*.f64 (exp.f64 re) (pow.f64 im 4))) (+.f64 (exp.f64 re) (*.f64 -1/720 (*.f64 (exp.f64 re) (pow.f64 im 6)))))) |
(fma.f64 -1/2 (*.f64 (exp.f64 re) (*.f64 im im)) (+.f64 (fma.f64 1/24 (*.f64 (exp.f64 re) (pow.f64 im 4)) (exp.f64 re)) (*.f64 -1/720 (*.f64 (exp.f64 re) (pow.f64 im 6))))) |
(fma.f64 -1/2 (*.f64 im (*.f64 im (exp.f64 re))) (fma.f64 1/24 (*.f64 (exp.f64 re) (pow.f64 im 4)) (fma.f64 -1/720 (*.f64 (exp.f64 re) (pow.f64 im 6)) (exp.f64 re)))) |
(+.f64 (fma.f64 (exp.f64 re) (*.f64 1/24 (pow.f64 im 4)) (exp.f64 re)) (*.f64 (exp.f64 re) (+.f64 (*.f64 -1/720 (pow.f64 im 6)) (*.f64 im (*.f64 im -1/2))))) |
(fma.f64 (exp.f64 re) (fma.f64 -1/720 (pow.f64 im 6) (*.f64 im (*.f64 im -1/2))) (*.f64 (exp.f64 re) (fma.f64 1/24 (pow.f64 im 4) 1))) |
(*.f64 (exp.f64 re) (+.f64 (fma.f64 1/24 (pow.f64 im 4) 1) (fma.f64 -1/720 (pow.f64 im 6) (*.f64 -1/2 (*.f64 im im))))) |
Compiled 275 to 138 computations (49.8% saved)
7 alts after pruning (6 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 19 | 6 | 25 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 19 | 7 | 26 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.2b | (cbrt.f64 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 3)) |
| 0.8b | (log.f64 (pow.f64 (exp.f64 (exp.f64 re)) (cos.f64 im))) | |
| ▶ | 25.9b | (*.f64 (cos.f64 im) (+.f64 re 1)) |
| ▶ | 25.8b | (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
| ▶ | 26.2b | (cos.f64 im) |
| ✓ | 0.0b | (*.f64 (exp.f64 re) (cos.f64 im)) |
| ▶ | 18.8b | (exp.f64 re) |
Compiled 95 to 69 computations (27.4% saved)
Found 6 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.2b | (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 3) | |
| 0.2b | (cbrt.f64 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 3)) | |
| 0.0b | (*.f64 (exp.f64 re) (cos.f64 im)) | |
| 0.0b | (*.f64 (exp.f64 re) (cos.f64 im)) | |
| ✓ | 0.2b | (cbrt.f64 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 3)) |
| ✓ | 0.2b | (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 3) |
Compiled 29 to 11 computations (62.1% saved)
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | re | @ | inf | (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 3) |
| 1.0ms | im | @ | 0 | (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 3) |
| 1.0ms | re | @ | 0 | (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 3) |
| 1.0ms | re | @ | -inf | (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 3) |
| 1.0ms | im | @ | -inf | (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 3) |
| 1× | batch-egg-rewrite |
| 713× | pow1_binary64 |
| 664× | add-log-exp_binary64 |
| 664× | log1p-expm1-u_binary64 |
| 664× | expm1-log1p-u_binary64 |
| 645× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 19 |
| 1 | 184 | 19 |
| 2 | 1902 | 19 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 3) |
(cbrt.f64 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 3)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 re) (*.f64 (cos.f64 im) (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 im) (*.f64 (exp.f64 re) (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (exp.f64 re) (cos.f64 im)) (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 2) (*.f64 (exp.f64 re) (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))) 2) (*.f64 (cbrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))) (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))) (*.f64 (sqrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))) (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (exp.f64 re) 3) (pow.f64 (cos.f64 im) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 (exp.f64 re) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 3/2) (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))) 2) 3) (*.f64 (exp.f64 re) (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))) 3) (pow.f64 (sqrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 2) (exp.f64 re)) (cos.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 2) (cos.f64 im)) (exp.f64 re))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 2) 1) (*.f64 (exp.f64 re) (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 2) (pow.f64 (cbrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))) 2)) (cbrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 2) (sqrt.f64 (*.f64 (exp.f64 re) (cos.f64 im)))) (sqrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 6))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 3) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 3 (+.f64 re (log.f64 (cos.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 3))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (exp.f64 re) (cos.f64 im))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 re) (cos.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 im) (exp.f64 re))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 (exp.f64 re) (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cos.f64 im)) 2) (*.f64 (cbrt.f64 (cos.f64 im)) (exp.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))) (pow.f64 (cbrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))) (pow.f64 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))) 2) (cbrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (exp.f64 re)) 2) (*.f64 (cbrt.f64 (exp.f64 re)) (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 im)) (*.f64 (sqrt.f64 (cos.f64 im)) (exp.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))) (sqrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (exp.f64 re)) (*.f64 (sqrt.f64 (exp.f64 re)) (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 2) 1/3) (cbrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (*.f64 (exp.f64 re) (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 3/2) 1/3) (pow.f64 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 3/2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (exp.f64 re) (pow.f64 (cbrt.f64 (cos.f64 im)) 2)) (cbrt.f64 (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (exp.f64 re) (sqrt.f64 (cos.f64 im))) (sqrt.f64 (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 im) (pow.f64 (cbrt.f64 (exp.f64 re)) 2)) (cbrt.f64 (exp.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 im) (sqrt.f64 (exp.f64 re))) (sqrt.f64 (exp.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (cos.f64 im)) (exp.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 re (log.f64 (cos.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (exp.f64 re) (cos.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (exp.f64 re) (cos.f64 im)))))))) |
| 1× | egg-herbie |
| 842× | fma-def_binary64 |
| 559× | associate-*l*_binary64 |
| 521× | associate-*r*_binary64 |
| 376× | unswap-sqr_binary64 |
| 327× | associate-+l+_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 101 | 820 |
| 1 | 302 | 789 |
| 2 | 1055 | 734 |
| 3 | 5734 | 724 |
| 4 | 6666 | 724 |
| 5 | 7766 | 724 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (cos.f64 im) 3) |
(+.f64 (*.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) re) (pow.f64 (cos.f64 im) 3)) |
(+.f64 (*.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) re) (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 (+.f64 (*.f64 1/2 (pow.f64 (cos.f64 im) 3)) (*.f64 4 (pow.f64 (cos.f64 im) 3))) (pow.f64 re 2)))) |
(+.f64 (*.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) re) (+.f64 (pow.f64 (cos.f64 im) 3) (+.f64 (*.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (+.f64 (*.f64 2 (pow.f64 (cos.f64 im) 3)) (+.f64 (*.f64 (+.f64 (*.f64 1/3 (pow.f64 (cos.f64 im) 2)) (pow.f64 (cos.f64 im) 2)) (cos.f64 im)) (*.f64 1/6 (pow.f64 (cos.f64 im) 3))))) (pow.f64 re 3)) (*.f64 (+.f64 (*.f64 1/2 (pow.f64 (cos.f64 im) 3)) (*.f64 4 (pow.f64 (cos.f64 im) 3))) (pow.f64 re 2))))) |
(*.f64 (pow.f64 (exp.f64 re) 3) (pow.f64 (cos.f64 im) 3)) |
(*.f64 (pow.f64 (exp.f64 re) 3) (pow.f64 (cos.f64 im) 3)) |
(*.f64 (pow.f64 (exp.f64 re) 3) (pow.f64 (cos.f64 im) 3)) |
(*.f64 (pow.f64 (exp.f64 re) 3) (pow.f64 (cos.f64 im) 3)) |
(*.f64 (pow.f64 (exp.f64 re) 3) (pow.f64 (cos.f64 im) 3)) |
(*.f64 (pow.f64 (exp.f64 re) 3) (pow.f64 (cos.f64 im) 3)) |
(*.f64 (pow.f64 (exp.f64 re) 3) (pow.f64 (cos.f64 im) 3)) |
(*.f64 (pow.f64 (exp.f64 re) 3) (pow.f64 (cos.f64 im) 3)) |
(pow.f64 (exp.f64 re) 3) |
(+.f64 (*.f64 (+.f64 (*.f64 -1 (pow.f64 (exp.f64 re) 3)) (*.f64 -1/2 (pow.f64 (exp.f64 re) 3))) (pow.f64 im 2)) (pow.f64 (exp.f64 re) 3)) |
(+.f64 (*.f64 (+.f64 (*.f64 -1 (pow.f64 (exp.f64 re) 3)) (*.f64 -1/2 (pow.f64 (exp.f64 re) 3))) (pow.f64 im 2)) (+.f64 (*.f64 (+.f64 (*.f64 (exp.f64 re) (+.f64 (*.f64 1/12 (pow.f64 (exp.f64 re) 2)) (*.f64 1/4 (pow.f64 (exp.f64 re) 2)))) (+.f64 (*.f64 1/24 (pow.f64 (exp.f64 re) 3)) (*.f64 1/2 (pow.f64 (exp.f64 re) 3)))) (pow.f64 im 4)) (pow.f64 (exp.f64 re) 3))) |
(+.f64 (*.f64 (+.f64 (*.f64 -1 (pow.f64 (exp.f64 re) 3)) (*.f64 -1/2 (pow.f64 (exp.f64 re) 3))) (pow.f64 im 2)) (+.f64 (*.f64 (+.f64 (*.f64 -1/24 (pow.f64 (exp.f64 re) 3)) (+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (+.f64 (*.f64 1/12 (pow.f64 (exp.f64 re) 2)) (*.f64 1/4 (pow.f64 (exp.f64 re) 2))))) (+.f64 (*.f64 (+.f64 (*.f64 -1/24 (pow.f64 (exp.f64 re) 2)) (*.f64 -1/360 (pow.f64 (exp.f64 re) 2))) (exp.f64 re)) (*.f64 -1/720 (pow.f64 (exp.f64 re) 3))))) (pow.f64 im 6)) (+.f64 (*.f64 (+.f64 (*.f64 (exp.f64 re) (+.f64 (*.f64 1/12 (pow.f64 (exp.f64 re) 2)) (*.f64 1/4 (pow.f64 (exp.f64 re) 2)))) (+.f64 (*.f64 1/24 (pow.f64 (exp.f64 re) 3)) (*.f64 1/2 (pow.f64 (exp.f64 re) 3)))) (pow.f64 im 4)) (pow.f64 (exp.f64 re) 3)))) |
(*.f64 (pow.f64 (exp.f64 re) 3) (pow.f64 (cos.f64 im) 3)) |
(*.f64 (pow.f64 (exp.f64 re) 3) (pow.f64 (cos.f64 im) 3)) |
(*.f64 (pow.f64 (exp.f64 re) 3) (pow.f64 (cos.f64 im) 3)) |
(*.f64 (pow.f64 (exp.f64 re) 3) (pow.f64 (cos.f64 im) 3)) |
(*.f64 (pow.f64 (exp.f64 re) 3) (pow.f64 (cos.f64 im) 3)) |
(*.f64 (pow.f64 (exp.f64 re) 3) (pow.f64 (cos.f64 im) 3)) |
(*.f64 (pow.f64 (exp.f64 re) 3) (pow.f64 (cos.f64 im) 3)) |
(*.f64 (pow.f64 (exp.f64 re) 3) (pow.f64 (cos.f64 im) 3)) |
(cos.f64 im) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))) |
(+.f64 (*.f64 1/6 (*.f64 (cos.f64 im) (pow.f64 re 3))) (+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)))) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(exp.f64 re) |
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (pow.f64 im 2))) (exp.f64 re)) |
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (pow.f64 im 2))) (+.f64 (*.f64 1/24 (*.f64 (exp.f64 re) (pow.f64 im 4))) (exp.f64 re))) |
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (pow.f64 im 2))) (+.f64 (*.f64 1/24 (*.f64 (exp.f64 re) (pow.f64 im 4))) (+.f64 (exp.f64 re) (*.f64 -1/720 (*.f64 (exp.f64 re) (pow.f64 im 6)))))) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
| Outputs |
|---|
(pow.f64 (cos.f64 im) 3) |
(+.f64 (*.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) re) (pow.f64 (cos.f64 im) 3)) |
(fma.f64 (*.f64 3 (pow.f64 (cos.f64 im) 3)) re (pow.f64 (cos.f64 im) 3)) |
(*.f64 (+.f64 (*.f64 3 re) 1) (pow.f64 (cos.f64 im) 3)) |
(+.f64 (*.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) re) (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 (+.f64 (*.f64 1/2 (pow.f64 (cos.f64 im) 3)) (*.f64 4 (pow.f64 (cos.f64 im) 3))) (pow.f64 re 2)))) |
(+.f64 (fma.f64 (*.f64 3 (pow.f64 (cos.f64 im) 3)) re (pow.f64 (cos.f64 im) 3)) (*.f64 (*.f64 (pow.f64 (cos.f64 im) 3) 9/2) (*.f64 re re))) |
(fma.f64 (*.f64 3 (pow.f64 (cos.f64 im) 3)) re (fma.f64 (*.f64 (pow.f64 (cos.f64 im) 3) 9/2) (*.f64 re re) (pow.f64 (cos.f64 im) 3))) |
(fma.f64 (pow.f64 (cos.f64 im) 3) (*.f64 (*.f64 re re) 9/2) (*.f64 (+.f64 (*.f64 3 re) 1) (pow.f64 (cos.f64 im) 3))) |
(+.f64 (*.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) re) (+.f64 (pow.f64 (cos.f64 im) 3) (+.f64 (*.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (+.f64 (*.f64 2 (pow.f64 (cos.f64 im) 3)) (+.f64 (*.f64 (+.f64 (*.f64 1/3 (pow.f64 (cos.f64 im) 2)) (pow.f64 (cos.f64 im) 2)) (cos.f64 im)) (*.f64 1/6 (pow.f64 (cos.f64 im) 3))))) (pow.f64 re 3)) (*.f64 (+.f64 (*.f64 1/2 (pow.f64 (cos.f64 im) 3)) (*.f64 4 (pow.f64 (cos.f64 im) 3))) (pow.f64 re 2))))) |
(+.f64 (fma.f64 (*.f64 3 (pow.f64 (cos.f64 im) 3)) re (pow.f64 (cos.f64 im) 3)) (fma.f64 (+.f64 (*.f64 3 (pow.f64 (cos.f64 im) 3)) (fma.f64 (*.f64 4/3 (pow.f64 (cos.f64 im) 2)) (cos.f64 im) (*.f64 (pow.f64 (cos.f64 im) 3) 1/6))) (pow.f64 re 3) (*.f64 (*.f64 (pow.f64 (cos.f64 im) 3) 9/2) (*.f64 re re)))) |
(+.f64 (fma.f64 (*.f64 (pow.f64 (cos.f64 im) 3) 9/2) (*.f64 re re) (*.f64 (fma.f64 3 (pow.f64 (cos.f64 im) 3) (fma.f64 (pow.f64 (cos.f64 im) 3) 1/6 (*.f64 4/3 (pow.f64 (cos.f64 im) 3)))) (pow.f64 re 3))) (fma.f64 (*.f64 3 (pow.f64 (cos.f64 im) 3)) re (pow.f64 (cos.f64 im) 3))) |
(+.f64 (*.f64 (*.f64 re re) (+.f64 (*.f64 (pow.f64 (cos.f64 im) 3) 9/2) (*.f64 re (fma.f64 3 (pow.f64 (cos.f64 im) 3) (*.f64 (pow.f64 (cos.f64 im) 3) 3/2))))) (*.f64 (+.f64 (*.f64 3 re) 1) (pow.f64 (cos.f64 im) 3))) |
(fma.f64 3 (*.f64 (pow.f64 (cos.f64 im) 3) re) (fma.f64 (fma.f64 3 (pow.f64 (cos.f64 im) 3) (*.f64 (pow.f64 (cos.f64 im) 3) 3/2)) (pow.f64 re 3) (*.f64 (+.f64 (*.f64 (*.f64 re re) 9/2) 1) (pow.f64 (cos.f64 im) 3)))) |
(*.f64 (pow.f64 (exp.f64 re) 3) (pow.f64 (cos.f64 im) 3)) |
(*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 (exp.f64 re) 3)) |
(*.f64 (pow.f64 (exp.f64 re) 3) (pow.f64 (cos.f64 im) 3)) |
(*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 (exp.f64 re) 3)) |
(*.f64 (pow.f64 (exp.f64 re) 3) (pow.f64 (cos.f64 im) 3)) |
(*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 (exp.f64 re) 3)) |
(*.f64 (pow.f64 (exp.f64 re) 3) (pow.f64 (cos.f64 im) 3)) |
(*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 (exp.f64 re) 3)) |
(*.f64 (pow.f64 (exp.f64 re) 3) (pow.f64 (cos.f64 im) 3)) |
(*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 (exp.f64 re) 3)) |
(*.f64 (pow.f64 (exp.f64 re) 3) (pow.f64 (cos.f64 im) 3)) |
(*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 (exp.f64 re) 3)) |
(*.f64 (pow.f64 (exp.f64 re) 3) (pow.f64 (cos.f64 im) 3)) |
(*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 (exp.f64 re) 3)) |
(*.f64 (pow.f64 (exp.f64 re) 3) (pow.f64 (cos.f64 im) 3)) |
(*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 (exp.f64 re) 3)) |
(pow.f64 (exp.f64 re) 3) |
(+.f64 (*.f64 (+.f64 (*.f64 -1 (pow.f64 (exp.f64 re) 3)) (*.f64 -1/2 (pow.f64 (exp.f64 re) 3))) (pow.f64 im 2)) (pow.f64 (exp.f64 re) 3)) |
(fma.f64 (*.f64 (pow.f64 (exp.f64 re) 3) -3/2) (*.f64 im im) (pow.f64 (exp.f64 re) 3)) |
(fma.f64 im (*.f64 (pow.f64 (exp.f64 re) 3) (*.f64 -3/2 im)) (pow.f64 (exp.f64 re) 3)) |
(*.f64 (+.f64 (*.f64 (*.f64 im im) -3/2) 1) (pow.f64 (exp.f64 re) 3)) |
(+.f64 (*.f64 (+.f64 (*.f64 -1 (pow.f64 (exp.f64 re) 3)) (*.f64 -1/2 (pow.f64 (exp.f64 re) 3))) (pow.f64 im 2)) (+.f64 (*.f64 (+.f64 (*.f64 (exp.f64 re) (+.f64 (*.f64 1/12 (pow.f64 (exp.f64 re) 2)) (*.f64 1/4 (pow.f64 (exp.f64 re) 2)))) (+.f64 (*.f64 1/24 (pow.f64 (exp.f64 re) 3)) (*.f64 1/2 (pow.f64 (exp.f64 re) 3)))) (pow.f64 im 4)) (pow.f64 (exp.f64 re) 3))) |
(fma.f64 (*.f64 (pow.f64 (exp.f64 re) 3) -3/2) (*.f64 im im) (fma.f64 (fma.f64 (exp.f64 re) (*.f64 (pow.f64 (exp.f64 re) 2) 1/3) (*.f64 (pow.f64 (exp.f64 re) 3) 13/24)) (pow.f64 im 4) (pow.f64 (exp.f64 re) 3))) |
(fma.f64 (*.f64 (pow.f64 (exp.f64 re) 3) -3/2) (*.f64 im im) (fma.f64 (fma.f64 (pow.f64 (exp.f64 re) 3) 13/24 (*.f64 (pow.f64 (exp.f64 re) 3) 1/3)) (pow.f64 im 4) (pow.f64 (exp.f64 re) 3))) |
(fma.f64 (*.f64 (pow.f64 (exp.f64 re) 3) 7/8) (pow.f64 im 4) (fma.f64 im (*.f64 (pow.f64 (exp.f64 re) 3) (*.f64 -3/2 im)) (pow.f64 (exp.f64 re) 3))) |
(fma.f64 (*.f64 (pow.f64 (exp.f64 re) 3) 7/8) (pow.f64 im 4) (*.f64 (+.f64 (*.f64 (*.f64 im im) -3/2) 1) (pow.f64 (exp.f64 re) 3))) |
(+.f64 (*.f64 (+.f64 (*.f64 -1 (pow.f64 (exp.f64 re) 3)) (*.f64 -1/2 (pow.f64 (exp.f64 re) 3))) (pow.f64 im 2)) (+.f64 (*.f64 (+.f64 (*.f64 -1/24 (pow.f64 (exp.f64 re) 3)) (+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (+.f64 (*.f64 1/12 (pow.f64 (exp.f64 re) 2)) (*.f64 1/4 (pow.f64 (exp.f64 re) 2))))) (+.f64 (*.f64 (+.f64 (*.f64 -1/24 (pow.f64 (exp.f64 re) 2)) (*.f64 -1/360 (pow.f64 (exp.f64 re) 2))) (exp.f64 re)) (*.f64 -1/720 (pow.f64 (exp.f64 re) 3))))) (pow.f64 im 6)) (+.f64 (*.f64 (+.f64 (*.f64 (exp.f64 re) (+.f64 (*.f64 1/12 (pow.f64 (exp.f64 re) 2)) (*.f64 1/4 (pow.f64 (exp.f64 re) 2)))) (+.f64 (*.f64 1/24 (pow.f64 (exp.f64 re) 3)) (*.f64 1/2 (pow.f64 (exp.f64 re) 3)))) (pow.f64 im 4)) (pow.f64 (exp.f64 re) 3)))) |
(fma.f64 (*.f64 (pow.f64 (exp.f64 re) 3) -3/2) (*.f64 im im) (fma.f64 (fma.f64 -1/24 (pow.f64 (exp.f64 re) 3) (fma.f64 -1/2 (*.f64 (exp.f64 re) (*.f64 (pow.f64 (exp.f64 re) 2) 1/3)) (fma.f64 (*.f64 (pow.f64 (exp.f64 re) 2) -2/45) (exp.f64 re) (*.f64 (pow.f64 (exp.f64 re) 3) -1/720)))) (pow.f64 im 6) (fma.f64 (fma.f64 (exp.f64 re) (*.f64 (pow.f64 (exp.f64 re) 2) 1/3) (*.f64 (pow.f64 (exp.f64 re) 3) 13/24)) (pow.f64 im 4) (pow.f64 (exp.f64 re) 3)))) |
(fma.f64 (*.f64 (pow.f64 (exp.f64 re) 3) -3/2) (*.f64 im im) (fma.f64 (fma.f64 (pow.f64 (exp.f64 re) 3) -1/24 (fma.f64 -1/2 (*.f64 (pow.f64 (exp.f64 re) 3) 1/3) (fma.f64 (pow.f64 (exp.f64 re) 3) -1/720 (*.f64 (pow.f64 (exp.f64 re) 3) -2/45)))) (pow.f64 im 6) (fma.f64 (fma.f64 (pow.f64 (exp.f64 re) 3) 13/24 (*.f64 (pow.f64 (exp.f64 re) 3) 1/3)) (pow.f64 im 4) (pow.f64 (exp.f64 re) 3)))) |
(fma.f64 (+.f64 (*.f64 (pow.f64 (exp.f64 re) 3) -11/240) (fma.f64 (pow.f64 (exp.f64 re) 3) -1/24 (*.f64 (pow.f64 (exp.f64 re) 3) -1/6))) (pow.f64 im 6) (fma.f64 (*.f64 (pow.f64 (exp.f64 re) 3) 7/8) (pow.f64 im 4) (fma.f64 im (*.f64 (pow.f64 (exp.f64 re) 3) (*.f64 -3/2 im)) (pow.f64 (exp.f64 re) 3)))) |
(fma.f64 (+.f64 (*.f64 (pow.f64 (exp.f64 re) 3) -11/240) (fma.f64 (pow.f64 (exp.f64 re) 3) -1/24 (*.f64 (pow.f64 (exp.f64 re) 3) -1/6))) (pow.f64 im 6) (fma.f64 (*.f64 (pow.f64 (exp.f64 re) 3) 7/8) (pow.f64 im 4) (*.f64 (+.f64 (*.f64 (*.f64 im im) -3/2) 1) (pow.f64 (exp.f64 re) 3)))) |
(*.f64 (pow.f64 (exp.f64 re) 3) (pow.f64 (cos.f64 im) 3)) |
(*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 (exp.f64 re) 3)) |
(*.f64 (pow.f64 (exp.f64 re) 3) (pow.f64 (cos.f64 im) 3)) |
(*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 (exp.f64 re) 3)) |
(*.f64 (pow.f64 (exp.f64 re) 3) (pow.f64 (cos.f64 im) 3)) |
(*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 (exp.f64 re) 3)) |
(*.f64 (pow.f64 (exp.f64 re) 3) (pow.f64 (cos.f64 im) 3)) |
(*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 (exp.f64 re) 3)) |
(*.f64 (pow.f64 (exp.f64 re) 3) (pow.f64 (cos.f64 im) 3)) |
(*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 (exp.f64 re) 3)) |
(*.f64 (pow.f64 (exp.f64 re) 3) (pow.f64 (cos.f64 im) 3)) |
(*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 (exp.f64 re) 3)) |
(*.f64 (pow.f64 (exp.f64 re) 3) (pow.f64 (cos.f64 im) 3)) |
(*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 (exp.f64 re) 3)) |
(*.f64 (pow.f64 (exp.f64 re) 3) (pow.f64 (cos.f64 im) 3)) |
(*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 (exp.f64 re) 3)) |
(cos.f64 im) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(fma.f64 (cos.f64 im) re (cos.f64 im)) |
(*.f64 (+.f64 re 1) (cos.f64 im)) |
(*.f64 (cos.f64 im) (+.f64 re 1)) |
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))) |
(fma.f64 1/2 (*.f64 (cos.f64 im) (*.f64 re re)) (fma.f64 (cos.f64 im) re (cos.f64 im))) |
(fma.f64 1/2 (*.f64 (cos.f64 im) (*.f64 re re)) (*.f64 (+.f64 re 1) (cos.f64 im))) |
(*.f64 (cos.f64 im) (+.f64 (*.f64 1/2 (*.f64 re re)) (+.f64 re 1))) |
(+.f64 (*.f64 1/6 (*.f64 (cos.f64 im) (pow.f64 re 3))) (+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)))) |
(fma.f64 1/6 (*.f64 (cos.f64 im) (pow.f64 re 3)) (fma.f64 1/2 (*.f64 (cos.f64 im) (*.f64 re re)) (fma.f64 (cos.f64 im) re (cos.f64 im)))) |
(fma.f64 1/6 (*.f64 (cos.f64 im) (pow.f64 re 3)) (fma.f64 1/2 (*.f64 (cos.f64 im) (*.f64 re re)) (*.f64 (+.f64 re 1) (cos.f64 im)))) |
(fma.f64 (cos.f64 im) (*.f64 1/6 (pow.f64 re 3)) (*.f64 (cos.f64 im) (+.f64 (*.f64 1/2 (*.f64 re re)) (+.f64 re 1)))) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (cos.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (cos.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (cos.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (cos.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (cos.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (cos.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (cos.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (cos.f64 im) (exp.f64 re)) |
(exp.f64 re) |
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (pow.f64 im 2))) (exp.f64 re)) |
(fma.f64 -1/2 (*.f64 (exp.f64 re) (*.f64 im im)) (exp.f64 re)) |
(fma.f64 -1/2 (*.f64 im (*.f64 im (exp.f64 re))) (exp.f64 re)) |
(fma.f64 (exp.f64 re) (*.f64 im (*.f64 im -1/2)) (exp.f64 re)) |
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (pow.f64 im 2))) (+.f64 (*.f64 1/24 (*.f64 (exp.f64 re) (pow.f64 im 4))) (exp.f64 re))) |
(fma.f64 -1/2 (*.f64 (exp.f64 re) (*.f64 im im)) (fma.f64 1/24 (*.f64 (exp.f64 re) (pow.f64 im 4)) (exp.f64 re))) |
(fma.f64 -1/2 (*.f64 im (*.f64 im (exp.f64 re))) (fma.f64 1/24 (*.f64 (exp.f64 re) (pow.f64 im 4)) (exp.f64 re))) |
(+.f64 (exp.f64 re) (*.f64 (exp.f64 re) (+.f64 (*.f64 im (*.f64 im -1/2)) (*.f64 1/24 (pow.f64 im 4))))) |
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (pow.f64 im 2))) (+.f64 (*.f64 1/24 (*.f64 (exp.f64 re) (pow.f64 im 4))) (+.f64 (exp.f64 re) (*.f64 -1/720 (*.f64 (exp.f64 re) (pow.f64 im 6)))))) |
(fma.f64 -1/2 (*.f64 (exp.f64 re) (*.f64 im im)) (+.f64 (fma.f64 1/24 (*.f64 (exp.f64 re) (pow.f64 im 4)) (exp.f64 re)) (*.f64 -1/720 (*.f64 (exp.f64 re) (pow.f64 im 6))))) |
(fma.f64 -1/2 (*.f64 im (*.f64 im (exp.f64 re))) (fma.f64 1/24 (*.f64 (exp.f64 re) (pow.f64 im 4)) (fma.f64 -1/720 (*.f64 (exp.f64 re) (pow.f64 im 6)) (exp.f64 re)))) |
(+.f64 (fma.f64 (exp.f64 re) (*.f64 1/24 (pow.f64 im 4)) (exp.f64 re)) (*.f64 (exp.f64 re) (+.f64 (*.f64 -1/720 (pow.f64 im 6)) (*.f64 im (*.f64 im -1/2))))) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (cos.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (cos.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (cos.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (cos.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (cos.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (cos.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (cos.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (cos.f64 im) (exp.f64 re)) |
Compiled 5 to 3 computations (40% saved)
Compiled 5 to 3 computations (40% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.1b | (*.f64 (cos.f64 im) (+.f64 re 1)) | |
| ✓ | 0.1b | (*.f64 (cos.f64 im) (+.f64 re 1)) |
Compiled 16 to 9 computations (43.8% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 11.0ms | re | @ | 0 | (*.f64 (cos.f64 im) (+.f64 re 1)) |
| 1.0ms | im | @ | 0 | (*.f64 (cos.f64 im) (+.f64 re 1)) |
| 1.0ms | re | @ | inf | (*.f64 (cos.f64 im) (+.f64 re 1)) |
| 0.0ms | im | @ | -inf | (*.f64 (cos.f64 im) (+.f64 re 1)) |
| 0.0ms | im | @ | inf | (*.f64 (cos.f64 im) (+.f64 re 1)) |
| 1× | batch-egg-rewrite |
| 729× | pow1_binary64 |
| 676× | log1p-expm1-u_binary64 |
| 676× | expm1-log1p-u_binary64 |
| 675× | add-log-exp_binary64 |
| 660× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 9 |
| 1 | 146 | 9 |
| 2 | 1882 | 9 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (cos.f64 im) (+.f64 re 1)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (cos.f64 im) (*.f64 (cos.f64 im) re))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (cos.f64 im) re) 1) (cos.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (cos.f64 im) (+.f64 re 1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 (cos.f64 im) re) 3) (pow.f64 (cos.f64 im) 3)) (+.f64 (*.f64 (*.f64 (cos.f64 im) re) (*.f64 (cos.f64 im) re)) (-.f64 (pow.f64 (cos.f64 im) 2) (*.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 (cos.f64 im) re) (*.f64 (cos.f64 im) re)) (pow.f64 (cos.f64 im) 2)) (-.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 1 (pow.f64 re 3)) (cos.f64 im)) (fma.f64 re re (-.f64 1 re)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (fma.f64 re re -1) (cos.f64 im)) (+.f64 re -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (cos.f64 im) (+.f64 1 (pow.f64 re 3))) (fma.f64 re re (-.f64 1 re)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (cos.f64 im) (fma.f64 re re -1)) (+.f64 re -1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cos.f64 im) (+.f64 re 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 im) (+.f64 re 1)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (cos.f64 im) (+.f64 re 1))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (cos.f64 im) (+.f64 re 1))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (cos.f64 im) (+.f64 re 1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (cos.f64 im)) (+.f64 re 1)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (cos.f64 im) (+.f64 re 1)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 (+.f64 re 1) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (+.f64 re 1) 3) (pow.f64 (cos.f64 im) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cos.f64 im) re (cos.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 re (cos.f64 im) (cos.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (log1p.f64 re) (log.f64 (cos.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (cos.f64 im) (+.f64 re 1))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (cos.f64 im) (+.f64 re 1)))))))) |
| 1× | egg-herbie |
| 773× | fma-def_binary64 |
| 749× | distribute-rgt-out_binary64 |
| 634× | distribute-rgt-in_binary64 |
| 625× | distribute-lft-in_binary64 |
| 519× | associate-*l*_binary64 |
Useful iterations: 9 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 30 | 268 |
| 1 | 78 | 262 |
| 2 | 249 | 250 |
| 3 | 919 | 243 |
| 4 | 3738 | 243 |
| 5 | 5935 | 243 |
| 6 | 6117 | 243 |
| 7 | 6356 | 243 |
| 8 | 6575 | 243 |
| 9 | 6848 | 239 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 1 re) |
(+.f64 1 (+.f64 re (*.f64 -1/2 (*.f64 (+.f64 1 re) (pow.f64 im 2))))) |
(+.f64 (*.f64 1/24 (*.f64 (+.f64 1 re) (pow.f64 im 4))) (+.f64 1 (+.f64 re (*.f64 -1/2 (*.f64 (+.f64 1 re) (pow.f64 im 2)))))) |
(+.f64 (*.f64 1/24 (*.f64 (+.f64 1 re) (pow.f64 im 4))) (+.f64 (*.f64 -1/720 (*.f64 (+.f64 1 re) (pow.f64 im 6))) (+.f64 1 (+.f64 re (*.f64 -1/2 (*.f64 (+.f64 1 re) (pow.f64 im 2))))))) |
(*.f64 (cos.f64 im) (+.f64 1 re)) |
(*.f64 (cos.f64 im) (+.f64 1 re)) |
(*.f64 (cos.f64 im) (+.f64 1 re)) |
(*.f64 (cos.f64 im) (+.f64 1 re)) |
(*.f64 (+.f64 1 re) (cos.f64 im)) |
(*.f64 (+.f64 1 re) (cos.f64 im)) |
(*.f64 (+.f64 1 re) (cos.f64 im)) |
(*.f64 (+.f64 1 re) (cos.f64 im)) |
(cos.f64 im) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(*.f64 (cos.f64 im) re) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(*.f64 (cos.f64 im) re) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
| Outputs |
|---|
(+.f64 1 re) |
(+.f64 1 (+.f64 re (*.f64 -1/2 (*.f64 (+.f64 1 re) (pow.f64 im 2))))) |
(+.f64 1 (+.f64 re (*.f64 -1/2 (*.f64 (+.f64 1 re) (*.f64 im im))))) |
(+.f64 1 (fma.f64 -1/2 (*.f64 (+.f64 1 re) (*.f64 im im)) re)) |
(+.f64 1 (fma.f64 (*.f64 im im) (fma.f64 re -1/2 -1/2) re)) |
(*.f64 (+.f64 1 re) (fma.f64 -1/2 (*.f64 im im) 1)) |
(*.f64 (+.f64 1 re) (fma.f64 im (*.f64 -1/2 im) 1)) |
(+.f64 (*.f64 1/24 (*.f64 (+.f64 1 re) (pow.f64 im 4))) (+.f64 1 (+.f64 re (*.f64 -1/2 (*.f64 (+.f64 1 re) (pow.f64 im 2)))))) |
(fma.f64 1/24 (*.f64 (+.f64 1 re) (pow.f64 im 4)) (+.f64 1 (+.f64 re (*.f64 -1/2 (*.f64 (+.f64 1 re) (*.f64 im im)))))) |
(+.f64 (fma.f64 -1/2 (*.f64 (+.f64 1 re) (*.f64 im im)) re) (fma.f64 1/24 (*.f64 (+.f64 1 re) (pow.f64 im 4)) 1)) |
(+.f64 1 (fma.f64 (pow.f64 im 4) (fma.f64 re 1/24 1/24) (fma.f64 (*.f64 im im) (fma.f64 re -1/2 -1/2) re))) |
(*.f64 (+.f64 1 re) (+.f64 (*.f64 1/24 (pow.f64 im 4)) (fma.f64 -1/2 (*.f64 im im) 1))) |
(*.f64 (+.f64 1 re) (+.f64 (*.f64 -1/2 (*.f64 im im)) (fma.f64 1/24 (pow.f64 im 4) 1))) |
(+.f64 (*.f64 1/24 (*.f64 (+.f64 1 re) (pow.f64 im 4))) (+.f64 (*.f64 -1/720 (*.f64 (+.f64 1 re) (pow.f64 im 6))) (+.f64 1 (+.f64 re (*.f64 -1/2 (*.f64 (+.f64 1 re) (pow.f64 im 2))))))) |
(fma.f64 1/24 (*.f64 (+.f64 1 re) (pow.f64 im 4)) (fma.f64 -1/720 (*.f64 (+.f64 1 re) (pow.f64 im 6)) (+.f64 1 (+.f64 re (*.f64 -1/2 (*.f64 (+.f64 1 re) (*.f64 im im))))))) |
(fma.f64 1/24 (*.f64 (+.f64 1 re) (pow.f64 im 4)) (+.f64 (fma.f64 -1/2 (*.f64 (+.f64 1 re) (*.f64 im im)) re) (fma.f64 -1/720 (*.f64 (+.f64 1 re) (pow.f64 im 6)) 1))) |
(+.f64 (fma.f64 (*.f64 im im) (fma.f64 re -1/2 -1/2) re) (fma.f64 (pow.f64 im 4) (fma.f64 re 1/24 1/24) (fma.f64 (pow.f64 im 6) (fma.f64 re -1/720 -1/720) 1))) |
(fma.f64 (+.f64 1 re) (fma.f64 1/24 (pow.f64 im 4) (*.f64 -1/720 (pow.f64 im 6))) (*.f64 (+.f64 1 re) (fma.f64 -1/2 (*.f64 im im) 1))) |
(fma.f64 (pow.f64 im 4) (fma.f64 re 1/24 1/24) (*.f64 (+.f64 (fma.f64 -1/2 (*.f64 im im) (*.f64 -1/720 (pow.f64 im 6))) 1) (+.f64 1 re))) |
(*.f64 (+.f64 1 re) (+.f64 (fma.f64 -1/2 (*.f64 im im) 1) (fma.f64 -1/720 (pow.f64 im 6) (*.f64 1/24 (pow.f64 im 4))))) |
(*.f64 (cos.f64 im) (+.f64 1 re)) |
(*.f64 (+.f64 1 re) (cos.f64 im)) |
(fma.f64 re (cos.f64 im) (cos.f64 im)) |
(*.f64 (cos.f64 im) (+.f64 1 re)) |
(*.f64 (+.f64 1 re) (cos.f64 im)) |
(fma.f64 re (cos.f64 im) (cos.f64 im)) |
(*.f64 (cos.f64 im) (+.f64 1 re)) |
(*.f64 (+.f64 1 re) (cos.f64 im)) |
(fma.f64 re (cos.f64 im) (cos.f64 im)) |
(*.f64 (cos.f64 im) (+.f64 1 re)) |
(*.f64 (+.f64 1 re) (cos.f64 im)) |
(fma.f64 re (cos.f64 im) (cos.f64 im)) |
(*.f64 (+.f64 1 re) (cos.f64 im)) |
(fma.f64 re (cos.f64 im) (cos.f64 im)) |
(*.f64 (+.f64 1 re) (cos.f64 im)) |
(fma.f64 re (cos.f64 im) (cos.f64 im)) |
(*.f64 (+.f64 1 re) (cos.f64 im)) |
(fma.f64 re (cos.f64 im) (cos.f64 im)) |
(*.f64 (+.f64 1 re) (cos.f64 im)) |
(fma.f64 re (cos.f64 im) (cos.f64 im)) |
(cos.f64 im) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(*.f64 (+.f64 1 re) (cos.f64 im)) |
(fma.f64 re (cos.f64 im) (cos.f64 im)) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(*.f64 (+.f64 1 re) (cos.f64 im)) |
(fma.f64 re (cos.f64 im) (cos.f64 im)) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(*.f64 (+.f64 1 re) (cos.f64 im)) |
(fma.f64 re (cos.f64 im) (cos.f64 im)) |
(*.f64 (cos.f64 im) re) |
(*.f64 re (cos.f64 im)) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(*.f64 (+.f64 1 re) (cos.f64 im)) |
(fma.f64 re (cos.f64 im) (cos.f64 im)) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(*.f64 (+.f64 1 re) (cos.f64 im)) |
(fma.f64 re (cos.f64 im) (cos.f64 im)) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(*.f64 (+.f64 1 re) (cos.f64 im)) |
(fma.f64 re (cos.f64 im) (cos.f64 im)) |
(*.f64 (cos.f64 im) re) |
(*.f64 re (cos.f64 im)) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(*.f64 (+.f64 1 re) (cos.f64 im)) |
(fma.f64 re (cos.f64 im) (cos.f64 im)) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(*.f64 (+.f64 1 re) (cos.f64 im)) |
(fma.f64 re (cos.f64 im) (cos.f64 im)) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(*.f64 (+.f64 1 re) (cos.f64 im)) |
(fma.f64 re (cos.f64 im) (cos.f64 im)) |
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.1b | (*.f64 (cos.f64 im) re) | |
| 0.0b | (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) | |
| ✓ | 0.0b | (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
| ✓ | 0.1b | (*.f64 (cos.f64 im) re) |
Compiled 17 to 5 computations (70.6% saved)
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | im | @ | 0 | (*.f64 (cos.f64 im) re) |
| 0.0ms | re | @ | 0 | (*.f64 (cos.f64 im) re) |
| 0.0ms | re | @ | inf | (*.f64 (cos.f64 im) re) |
| 0.0ms | im | @ | inf | (*.f64 (cos.f64 im) re) |
| 0.0ms | re | @ | -inf | (*.f64 (cos.f64 im) re) |
| 1× | batch-egg-rewrite |
| 713× | pow1_binary64 |
| 661× | add-log-exp_binary64 |
| 661× | log1p-expm1-u_binary64 |
| 661× | expm1-log1p-u_binary64 |
| 646× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 15 |
| 1 | 129 | 15 |
| 2 | 1783 | 15 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (cos.f64 im) re) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (cos.f64 im) re)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cos.f64 im) re) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (cos.f64 im) re)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (cos.f64 im) re)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 im) re) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (cos.f64 im) re) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (cos.f64 im)) re))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (cos.f64 im) re) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (cos.f64 im) re)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (cos.f64 im) re)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (cos.f64 im) re))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (cos.f64 im) (+.f64 1 re))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (*.f64 (cos.f64 im) re) 2) (*.f64 (cos.f64 im) (-.f64 re 1))) (/.f64 (pow.f64 (cos.f64 im) 2) (*.f64 (cos.f64 im) (-.f64 re 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 im) (+.f64 1 re))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 im) (+.f64 re 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 im) (+.f64 1 re)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 (cos.f64 im) (+.f64 1 re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (cos.f64 im) (+.f64 1 re))) (pow.f64 (cbrt.f64 (*.f64 (cos.f64 im) (+.f64 1 re))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 (cos.f64 im) (+.f64 1 re))) 2) (cbrt.f64 (*.f64 (cos.f64 im) (+.f64 1 re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 (cos.f64 im) (+.f64 1 re))) (sqrt.f64 (*.f64 (cos.f64 im) (+.f64 1 re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (*.f64 (cos.f64 im) re) 3) (pow.f64 (cos.f64 im) 3)) (/.f64 1 (+.f64 (pow.f64 (*.f64 (cos.f64 im) re) 2) (*.f64 (cos.f64 im) (-.f64 (cos.f64 im) (*.f64 (cos.f64 im) re))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (*.f64 (cos.f64 im) re) 2) (pow.f64 (cos.f64 im) 2)) (/.f64 1 (*.f64 (cos.f64 im) (-.f64 re 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 re 1) (cos.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (*.f64 (cos.f64 im) re) 2) (*.f64 (cos.f64 im) (-.f64 (cos.f64 im) (*.f64 (cos.f64 im) re)))) (+.f64 (pow.f64 (*.f64 (cos.f64 im) re) 3) (pow.f64 (cos.f64 im) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (*.f64 (cos.f64 im) (-.f64 re 1)) (-.f64 (pow.f64 (*.f64 (cos.f64 im) re) 2) (pow.f64 (cos.f64 im) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 (cos.f64 im) re) 3) (pow.f64 (cos.f64 im) 3)) (+.f64 (pow.f64 (*.f64 (cos.f64 im) re) 2) (*.f64 (cos.f64 im) (-.f64 (cos.f64 im) (*.f64 (cos.f64 im) re)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 (cos.f64 im) re) 3) (pow.f64 (cos.f64 im) 3)) (+.f64 (pow.f64 (cos.f64 im) 2) (-.f64 (pow.f64 (*.f64 (cos.f64 im) re) 2) (*.f64 re (pow.f64 (cos.f64 im) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 (cos.f64 im) re) 2) (pow.f64 (cos.f64 im) 2)) (*.f64 (cos.f64 im) (-.f64 re 1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 (cos.f64 im) re) 3) (pow.f64 (cos.f64 im) 3))) (neg.f64 (+.f64 (pow.f64 (*.f64 (cos.f64 im) re) 2) (*.f64 (cos.f64 im) (-.f64 (cos.f64 im) (*.f64 (cos.f64 im) re))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (cos.f64 im) re) 2) (pow.f64 (cos.f64 im) 2))) (neg.f64 (*.f64 (cos.f64 im) (-.f64 re 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (cos.f64 im) 2) (pow.f64 (*.f64 (cos.f64 im) re) 2)) (-.f64 (cos.f64 im) (*.f64 (cos.f64 im) re)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cos.f64 im) (+.f64 1 re)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 im) (+.f64 1 re)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (cos.f64 im) (+.f64 1 re))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (cos.f64 im) (+.f64 1 re))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (cos.f64 im) (+.f64 1 re)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 (cos.f64 im) (+.f64 1 re))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (cos.f64 im) (+.f64 1 re)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cos.f64 im) re (cos.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 re (cos.f64 im) (cos.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (cos.f64 im) (*.f64 (cos.f64 im) re))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 (cos.f64 im) re) (cos.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (cos.f64 im)) 2) (cbrt.f64 (cos.f64 im)) (*.f64 (cos.f64 im) re))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 (cos.f64 im) re)) 2) (cbrt.f64 (*.f64 (cos.f64 im) re)) (cos.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cos.f64 im)) (sqrt.f64 (cos.f64 im)) (*.f64 (cos.f64 im) re))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 (cos.f64 im) re)) (sqrt.f64 (*.f64 (cos.f64 im) re)) (cos.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (cos.f64 im) (+.f64 1 re))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (cos.f64 im) (+.f64 1 re))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (cos.f64 im) (+.f64 1 re)))))))) |
| 1× | egg-herbie |
| 654× | associate-+l+_binary64 |
| 541× | associate-*l*_binary64 |
| 408× | associate-*r*_binary64 |
| 379× | associate-+r+_binary64 |
| 316× | distribute-rgt-in_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 46 | 165 |
| 1 | 120 | 161 |
| 2 | 307 | 161 |
| 3 | 1214 | 161 |
| 4 | 4348 | 161 |
| 5 | 5697 | 161 |
| 6 | 6051 | 161 |
| 7 | 7736 | 161 |
| 1× | node limit |
| Inputs |
|---|
re |
(+.f64 (*.f64 -1/2 (*.f64 re (pow.f64 im 2))) re) |
(+.f64 (*.f64 -1/2 (*.f64 re (pow.f64 im 2))) (+.f64 (*.f64 1/24 (*.f64 re (pow.f64 im 4))) re)) |
(+.f64 (*.f64 -1/2 (*.f64 re (pow.f64 im 2))) (+.f64 (*.f64 1/24 (*.f64 re (pow.f64 im 4))) (+.f64 (*.f64 -1/720 (*.f64 re (pow.f64 im 6))) re))) |
(+.f64 1 re) |
(+.f64 (*.f64 (-.f64 (*.f64 -1/2 re) 1/2) (pow.f64 im 2)) (+.f64 1 re)) |
(+.f64 (*.f64 (-.f64 (*.f64 -1/2 re) 1/2) (pow.f64 im 2)) (+.f64 1 (+.f64 re (*.f64 (+.f64 (*.f64 1/24 re) 1/24) (pow.f64 im 4))))) |
(+.f64 (*.f64 (-.f64 (*.f64 -1/2 re) 1/2) (pow.f64 im 2)) (+.f64 1 (+.f64 (*.f64 (-.f64 (*.f64 -1/720 re) 1/720) (pow.f64 im 6)) (+.f64 re (*.f64 (+.f64 (*.f64 1/24 re) 1/24) (pow.f64 im 4)))))) |
(cos.f64 im) |
(*.f64 (cos.f64 im) re) |
(*.f64 (cos.f64 im) re) |
| Outputs |
|---|
re |
(+.f64 (*.f64 -1/2 (*.f64 re (pow.f64 im 2))) re) |
(fma.f64 -1/2 (*.f64 re (*.f64 im im)) re) |
(fma.f64 re (*.f64 im (*.f64 im -1/2)) re) |
(fma.f64 re (*.f64 im (*.f64 -1/2 im)) re) |
(fma.f64 (*.f64 im im) (*.f64 re -1/2) re) |
(+.f64 (*.f64 -1/2 (*.f64 re (pow.f64 im 2))) (+.f64 (*.f64 1/24 (*.f64 re (pow.f64 im 4))) re)) |
(fma.f64 -1/2 (*.f64 re (*.f64 im im)) (fma.f64 1/24 (*.f64 re (pow.f64 im 4)) re)) |
(fma.f64 re (*.f64 1/24 (pow.f64 im 4)) (fma.f64 re (*.f64 im (*.f64 im -1/2)) re)) |
(fma.f64 re (*.f64 1/24 (pow.f64 im 4)) (fma.f64 re (*.f64 im (*.f64 -1/2 im)) re)) |
(fma.f64 re (*.f64 1/24 (pow.f64 im 4)) (fma.f64 (*.f64 im im) (*.f64 re -1/2) re)) |
(+.f64 (*.f64 -1/2 (*.f64 re (pow.f64 im 2))) (+.f64 (*.f64 1/24 (*.f64 re (pow.f64 im 4))) (+.f64 (*.f64 -1/720 (*.f64 re (pow.f64 im 6))) re))) |
(fma.f64 -1/2 (*.f64 re (*.f64 im im)) (fma.f64 1/24 (*.f64 re (pow.f64 im 4)) (fma.f64 -1/720 (*.f64 re (pow.f64 im 6)) re))) |
(fma.f64 re (*.f64 im (*.f64 im -1/2)) (fma.f64 re (*.f64 -1/720 (pow.f64 im 6)) (fma.f64 re (*.f64 1/24 (pow.f64 im 4)) re))) |
(+.f64 re (*.f64 re (+.f64 (*.f64 im (*.f64 -1/2 im)) (+.f64 (*.f64 -1/720 (pow.f64 im 6)) (*.f64 1/24 (pow.f64 im 4)))))) |
(+.f64 re (*.f64 re (+.f64 (*.f64 -1/2 (*.f64 im im)) (+.f64 (*.f64 -1/720 (pow.f64 im 6)) (*.f64 1/24 (pow.f64 im 4)))))) |
(+.f64 1 re) |
(+.f64 re 1) |
(+.f64 (*.f64 (-.f64 (*.f64 -1/2 re) 1/2) (pow.f64 im 2)) (+.f64 1 re)) |
(fma.f64 (fma.f64 -1/2 re -1/2) (*.f64 im im) (+.f64 re 1)) |
(+.f64 re (fma.f64 (*.f64 im im) (fma.f64 re -1/2 -1/2) 1)) |
(+.f64 re (fma.f64 im (*.f64 im (fma.f64 re -1/2 -1/2)) 1)) |
(+.f64 (*.f64 (-.f64 (*.f64 -1/2 re) 1/2) (pow.f64 im 2)) (+.f64 1 (+.f64 re (*.f64 (+.f64 (*.f64 1/24 re) 1/24) (pow.f64 im 4))))) |
(fma.f64 (fma.f64 -1/2 re -1/2) (*.f64 im im) (+.f64 1 (+.f64 re (*.f64 (pow.f64 im 4) (fma.f64 1/24 re 1/24))))) |
(+.f64 (fma.f64 (pow.f64 im 4) (fma.f64 re 1/24 1/24) re) (fma.f64 (*.f64 im im) (fma.f64 re -1/2 -1/2) 1)) |
(+.f64 1 (fma.f64 im (*.f64 im (fma.f64 re -1/2 -1/2)) (fma.f64 (pow.f64 im 4) (fma.f64 re 1/24 1/24) re))) |
(+.f64 (fma.f64 (pow.f64 im 4) (fma.f64 re 1/24 1/24) re) (fma.f64 im (*.f64 im (fma.f64 re -1/2 -1/2)) 1)) |
(+.f64 (*.f64 (-.f64 (*.f64 -1/2 re) 1/2) (pow.f64 im 2)) (+.f64 1 (+.f64 (*.f64 (-.f64 (*.f64 -1/720 re) 1/720) (pow.f64 im 6)) (+.f64 re (*.f64 (+.f64 (*.f64 1/24 re) 1/24) (pow.f64 im 4)))))) |
(fma.f64 (fma.f64 -1/2 re -1/2) (*.f64 im im) (+.f64 1 (fma.f64 (fma.f64 -1/720 re -1/720) (pow.f64 im 6) (+.f64 re (*.f64 (pow.f64 im 4) (fma.f64 1/24 re 1/24)))))) |
(+.f64 (fma.f64 (pow.f64 im 6) (fma.f64 re -1/720 -1/720) (fma.f64 (pow.f64 im 4) (fma.f64 re 1/24 1/24) re)) (fma.f64 (*.f64 im im) (fma.f64 re -1/2 -1/2) 1)) |
(+.f64 1 (fma.f64 im (*.f64 im (fma.f64 re -1/2 -1/2)) (fma.f64 (pow.f64 im 4) (fma.f64 re 1/24 1/24) (fma.f64 (pow.f64 im 6) (fma.f64 re -1/720 -1/720) re)))) |
(+.f64 1 (fma.f64 im (*.f64 im (fma.f64 re -1/2 -1/2)) (fma.f64 (pow.f64 im 6) (fma.f64 re -1/720 -1/720) (fma.f64 (pow.f64 im 4) (fma.f64 re 1/24 1/24) re)))) |
(cos.f64 im) |
(*.f64 (cos.f64 im) re) |
(*.f64 re (cos.f64 im)) |
(*.f64 (cos.f64 im) re) |
(*.f64 re (cos.f64 im)) |
Compiled 2982 to 1535 computations (48.5% saved)
12 alts after pruning (6 fresh and 6 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 205 | 5 | 210 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 5 | 5 |
| Total | 205 | 12 | 217 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.8b | (log.f64 (pow.f64 (exp.f64 (exp.f64 re)) (cos.f64 im))) |
| ▶ | 26.2b | (+.f64 re (cos.f64 im)) |
| ✓ | 25.8b | (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
| ▶ | 26.0b | (-.f64 (+.f64 1 (*.f64 (cos.f64 im) (+.f64 1 re))) 1) |
| ✓ | 0.2b | (cbrt.f64 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 3)) |
| ✓ | 25.9b | (*.f64 (cos.f64 im) (+.f64 re 1)) |
| ✓ | 26.2b | (cos.f64 im) |
| ✓ | 0.0b | (*.f64 (exp.f64 re) (cos.f64 im)) |
| ▶ | 61.8b | (*.f64 (cos.f64 im) re) |
| ▶ | 43.9b | (+.f64 1 re) |
| 26.0b | (*.f64 (cos.f64 im) (+.f64 (*.f64 1/2 (*.f64 re re)) (+.f64 re 1))) | |
| ✓ | 18.8b | (exp.f64 re) |
Compiled 146 to 108 computations (26% saved)
Found 6 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.5b | (log.f64 (pow.f64 (exp.f64 (exp.f64 re)) (cos.f64 im))) | |
| 0.1b | (pow.f64 (exp.f64 (exp.f64 re)) (cos.f64 im)) | |
| 0.0b | (exp.f64 (exp.f64 re)) | |
| ✓ | 0.0b | (exp.f64 (exp.f64 re)) |
| ✓ | 0.1b | (pow.f64 (exp.f64 (exp.f64 re)) (cos.f64 im)) |
| ✓ | 0.5b | (log.f64 (pow.f64 (exp.f64 (exp.f64 re)) (cos.f64 im))) |
Compiled 24 to 7 computations (70.8% saved)
15 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 56.0ms | re | @ | -inf | (log.f64 (pow.f64 (exp.f64 (exp.f64 re)) (cos.f64 im))) |
| 52.0ms | re | @ | inf | (log.f64 (pow.f64 (exp.f64 (exp.f64 re)) (cos.f64 im))) |
| 31.0ms | im | @ | inf | (log.f64 (pow.f64 (exp.f64 (exp.f64 re)) (cos.f64 im))) |
| 15.0ms | im | @ | -inf | (log.f64 (pow.f64 (exp.f64 (exp.f64 re)) (cos.f64 im))) |
| 11.0ms | im | @ | 0 | (log.f64 (pow.f64 (exp.f64 (exp.f64 re)) (cos.f64 im))) |
| 1× | batch-egg-rewrite |
| 705× | pow1_binary64 |
| 645× | add-log-exp_binary64 |
| 645× | log1p-expm1-u_binary64 |
| 645× | expm1-log1p-u_binary64 |
| 627× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 23 |
| 1 | 152 | 23 |
| 2 | 1788 | 23 |
| 1× | node limit |
| Inputs |
|---|
(log.f64 (pow.f64 (exp.f64 (exp.f64 re)) (cos.f64 im))) |
(pow.f64 (exp.f64 (exp.f64 re)) (cos.f64 im)) |
(exp.f64 (exp.f64 re)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (cbrt.f64 (pow.f64 (pow.f64 (exp.f64 (exp.f64 re)) 2) (cos.f64 im)))) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (exp.f64 re)) (cos.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (exp.f64 re) (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (exp.f64 re) (*.f64 (cos.f64 im) 1/2)) (*.f64 (exp.f64 re) (*.f64 (cos.f64 im) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (exp.f64 re) (cos.f64 im))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 re) (cos.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 im) (exp.f64 re))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 (exp.f64 re) (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))) (pow.f64 (cbrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))) 2) (cbrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cos.f64 im)) 2) (*.f64 (cbrt.f64 (cos.f64 im)) (exp.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (exp.f64 re)) 2) (*.f64 (cbrt.f64 (exp.f64 re)) (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))) (sqrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 im)) (*.f64 (sqrt.f64 (cos.f64 im)) (exp.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (exp.f64 re)) (*.f64 (sqrt.f64 (exp.f64 re)) (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (exp.f64 re)) (sqrt.f64 (cos.f64 im))) (*.f64 (sqrt.f64 (exp.f64 re)) (sqrt.f64 (cos.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 im) (pow.f64 (cbrt.f64 (exp.f64 re)) 2)) (cbrt.f64 (exp.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 im) (sqrt.f64 (exp.f64 re))) (sqrt.f64 (exp.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (exp.f64 re) (pow.f64 (cbrt.f64 (cos.f64 im)) 2)) (cbrt.f64 (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (exp.f64 re) (sqrt.f64 (cos.f64 im))) (sqrt.f64 (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 (exp.f64 re) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (exp.f64 re) 3) (pow.f64 (cos.f64 im) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 re (log.f64 (cos.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (exp.f64 re) (cos.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (exp.f64 re) (cos.f64 im)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (expm1.f64 (*.f64 (exp.f64 re) (cos.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (exp.f64 (exp.f64 re)) (cos.f64 im))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (exp.f64 (exp.f64 re)) (cos.f64 im)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (exp.f64 (exp.f64 re)) (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (exp.f64 (exp.f64 re)) (cos.f64 im))) (cbrt.f64 (pow.f64 (pow.f64 (exp.f64 (exp.f64 re)) 2) (cos.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (pow.f64 (exp.f64 (exp.f64 re)) 2) (cos.f64 im))) (cbrt.f64 (pow.f64 (exp.f64 (exp.f64 re)) (cos.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (exp.f64 (exp.f64 re)) (cos.f64 im))) (sqrt.f64 (pow.f64 (exp.f64 (exp.f64 re)) (cos.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 (cos.f64 im)) (pow.f64 (exp.f64 (exp.f64 re)) (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (exp.f64 (exp.f64 re))) 2) (cos.f64 im)) (pow.f64 (cbrt.f64 (exp.f64 (exp.f64 re))) (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (exp.f64 (exp.f64 re))) (cos.f64 im)) (pow.f64 (sqrt.f64 (exp.f64 (exp.f64 re))) (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (pow.f64 (exp.f64 (exp.f64 re)) 2) (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (exp.f64 (exp.f64 re)) (cos.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (exp.f64 (exp.f64 re)) (cos.f64 im)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (exp.f64 re) (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (exp.f64 (exp.f64 re)) (cos.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (exp.f64 (exp.f64 re)) (cos.f64 im)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (expm1.f64 (exp.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (exp.f64 (exp.f64 re))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (exp.f64 re)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (exp.f64 (exp.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (exp.f64 (exp.f64 re))) (pow.f64 (cbrt.f64 (exp.f64 (exp.f64 re))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (exp.f64 (exp.f64 re))) 2) (cbrt.f64 (exp.f64 (exp.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (exp.f64 (exp.f64 re))) (sqrt.f64 (exp.f64 (exp.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (exp.f64 re)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (exp.f64 (exp.f64 re)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (exp.f64 (exp.f64 re))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (exp.f64 (exp.f64 re))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (exp.f64 re))) (sqrt.f64 (exp.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (exp.f64 re)) 2)) (cbrt.f64 (exp.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (exp.f64 re))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (exp.f64 (exp.f64 re)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (exp.f64 (exp.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (exp.f64 (exp.f64 re)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (exp.f64 (exp.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (exp.f64 (exp.f64 re)))))))) |
| 1× | egg-herbie |
| 386× | distribute-rgt-in_binary64 |
| 383× | *-commutative_binary64 |
| 383× | distribute-lft-in_binary64 |
| 377× | associate-+l+_binary64 |
| 367× | associate-+r+_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 129 | 1013 |
| 1 | 414 | 970 |
| 2 | 1528 | 909 |
| 3 | 4769 | 862 |
| 4 | 5800 | 850 |
| 1× | node limit |
| Inputs |
|---|
(cos.f64 im) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(+.f64 (*.f64 (cos.f64 im) re) (+.f64 (cos.f64 im) (*.f64 1/2 (*.f64 (pow.f64 re 2) (+.f64 (*.f64 2 (+.f64 (*.f64 1/2 (cos.f64 im)) (*.f64 1/2 (pow.f64 (cos.f64 im) 2)))) (*.f64 -1 (pow.f64 (cos.f64 im) 2))))))) |
(+.f64 (*.f64 (cos.f64 im) re) (+.f64 (cos.f64 im) (+.f64 (*.f64 1/6 (*.f64 (pow.f64 re 3) (+.f64 (*.f64 -6 (*.f64 (+.f64 (*.f64 1/2 (cos.f64 im)) (*.f64 1/2 (pow.f64 (cos.f64 im) 2))) (cos.f64 im))) (+.f64 (*.f64 2 (pow.f64 (cos.f64 im) 3)) (*.f64 6 (+.f64 (*.f64 1/6 (cos.f64 im)) (+.f64 (*.f64 1/2 (pow.f64 (cos.f64 im) 2)) (*.f64 1/6 (pow.f64 (cos.f64 im) 3))))))))) (*.f64 1/2 (*.f64 (pow.f64 re 2) (+.f64 (*.f64 2 (+.f64 (*.f64 1/2 (cos.f64 im)) (*.f64 1/2 (pow.f64 (cos.f64 im) 2)))) (*.f64 -1 (pow.f64 (cos.f64 im) 2)))))))) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(exp.f64 re) |
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (pow.f64 im 2))) (exp.f64 re)) |
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (pow.f64 im 2))) (+.f64 (*.f64 1/24 (*.f64 (+.f64 (*.f64 -3 (pow.f64 (exp.f64 re) 2)) (*.f64 24 (+.f64 (*.f64 1/8 (pow.f64 (exp.f64 re) 2)) (*.f64 1/24 (exp.f64 re))))) (pow.f64 im 4))) (exp.f64 re))) |
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (pow.f64 im 2))) (+.f64 (*.f64 1/24 (*.f64 (+.f64 (*.f64 -3 (pow.f64 (exp.f64 re) 2)) (*.f64 24 (+.f64 (*.f64 1/8 (pow.f64 (exp.f64 re) 2)) (*.f64 1/24 (exp.f64 re))))) (pow.f64 im 4))) (+.f64 (exp.f64 re) (*.f64 1/720 (*.f64 (+.f64 (*.f64 -30 (pow.f64 (exp.f64 re) 3)) (+.f64 (*.f64 720 (+.f64 (*.f64 -1/48 (pow.f64 (exp.f64 re) 2)) (+.f64 (*.f64 -1/48 (pow.f64 (exp.f64 re) 3)) (*.f64 -1/720 (exp.f64 re))))) (*.f64 360 (*.f64 (exp.f64 re) (+.f64 (*.f64 1/8 (pow.f64 (exp.f64 re) 2)) (*.f64 1/24 (exp.f64 re))))))) (pow.f64 im 6)))))) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(exp.f64 (cos.f64 im)) |
(+.f64 (exp.f64 (cos.f64 im)) (*.f64 (exp.f64 (cos.f64 im)) (*.f64 (cos.f64 im) re))) |
(+.f64 (exp.f64 (cos.f64 im)) (+.f64 (*.f64 (exp.f64 (cos.f64 im)) (*.f64 (cos.f64 im) re)) (*.f64 (exp.f64 (cos.f64 im)) (*.f64 (+.f64 (*.f64 1/2 (pow.f64 (cos.f64 im) 2)) (*.f64 1/2 (cos.f64 im))) (pow.f64 re 2))))) |
(+.f64 (exp.f64 (cos.f64 im)) (+.f64 (*.f64 (exp.f64 (cos.f64 im)) (*.f64 (cos.f64 im) re)) (+.f64 (*.f64 (exp.f64 (cos.f64 im)) (*.f64 (+.f64 (*.f64 1/2 (pow.f64 (cos.f64 im) 2)) (*.f64 1/2 (cos.f64 im))) (pow.f64 re 2))) (*.f64 (exp.f64 (cos.f64 im)) (*.f64 (pow.f64 re 3) (+.f64 (*.f64 1/6 (cos.f64 im)) (+.f64 (*.f64 1/2 (pow.f64 (cos.f64 im) 2)) (*.f64 1/6 (pow.f64 (cos.f64 im) 3))))))))) |
(exp.f64 (*.f64 (exp.f64 re) (cos.f64 im))) |
(exp.f64 (*.f64 (exp.f64 re) (cos.f64 im))) |
(exp.f64 (*.f64 (exp.f64 re) (cos.f64 im))) |
(exp.f64 (*.f64 (exp.f64 re) (cos.f64 im))) |
(exp.f64 (*.f64 (exp.f64 re) (cos.f64 im))) |
(exp.f64 (*.f64 (exp.f64 re) (cos.f64 im))) |
(exp.f64 (*.f64 (exp.f64 re) (cos.f64 im))) |
(exp.f64 (*.f64 (exp.f64 re) (cos.f64 im))) |
(exp.f64 (exp.f64 re)) |
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (*.f64 (exp.f64 (exp.f64 re)) (pow.f64 im 2)))) (exp.f64 (exp.f64 re))) |
(+.f64 (*.f64 (+.f64 (*.f64 1/8 (pow.f64 (exp.f64 re) 2)) (*.f64 1/24 (exp.f64 re))) (*.f64 (pow.f64 im 4) (exp.f64 (exp.f64 re)))) (+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (*.f64 (exp.f64 (exp.f64 re)) (pow.f64 im 2)))) (exp.f64 (exp.f64 re)))) |
(+.f64 (*.f64 (+.f64 (*.f64 1/8 (pow.f64 (exp.f64 re) 2)) (*.f64 1/24 (exp.f64 re))) (*.f64 (pow.f64 im 4) (exp.f64 (exp.f64 re)))) (+.f64 (*.f64 (+.f64 (*.f64 -1/48 (pow.f64 (exp.f64 re) 2)) (+.f64 (*.f64 -1/48 (pow.f64 (exp.f64 re) 3)) (*.f64 -1/720 (exp.f64 re)))) (*.f64 (pow.f64 im 6) (exp.f64 (exp.f64 re)))) (+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (*.f64 (exp.f64 (exp.f64 re)) (pow.f64 im 2)))) (exp.f64 (exp.f64 re))))) |
(exp.f64 (*.f64 (exp.f64 re) (cos.f64 im))) |
(exp.f64 (*.f64 (exp.f64 re) (cos.f64 im))) |
(exp.f64 (*.f64 (exp.f64 re) (cos.f64 im))) |
(exp.f64 (*.f64 (exp.f64 re) (cos.f64 im))) |
(exp.f64 (*.f64 (exp.f64 re) (cos.f64 im))) |
(exp.f64 (*.f64 (exp.f64 re) (cos.f64 im))) |
(exp.f64 (*.f64 (exp.f64 re) (cos.f64 im))) |
(exp.f64 (*.f64 (exp.f64 re) (cos.f64 im))) |
(exp.f64 1) |
(+.f64 (*.f64 re (exp.f64 1)) (exp.f64 1)) |
(+.f64 (*.f64 re (exp.f64 1)) (+.f64 (*.f64 (pow.f64 re 2) (exp.f64 1)) (exp.f64 1))) |
(+.f64 (*.f64 re (exp.f64 1)) (+.f64 (*.f64 (pow.f64 re 2) (exp.f64 1)) (+.f64 (*.f64 5/6 (*.f64 (pow.f64 re 3) (exp.f64 1))) (exp.f64 1)))) |
| Outputs |
|---|
(cos.f64 im) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(fma.f64 (cos.f64 im) re (cos.f64 im)) |
(*.f64 (+.f64 re 1) (cos.f64 im)) |
(*.f64 (cos.f64 im) (+.f64 re 1)) |
(+.f64 (*.f64 (cos.f64 im) re) (+.f64 (cos.f64 im) (*.f64 1/2 (*.f64 (pow.f64 re 2) (+.f64 (*.f64 2 (+.f64 (*.f64 1/2 (cos.f64 im)) (*.f64 1/2 (pow.f64 (cos.f64 im) 2)))) (*.f64 -1 (pow.f64 (cos.f64 im) 2))))))) |
(+.f64 (fma.f64 (cos.f64 im) re (cos.f64 im)) (*.f64 1/2 (*.f64 (*.f64 re re) (fma.f64 2 (*.f64 1/2 (+.f64 (cos.f64 im) (pow.f64 (cos.f64 im) 2))) (neg.f64 (pow.f64 (cos.f64 im) 2)))))) |
(fma.f64 (cos.f64 im) re (fma.f64 1/2 (*.f64 (*.f64 re re) (-.f64 (*.f64 1 (+.f64 (cos.f64 im) (pow.f64 (cos.f64 im) 2))) (pow.f64 (cos.f64 im) 2))) (cos.f64 im))) |
(fma.f64 (cos.f64 im) re (fma.f64 1/2 (*.f64 (*.f64 re re) (+.f64 (cos.f64 im) (*.f64 (pow.f64 (cos.f64 im) 2) 0))) (cos.f64 im))) |
(fma.f64 (cos.f64 im) re (fma.f64 1/2 (*.f64 (*.f64 re re) (+.f64 (cos.f64 im) 0)) (cos.f64 im))) |
(fma.f64 (cos.f64 im) re (fma.f64 (*.f64 1/2 (*.f64 re re)) (cos.f64 im) (cos.f64 im))) |
(+.f64 (*.f64 (cos.f64 im) re) (+.f64 (cos.f64 im) (+.f64 (*.f64 1/6 (*.f64 (pow.f64 re 3) (+.f64 (*.f64 -6 (*.f64 (+.f64 (*.f64 1/2 (cos.f64 im)) (*.f64 1/2 (pow.f64 (cos.f64 im) 2))) (cos.f64 im))) (+.f64 (*.f64 2 (pow.f64 (cos.f64 im) 3)) (*.f64 6 (+.f64 (*.f64 1/6 (cos.f64 im)) (+.f64 (*.f64 1/2 (pow.f64 (cos.f64 im) 2)) (*.f64 1/6 (pow.f64 (cos.f64 im) 3))))))))) (*.f64 1/2 (*.f64 (pow.f64 re 2) (+.f64 (*.f64 2 (+.f64 (*.f64 1/2 (cos.f64 im)) (*.f64 1/2 (pow.f64 (cos.f64 im) 2)))) (*.f64 -1 (pow.f64 (cos.f64 im) 2)))))))) |
(+.f64 (fma.f64 (cos.f64 im) re (cos.f64 im)) (fma.f64 1/6 (*.f64 (pow.f64 re 3) (fma.f64 -6 (*.f64 (cos.f64 im) (*.f64 1/2 (+.f64 (cos.f64 im) (pow.f64 (cos.f64 im) 2)))) (fma.f64 2 (pow.f64 (cos.f64 im) 3) (*.f64 6 (fma.f64 1/6 (cos.f64 im) (fma.f64 1/2 (pow.f64 (cos.f64 im) 2) (*.f64 1/6 (pow.f64 (cos.f64 im) 3)))))))) (*.f64 1/2 (*.f64 (*.f64 re re) (fma.f64 2 (*.f64 1/2 (+.f64 (cos.f64 im) (pow.f64 (cos.f64 im) 2))) (neg.f64 (pow.f64 (cos.f64 im) 2))))))) |
(+.f64 (fma.f64 1/2 (*.f64 (*.f64 re re) (-.f64 (*.f64 1 (+.f64 (cos.f64 im) (pow.f64 (cos.f64 im) 2))) (pow.f64 (cos.f64 im) 2))) (*.f64 (fma.f64 (*.f64 -3 (+.f64 (cos.f64 im) (pow.f64 (cos.f64 im) 2))) (cos.f64 im) (fma.f64 6 (fma.f64 (cos.f64 im) 1/6 (fma.f64 1/2 (pow.f64 (cos.f64 im) 2) (*.f64 1/6 (pow.f64 (cos.f64 im) 3)))) (*.f64 2 (pow.f64 (cos.f64 im) 3)))) (*.f64 1/6 (pow.f64 re 3)))) (*.f64 (+.f64 re 1) (cos.f64 im))) |
(+.f64 (*.f64 1/6 (*.f64 (pow.f64 re 3) (fma.f64 (*.f64 (fma.f64 (cos.f64 im) (cos.f64 im) (cos.f64 im)) -3) (cos.f64 im) (fma.f64 2 (pow.f64 (cos.f64 im) 3) (+.f64 (cos.f64 im) (*.f64 6 (*.f64 (pow.f64 (cos.f64 im) 2) (+.f64 (*.f64 (cos.f64 im) 1/6) 1/2)))))))) (fma.f64 (cos.f64 im) re (fma.f64 1/2 (*.f64 (*.f64 re re) (+.f64 (cos.f64 im) (*.f64 (pow.f64 (cos.f64 im) 2) 0))) (cos.f64 im)))) |
(+.f64 (*.f64 (pow.f64 re 3) (*.f64 1/6 (fma.f64 (*.f64 (fma.f64 (cos.f64 im) (cos.f64 im) (cos.f64 im)) -3) (cos.f64 im) (fma.f64 2 (pow.f64 (cos.f64 im) 3) (+.f64 (cos.f64 im) (*.f64 6 (*.f64 (pow.f64 (cos.f64 im) 2) (+.f64 1/2 (*.f64 (cos.f64 im) 1/6))))))))) (fma.f64 (cos.f64 im) re (fma.f64 1/2 (*.f64 (*.f64 re re) (+.f64 (cos.f64 im) 0)) (cos.f64 im)))) |
(+.f64 (*.f64 (pow.f64 re 3) (*.f64 1/6 (fma.f64 (*.f64 (fma.f64 (cos.f64 im) (cos.f64 im) (cos.f64 im)) -3) (cos.f64 im) (fma.f64 2 (pow.f64 (cos.f64 im) 3) (+.f64 (cos.f64 im) (*.f64 6 (*.f64 (pow.f64 (cos.f64 im) 2) (+.f64 1/2 (*.f64 (cos.f64 im) 1/6))))))))) (fma.f64 (cos.f64 im) re (fma.f64 (*.f64 1/2 (*.f64 re re)) (cos.f64 im) (cos.f64 im)))) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (cos.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (cos.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (cos.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (cos.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (cos.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (cos.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (cos.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (cos.f64 im) (exp.f64 re)) |
(exp.f64 re) |
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (pow.f64 im 2))) (exp.f64 re)) |
(fma.f64 -1/2 (*.f64 (exp.f64 re) (*.f64 im im)) (exp.f64 re)) |
(fma.f64 (*.f64 (exp.f64 re) -1/2) (*.f64 im im) (exp.f64 re)) |
(*.f64 (+.f64 (*.f64 -1/2 (*.f64 im im)) 1) (exp.f64 re)) |
(*.f64 (exp.f64 re) (+.f64 (*.f64 -1/2 (*.f64 im im)) 1)) |
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (pow.f64 im 2))) (+.f64 (*.f64 1/24 (*.f64 (+.f64 (*.f64 -3 (pow.f64 (exp.f64 re) 2)) (*.f64 24 (+.f64 (*.f64 1/8 (pow.f64 (exp.f64 re) 2)) (*.f64 1/24 (exp.f64 re))))) (pow.f64 im 4))) (exp.f64 re))) |
(fma.f64 -1/2 (*.f64 (exp.f64 re) (*.f64 im im)) (fma.f64 1/24 (*.f64 (fma.f64 -3 (pow.f64 (exp.f64 re) 2) (*.f64 24 (fma.f64 1/8 (pow.f64 (exp.f64 re) 2) (*.f64 (exp.f64 re) 1/24)))) (pow.f64 im 4)) (exp.f64 re))) |
(fma.f64 -1/2 (*.f64 im (*.f64 im (exp.f64 re))) (fma.f64 1/24 (*.f64 (fma.f64 -3 (pow.f64 (exp.f64 re) 2) (+.f64 (*.f64 (exp.f64 re) 1) (*.f64 3 (pow.f64 (exp.f64 re) 2)))) (pow.f64 im 4)) (exp.f64 re))) |
(fma.f64 -1/2 (*.f64 (exp.f64 re) (*.f64 im im)) (fma.f64 1/24 (*.f64 (+.f64 (exp.f64 re) (*.f64 (pow.f64 (exp.f64 re) 2) 0)) (pow.f64 im 4)) (exp.f64 re))) |
(fma.f64 -1/2 (*.f64 (exp.f64 re) (*.f64 im im)) (fma.f64 1/24 (*.f64 (+.f64 (exp.f64 re) 0) (pow.f64 im 4)) (exp.f64 re))) |
(fma.f64 -1/2 (*.f64 (exp.f64 re) (*.f64 im im)) (fma.f64 1/24 (*.f64 (exp.f64 re) (pow.f64 im 4)) (exp.f64 re))) |
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (pow.f64 im 2))) (+.f64 (*.f64 1/24 (*.f64 (+.f64 (*.f64 -3 (pow.f64 (exp.f64 re) 2)) (*.f64 24 (+.f64 (*.f64 1/8 (pow.f64 (exp.f64 re) 2)) (*.f64 1/24 (exp.f64 re))))) (pow.f64 im 4))) (+.f64 (exp.f64 re) (*.f64 1/720 (*.f64 (+.f64 (*.f64 -30 (pow.f64 (exp.f64 re) 3)) (+.f64 (*.f64 720 (+.f64 (*.f64 -1/48 (pow.f64 (exp.f64 re) 2)) (+.f64 (*.f64 -1/48 (pow.f64 (exp.f64 re) 3)) (*.f64 -1/720 (exp.f64 re))))) (*.f64 360 (*.f64 (exp.f64 re) (+.f64 (*.f64 1/8 (pow.f64 (exp.f64 re) 2)) (*.f64 1/24 (exp.f64 re))))))) (pow.f64 im 6)))))) |
(fma.f64 -1/2 (*.f64 (exp.f64 re) (*.f64 im im)) (+.f64 (fma.f64 1/24 (*.f64 (fma.f64 -3 (pow.f64 (exp.f64 re) 2) (*.f64 24 (fma.f64 1/8 (pow.f64 (exp.f64 re) 2) (*.f64 (exp.f64 re) 1/24)))) (pow.f64 im 4)) (exp.f64 re)) (*.f64 1/720 (*.f64 (fma.f64 -30 (pow.f64 (exp.f64 re) 3) (fma.f64 720 (fma.f64 -1/48 (pow.f64 (exp.f64 re) 2) (fma.f64 -1/48 (pow.f64 (exp.f64 re) 3) (*.f64 (exp.f64 re) -1/720))) (*.f64 360 (*.f64 (exp.f64 re) (fma.f64 1/8 (pow.f64 (exp.f64 re) 2) (*.f64 (exp.f64 re) 1/24)))))) (pow.f64 im 6))))) |
(fma.f64 -1/2 (*.f64 im (*.f64 im (exp.f64 re))) (fma.f64 1/24 (*.f64 (fma.f64 -3 (pow.f64 (exp.f64 re) 2) (+.f64 (*.f64 (exp.f64 re) 1) (*.f64 3 (pow.f64 (exp.f64 re) 2)))) (pow.f64 im 4)) (fma.f64 1/720 (*.f64 (fma.f64 -30 (pow.f64 (exp.f64 re) 3) (fma.f64 720 (fma.f64 (pow.f64 (exp.f64 re) 2) -1/48 (fma.f64 (pow.f64 (exp.f64 re) 3) -1/48 (*.f64 (exp.f64 re) -1/720))) (*.f64 (fma.f64 (exp.f64 re) 1/24 (*.f64 (pow.f64 (exp.f64 re) 2) 1/8)) (*.f64 (exp.f64 re) 360)))) (pow.f64 im 6)) (exp.f64 re)))) |
(fma.f64 -1/2 (*.f64 (exp.f64 re) (*.f64 im im)) (fma.f64 1/24 (*.f64 (+.f64 (exp.f64 re) (*.f64 (pow.f64 (exp.f64 re) 2) 0)) (pow.f64 im 4)) (fma.f64 1/720 (*.f64 (fma.f64 -30 (pow.f64 (exp.f64 re) 3) (fma.f64 720 (fma.f64 (pow.f64 (exp.f64 re) 2) -1/48 (fma.f64 (pow.f64 (exp.f64 re) 3) -1/48 (*.f64 (exp.f64 re) -1/720))) (*.f64 360 (*.f64 (pow.f64 (exp.f64 re) 2) (+.f64 (*.f64 (exp.f64 re) 1/8) 1/24))))) (pow.f64 im 6)) (exp.f64 re)))) |
(fma.f64 -1/2 (*.f64 (exp.f64 re) (*.f64 im im)) (fma.f64 1/24 (*.f64 (+.f64 (exp.f64 re) 0) (pow.f64 im 4)) (fma.f64 1/720 (*.f64 (fma.f64 -30 (pow.f64 (exp.f64 re) 3) (fma.f64 720 (*.f64 (exp.f64 re) (+.f64 -1/720 (*.f64 -1/48 (+.f64 (exp.f64 re) (pow.f64 (exp.f64 2) re))))) (*.f64 360 (*.f64 (pow.f64 (exp.f64 2) re) (+.f64 (*.f64 (exp.f64 re) 1/8) 1/24))))) (pow.f64 im 6)) (exp.f64 re)))) |
(fma.f64 -1/2 (*.f64 (exp.f64 re) (*.f64 im im)) (fma.f64 1/24 (*.f64 (exp.f64 re) (pow.f64 im 4)) (fma.f64 1/720 (*.f64 (fma.f64 -30 (pow.f64 (exp.f64 re) 3) (fma.f64 720 (*.f64 (exp.f64 re) (+.f64 -1/720 (*.f64 -1/48 (+.f64 (exp.f64 re) (pow.f64 (exp.f64 2) re))))) (*.f64 360 (*.f64 (pow.f64 (exp.f64 2) re) (+.f64 (*.f64 (exp.f64 re) 1/8) 1/24))))) (pow.f64 im 6)) (exp.f64 re)))) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (cos.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (cos.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (cos.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (cos.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (cos.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (cos.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (cos.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (cos.f64 im) (exp.f64 re)) |
(exp.f64 (cos.f64 im)) |
(+.f64 (exp.f64 (cos.f64 im)) (*.f64 (exp.f64 (cos.f64 im)) (*.f64 (cos.f64 im) re))) |
(+.f64 (exp.f64 (cos.f64 im)) (*.f64 (*.f64 (cos.f64 im) re) (exp.f64 (cos.f64 im)))) |
(*.f64 (+.f64 (*.f64 (cos.f64 im) re) 1) (exp.f64 (cos.f64 im))) |
(*.f64 (exp.f64 (cos.f64 im)) (+.f64 (*.f64 (cos.f64 im) re) 1)) |
(+.f64 (exp.f64 (cos.f64 im)) (+.f64 (*.f64 (exp.f64 (cos.f64 im)) (*.f64 (cos.f64 im) re)) (*.f64 (exp.f64 (cos.f64 im)) (*.f64 (+.f64 (*.f64 1/2 (pow.f64 (cos.f64 im) 2)) (*.f64 1/2 (cos.f64 im))) (pow.f64 re 2))))) |
(+.f64 (exp.f64 (cos.f64 im)) (*.f64 (exp.f64 (cos.f64 im)) (+.f64 (*.f64 (cos.f64 im) re) (*.f64 (*.f64 re re) (*.f64 1/2 (+.f64 (cos.f64 im) (pow.f64 (cos.f64 im) 2))))))) |
(fma.f64 (exp.f64 (cos.f64 im)) (fma.f64 (cos.f64 im) re (*.f64 1/2 (*.f64 (+.f64 (cos.f64 im) (pow.f64 (cos.f64 im) 2)) (*.f64 re re)))) (exp.f64 (cos.f64 im))) |
(*.f64 (+.f64 (*.f64 re (+.f64 (cos.f64 im) (*.f64 re (*.f64 1/2 (fma.f64 (cos.f64 im) (cos.f64 im) (cos.f64 im)))))) 1) (exp.f64 (cos.f64 im))) |
(+.f64 (exp.f64 (cos.f64 im)) (+.f64 (*.f64 (exp.f64 (cos.f64 im)) (*.f64 (cos.f64 im) re)) (+.f64 (*.f64 (exp.f64 (cos.f64 im)) (*.f64 (+.f64 (*.f64 1/2 (pow.f64 (cos.f64 im) 2)) (*.f64 1/2 (cos.f64 im))) (pow.f64 re 2))) (*.f64 (exp.f64 (cos.f64 im)) (*.f64 (pow.f64 re 3) (+.f64 (*.f64 1/6 (cos.f64 im)) (+.f64 (*.f64 1/2 (pow.f64 (cos.f64 im) 2)) (*.f64 1/6 (pow.f64 (cos.f64 im) 3))))))))) |
(+.f64 (exp.f64 (cos.f64 im)) (fma.f64 (exp.f64 (cos.f64 im)) (*.f64 (cos.f64 im) re) (*.f64 (exp.f64 (cos.f64 im)) (+.f64 (*.f64 (*.f64 re re) (*.f64 1/2 (+.f64 (cos.f64 im) (pow.f64 (cos.f64 im) 2)))) (*.f64 (pow.f64 re 3) (fma.f64 1/6 (cos.f64 im) (fma.f64 1/2 (pow.f64 (cos.f64 im) 2) (*.f64 1/6 (pow.f64 (cos.f64 im) 3))))))))) |
(+.f64 (exp.f64 (cos.f64 im)) (*.f64 (exp.f64 (cos.f64 im)) (+.f64 (fma.f64 (cos.f64 im) re (*.f64 1/2 (*.f64 (+.f64 (cos.f64 im) (pow.f64 (cos.f64 im) 2)) (*.f64 re re)))) (*.f64 (pow.f64 re 3) (fma.f64 (cos.f64 im) 1/6 (fma.f64 1/2 (pow.f64 (cos.f64 im) 2) (*.f64 1/6 (pow.f64 (cos.f64 im) 3)))))))) |
(*.f64 (exp.f64 (cos.f64 im)) (+.f64 (+.f64 (*.f64 (cos.f64 im) re) 1) (*.f64 (*.f64 re re) (+.f64 (*.f64 re (fma.f64 (cos.f64 im) 1/6 (*.f64 (pow.f64 (cos.f64 im) 2) (+.f64 (*.f64 (cos.f64 im) 1/6) 1/2)))) (*.f64 1/2 (fma.f64 (cos.f64 im) (cos.f64 im) (cos.f64 im))))))) |
(*.f64 (exp.f64 (cos.f64 im)) (+.f64 (+.f64 (*.f64 (cos.f64 im) re) 1) (*.f64 (*.f64 re re) (+.f64 (*.f64 re (fma.f64 (cos.f64 im) 1/6 (*.f64 (pow.f64 (cos.f64 im) 2) (+.f64 1/2 (*.f64 (cos.f64 im) 1/6))))) (*.f64 1/2 (fma.f64 (cos.f64 im) (cos.f64 im) (cos.f64 im))))))) |
(exp.f64 (*.f64 (exp.f64 re) (cos.f64 im))) |
(pow.f64 (exp.f64 (exp.f64 re)) (cos.f64 im)) |
(pow.f64 (exp.f64 (cos.f64 im)) (exp.f64 re)) |
(exp.f64 (*.f64 (exp.f64 re) (cos.f64 im))) |
(pow.f64 (exp.f64 (exp.f64 re)) (cos.f64 im)) |
(pow.f64 (exp.f64 (cos.f64 im)) (exp.f64 re)) |
(exp.f64 (*.f64 (exp.f64 re) (cos.f64 im))) |
(pow.f64 (exp.f64 (exp.f64 re)) (cos.f64 im)) |
(pow.f64 (exp.f64 (cos.f64 im)) (exp.f64 re)) |
(exp.f64 (*.f64 (exp.f64 re) (cos.f64 im))) |
(pow.f64 (exp.f64 (exp.f64 re)) (cos.f64 im)) |
(pow.f64 (exp.f64 (cos.f64 im)) (exp.f64 re)) |
(exp.f64 (*.f64 (exp.f64 re) (cos.f64 im))) |
(pow.f64 (exp.f64 (exp.f64 re)) (cos.f64 im)) |
(pow.f64 (exp.f64 (cos.f64 im)) (exp.f64 re)) |
(exp.f64 (*.f64 (exp.f64 re) (cos.f64 im))) |
(pow.f64 (exp.f64 (exp.f64 re)) (cos.f64 im)) |
(pow.f64 (exp.f64 (cos.f64 im)) (exp.f64 re)) |
(exp.f64 (*.f64 (exp.f64 re) (cos.f64 im))) |
(pow.f64 (exp.f64 (exp.f64 re)) (cos.f64 im)) |
(pow.f64 (exp.f64 (cos.f64 im)) (exp.f64 re)) |
(exp.f64 (*.f64 (exp.f64 re) (cos.f64 im))) |
(pow.f64 (exp.f64 (exp.f64 re)) (cos.f64 im)) |
(pow.f64 (exp.f64 (cos.f64 im)) (exp.f64 re)) |
(exp.f64 (exp.f64 re)) |
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (*.f64 (exp.f64 (exp.f64 re)) (pow.f64 im 2)))) (exp.f64 (exp.f64 re))) |
(fma.f64 -1/2 (*.f64 (exp.f64 re) (*.f64 (*.f64 im im) (exp.f64 (exp.f64 re)))) (exp.f64 (exp.f64 re))) |
(fma.f64 -1/2 (*.f64 (*.f64 im im) (exp.f64 (+.f64 re (exp.f64 re)))) (exp.f64 (exp.f64 re))) |
(*.f64 (+.f64 (*.f64 (exp.f64 re) (*.f64 -1/2 (*.f64 im im))) 1) (exp.f64 (exp.f64 re))) |
(+.f64 (*.f64 (+.f64 (*.f64 1/8 (pow.f64 (exp.f64 re) 2)) (*.f64 1/24 (exp.f64 re))) (*.f64 (pow.f64 im 4) (exp.f64 (exp.f64 re)))) (+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (*.f64 (exp.f64 (exp.f64 re)) (pow.f64 im 2)))) (exp.f64 (exp.f64 re)))) |
(fma.f64 (fma.f64 1/8 (pow.f64 (exp.f64 re) 2) (*.f64 (exp.f64 re) 1/24)) (*.f64 (pow.f64 im 4) (exp.f64 (exp.f64 re))) (fma.f64 -1/2 (*.f64 (exp.f64 re) (*.f64 (*.f64 im im) (exp.f64 (exp.f64 re)))) (exp.f64 (exp.f64 re)))) |
(fma.f64 (fma.f64 (exp.f64 re) 1/24 (*.f64 (pow.f64 (exp.f64 re) 2) 1/8)) (*.f64 (pow.f64 im 4) (exp.f64 (exp.f64 re))) (fma.f64 -1/2 (*.f64 (*.f64 im im) (exp.f64 (+.f64 re (exp.f64 re)))) (exp.f64 (exp.f64 re)))) |
(+.f64 (exp.f64 (exp.f64 re)) (*.f64 (exp.f64 (exp.f64 re)) (+.f64 (*.f64 (exp.f64 re) (*.f64 -1/2 (*.f64 im im))) (*.f64 (*.f64 (exp.f64 re) (+.f64 1/24 (*.f64 (exp.f64 re) 1/8))) (pow.f64 im 4))))) |
(*.f64 (exp.f64 (exp.f64 re)) (+.f64 (*.f64 (exp.f64 re) (*.f64 -1/2 (*.f64 im im))) (+.f64 (*.f64 (*.f64 (exp.f64 re) (+.f64 1/24 (*.f64 (exp.f64 re) 1/8))) (pow.f64 im 4)) 1))) |
(+.f64 (*.f64 (+.f64 (*.f64 1/8 (pow.f64 (exp.f64 re) 2)) (*.f64 1/24 (exp.f64 re))) (*.f64 (pow.f64 im 4) (exp.f64 (exp.f64 re)))) (+.f64 (*.f64 (+.f64 (*.f64 -1/48 (pow.f64 (exp.f64 re) 2)) (+.f64 (*.f64 -1/48 (pow.f64 (exp.f64 re) 3)) (*.f64 -1/720 (exp.f64 re)))) (*.f64 (pow.f64 im 6) (exp.f64 (exp.f64 re)))) (+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (*.f64 (exp.f64 (exp.f64 re)) (pow.f64 im 2)))) (exp.f64 (exp.f64 re))))) |
(fma.f64 (fma.f64 1/8 (pow.f64 (exp.f64 re) 2) (*.f64 (exp.f64 re) 1/24)) (*.f64 (pow.f64 im 4) (exp.f64 (exp.f64 re))) (fma.f64 (fma.f64 -1/48 (pow.f64 (exp.f64 re) 2) (fma.f64 -1/48 (pow.f64 (exp.f64 re) 3) (*.f64 (exp.f64 re) -1/720))) (*.f64 (pow.f64 im 6) (exp.f64 (exp.f64 re))) (fma.f64 -1/2 (*.f64 (exp.f64 re) (*.f64 (*.f64 im im) (exp.f64 (exp.f64 re)))) (exp.f64 (exp.f64 re))))) |
(+.f64 (fma.f64 -1/2 (*.f64 (*.f64 im im) (exp.f64 (+.f64 re (exp.f64 re)))) (exp.f64 (exp.f64 re))) (*.f64 (exp.f64 (exp.f64 re)) (+.f64 (*.f64 (fma.f64 (exp.f64 re) 1/24 (*.f64 (pow.f64 (exp.f64 re) 2) 1/8)) (pow.f64 im 4)) (*.f64 (fma.f64 (pow.f64 (exp.f64 re) 2) -1/48 (fma.f64 (pow.f64 (exp.f64 re) 3) -1/48 (*.f64 (exp.f64 re) -1/720))) (pow.f64 im 6))))) |
(+.f64 (*.f64 (exp.f64 (exp.f64 re)) (+.f64 (*.f64 (fma.f64 (pow.f64 (exp.f64 re) 2) -1/48 (fma.f64 (pow.f64 (exp.f64 re) 3) -1/48 (*.f64 (exp.f64 re) -1/720))) (pow.f64 im 6)) (*.f64 (exp.f64 re) (*.f64 -1/2 (*.f64 im im))))) (*.f64 (+.f64 (*.f64 (*.f64 (exp.f64 re) (+.f64 1/24 (*.f64 (exp.f64 re) 1/8))) (pow.f64 im 4)) 1) (exp.f64 (exp.f64 re)))) |
(*.f64 (exp.f64 (exp.f64 re)) (+.f64 (+.f64 (*.f64 (exp.f64 re) (*.f64 -1/2 (*.f64 im im))) 1) (+.f64 (*.f64 (*.f64 (exp.f64 re) (+.f64 -1/720 (*.f64 -1/48 (+.f64 (exp.f64 re) (pow.f64 (exp.f64 2) re))))) (pow.f64 im 6)) (*.f64 (*.f64 (exp.f64 re) (+.f64 1/24 (*.f64 (exp.f64 re) 1/8))) (pow.f64 im 4))))) |
(*.f64 (exp.f64 (exp.f64 re)) (+.f64 (*.f64 (exp.f64 re) (*.f64 -1/2 (*.f64 im im))) (+.f64 (*.f64 (*.f64 (exp.f64 re) (+.f64 -1/720 (*.f64 -1/48 (+.f64 (exp.f64 re) (pow.f64 (exp.f64 2) re))))) (pow.f64 im 6)) (+.f64 (*.f64 (*.f64 (exp.f64 re) (+.f64 1/24 (*.f64 (exp.f64 re) 1/8))) (pow.f64 im 4)) 1)))) |
(exp.f64 (*.f64 (exp.f64 re) (cos.f64 im))) |
(pow.f64 (exp.f64 (exp.f64 re)) (cos.f64 im)) |
(pow.f64 (exp.f64 (cos.f64 im)) (exp.f64 re)) |
(exp.f64 (*.f64 (exp.f64 re) (cos.f64 im))) |
(pow.f64 (exp.f64 (exp.f64 re)) (cos.f64 im)) |
(pow.f64 (exp.f64 (cos.f64 im)) (exp.f64 re)) |
(exp.f64 (*.f64 (exp.f64 re) (cos.f64 im))) |
(pow.f64 (exp.f64 (exp.f64 re)) (cos.f64 im)) |
(pow.f64 (exp.f64 (cos.f64 im)) (exp.f64 re)) |
(exp.f64 (*.f64 (exp.f64 re) (cos.f64 im))) |
(pow.f64 (exp.f64 (exp.f64 re)) (cos.f64 im)) |
(pow.f64 (exp.f64 (cos.f64 im)) (exp.f64 re)) |
(exp.f64 (*.f64 (exp.f64 re) (cos.f64 im))) |
(pow.f64 (exp.f64 (exp.f64 re)) (cos.f64 im)) |
(pow.f64 (exp.f64 (cos.f64 im)) (exp.f64 re)) |
(exp.f64 (*.f64 (exp.f64 re) (cos.f64 im))) |
(pow.f64 (exp.f64 (exp.f64 re)) (cos.f64 im)) |
(pow.f64 (exp.f64 (cos.f64 im)) (exp.f64 re)) |
(exp.f64 (*.f64 (exp.f64 re) (cos.f64 im))) |
(pow.f64 (exp.f64 (exp.f64 re)) (cos.f64 im)) |
(pow.f64 (exp.f64 (cos.f64 im)) (exp.f64 re)) |
(exp.f64 (*.f64 (exp.f64 re) (cos.f64 im))) |
(pow.f64 (exp.f64 (exp.f64 re)) (cos.f64 im)) |
(pow.f64 (exp.f64 (cos.f64 im)) (exp.f64 re)) |
(exp.f64 1) |
(E.f64) |
(+.f64 (*.f64 re (exp.f64 1)) (exp.f64 1)) |
(fma.f64 re (E.f64) (E.f64)) |
(+.f64 (*.f64 re (exp.f64 1)) (+.f64 (*.f64 (pow.f64 re 2) (exp.f64 1)) (exp.f64 1))) |
(fma.f64 re (E.f64) (fma.f64 (*.f64 re re) (E.f64) (E.f64))) |
(*.f64 (E.f64) (+.f64 re (fma.f64 re re 1))) |
(+.f64 (*.f64 re (exp.f64 1)) (+.f64 (*.f64 (pow.f64 re 2) (exp.f64 1)) (+.f64 (*.f64 5/6 (*.f64 (pow.f64 re 3) (exp.f64 1))) (exp.f64 1)))) |
(fma.f64 re (E.f64) (fma.f64 (*.f64 re re) (E.f64) (fma.f64 5/6 (*.f64 (pow.f64 re 3) (E.f64)) (E.f64)))) |
(+.f64 (*.f64 (E.f64) (+.f64 re (fma.f64 re re 1))) (*.f64 (pow.f64 re 3) (*.f64 (E.f64) 5/6))) |
(*.f64 (E.f64) (+.f64 (+.f64 re (fma.f64 re re 1)) (*.f64 (pow.f64 re 3) 5/6))) |
Compiled 7 to 5 computations (28.6% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.1b | (*.f64 (cos.f64 im) re) | |
| 0.1b | (*.f64 (cos.f64 im) re) |
Compiled 10 to 4 computations (60% saved)
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 0 | 0 |
| 1× | saturated |
| Inputs |
|---|
| Outputs |
|---|
Compiled 10 to 4 computations (60% saved)
Found 6 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.3b | (+.f64 1 (*.f64 (cos.f64 im) (+.f64 1 re))) | |
| 0.2b | (-.f64 (+.f64 1 (*.f64 (cos.f64 im) (+.f64 1 re))) 1) | |
| 0.1b | (*.f64 (cos.f64 im) (+.f64 1 re)) | |
| ✓ | 0.1b | (*.f64 (cos.f64 im) (+.f64 1 re)) |
| ✓ | 0.2b | (-.f64 (+.f64 1 (*.f64 (cos.f64 im) (+.f64 1 re))) 1) |
| ✓ | 0.3b | (+.f64 1 (*.f64 (cos.f64 im) (+.f64 1 re))) |
Compiled 34 to 21 computations (38.2% saved)
18 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | im | @ | 0 | (+.f64 1 (*.f64 (cos.f64 im) (+.f64 1 re))) |
| 0.0ms | im | @ | inf | (+.f64 1 (*.f64 (cos.f64 im) (+.f64 1 re))) |
| 0.0ms | re | @ | inf | (-.f64 (+.f64 1 (*.f64 (cos.f64 im) (+.f64 1 re))) 1) |
| 0.0ms | im | @ | -inf | (+.f64 1 (*.f64 (cos.f64 im) (+.f64 1 re))) |
| 0.0ms | re | @ | 0 | (+.f64 1 (*.f64 (cos.f64 im) (+.f64 1 re))) |
| 1× | batch-egg-rewrite |
| 779× | prod-diff_binary64 |
| 609× | fma-def_binary64 |
| 419× | log-prod_binary64 |
| 260× | fma-neg_binary64 |
| 242× | pow2_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 42 |
| 1 | 206 | 28 |
| 2 | 2950 | 28 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 1 (*.f64 (cos.f64 im) (+.f64 1 re))) |
(-.f64 (+.f64 1 (*.f64 (cos.f64 im) (+.f64 1 re))) 1) |
(*.f64 (cos.f64 im) (+.f64 1 re)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 1 (-.f64 1 (*.f64 (cos.f64 im) (+.f64 1 re)))) (/.f64 (pow.f64 (*.f64 (cos.f64 im) (+.f64 1 re)) 2) (-.f64 1 (*.f64 (cos.f64 im) (+.f64 1 re)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 (cos.f64 im) (+.f64 1 re) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1)) (pow.f64 (cbrt.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1)) 2) (cbrt.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1)) 2) (*.f64 (cbrt.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1)) (sqrt.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1)) (*.f64 (sqrt.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 (pow.f64 (*.f64 (cos.f64 im) (+.f64 1 re)) 3)) (/.f64 1 (fma.f64 (*.f64 (cos.f64 im) (+.f64 1 re)) (fma.f64 (cos.f64 im) (+.f64 1 re) -1) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 1 (pow.f64 (*.f64 (cos.f64 im) (+.f64 1 re)) 2)) (/.f64 1 (-.f64 1 (*.f64 (cos.f64 im) (+.f64 1 re)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 (*.f64 (cos.f64 im) (+.f64 1 re)) (fma.f64 (cos.f64 im) (+.f64 1 re) -1) 1) (+.f64 1 (pow.f64 (*.f64 (cos.f64 im) (+.f64 1 re)) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 1 (*.f64 (cos.f64 im) (+.f64 1 re))) (-.f64 1 (pow.f64 (*.f64 (cos.f64 im) (+.f64 1 re)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (*.f64 (cos.f64 im) (+.f64 1 re)) 3)) (fma.f64 (*.f64 (cos.f64 im) (+.f64 1 re)) (fma.f64 (cos.f64 im) (+.f64 1 re) -1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (*.f64 (cos.f64 im) (+.f64 1 re)) 3)) (+.f64 (pow.f64 (*.f64 (cos.f64 im) (+.f64 1 re)) 2) (-.f64 1 (*.f64 (cos.f64 im) (+.f64 1 re)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (pow.f64 (*.f64 (cos.f64 im) (+.f64 1 re)) 2)) (-.f64 1 (*.f64 (cos.f64 im) (+.f64 1 re))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 1 (pow.f64 (*.f64 (cos.f64 im) (+.f64 1 re)) 3))) (neg.f64 (fma.f64 (*.f64 (cos.f64 im) (+.f64 1 re)) (fma.f64 (cos.f64 im) (+.f64 1 re) -1) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 1 (pow.f64 (*.f64 (cos.f64 im) (+.f64 1 re)) 2))) (neg.f64 (-.f64 1 (*.f64 (cos.f64 im) (+.f64 1 re)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 (cos.f64 im) (+.f64 1 re)) 2) 1) (fma.f64 (cos.f64 im) (+.f64 1 re) -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 1 (pow.f64 (*.f64 (cos.f64 im) (+.f64 1 re)) 3)) 1) (fma.f64 (*.f64 (cos.f64 im) (+.f64 1 re)) (fma.f64 (cos.f64 im) (+.f64 1 re) -1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 1 (pow.f64 (*.f64 (cos.f64 im) (+.f64 1 re)) 2)) 1) (-.f64 1 (*.f64 (cos.f64 im) (+.f64 1 re))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 (*.f64 (cos.f64 im) (+.f64 1 re)) (fma.f64 (cos.f64 im) (+.f64 1 re) -1) 1) (+.f64 1 (pow.f64 (*.f64 (cos.f64 im) (+.f64 1 re)) 3))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 1 (*.f64 (cos.f64 im) (+.f64 1 re))) (-.f64 1 (pow.f64 (*.f64 (cos.f64 im) (+.f64 1 re)) 2))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1) 3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (cos.f64 im) (fma.f64 (cos.f64 im) re 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 (cos.f64 im) (+.f64 1 re)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 (cos.f64 im) (+.f64 1 re) 2) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cos.f64 im) 1 (fma.f64 (cos.f64 im) re 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cos.f64 im) (+.f64 1 re) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 1 re) (cos.f64 im) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 im) (+.f64 1 re)) 1 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 1 re)) 2) (*.f64 (cbrt.f64 (+.f64 1 re)) (cos.f64 im)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (cos.f64 im) (+.f64 1 re))) (pow.f64 (cbrt.f64 (*.f64 (cos.f64 im) (+.f64 1 re))) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 (cos.f64 im) (+.f64 1 re))) 2) (cbrt.f64 (*.f64 (cos.f64 im) (+.f64 1 re))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (cos.f64 im)) (pow.f64 (cbrt.f64 (cos.f64 im)) 2) (fma.f64 (cos.f64 im) re 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (cos.f64 im)) 2) (cbrt.f64 (cos.f64 im)) (fma.f64 (cos.f64 im) re 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (cos.f64 im)) 2) (*.f64 (cbrt.f64 (cos.f64 im)) 1) (fma.f64 (cos.f64 im) re 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (cos.f64 im)) 2) (*.f64 (cbrt.f64 (cos.f64 im)) (+.f64 1 re)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (hypot.f64 1 (sqrt.f64 re)) (*.f64 (hypot.f64 1 (sqrt.f64 re)) (cos.f64 im)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 (cos.f64 im) (+.f64 1 re))) (sqrt.f64 (*.f64 (cos.f64 im) (+.f64 1 re))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cos.f64 im)) (sqrt.f64 (cos.f64 im)) (fma.f64 (cos.f64 im) re 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cos.f64 im)) (*.f64 (sqrt.f64 (cos.f64 im)) 1) (fma.f64 (cos.f64 im) re 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cos.f64 im)) (*.f64 (sqrt.f64 (cos.f64 im)) (+.f64 1 re)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (pow.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1) 3) -1) (/.f64 1 (+.f64 (pow.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1) 2) (fma.f64 (cos.f64 im) (+.f64 1 re) 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (pow.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1) 2) -1) (/.f64 1 (fma.f64 (cos.f64 im) (+.f64 1 re) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 2) 1 -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 2)) 2) (cbrt.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 2)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 2)) (sqrt.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 2)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (sqrt.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1)) 1) (-.f64 (sqrt.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1)) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 im) (pow.f64 (cbrt.f64 (+.f64 1 re)) 2)) (cbrt.f64 (+.f64 1 re)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 im) (hypot.f64 1 (sqrt.f64 re))) (hypot.f64 1 (sqrt.f64 re)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (+.f64 1 re) (pow.f64 (cbrt.f64 (cos.f64 im)) 2)) (cbrt.f64 (cos.f64 im)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (+.f64 1 re) (sqrt.f64 (cos.f64 im))) (sqrt.f64 (cos.f64 im)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log1p.f64 (*.f64 (cos.f64 im) (+.f64 1 re))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log1p.f64 (*.f64 (cos.f64 im) (+.f64 1 re))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 2))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (fma.f64 (cos.f64 im) (+.f64 1 re) -1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (*.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) -1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (cos.f64 im) (*.f64 (cos.f64 im) re))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (cos.f64 im) (*.f64 (*.f64 (cos.f64 im) re) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (cos.f64 im) (+.f64 1 re)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (cos.f64 im) (+.f64 1 re)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 -1 (fma.f64 (cos.f64 im) (+.f64 1 re) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) -1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 (+.f64 1 re)) (cos.f64 im))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (+.f64 1 re)) (cos.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (+.f64 1 re)) (cos.f64 im)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (+.f64 1 re)) (cos.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 (cos.f64 im) (+.f64 1 re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 im) (+.f64 1 re))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 re) (cos.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 im) (+.f64 1 re)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 1 re)) 2) (*.f64 (cbrt.f64 (+.f64 1 re)) (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (cos.f64 im) (+.f64 1 re))) (pow.f64 (cbrt.f64 (*.f64 (cos.f64 im) (+.f64 1 re))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 (cos.f64 im) (+.f64 1 re))) 2) (cbrt.f64 (*.f64 (cos.f64 im) (+.f64 1 re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cos.f64 im)) 2) (*.f64 (cbrt.f64 (cos.f64 im)) (+.f64 1 re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 1 (sqrt.f64 re)) (*.f64 (hypot.f64 1 (sqrt.f64 re)) (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 (cos.f64 im) (+.f64 1 re))) (sqrt.f64 (*.f64 (cos.f64 im) (+.f64 1 re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 im)) (*.f64 (sqrt.f64 (cos.f64 im)) (+.f64 1 re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1) 3) -1) (/.f64 1 (+.f64 (pow.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1) 2) (fma.f64 (cos.f64 im) (+.f64 1 re) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1) 2) -1) (/.f64 1 (fma.f64 (cos.f64 im) (+.f64 1 re) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sqrt.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1)) 1) (-.f64 (sqrt.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 im) (pow.f64 (cbrt.f64 (+.f64 1 re)) 2)) (cbrt.f64 (+.f64 1 re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 im) (hypot.f64 1 (sqrt.f64 re))) (hypot.f64 1 (sqrt.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (+.f64 1 re) (pow.f64 (cbrt.f64 (cos.f64 im)) 2)) (cbrt.f64 (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (+.f64 1 re) (sqrt.f64 (cos.f64 im))) (sqrt.f64 (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1) 2) (fma.f64 (cos.f64 im) (+.f64 1 re) 2)) (+.f64 (pow.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1) 3) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 2) (+.f64 (pow.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1) 2) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1) 3) -1) (+.f64 (pow.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1) 2) (fma.f64 (cos.f64 im) (+.f64 1 re) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1) 3) -1) (+.f64 (pow.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1) 2) (-.f64 1 (*.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1) 2) -1) (fma.f64 (cos.f64 im) (+.f64 1 re) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1) 3) -1)) (neg.f64 (+.f64 (pow.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1) 2) (fma.f64 (cos.f64 im) (+.f64 1 re) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1) 2) -1)) (neg.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) -1) 3)) (+.f64 1 (-.f64 (pow.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) -1) 2) (fma.f64 (cos.f64 im) (+.f64 1 re) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 (*.f64 (cos.f64 im) re) 3)) (+.f64 (pow.f64 (cos.f64 im) 2) (-.f64 (pow.f64 (*.f64 (cos.f64 im) re) 2) (*.f64 (cos.f64 im) (*.f64 (cos.f64 im) re)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (pow.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) -1) 2)) (-.f64 1 (fma.f64 (cos.f64 im) (+.f64 1 re) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (cos.f64 im) 2) (pow.f64 (*.f64 (cos.f64 im) re) 2)) (-.f64 (cos.f64 im) (*.f64 (cos.f64 im) re)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 1 (pow.f64 re 3)) (cos.f64 im)) (fma.f64 re (-.f64 re 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 1 (*.f64 re re)) (cos.f64 im)) (-.f64 1 re))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (cos.f64 im) (+.f64 1 (pow.f64 re 3))) (fma.f64 re (-.f64 re 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (cos.f64 im) (-.f64 1 (*.f64 re re))) (-.f64 1 re))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cos.f64 im) (+.f64 1 re)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 im) (+.f64 1 re)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (cos.f64 im) (+.f64 1 re))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (cos.f64 im) (+.f64 1 re))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 im) (+.f64 1 re)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (+.f64 (pow.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1) 2) (fma.f64 (cos.f64 im) (+.f64 1 re) 2)) (+.f64 (pow.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1) 3) -1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 2) (+.f64 (pow.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1) 2) -1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (cos.f64 im) (+.f64 1 re)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (+.f64 1 re)) (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (cos.f64 im) (+.f64 1 re)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (cos.f64 im))) (exp.f64 (*.f64 (cos.f64 im) re))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (*.f64 (cos.f64 im) re)) (exp.f64 (cos.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (*.f64 (cos.f64 im) re)) (+.f64 1 (expm1.f64 (cos.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (cos.f64 im) (+.f64 1 re)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (cos.f64 im) (*.f64 (cos.f64 im) re))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (cos.f64 im) (*.f64 (*.f64 (cos.f64 im) re) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 (cos.f64 im) (+.f64 1 re)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 (cos.f64 im) (+.f64 1 re) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 (cos.f64 im) re) (cos.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 (cos.f64 im) (+.f64 1 re) -1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cos.f64 im) 1 (*.f64 (cos.f64 im) re))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cos.f64 im) 1 (*.f64 (*.f64 (cos.f64 im) re) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cos.f64 im) re (cos.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cos.f64 im) (+.f64 1 re) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 re (cos.f64 im) (cos.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 1 re) (cos.f64 im) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 im) (+.f64 1 re)) 1 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1) 1 -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1)) (pow.f64 (cbrt.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1)) 2) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1)) 2) (cbrt.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1)) 2) (*.f64 (cbrt.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1)) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 re) 2) (*.f64 (cbrt.f64 re) (cos.f64 im)) (cos.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 1 re)) 2) (*.f64 (cbrt.f64 (+.f64 1 re)) (cos.f64 im)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (cos.f64 im) (+.f64 1 re))) (pow.f64 (cbrt.f64 (*.f64 (cos.f64 im) (+.f64 1 re))) 2) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 (cos.f64 im) (+.f64 1 re))) 2) (cbrt.f64 (*.f64 (cos.f64 im) (+.f64 1 re))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (cos.f64 im)) (pow.f64 (cbrt.f64 (cos.f64 im)) 2) (*.f64 (cos.f64 im) re))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (cos.f64 im)) (pow.f64 (cbrt.f64 (cos.f64 im)) 2) (*.f64 (*.f64 (cos.f64 im) re) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (cos.f64 im)) 2) (cbrt.f64 (cos.f64 im)) (*.f64 (cos.f64 im) re))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (cos.f64 im)) 2) (cbrt.f64 (cos.f64 im)) (*.f64 (*.f64 (cos.f64 im) re) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (cos.f64 im)) 2) (*.f64 (cbrt.f64 (cos.f64 im)) 1) (*.f64 (cos.f64 im) re))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (cos.f64 im)) 2) (*.f64 (cbrt.f64 (cos.f64 im)) 1) (*.f64 (*.f64 (cos.f64 im) re) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (cos.f64 im)) 2) (*.f64 (cbrt.f64 (cos.f64 im)) re) (cos.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (cos.f64 im)) 2) (*.f64 (cbrt.f64 (cos.f64 im)) (+.f64 1 re)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1)) (sqrt.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1)) (*.f64 (sqrt.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1)) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 re) (*.f64 (sqrt.f64 re) (cos.f64 im)) (cos.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (hypot.f64 1 (sqrt.f64 re)) (*.f64 (hypot.f64 1 (sqrt.f64 re)) (cos.f64 im)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 (cos.f64 im) (+.f64 1 re))) (sqrt.f64 (*.f64 (cos.f64 im) (+.f64 1 re))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cos.f64 im)) (sqrt.f64 (cos.f64 im)) (*.f64 (cos.f64 im) re))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cos.f64 im)) (sqrt.f64 (cos.f64 im)) (*.f64 (*.f64 (cos.f64 im) re) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cos.f64 im)) (*.f64 (sqrt.f64 (cos.f64 im)) 1) (*.f64 (cos.f64 im) re))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cos.f64 im)) (*.f64 (sqrt.f64 (cos.f64 im)) 1) (*.f64 (*.f64 (cos.f64 im) re) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cos.f64 im)) (*.f64 (sqrt.f64 (cos.f64 im)) re) (cos.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cos.f64 im)) (*.f64 (sqrt.f64 (cos.f64 im)) (+.f64 1 re)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (pow.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1) 3) -1) (/.f64 1 (+.f64 (pow.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1) 2) (fma.f64 (cos.f64 im) (+.f64 1 re) 2))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 1 (pow.f64 (*.f64 (cos.f64 im) (+.f64 1 re)) 3)) (/.f64 1 (fma.f64 (*.f64 (cos.f64 im) (+.f64 1 re)) (fma.f64 (cos.f64 im) (+.f64 1 re) -1) 1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (pow.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1) 2) -1) (/.f64 1 (fma.f64 (cos.f64 im) (+.f64 1 re) 2)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 1 (pow.f64 (*.f64 (cos.f64 im) (+.f64 1 re)) 2)) (/.f64 1 (-.f64 1 (*.f64 (cos.f64 im) (+.f64 1 re)))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 (cos.f64 im) re)) 2) (cbrt.f64 (*.f64 (cos.f64 im) re)) (cos.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) -1)) 2) (cbrt.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 (cos.f64 im) re)) (sqrt.f64 (*.f64 (cos.f64 im) re)) (cos.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) -1)) (sqrt.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (sqrt.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1)) 1) (-.f64 (sqrt.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1)) 1) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 (hypot.f64 1 (sqrt.f64 re)) (sqrt.f64 (cos.f64 im)) 1) (fma.f64 (hypot.f64 1 (sqrt.f64 re)) (sqrt.f64 (cos.f64 im)) -1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sqrt.f64 (cos.f64 im)) (sqrt.f64 re)) (*.f64 (sqrt.f64 (cos.f64 im)) (sqrt.f64 re)) (cos.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sqrt.f64 re) (sqrt.f64 (cos.f64 im))) (*.f64 (sqrt.f64 re) (sqrt.f64 (cos.f64 im))) (cos.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 im) (pow.f64 (cbrt.f64 re) 2)) (cbrt.f64 re) (cos.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 im) (sqrt.f64 re)) (sqrt.f64 re) (cos.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 re (pow.f64 (cbrt.f64 (cos.f64 im)) 2)) (cbrt.f64 (cos.f64 im)) (cos.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 re (sqrt.f64 (cos.f64 im))) (sqrt.f64 (cos.f64 im)) (cos.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 im) (pow.f64 (cbrt.f64 (+.f64 1 re)) 2)) (cbrt.f64 (+.f64 1 re)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 im) (hypot.f64 1 (sqrt.f64 re))) (hypot.f64 1 (sqrt.f64 re)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (+.f64 1 re) (pow.f64 (cbrt.f64 (cos.f64 im)) 2)) (cbrt.f64 (cos.f64 im)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (+.f64 1 re) (sqrt.f64 (cos.f64 im))) (sqrt.f64 (cos.f64 im)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x hypot.f64 (sqrt.f64 (*.f64 (cos.f64 im) (+.f64 1 re))) (sqrt.f64 (*.f64 (*.f64 (cos.f64 im) (+.f64 1 re)) (fma.f64 (cos.f64 im) (+.f64 1 re) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (log1p.f64 re) (log.f64 (cos.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (+.f64 (log1p.f64 re) (log.f64 (cos.f64 im))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (cos.f64 im) (+.f64 1 re))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (cos.f64 im) (+.f64 1 re))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (*.f64 (log1p.f64 (*.f64 (cos.f64 im) (+.f64 1 re))) 1)))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (fma.f64 (cos.f64 im) (+.f64 1 re) -1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (*.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) -1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (cos.f64 im) (*.f64 (cos.f64 im) re))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (cos.f64 im) (*.f64 (*.f64 (cos.f64 im) re) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (cos.f64 im) (+.f64 1 re)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (cos.f64 im) (+.f64 1 re)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 -1 (fma.f64 (cos.f64 im) (+.f64 1 re) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) -1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 (+.f64 1 re)) (cos.f64 im))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (+.f64 1 re)) (cos.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (+.f64 1 re)) (cos.f64 im)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (+.f64 1 re)) (cos.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1) 3) (+.f64 (pow.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1) 2) (fma.f64 (cos.f64 im) (+.f64 1 re) 2))) (/.f64 1 (+.f64 (pow.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1) 2) (fma.f64 (cos.f64 im) (+.f64 1 re) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1) 2) (fma.f64 (cos.f64 im) (+.f64 1 re) 2)) (/.f64 1 (fma.f64 (cos.f64 im) (+.f64 1 re) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1) 2) (fma.f64 (cos.f64 im) (+.f64 1 re) 2)) (+.f64 (pow.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1) 3) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 2) (+.f64 (pow.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1) 2) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1) 3) -1) (+.f64 (pow.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1) 2) (fma.f64 (cos.f64 im) (+.f64 1 re) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1) 3) -1) (+.f64 (pow.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1) 2) (-.f64 1 (*.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1) 2) -1) (fma.f64 (cos.f64 im) (+.f64 1 re) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1) 3) -1)) (neg.f64 (+.f64 (pow.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1) 2) (fma.f64 (cos.f64 im) (+.f64 1 re) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1) 2) -1)) (neg.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) -1) 3)) (+.f64 1 (-.f64 (pow.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) -1) 2) (fma.f64 (cos.f64 im) (+.f64 1 re) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 (*.f64 (cos.f64 im) re) 3)) (+.f64 (pow.f64 (cos.f64 im) 2) (-.f64 (pow.f64 (*.f64 (cos.f64 im) re) 2) (*.f64 (cos.f64 im) (*.f64 (cos.f64 im) re)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (pow.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) -1) 2)) (-.f64 1 (fma.f64 (cos.f64 im) (+.f64 1 re) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (cos.f64 im) 2) (pow.f64 (*.f64 (cos.f64 im) re) 2)) (-.f64 (cos.f64 im) (*.f64 (cos.f64 im) re)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 1 (pow.f64 re 3)) (cos.f64 im)) (fma.f64 re (-.f64 re 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 1 (*.f64 re re)) (cos.f64 im)) (-.f64 1 re))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (cos.f64 im) (+.f64 1 (pow.f64 re 3))) (fma.f64 re (-.f64 re 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (cos.f64 im) (-.f64 1 (*.f64 re re))) (-.f64 1 re))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cos.f64 im) (+.f64 1 re)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 im) (+.f64 1 re)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (cos.f64 im) (+.f64 1 re))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (cos.f64 im) (+.f64 1 re))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 im) (+.f64 1 re)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (+.f64 (pow.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1) 2) (fma.f64 (cos.f64 im) (+.f64 1 re) 2)) (+.f64 (pow.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1) 3) -1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 2) (+.f64 (pow.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1) 2) -1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (cos.f64 im) (+.f64 1 re)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (+.f64 1 re)) (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (cos.f64 im) (+.f64 1 re)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (cos.f64 im))) (exp.f64 (*.f64 (cos.f64 im) re))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (*.f64 (cos.f64 im) re)) (exp.f64 (cos.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (*.f64 (cos.f64 im) re)) (+.f64 1 (expm1.f64 (cos.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (cos.f64 im) (+.f64 1 re)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (cos.f64 im) (*.f64 (cos.f64 im) re))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (cos.f64 im) (*.f64 (*.f64 (cos.f64 im) re) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 (cos.f64 im) (+.f64 1 re)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 (cos.f64 im) (+.f64 1 re) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 (cos.f64 im) re) (cos.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 (cos.f64 im) (+.f64 1 re) -1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cos.f64 im) 1 (*.f64 (cos.f64 im) re))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cos.f64 im) 1 (*.f64 (*.f64 (cos.f64 im) re) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cos.f64 im) re (cos.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cos.f64 im) (+.f64 1 re) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 re (cos.f64 im) (cos.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 1 re) (cos.f64 im) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 im) (+.f64 1 re)) 1 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1) 1 -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1)) (pow.f64 (cbrt.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1)) 2) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1)) 2) (cbrt.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1)) 2) (*.f64 (cbrt.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1)) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 re) 2) (*.f64 (cbrt.f64 re) (cos.f64 im)) (cos.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 1 re)) 2) (*.f64 (cbrt.f64 (+.f64 1 re)) (cos.f64 im)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (cos.f64 im) (+.f64 1 re))) (pow.f64 (cbrt.f64 (*.f64 (cos.f64 im) (+.f64 1 re))) 2) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 (cos.f64 im) (+.f64 1 re))) 2) (cbrt.f64 (*.f64 (cos.f64 im) (+.f64 1 re))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (cos.f64 im)) (pow.f64 (cbrt.f64 (cos.f64 im)) 2) (*.f64 (cos.f64 im) re))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (cos.f64 im)) (pow.f64 (cbrt.f64 (cos.f64 im)) 2) (*.f64 (*.f64 (cos.f64 im) re) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (cos.f64 im)) 2) (cbrt.f64 (cos.f64 im)) (*.f64 (cos.f64 im) re))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (cos.f64 im)) 2) (cbrt.f64 (cos.f64 im)) (*.f64 (*.f64 (cos.f64 im) re) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (cos.f64 im)) 2) (*.f64 (cbrt.f64 (cos.f64 im)) 1) (*.f64 (cos.f64 im) re))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (cos.f64 im)) 2) (*.f64 (cbrt.f64 (cos.f64 im)) 1) (*.f64 (*.f64 (cos.f64 im) re) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (cos.f64 im)) 2) (*.f64 (cbrt.f64 (cos.f64 im)) re) (cos.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (cos.f64 im)) 2) (*.f64 (cbrt.f64 (cos.f64 im)) (+.f64 1 re)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1)) (sqrt.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1)) (*.f64 (sqrt.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1)) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 re) (*.f64 (sqrt.f64 re) (cos.f64 im)) (cos.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (hypot.f64 1 (sqrt.f64 re)) (*.f64 (hypot.f64 1 (sqrt.f64 re)) (cos.f64 im)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 (cos.f64 im) (+.f64 1 re))) (sqrt.f64 (*.f64 (cos.f64 im) (+.f64 1 re))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cos.f64 im)) (sqrt.f64 (cos.f64 im)) (*.f64 (cos.f64 im) re))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cos.f64 im)) (sqrt.f64 (cos.f64 im)) (*.f64 (*.f64 (cos.f64 im) re) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cos.f64 im)) (*.f64 (sqrt.f64 (cos.f64 im)) 1) (*.f64 (cos.f64 im) re))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cos.f64 im)) (*.f64 (sqrt.f64 (cos.f64 im)) 1) (*.f64 (*.f64 (cos.f64 im) re) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cos.f64 im)) (*.f64 (sqrt.f64 (cos.f64 im)) re) (cos.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cos.f64 im)) (*.f64 (sqrt.f64 (cos.f64 im)) (+.f64 1 re)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (pow.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1) 3) -1) (/.f64 1 (+.f64 (pow.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1) 2) (fma.f64 (cos.f64 im) (+.f64 1 re) 2))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 1 (pow.f64 (*.f64 (cos.f64 im) (+.f64 1 re)) 3)) (/.f64 1 (fma.f64 (*.f64 (cos.f64 im) (+.f64 1 re)) (fma.f64 (cos.f64 im) (+.f64 1 re) -1) 1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (pow.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1) 2) -1) (/.f64 1 (fma.f64 (cos.f64 im) (+.f64 1 re) 2)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 1 (pow.f64 (*.f64 (cos.f64 im) (+.f64 1 re)) 2)) (/.f64 1 (-.f64 1 (*.f64 (cos.f64 im) (+.f64 1 re)))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 (cos.f64 im) re)) 2) (cbrt.f64 (*.f64 (cos.f64 im) re)) (cos.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) -1)) 2) (cbrt.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 (cos.f64 im) re)) (sqrt.f64 (*.f64 (cos.f64 im) re)) (cos.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) -1)) (sqrt.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (sqrt.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1)) 1) (-.f64 (sqrt.f64 (fma.f64 (cos.f64 im) (+.f64 1 re) 1)) 1) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 (hypot.f64 1 (sqrt.f64 re)) (sqrt.f64 (cos.f64 im)) 1) (fma.f64 (hypot.f64 1 (sqrt.f64 re)) (sqrt.f64 (cos.f64 im)) -1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sqrt.f64 (cos.f64 im)) (sqrt.f64 re)) (*.f64 (sqrt.f64 (cos.f64 im)) (sqrt.f64 re)) (cos.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sqrt.f64 re) (sqrt.f64 (cos.f64 im))) (*.f64 (sqrt.f64 re) (sqrt.f64 (cos.f64 im))) (cos.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 im) (pow.f64 (cbrt.f64 re) 2)) (cbrt.f64 re) (cos.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 im) (sqrt.f64 re)) (sqrt.f64 re) (cos.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 re (pow.f64 (cbrt.f64 (cos.f64 im)) 2)) (cbrt.f64 (cos.f64 im)) (cos.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 re (sqrt.f64 (cos.f64 im))) (sqrt.f64 (cos.f64 im)) (cos.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 im) (pow.f64 (cbrt.f64 (+.f64 1 re)) 2)) (cbrt.f64 (+.f64 1 re)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 im) (hypot.f64 1 (sqrt.f64 re))) (hypot.f64 1 (sqrt.f64 re)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (+.f64 1 re) (pow.f64 (cbrt.f64 (cos.f64 im)) 2)) (cbrt.f64 (cos.f64 im)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (+.f64 1 re) (sqrt.f64 (cos.f64 im))) (sqrt.f64 (cos.f64 im)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x hypot.f64 (sqrt.f64 (*.f64 (cos.f64 im) (+.f64 1 re))) (sqrt.f64 (*.f64 (*.f64 (cos.f64 im) (+.f64 1 re)) (fma.f64 (cos.f64 im) (+.f64 1 re) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (log1p.f64 re) (log.f64 (cos.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (+.f64 (log1p.f64 re) (log.f64 (cos.f64 im))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (cos.f64 im) (+.f64 1 re))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (cos.f64 im) (+.f64 1 re))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (*.f64 (log1p.f64 (*.f64 (cos.f64 im) (+.f64 1 re))) 1)))))) |
| 1× | egg-herbie |
| 617× | distribute-rgt-in_binary64 |
| 613× | distribute-lft-in_binary64 |
| 527× | distribute-rgt-out_binary64 |
| 520× | associate-*l*_binary64 |
| 465× | distribute-lft-out_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 39 | 788 |
| 1 | 107 | 770 |
| 2 | 338 | 734 |
| 3 | 1190 | 730 |
| 4 | 2967 | 726 |
| 5 | 6331 | 726 |
| 6 | 6507 | 726 |
| 7 | 6746 | 726 |
| 8 | 6965 | 726 |
| 9 | 7238 | 726 |
| 10 | 7575 | 726 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 2 re) |
(+.f64 2 (+.f64 re (*.f64 -1/2 (*.f64 (+.f64 1 re) (pow.f64 im 2))))) |
(+.f64 (*.f64 1/24 (*.f64 (+.f64 1 re) (pow.f64 im 4))) (+.f64 2 (+.f64 re (*.f64 -1/2 (*.f64 (+.f64 1 re) (pow.f64 im 2)))))) |
(+.f64 (*.f64 1/24 (*.f64 (+.f64 1 re) (pow.f64 im 4))) (+.f64 (*.f64 -1/720 (*.f64 (+.f64 1 re) (pow.f64 im 6))) (+.f64 2 (+.f64 re (*.f64 -1/2 (*.f64 (+.f64 1 re) (pow.f64 im 2))))))) |
(+.f64 1 (*.f64 (+.f64 1 re) (cos.f64 im))) |
(+.f64 1 (*.f64 (+.f64 1 re) (cos.f64 im))) |
(+.f64 1 (*.f64 (+.f64 1 re) (cos.f64 im))) |
(+.f64 1 (*.f64 (+.f64 1 re) (cos.f64 im))) |
(+.f64 (*.f64 (cos.f64 im) (+.f64 1 re)) 1) |
(+.f64 (*.f64 (cos.f64 im) (+.f64 1 re)) 1) |
(+.f64 (*.f64 (cos.f64 im) (+.f64 1 re)) 1) |
(+.f64 (*.f64 (cos.f64 im) (+.f64 1 re)) 1) |
(+.f64 1 (cos.f64 im)) |
(+.f64 1 (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))) |
(+.f64 1 (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))) |
(+.f64 1 (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))) |
(*.f64 (cos.f64 im) re) |
(+.f64 1 (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))) |
(+.f64 1 (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))) |
(+.f64 1 (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))) |
(*.f64 (cos.f64 im) re) |
(+.f64 1 (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))) |
(+.f64 1 (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))) |
(+.f64 1 (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))) |
(+.f64 1 re) |
(+.f64 1 (+.f64 re (*.f64 -1/2 (*.f64 (+.f64 1 re) (pow.f64 im 2))))) |
(+.f64 (*.f64 1/24 (*.f64 (+.f64 1 re) (pow.f64 im 4))) (+.f64 1 (+.f64 re (*.f64 -1/2 (*.f64 (+.f64 1 re) (pow.f64 im 2)))))) |
(+.f64 (*.f64 1/24 (*.f64 (+.f64 1 re) (pow.f64 im 4))) (+.f64 (*.f64 -1/720 (*.f64 (+.f64 1 re) (pow.f64 im 6))) (+.f64 1 (+.f64 re (*.f64 -1/2 (*.f64 (+.f64 1 re) (pow.f64 im 2))))))) |
(*.f64 (cos.f64 im) (+.f64 1 re)) |
(*.f64 (cos.f64 im) (+.f64 1 re)) |
(*.f64 (cos.f64 im) (+.f64 1 re)) |
(*.f64 (cos.f64 im) (+.f64 1 re)) |
(*.f64 (+.f64 1 re) (cos.f64 im)) |
(*.f64 (+.f64 1 re) (cos.f64 im)) |
(*.f64 (+.f64 1 re) (cos.f64 im)) |
(*.f64 (+.f64 1 re) (cos.f64 im)) |
(cos.f64 im) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(*.f64 (cos.f64 im) re) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(*.f64 (cos.f64 im) re) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(+.f64 1 re) |
(+.f64 1 (+.f64 re (*.f64 -1/2 (*.f64 (+.f64 1 re) (pow.f64 im 2))))) |
(+.f64 (*.f64 1/24 (*.f64 (+.f64 1 re) (pow.f64 im 4))) (+.f64 1 (+.f64 re (*.f64 -1/2 (*.f64 (+.f64 1 re) (pow.f64 im 2)))))) |
(+.f64 (*.f64 1/24 (*.f64 (+.f64 1 re) (pow.f64 im 4))) (+.f64 (*.f64 -1/720 (*.f64 (+.f64 1 re) (pow.f64 im 6))) (+.f64 1 (+.f64 re (*.f64 -1/2 (*.f64 (+.f64 1 re) (pow.f64 im 2))))))) |
(*.f64 (+.f64 1 re) (cos.f64 im)) |
(*.f64 (+.f64 1 re) (cos.f64 im)) |
(*.f64 (+.f64 1 re) (cos.f64 im)) |
(*.f64 (+.f64 1 re) (cos.f64 im)) |
(cos.f64 im) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(*.f64 (cos.f64 im) re) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(*.f64 (cos.f64 im) re) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
| Outputs |
|---|
(+.f64 2 re) |
(+.f64 2 (+.f64 re (*.f64 -1/2 (*.f64 (+.f64 1 re) (pow.f64 im 2))))) |
(+.f64 2 (+.f64 re (*.f64 -1/2 (*.f64 (+.f64 re 1) (*.f64 im im))))) |
(+.f64 2 (fma.f64 (+.f64 -1/2 (*.f64 re -1/2)) (*.f64 im im) re)) |
(+.f64 2 (fma.f64 (*.f64 im im) (fma.f64 re -1/2 -1/2) re)) |
(fma.f64 (*.f64 im im) (fma.f64 re -1/2 -1/2) (+.f64 2 re)) |
(+.f64 (*.f64 1/24 (*.f64 (+.f64 1 re) (pow.f64 im 4))) (+.f64 2 (+.f64 re (*.f64 -1/2 (*.f64 (+.f64 1 re) (pow.f64 im 2)))))) |
(fma.f64 1/24 (*.f64 (+.f64 re 1) (pow.f64 im 4)) (+.f64 2 (+.f64 re (*.f64 -1/2 (*.f64 (+.f64 re 1) (*.f64 im im)))))) |
(+.f64 (fma.f64 (+.f64 -1/2 (*.f64 re -1/2)) (*.f64 im im) re) (fma.f64 1/24 (*.f64 (+.f64 re 1) (pow.f64 im 4)) 2)) |
(+.f64 (fma.f64 (*.f64 im im) (fma.f64 re -1/2 -1/2) re) (fma.f64 (pow.f64 im 4) (fma.f64 re 1/24 1/24) 2)) |
(fma.f64 (pow.f64 im 4) (fma.f64 re 1/24 1/24) (fma.f64 (*.f64 im im) (fma.f64 re -1/2 -1/2) (+.f64 2 re))) |
(+.f64 (*.f64 1/24 (*.f64 (+.f64 1 re) (pow.f64 im 4))) (+.f64 (*.f64 -1/720 (*.f64 (+.f64 1 re) (pow.f64 im 6))) (+.f64 2 (+.f64 re (*.f64 -1/2 (*.f64 (+.f64 1 re) (pow.f64 im 2))))))) |
(fma.f64 1/24 (*.f64 (+.f64 re 1) (pow.f64 im 4)) (fma.f64 -1/720 (*.f64 (+.f64 re 1) (pow.f64 im 6)) (+.f64 2 (+.f64 re (*.f64 -1/2 (*.f64 (+.f64 re 1) (*.f64 im im))))))) |
(fma.f64 1/24 (*.f64 (+.f64 re 1) (pow.f64 im 4)) (+.f64 (fma.f64 (+.f64 -1/2 (*.f64 re -1/2)) (*.f64 im im) re) (fma.f64 (+.f64 -1/720 (*.f64 re -1/720)) (pow.f64 im 6) 2))) |
(+.f64 (fma.f64 (pow.f64 im 4) (fma.f64 re 1/24 1/24) 2) (fma.f64 (pow.f64 im 6) (fma.f64 re -1/720 -1/720) (fma.f64 (*.f64 im im) (fma.f64 re -1/2 -1/2) re))) |
(+.f64 (fma.f64 (pow.f64 im 6) (fma.f64 re -1/720 -1/720) 2) (fma.f64 (pow.f64 im 4) (fma.f64 re 1/24 1/24) (fma.f64 (*.f64 im im) (fma.f64 re -1/2 -1/2) re))) |
(+.f64 (fma.f64 (*.f64 im im) (fma.f64 re -1/2 -1/2) re) (fma.f64 (pow.f64 im 4) (fma.f64 re 1/24 1/24) (fma.f64 (pow.f64 im 6) (fma.f64 re -1/720 -1/720) 2))) |
(+.f64 1 (*.f64 (+.f64 1 re) (cos.f64 im))) |
(fma.f64 (cos.f64 im) (+.f64 re 1) 1) |
(fma.f64 (+.f64 re 1) (cos.f64 im) 1) |
(+.f64 1 (*.f64 (+.f64 1 re) (cos.f64 im))) |
(fma.f64 (cos.f64 im) (+.f64 re 1) 1) |
(fma.f64 (+.f64 re 1) (cos.f64 im) 1) |
(+.f64 1 (*.f64 (+.f64 1 re) (cos.f64 im))) |
(fma.f64 (cos.f64 im) (+.f64 re 1) 1) |
(fma.f64 (+.f64 re 1) (cos.f64 im) 1) |
(+.f64 1 (*.f64 (+.f64 1 re) (cos.f64 im))) |
(fma.f64 (cos.f64 im) (+.f64 re 1) 1) |
(fma.f64 (+.f64 re 1) (cos.f64 im) 1) |
(+.f64 (*.f64 (cos.f64 im) (+.f64 1 re)) 1) |
(fma.f64 (cos.f64 im) (+.f64 re 1) 1) |
(fma.f64 (+.f64 re 1) (cos.f64 im) 1) |
(+.f64 (*.f64 (cos.f64 im) (+.f64 1 re)) 1) |
(fma.f64 (cos.f64 im) (+.f64 re 1) 1) |
(fma.f64 (+.f64 re 1) (cos.f64 im) 1) |
(+.f64 (*.f64 (cos.f64 im) (+.f64 1 re)) 1) |
(fma.f64 (cos.f64 im) (+.f64 re 1) 1) |
(fma.f64 (+.f64 re 1) (cos.f64 im) 1) |
(+.f64 (*.f64 (cos.f64 im) (+.f64 1 re)) 1) |
(fma.f64 (cos.f64 im) (+.f64 re 1) 1) |
(fma.f64 (+.f64 re 1) (cos.f64 im) 1) |
(+.f64 1 (cos.f64 im)) |
(+.f64 1 (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))) |
(fma.f64 (cos.f64 im) (+.f64 re 1) 1) |
(fma.f64 (+.f64 re 1) (cos.f64 im) 1) |
(+.f64 1 (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))) |
(fma.f64 (cos.f64 im) (+.f64 re 1) 1) |
(fma.f64 (+.f64 re 1) (cos.f64 im) 1) |
(+.f64 1 (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))) |
(fma.f64 (cos.f64 im) (+.f64 re 1) 1) |
(fma.f64 (+.f64 re 1) (cos.f64 im) 1) |
(*.f64 (cos.f64 im) re) |
(*.f64 re (cos.f64 im)) |
(+.f64 1 (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))) |
(fma.f64 (cos.f64 im) (+.f64 re 1) 1) |
(fma.f64 (+.f64 re 1) (cos.f64 im) 1) |
(+.f64 1 (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))) |
(fma.f64 (cos.f64 im) (+.f64 re 1) 1) |
(fma.f64 (+.f64 re 1) (cos.f64 im) 1) |
(+.f64 1 (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))) |
(fma.f64 (cos.f64 im) (+.f64 re 1) 1) |
(fma.f64 (+.f64 re 1) (cos.f64 im) 1) |
(*.f64 (cos.f64 im) re) |
(*.f64 re (cos.f64 im)) |
(+.f64 1 (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))) |
(fma.f64 (cos.f64 im) (+.f64 re 1) 1) |
(fma.f64 (+.f64 re 1) (cos.f64 im) 1) |
(+.f64 1 (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))) |
(fma.f64 (cos.f64 im) (+.f64 re 1) 1) |
(fma.f64 (+.f64 re 1) (cos.f64 im) 1) |
(+.f64 1 (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))) |
(fma.f64 (cos.f64 im) (+.f64 re 1) 1) |
(fma.f64 (+.f64 re 1) (cos.f64 im) 1) |
(+.f64 1 re) |
(+.f64 re 1) |
(+.f64 1 (+.f64 re (*.f64 -1/2 (*.f64 (+.f64 1 re) (pow.f64 im 2))))) |
(+.f64 (+.f64 re 1) (*.f64 -1/2 (*.f64 (+.f64 re 1) (*.f64 im im)))) |
(+.f64 1 (fma.f64 (+.f64 -1/2 (*.f64 re -1/2)) (*.f64 im im) re)) |
(+.f64 re (fma.f64 (*.f64 im im) (fma.f64 re -1/2 -1/2) 1)) |
(fma.f64 (*.f64 im im) (fma.f64 re -1/2 -1/2) (+.f64 re 1)) |
(+.f64 (*.f64 1/24 (*.f64 (+.f64 1 re) (pow.f64 im 4))) (+.f64 1 (+.f64 re (*.f64 -1/2 (*.f64 (+.f64 1 re) (pow.f64 im 2)))))) |
(fma.f64 1/24 (*.f64 (+.f64 re 1) (pow.f64 im 4)) (+.f64 (+.f64 re 1) (*.f64 -1/2 (*.f64 (+.f64 re 1) (*.f64 im im))))) |
(+.f64 (fma.f64 (+.f64 -1/2 (*.f64 re -1/2)) (*.f64 im im) re) (fma.f64 (+.f64 1/24 (*.f64 re 1/24)) (pow.f64 im 4) 1)) |
(+.f64 (fma.f64 (*.f64 im im) (fma.f64 re -1/2 -1/2) re) (fma.f64 (pow.f64 im 4) (fma.f64 re 1/24 1/24) 1)) |
(*.f64 (+.f64 re 1) (+.f64 (*.f64 -1/2 (*.f64 im im)) (+.f64 1 (*.f64 1/24 (pow.f64 im 4))))) |
(+.f64 (*.f64 1/24 (*.f64 (+.f64 1 re) (pow.f64 im 4))) (+.f64 (*.f64 -1/720 (*.f64 (+.f64 1 re) (pow.f64 im 6))) (+.f64 1 (+.f64 re (*.f64 -1/2 (*.f64 (+.f64 1 re) (pow.f64 im 2))))))) |
(fma.f64 1/24 (*.f64 (+.f64 re 1) (pow.f64 im 4)) (fma.f64 -1/720 (*.f64 (+.f64 re 1) (pow.f64 im 6)) (+.f64 (+.f64 re 1) (*.f64 -1/2 (*.f64 (+.f64 re 1) (*.f64 im im)))))) |
(fma.f64 1/24 (*.f64 (+.f64 re 1) (pow.f64 im 4)) (+.f64 (fma.f64 (+.f64 -1/2 (*.f64 re -1/2)) (*.f64 im im) re) (fma.f64 (+.f64 -1/720 (*.f64 re -1/720)) (pow.f64 im 6) 1))) |
(+.f64 (fma.f64 (*.f64 im im) (fma.f64 re -1/2 -1/2) re) (fma.f64 (pow.f64 im 4) (fma.f64 re 1/24 1/24) (fma.f64 (pow.f64 im 6) (fma.f64 re -1/720 -1/720) 1))) |
(fma.f64 (pow.f64 im 4) (fma.f64 re 1/24 1/24) (*.f64 (+.f64 re 1) (+.f64 (*.f64 -1/720 (pow.f64 im 6)) (+.f64 1 (*.f64 -1/2 (*.f64 im im)))))) |
(*.f64 (+.f64 re 1) (+.f64 (*.f64 -1/2 (*.f64 im im)) (+.f64 (*.f64 1/24 (pow.f64 im 4)) (+.f64 1 (*.f64 -1/720 (pow.f64 im 6)))))) |
(*.f64 (+.f64 re 1) (+.f64 (+.f64 (*.f64 1/24 (pow.f64 im 4)) (*.f64 -1/2 (*.f64 im im))) (+.f64 1 (*.f64 -1/720 (pow.f64 im 6))))) |
(*.f64 (cos.f64 im) (+.f64 1 re)) |
(*.f64 (+.f64 re 1) (cos.f64 im)) |
(fma.f64 re (cos.f64 im) (cos.f64 im)) |
(*.f64 (cos.f64 im) (+.f64 1 re)) |
(*.f64 (+.f64 re 1) (cos.f64 im)) |
(fma.f64 re (cos.f64 im) (cos.f64 im)) |
(*.f64 (cos.f64 im) (+.f64 1 re)) |
(*.f64 (+.f64 re 1) (cos.f64 im)) |
(fma.f64 re (cos.f64 im) (cos.f64 im)) |
(*.f64 (cos.f64 im) (+.f64 1 re)) |
(*.f64 (+.f64 re 1) (cos.f64 im)) |
(fma.f64 re (cos.f64 im) (cos.f64 im)) |
(*.f64 (+.f64 1 re) (cos.f64 im)) |
(*.f64 (+.f64 re 1) (cos.f64 im)) |
(fma.f64 re (cos.f64 im) (cos.f64 im)) |
(*.f64 (+.f64 1 re) (cos.f64 im)) |
(*.f64 (+.f64 re 1) (cos.f64 im)) |
(fma.f64 re (cos.f64 im) (cos.f64 im)) |
(*.f64 (+.f64 1 re) (cos.f64 im)) |
(*.f64 (+.f64 re 1) (cos.f64 im)) |
(fma.f64 re (cos.f64 im) (cos.f64 im)) |
(*.f64 (+.f64 1 re) (cos.f64 im)) |
(*.f64 (+.f64 re 1) (cos.f64 im)) |
(fma.f64 re (cos.f64 im) (cos.f64 im)) |
(cos.f64 im) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(*.f64 (+.f64 re 1) (cos.f64 im)) |
(fma.f64 re (cos.f64 im) (cos.f64 im)) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(*.f64 (+.f64 re 1) (cos.f64 im)) |
(fma.f64 re (cos.f64 im) (cos.f64 im)) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(*.f64 (+.f64 re 1) (cos.f64 im)) |
(fma.f64 re (cos.f64 im) (cos.f64 im)) |
(*.f64 (cos.f64 im) re) |
(*.f64 re (cos.f64 im)) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(*.f64 (+.f64 re 1) (cos.f64 im)) |
(fma.f64 re (cos.f64 im) (cos.f64 im)) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(*.f64 (+.f64 re 1) (cos.f64 im)) |
(fma.f64 re (cos.f64 im) (cos.f64 im)) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(*.f64 (+.f64 re 1) (cos.f64 im)) |
(fma.f64 re (cos.f64 im) (cos.f64 im)) |
(*.f64 (cos.f64 im) re) |
(*.f64 re (cos.f64 im)) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(*.f64 (+.f64 re 1) (cos.f64 im)) |
(fma.f64 re (cos.f64 im) (cos.f64 im)) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(*.f64 (+.f64 re 1) (cos.f64 im)) |
(fma.f64 re (cos.f64 im) (cos.f64 im)) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(*.f64 (+.f64 re 1) (cos.f64 im)) |
(fma.f64 re (cos.f64 im) (cos.f64 im)) |
(+.f64 1 re) |
(+.f64 re 1) |
(+.f64 1 (+.f64 re (*.f64 -1/2 (*.f64 (+.f64 1 re) (pow.f64 im 2))))) |
(+.f64 (+.f64 re 1) (*.f64 -1/2 (*.f64 (+.f64 re 1) (*.f64 im im)))) |
(+.f64 1 (fma.f64 (+.f64 -1/2 (*.f64 re -1/2)) (*.f64 im im) re)) |
(+.f64 re (fma.f64 (*.f64 im im) (fma.f64 re -1/2 -1/2) 1)) |
(fma.f64 (*.f64 im im) (fma.f64 re -1/2 -1/2) (+.f64 re 1)) |
(+.f64 (*.f64 1/24 (*.f64 (+.f64 1 re) (pow.f64 im 4))) (+.f64 1 (+.f64 re (*.f64 -1/2 (*.f64 (+.f64 1 re) (pow.f64 im 2)))))) |
(fma.f64 1/24 (*.f64 (+.f64 re 1) (pow.f64 im 4)) (+.f64 (+.f64 re 1) (*.f64 -1/2 (*.f64 (+.f64 re 1) (*.f64 im im))))) |
(+.f64 (fma.f64 (+.f64 -1/2 (*.f64 re -1/2)) (*.f64 im im) re) (fma.f64 (+.f64 1/24 (*.f64 re 1/24)) (pow.f64 im 4) 1)) |
(+.f64 (fma.f64 (*.f64 im im) (fma.f64 re -1/2 -1/2) re) (fma.f64 (pow.f64 im 4) (fma.f64 re 1/24 1/24) 1)) |
(*.f64 (+.f64 re 1) (+.f64 (*.f64 -1/2 (*.f64 im im)) (+.f64 1 (*.f64 1/24 (pow.f64 im 4))))) |
(+.f64 (*.f64 1/24 (*.f64 (+.f64 1 re) (pow.f64 im 4))) (+.f64 (*.f64 -1/720 (*.f64 (+.f64 1 re) (pow.f64 im 6))) (+.f64 1 (+.f64 re (*.f64 -1/2 (*.f64 (+.f64 1 re) (pow.f64 im 2))))))) |
(fma.f64 1/24 (*.f64 (+.f64 re 1) (pow.f64 im 4)) (fma.f64 -1/720 (*.f64 (+.f64 re 1) (pow.f64 im 6)) (+.f64 (+.f64 re 1) (*.f64 -1/2 (*.f64 (+.f64 re 1) (*.f64 im im)))))) |
(fma.f64 1/24 (*.f64 (+.f64 re 1) (pow.f64 im 4)) (+.f64 (fma.f64 (+.f64 -1/2 (*.f64 re -1/2)) (*.f64 im im) re) (fma.f64 (+.f64 -1/720 (*.f64 re -1/720)) (pow.f64 im 6) 1))) |
(+.f64 (fma.f64 (*.f64 im im) (fma.f64 re -1/2 -1/2) re) (fma.f64 (pow.f64 im 4) (fma.f64 re 1/24 1/24) (fma.f64 (pow.f64 im 6) (fma.f64 re -1/720 -1/720) 1))) |
(fma.f64 (pow.f64 im 4) (fma.f64 re 1/24 1/24) (*.f64 (+.f64 re 1) (+.f64 (*.f64 -1/720 (pow.f64 im 6)) (+.f64 1 (*.f64 -1/2 (*.f64 im im)))))) |
(*.f64 (+.f64 re 1) (+.f64 (*.f64 -1/2 (*.f64 im im)) (+.f64 (*.f64 1/24 (pow.f64 im 4)) (+.f64 1 (*.f64 -1/720 (pow.f64 im 6)))))) |
(*.f64 (+.f64 re 1) (+.f64 (+.f64 (*.f64 1/24 (pow.f64 im 4)) (*.f64 -1/2 (*.f64 im im))) (+.f64 1 (*.f64 -1/720 (pow.f64 im 6))))) |
(*.f64 (+.f64 1 re) (cos.f64 im)) |
(*.f64 (+.f64 re 1) (cos.f64 im)) |
(fma.f64 re (cos.f64 im) (cos.f64 im)) |
(*.f64 (+.f64 1 re) (cos.f64 im)) |
(*.f64 (+.f64 re 1) (cos.f64 im)) |
(fma.f64 re (cos.f64 im) (cos.f64 im)) |
(*.f64 (+.f64 1 re) (cos.f64 im)) |
(*.f64 (+.f64 re 1) (cos.f64 im)) |
(fma.f64 re (cos.f64 im) (cos.f64 im)) |
(*.f64 (+.f64 1 re) (cos.f64 im)) |
(*.f64 (+.f64 re 1) (cos.f64 im)) |
(fma.f64 re (cos.f64 im) (cos.f64 im)) |
(cos.f64 im) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(*.f64 (+.f64 re 1) (cos.f64 im)) |
(fma.f64 re (cos.f64 im) (cos.f64 im)) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(*.f64 (+.f64 re 1) (cos.f64 im)) |
(fma.f64 re (cos.f64 im) (cos.f64 im)) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(*.f64 (+.f64 re 1) (cos.f64 im)) |
(fma.f64 re (cos.f64 im) (cos.f64 im)) |
(*.f64 (cos.f64 im) re) |
(*.f64 re (cos.f64 im)) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(*.f64 (+.f64 re 1) (cos.f64 im)) |
(fma.f64 re (cos.f64 im) (cos.f64 im)) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(*.f64 (+.f64 re 1) (cos.f64 im)) |
(fma.f64 re (cos.f64 im) (cos.f64 im)) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(*.f64 (+.f64 re 1) (cos.f64 im)) |
(fma.f64 re (cos.f64 im) (cos.f64 im)) |
(*.f64 (cos.f64 im) re) |
(*.f64 re (cos.f64 im)) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(*.f64 (+.f64 re 1) (cos.f64 im)) |
(fma.f64 re (cos.f64 im) (cos.f64 im)) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(*.f64 (+.f64 re 1) (cos.f64 im)) |
(fma.f64 re (cos.f64 im) (cos.f64 im)) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(*.f64 (+.f64 re 1) (cos.f64 im)) |
(fma.f64 re (cos.f64 im) (cos.f64 im)) |
Compiled 5200 to 2984 computations (42.6% saved)
15 alts after pruning (5 fresh and 10 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 333 | 4 | 337 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 1 | 9 | 10 |
| Total | 334 | 15 | 349 |
| Status | Error | Program |
|---|---|---|
| ✓ | 25.8b | (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
| ✓ | 26.0b | (-.f64 (+.f64 1 (*.f64 (cos.f64 im) (+.f64 1 re))) 1) |
| ▶ | 43.9b | (-.f64 (+.f64 2 re) 1) |
| ✓ | 43.9b | (+.f64 1 re) |
| ▶ | 26.0b | (*.f64 (cos.f64 im) (+.f64 (*.f64 1/2 (*.f64 re re)) (+.f64 re 1))) |
| ▶ | 0.7b | (log.f64 (exp.f64 (*.f64 (exp.f64 re) (cos.f64 im)))) |
| ▶ | 60.6b | (-.f64 (*.f64 (cos.f64 im) re) 1) |
| ✓ | 18.8b | (exp.f64 re) |
| ✓ | 0.2b | (cbrt.f64 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 3)) |
| ✓ | 26.2b | (+.f64 re (cos.f64 im)) |
| ✓ | 25.9b | (*.f64 (cos.f64 im) (+.f64 re 1)) |
| ✓ | 26.2b | (cos.f64 im) |
| ✓ | 0.0b | (*.f64 (exp.f64 re) (cos.f64 im)) |
| ✓ | 61.8b | (*.f64 (cos.f64 im) re) |
| 61.9b | re |
Compiled 112 to 83 computations (25.9% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.1b | (*.f64 (cos.f64 im) re) | |
| 0.1b | (*.f64 (cos.f64 im) re) |
Compiled 17 to 7 computations (58.8% saved)
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 0 | 0 |
| 1× | saturated |
| Inputs |
|---|
| Outputs |
|---|
Found 6 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.5b | (log.f64 (exp.f64 (*.f64 (exp.f64 re) (cos.f64 im)))) | |
| 0.1b | (exp.f64 (*.f64 (exp.f64 re) (cos.f64 im))) | |
| 0.0b | (*.f64 (exp.f64 re) (cos.f64 im)) | |
| 0.0b | (*.f64 (exp.f64 re) (cos.f64 im)) | |
| ✓ | 0.1b | (exp.f64 (*.f64 (exp.f64 re) (cos.f64 im))) |
| ✓ | 0.5b | (log.f64 (exp.f64 (*.f64 (exp.f64 re) (cos.f64 im)))) |
Compiled 26 to 7 computations (73.1% saved)
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | re | @ | 0 | (log.f64 (exp.f64 (*.f64 (exp.f64 re) (cos.f64 im)))) |
| 0.0ms | im | @ | 0 | (exp.f64 (*.f64 (exp.f64 re) (cos.f64 im))) |
| 0.0ms | re | @ | 0 | (exp.f64 (*.f64 (exp.f64 re) (cos.f64 im))) |
| 0.0ms | re | @ | inf | (exp.f64 (*.f64 (exp.f64 re) (cos.f64 im))) |
| 0.0ms | im | @ | -inf | (exp.f64 (*.f64 (exp.f64 re) (cos.f64 im))) |
| 1× | batch-egg-rewrite |
| 604× | pow1_binary64 |
| 550× | add-log-exp_binary64 |
| 550× | log1p-expm1-u_binary64 |
| 550× | expm1-log1p-u_binary64 |
| 536× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 18 |
| 1 | 137 | 18 |
| 2 | 1521 | 18 |
| 1× | node limit |
| Inputs |
|---|
(log.f64 (exp.f64 (*.f64 (exp.f64 re) (cos.f64 im)))) |
(exp.f64 (*.f64 (exp.f64 re) (cos.f64 im))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (cos.f64 im)) (exp.f64 re)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (cos.f64 im)) (exp.f64 re)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (exp.f64 re) (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (exp.f64 re)) (*.f64 2 (cos.f64 im))))) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (cos.f64 im)) (exp.f64 re)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (exp.f64 re) (cos.f64 im))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 re) (cos.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 im) (exp.f64 re))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 (exp.f64 re) (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))) (pow.f64 (cbrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))) 2) (cbrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cos.f64 im)) 2) (*.f64 (cbrt.f64 (cos.f64 im)) (exp.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (exp.f64 re)) 2) (*.f64 (cbrt.f64 (exp.f64 re)) (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))) (sqrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 im)) (*.f64 (sqrt.f64 (cos.f64 im)) (exp.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (exp.f64 re)) (*.f64 (sqrt.f64 (exp.f64 re)) (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (exp.f64 re) (pow.f64 (cbrt.f64 (cos.f64 im)) 2)) (cbrt.f64 (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (exp.f64 re) (sqrt.f64 (cos.f64 im))) (sqrt.f64 (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 im) (pow.f64 (cbrt.f64 (exp.f64 re)) 2)) (cbrt.f64 (exp.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 im) (sqrt.f64 (exp.f64 re))) (sqrt.f64 (exp.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 re (log.f64 (cos.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (exp.f64 re) (cos.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (exp.f64 re) (cos.f64 im)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (expm1.f64 (*.f64 (exp.f64 re) (cos.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (exp.f64 (cos.f64 im)) (exp.f64 re))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (exp.f64 (cos.f64 im)) (exp.f64 re)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (exp.f64 (cos.f64 im)) (exp.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (exp.f64 (cos.f64 im)) (exp.f64 re))) (cbrt.f64 (pow.f64 (exp.f64 (exp.f64 re)) (*.f64 2 (cos.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (exp.f64 (exp.f64 re)) (*.f64 2 (cos.f64 im)))) (cbrt.f64 (pow.f64 (exp.f64 (cos.f64 im)) (exp.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (exp.f64 (cos.f64 im)) (exp.f64 re))) (sqrt.f64 (pow.f64 (exp.f64 (cos.f64 im)) (exp.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (exp.f64 (cos.f64 im)) (exp.f64 re)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (cos.f64 im)) (exp.f64 re))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (exp.f64 re)) (cos.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (pow.f64 (exp.f64 (cos.f64 im)) (exp.f64 re)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (pow.f64 (exp.f64 (cos.f64 im)) (exp.f64 re))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (pow.f64 (exp.f64 (cos.f64 im)) (exp.f64 re))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (*.f64 (exp.f64 re) (cos.f64 im)))) (sqrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (*.f64 (exp.f64 re) (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))) 2)) (cbrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (exp.f64 (exp.f64 re)) (pow.f64 (cbrt.f64 (cos.f64 im)) 2)) (cbrt.f64 (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (exp.f64 (exp.f64 re)) (sqrt.f64 (cos.f64 im))) (sqrt.f64 (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (exp.f64 (exp.f64 re)) (*.f64 2 (cos.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (exp.f64 (cos.f64 im)) (exp.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (exp.f64 (cos.f64 im)) (exp.f64 re)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (exp.f64 (cos.f64 im)) (exp.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (exp.f64 (cos.f64 im)) (exp.f64 re)))))))) |
| 1× | egg-herbie |
| 689× | fma-def_binary64 |
| 589× | distribute-rgt-out_binary64 |
| 492× | distribute-rgt-in_binary64 |
| 468× | distribute-lft-in_binary64 |
| 445× | distribute-lft-out_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 85 | 596 |
| 1 | 252 | 570 |
| 2 | 798 | 540 |
| 3 | 3999 | 516 |
| 4 | 7371 | 516 |
| 5 | 7566 | 516 |
| 6 | 7908 | 516 |
| 1× | node limit |
| Inputs |
|---|
(cos.f64 im) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))) |
(+.f64 (*.f64 1/6 (*.f64 (cos.f64 im) (pow.f64 re 3))) (+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)))) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(exp.f64 re) |
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (pow.f64 im 2))) (exp.f64 re)) |
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (pow.f64 im 2))) (+.f64 (*.f64 1/24 (*.f64 (exp.f64 re) (pow.f64 im 4))) (exp.f64 re))) |
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (pow.f64 im 2))) (+.f64 (*.f64 1/24 (*.f64 (exp.f64 re) (pow.f64 im 4))) (+.f64 (exp.f64 re) (*.f64 -1/720 (*.f64 (exp.f64 re) (pow.f64 im 6)))))) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(exp.f64 (cos.f64 im)) |
(+.f64 (exp.f64 (cos.f64 im)) (*.f64 (exp.f64 (cos.f64 im)) (*.f64 (cos.f64 im) re))) |
(+.f64 (exp.f64 (cos.f64 im)) (+.f64 (*.f64 (exp.f64 (cos.f64 im)) (*.f64 (cos.f64 im) re)) (*.f64 (exp.f64 (cos.f64 im)) (*.f64 (+.f64 (*.f64 1/2 (pow.f64 (cos.f64 im) 2)) (*.f64 1/2 (cos.f64 im))) (pow.f64 re 2))))) |
(+.f64 (exp.f64 (cos.f64 im)) (+.f64 (*.f64 (exp.f64 (cos.f64 im)) (*.f64 (cos.f64 im) re)) (+.f64 (*.f64 (exp.f64 (cos.f64 im)) (*.f64 (+.f64 (*.f64 1/2 (pow.f64 (cos.f64 im) 2)) (*.f64 1/2 (cos.f64 im))) (pow.f64 re 2))) (*.f64 (exp.f64 (cos.f64 im)) (*.f64 (pow.f64 re 3) (+.f64 (*.f64 1/6 (cos.f64 im)) (+.f64 (*.f64 1/2 (pow.f64 (cos.f64 im) 2)) (*.f64 1/6 (pow.f64 (cos.f64 im) 3))))))))) |
(exp.f64 (exp.f64 re)) |
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (*.f64 (exp.f64 (exp.f64 re)) (pow.f64 im 2)))) (exp.f64 (exp.f64 re))) |
(+.f64 (*.f64 (+.f64 (*.f64 1/8 (pow.f64 (exp.f64 re) 2)) (*.f64 1/24 (exp.f64 re))) (*.f64 (pow.f64 im 4) (exp.f64 (exp.f64 re)))) (+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (*.f64 (exp.f64 (exp.f64 re)) (pow.f64 im 2)))) (exp.f64 (exp.f64 re)))) |
(+.f64 (*.f64 (+.f64 (*.f64 1/8 (pow.f64 (exp.f64 re) 2)) (*.f64 1/24 (exp.f64 re))) (*.f64 (pow.f64 im 4) (exp.f64 (exp.f64 re)))) (+.f64 (*.f64 (+.f64 (*.f64 -1/48 (pow.f64 (exp.f64 re) 2)) (+.f64 (*.f64 -1/48 (pow.f64 (exp.f64 re) 3)) (*.f64 -1/720 (exp.f64 re)))) (*.f64 (pow.f64 im 6) (exp.f64 (exp.f64 re)))) (+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (*.f64 (exp.f64 (exp.f64 re)) (pow.f64 im 2)))) (exp.f64 (exp.f64 re))))) |
| Outputs |
|---|
(cos.f64 im) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(fma.f64 (cos.f64 im) re (cos.f64 im)) |
(*.f64 (cos.f64 im) (+.f64 re 1)) |
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))) |
(fma.f64 1/2 (*.f64 (cos.f64 im) (*.f64 re re)) (fma.f64 (cos.f64 im) re (cos.f64 im))) |
(*.f64 (cos.f64 im) (+.f64 (+.f64 re 1) (*.f64 re (*.f64 re 1/2)))) |
(+.f64 (*.f64 1/6 (*.f64 (cos.f64 im) (pow.f64 re 3))) (+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)))) |
(fma.f64 1/6 (*.f64 (cos.f64 im) (pow.f64 re 3)) (fma.f64 1/2 (*.f64 (cos.f64 im) (*.f64 re re)) (fma.f64 (cos.f64 im) re (cos.f64 im)))) |
(fma.f64 (+.f64 re 1) (cos.f64 im) (*.f64 (cos.f64 im) (+.f64 (*.f64 1/6 (pow.f64 re 3)) (*.f64 re (*.f64 re 1/2))))) |
(*.f64 (cos.f64 im) (+.f64 (*.f64 (*.f64 re re) (+.f64 (*.f64 1/6 re) 1/2)) (+.f64 re 1))) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (cos.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (cos.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (cos.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (cos.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (cos.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (cos.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (cos.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (cos.f64 im) (exp.f64 re)) |
(exp.f64 re) |
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (pow.f64 im 2))) (exp.f64 re)) |
(fma.f64 -1/2 (*.f64 (exp.f64 re) (*.f64 im im)) (exp.f64 re)) |
(*.f64 (+.f64 (*.f64 im (*.f64 im -1/2)) 1) (exp.f64 re)) |
(*.f64 (+.f64 1 (*.f64 im (*.f64 im -1/2))) (exp.f64 re)) |
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (pow.f64 im 2))) (+.f64 (*.f64 1/24 (*.f64 (exp.f64 re) (pow.f64 im 4))) (exp.f64 re))) |
(fma.f64 -1/2 (*.f64 (exp.f64 re) (*.f64 im im)) (fma.f64 1/24 (*.f64 (exp.f64 re) (pow.f64 im 4)) (exp.f64 re))) |
(+.f64 (exp.f64 re) (*.f64 (exp.f64 re) (+.f64 (*.f64 im (*.f64 im -1/2)) (*.f64 1/24 (pow.f64 im 4))))) |
(*.f64 (exp.f64 re) (+.f64 (*.f64 im (*.f64 im -1/2)) (+.f64 1 (*.f64 1/24 (pow.f64 im 4))))) |
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (pow.f64 im 2))) (+.f64 (*.f64 1/24 (*.f64 (exp.f64 re) (pow.f64 im 4))) (+.f64 (exp.f64 re) (*.f64 -1/720 (*.f64 (exp.f64 re) (pow.f64 im 6)))))) |
(fma.f64 -1/2 (*.f64 (exp.f64 re) (*.f64 im im)) (+.f64 (fma.f64 1/24 (*.f64 (exp.f64 re) (pow.f64 im 4)) (exp.f64 re)) (*.f64 -1/720 (*.f64 (exp.f64 re) (pow.f64 im 6))))) |
(fma.f64 -1/2 (*.f64 (exp.f64 re) (*.f64 im im)) (fma.f64 1/24 (*.f64 (exp.f64 re) (pow.f64 im 4)) (fma.f64 (*.f64 (exp.f64 re) -1/720) (pow.f64 im 6) (exp.f64 re)))) |
(+.f64 (*.f64 (+.f64 (*.f64 -1/720 (pow.f64 im 6)) 1) (exp.f64 re)) (*.f64 (exp.f64 re) (+.f64 (*.f64 im (*.f64 im -1/2)) (*.f64 1/24 (pow.f64 im 4))))) |
(+.f64 (exp.f64 re) (*.f64 (exp.f64 re) (+.f64 (+.f64 (*.f64 1/24 (pow.f64 im 4)) (*.f64 -1/720 (pow.f64 im 6))) (*.f64 im (*.f64 im -1/2))))) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (cos.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (cos.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (cos.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (cos.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (cos.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (cos.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (cos.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (cos.f64 im) (exp.f64 re)) |
(exp.f64 (cos.f64 im)) |
(+.f64 (exp.f64 (cos.f64 im)) (*.f64 (exp.f64 (cos.f64 im)) (*.f64 (cos.f64 im) re))) |
(+.f64 (exp.f64 (cos.f64 im)) (*.f64 (*.f64 (cos.f64 im) re) (exp.f64 (cos.f64 im)))) |
(*.f64 (+.f64 (*.f64 (cos.f64 im) re) 1) (exp.f64 (cos.f64 im))) |
(*.f64 (exp.f64 (cos.f64 im)) (fma.f64 (cos.f64 im) re 1)) |
(+.f64 (exp.f64 (cos.f64 im)) (+.f64 (*.f64 (exp.f64 (cos.f64 im)) (*.f64 (cos.f64 im) re)) (*.f64 (exp.f64 (cos.f64 im)) (*.f64 (+.f64 (*.f64 1/2 (pow.f64 (cos.f64 im) 2)) (*.f64 1/2 (cos.f64 im))) (pow.f64 re 2))))) |
(+.f64 (exp.f64 (cos.f64 im)) (*.f64 (exp.f64 (cos.f64 im)) (+.f64 (*.f64 (cos.f64 im) re) (*.f64 (*.f64 re re) (*.f64 1/2 (+.f64 (pow.f64 (cos.f64 im) 2) (cos.f64 im))))))) |
(fma.f64 (exp.f64 (cos.f64 im)) (fma.f64 (cos.f64 im) re (*.f64 (*.f64 re re) (*.f64 1/2 (fma.f64 (cos.f64 im) (cos.f64 im) (cos.f64 im))))) (exp.f64 (cos.f64 im))) |
(*.f64 (+.f64 (*.f64 re (+.f64 (cos.f64 im) (*.f64 (*.f64 re 1/2) (+.f64 (cos.f64 im) (pow.f64 (cos.f64 im) 2))))) 1) (exp.f64 (cos.f64 im))) |
(*.f64 (+.f64 1 (*.f64 (cos.f64 im) (+.f64 re (*.f64 (*.f64 re (*.f64 re 1/2)) (+.f64 (cos.f64 im) 1))))) (exp.f64 (cos.f64 im))) |
(*.f64 (+.f64 1 (*.f64 (cos.f64 im) (+.f64 re (*.f64 (+.f64 (cos.f64 im) 1) (*.f64 re (*.f64 re 1/2)))))) (exp.f64 (cos.f64 im))) |
(+.f64 (exp.f64 (cos.f64 im)) (+.f64 (*.f64 (exp.f64 (cos.f64 im)) (*.f64 (cos.f64 im) re)) (+.f64 (*.f64 (exp.f64 (cos.f64 im)) (*.f64 (+.f64 (*.f64 1/2 (pow.f64 (cos.f64 im) 2)) (*.f64 1/2 (cos.f64 im))) (pow.f64 re 2))) (*.f64 (exp.f64 (cos.f64 im)) (*.f64 (pow.f64 re 3) (+.f64 (*.f64 1/6 (cos.f64 im)) (+.f64 (*.f64 1/2 (pow.f64 (cos.f64 im) 2)) (*.f64 1/6 (pow.f64 (cos.f64 im) 3))))))))) |
(+.f64 (exp.f64 (cos.f64 im)) (fma.f64 (exp.f64 (cos.f64 im)) (*.f64 (cos.f64 im) re) (*.f64 (exp.f64 (cos.f64 im)) (+.f64 (*.f64 (*.f64 re re) (*.f64 1/2 (+.f64 (pow.f64 (cos.f64 im) 2) (cos.f64 im)))) (*.f64 (pow.f64 re 3) (fma.f64 1/6 (cos.f64 im) (fma.f64 1/2 (pow.f64 (cos.f64 im) 2) (*.f64 1/6 (pow.f64 (cos.f64 im) 3))))))))) |
(+.f64 (exp.f64 (cos.f64 im)) (*.f64 (exp.f64 (cos.f64 im)) (+.f64 (fma.f64 (cos.f64 im) re (*.f64 (*.f64 re re) (*.f64 1/2 (fma.f64 (cos.f64 im) (cos.f64 im) (cos.f64 im))))) (*.f64 (pow.f64 re 3) (fma.f64 (cos.f64 im) 1/6 (fma.f64 1/2 (pow.f64 (cos.f64 im) 2) (*.f64 1/6 (pow.f64 (cos.f64 im) 3)))))))) |
(*.f64 (exp.f64 (cos.f64 im)) (+.f64 (*.f64 (*.f64 re re) (+.f64 (*.f64 1/2 (+.f64 (cos.f64 im) (pow.f64 (cos.f64 im) 2))) (*.f64 re (fma.f64 1/2 (pow.f64 (cos.f64 im) 2) (*.f64 1/6 (+.f64 (cos.f64 im) (pow.f64 (cos.f64 im) 3))))))) (fma.f64 (cos.f64 im) re 1))) |
(*.f64 (+.f64 (*.f64 re (+.f64 (cos.f64 im) (*.f64 re (+.f64 (*.f64 (cos.f64 im) (+.f64 1/2 (*.f64 (cos.f64 im) 1/2))) (*.f64 re (*.f64 (cos.f64 im) (+.f64 1/6 (*.f64 (cos.f64 im) (+.f64 1/2 (*.f64 (cos.f64 im) 1/6)))))))))) 1) (exp.f64 (cos.f64 im))) |
(exp.f64 (exp.f64 re)) |
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (*.f64 (exp.f64 (exp.f64 re)) (pow.f64 im 2)))) (exp.f64 (exp.f64 re))) |
(fma.f64 -1/2 (*.f64 (exp.f64 re) (*.f64 (*.f64 im im) (exp.f64 (exp.f64 re)))) (exp.f64 (exp.f64 re))) |
(fma.f64 -1/2 (*.f64 (*.f64 im im) (exp.f64 (+.f64 re (exp.f64 re)))) (exp.f64 (exp.f64 re))) |
(*.f64 (+.f64 (*.f64 (exp.f64 re) (*.f64 im (*.f64 im -1/2))) 1) (exp.f64 (exp.f64 re))) |
(+.f64 (*.f64 (+.f64 (*.f64 1/8 (pow.f64 (exp.f64 re) 2)) (*.f64 1/24 (exp.f64 re))) (*.f64 (pow.f64 im 4) (exp.f64 (exp.f64 re)))) (+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (*.f64 (exp.f64 (exp.f64 re)) (pow.f64 im 2)))) (exp.f64 (exp.f64 re)))) |
(fma.f64 (fma.f64 1/8 (pow.f64 (exp.f64 re) 2) (*.f64 (exp.f64 re) 1/24)) (*.f64 (pow.f64 im 4) (exp.f64 (exp.f64 re))) (fma.f64 -1/2 (*.f64 (exp.f64 re) (*.f64 (*.f64 im im) (exp.f64 (exp.f64 re)))) (exp.f64 (exp.f64 re)))) |
(fma.f64 (fma.f64 (exp.f64 re) 1/24 (*.f64 1/8 (pow.f64 (exp.f64 re) 2))) (*.f64 (pow.f64 im 4) (exp.f64 (exp.f64 re))) (fma.f64 -1/2 (*.f64 (*.f64 im im) (exp.f64 (+.f64 re (exp.f64 re)))) (exp.f64 (exp.f64 re)))) |
(fma.f64 -1/2 (*.f64 im (*.f64 im (exp.f64 (+.f64 re (exp.f64 re))))) (*.f64 (+.f64 (*.f64 (pow.f64 im 4) (*.f64 (exp.f64 re) (+.f64 1/24 (*.f64 (exp.f64 re) 1/8)))) 1) (exp.f64 (exp.f64 re)))) |
(*.f64 (exp.f64 (exp.f64 re)) (+.f64 (+.f64 (*.f64 (exp.f64 re) (*.f64 im (*.f64 im -1/2))) 1) (*.f64 (pow.f64 im 4) (*.f64 (exp.f64 re) (+.f64 1/24 (*.f64 (exp.f64 re) 1/8)))))) |
(+.f64 (*.f64 (+.f64 (*.f64 1/8 (pow.f64 (exp.f64 re) 2)) (*.f64 1/24 (exp.f64 re))) (*.f64 (pow.f64 im 4) (exp.f64 (exp.f64 re)))) (+.f64 (*.f64 (+.f64 (*.f64 -1/48 (pow.f64 (exp.f64 re) 2)) (+.f64 (*.f64 -1/48 (pow.f64 (exp.f64 re) 3)) (*.f64 -1/720 (exp.f64 re)))) (*.f64 (pow.f64 im 6) (exp.f64 (exp.f64 re)))) (+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (*.f64 (exp.f64 (exp.f64 re)) (pow.f64 im 2)))) (exp.f64 (exp.f64 re))))) |
(fma.f64 (fma.f64 1/8 (pow.f64 (exp.f64 re) 2) (*.f64 (exp.f64 re) 1/24)) (*.f64 (pow.f64 im 4) (exp.f64 (exp.f64 re))) (fma.f64 (fma.f64 -1/48 (pow.f64 (exp.f64 re) 2) (fma.f64 -1/48 (pow.f64 (exp.f64 re) 3) (*.f64 (exp.f64 re) -1/720))) (*.f64 (pow.f64 im 6) (exp.f64 (exp.f64 re))) (fma.f64 -1/2 (*.f64 (exp.f64 re) (*.f64 (*.f64 im im) (exp.f64 (exp.f64 re)))) (exp.f64 (exp.f64 re))))) |
(+.f64 (fma.f64 -1/2 (*.f64 (*.f64 im im) (exp.f64 (+.f64 re (exp.f64 re)))) (exp.f64 (exp.f64 re))) (*.f64 (exp.f64 (exp.f64 re)) (+.f64 (*.f64 (pow.f64 im 4) (fma.f64 (exp.f64 re) 1/24 (*.f64 1/8 (pow.f64 (exp.f64 re) 2)))) (*.f64 (pow.f64 im 6) (fma.f64 (pow.f64 (exp.f64 re) 2) -1/48 (fma.f64 (exp.f64 re) -1/720 (*.f64 -1/48 (pow.f64 (exp.f64 re) 3)))))))) |
(fma.f64 (exp.f64 (exp.f64 re)) (fma.f64 (pow.f64 im 4) (*.f64 (exp.f64 re) (+.f64 1/24 (*.f64 (exp.f64 re) 1/8))) (*.f64 (pow.f64 im 6) (fma.f64 -1/48 (pow.f64 (exp.f64 re) 3) (*.f64 (exp.f64 re) (+.f64 -1/720 (*.f64 (exp.f64 re) -1/48)))))) (*.f64 (+.f64 (*.f64 (exp.f64 re) (*.f64 im (*.f64 im -1/2))) 1) (exp.f64 (exp.f64 re)))) |
(*.f64 (exp.f64 (exp.f64 re)) (+.f64 (+.f64 (*.f64 (exp.f64 re) (*.f64 im (*.f64 im -1/2))) 1) (fma.f64 (pow.f64 im 4) (*.f64 (exp.f64 re) (+.f64 1/24 (*.f64 (exp.f64 re) 1/8))) (*.f64 (pow.f64 im 6) (*.f64 (exp.f64 re) (+.f64 -1/720 (*.f64 -1/48 (+.f64 (exp.f64 re) (pow.f64 (exp.f64 2) re))))))))) |
Found 6 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.1b | (*.f64 (cos.f64 im) (+.f64 (*.f64 1/2 (*.f64 re re)) (+.f64 re 1))) | |
| 0.0b | (+.f64 (*.f64 1/2 (*.f64 re re)) (+.f64 re 1)) | |
| 0.0b | (*.f64 1/2 (*.f64 re re)) | |
| ✓ | 0.0b | (*.f64 1/2 (*.f64 re re)) |
| ✓ | 0.0b | (+.f64 (*.f64 1/2 (*.f64 re re)) (+.f64 re 1)) |
| ✓ | 0.1b | (*.f64 (cos.f64 im) (+.f64 (*.f64 1/2 (*.f64 re re)) (+.f64 re 1))) |
Compiled 40 to 21 computations (47.5% saved)
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | im | @ | 0 | (*.f64 (cos.f64 im) (+.f64 (*.f64 1/2 (*.f64 re re)) (+.f64 re 1))) |
| 1.0ms | im | @ | inf | (*.f64 (cos.f64 im) (+.f64 (*.f64 1/2 (*.f64 re re)) (+.f64 re 1))) |
| 1.0ms | re | @ | inf | (*.f64 (cos.f64 im) (+.f64 (*.f64 1/2 (*.f64 re re)) (+.f64 re 1))) |
| 1.0ms | im | @ | -inf | (*.f64 (cos.f64 im) (+.f64 (*.f64 1/2 (*.f64 re re)) (+.f64 re 1))) |
| 0.0ms | re | @ | -inf | (*.f64 (cos.f64 im) (+.f64 (*.f64 1/2 (*.f64 re re)) (+.f64 re 1))) |
| 1× | batch-egg-rewrite |
| 585× | fma-def_binary64 |
| 568× | log-prod_binary64 |
| 440× | pow-prod-down_binary64 |
| 319× | fma-neg_binary64 |
| 308× | pow2_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 34 |
| 1 | 243 | 34 |
| 2 | 3392 | 30 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (cos.f64 im) (+.f64 (*.f64 1/2 (*.f64 re re)) (+.f64 re 1))) |
(+.f64 (*.f64 1/2 (*.f64 re re)) (+.f64 re 1)) |
(*.f64 1/2 (*.f64 re re)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (cos.f64 im) (fma.f64 re (fma.f64 1/2 re 1) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (cos.f64 im) (*.f64 1/2 (*.f64 re re))) (*.f64 (cos.f64 im) (+.f64 re 1)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (cos.f64 im) (+.f64 re 1)) (*.f64 (cos.f64 im) (*.f64 1/2 (*.f64 re re))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 re (fma.f64 1/2 re 1)) (cos.f64 im)) (cos.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (cos.f64 im) (*.f64 1/2 (*.f64 re re))) 1) (*.f64 (*.f64 (cos.f64 im) (+.f64 re 1)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (cos.f64 im) (*.f64 re (fma.f64 1/2 re 1))) (cos.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 (cos.f64 im)) (fma.f64 re (fma.f64 1/2 re 1) 1))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (cos.f64 im)) (fma.f64 re (fma.f64 1/2 re 1) 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (cos.f64 im)) (fma.f64 re (fma.f64 1/2 re 1) 1)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (cos.f64 im)) (fma.f64 re (fma.f64 1/2 re 1) 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (cos.f64 im) (fma.f64 re (fma.f64 1/2 re 1) 1)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 (pow.f64 (cos.f64 im) 3) (*.f64 (pow.f64 re 6) 1/8)) (pow.f64 (*.f64 (cos.f64 im) (+.f64 re 1)) 3)) (+.f64 (pow.f64 (*.f64 (cos.f64 im) (*.f64 1/2 (*.f64 re re))) 2) (-.f64 (pow.f64 (*.f64 (cos.f64 im) (+.f64 re 1)) 2) (*.f64 (*.f64 (cos.f64 im) (*.f64 1/2 (*.f64 re re))) (*.f64 (cos.f64 im) (+.f64 re 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 (cos.f64 im) (*.f64 1/2 (*.f64 re re))) 2) (pow.f64 (*.f64 (cos.f64 im) (+.f64 re 1)) 2)) (-.f64 (*.f64 (cos.f64 im) (*.f64 1/2 (*.f64 re re))) (*.f64 (cos.f64 im) (+.f64 re 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (fma.f64 (pow.f64 re 6) 1/8 (pow.f64 (+.f64 re 1) 3)) (cos.f64 im)) (fma.f64 (+.f64 re 1) (-.f64 (+.f64 re 1) (*.f64 1/2 (*.f64 re re))) (*.f64 (pow.f64 re 4) 1/4)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 (*.f64 (pow.f64 re 4) 1/4) (pow.f64 (+.f64 re 1) 2)) (cos.f64 im)) (-.f64 (fma.f64 1/2 (*.f64 re re) -1) re))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (cos.f64 im) (fma.f64 (pow.f64 re 6) 1/8 (pow.f64 (+.f64 re 1) 3))) (fma.f64 (+.f64 re 1) (-.f64 (+.f64 re 1) (*.f64 1/2 (*.f64 re re))) (*.f64 (pow.f64 re 4) 1/4)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (cos.f64 im) (-.f64 (*.f64 (pow.f64 re 4) 1/4) (pow.f64 (+.f64 re 1) 2))) (-.f64 (fma.f64 1/2 (*.f64 re re) -1) re))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cos.f64 im) (fma.f64 re (fma.f64 1/2 re 1) 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 im) (fma.f64 re (fma.f64 1/2 re 1) 1)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 im) (fma.f64 re (fma.f64 1/2 re 1) 1)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (cos.f64 im) (fma.f64 re (fma.f64 1/2 re 1) 1))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (cos.f64 im) (fma.f64 re (fma.f64 1/2 re 1) 1))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (cos.f64 im) (fma.f64 re (fma.f64 1/2 re 1) 1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (cos.f64 im)) (fma.f64 re (fma.f64 1/2 re 1) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (cos.f64 im) (fma.f64 re (fma.f64 1/2 re 1) 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (*.f64 (cos.f64 im) (+.f64 re 1))) (exp.f64 (*.f64 (cos.f64 im) (*.f64 1/2 (*.f64 re re))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (cos.f64 im) (fma.f64 re (fma.f64 1/2 re 1) 1)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cos.f64 im) (*.f64 1/2 (*.f64 re re)) (*.f64 (cos.f64 im) (+.f64 re 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cos.f64 im) (+.f64 re 1) (*.f64 (cos.f64 im) (*.f64 1/2 (*.f64 re re))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cos.f64 im) (*.f64 re (fma.f64 1/2 re 1)) (cos.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1/2 (*.f64 (*.f64 re re) (cos.f64 im)) (*.f64 (cos.f64 im) (+.f64 re 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 re re) (*.f64 1/2 (cos.f64 im)) (*.f64 (cos.f64 im) (+.f64 re 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/2 (*.f64 re re)) (cos.f64 im) (*.f64 (cos.f64 im) (+.f64 re 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 (cos.f64 im) (*.f64 1/2 (*.f64 re re))) (*.f64 (cos.f64 im) (+.f64 re 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 (cos.f64 im) (+.f64 re 1)) (*.f64 (cos.f64 im) (*.f64 1/2 (*.f64 re re))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 re 1) (cos.f64 im) (*.f64 (cos.f64 im) (*.f64 1/2 (*.f64 re re))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 re 1)) 2) (*.f64 (cbrt.f64 (+.f64 re 1)) (cos.f64 im)) (*.f64 (cos.f64 im) (*.f64 1/2 (*.f64 re re))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (cos.f64 im)) 2) (*.f64 (cbrt.f64 (cos.f64 im)) (*.f64 1/2 (*.f64 re re))) (*.f64 (cos.f64 im) (+.f64 re 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (cos.f64 im)) 2) (*.f64 (cbrt.f64 (cos.f64 im)) (+.f64 re 1)) (*.f64 (cos.f64 im) (*.f64 1/2 (*.f64 re re))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (pow.f64 re 4) 1/4)) (*.f64 (cbrt.f64 (*.f64 1/2 (*.f64 re re))) (cos.f64 im)) (*.f64 (cos.f64 im) (+.f64 re 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (+.f64 re 1)) (*.f64 (sqrt.f64 (+.f64 re 1)) (cos.f64 im)) (*.f64 (cos.f64 im) (*.f64 1/2 (*.f64 re re))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cos.f64 im)) (*.f64 (sqrt.f64 (cos.f64 im)) (*.f64 1/2 (*.f64 re re))) (*.f64 (cos.f64 im) (+.f64 re 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cos.f64 im)) (*.f64 (sqrt.f64 (cos.f64 im)) (+.f64 re 1)) (*.f64 (cos.f64 im) (*.f64 1/2 (*.f64 re re))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 re (sqrt.f64 1/2)) (*.f64 (*.f64 re (sqrt.f64 1/2)) (cos.f64 im)) (*.f64 (cos.f64 im) (+.f64 re 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 im) (*.f64 1/2 (*.f64 re re))) 1 (*.f64 (*.f64 (cos.f64 im) (+.f64 re 1)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/2 re) (*.f64 re (cos.f64 im)) (*.f64 (cos.f64 im) (+.f64 re 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 re (fma.f64 1/2 re 1)) (cos.f64 im) (cos.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 (cos.f64 im) (*.f64 1/2 (*.f64 re re)))) 2) (cbrt.f64 (*.f64 (cos.f64 im) (*.f64 1/2 (*.f64 re re)))) (*.f64 (cos.f64 im) (+.f64 re 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 (cos.f64 im) (+.f64 re 1))) 2) (cbrt.f64 (*.f64 (cos.f64 im) (+.f64 re 1))) (*.f64 (cos.f64 im) (*.f64 1/2 (*.f64 re re))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sqrt.f64 (cos.f64 im)) (*.f64 re (sqrt.f64 1/2))) (*.f64 (sqrt.f64 (cos.f64 im)) (*.f64 re (sqrt.f64 1/2))) (*.f64 (cos.f64 im) (+.f64 re 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 (cos.f64 im) (+.f64 re 1))) (sqrt.f64 (*.f64 (cos.f64 im) (+.f64 re 1))) (*.f64 (cos.f64 im) (*.f64 1/2 (*.f64 re re))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 im) 1/2) (*.f64 re re) (*.f64 (cos.f64 im) (+.f64 re 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 im) (*.f64 re re)) 1/2 (*.f64 (cos.f64 im) (+.f64 re 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 im) (cbrt.f64 (*.f64 (pow.f64 re 4) 1/4))) (cbrt.f64 (*.f64 1/2 (*.f64 re re))) (*.f64 (cos.f64 im) (+.f64 re 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 im) (*.f64 re (sqrt.f64 1/2))) (*.f64 re (sqrt.f64 1/2)) (*.f64 (cos.f64 im) (+.f64 re 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 im) (*.f64 1/2 re)) re (*.f64 (cos.f64 im) (+.f64 re 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (*.f64 (*.f64 re (sqrt.f64 1/2)) (cbrt.f64 (cos.f64 im))) 2) (cbrt.f64 (cos.f64 im)) (*.f64 (cos.f64 im) (+.f64 re 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 1/2 (*.f64 re re)) (sqrt.f64 (cos.f64 im))) (sqrt.f64 (cos.f64 im)) (*.f64 (cos.f64 im) (+.f64 re 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 im) (pow.f64 (cbrt.f64 (+.f64 re 1)) 2)) (cbrt.f64 (+.f64 re 1)) (*.f64 (cos.f64 im) (*.f64 1/2 (*.f64 re re))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 im) (sqrt.f64 (+.f64 re 1))) (sqrt.f64 (+.f64 re 1)) (*.f64 (cos.f64 im) (*.f64 1/2 (*.f64 re re))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (+.f64 re 1) (pow.f64 (cbrt.f64 (cos.f64 im)) 2)) (cbrt.f64 (cos.f64 im)) (*.f64 (cos.f64 im) (*.f64 1/2 (*.f64 re re))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (+.f64 re 1) (sqrt.f64 (cos.f64 im))) (sqrt.f64 (cos.f64 im)) (*.f64 (cos.f64 im) (*.f64 1/2 (*.f64 re re))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (cos.f64 im) (fma.f64 re (fma.f64 1/2 re 1) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (cos.f64 im) (fma.f64 re (fma.f64 1/2 re 1) 1))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (cos.f64 im) (fma.f64 re (fma.f64 1/2 re 1) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (cos.f64 im) (fma.f64 re (fma.f64 1/2 re 1) 1)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 re (fma.f64 1/2 re 1) 1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (*.f64 (pow.f64 re 4) 1/4) (-.f64 (fma.f64 1/2 (*.f64 re re) -1) re)) (/.f64 (pow.f64 (+.f64 re 1) 2) (-.f64 (fma.f64 1/2 (*.f64 re re) -1) re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 re (fma.f64 1/2 re 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 re (fma.f64 1/2 re 1) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 re (fma.f64 1/2 re 1) 1)) (pow.f64 (cbrt.f64 (fma.f64 re (fma.f64 1/2 re 1) 1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 re (fma.f64 1/2 re 1) 1)) 2) (cbrt.f64 (fma.f64 re (fma.f64 1/2 re 1) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 re (fma.f64 1/2 re 1) 1)) (sqrt.f64 (fma.f64 re (fma.f64 1/2 re 1) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (pow.f64 re 6) 1/8 (pow.f64 (+.f64 re 1) 3)) (/.f64 1 (fma.f64 (+.f64 re 1) (-.f64 (+.f64 re 1) (*.f64 1/2 (*.f64 re re))) (*.f64 (pow.f64 re 4) 1/4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 (pow.f64 re 4) 1/4) (pow.f64 (+.f64 re 1) 2)) (/.f64 1 (-.f64 (fma.f64 1/2 (*.f64 re re) -1) re)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 (+.f64 re 1) (-.f64 (+.f64 re 1) (*.f64 1/2 (*.f64 re re))) (*.f64 (pow.f64 re 4) 1/4)) (fma.f64 (pow.f64 re 6) 1/8 (pow.f64 (+.f64 re 1) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (fma.f64 1/2 (*.f64 re re) -1) re) (-.f64 (*.f64 (pow.f64 re 4) 1/4) (pow.f64 (+.f64 re 1) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (pow.f64 re 6) 1/8 (pow.f64 (+.f64 re 1) 3)) (fma.f64 (+.f64 re 1) (-.f64 (+.f64 re 1) (*.f64 1/2 (*.f64 re re))) (*.f64 (pow.f64 re 4) 1/4)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (pow.f64 re 6) 1/8 (pow.f64 (+.f64 re 1) 3)) (+.f64 (pow.f64 (+.f64 re 1) 2) (-.f64 (*.f64 (pow.f64 re 4) 1/4) (*.f64 1/2 (*.f64 (*.f64 re re) (+.f64 re 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (pow.f64 re 4) 1/4) (pow.f64 (+.f64 re 1) 2)) (-.f64 (fma.f64 1/2 (*.f64 re re) -1) re))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (fma.f64 (pow.f64 re 6) 1/8 (pow.f64 (+.f64 re 1) 3))) (neg.f64 (fma.f64 (+.f64 re 1) (-.f64 (+.f64 re 1) (*.f64 1/2 (*.f64 re re))) (*.f64 (pow.f64 re 4) 1/4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (*.f64 (pow.f64 re 4) 1/4) (pow.f64 (+.f64 re 1) 2))) (neg.f64 (-.f64 (fma.f64 1/2 (*.f64 re re) -1) re)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 re (fma.f64 1/2 re 1)) 3) 1) (+.f64 (pow.f64 (*.f64 re (fma.f64 1/2 re 1)) 2) (-.f64 1 (*.f64 (*.f64 re (fma.f64 1/2 re 1)) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (+.f64 re 1) 2) (*.f64 (pow.f64 re 4) 1/4)) (-.f64 (+.f64 re 1) (*.f64 1/2 (*.f64 re re))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 re (fma.f64 1/2 re 1)) 2) 1) (fma.f64 re (fma.f64 1/2 re 1) -1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 re (fma.f64 1/2 re 1) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 re (fma.f64 1/2 re 1) 1) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 re (fma.f64 1/2 re 1) 1) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 re (fma.f64 1/2 re 1) 1)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 re (fma.f64 1/2 re 1) 1)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 (+.f64 re 1) (-.f64 (+.f64 re 1) (*.f64 1/2 (*.f64 re re))) (*.f64 (pow.f64 re 4) 1/4)) (fma.f64 (pow.f64 re 6) 1/8 (pow.f64 (+.f64 re 1) 3))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 (fma.f64 1/2 (*.f64 re re) -1) re) (-.f64 (*.f64 (pow.f64 re 4) 1/4) (pow.f64 (+.f64 re 1) 2))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 re (fma.f64 1/2 re 1) 1) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 re (fma.f64 1/2 re 1) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 re (fma.f64 1/2 re 1) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 1/2 (*.f64 re re)))) (exp.f64 (+.f64 re 1))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (sqrt.f64 (exp.f64 (*.f64 re re))) (+.f64 1 (expm1.f64 (+.f64 re 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 1/2 (*.f64 re re)))) (+.f64 1 (expm1.f64 (+.f64 re 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (+.f64 re 1))) (sqrt.f64 (exp.f64 (*.f64 re re)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (+.f64 re 1)) (+.f64 1 (expm1.f64 (*.f64 1/2 (*.f64 re re))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (+.f64 re 1))) (+.f64 1 (expm1.f64 (*.f64 1/2 (*.f64 re re))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 re (fma.f64 1/2 re 1) 1) 3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1/2 (*.f64 re re) (+.f64 re 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 re 1 (+.f64 1 (*.f64 1/2 (*.f64 re re))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 re (*.f64 1/2 re) (+.f64 re 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 re (fma.f64 1/2 re 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 re re) 1/2 (+.f64 re 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/2 (*.f64 re re)) 1 (+.f64 re 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 re (+.f64 1 (*.f64 1/2 (*.f64 re re))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 1/2 (*.f64 re re)) (+.f64 re 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 re 1) (*.f64 1/2 (*.f64 re re)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 re (fma.f64 1/2 re 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 re 1) 1 (*.f64 1/2 (*.f64 re re)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 re) (pow.f64 (cbrt.f64 re) 2) (+.f64 1 (*.f64 1/2 (*.f64 re re))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 re) 2) (cbrt.f64 re) (+.f64 1 (*.f64 1/2 (*.f64 re re))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 re) 2) (*.f64 (cbrt.f64 re) 1) (+.f64 1 (*.f64 1/2 (*.f64 re re))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (+.f64 re 1)) (pow.f64 (cbrt.f64 (+.f64 re 1)) 2) (*.f64 1/2 (*.f64 re re)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 re 1)) 2) (cbrt.f64 (+.f64 re 1)) (*.f64 1/2 (*.f64 re re)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cbrt.f64 re) re) (*.f64 (pow.f64 (cbrt.f64 re) 2) 1/2) (+.f64 re 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 1/2 (*.f64 re re))) (cbrt.f64 (*.f64 (pow.f64 re 4) 1/4)) (+.f64 re 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (pow.f64 re 4) 1/4)) (cbrt.f64 (*.f64 1/2 (*.f64 re re))) (+.f64 re 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 re) (sqrt.f64 re) (+.f64 1 (*.f64 1/2 (*.f64 re re))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 re) (*.f64 (sqrt.f64 re) 1) (+.f64 1 (*.f64 1/2 (*.f64 re re))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (+.f64 re 1)) (sqrt.f64 (+.f64 re 1)) (*.f64 1/2 (*.f64 re re)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 re (sqrt.f64 1/2)) (*.f64 re (sqrt.f64 1/2)) (+.f64 re 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 1 (pow.f64 re 3)) (/.f64 1 (-.f64 (fma.f64 re re 1) re)) (*.f64 1/2 (*.f64 re re)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 re re -1) (/.f64 1 (+.f64 re -1)) (*.f64 1/2 (*.f64 re re)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/2 re) re (+.f64 re 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 re (fma.f64 1/2 re 1)) 1 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 re (fma.f64 1/2 re 1))) 2) (cbrt.f64 (*.f64 re (fma.f64 1/2 re 1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 (cbrt.f64 re) re)) (sqrt.f64 (pow.f64 (cbrt.f64 re) 2)) (+.f64 1 (*.f64 1/2 (*.f64 re re))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 re (fma.f64 1/2 re 1))) (sqrt.f64 (*.f64 re (fma.f64 1/2 re 1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 1/2 re 1) re 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/2 (*.f64 (cbrt.f64 re) re)) (pow.f64 (cbrt.f64 re) 2) (+.f64 re 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 1/2 re) 1) re (+.f64 re 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 1/2 re) (pow.f64 (cbrt.f64 re) 2)) (cbrt.f64 re) (+.f64 re 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 1/2 re) (sqrt.f64 re)) (sqrt.f64 re) (+.f64 re 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log1p.f64 (*.f64 re (fma.f64 1/2 re 1))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log1p.f64 (*.f64 re (fma.f64 1/2 re 1))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 re (fma.f64 1/2 re 1) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 re (fma.f64 1/2 re 1) 1))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 1/2 (*.f64 re re)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (sqrt.f64 (exp.f64 (*.f64 re re)))) 2)) (log.f64 (cbrt.f64 (sqrt.f64 (exp.f64 (*.f64 re re))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (sqrt.f64 (exp.f64 (*.f64 re re))))) (log.f64 (sqrt.f64 (sqrt.f64 (exp.f64 (*.f64 re re))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 1/2 (*.f64 re re)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/2 (*.f64 re re)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 re 4) 1/4) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 1/2 (*.f64 re re))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 re (sqrt.f64 1/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 re 6) 1/8) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 re 4) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (sqrt.f64 (exp.f64 (*.f64 re re))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 1/2 (*.f64 re re)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 re 6) 1/8))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (fma.f64 2 (log.f64 re) (log.f64 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (fma.f64 2 (log.f64 re) (log.f64 1/2)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/2 (*.f64 re re))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/2 (*.f64 re re)))))))) |
| 1× | egg-herbie |
| 978× | distribute-rgt-in_binary64 |
| 807× | distribute-lft-in_binary64 |
| 561× | sqr-pow_binary64 |
| 448× | *-commutative_binary64 |
| 321× | unswap-sqr_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 42 | 649 |
| 1 | 121 | 645 |
| 2 | 404 | 609 |
| 3 | 1853 | 588 |
| 4 | 3548 | 578 |
| 5 | 4294 | 578 |
| 6 | 4446 | 578 |
| 7 | 4617 | 578 |
| 8 | 4787 | 578 |
| 9 | 5009 | 578 |
| 10 | 6754 | 578 |
| 11 | 7161 | 578 |
| 12 | 7598 | 578 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)) |
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 (+.f64 (*.f64 -1/2 (*.f64 (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)) (pow.f64 im 2))) re))) |
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 (+.f64 (*.f64 -1/2 (*.f64 (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)) (pow.f64 im 2))) (+.f64 re (*.f64 1/24 (*.f64 (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)) (pow.f64 im 4))))))) |
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 (*.f64 -1/720 (*.f64 (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)) (pow.f64 im 6))) (+.f64 1 (+.f64 (*.f64 -1/2 (*.f64 (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)) (pow.f64 im 2))) (+.f64 re (*.f64 1/24 (*.f64 (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)) (pow.f64 im 4)))))))) |
(*.f64 (cos.f64 im) (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re))) |
(*.f64 (cos.f64 im) (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re))) |
(*.f64 (cos.f64 im) (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re))) |
(*.f64 (cos.f64 im) (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re))) |
(*.f64 (cos.f64 im) (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re))) |
(*.f64 (cos.f64 im) (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re))) |
(*.f64 (cos.f64 im) (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re))) |
(*.f64 (cos.f64 im) (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re))) |
(cos.f64 im) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))) |
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))) |
(*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) |
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (*.f64 (cos.f64 im) re)) |
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))) |
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))) |
(*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) |
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (*.f64 (cos.f64 im) re)) |
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))) |
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))) |
1 |
(+.f64 1 re) |
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)) |
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)) |
(*.f64 1/2 (pow.f64 re 2)) |
(+.f64 (*.f64 1/2 (pow.f64 re 2)) re) |
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)) |
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)) |
(*.f64 1/2 (pow.f64 re 2)) |
(+.f64 (*.f64 1/2 (pow.f64 re 2)) re) |
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)) |
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)) |
(*.f64 1/2 (pow.f64 re 2)) |
(*.f64 1/2 (pow.f64 re 2)) |
(*.f64 1/2 (pow.f64 re 2)) |
(*.f64 1/2 (pow.f64 re 2)) |
(*.f64 1/2 (pow.f64 re 2)) |
(*.f64 1/2 (pow.f64 re 2)) |
(*.f64 1/2 (pow.f64 re 2)) |
(*.f64 1/2 (pow.f64 re 2)) |
(*.f64 1/2 (pow.f64 re 2)) |
(*.f64 1/2 (pow.f64 re 2)) |
(*.f64 1/2 (pow.f64 re 2)) |
(*.f64 1/2 (pow.f64 re 2)) |
| Outputs |
|---|
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)) |
(fma.f64 1/2 (*.f64 re re) (+.f64 re 1)) |
(+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) |
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 (+.f64 (*.f64 -1/2 (*.f64 (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)) (pow.f64 im 2))) re))) |
(fma.f64 1/2 (*.f64 re re) (+.f64 1 (fma.f64 -1/2 (*.f64 (fma.f64 1/2 (*.f64 re re) (+.f64 re 1)) (*.f64 im im)) re))) |
(+.f64 (fma.f64 -1/2 (*.f64 (+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) (*.f64 im im)) re) (fma.f64 1/2 (*.f64 re re) 1)) |
(*.f64 (+.f64 (*.f64 -1/2 (*.f64 im im)) 1) (+.f64 re (fma.f64 1/2 (*.f64 re re) 1))) |
(*.f64 (+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) (+.f64 1 (*.f64 -1/2 (*.f64 im im)))) |
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 (+.f64 (*.f64 -1/2 (*.f64 (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)) (pow.f64 im 2))) (+.f64 re (*.f64 1/24 (*.f64 (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)) (pow.f64 im 4))))))) |
(fma.f64 1/2 (*.f64 re re) (+.f64 1 (+.f64 (fma.f64 -1/2 (*.f64 (fma.f64 1/2 (*.f64 re re) (+.f64 re 1)) (*.f64 im im)) re) (*.f64 1/24 (*.f64 (fma.f64 1/2 (*.f64 re re) (+.f64 re 1)) (pow.f64 im 4)))))) |
(+.f64 (fma.f64 -1/2 (*.f64 (+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) (*.f64 im im)) (fma.f64 1/24 (*.f64 (+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) (pow.f64 im 4)) re)) (fma.f64 1/2 (*.f64 re re) 1)) |
(+.f64 1 (+.f64 (fma.f64 1/2 (*.f64 re re) re) (*.f64 (+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) (+.f64 (*.f64 1/24 (pow.f64 im 4)) (*.f64 -1/2 (*.f64 im im)))))) |
(*.f64 (+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) (+.f64 (*.f64 1/24 (pow.f64 im 4)) (+.f64 1 (*.f64 -1/2 (*.f64 im im))))) |
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 (*.f64 -1/720 (*.f64 (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)) (pow.f64 im 6))) (+.f64 1 (+.f64 (*.f64 -1/2 (*.f64 (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)) (pow.f64 im 2))) (+.f64 re (*.f64 1/24 (*.f64 (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)) (pow.f64 im 4)))))))) |
(fma.f64 1/2 (*.f64 re re) (fma.f64 -1/720 (*.f64 (fma.f64 1/2 (*.f64 re re) (+.f64 re 1)) (pow.f64 im 6)) (+.f64 1 (+.f64 (fma.f64 -1/2 (*.f64 (fma.f64 1/2 (*.f64 re re) (+.f64 re 1)) (*.f64 im im)) re) (*.f64 1/24 (*.f64 (fma.f64 1/2 (*.f64 re re) (+.f64 re 1)) (pow.f64 im 4))))))) |
(fma.f64 1/2 (*.f64 re re) (+.f64 (fma.f64 -1/2 (*.f64 (+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) (*.f64 im im)) (fma.f64 1/24 (*.f64 (+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) (pow.f64 im 4)) re)) (fma.f64 -1/720 (*.f64 (+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) (pow.f64 im 6)) 1))) |
(+.f64 (fma.f64 (pow.f64 im 6) (+.f64 -1/720 (*.f64 (fma.f64 1/2 (*.f64 re re) re) -1/720)) 1) (+.f64 (fma.f64 1/2 (*.f64 re re) re) (*.f64 (+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) (+.f64 (*.f64 1/24 (pow.f64 im 4)) (*.f64 -1/2 (*.f64 im im)))))) |
(+.f64 (fma.f64 1/2 (*.f64 re re) 1) (+.f64 re (*.f64 (+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) (+.f64 (*.f64 -1/720 (pow.f64 im 6)) (+.f64 (*.f64 -1/2 (*.f64 im im)) (*.f64 1/24 (pow.f64 im 4))))))) |
(*.f64 (+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) (+.f64 (*.f64 1/24 (pow.f64 im 4)) (+.f64 (*.f64 -1/720 (pow.f64 im 6)) (+.f64 1 (*.f64 -1/2 (*.f64 im im)))))) |
(*.f64 (+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) (+.f64 (+.f64 1 (*.f64 -1/2 (*.f64 im im))) (+.f64 (*.f64 -1/720 (pow.f64 im 6)) (*.f64 1/24 (pow.f64 im 4))))) |
(*.f64 (cos.f64 im) (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re))) |
(*.f64 (fma.f64 1/2 (*.f64 re re) (+.f64 re 1)) (cos.f64 im)) |
(*.f64 (+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) (cos.f64 im)) |
(*.f64 (cos.f64 im) (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re))) |
(*.f64 (fma.f64 1/2 (*.f64 re re) (+.f64 re 1)) (cos.f64 im)) |
(*.f64 (+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) (cos.f64 im)) |
(*.f64 (cos.f64 im) (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re))) |
(*.f64 (fma.f64 1/2 (*.f64 re re) (+.f64 re 1)) (cos.f64 im)) |
(*.f64 (+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) (cos.f64 im)) |
(*.f64 (cos.f64 im) (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re))) |
(*.f64 (fma.f64 1/2 (*.f64 re re) (+.f64 re 1)) (cos.f64 im)) |
(*.f64 (+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) (cos.f64 im)) |
(*.f64 (cos.f64 im) (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re))) |
(*.f64 (fma.f64 1/2 (*.f64 re re) (+.f64 re 1)) (cos.f64 im)) |
(*.f64 (+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) (cos.f64 im)) |
(*.f64 (cos.f64 im) (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re))) |
(*.f64 (fma.f64 1/2 (*.f64 re re) (+.f64 re 1)) (cos.f64 im)) |
(*.f64 (+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) (cos.f64 im)) |
(*.f64 (cos.f64 im) (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re))) |
(*.f64 (fma.f64 1/2 (*.f64 re re) (+.f64 re 1)) (cos.f64 im)) |
(*.f64 (+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) (cos.f64 im)) |
(*.f64 (cos.f64 im) (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re))) |
(*.f64 (fma.f64 1/2 (*.f64 re re) (+.f64 re 1)) (cos.f64 im)) |
(*.f64 (+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) (cos.f64 im)) |
(cos.f64 im) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(fma.f64 (cos.f64 im) re (cos.f64 im)) |
(*.f64 (+.f64 re 1) (cos.f64 im)) |
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))) |
(*.f64 (fma.f64 1/2 (*.f64 re re) (+.f64 re 1)) (cos.f64 im)) |
(*.f64 (+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) (cos.f64 im)) |
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))) |
(*.f64 (fma.f64 1/2 (*.f64 re re) (+.f64 re 1)) (cos.f64 im)) |
(*.f64 (+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) (cos.f64 im)) |
(*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) |
(*.f64 1/2 (*.f64 (*.f64 re re) (cos.f64 im))) |
(*.f64 1/2 (*.f64 re (*.f64 re (cos.f64 im)))) |
(*.f64 re (*.f64 (*.f64 1/2 re) (cos.f64 im))) |
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (*.f64 (cos.f64 im) re)) |
(fma.f64 1/2 (*.f64 (*.f64 re re) (cos.f64 im)) (*.f64 re (cos.f64 im))) |
(fma.f64 1/2 (*.f64 re (*.f64 re (cos.f64 im))) (*.f64 re (cos.f64 im))) |
(*.f64 (cos.f64 im) (fma.f64 1/2 (*.f64 re re) re)) |
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))) |
(*.f64 (fma.f64 1/2 (*.f64 re re) (+.f64 re 1)) (cos.f64 im)) |
(*.f64 (+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) (cos.f64 im)) |
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))) |
(*.f64 (fma.f64 1/2 (*.f64 re re) (+.f64 re 1)) (cos.f64 im)) |
(*.f64 (+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) (cos.f64 im)) |
(*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) |
(*.f64 1/2 (*.f64 (*.f64 re re) (cos.f64 im))) |
(*.f64 1/2 (*.f64 re (*.f64 re (cos.f64 im)))) |
(*.f64 re (*.f64 (*.f64 1/2 re) (cos.f64 im))) |
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (*.f64 (cos.f64 im) re)) |
(fma.f64 1/2 (*.f64 (*.f64 re re) (cos.f64 im)) (*.f64 re (cos.f64 im))) |
(fma.f64 1/2 (*.f64 re (*.f64 re (cos.f64 im))) (*.f64 re (cos.f64 im))) |
(*.f64 (cos.f64 im) (fma.f64 1/2 (*.f64 re re) re)) |
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))) |
(*.f64 (fma.f64 1/2 (*.f64 re re) (+.f64 re 1)) (cos.f64 im)) |
(*.f64 (+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) (cos.f64 im)) |
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))) |
(*.f64 (fma.f64 1/2 (*.f64 re re) (+.f64 re 1)) (cos.f64 im)) |
(*.f64 (+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) (cos.f64 im)) |
1 |
(+.f64 1 re) |
(+.f64 re 1) |
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)) |
(fma.f64 1/2 (*.f64 re re) (+.f64 re 1)) |
(+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) |
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)) |
(fma.f64 1/2 (*.f64 re re) (+.f64 re 1)) |
(+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) |
(*.f64 1/2 (pow.f64 re 2)) |
(*.f64 1/2 (*.f64 re re)) |
(+.f64 (*.f64 1/2 (pow.f64 re 2)) re) |
(fma.f64 1/2 (*.f64 re re) re) |
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)) |
(fma.f64 1/2 (*.f64 re re) (+.f64 re 1)) |
(+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) |
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)) |
(fma.f64 1/2 (*.f64 re re) (+.f64 re 1)) |
(+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) |
(*.f64 1/2 (pow.f64 re 2)) |
(*.f64 1/2 (*.f64 re re)) |
(+.f64 (*.f64 1/2 (pow.f64 re 2)) re) |
(fma.f64 1/2 (*.f64 re re) re) |
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)) |
(fma.f64 1/2 (*.f64 re re) (+.f64 re 1)) |
(+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) |
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)) |
(fma.f64 1/2 (*.f64 re re) (+.f64 re 1)) |
(+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) |
(*.f64 1/2 (pow.f64 re 2)) |
(*.f64 1/2 (*.f64 re re)) |
(*.f64 1/2 (pow.f64 re 2)) |
(*.f64 1/2 (*.f64 re re)) |
(*.f64 1/2 (pow.f64 re 2)) |
(*.f64 1/2 (*.f64 re re)) |
(*.f64 1/2 (pow.f64 re 2)) |
(*.f64 1/2 (*.f64 re re)) |
(*.f64 1/2 (pow.f64 re 2)) |
(*.f64 1/2 (*.f64 re re)) |
(*.f64 1/2 (pow.f64 re 2)) |
(*.f64 1/2 (*.f64 re re)) |
(*.f64 1/2 (pow.f64 re 2)) |
(*.f64 1/2 (*.f64 re re)) |
(*.f64 1/2 (pow.f64 re 2)) |
(*.f64 1/2 (*.f64 re re)) |
(*.f64 1/2 (pow.f64 re 2)) |
(*.f64 1/2 (*.f64 re re)) |
(*.f64 1/2 (pow.f64 re 2)) |
(*.f64 1/2 (*.f64 re re)) |
(*.f64 1/2 (pow.f64 re 2)) |
(*.f64 1/2 (*.f64 re re)) |
(*.f64 1/2 (pow.f64 re 2)) |
(*.f64 1/2 (*.f64 re re)) |
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (-.f64 (+.f64 2 re) 1) | |
| ✓ | 0.0b | (-.f64 (+.f64 2 re) 1) |
Compiled 13 to 10 computations (23.1% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | re | @ | 0 | (-.f64 (+.f64 2 re) 1) |
| 0.0ms | re | @ | inf | (-.f64 (+.f64 2 re) 1) |
| 0.0ms | re | @ | -inf | (-.f64 (+.f64 2 re) 1) |
| 1× | batch-egg-rewrite |
| 722× | pow1_binary64 |
| 680× | add-log-exp_binary64 |
| 679× | log1p-expm1-u_binary64 |
| 679× | expm1-log1p-u_binary64 |
| 670× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 7 |
| 1 | 138 | 4 |
| 2 | 1817 | 4 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 (+.f64 2 re) 1) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 2 (+.f64 re -1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 2 (*.f64 (+.f64 re -1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 re 1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 2 re) -1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 -1 (+.f64 2 re))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 re -1) 2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 re 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 re 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 re 1)) (pow.f64 (cbrt.f64 (+.f64 re 1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 re 1)) 2) (cbrt.f64 (+.f64 re 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 re 1)) (sqrt.f64 (+.f64 re 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (+.f64 2 re) 3) -1) (/.f64 1 (+.f64 (pow.f64 (+.f64 2 re) 2) (+.f64 re 3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (+.f64 2 re) 2) -1) (/.f64 1 (+.f64 re 3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sqrt.f64 (+.f64 2 re)) 1) (-.f64 (sqrt.f64 (+.f64 2 re)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (+.f64 2 re) 2) (+.f64 re 3)) (+.f64 (pow.f64 (+.f64 2 re) 3) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 re 3) (+.f64 (pow.f64 (+.f64 2 re) 2) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 2 re) 3) -1) (+.f64 (pow.f64 (+.f64 2 re) 2) (+.f64 re 3)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 2 re) 3) -1) (+.f64 (pow.f64 (+.f64 2 re) 2) (-.f64 1 (*.f64 (+.f64 2 re) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 2 re) 2) -1) (+.f64 re 3))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 2 re) 2) -1) (-.f64 (+.f64 2 re) -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (+.f64 2 re) 3) -1)) (neg.f64 (+.f64 (pow.f64 (+.f64 2 re) 2) (+.f64 re 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (+.f64 2 re) 2) -1)) (neg.f64 (+.f64 re 3)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 8 (pow.f64 (+.f64 re -1) 3)) (+.f64 4 (-.f64 (*.f64 (+.f64 re -1) (+.f64 re -1)) (*.f64 2 (+.f64 re -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 4 (*.f64 (+.f64 re -1) (+.f64 re -1))) (-.f64 2 (+.f64 re -1)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 re 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 re 1) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 re 1)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 re 1)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 re 1) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 re 1)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 re 1) 3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 2 re) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 2 re)) 2) (cbrt.f64 (+.f64 2 re)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (+.f64 2 re)) (sqrt.f64 (+.f64 2 re)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 re 1)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 re 1)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log.f64 (+.f64 2 re))))))) |
| 1× | egg-herbie |
| 1× | +-commutative_binary64 |
| 1× | 1-exp_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 4 | 39 |
| 1 | 7 | 39 |
| 1× | saturated |
| Inputs |
|---|
1 |
(+.f64 1 re) |
(+.f64 1 re) |
(+.f64 1 re) |
re |
(+.f64 1 re) |
(+.f64 1 re) |
(+.f64 1 re) |
re |
(+.f64 1 re) |
(+.f64 1 re) |
(+.f64 1 re) |
| Outputs |
|---|
1 |
(+.f64 1 re) |
(+.f64 1 re) |
(+.f64 1 re) |
re |
(+.f64 1 re) |
(+.f64 1 re) |
(+.f64 1 re) |
re |
(+.f64 1 re) |
(+.f64 1 re) |
(+.f64 1 re) |
Compiled 5152 to 2963 computations (42.5% saved)
19 alts after pruning (5 fresh and 14 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 338 | 5 | 343 |
| Fresh | 1 | 0 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 13 | 13 |
| Total | 339 | 19 | 358 |
| Status | Error | Program |
|---|---|---|
| ✓ | 25.9b | (*.f64 (cos.f64 im) (+.f64 re 1)) |
| 26.0b | (*.f64 (cos.f64 im) (+.f64 (*.f64 (*.f64 re re) (+.f64 (*.f64 1/6 re) 1/2)) (+.f64 re 1))) | |
| ✓ | 25.8b | (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
| ✓ | 26.0b | (-.f64 (+.f64 1 (*.f64 (cos.f64 im) (+.f64 1 re))) 1) |
| ✓ | 43.9b | (+.f64 1 re) |
| 61.9b | re | |
| ✓ | 43.9b | (-.f64 (+.f64 2 re) 1) |
| 60.7b | (-.f64 re 1) | |
| ✓ | 26.0b | (*.f64 (cos.f64 im) (+.f64 (*.f64 1/2 (*.f64 re re)) (+.f64 re 1))) |
| ✓ | 0.7b | (log.f64 (exp.f64 (*.f64 (exp.f64 re) (cos.f64 im)))) |
| 43.9b | 1 | |
| ✓ | 60.6b | (-.f64 (*.f64 (cos.f64 im) re) 1) |
| ✓ | 18.8b | (exp.f64 re) |
| ✓ | 0.2b | (cbrt.f64 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 3)) |
| ✓ | 26.2b | (+.f64 re (cos.f64 im)) |
| ✓ | 26.2b | (cos.f64 im) |
| ✓ | 0.0b | (*.f64 (exp.f64 re) (cos.f64 im)) |
| ✓ | 61.8b | (*.f64 (cos.f64 im) re) |
| 62.0b | (*.f64 (cos.f64 im) (*.f64 1/2 (*.f64 re re))) |
Compiled 148 to 110 computations (25.7% saved)
| Inputs |
|---|
1 |
re |
(-.f64 re 1) |
(+.f64 1 re) |
(-.f64 (+.f64 2 re) 1) |
(cos.f64 im) |
(exp.f64 re) |
(*.f64 (cos.f64 im) re) |
(+.f64 re (cos.f64 im)) |
(-.f64 (*.f64 (cos.f64 im) re) 1) |
(*.f64 (cos.f64 im) (+.f64 re 1)) |
(*.f64 (cos.f64 im) (*.f64 1/2 (*.f64 re re))) |
(-.f64 (+.f64 1 (*.f64 (cos.f64 im) (+.f64 1 re))) 1) |
(*.f64 (cos.f64 im) (+.f64 (*.f64 1/2 (*.f64 re re)) (+.f64 re 1))) |
(*.f64 (cos.f64 im) (+.f64 (*.f64 (*.f64 re re) (+.f64 (*.f64 1/6 re) 1/2)) (+.f64 re 1))) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(log.f64 (exp.f64 (*.f64 (exp.f64 re) (cos.f64 im)))) |
(cbrt.f64 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 3)) |
| Outputs |
|---|
(*.f64 (exp.f64 re) (cos.f64 im)) |
5 calls:
| 10.0ms | im |
| 9.0ms | re |
| 8.0ms | (cos.f64 im) |
| 7.0ms | (*.f64 (exp.f64 re) (cos.f64 im)) |
| 3.0ms | (exp.f64 re) |
| Error | Segments | Branch |
|---|---|---|
| 0.0b | 1 | re |
| 0.0b | 1 | im |
| 0.0b | 1 | (*.f64 (exp.f64 re) (cos.f64 im)) |
| 0.0b | 1 | (exp.f64 re) |
| 0.0b | 1 | (cos.f64 im) |
Compiled 133 to 68 computations (48.9% saved)
| Inputs |
|---|
1 |
re |
(-.f64 re 1) |
(+.f64 1 re) |
(-.f64 (+.f64 2 re) 1) |
(cos.f64 im) |
(exp.f64 re) |
(*.f64 (cos.f64 im) re) |
(+.f64 re (cos.f64 im)) |
(-.f64 (*.f64 (cos.f64 im) re) 1) |
(*.f64 (cos.f64 im) (+.f64 re 1)) |
(*.f64 (cos.f64 im) (*.f64 1/2 (*.f64 re re))) |
(-.f64 (+.f64 1 (*.f64 (cos.f64 im) (+.f64 1 re))) 1) |
(*.f64 (cos.f64 im) (+.f64 (*.f64 1/2 (*.f64 re re)) (+.f64 re 1))) |
(*.f64 (cos.f64 im) (+.f64 (*.f64 (*.f64 re re) (+.f64 (*.f64 1/6 re) 1/2)) (+.f64 re 1))) |
| Outputs |
|---|
(exp.f64 re) |
(*.f64 (cos.f64 im) (+.f64 (*.f64 (*.f64 re re) (+.f64 (*.f64 1/6 re) 1/2)) (+.f64 re 1))) |
5 calls:
| 37.0ms | (cos.f64 im) |
| 35.0ms | im |
| 15.0ms | re |
| 4.0ms | (exp.f64 re) |
| 4.0ms | (exp.f64 re) |
| Error | Segments | Branch |
|---|---|---|
| 0.6b | 2 | re |
| 9.5b | 5 | im |
| 0.6b | 2 | (exp.f64 re) |
| 0.6b | 2 | (exp.f64 re) |
| 8.8b | 6 | (cos.f64 im) |
Compiled 103 to 59 computations (42.7% saved)
| 1× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | 2.068304995694338e-44 | 0.9967433397550199 |
Compiled 12 to 9 computations (25% saved)
| Inputs |
|---|
1 |
re |
(-.f64 re 1) |
(+.f64 1 re) |
(-.f64 (+.f64 2 re) 1) |
(cos.f64 im) |
(exp.f64 re) |
(*.f64 (cos.f64 im) re) |
(+.f64 re (cos.f64 im)) |
(-.f64 (*.f64 (cos.f64 im) re) 1) |
(*.f64 (cos.f64 im) (+.f64 re 1)) |
(*.f64 (cos.f64 im) (*.f64 1/2 (*.f64 re re))) |
(-.f64 (+.f64 1 (*.f64 (cos.f64 im) (+.f64 1 re))) 1) |
(*.f64 (cos.f64 im) (+.f64 (*.f64 1/2 (*.f64 re re)) (+.f64 re 1))) |
| Outputs |
|---|
(exp.f64 re) |
(*.f64 (cos.f64 im) (+.f64 (*.f64 1/2 (*.f64 re re)) (+.f64 re 1))) |
5 calls:
| 34.0ms | (cos.f64 im) |
| 33.0ms | im |
| 15.0ms | re |
| 4.0ms | (exp.f64 re) |
| 4.0ms | (exp.f64 re) |
| Error | Segments | Branch |
|---|---|---|
| 0.7b | 2 | re |
| 9.5b | 5 | im |
| 0.7b | 2 | (exp.f64 re) |
| 0.7b | 2 | (exp.f64 re) |
| 8.9b | 6 | (cos.f64 im) |
Compiled 87 to 50 computations (42.5% saved)
| 1× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | 2.068304995694338e-44 | 0.9967433397550199 |
Compiled 12 to 9 computations (25% saved)
| Inputs |
|---|
1 |
re |
(-.f64 re 1) |
(+.f64 1 re) |
(-.f64 (+.f64 2 re) 1) |
(cos.f64 im) |
(exp.f64 re) |
(*.f64 (cos.f64 im) re) |
(+.f64 re (cos.f64 im)) |
(-.f64 (*.f64 (cos.f64 im) re) 1) |
(*.f64 (cos.f64 im) (+.f64 re 1)) |
(*.f64 (cos.f64 im) (*.f64 1/2 (*.f64 re re))) |
(-.f64 (+.f64 1 (*.f64 (cos.f64 im) (+.f64 1 re))) 1) |
| Outputs |
|---|
(exp.f64 re) |
(*.f64 (cos.f64 im) (+.f64 re 1)) |
5 calls:
| 33.0ms | im |
| 32.0ms | (cos.f64 im) |
| 14.0ms | re |
| 4.0ms | (exp.f64 re) |
| 4.0ms | (exp.f64 re) |
| Error | Segments | Branch |
|---|---|---|
| 0.9b | 2 | re |
| 9.6b | 5 | im |
| 0.9b | 2 | (exp.f64 re) |
| 0.9b | 2 | (exp.f64 re) |
| 9.0b | 6 | (cos.f64 im) |
Compiled 75 to 44 computations (41.3% saved)
| 1× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | 2.068304995694338e-44 | 0.9967433397550199 |
Compiled 12 to 9 computations (25% saved)
| Inputs |
|---|
1 |
re |
(-.f64 re 1) |
(+.f64 1 re) |
(-.f64 (+.f64 2 re) 1) |
(cos.f64 im) |
(exp.f64 re) |
(*.f64 (cos.f64 im) re) |
(+.f64 re (cos.f64 im)) |
(-.f64 (*.f64 (cos.f64 im) re) 1) |
| Outputs |
|---|
(exp.f64 re) |
(+.f64 re (cos.f64 im)) |
5 calls:
| 43.0ms | im |
| 27.0ms | (cos.f64 im) |
| 14.0ms | re |
| 4.0ms | (exp.f64 re) |
| 4.0ms | (exp.f64 re) |
| Error | Segments | Branch |
|---|---|---|
| 1.2b | 2 | re |
| 9.7b | 5 | im |
| 1.2b | 2 | (exp.f64 re) |
| 1.2b | 2 | (exp.f64 re) |
| 9.1b | 6 | (cos.f64 im) |
Compiled 51 to 30 computations (41.2% saved)
| 1× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | 2.068304995694338e-44 | 0.9967433397550199 |
Compiled 12 to 9 computations (25% saved)
| Inputs |
|---|
1 |
re |
(-.f64 re 1) |
(+.f64 1 re) |
(-.f64 (+.f64 2 re) 1) |
(cos.f64 im) |
(exp.f64 re) |
(*.f64 (cos.f64 im) re) |
| Outputs |
|---|
(exp.f64 re) |
(cos.f64 im) |
4 calls:
| 63.0ms | re |
| 26.0ms | im |
| 25.0ms | (cos.f64 im) |
| 4.0ms | (exp.f64 re) |
| Error | Segments | Branch |
|---|---|---|
| 1.4b | 2 | re |
| 9.7b | 5 | im |
| 1.4b | 2 | (exp.f64 re) |
| 9.1b | 6 | (cos.f64 im) |
Compiled 37 to 24 computations (35.1% saved)
| 1× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | 0.9999999999999896 | 1.0 |
Compiled 12 to 9 computations (25% saved)
| Inputs |
|---|
1 |
re |
(-.f64 re 1) |
(+.f64 1 re) |
(-.f64 (+.f64 2 re) 1) |
(cos.f64 im) |
| Outputs |
|---|
(cos.f64 im) |
3 calls:
| 6.0ms | re |
| 5.0ms | im |
| 4.0ms | (cos.f64 im) |
| Error | Segments | Branch |
|---|---|---|
| 26.2b | 1 | re |
| 26.2b | 1 | im |
| 26.2b | 1 | (cos.f64 im) |
Compiled 27 to 19 computations (29.6% saved)
| Inputs |
|---|
1 |
re |
(-.f64 re 1) |
(+.f64 1 re) |
(-.f64 (+.f64 2 re) 1) |
| Outputs |
|---|
(-.f64 (+.f64 2 re) 1) |
2 calls:
| 5.0ms | im |
| 5.0ms | re |
| Error | Segments | Branch |
|---|---|---|
| 43.9b | 1 | re |
| 43.9b | 1 | im |
Compiled 21 to 15 computations (28.6% saved)
| Inputs |
|---|
1 |
re |
(-.f64 re 1) |
(+.f64 1 re) |
| Outputs |
|---|
(+.f64 1 re) |
2 calls:
| 4.0ms | re |
| 4.0ms | im |
| Error | Segments | Branch |
|---|---|---|
| 43.9b | 1 | re |
| 43.9b | 1 | im |
Compiled 16 to 11 computations (31.3% saved)
Total -18.9b remaining (-43.1%)
Threshold costs -18.9b (-43.1%)
| Inputs |
|---|
1 |
re |
(-.f64 re 1) |
| Outputs |
|---|
1 |
2 calls:
| 3.0ms | re |
| 3.0ms | im |
| Error | Segments | Branch |
|---|---|---|
| 43.9b | 1 | re |
| 43.9b | 1 | im |
Compiled 13 to 9 computations (30.8% saved)
| 1× | egg-herbie |
| 7× | +-commutative_binary64 |
| 7× | *-commutative_binary64 |
| 1× | sub-neg_binary64 |
| 1× | 1-exp_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 34 | 138 |
| 1 | 51 | 138 |
| 2 | 52 | 138 |
| 1× | saturated |
| Inputs |
|---|
(*.f64 (exp.f64 re) (cos.f64 im)) |
(if (<=.f64 (exp.f64 re) 8034690221294951/200867255532373784442745261542645325315275374222849104412672) (exp.f64 re) (*.f64 (cos.f64 im) (+.f64 (*.f64 (*.f64 re re) (+.f64 (*.f64 1/6 re) 1/2)) (+.f64 re 1)))) |
(if (<=.f64 (exp.f64 re) 8034690221294951/200867255532373784442745261542645325315275374222849104412672) (exp.f64 re) (*.f64 (cos.f64 im) (+.f64 (*.f64 1/2 (*.f64 re re)) (+.f64 re 1)))) |
(if (<=.f64 (exp.f64 re) 8034690221294951/200867255532373784442745261542645325315275374222849104412672) (exp.f64 re) (*.f64 (cos.f64 im) (+.f64 re 1))) |
(if (<=.f64 (exp.f64 re) 8034690221294951/200867255532373784442745261542645325315275374222849104412672) (exp.f64 re) (+.f64 re (cos.f64 im))) |
(if (<=.f64 (exp.f64 re) 1) (exp.f64 re) (cos.f64 im)) |
(cos.f64 im) |
(-.f64 (+.f64 2 re) 1) |
(+.f64 1 re) |
1 |
| Outputs |
|---|
(*.f64 (exp.f64 re) (cos.f64 im)) |
(if (<=.f64 (exp.f64 re) 8034690221294951/200867255532373784442745261542645325315275374222849104412672) (exp.f64 re) (*.f64 (cos.f64 im) (+.f64 (*.f64 (*.f64 re re) (+.f64 (*.f64 1/6 re) 1/2)) (+.f64 re 1)))) |
(if (<=.f64 (exp.f64 re) 8034690221294951/200867255532373784442745261542645325315275374222849104412672) (exp.f64 re) (*.f64 (cos.f64 im) (+.f64 (*.f64 (*.f64 re re) (+.f64 (*.f64 re 1/6) 1/2)) (+.f64 re 1)))) |
(if (<=.f64 (exp.f64 re) 8034690221294951/200867255532373784442745261542645325315275374222849104412672) (exp.f64 re) (*.f64 (cos.f64 im) (+.f64 (*.f64 1/2 (*.f64 re re)) (+.f64 re 1)))) |
(if (<=.f64 (exp.f64 re) 8034690221294951/200867255532373784442745261542645325315275374222849104412672) (exp.f64 re) (*.f64 (cos.f64 im) (+.f64 (+.f64 re 1) (*.f64 (*.f64 re re) 1/2)))) |
(if (<=.f64 (exp.f64 re) 8034690221294951/200867255532373784442745261542645325315275374222849104412672) (exp.f64 re) (*.f64 (cos.f64 im) (+.f64 re 1))) |
(if (<=.f64 (exp.f64 re) 8034690221294951/200867255532373784442745261542645325315275374222849104412672) (exp.f64 re) (+.f64 re (cos.f64 im))) |
(if (<=.f64 (exp.f64 re) 1) (exp.f64 re) (cos.f64 im)) |
(cos.f64 im) |
(-.f64 (+.f64 2 re) 1) |
(+.f64 (+.f64 re 2) -1) |
(+.f64 1 re) |
(+.f64 re 1) |
1 |
| 1× | fuel |
Compiled 204 to 124 computations (39.2% saved)
Loading profile data...