Time bar (total: 7.3s)
| 1× | search |
| True | Other | False | Iter |
|---|---|---|---|
| 0% | 99.9% | 0.1% | 0 |
| 0% | 99.9% | 0.1% | 1 |
| 0% | 99.9% | 0.1% | 2 |
| 0% | 99.9% | 0.1% | 3 |
| 0% | 99.9% | 0.1% | 4 |
| 50% | 50% | 0.1% | 5 |
| 50% | 50% | 0.1% | 6 |
| 50% | 37.5% | 12.6% | 7 |
| 50% | 37.5% | 12.6% | 8 |
| 50% | 31.2% | 18.8% | 9 |
| 50% | 31.2% | 18.8% | 10 |
| 50% | 28.1% | 22% | 11 |
| 50% | 28.1% | 22% | 12 |
Compiled 14 to 11 computations (21.4% saved)
| 1.2s | 5180× | body | 256 | valid |
| 1.2s | 2091× | body | 1024 | valid |
| 1.0s | 2019× | body | 1024 | invalid |
| 549.0ms | 983× | body | 512 | valid |
| 369.0ms | 1009× | body | 512 | invalid |
| 268.0ms | 1480× | body | 256 | invalid |
| 3.0ms | 2× | body | 2048 | valid |
| 2× | egg-herbie |
| 748× | times-frac_binary64 |
| 628× | fma-def_binary64 |
| 384× | sqr-pow_binary64 |
| 320× | unswap-sqr_binary64 |
| 302× | associate-*l*_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 18 | 36 |
| 1 | 49 | 36 |
| 2 | 131 | 36 |
| 3 | 255 | 34 |
| 4 | 372 | 34 |
| 5 | 669 | 34 |
| 6 | 1531 | 34 |
| 7 | 2660 | 34 |
| 8 | 3812 | 34 |
| 9 | 4558 | 34 |
| 10 | 5152 | 34 |
| 11 | 6060 | 34 |
| 12 | 7567 | 34 |
| 0 | 2 | 2 |
| 1× | saturated |
| 1× | node limit |
| Inputs |
|---|
0 |
1 |
| Outputs |
|---|
0 |
1 |
| Inputs |
|---|
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) |
(*.f64 (*.f64 1/2 (cos.f64 im)) (+.f64 (exp.f64 (neg.f64 re)) (exp.f64 re))) |
| Outputs |
|---|
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) |
(*.f64 (cos.f64 re) (*.f64 1/2 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) |
(*.f64 (cos.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))) |
(*.f64 (*.f64 1/2 (cos.f64 im)) (+.f64 (exp.f64 (neg.f64 re)) (exp.f64 re))) |
(*.f64 1/2 (*.f64 (cos.f64 im) (+.f64 (exp.f64 (neg.f64 re)) (exp.f64 re)))) |
(*.f64 (cos.f64 im) (fma.f64 1/2 (exp.f64 re) (/.f64 1/2 (exp.f64 re)))) |
Compiled 15 to 12 computations (20% saved)
| 1× | egg-herbie |
| 573× | fma-def_binary64 |
| 530× | associate-/l*_binary64 |
| 430× | unswap-sqr_binary64 |
| 374× | times-frac_binary64 |
| 340× | associate-/r/_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 18 |
| 1 | 28 | 18 |
| 2 | 70 | 18 |
| 3 | 132 | 17 |
| 4 | 192 | 17 |
| 5 | 346 | 17 |
| 6 | 780 | 17 |
| 7 | 1351 | 17 |
| 8 | 3967 | 17 |
| 9 | 4490 | 17 |
| 10 | 5461 | 17 |
| 11 | 6024 | 17 |
| 12 | 7058 | 17 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) |
| Outputs |
|---|
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) |
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) |
(*.f64 (cos.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))) |
Compiled 24 to 15 computations (37.5% saved)
3 alts after pruning (3 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 2 | 2 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 0 | 0 |
| Total | 0 | 3 | 3 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.0b | (*.f64 (cos.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))) |
| ▶ | 0.0b | (*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) |
Compiled 26 to 19 computations (26.9% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (*.f64 (cos.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))) |
| ✓ | 0.0b | (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) |
| ✓ | 0.0b | (/.f64 1/2 (exp.f64 im)) |
Compiled 32 to 16 computations (50% saved)
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 3.0ms | re | @ | 0 | (*.f64 (cos.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))) |
| 1.0ms | re | @ | inf | (*.f64 (cos.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))) |
| 1.0ms | im | @ | inf | (*.f64 (cos.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))) |
| 1.0ms | im | @ | inf | (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) |
| 1.0ms | im | @ | -inf | (/.f64 1/2 (exp.f64 im)) |
| 1× | batch-egg-rewrite |
| 873× | pow1_binary64 |
| 804× | add-log-exp_binary64 |
| 804× | log1p-expm1-u_binary64 |
| 804× | expm1-log1p-u_binary64 |
| 787× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 35 |
| 1 | 182 | 35 |
| 2 | 2171 | 35 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 1/2 (exp.f64 im)) |
(fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) |
(*.f64 (cos.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 1/2 (exp.f64 im))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1/2 (exp.f64 (neg.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1/2 (exp.f64 im)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 1/2 (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 1/2 (exp.f64 im))) (pow.f64 (cbrt.f64 (/.f64 1/2 (exp.f64 im))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 1/2 (exp.f64 im))) 2) (cbrt.f64 (/.f64 1/2 (exp.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 1/2 (exp.f64 im))) (sqrt.f64 (/.f64 1/2 (exp.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1/2 (/.f64 1 (neg.f64 (exp.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (neg.f64 im)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1/2 (exp.f64 im)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 1/2 (exp.f64 im)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 1/2 (exp.f64 im))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 1/2 (exp.f64 im))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (exp.f64 im) 2) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (/.f64 1/4 (pow.f64 (exp.f64 im) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 1/2 (exp.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 1/2 (exp.f64 im)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 1/2 (exp.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 1/2 (exp.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (log.f64 1/2) im)))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (/.f64 1/2 (exp.f64 im)) (*.f64 1/2 (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 1/2 (exp.f64 im)) (/.f64 1/2 (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 1/2 (exp.f64 im)) 1) (/.f64 1/2 (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))) (pow.f64 (cbrt.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))) 2) (cbrt.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))) (sqrt.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 1/2 (exp.f64 im)) 3) (pow.f64 (/.f64 1/2 (exp.f64 im)) 3)) (+.f64 (*.f64 (*.f64 1/2 (exp.f64 im)) (*.f64 1/2 (exp.f64 im))) (-.f64 (/.f64 1/4 (pow.f64 (exp.f64 im) 2)) (*.f64 (*.f64 1/2 (exp.f64 im)) (/.f64 1/2 (exp.f64 im))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 1/2 (exp.f64 im)) (*.f64 1/2 (exp.f64 im))) (/.f64 1/4 (pow.f64 (exp.f64 im) 2))) (-.f64 (*.f64 1/2 (exp.f64 im)) (/.f64 1/2 (exp.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 1/2 (exp.f64 im)) (cos.f64 re)) (*.f64 (/.f64 1/2 (exp.f64 im)) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (cos.f64 re) (*.f64 1/2 (exp.f64 im))) (*.f64 (cos.f64 re) (/.f64 1/2 (exp.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (cos.f64 re)) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) 3) (pow.f64 (cos.f64 re) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re)))))))) |
| 1× | egg-herbie |
| 599× | distribute-rgt-out_binary64 |
| 521× | fma-def_binary64 |
| 433× | distribute-lft-out_binary64 |
| 389× | associate-/l*_binary64 |
| 365× | associate-*l*_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 73 | 725 |
| 1 | 232 | 690 |
| 2 | 769 | 643 |
| 3 | 3271 | 625 |
| 4 | 5707 | 625 |
| 1× | node limit |
| Inputs |
|---|
1/2 |
(+.f64 1/2 (*.f64 -1/2 im)) |
(+.f64 1/2 (+.f64 (*.f64 1/4 (pow.f64 im 2)) (*.f64 -1/2 im))) |
(+.f64 1/2 (+.f64 (*.f64 1/4 (pow.f64 im 2)) (+.f64 (*.f64 -1/2 im) (*.f64 -1/12 (pow.f64 im 3))))) |
1 |
(+.f64 1 (*.f64 1/2 (pow.f64 im 2))) |
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4)))) |
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (+.f64 (*.f64 1/24 (pow.f64 im 4)) (*.f64 1/720 (pow.f64 im 6))))) |
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))) |
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))) |
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))) |
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))) |
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))) |
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))) |
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))) |
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))) |
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 re 2) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))) (+.f64 (*.f64 1/2 (exp.f64 im)) (*.f64 1/2 (/.f64 1 (exp.f64 im))))) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 re 2) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))) (+.f64 (*.f64 1/24 (*.f64 (pow.f64 re 4) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))) (+.f64 (*.f64 1/2 (exp.f64 im)) (*.f64 1/2 (/.f64 1 (exp.f64 im)))))) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 re 2) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))) (+.f64 (*.f64 1/24 (*.f64 (pow.f64 re 4) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))) (+.f64 (*.f64 1/2 (exp.f64 im)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 re 6) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))) (*.f64 1/2 (/.f64 1 (exp.f64 im))))))) |
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im)))) |
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im)))) |
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im)))) |
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im)))) |
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im)))) |
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im)))) |
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im)))) |
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im)))) |
(cos.f64 re) |
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re)) |
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (+.f64 (cos.f64 re) (*.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4))))) |
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (+.f64 (cos.f64 re) (+.f64 (*.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4))) (*.f64 1/720 (*.f64 (cos.f64 re) (pow.f64 im 6)))))) |
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im)))) |
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im)))) |
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im)))) |
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im)))) |
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im)))) |
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im)))) |
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im)))) |
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im)))) |
| Outputs |
|---|
1/2 |
(+.f64 1/2 (*.f64 -1/2 im)) |
(fma.f64 -1/2 im 1/2) |
(+.f64 1/2 (+.f64 (*.f64 1/4 (pow.f64 im 2)) (*.f64 -1/2 im))) |
(+.f64 1/2 (fma.f64 1/4 (*.f64 im im) (*.f64 -1/2 im))) |
(+.f64 1/2 (fma.f64 -1/2 im (*.f64 im (*.f64 im 1/4)))) |
(fma.f64 -1/2 im (fma.f64 im (*.f64 im 1/4) 1/2)) |
(+.f64 1/2 (+.f64 (*.f64 1/4 (pow.f64 im 2)) (+.f64 (*.f64 -1/2 im) (*.f64 -1/12 (pow.f64 im 3))))) |
(+.f64 1/2 (fma.f64 1/4 (*.f64 im im) (fma.f64 -1/2 im (*.f64 -1/12 (pow.f64 im 3))))) |
(+.f64 1/2 (fma.f64 -1/2 im (*.f64 (*.f64 im im) (+.f64 1/4 (*.f64 im -1/12))))) |
(+.f64 1/2 (*.f64 im (+.f64 -1/2 (*.f64 im (+.f64 1/4 (*.f64 im -1/12)))))) |
1 |
(+.f64 1 (*.f64 1/2 (pow.f64 im 2))) |
(+.f64 1 (*.f64 1/2 (*.f64 im im))) |
(fma.f64 1/2 (*.f64 im im) 1) |
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4)))) |
(+.f64 1 (fma.f64 1/2 (*.f64 im im) (*.f64 1/24 (pow.f64 im 4)))) |
(fma.f64 1/2 (*.f64 im im) (fma.f64 1/24 (pow.f64 im 4) 1)) |
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (+.f64 (*.f64 1/24 (pow.f64 im 4)) (*.f64 1/720 (pow.f64 im 6))))) |
(+.f64 1 (fma.f64 1/2 (*.f64 im im) (fma.f64 1/24 (pow.f64 im 4) (*.f64 1/720 (pow.f64 im 6))))) |
(+.f64 1 (fma.f64 1/24 (pow.f64 im 4) (fma.f64 1/2 (*.f64 im im) (*.f64 1/720 (pow.f64 im 6))))) |
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))) |
(fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) |
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))) |
(fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) |
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))) |
(fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) |
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))) |
(fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) |
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))) |
(fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) |
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))) |
(fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) |
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))) |
(fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) |
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))) |
(fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) |
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))) |
(fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 re 2) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))) (+.f64 (*.f64 1/2 (exp.f64 im)) (*.f64 1/2 (/.f64 1 (exp.f64 im))))) |
(fma.f64 -1/2 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (*.f64 re re)) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))) |
(*.f64 (+.f64 (*.f64 -1/2 (*.f64 re re)) 1) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))) |
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (fma.f64 -1/2 (*.f64 re re) 1)) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 re 2) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))) (+.f64 (*.f64 1/24 (*.f64 (pow.f64 re 4) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))) (+.f64 (*.f64 1/2 (exp.f64 im)) (*.f64 1/2 (/.f64 1 (exp.f64 im)))))) |
(fma.f64 -1/2 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (*.f64 re re)) (fma.f64 1/24 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (pow.f64 re 4)) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))) |
(+.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (+.f64 (*.f64 -1/2 (*.f64 re re)) (*.f64 1/24 (pow.f64 re 4))))) |
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (+.f64 (*.f64 -1/2 (*.f64 re re)) (fma.f64 1/24 (pow.f64 re 4) 1))) |
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (+.f64 (*.f64 1/24 (pow.f64 re 4)) (fma.f64 -1/2 (*.f64 re re) 1))) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 re 2) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))) (+.f64 (*.f64 1/24 (*.f64 (pow.f64 re 4) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))) (+.f64 (*.f64 1/2 (exp.f64 im)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 re 6) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))) (*.f64 1/2 (/.f64 1 (exp.f64 im))))))) |
(fma.f64 -1/2 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (*.f64 re re)) (fma.f64 1/24 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (pow.f64 re 4)) (fma.f64 1/2 (exp.f64 im) (fma.f64 -1/720 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (pow.f64 re 6)) (/.f64 1/2 (exp.f64 im)))))) |
(+.f64 (fma.f64 1/2 (exp.f64 im) (fma.f64 -1/720 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (pow.f64 re 6)) (/.f64 1/2 (exp.f64 im)))) (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (+.f64 (*.f64 -1/2 (*.f64 re re)) (*.f64 1/24 (pow.f64 re 4))))) |
(fma.f64 (*.f64 (*.f64 re re) -1/4) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (+.f64 (fma.f64 1/24 (pow.f64 re 4) 1) (*.f64 -1/720 (pow.f64 re 6))))) |
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (+.f64 (+.f64 1 (*.f64 -1/720 (pow.f64 re 6))) (fma.f64 -1/2 (*.f64 re re) (*.f64 1/24 (pow.f64 re 4))))) |
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im)))) |
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re)) |
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im)))) |
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re)) |
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im)))) |
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re)) |
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im)))) |
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re)) |
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im)))) |
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re)) |
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im)))) |
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re)) |
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im)))) |
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re)) |
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im)))) |
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re)) |
(cos.f64 re) |
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re)) |
(fma.f64 1/2 (*.f64 (*.f64 im im) (cos.f64 re)) (cos.f64 re)) |
(fma.f64 1/2 (*.f64 im (*.f64 im (cos.f64 re))) (cos.f64 re)) |
(*.f64 (fma.f64 1/2 (*.f64 im im) 1) (cos.f64 re)) |
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (+.f64 (cos.f64 re) (*.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4))))) |
(+.f64 (fma.f64 1/2 (*.f64 (*.f64 im im) (cos.f64 re)) (cos.f64 re)) (*.f64 (*.f64 1/24 (cos.f64 re)) (pow.f64 im 4))) |
(fma.f64 1/2 (*.f64 im (*.f64 im (cos.f64 re))) (fma.f64 1/24 (*.f64 (pow.f64 im 4) (cos.f64 re)) (cos.f64 re))) |
(+.f64 (cos.f64 re) (*.f64 (cos.f64 re) (fma.f64 1/2 (*.f64 im im) (*.f64 1/24 (pow.f64 im 4))))) |
(*.f64 (cos.f64 re) (fma.f64 1/2 (*.f64 im im) (fma.f64 1/24 (pow.f64 im 4) 1))) |
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (+.f64 (cos.f64 re) (+.f64 (*.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4))) (*.f64 1/720 (*.f64 (cos.f64 re) (pow.f64 im 6)))))) |
(+.f64 (fma.f64 1/2 (*.f64 (*.f64 im im) (cos.f64 re)) (cos.f64 re)) (fma.f64 1/24 (*.f64 (pow.f64 im 4) (cos.f64 re)) (*.f64 1/720 (*.f64 (pow.f64 im 6) (cos.f64 re))))) |
(+.f64 (fma.f64 1/2 (*.f64 im (*.f64 im (cos.f64 re))) (cos.f64 re)) (fma.f64 1/24 (*.f64 (pow.f64 im 4) (cos.f64 re)) (*.f64 1/720 (*.f64 (pow.f64 im 6) (cos.f64 re))))) |
(+.f64 (*.f64 (fma.f64 1/2 (*.f64 im im) 1) (cos.f64 re)) (*.f64 (cos.f64 re) (fma.f64 1/24 (pow.f64 im 4) (*.f64 1/720 (pow.f64 im 6))))) |
(+.f64 (cos.f64 re) (*.f64 (cos.f64 re) (fma.f64 1/2 (*.f64 im im) (fma.f64 1/24 (pow.f64 im 4) (*.f64 1/720 (pow.f64 im 6)))))) |
(+.f64 (cos.f64 re) (*.f64 (cos.f64 re) (fma.f64 1/24 (pow.f64 im 4) (fma.f64 1/2 (*.f64 im im) (*.f64 1/720 (pow.f64 im 6)))))) |
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im)))) |
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re)) |
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im)))) |
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re)) |
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im)))) |
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re)) |
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im)))) |
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re)) |
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im)))) |
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re)) |
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im)))) |
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re)) |
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im)))) |
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re)) |
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im)))) |
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re)) |
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) |
| ✓ | 0.0b | (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) |
Compiled 35 to 13 computations (62.9% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | re | @ | -inf | (*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) |
| 1.0ms | im | @ | inf | (*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) |
| 1.0ms | re | @ | inf | (*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) |
| 1.0ms | im | @ | -inf | (*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) |
| 1.0ms | re | @ | 0 | (*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) |
| 2× | egg-rewrite-iter-limit |
| 2× | egg-rewrite |
| 1× | batch-egg-rewrite |
| 121× | add-sqr-sqrt_binary64 |
| 121× | add-sqr-sqrt_binary64 |
| 116× | *-un-lft-identity_binary64 |
| 116× | pow1_binary64 |
| 116× | *-un-lft-identity_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 28 |
| 1 | 233 | 28 |
| 2 | 3784 | 28 |
| 0 | 6 | 10 |
| 1 | 126 | 10 |
| 2 | 2082 | 10 |
| 0 | 6 | 10 |
| 0 | 11 | 18 |
| 1 | 233 | 18 |
| 2 | 3780 | 18 |
| 0 | 11 | 18 |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| 1× | unsound |
| 1× | unsound |
| Inputs |
|---|
(+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) |
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) (cbrt.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) (cbrt.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) (sqrt.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (exp.f64 (neg.f64 im)) 3) (pow.f64 (exp.f64 im) 3)) (+.f64 (*.f64 (exp.f64 (neg.f64 im)) (exp.f64 (neg.f64 im))) (-.f64 (*.f64 (exp.f64 im) (exp.f64 im)) (*.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (exp.f64 (neg.f64 im)) (exp.f64 (neg.f64 im))) (*.f64 (exp.f64 im) (exp.f64 im))) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (exp.f64 (neg.f64 im)) (*.f64 1/2 (cos.f64 re))) (*.f64 (exp.f64 im) (*.f64 1/2 (cos.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 1/2 (cos.f64 re)) (exp.f64 (neg.f64 im))) (*.f64 (*.f64 1/2 (cos.f64 re)) (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (*.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) (*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))) (*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))))))) |
| 1× | egg-herbie |
| 613× | associate-+l+_binary64 |
| 607× | distribute-rgt-out_binary64 |
| 435× | distribute-lft-out_binary64 |
| 417× | associate-+r+_binary64 |
| 363× | *-commutative_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 64 | 669 |
| 1 | 190 | 606 |
| 2 | 609 | 570 |
| 3 | 2284 | 565 |
| 4 | 5021 | 563 |
| 5 | 7232 | 563 |
| 1× | node limit |
| Inputs |
|---|
2 |
(+.f64 2 (pow.f64 im 2)) |
(+.f64 2 (+.f64 (pow.f64 im 2) (*.f64 1/12 (pow.f64 im 4)))) |
(+.f64 2 (+.f64 (pow.f64 im 2) (+.f64 (*.f64 1/12 (pow.f64 im 4)) (*.f64 1/360 (pow.f64 im 6))))) |
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) |
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) |
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) |
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) |
(+.f64 (exp.f64 im) (exp.f64 (*.f64 -1 im))) |
(+.f64 (exp.f64 im) (exp.f64 (*.f64 -1 im))) |
(+.f64 (exp.f64 im) (exp.f64 (*.f64 -1 im))) |
(+.f64 (exp.f64 im) (exp.f64 (*.f64 -1 im))) |
(*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) |
(+.f64 (*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) (*.f64 -1/4 (*.f64 (pow.f64 re 2) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))) |
(+.f64 (*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) (+.f64 (*.f64 -1/4 (*.f64 (pow.f64 re 2) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) (*.f64 1/48 (*.f64 (pow.f64 re 4) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))))) |
(+.f64 (*.f64 -1/1440 (*.f64 (pow.f64 re 6) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) (+.f64 (*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) (+.f64 (*.f64 -1/4 (*.f64 (pow.f64 re 2) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) (*.f64 1/48 (*.f64 (pow.f64 re 4) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))))) |
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) |
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) |
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) |
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) |
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) |
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) |
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) |
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) |
(cos.f64 re) |
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re)) |
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (+.f64 (cos.f64 re) (*.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4))))) |
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (+.f64 (cos.f64 re) (+.f64 (*.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4))) (*.f64 1/720 (*.f64 (cos.f64 re) (pow.f64 im 6)))))) |
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) |
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) |
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) |
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) |
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (*.f64 -1 im))))) |
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (*.f64 -1 im))))) |
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (*.f64 -1 im))))) |
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (*.f64 -1 im))))) |
| Outputs |
|---|
2 |
(+.f64 2 (pow.f64 im 2)) |
(+.f64 2 (*.f64 im im)) |
(fma.f64 im im 2) |
(+.f64 2 (+.f64 (pow.f64 im 2) (*.f64 1/12 (pow.f64 im 4)))) |
(+.f64 2 (+.f64 (*.f64 im im) (*.f64 1/12 (pow.f64 im 4)))) |
(+.f64 2 (fma.f64 im im (*.f64 1/12 (pow.f64 im 4)))) |
(fma.f64 im im (fma.f64 1/12 (pow.f64 im 4) 2)) |
(+.f64 2 (+.f64 (pow.f64 im 2) (+.f64 (*.f64 1/12 (pow.f64 im 4)) (*.f64 1/360 (pow.f64 im 6))))) |
(+.f64 2 (+.f64 (*.f64 im im) (fma.f64 1/12 (pow.f64 im 4) (*.f64 1/360 (pow.f64 im 6))))) |
(+.f64 2 (fma.f64 im im (fma.f64 1/12 (pow.f64 im 4) (*.f64 1/360 (pow.f64 im 6))))) |
(+.f64 (fma.f64 1/12 (pow.f64 im 4) (*.f64 im im)) (fma.f64 1/360 (pow.f64 im 6) 2)) |
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) |
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) |
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) |
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) |
(+.f64 (exp.f64 im) (exp.f64 (*.f64 -1 im))) |
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) |
(+.f64 (exp.f64 im) (exp.f64 (*.f64 -1 im))) |
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) |
(+.f64 (exp.f64 im) (exp.f64 (*.f64 -1 im))) |
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) |
(+.f64 (exp.f64 im) (exp.f64 (*.f64 -1 im))) |
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) |
(*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) |
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) 1/2) |
(fma.f64 (exp.f64 im) 1/2 (/.f64 1/2 (exp.f64 im))) |
(+.f64 (*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) (*.f64 -1/4 (*.f64 (pow.f64 re 2) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))) |
(fma.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (*.f64 -1/4 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (*.f64 re re)))) |
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (+.f64 1/2 (*.f64 -1/4 (*.f64 re re)))) |
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (fma.f64 (*.f64 -1/4 re) re 1/2)) |
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (fma.f64 -1/4 (*.f64 re re) 1/2)) |
(+.f64 (*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) (+.f64 (*.f64 -1/4 (*.f64 (pow.f64 re 2) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) (*.f64 1/48 (*.f64 (pow.f64 re 4) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))))) |
(fma.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (fma.f64 -1/4 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (*.f64 re re)) (*.f64 1/48 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (pow.f64 re 4))))) |
(fma.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) 1/2 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (+.f64 (*.f64 -1/4 (*.f64 re re)) (*.f64 1/48 (pow.f64 re 4))))) |
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (+.f64 1/2 (fma.f64 1/48 (pow.f64 re 4) (*.f64 -1/4 (*.f64 re re))))) |
(+.f64 (*.f64 -1/1440 (*.f64 (pow.f64 re 6) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) (+.f64 (*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) (+.f64 (*.f64 -1/4 (*.f64 (pow.f64 re 2) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) (*.f64 1/48 (*.f64 (pow.f64 re 4) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))))) |
(fma.f64 -1/1440 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (pow.f64 re 6)) (fma.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (fma.f64 -1/4 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (*.f64 re re)) (*.f64 1/48 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (pow.f64 re 4)))))) |
(+.f64 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (+.f64 (*.f64 -1/4 (*.f64 re re)) (*.f64 1/48 (pow.f64 re 4)))) (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (+.f64 (*.f64 -1/1440 (pow.f64 re 6)) 1/2))) |
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (+.f64 (fma.f64 1/48 (pow.f64 re 4) (*.f64 -1/4 (*.f64 re re))) (fma.f64 -1/1440 (pow.f64 re 6) 1/2))) |
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (+.f64 (fma.f64 -1/1440 (pow.f64 re 6) 1/2) (fma.f64 1/48 (pow.f64 re 4) (*.f64 -1/4 (*.f64 re re))))) |
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) |
(*.f64 1/2 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (cos.f64 re))) |
(*.f64 (fma.f64 (exp.f64 im) 1/2 (/.f64 1/2 (exp.f64 im))) (cos.f64 re)) |
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) |
(*.f64 1/2 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (cos.f64 re))) |
(*.f64 (fma.f64 (exp.f64 im) 1/2 (/.f64 1/2 (exp.f64 im))) (cos.f64 re)) |
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) |
(*.f64 1/2 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (cos.f64 re))) |
(*.f64 (fma.f64 (exp.f64 im) 1/2 (/.f64 1/2 (exp.f64 im))) (cos.f64 re)) |
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) |
(*.f64 1/2 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (cos.f64 re))) |
(*.f64 (fma.f64 (exp.f64 im) 1/2 (/.f64 1/2 (exp.f64 im))) (cos.f64 re)) |
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) |
(*.f64 1/2 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (cos.f64 re))) |
(*.f64 (fma.f64 (exp.f64 im) 1/2 (/.f64 1/2 (exp.f64 im))) (cos.f64 re)) |
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) |
(*.f64 1/2 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (cos.f64 re))) |
(*.f64 (fma.f64 (exp.f64 im) 1/2 (/.f64 1/2 (exp.f64 im))) (cos.f64 re)) |
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) |
(*.f64 1/2 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (cos.f64 re))) |
(*.f64 (fma.f64 (exp.f64 im) 1/2 (/.f64 1/2 (exp.f64 im))) (cos.f64 re)) |
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) |
(*.f64 1/2 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (cos.f64 re))) |
(*.f64 (fma.f64 (exp.f64 im) 1/2 (/.f64 1/2 (exp.f64 im))) (cos.f64 re)) |
(cos.f64 re) |
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re)) |
(fma.f64 1/2 (*.f64 (*.f64 im im) (cos.f64 re)) (cos.f64 re)) |
(fma.f64 (*.f64 1/2 (cos.f64 re)) (*.f64 im im) (cos.f64 re)) |
(*.f64 (+.f64 (*.f64 im (*.f64 im 1/2)) 1) (cos.f64 re)) |
(fma.f64 (*.f64 im im) (*.f64 1/2 (cos.f64 re)) (cos.f64 re)) |
(*.f64 (cos.f64 re) (+.f64 1 (*.f64 im (*.f64 im 1/2)))) |
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (+.f64 (cos.f64 re) (*.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4))))) |
(fma.f64 1/2 (*.f64 (*.f64 im im) (cos.f64 re)) (+.f64 (cos.f64 re) (*.f64 1/24 (*.f64 (pow.f64 im 4) (cos.f64 re))))) |
(fma.f64 1/2 (*.f64 im (*.f64 im (cos.f64 re))) (fma.f64 1/24 (*.f64 (pow.f64 im 4) (cos.f64 re)) (cos.f64 re))) |
(+.f64 (cos.f64 re) (*.f64 (cos.f64 re) (+.f64 (*.f64 im (*.f64 im 1/2)) (*.f64 (pow.f64 im 4) 1/24)))) |
(*.f64 (cos.f64 re) (+.f64 (+.f64 1 (*.f64 im (*.f64 im 1/2))) (*.f64 (pow.f64 im 4) 1/24))) |
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (+.f64 (cos.f64 re) (+.f64 (*.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4))) (*.f64 1/720 (*.f64 (cos.f64 re) (pow.f64 im 6)))))) |
(+.f64 (fma.f64 1/2 (*.f64 (*.f64 im im) (cos.f64 re)) (cos.f64 re)) (fma.f64 1/24 (*.f64 (pow.f64 im 4) (cos.f64 re)) (*.f64 1/720 (*.f64 (pow.f64 im 6) (cos.f64 re))))) |
(+.f64 (fma.f64 (*.f64 1/2 (cos.f64 re)) (*.f64 im im) (cos.f64 re)) (fma.f64 1/24 (*.f64 (pow.f64 im 4) (cos.f64 re)) (*.f64 (pow.f64 im 6) (*.f64 (cos.f64 re) 1/720)))) |
(+.f64 (*.f64 (+.f64 (*.f64 im (*.f64 im 1/2)) 1) (cos.f64 re)) (*.f64 (cos.f64 re) (+.f64 (*.f64 (pow.f64 im 4) 1/24) (*.f64 (pow.f64 im 6) 1/720)))) |
(+.f64 (cos.f64 re) (*.f64 (cos.f64 re) (+.f64 (+.f64 (*.f64 (pow.f64 im 6) 1/720) (*.f64 im (*.f64 im 1/2))) (*.f64 (pow.f64 im 4) 1/24)))) |
(*.f64 (cos.f64 re) (+.f64 1 (+.f64 (+.f64 (*.f64 (pow.f64 im 6) 1/720) (*.f64 im (*.f64 im 1/2))) (*.f64 (pow.f64 im 4) 1/24)))) |
(*.f64 (cos.f64 re) (+.f64 1 (+.f64 (*.f64 im (+.f64 (*.f64 im 1/2) (*.f64 1/24 (pow.f64 im 3)))) (*.f64 (pow.f64 im 6) 1/720)))) |
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) |
(*.f64 1/2 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (cos.f64 re))) |
(*.f64 (fma.f64 (exp.f64 im) 1/2 (/.f64 1/2 (exp.f64 im))) (cos.f64 re)) |
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) |
(*.f64 1/2 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (cos.f64 re))) |
(*.f64 (fma.f64 (exp.f64 im) 1/2 (/.f64 1/2 (exp.f64 im))) (cos.f64 re)) |
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) |
(*.f64 1/2 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (cos.f64 re))) |
(*.f64 (fma.f64 (exp.f64 im) 1/2 (/.f64 1/2 (exp.f64 im))) (cos.f64 re)) |
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) |
(*.f64 1/2 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (cos.f64 re))) |
(*.f64 (fma.f64 (exp.f64 im) 1/2 (/.f64 1/2 (exp.f64 im))) (cos.f64 re)) |
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (*.f64 -1 im))))) |
(*.f64 1/2 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (cos.f64 re))) |
(*.f64 (fma.f64 (exp.f64 im) 1/2 (/.f64 1/2 (exp.f64 im))) (cos.f64 re)) |
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (*.f64 -1 im))))) |
(*.f64 1/2 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (cos.f64 re))) |
(*.f64 (fma.f64 (exp.f64 im) 1/2 (/.f64 1/2 (exp.f64 im))) (cos.f64 re)) |
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (*.f64 -1 im))))) |
(*.f64 1/2 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (cos.f64 re))) |
(*.f64 (fma.f64 (exp.f64 im) 1/2 (/.f64 1/2 (exp.f64 im))) (cos.f64 re)) |
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (*.f64 -1 im))))) |
(*.f64 1/2 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (cos.f64 re))) |
(*.f64 (fma.f64 (exp.f64 im) 1/2 (/.f64 1/2 (exp.f64 im))) (cos.f64 re)) |
Compiled 2216 to 1194 computations (46.1% saved)
6 alts after pruning (5 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 129 | 5 | 134 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 1 | 0 | 1 |
| Total | 130 | 6 | 136 |
| Status | Error | Program |
|---|---|---|
| ▶ | 24.1b | (*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) |
| ✓ | 0.0b | (*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) |
| ▶ | 1.2b | (cos.f64 re) |
| ▶ | 24.1b | (fma.f64 (exp.f64 im) 1/2 (/.f64 1/2 (exp.f64 im))) |
| ▶ | 0.8b | (*.f64 (cos.f64 re) (+.f64 (+.f64 1 (*.f64 im (*.f64 im 1/2))) (*.f64 (pow.f64 im 4) 1/24))) |
| ▶ | 1.0b | (*.f64 (cos.f64 re) (+.f64 1 (*.f64 im (*.f64 im 1/2)))) |
Compiled 121 to 92 computations (24% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (*.f64 (cos.f64 re) (+.f64 (+.f64 1 (*.f64 im (*.f64 im 1/2))) (*.f64 (pow.f64 im 4) 1/24))) |
| ✓ | 0.0b | (+.f64 (+.f64 1 (*.f64 im (*.f64 im 1/2))) (*.f64 (pow.f64 im 4) 1/24)) |
| ✓ | 0.2b | (*.f64 (pow.f64 im 4) 1/24) |
Compiled 62 to 44 computations (29% saved)
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | im | @ | inf | (*.f64 (pow.f64 im 4) 1/24) |
| 1.0ms | re | @ | inf | (*.f64 (cos.f64 re) (+.f64 (+.f64 1 (*.f64 im (*.f64 im 1/2))) (*.f64 (pow.f64 im 4) 1/24))) |
| 1.0ms | re | @ | 0 | (*.f64 (cos.f64 re) (+.f64 (+.f64 1 (*.f64 im (*.f64 im 1/2))) (*.f64 (pow.f64 im 4) 1/24))) |
| 1.0ms | im | @ | 0 | (*.f64 (pow.f64 im 4) 1/24) |
| 1.0ms | im | @ | inf | (+.f64 (+.f64 1 (*.f64 im (*.f64 im 1/2))) (*.f64 (pow.f64 im 4) 1/24)) |
| 1× | batch-egg-rewrite |
| 729× | log-prod_binary64 |
| 718× | fma-def_binary64 |
| 279× | fma-neg_binary64 |
| 272× | expm1-udef_binary64 |
| 271× | log1p-udef_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 15 | 50 |
| 1 | 327 | 42 |
| 2 | 4271 | 42 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (pow.f64 im 4) 1/24) |
(+.f64 (+.f64 1 (*.f64 im (*.f64 im 1/2))) (*.f64 (pow.f64 im 4) 1/24)) |
(*.f64 (cos.f64 re) (+.f64 (+.f64 1 (*.f64 im (*.f64 im 1/2))) (*.f64 (pow.f64 im 4) 1/24))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (pow.f64 im 4) 1/24))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (pow.f64 (exp.f64 1/24) (pow.f64 im 4))) (cbrt.f64 (pow.f64 (exp.f64 1/24) (pow.f64 im 4))))) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 1/24) (pow.f64 im 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 1/24) (pow.f64 im 4)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 1/24) (pow.f64 im 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (pow.f64 im 4) 1/24))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 im 4) 1/24) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (pow.f64 im 4) 1/24)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (*.f64 im im) (sqrt.f64 1/24)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/13824 (pow.f64 (pow.f64 im 4) 3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 1/576 (pow.f64 im 8)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 1/24) (pow.f64 im 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (pow.f64 im 4) 1/24))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 1/13824 (pow.f64 (pow.f64 im 4) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (pow.f64 im 4) 1/24)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (pow.f64 im 4) 1/24)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (pow.f64 im 4) 1/24)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (pow.f64 im 4) 1/24)) 1)))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 (pow.f64 im 4) 1/24 (fma.f64 im (*.f64 im 1/2) 1)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (fma.f64 im (*.f64 im 1/2) 1) 2) (+.f64 (fma.f64 im (*.f64 im 1/2) 1) (*.f64 -1/24 (pow.f64 im 4)))) (/.f64 (*.f64 1/576 (pow.f64 im 8)) (+.f64 (fma.f64 im (*.f64 im 1/2) 1) (*.f64 -1/24 (pow.f64 im 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 (pow.f64 im 4) 1/24 (fma.f64 im (*.f64 im 1/2) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (pow.f64 im 4) 1/24 (fma.f64 im (*.f64 im 1/2) 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 (pow.f64 im 4) 1/24 (fma.f64 im (*.f64 im 1/2) 1))) (cbrt.f64 (pow.f64 (fma.f64 (pow.f64 im 4) 1/24 (fma.f64 im (*.f64 im 1/2) 1)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fma.f64 (pow.f64 im 4) 1/24 (fma.f64 im (*.f64 im 1/2) 1)) 2)) (cbrt.f64 (fma.f64 (pow.f64 im 4) 1/24 (fma.f64 im (*.f64 im 1/2) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 (pow.f64 im 4) 1/24 (fma.f64 im (*.f64 im 1/2) 1))) (sqrt.f64 (fma.f64 (pow.f64 im 4) 1/24 (fma.f64 im (*.f64 im 1/2) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 1/13824 (pow.f64 (pow.f64 im 4) 3) (pow.f64 (fma.f64 im (*.f64 im 1/2) 1) 3)) (/.f64 1 (fma.f64 (*.f64 (pow.f64 im 4) 1/24) (-.f64 (*.f64 (pow.f64 im 4) 1/24) (fma.f64 im (*.f64 im 1/2) 1)) (pow.f64 (fma.f64 im (*.f64 im 1/2) 1) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (fma.f64 im (*.f64 im 1/2) 1) 2) (*.f64 1/576 (pow.f64 im 8))) (/.f64 1 (+.f64 (fma.f64 im (*.f64 im 1/2) 1) (*.f64 -1/24 (pow.f64 im 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 (*.f64 (pow.f64 im 4) 1/24) (-.f64 (*.f64 (pow.f64 im 4) 1/24) (fma.f64 im (*.f64 im 1/2) 1)) (pow.f64 (fma.f64 im (*.f64 im 1/2) 1) 2)) (fma.f64 1/13824 (pow.f64 (pow.f64 im 4) 3) (pow.f64 (fma.f64 im (*.f64 im 1/2) 1) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (fma.f64 im (*.f64 im 1/2) 1) (*.f64 -1/24 (pow.f64 im 4))) (-.f64 (pow.f64 (fma.f64 im (*.f64 im 1/2) 1) 2) (*.f64 1/576 (pow.f64 im 8)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 1/13824 (pow.f64 (pow.f64 im 4) 3) (pow.f64 (fma.f64 im (*.f64 im 1/2) 1) 3)) (fma.f64 (*.f64 (pow.f64 im 4) 1/24) (-.f64 (*.f64 (pow.f64 im 4) 1/24) (fma.f64 im (*.f64 im 1/2) 1)) (pow.f64 (fma.f64 im (*.f64 im 1/2) 1) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 1/13824 (pow.f64 (pow.f64 im 4) 3) (pow.f64 (fma.f64 im (*.f64 im 1/2) 1) 3)) (fma.f64 1/576 (pow.f64 im 8) (-.f64 (pow.f64 (fma.f64 im (*.f64 im 1/2) 1) 2) (*.f64 (*.f64 (pow.f64 im 4) 1/24) (fma.f64 im (*.f64 im 1/2) 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (fma.f64 im (*.f64 im 1/2) 1) 2) (*.f64 1/576 (pow.f64 im 8))) (+.f64 (fma.f64 im (*.f64 im 1/2) 1) (*.f64 -1/24 (pow.f64 im 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (fma.f64 1/13824 (pow.f64 (pow.f64 im 4) 3) (pow.f64 (fma.f64 im (*.f64 im 1/2) 1) 3))) (neg.f64 (fma.f64 (*.f64 (pow.f64 im 4) 1/24) (-.f64 (*.f64 (pow.f64 im 4) 1/24) (fma.f64 im (*.f64 im 1/2) 1)) (pow.f64 (fma.f64 im (*.f64 im 1/2) 1) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (fma.f64 im (*.f64 im 1/2) 1) 2) (*.f64 1/576 (pow.f64 im 8)))) (neg.f64 (+.f64 (fma.f64 im (*.f64 im 1/2) 1) (*.f64 -1/24 (pow.f64 im 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (fma.f64 im (*.f64 im 1/2) (*.f64 (pow.f64 im 4) 1/24)) 3)) (+.f64 1 (-.f64 (*.f64 (fma.f64 im (*.f64 im 1/2) (*.f64 (pow.f64 im 4) 1/24)) (fma.f64 im (*.f64 im 1/2) (*.f64 (pow.f64 im 4) 1/24))) (fma.f64 im (*.f64 im 1/2) (*.f64 (pow.f64 im 4) 1/24)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 1/576 (pow.f64 im 8)) (pow.f64 (fma.f64 im (*.f64 im 1/2) 1) 2)) (-.f64 (*.f64 (pow.f64 im 4) 1/24) (fma.f64 im (*.f64 im 1/2) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (*.f64 (fma.f64 im (*.f64 im 1/2) (*.f64 (pow.f64 im 4) 1/24)) (fma.f64 im (*.f64 im 1/2) (*.f64 (pow.f64 im 4) 1/24)))) (-.f64 1 (fma.f64 im (*.f64 im 1/2) (*.f64 (pow.f64 im 4) 1/24))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 (pow.f64 im 4) 1/24 (fma.f64 im (*.f64 im 1/2) 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 (pow.f64 im 4) 1/24 (fma.f64 im (*.f64 im 1/2) 1)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 (pow.f64 im 4) 1/24 (fma.f64 im (*.f64 im 1/2) 1))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 (pow.f64 im 4) 1/24 (fma.f64 im (*.f64 im 1/2) 1))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 (pow.f64 im 4) 1/24 (fma.f64 im (*.f64 im 1/2) 1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 (pow.f64 im 4) 1/24 (fma.f64 im (*.f64 im 1/2) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 (pow.f64 im 4) 1/24 (fma.f64 im (*.f64 im 1/2) 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 (pow.f64 im 4) 1/24))) (exp.f64 (fma.f64 im (*.f64 im 1/2) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 1/24) (pow.f64 im 4)) (+.f64 1 (expm1.f64 (fma.f64 im (*.f64 im 1/2) 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 (pow.f64 im 4) 1/24))) (+.f64 1 (expm1.f64 (fma.f64 im (*.f64 im 1/2) 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (fma.f64 im (*.f64 im 1/2) 1))) (pow.f64 (exp.f64 1/24) (pow.f64 im 4))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (fma.f64 im (*.f64 im 1/2) 1)) (+.f64 1 (expm1.f64 (*.f64 (pow.f64 im 4) 1/24)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (fma.f64 im (*.f64 im 1/2) 1))) (+.f64 1 (expm1.f64 (*.f64 (pow.f64 im 4) 1/24)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 (pow.f64 im 4) 1/24 (fma.f64 im (*.f64 im 1/2) 1)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 (pow.f64 im 4) 1/24 (fma.f64 im (*.f64 im 1/2) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 (pow.f64 im 4) 1/24 (fma.f64 im (*.f64 im 1/2) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log1p.f64 (fma.f64 im (*.f64 im 1/2) (*.f64 (pow.f64 im 4) 1/24))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log1p.f64 (fma.f64 im (*.f64 im 1/2) (*.f64 (pow.f64 im 4) 1/24))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 im (*.f64 im 1/2) (+.f64 1 (*.f64 (pow.f64 im 4) 1/24)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 im 4) 1/24 (fma.f64 im (*.f64 im 1/2) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1/24 (pow.f64 im 4) (fma.f64 im (*.f64 im 1/2) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (pow.f64 im 4) 1/24) 1 (fma.f64 im (*.f64 im 1/2) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 (pow.f64 im 4) 1/24) (fma.f64 im (*.f64 im 1/2) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 1/2 (*.f64 im im)) (+.f64 1 (*.f64 (pow.f64 im 4) 1/24)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 im (*.f64 im 1/2) 1) (*.f64 (pow.f64 im 4) 1/24))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 im (*.f64 im 1/2) (*.f64 (pow.f64 im 4) 1/24)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1/2 (*.f64 im im) (+.f64 1 (*.f64 (pow.f64 im 4) 1/24)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 im 1/2) im (+.f64 1 (*.f64 (pow.f64 im 4) 1/24)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/2 (*.f64 im im)) 1 (+.f64 1 (*.f64 (pow.f64 im 4) 1/24)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 im (*.f64 im 1/2) 1) 1 (*.f64 (pow.f64 im 4) 1/24))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 im im) 1/2 (+.f64 1 (*.f64 (pow.f64 im 4) 1/24)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 im im) (*.f64 (*.f64 im im) 1/24) (fma.f64 im (*.f64 im 1/2) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 1/4 (*.f64 im im))) (*.f64 (cbrt.f64 (*.f64 im 1/2)) im) (+.f64 1 (*.f64 (pow.f64 im 4) 1/24)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (pow.f64 im 4) 1/24)) (cbrt.f64 (*.f64 1/576 (pow.f64 im 8))) (fma.f64 im (*.f64 im 1/2) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 1/576 (pow.f64 im 8))) (cbrt.f64 (*.f64 (pow.f64 im 4) 1/24)) (fma.f64 im (*.f64 im 1/2) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (fma.f64 im (*.f64 im 1/2) 1)) (cbrt.f64 (pow.f64 (fma.f64 im (*.f64 im 1/2) 1) 2)) (*.f64 (pow.f64 im 4) 1/24))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (fma.f64 im (*.f64 im 1/2) 1) 2)) (cbrt.f64 (fma.f64 im (*.f64 im 1/2) 1)) (*.f64 (pow.f64 im 4) 1/24))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 im im)) (*.f64 (cbrt.f64 im) (*.f64 im 1/2)) (+.f64 1 (*.f64 (pow.f64 im 4) 1/24)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 1/2 (*.f64 im im))) (cbrt.f64 (*.f64 (pow.f64 im 4) 1/4)) (+.f64 1 (*.f64 (pow.f64 im 4) 1/24)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (pow.f64 im 4) 1/4)) (cbrt.f64 (*.f64 1/2 (*.f64 im im))) (+.f64 1 (*.f64 (pow.f64 im 4) 1/24)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 im 8)) (*.f64 (cbrt.f64 (pow.f64 im 4)) 1/24) (fma.f64 im (*.f64 im 1/2) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 im 1/2)) (*.f64 (sqrt.f64 (*.f64 im 1/2)) im) (+.f64 1 (*.f64 (pow.f64 im 4) 1/24)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 im im) (sqrt.f64 1/24)) (*.f64 (*.f64 im im) (sqrt.f64 1/24)) (fma.f64 im (*.f64 im 1/2) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (hypot.f64 1 (*.f64 im (sqrt.f64 1/2))) (hypot.f64 1 (*.f64 im (sqrt.f64 1/2))) (*.f64 (pow.f64 im 4) 1/24))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 im) (*.f64 (sqrt.f64 im) (*.f64 im 1/2)) (+.f64 1 (*.f64 (pow.f64 im 4) 1/24)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 im (sqrt.f64 1/2)) (*.f64 im (sqrt.f64 1/2)) (+.f64 1 (*.f64 (pow.f64 im 4) 1/24)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 (pow.f64 (*.f64 im im) 3) 1/8 1) (/.f64 1 (fma.f64 (*.f64 1/2 (*.f64 im im)) (fma.f64 1/2 (*.f64 im im) -1) 1)) (*.f64 (pow.f64 im 4) 1/24))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 1 (*.f64 (pow.f64 im 4) 1/4)) (/.f64 1 (-.f64 1 (*.f64 1/2 (*.f64 im im)))) (*.f64 (pow.f64 im 4) 1/24))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cbrt.f64 (fma.f64 im (*.f64 im 1/2) (*.f64 (pow.f64 im 4) 1/24))) (cbrt.f64 (fma.f64 im (*.f64 im 1/2) (*.f64 (pow.f64 im 4) 1/24)))) (cbrt.f64 (fma.f64 im (*.f64 im 1/2) (*.f64 (pow.f64 im 4) 1/24))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 im (*.f64 im 1/2) (*.f64 (pow.f64 im 4) 1/24))) (sqrt.f64 (fma.f64 im (*.f64 im 1/2) (*.f64 (pow.f64 im 4) 1/24))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/24 (cbrt.f64 (pow.f64 im 8))) (cbrt.f64 (pow.f64 im 4)) (fma.f64 im (*.f64 im 1/2) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/24 (*.f64 im im)) (*.f64 im im) (fma.f64 im (*.f64 im 1/2) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 im (cbrt.f64 (*.f64 1/4 (*.f64 im im)))) (cbrt.f64 (*.f64 im 1/2)) (+.f64 1 (*.f64 (pow.f64 im 4) 1/24)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 im (sqrt.f64 (*.f64 im 1/2))) (sqrt.f64 (*.f64 im 1/2)) (+.f64 1 (*.f64 (pow.f64 im 4) 1/24)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 im 1/2) (cbrt.f64 (*.f64 im im))) (cbrt.f64 im) (+.f64 1 (*.f64 (pow.f64 im 4) 1/24)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 im 1/2) (sqrt.f64 im)) (sqrt.f64 im) (+.f64 1 (*.f64 (pow.f64 im 4) 1/24))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (cos.f64 re) (*.f64 (fma.f64 im (*.f64 im 1/2) (*.f64 (pow.f64 im 4) 1/24)) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (cos.f64 re) (*.f64 (cos.f64 re) (fma.f64 im (*.f64 im 1/2) (*.f64 (pow.f64 im 4) 1/24))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (fma.f64 (pow.f64 im 4) 1/24 (fma.f64 im (*.f64 im 1/2) 1)) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (fma.f64 im (*.f64 im 1/2) 1) (cos.f64 re)) (*.f64 (*.f64 (pow.f64 im 4) 1/24) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (pow.f64 im 4) 1/24) (cos.f64 re)) (*.f64 (fma.f64 im (*.f64 im 1/2) 1) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (fma.f64 im (*.f64 im 1/2) 1) (cos.f64 re)) 1) (*.f64 (*.f64 (*.f64 (pow.f64 im 4) 1/24) (cos.f64 re)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (pow.f64 (exp.f64 (cos.f64 re)) (fma.f64 (pow.f64 im 4) 1/24 (fma.f64 im (*.f64 im 1/2) 1)))) (cbrt.f64 (pow.f64 (exp.f64 (cos.f64 re)) (fma.f64 (pow.f64 im 4) 1/24 (fma.f64 im (*.f64 im 1/2) 1)))))) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (cos.f64 re)) (fma.f64 (pow.f64 im 4) 1/24 (fma.f64 im (*.f64 im 1/2) 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (cos.f64 re)) (fma.f64 (pow.f64 im 4) 1/24 (fma.f64 im (*.f64 im 1/2) 1))))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (cos.f64 re)) (fma.f64 (pow.f64 im 4) 1/24 (fma.f64 im (*.f64 im 1/2) 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (fma.f64 (pow.f64 im 4) 1/24 (fma.f64 im (*.f64 im 1/2) 1)) (cos.f64 re)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 (fma.f64 im (*.f64 im 1/2) 1) (cos.f64 re)) 3) (pow.f64 (*.f64 (*.f64 (pow.f64 im 4) 1/24) (cos.f64 re)) 3)) (fma.f64 (*.f64 (fma.f64 im (*.f64 im 1/2) 1) (cos.f64 re)) (*.f64 (fma.f64 im (*.f64 im 1/2) 1) (cos.f64 re)) (-.f64 (*.f64 (*.f64 (*.f64 (pow.f64 im 4) 1/24) (cos.f64 re)) (*.f64 (*.f64 (pow.f64 im 4) 1/24) (cos.f64 re))) (*.f64 (*.f64 (fma.f64 im (*.f64 im 1/2) 1) (cos.f64 re)) (*.f64 (*.f64 (pow.f64 im 4) 1/24) (cos.f64 re))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 (fma.f64 im (*.f64 im 1/2) 1) (cos.f64 re)) (*.f64 (fma.f64 im (*.f64 im 1/2) 1) (cos.f64 re))) (*.f64 (*.f64 (*.f64 (pow.f64 im 4) 1/24) (cos.f64 re)) (*.f64 (*.f64 (pow.f64 im 4) 1/24) (cos.f64 re)))) (-.f64 (*.f64 (fma.f64 im (*.f64 im 1/2) 1) (cos.f64 re)) (*.f64 (*.f64 (pow.f64 im 4) 1/24) (cos.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (fma.f64 1/13824 (pow.f64 (pow.f64 im 4) 3) (pow.f64 (fma.f64 im (*.f64 im 1/2) 1) 3)) (cos.f64 re)) (fma.f64 (*.f64 (pow.f64 im 4) 1/24) (-.f64 (*.f64 (pow.f64 im 4) 1/24) (fma.f64 im (*.f64 im 1/2) 1)) (pow.f64 (fma.f64 im (*.f64 im 1/2) 1) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 (pow.f64 (fma.f64 im (*.f64 im 1/2) 1) 2) (*.f64 1/576 (pow.f64 im 8))) (cos.f64 re)) (+.f64 (fma.f64 im (*.f64 im 1/2) 1) (*.f64 -1/24 (pow.f64 im 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (cos.f64 re) (fma.f64 1/13824 (pow.f64 (pow.f64 im 4) 3) (pow.f64 (fma.f64 im (*.f64 im 1/2) 1) 3))) (fma.f64 (*.f64 (pow.f64 im 4) 1/24) (-.f64 (*.f64 (pow.f64 im 4) 1/24) (fma.f64 im (*.f64 im 1/2) 1)) (pow.f64 (fma.f64 im (*.f64 im 1/2) 1) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (cos.f64 re) (-.f64 (pow.f64 (fma.f64 im (*.f64 im 1/2) 1) 2) (*.f64 1/576 (pow.f64 im 8)))) (+.f64 (fma.f64 im (*.f64 im 1/2) 1) (*.f64 -1/24 (pow.f64 im 4))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (fma.f64 (pow.f64 im 4) 1/24 (fma.f64 im (*.f64 im 1/2) 1)) (cos.f64 re)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (fma.f64 (pow.f64 im 4) 1/24 (fma.f64 im (*.f64 im 1/2) 1)) (cos.f64 re)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (fma.f64 (pow.f64 im 4) 1/24 (fma.f64 im (*.f64 im 1/2) 1)) (cos.f64 re))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (fma.f64 (pow.f64 im 4) 1/24 (fma.f64 im (*.f64 im 1/2) 1)) (cos.f64 re))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (fma.f64 (pow.f64 im 4) 1/24 (fma.f64 im (*.f64 im 1/2) 1)) (cos.f64 re)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (cos.f64 re)) (fma.f64 (pow.f64 im 4) 1/24 (fma.f64 im (*.f64 im 1/2) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (fma.f64 (pow.f64 im 4) 1/24 (fma.f64 im (*.f64 im 1/2) 1)) (cos.f64 re)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (*.f64 (*.f64 (pow.f64 im 4) 1/24) (cos.f64 re))) (exp.f64 (*.f64 (fma.f64 im (*.f64 im 1/2) 1) (cos.f64 re)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (fma.f64 (pow.f64 im 4) 1/24 (fma.f64 im (*.f64 im 1/2) 1)) (cos.f64 re)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (fma.f64 (pow.f64 im 4) 1/24 (fma.f64 im (*.f64 im 1/2) 1)) 3) (pow.f64 (cos.f64 re) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 (fma.f64 (pow.f64 im 4) 1/24 (fma.f64 im (*.f64 im 1/2) 1)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (fma.f64 (pow.f64 im 4) 1/24 (fma.f64 im (*.f64 im 1/2) 1)) (cos.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (fma.f64 (pow.f64 im 4) 1/24 (fma.f64 im (*.f64 im 1/2) 1)) (cos.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (fma.f64 (pow.f64 im 4) 1/24 (fma.f64 im (*.f64 im 1/2) 1)) (cos.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (fma.f64 (pow.f64 im 4) 1/24 (fma.f64 im (*.f64 im 1/2) 1)) (cos.f64 re))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 im 4) (*.f64 1/24 (cos.f64 re)) (*.f64 (fma.f64 im (*.f64 im 1/2) 1) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1/24 (*.f64 (pow.f64 im 4) (cos.f64 re)) (*.f64 (fma.f64 im (*.f64 im 1/2) 1) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (pow.f64 im 4) 1/24) (cos.f64 re) (*.f64 (fma.f64 im (*.f64 im 1/2) 1) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (cos.f64 re) (*.f64 (fma.f64 im (*.f64 im 1/2) (*.f64 (pow.f64 im 4) 1/24)) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (cos.f64 re) (*.f64 (cos.f64 re) (fma.f64 im (*.f64 im 1/2) (*.f64 (pow.f64 im 4) 1/24))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 (fma.f64 im (*.f64 im 1/2) 1) (cos.f64 re)) (*.f64 (*.f64 (pow.f64 im 4) 1/24) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 (*.f64 (pow.f64 im 4) 1/24) (cos.f64 re)) (*.f64 (fma.f64 im (*.f64 im 1/2) 1) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 im (*.f64 im 1/2) 1) (cos.f64 re) (*.f64 (*.f64 (pow.f64 im 4) 1/24) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cos.f64 re) (*.f64 (pow.f64 im 4) 1/24) (*.f64 (fma.f64 im (*.f64 im 1/2) 1) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cos.f64 re) 1 (*.f64 (fma.f64 im (*.f64 im 1/2) (*.f64 (pow.f64 im 4) 1/24)) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cos.f64 re) 1 (*.f64 (cos.f64 re) (fma.f64 im (*.f64 im 1/2) (*.f64 (pow.f64 im 4) 1/24))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cos.f64 re) (fma.f64 im (*.f64 im 1/2) 1) (*.f64 (*.f64 (pow.f64 im 4) 1/24) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 1/576 (pow.f64 im 8))) (*.f64 (cbrt.f64 (*.f64 (pow.f64 im 4) 1/24)) (cos.f64 re)) (*.f64 (fma.f64 im (*.f64 im 1/2) 1) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (cos.f64 re)) (cbrt.f64 (pow.f64 (cos.f64 re) 2)) (*.f64 (fma.f64 im (*.f64 im 1/2) (*.f64 (pow.f64 im 4) 1/24)) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (cos.f64 re)) (cbrt.f64 (pow.f64 (cos.f64 re) 2)) (*.f64 (cos.f64 re) (fma.f64 im (*.f64 im 1/2) (*.f64 (pow.f64 im 4) 1/24))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (cos.f64 re) 2)) (cbrt.f64 (cos.f64 re)) (*.f64 (fma.f64 im (*.f64 im 1/2) (*.f64 (pow.f64 im 4) 1/24)) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (cos.f64 re) 2)) (cbrt.f64 (cos.f64 re)) (*.f64 (cos.f64 re) (fma.f64 im (*.f64 im 1/2) (*.f64 (pow.f64 im 4) 1/24))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (cos.f64 re) 2)) (*.f64 (cbrt.f64 (cos.f64 re)) (*.f64 (pow.f64 im 4) 1/24)) (*.f64 (fma.f64 im (*.f64 im 1/2) 1) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (cos.f64 re) 2)) (*.f64 (cbrt.f64 (cos.f64 re)) (fma.f64 im (*.f64 im 1/2) 1)) (*.f64 (*.f64 (pow.f64 im 4) 1/24) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (fma.f64 im (*.f64 im 1/2) 1) 2)) (*.f64 (cbrt.f64 (fma.f64 im (*.f64 im 1/2) 1)) (cos.f64 re)) (*.f64 (*.f64 (pow.f64 im 4) 1/24) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 im im) (sqrt.f64 1/24)) (*.f64 (*.f64 (*.f64 im im) (sqrt.f64 1/24)) (cos.f64 re)) (*.f64 (fma.f64 im (*.f64 im 1/2) 1) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cos.f64 re)) (sqrt.f64 (cos.f64 re)) (*.f64 (fma.f64 im (*.f64 im 1/2) (*.f64 (pow.f64 im 4) 1/24)) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cos.f64 re)) (sqrt.f64 (cos.f64 re)) (*.f64 (cos.f64 re) (fma.f64 im (*.f64 im 1/2) (*.f64 (pow.f64 im 4) 1/24))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cos.f64 re)) (*.f64 (sqrt.f64 (cos.f64 re)) (*.f64 (pow.f64 im 4) 1/24)) (*.f64 (fma.f64 im (*.f64 im 1/2) 1) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cos.f64 re)) (*.f64 (sqrt.f64 (cos.f64 re)) (fma.f64 im (*.f64 im 1/2) 1)) (*.f64 (*.f64 (pow.f64 im 4) 1/24) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (hypot.f64 1 (*.f64 im (sqrt.f64 1/2))) (*.f64 (hypot.f64 1 (*.f64 im (sqrt.f64 1/2))) (cos.f64 re)) (*.f64 (*.f64 (pow.f64 im 4) 1/24) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (fma.f64 im (*.f64 im 1/2) 1) (cos.f64 re)) 1 (*.f64 (*.f64 (*.f64 (pow.f64 im 4) 1/24) (cos.f64 re)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cbrt.f64 (*.f64 (fma.f64 im (*.f64 im 1/2) 1) (cos.f64 re))) (cbrt.f64 (*.f64 (fma.f64 im (*.f64 im 1/2) 1) (cos.f64 re)))) (cbrt.f64 (*.f64 (fma.f64 im (*.f64 im 1/2) 1) (cos.f64 re))) (*.f64 (*.f64 (pow.f64 im 4) 1/24) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cbrt.f64 (*.f64 (*.f64 (pow.f64 im 4) 1/24) (cos.f64 re))) (cbrt.f64 (*.f64 (*.f64 (pow.f64 im 4) 1/24) (cos.f64 re)))) (cbrt.f64 (*.f64 (*.f64 (pow.f64 im 4) 1/24) (cos.f64 re))) (*.f64 (fma.f64 im (*.f64 im 1/2) 1) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 (fma.f64 im (*.f64 im 1/2) 1) (cos.f64 re))) (sqrt.f64 (*.f64 (fma.f64 im (*.f64 im 1/2) 1) (cos.f64 re))) (*.f64 (*.f64 (pow.f64 im 4) 1/24) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 (*.f64 (pow.f64 im 4) 1/24) (cos.f64 re))) (sqrt.f64 (*.f64 (*.f64 (pow.f64 im 4) 1/24) (cos.f64 re))) (*.f64 (fma.f64 im (*.f64 im 1/2) 1) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sqrt.f64 (cos.f64 re)) (*.f64 (*.f64 im im) (sqrt.f64 1/24))) (*.f64 (sqrt.f64 (cos.f64 re)) (*.f64 (*.f64 im im) (sqrt.f64 1/24))) (*.f64 (fma.f64 im (*.f64 im 1/2) 1) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sqrt.f64 (cos.f64 re)) (hypot.f64 1 (*.f64 im (sqrt.f64 1/2)))) (*.f64 (sqrt.f64 (cos.f64 re)) (hypot.f64 1 (*.f64 im (sqrt.f64 1/2)))) (*.f64 (*.f64 (pow.f64 im 4) 1/24) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (hypot.f64 1 (*.f64 im (sqrt.f64 1/2))) (sqrt.f64 (cos.f64 re))) (*.f64 (hypot.f64 1 (*.f64 im (sqrt.f64 1/2))) (sqrt.f64 (cos.f64 re))) (*.f64 (*.f64 (pow.f64 im 4) 1/24) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 (*.f64 im im) (sqrt.f64 1/24)) (sqrt.f64 (cos.f64 re))) (*.f64 (*.f64 (*.f64 im im) (sqrt.f64 1/24)) (sqrt.f64 (cos.f64 re))) (*.f64 (fma.f64 im (*.f64 im 1/2) 1) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 re) (pow.f64 im 4)) 1/24 (*.f64 (fma.f64 im (*.f64 im 1/2) 1) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 re) 1/24) (pow.f64 im 4) (*.f64 (fma.f64 im (*.f64 im 1/2) 1) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 re) (cbrt.f64 (*.f64 1/576 (pow.f64 im 8)))) (cbrt.f64 (*.f64 (pow.f64 im 4) 1/24)) (*.f64 (fma.f64 im (*.f64 im 1/2) 1) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 re) (*.f64 (*.f64 im im) (sqrt.f64 1/24))) (*.f64 (*.f64 im im) (sqrt.f64 1/24)) (*.f64 (fma.f64 im (*.f64 im 1/2) 1) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 re) (cbrt.f64 (pow.f64 (fma.f64 im (*.f64 im 1/2) 1) 2))) (cbrt.f64 (fma.f64 im (*.f64 im 1/2) 1)) (*.f64 (*.f64 (pow.f64 im 4) 1/24) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 re) (hypot.f64 1 (*.f64 im (sqrt.f64 1/2)))) (hypot.f64 1 (*.f64 im (sqrt.f64 1/2))) (*.f64 (*.f64 (pow.f64 im 4) 1/24) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (fma.f64 im (*.f64 im 1/2) 1) (cbrt.f64 (pow.f64 (cos.f64 re) 2))) (cbrt.f64 (cos.f64 re)) (*.f64 (*.f64 (pow.f64 im 4) 1/24) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (fma.f64 im (*.f64 im 1/2) 1) (sqrt.f64 (cos.f64 re))) (sqrt.f64 (cos.f64 re)) (*.f64 (*.f64 (pow.f64 im 4) 1/24) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 (pow.f64 im 4) 1/24) (cbrt.f64 (pow.f64 (cos.f64 re) 2))) (cbrt.f64 (cos.f64 re)) (*.f64 (fma.f64 im (*.f64 im 1/2) 1) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 (pow.f64 im 4) 1/24) (sqrt.f64 (cos.f64 re))) (sqrt.f64 (cos.f64 re)) (*.f64 (fma.f64 im (*.f64 im 1/2) 1) (cos.f64 re))))))) |
| 1× | egg-herbie |
| 1294× | distribute-rgt-in_binary64 |
| 1206× | distribute-lft-in_binary64 |
| 311× | fma-def_binary64 |
| 307× | *-commutative_binary64 |
| 274× | sqr-pow_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 46 | 861 |
| 1 | 132 | 849 |
| 2 | 457 | 751 |
| 3 | 2114 | 721 |
| 4 | 4007 | 706 |
| 5 | 4484 | 706 |
| 6 | 4660 | 706 |
| 7 | 4859 | 706 |
| 8 | 5040 | 706 |
| 9 | 5272 | 706 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 1/24 (pow.f64 im 4)) |
(*.f64 1/24 (pow.f64 im 4)) |
(*.f64 1/24 (pow.f64 im 4)) |
(*.f64 1/24 (pow.f64 im 4)) |
(*.f64 1/24 (pow.f64 im 4)) |
(*.f64 1/24 (pow.f64 im 4)) |
(*.f64 1/24 (pow.f64 im 4)) |
(*.f64 1/24 (pow.f64 im 4)) |
(*.f64 1/24 (pow.f64 im 4)) |
(*.f64 1/24 (pow.f64 im 4)) |
(*.f64 1/24 (pow.f64 im 4)) |
(*.f64 1/24 (pow.f64 im 4)) |
1 |
(+.f64 1 (*.f64 1/2 (pow.f64 im 2))) |
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4)))) |
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4)))) |
(*.f64 1/24 (pow.f64 im 4)) |
(+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4))) |
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4)))) |
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4)))) |
(*.f64 1/24 (pow.f64 im 4)) |
(+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4))) |
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4)))) |
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4)))) |
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4)))) |
(+.f64 1 (+.f64 (*.f64 -1/2 (*.f64 (+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4)))) (pow.f64 re 2))) (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4))))) |
(+.f64 1 (+.f64 (*.f64 1/24 (*.f64 (+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4)))) (pow.f64 re 4))) (+.f64 (*.f64 -1/2 (*.f64 (+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4)))) (pow.f64 re 2))) (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4)))))) |
(+.f64 1 (+.f64 (*.f64 1/24 (*.f64 (+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4)))) (pow.f64 re 4))) (+.f64 (*.f64 -1/2 (*.f64 (+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4)))) (pow.f64 re 2))) (+.f64 (*.f64 1/2 (pow.f64 im 2)) (+.f64 (*.f64 -1/720 (*.f64 (+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4)))) (pow.f64 re 6))) (*.f64 1/24 (pow.f64 im 4))))))) |
(*.f64 (cos.f64 re) (+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4))))) |
(*.f64 (cos.f64 re) (+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4))))) |
(*.f64 (cos.f64 re) (+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4))))) |
(*.f64 (cos.f64 re) (+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4))))) |
(*.f64 (cos.f64 re) (+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4))))) |
(*.f64 (cos.f64 re) (+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4))))) |
(*.f64 (cos.f64 re) (+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4))))) |
(*.f64 (cos.f64 re) (+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4))))) |
(cos.f64 re) |
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re)) |
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (+.f64 (cos.f64 re) (*.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4))))) |
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (+.f64 (cos.f64 re) (*.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4))))) |
(*.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4))) |
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (*.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4)))) |
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (+.f64 (cos.f64 re) (*.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4))))) |
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (+.f64 (cos.f64 re) (*.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4))))) |
(*.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4))) |
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (*.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4)))) |
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (+.f64 (cos.f64 re) (*.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4))))) |
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (+.f64 (cos.f64 re) (*.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4))))) |
| Outputs |
|---|
(*.f64 1/24 (pow.f64 im 4)) |
(*.f64 1/24 (pow.f64 im 4)) |
(*.f64 1/24 (pow.f64 im 4)) |
(*.f64 1/24 (pow.f64 im 4)) |
(*.f64 1/24 (pow.f64 im 4)) |
(*.f64 1/24 (pow.f64 im 4)) |
(*.f64 1/24 (pow.f64 im 4)) |
(*.f64 1/24 (pow.f64 im 4)) |
(*.f64 1/24 (pow.f64 im 4)) |
(*.f64 1/24 (pow.f64 im 4)) |
(*.f64 1/24 (pow.f64 im 4)) |
(*.f64 1/24 (pow.f64 im 4)) |
1 |
(+.f64 1 (*.f64 1/2 (pow.f64 im 2))) |
(+.f64 1 (*.f64 1/2 (*.f64 im im))) |
(fma.f64 1/2 (*.f64 im im) 1) |
(fma.f64 im (*.f64 im 1/2) 1) |
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4)))) |
(+.f64 1 (fma.f64 1/2 (*.f64 im im) (*.f64 1/24 (pow.f64 im 4)))) |
(+.f64 (*.f64 1/24 (pow.f64 im 4)) (fma.f64 1/2 (*.f64 im im) 1)) |
(fma.f64 1/24 (pow.f64 im 4) (fma.f64 im (*.f64 im 1/2) 1)) |
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4)))) |
(+.f64 1 (fma.f64 1/2 (*.f64 im im) (*.f64 1/24 (pow.f64 im 4)))) |
(+.f64 (*.f64 1/24 (pow.f64 im 4)) (fma.f64 1/2 (*.f64 im im) 1)) |
(fma.f64 1/24 (pow.f64 im 4) (fma.f64 im (*.f64 im 1/2) 1)) |
(*.f64 1/24 (pow.f64 im 4)) |
(+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4))) |
(fma.f64 1/2 (*.f64 im im) (*.f64 1/24 (pow.f64 im 4))) |
(fma.f64 1/24 (pow.f64 im 4) (*.f64 im (*.f64 im 1/2))) |
(fma.f64 1/24 (pow.f64 im 4) (*.f64 1/2 (*.f64 im im))) |
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4)))) |
(+.f64 1 (fma.f64 1/2 (*.f64 im im) (*.f64 1/24 (pow.f64 im 4)))) |
(+.f64 (*.f64 1/24 (pow.f64 im 4)) (fma.f64 1/2 (*.f64 im im) 1)) |
(fma.f64 1/24 (pow.f64 im 4) (fma.f64 im (*.f64 im 1/2) 1)) |
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4)))) |
(+.f64 1 (fma.f64 1/2 (*.f64 im im) (*.f64 1/24 (pow.f64 im 4)))) |
(+.f64 (*.f64 1/24 (pow.f64 im 4)) (fma.f64 1/2 (*.f64 im im) 1)) |
(fma.f64 1/24 (pow.f64 im 4) (fma.f64 im (*.f64 im 1/2) 1)) |
(*.f64 1/24 (pow.f64 im 4)) |
(+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4))) |
(fma.f64 1/2 (*.f64 im im) (*.f64 1/24 (pow.f64 im 4))) |
(fma.f64 1/24 (pow.f64 im 4) (*.f64 im (*.f64 im 1/2))) |
(fma.f64 1/24 (pow.f64 im 4) (*.f64 1/2 (*.f64 im im))) |
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4)))) |
(+.f64 1 (fma.f64 1/2 (*.f64 im im) (*.f64 1/24 (pow.f64 im 4)))) |
(+.f64 (*.f64 1/24 (pow.f64 im 4)) (fma.f64 1/2 (*.f64 im im) 1)) |
(fma.f64 1/24 (pow.f64 im 4) (fma.f64 im (*.f64 im 1/2) 1)) |
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4)))) |
(+.f64 1 (fma.f64 1/2 (*.f64 im im) (*.f64 1/24 (pow.f64 im 4)))) |
(+.f64 (*.f64 1/24 (pow.f64 im 4)) (fma.f64 1/2 (*.f64 im im) 1)) |
(fma.f64 1/24 (pow.f64 im 4) (fma.f64 im (*.f64 im 1/2) 1)) |
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4)))) |
(+.f64 1 (fma.f64 1/2 (*.f64 im im) (*.f64 1/24 (pow.f64 im 4)))) |
(+.f64 (*.f64 1/24 (pow.f64 im 4)) (fma.f64 1/2 (*.f64 im im) 1)) |
(fma.f64 1/24 (pow.f64 im 4) (fma.f64 im (*.f64 im 1/2) 1)) |
(+.f64 1 (+.f64 (*.f64 -1/2 (*.f64 (+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4)))) (pow.f64 re 2))) (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4))))) |
(+.f64 1 (fma.f64 -1/2 (*.f64 (+.f64 1 (fma.f64 1/2 (*.f64 im im) (*.f64 1/24 (pow.f64 im 4)))) (*.f64 re re)) (fma.f64 1/2 (*.f64 im im) (*.f64 1/24 (pow.f64 im 4))))) |
(+.f64 1 (fma.f64 -1/2 (*.f64 (+.f64 (*.f64 1/24 (pow.f64 im 4)) (fma.f64 1/2 (*.f64 im im) 1)) (*.f64 re re)) (fma.f64 1/24 (pow.f64 im 4) (*.f64 im (*.f64 im 1/2))))) |
(*.f64 (+.f64 (*.f64 -1/2 (*.f64 re re)) 1) (fma.f64 1/24 (pow.f64 im 4) (fma.f64 im (*.f64 im 1/2) 1))) |
(*.f64 (fma.f64 1/24 (pow.f64 im 4) (fma.f64 im (*.f64 im 1/2) 1)) (+.f64 1 (*.f64 -1/2 (*.f64 re re)))) |
(+.f64 1 (+.f64 (*.f64 1/24 (*.f64 (+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4)))) (pow.f64 re 4))) (+.f64 (*.f64 -1/2 (*.f64 (+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4)))) (pow.f64 re 2))) (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4)))))) |
(+.f64 1 (fma.f64 1/24 (*.f64 (+.f64 1 (fma.f64 1/2 (*.f64 im im) (*.f64 1/24 (pow.f64 im 4)))) (pow.f64 re 4)) (fma.f64 -1/2 (*.f64 (+.f64 1 (fma.f64 1/2 (*.f64 im im) (*.f64 1/24 (pow.f64 im 4)))) (*.f64 re re)) (fma.f64 1/2 (*.f64 im im) (*.f64 1/24 (pow.f64 im 4)))))) |
(+.f64 1 (fma.f64 1/24 (*.f64 (+.f64 (*.f64 1/24 (pow.f64 im 4)) (fma.f64 1/2 (*.f64 im im) 1)) (pow.f64 re 4)) (fma.f64 -1/2 (*.f64 (+.f64 (*.f64 1/24 (pow.f64 im 4)) (fma.f64 1/2 (*.f64 im im) 1)) (*.f64 re re)) (fma.f64 1/24 (pow.f64 im 4) (*.f64 im (*.f64 im 1/2)))))) |
(+.f64 (fma.f64 1/24 (pow.f64 im 4) (fma.f64 im (*.f64 im 1/2) 1)) (*.f64 (fma.f64 1/24 (pow.f64 im 4) (fma.f64 im (*.f64 im 1/2) 1)) (+.f64 (*.f64 -1/2 (*.f64 re re)) (*.f64 1/24 (pow.f64 re 4))))) |
(*.f64 (fma.f64 1/24 (pow.f64 im 4) (fma.f64 im (*.f64 im 1/2) 1)) (+.f64 (+.f64 1 (*.f64 -1/2 (*.f64 re re))) (*.f64 1/24 (pow.f64 re 4)))) |
(+.f64 1 (+.f64 (*.f64 1/24 (*.f64 (+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4)))) (pow.f64 re 4))) (+.f64 (*.f64 -1/2 (*.f64 (+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4)))) (pow.f64 re 2))) (+.f64 (*.f64 1/2 (pow.f64 im 2)) (+.f64 (*.f64 -1/720 (*.f64 (+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4)))) (pow.f64 re 6))) (*.f64 1/24 (pow.f64 im 4))))))) |
(+.f64 1 (fma.f64 1/24 (*.f64 (+.f64 1 (fma.f64 1/2 (*.f64 im im) (*.f64 1/24 (pow.f64 im 4)))) (pow.f64 re 4)) (fma.f64 -1/2 (*.f64 (+.f64 1 (fma.f64 1/2 (*.f64 im im) (*.f64 1/24 (pow.f64 im 4)))) (*.f64 re re)) (fma.f64 1/2 (*.f64 im im) (fma.f64 -1/720 (*.f64 (+.f64 1 (fma.f64 1/2 (*.f64 im im) (*.f64 1/24 (pow.f64 im 4)))) (pow.f64 re 6)) (*.f64 1/24 (pow.f64 im 4))))))) |
(+.f64 1 (fma.f64 1/24 (*.f64 (+.f64 (*.f64 1/24 (pow.f64 im 4)) (fma.f64 1/2 (*.f64 im im) 1)) (pow.f64 re 4)) (fma.f64 -1/2 (*.f64 (+.f64 (*.f64 1/24 (pow.f64 im 4)) (fma.f64 1/2 (*.f64 im im) 1)) (*.f64 re re)) (fma.f64 1/2 (*.f64 im im) (fma.f64 -1/720 (*.f64 (+.f64 (*.f64 1/24 (pow.f64 im 4)) (fma.f64 1/2 (*.f64 im im) 1)) (pow.f64 re 6)) (*.f64 1/24 (pow.f64 im 4))))))) |
(+.f64 1 (+.f64 (fma.f64 (fma.f64 1/24 (pow.f64 im 4) (fma.f64 im (*.f64 im 1/2) 1)) (*.f64 -1/720 (pow.f64 re 6)) (fma.f64 1/24 (pow.f64 im 4) (*.f64 im (*.f64 im 1/2)))) (*.f64 (fma.f64 1/24 (pow.f64 im 4) (fma.f64 im (*.f64 im 1/2) 1)) (+.f64 (*.f64 -1/2 (*.f64 re re)) (*.f64 1/24 (pow.f64 re 4)))))) |
(fma.f64 1/24 (*.f64 (fma.f64 1/24 (pow.f64 im 4) (fma.f64 im (*.f64 im 1/2) 1)) (pow.f64 re 4)) (*.f64 (fma.f64 1/24 (pow.f64 im 4) (fma.f64 im (*.f64 im 1/2) 1)) (+.f64 (+.f64 1 (*.f64 -1/2 (*.f64 re re))) (*.f64 -1/720 (pow.f64 re 6))))) |
(*.f64 (fma.f64 1/24 (pow.f64 im 4) (fma.f64 im (*.f64 im 1/2) 1)) (+.f64 (*.f64 re (+.f64 (*.f64 -1/2 re) (*.f64 1/24 (pow.f64 re 3)))) (+.f64 (*.f64 -1/720 (pow.f64 re 6)) 1))) |
(*.f64 (fma.f64 1/24 (pow.f64 im 4) (fma.f64 im (*.f64 im 1/2) 1)) (+.f64 (*.f64 re (+.f64 (*.f64 -1/2 re) (*.f64 1/24 (pow.f64 re 3)))) (+.f64 1 (*.f64 -1/720 (pow.f64 re 6))))) |
(*.f64 (fma.f64 1/24 (pow.f64 im 4) (fma.f64 im (*.f64 im 1/2) 1)) (+.f64 (*.f64 re (+.f64 (*.f64 1/24 (pow.f64 re 3)) (*.f64 -1/2 re))) (+.f64 1 (*.f64 -1/720 (pow.f64 re 6))))) |
(*.f64 (cos.f64 re) (+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4))))) |
(*.f64 (+.f64 1 (fma.f64 1/2 (*.f64 im im) (*.f64 1/24 (pow.f64 im 4)))) (cos.f64 re)) |
(*.f64 (+.f64 (*.f64 1/24 (pow.f64 im 4)) (fma.f64 1/2 (*.f64 im im) 1)) (cos.f64 re)) |
(*.f64 (fma.f64 1/24 (pow.f64 im 4) (fma.f64 im (*.f64 im 1/2) 1)) (cos.f64 re)) |
(*.f64 (cos.f64 re) (+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4))))) |
(*.f64 (+.f64 1 (fma.f64 1/2 (*.f64 im im) (*.f64 1/24 (pow.f64 im 4)))) (cos.f64 re)) |
(*.f64 (+.f64 (*.f64 1/24 (pow.f64 im 4)) (fma.f64 1/2 (*.f64 im im) 1)) (cos.f64 re)) |
(*.f64 (fma.f64 1/24 (pow.f64 im 4) (fma.f64 im (*.f64 im 1/2) 1)) (cos.f64 re)) |
(*.f64 (cos.f64 re) (+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4))))) |
(*.f64 (+.f64 1 (fma.f64 1/2 (*.f64 im im) (*.f64 1/24 (pow.f64 im 4)))) (cos.f64 re)) |
(*.f64 (+.f64 (*.f64 1/24 (pow.f64 im 4)) (fma.f64 1/2 (*.f64 im im) 1)) (cos.f64 re)) |
(*.f64 (fma.f64 1/24 (pow.f64 im 4) (fma.f64 im (*.f64 im 1/2) 1)) (cos.f64 re)) |
(*.f64 (cos.f64 re) (+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4))))) |
(*.f64 (+.f64 1 (fma.f64 1/2 (*.f64 im im) (*.f64 1/24 (pow.f64 im 4)))) (cos.f64 re)) |
(*.f64 (+.f64 (*.f64 1/24 (pow.f64 im 4)) (fma.f64 1/2 (*.f64 im im) 1)) (cos.f64 re)) |
(*.f64 (fma.f64 1/24 (pow.f64 im 4) (fma.f64 im (*.f64 im 1/2) 1)) (cos.f64 re)) |
(*.f64 (cos.f64 re) (+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4))))) |
(*.f64 (+.f64 1 (fma.f64 1/2 (*.f64 im im) (*.f64 1/24 (pow.f64 im 4)))) (cos.f64 re)) |
(*.f64 (+.f64 (*.f64 1/24 (pow.f64 im 4)) (fma.f64 1/2 (*.f64 im im) 1)) (cos.f64 re)) |
(*.f64 (fma.f64 1/24 (pow.f64 im 4) (fma.f64 im (*.f64 im 1/2) 1)) (cos.f64 re)) |
(*.f64 (cos.f64 re) (+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4))))) |
(*.f64 (+.f64 1 (fma.f64 1/2 (*.f64 im im) (*.f64 1/24 (pow.f64 im 4)))) (cos.f64 re)) |
(*.f64 (+.f64 (*.f64 1/24 (pow.f64 im 4)) (fma.f64 1/2 (*.f64 im im) 1)) (cos.f64 re)) |
(*.f64 (fma.f64 1/24 (pow.f64 im 4) (fma.f64 im (*.f64 im 1/2) 1)) (cos.f64 re)) |
(*.f64 (cos.f64 re) (+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4))))) |
(*.f64 (+.f64 1 (fma.f64 1/2 (*.f64 im im) (*.f64 1/24 (pow.f64 im 4)))) (cos.f64 re)) |
(*.f64 (+.f64 (*.f64 1/24 (pow.f64 im 4)) (fma.f64 1/2 (*.f64 im im) 1)) (cos.f64 re)) |
(*.f64 (fma.f64 1/24 (pow.f64 im 4) (fma.f64 im (*.f64 im 1/2) 1)) (cos.f64 re)) |
(*.f64 (cos.f64 re) (+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4))))) |
(*.f64 (+.f64 1 (fma.f64 1/2 (*.f64 im im) (*.f64 1/24 (pow.f64 im 4)))) (cos.f64 re)) |
(*.f64 (+.f64 (*.f64 1/24 (pow.f64 im 4)) (fma.f64 1/2 (*.f64 im im) 1)) (cos.f64 re)) |
(*.f64 (fma.f64 1/24 (pow.f64 im 4) (fma.f64 im (*.f64 im 1/2) 1)) (cos.f64 re)) |
(cos.f64 re) |
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re)) |
(fma.f64 1/2 (*.f64 (*.f64 im im) (cos.f64 re)) (cos.f64 re)) |
(*.f64 (fma.f64 im (*.f64 im 1/2) 1) (cos.f64 re)) |
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (+.f64 (cos.f64 re) (*.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4))))) |
(*.f64 (+.f64 1 (fma.f64 1/2 (*.f64 im im) (*.f64 1/24 (pow.f64 im 4)))) (cos.f64 re)) |
(*.f64 (+.f64 (*.f64 1/24 (pow.f64 im 4)) (fma.f64 1/2 (*.f64 im im) 1)) (cos.f64 re)) |
(*.f64 (fma.f64 1/24 (pow.f64 im 4) (fma.f64 im (*.f64 im 1/2) 1)) (cos.f64 re)) |
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (+.f64 (cos.f64 re) (*.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4))))) |
(*.f64 (+.f64 1 (fma.f64 1/2 (*.f64 im im) (*.f64 1/24 (pow.f64 im 4)))) (cos.f64 re)) |
(*.f64 (+.f64 (*.f64 1/24 (pow.f64 im 4)) (fma.f64 1/2 (*.f64 im im) 1)) (cos.f64 re)) |
(*.f64 (fma.f64 1/24 (pow.f64 im 4) (fma.f64 im (*.f64 im 1/2) 1)) (cos.f64 re)) |
(*.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4))) |
(*.f64 1/24 (*.f64 (pow.f64 im 4) (cos.f64 re))) |
(*.f64 (pow.f64 im 4) (*.f64 1/24 (cos.f64 re))) |
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (*.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4)))) |
(fma.f64 1/2 (*.f64 (*.f64 im im) (cos.f64 re)) (*.f64 1/24 (*.f64 (pow.f64 im 4) (cos.f64 re)))) |
(*.f64 (fma.f64 1/24 (pow.f64 im 4) (*.f64 im (*.f64 im 1/2))) (cos.f64 re)) |
(*.f64 (fma.f64 1/24 (pow.f64 im 4) (*.f64 1/2 (*.f64 im im))) (cos.f64 re)) |
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (+.f64 (cos.f64 re) (*.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4))))) |
(*.f64 (+.f64 1 (fma.f64 1/2 (*.f64 im im) (*.f64 1/24 (pow.f64 im 4)))) (cos.f64 re)) |
(*.f64 (+.f64 (*.f64 1/24 (pow.f64 im 4)) (fma.f64 1/2 (*.f64 im im) 1)) (cos.f64 re)) |
(*.f64 (fma.f64 1/24 (pow.f64 im 4) (fma.f64 im (*.f64 im 1/2) 1)) (cos.f64 re)) |
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (+.f64 (cos.f64 re) (*.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4))))) |
(*.f64 (+.f64 1 (fma.f64 1/2 (*.f64 im im) (*.f64 1/24 (pow.f64 im 4)))) (cos.f64 re)) |
(*.f64 (+.f64 (*.f64 1/24 (pow.f64 im 4)) (fma.f64 1/2 (*.f64 im im) 1)) (cos.f64 re)) |
(*.f64 (fma.f64 1/24 (pow.f64 im 4) (fma.f64 im (*.f64 im 1/2) 1)) (cos.f64 re)) |
(*.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4))) |
(*.f64 1/24 (*.f64 (pow.f64 im 4) (cos.f64 re))) |
(*.f64 (pow.f64 im 4) (*.f64 1/24 (cos.f64 re))) |
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (*.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4)))) |
(fma.f64 1/2 (*.f64 (*.f64 im im) (cos.f64 re)) (*.f64 1/24 (*.f64 (pow.f64 im 4) (cos.f64 re)))) |
(*.f64 (fma.f64 1/24 (pow.f64 im 4) (*.f64 im (*.f64 im 1/2))) (cos.f64 re)) |
(*.f64 (fma.f64 1/24 (pow.f64 im 4) (*.f64 1/2 (*.f64 im im))) (cos.f64 re)) |
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (+.f64 (cos.f64 re) (*.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4))))) |
(*.f64 (+.f64 1 (fma.f64 1/2 (*.f64 im im) (*.f64 1/24 (pow.f64 im 4)))) (cos.f64 re)) |
(*.f64 (+.f64 (*.f64 1/24 (pow.f64 im 4)) (fma.f64 1/2 (*.f64 im im) 1)) (cos.f64 re)) |
(*.f64 (fma.f64 1/24 (pow.f64 im 4) (fma.f64 im (*.f64 im 1/2) 1)) (cos.f64 re)) |
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (+.f64 (cos.f64 re) (*.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4))))) |
(*.f64 (+.f64 1 (fma.f64 1/2 (*.f64 im im) (*.f64 1/24 (pow.f64 im 4)))) (cos.f64 re)) |
(*.f64 (+.f64 (*.f64 1/24 (pow.f64 im 4)) (fma.f64 1/2 (*.f64 im im) 1)) (cos.f64 re)) |
(*.f64 (fma.f64 1/24 (pow.f64 im 4) (fma.f64 im (*.f64 im 1/2) 1)) (cos.f64 re)) |
Compiled 5 to 3 computations (40% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (*.f64 (cos.f64 re) (+.f64 1 (*.f64 im (*.f64 im 1/2)))) |
Compiled 33 to 21 computations (36.4% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | re | @ | inf | (*.f64 (cos.f64 re) (+.f64 1 (*.f64 im (*.f64 im 1/2)))) |
| 1.0ms | re | @ | 0 | (*.f64 (cos.f64 re) (+.f64 1 (*.f64 im (*.f64 im 1/2)))) |
| 1.0ms | im | @ | inf | (*.f64 (cos.f64 re) (+.f64 1 (*.f64 im (*.f64 im 1/2)))) |
| 1.0ms | re | @ | -inf | (*.f64 (cos.f64 re) (+.f64 1 (*.f64 im (*.f64 im 1/2)))) |
| 1.0ms | im | @ | 0 | (*.f64 (cos.f64 re) (+.f64 1 (*.f64 im (*.f64 im 1/2)))) |
| 1× | batch-egg-rewrite |
| 591× | prod-diff_binary64 |
| 489× | log-prod_binary64 |
| 356× | fma-def_binary64 |
| 332× | pow-prod-down_binary64 |
| 256× | pow2_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 15 |
| 1 | 207 | 13 |
| 2 | 2619 | 13 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (cos.f64 re) (+.f64 1 (*.f64 im (*.f64 im 1/2)))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (cos.f64 re) (*.f64 (cos.f64 re) (*.f64 im (*.f64 im 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (cos.f64 re) (*.f64 (*.f64 (cos.f64 re) (*.f64 im (*.f64 im 1/2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (cos.f64 re) (fma.f64 im (*.f64 im 1/2) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (cos.f64 re) (*.f64 im (*.f64 im 1/2))) (cos.f64 re))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 (cos.f64 re)) (fma.f64 im (*.f64 im 1/2) 1))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (cos.f64 re)) (fma.f64 im (*.f64 im 1/2) 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (cos.f64 re)) (fma.f64 im (*.f64 im 1/2) 1)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (cos.f64 re)) (fma.f64 im (*.f64 im 1/2) 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (cos.f64 re) (fma.f64 im (*.f64 im 1/2) 1)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (cos.f64 re) 3) (*.f64 (pow.f64 (cos.f64 re) 3) (*.f64 (pow.f64 im 6) 1/8))) (+.f64 (pow.f64 (cos.f64 re) 2) (-.f64 (pow.f64 (*.f64 (cos.f64 re) (*.f64 im (*.f64 im 1/2))) 2) (*.f64 (cos.f64 re) (*.f64 (cos.f64 re) (*.f64 im (*.f64 im 1/2)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (cos.f64 re) 2) (pow.f64 (*.f64 (cos.f64 re) (*.f64 im (*.f64 im 1/2))) 2)) (-.f64 (cos.f64 re) (*.f64 (cos.f64 re) (*.f64 im (*.f64 im 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (fma.f64 (pow.f64 im 6) 1/8 1) (cos.f64 re)) (fma.f64 (*.f64 im (*.f64 im 1/2)) (fma.f64 im (*.f64 im 1/2) -1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 1 (*.f64 (pow.f64 im 4) 1/4)) (cos.f64 re)) (-.f64 1 (*.f64 im (*.f64 im 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 6) 1/8 1)) (fma.f64 (*.f64 im (*.f64 im 1/2)) (fma.f64 im (*.f64 im 1/2) -1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (cos.f64 re) (-.f64 1 (*.f64 (pow.f64 im 4) 1/4))) (-.f64 1 (*.f64 im (*.f64 im 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cos.f64 re) (fma.f64 im (*.f64 im 1/2) 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 re) (fma.f64 im (*.f64 im 1/2) 1)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 re) (fma.f64 im (*.f64 im 1/2) 1)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (cos.f64 re) (fma.f64 im (*.f64 im 1/2) 1))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (cos.f64 re) (fma.f64 im (*.f64 im 1/2) 1))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (cos.f64 re) (fma.f64 im (*.f64 im 1/2) 1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (cos.f64 re)) (fma.f64 im (*.f64 im 1/2) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (cos.f64 re) (fma.f64 im (*.f64 im 1/2) 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (cos.f64 re))) (exp.f64 (*.f64 (cos.f64 re) (*.f64 im (*.f64 im 1/2))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (*.f64 (cos.f64 re) (*.f64 im (*.f64 im 1/2)))) (exp.f64 (cos.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (*.f64 (cos.f64 re) (*.f64 im (*.f64 im 1/2)))) (+.f64 1 (expm1.f64 (cos.f64 re)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (cos.f64 re) (fma.f64 im (*.f64 im 1/2) 1)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (cos.f64 re) (fma.f64 im (*.f64 im 1/2) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (cos.f64 re) (fma.f64 im (*.f64 im 1/2) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (cos.f64 re) (fma.f64 im (*.f64 im 1/2) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (cos.f64 re) (fma.f64 im (*.f64 im 1/2) 1))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (*.f64 (cos.f64 re) (fma.f64 im (*.f64 im 1/2) 1)))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 (cos.f64 re) (fma.f64 im (*.f64 im 1/2) 1)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (*.f64 (cos.f64 re) (fma.f64 im (*.f64 im 1/2) 1)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 (cos.f64 re) (fma.f64 im (*.f64 im 1/2) 1))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cos.f64 re) 1 (*.f64 (cos.f64 re) (*.f64 im (*.f64 im 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cos.f64 re) 1 (*.f64 (*.f64 (cos.f64 re) (*.f64 im (*.f64 im 1/2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cos.f64 re) (*.f64 im (*.f64 im 1/2)) (cos.f64 re))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (cos.f64 re) (*.f64 (cos.f64 re) (*.f64 im (*.f64 im 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (cos.f64 re) (*.f64 (*.f64 (cos.f64 re) (*.f64 im (*.f64 im 1/2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 (cos.f64 re) (*.f64 im (*.f64 im 1/2))) (cos.f64 re))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 im (*.f64 (*.f64 im 1/2) (cos.f64 re)) (cos.f64 re))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 im 1/2) (*.f64 im (cos.f64 re)) (cos.f64 re))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 im (*.f64 im 1/2)) (cos.f64 re) (cos.f64 re))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 im im) (*.f64 1/2 (cos.f64 re)) (cos.f64 re))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (pow.f64 im 4) 1/4)) (*.f64 (cbrt.f64 (*.f64 im (*.f64 im 1/2))) (cos.f64 re)) (cos.f64 re))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (cos.f64 re)) (cbrt.f64 (pow.f64 (cos.f64 re) 2)) (*.f64 (cos.f64 re) (*.f64 im (*.f64 im 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (cos.f64 re)) (cbrt.f64 (pow.f64 (cos.f64 re) 2)) (*.f64 (*.f64 (cos.f64 re) (*.f64 im (*.f64 im 1/2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (cos.f64 re) 2)) (cbrt.f64 (cos.f64 re)) (*.f64 (cos.f64 re) (*.f64 im (*.f64 im 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (cos.f64 re) 2)) (cbrt.f64 (cos.f64 re)) (*.f64 (*.f64 (cos.f64 re) (*.f64 im (*.f64 im 1/2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (cos.f64 re) 2)) (*.f64 (cbrt.f64 (cos.f64 re)) 1) (*.f64 (cos.f64 re) (*.f64 im (*.f64 im 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (cos.f64 re) 2)) (*.f64 (cbrt.f64 (cos.f64 re)) 1) (*.f64 (*.f64 (cos.f64 re) (*.f64 im (*.f64 im 1/2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (cos.f64 re) 2)) (*.f64 (cbrt.f64 (cos.f64 re)) (*.f64 im (*.f64 im 1/2))) (cos.f64 re))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 im (sqrt.f64 1/2)) (*.f64 (*.f64 im (sqrt.f64 1/2)) (cos.f64 re)) (cos.f64 re))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cos.f64 re)) (sqrt.f64 (cos.f64 re)) (*.f64 (cos.f64 re) (*.f64 im (*.f64 im 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cos.f64 re)) (sqrt.f64 (cos.f64 re)) (*.f64 (*.f64 (cos.f64 re) (*.f64 im (*.f64 im 1/2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cos.f64 re)) (*.f64 (sqrt.f64 (cos.f64 re)) 1) (*.f64 (cos.f64 re) (*.f64 im (*.f64 im 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cos.f64 re)) (*.f64 (sqrt.f64 (cos.f64 re)) 1) (*.f64 (*.f64 (cos.f64 re) (*.f64 im (*.f64 im 1/2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cos.f64 re)) (*.f64 (sqrt.f64 (cos.f64 re)) (*.f64 im (*.f64 im 1/2))) (cos.f64 re))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 (cos.f64 re) (*.f64 im (*.f64 im 1/2)))) 2) (cbrt.f64 (*.f64 (cos.f64 re) (*.f64 im (*.f64 im 1/2)))) (cos.f64 re))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 im (sqrt.f64 1/2)) (sqrt.f64 (cos.f64 re))) (*.f64 (*.f64 im (sqrt.f64 1/2)) (sqrt.f64 (cos.f64 re))) (cos.f64 re))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 re) im) (*.f64 im 1/2) (cos.f64 re))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 re) (*.f64 im 1/2)) im (cos.f64 re))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 re) (*.f64 im im)) 1/2 (cos.f64 re))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 re) (cbrt.f64 (*.f64 (pow.f64 im 4) 1/4))) (cbrt.f64 (*.f64 im (*.f64 im 1/2))) (cos.f64 re))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 re) (*.f64 im (sqrt.f64 1/2))) (*.f64 im (sqrt.f64 1/2)) (cos.f64 re))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (*.f64 (*.f64 im (sqrt.f64 1/2)) (cbrt.f64 (cos.f64 re))) 2) (cbrt.f64 (cos.f64 re)) (cos.f64 re))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 im (*.f64 im 1/2)) (sqrt.f64 (cos.f64 re))) (sqrt.f64 (cos.f64 re)) (cos.f64 re)))))) |
| 1× | egg-herbie |
| 956× | fma-def_binary64 |
| 622× | associate-+l+_binary64 |
| 588× | distribute-rgt-in_binary64 |
| 578× | distribute-lft-in_binary64 |
| 554× | associate-+r+_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 36 | 436 |
| 1 | 99 | 388 |
| 2 | 297 | 360 |
| 3 | 1201 | 342 |
| 4 | 4314 | 335 |
| 5 | 5491 | 335 |
| 6 | 6669 | 335 |
| 7 | 6946 | 335 |
| 8 | 7134 | 335 |
| 9 | 7356 | 335 |
| 10 | 7667 | 335 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 1 (*.f64 1/2 (pow.f64 im 2))) |
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 -1/2 (*.f64 (+.f64 1 (*.f64 1/2 (pow.f64 im 2))) (pow.f64 re 2))))) |
(+.f64 1 (+.f64 (*.f64 1/24 (*.f64 (+.f64 1 (*.f64 1/2 (pow.f64 im 2))) (pow.f64 re 4))) (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 -1/2 (*.f64 (+.f64 1 (*.f64 1/2 (pow.f64 im 2))) (pow.f64 re 2)))))) |
(+.f64 1 (+.f64 (*.f64 1/24 (*.f64 (+.f64 1 (*.f64 1/2 (pow.f64 im 2))) (pow.f64 re 4))) (+.f64 (*.f64 1/2 (pow.f64 im 2)) (+.f64 (*.f64 -1/2 (*.f64 (+.f64 1 (*.f64 1/2 (pow.f64 im 2))) (pow.f64 re 2))) (*.f64 -1/720 (*.f64 (+.f64 1 (*.f64 1/2 (pow.f64 im 2))) (pow.f64 re 6))))))) |
(*.f64 (cos.f64 re) (+.f64 1 (*.f64 1/2 (pow.f64 im 2)))) |
(*.f64 (cos.f64 re) (+.f64 1 (*.f64 1/2 (pow.f64 im 2)))) |
(*.f64 (cos.f64 re) (+.f64 1 (*.f64 1/2 (pow.f64 im 2)))) |
(*.f64 (cos.f64 re) (+.f64 1 (*.f64 1/2 (pow.f64 im 2)))) |
(*.f64 (cos.f64 re) (+.f64 1 (*.f64 1/2 (pow.f64 im 2)))) |
(*.f64 (cos.f64 re) (+.f64 1 (*.f64 1/2 (pow.f64 im 2)))) |
(*.f64 (cos.f64 re) (+.f64 1 (*.f64 1/2 (pow.f64 im 2)))) |
(*.f64 (cos.f64 re) (+.f64 1 (*.f64 1/2 (pow.f64 im 2)))) |
(cos.f64 re) |
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re)) |
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re)) |
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re)) |
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) |
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re)) |
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re)) |
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re)) |
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) |
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re)) |
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re)) |
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re)) |
| Outputs |
|---|
(+.f64 1 (*.f64 1/2 (pow.f64 im 2))) |
(+.f64 1 (*.f64 1/2 (*.f64 im im))) |
(fma.f64 1/2 (*.f64 im im) 1) |
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 -1/2 (*.f64 (+.f64 1 (*.f64 1/2 (pow.f64 im 2))) (pow.f64 re 2))))) |
(+.f64 1 (fma.f64 1/2 (*.f64 im im) (*.f64 -1/2 (*.f64 (+.f64 1 (*.f64 1/2 (*.f64 im im))) (*.f64 re re))))) |
(+.f64 1 (fma.f64 -1/2 (*.f64 (fma.f64 1/2 (*.f64 im im) 1) (*.f64 re re)) (*.f64 1/2 (*.f64 im im)))) |
(*.f64 (+.f64 (*.f64 -1/2 (*.f64 re re)) 1) (fma.f64 1/2 (*.f64 im im) 1)) |
(*.f64 (fma.f64 1/2 (*.f64 im im) 1) (fma.f64 -1/2 (*.f64 re re) 1)) |
(+.f64 1 (+.f64 (*.f64 1/24 (*.f64 (+.f64 1 (*.f64 1/2 (pow.f64 im 2))) (pow.f64 re 4))) (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 -1/2 (*.f64 (+.f64 1 (*.f64 1/2 (pow.f64 im 2))) (pow.f64 re 2)))))) |
(+.f64 1 (fma.f64 1/24 (*.f64 (+.f64 1 (*.f64 1/2 (*.f64 im im))) (pow.f64 re 4)) (fma.f64 1/2 (*.f64 im im) (*.f64 -1/2 (*.f64 (+.f64 1 (*.f64 1/2 (*.f64 im im))) (*.f64 re re)))))) |
(+.f64 1 (fma.f64 1/24 (*.f64 (fma.f64 1/2 (*.f64 im im) 1) (pow.f64 re 4)) (fma.f64 -1/2 (*.f64 (fma.f64 1/2 (*.f64 im im) 1) (*.f64 re re)) (*.f64 1/2 (*.f64 im im))))) |
(+.f64 1 (fma.f64 1/2 (*.f64 im im) (*.f64 (fma.f64 1/2 (*.f64 im im) 1) (+.f64 (*.f64 -1/2 (*.f64 re re)) (*.f64 1/24 (pow.f64 re 4)))))) |
(*.f64 (fma.f64 1/2 (*.f64 im im) 1) (+.f64 (fma.f64 -1/2 (*.f64 re re) 1) (*.f64 1/24 (pow.f64 re 4)))) |
(+.f64 1 (+.f64 (*.f64 1/24 (*.f64 (+.f64 1 (*.f64 1/2 (pow.f64 im 2))) (pow.f64 re 4))) (+.f64 (*.f64 1/2 (pow.f64 im 2)) (+.f64 (*.f64 -1/2 (*.f64 (+.f64 1 (*.f64 1/2 (pow.f64 im 2))) (pow.f64 re 2))) (*.f64 -1/720 (*.f64 (+.f64 1 (*.f64 1/2 (pow.f64 im 2))) (pow.f64 re 6))))))) |
(+.f64 1 (fma.f64 1/24 (*.f64 (+.f64 1 (*.f64 1/2 (*.f64 im im))) (pow.f64 re 4)) (fma.f64 1/2 (*.f64 im im) (fma.f64 -1/2 (*.f64 (+.f64 1 (*.f64 1/2 (*.f64 im im))) (*.f64 re re)) (*.f64 -1/720 (*.f64 (+.f64 1 (*.f64 1/2 (*.f64 im im))) (pow.f64 re 6))))))) |
(+.f64 1 (fma.f64 1/24 (*.f64 (fma.f64 1/2 (*.f64 im im) 1) (pow.f64 re 4)) (fma.f64 1/2 (*.f64 im im) (fma.f64 -1/2 (*.f64 (fma.f64 1/2 (*.f64 im im) 1) (*.f64 re re)) (*.f64 (fma.f64 1/2 (*.f64 im im) 1) (*.f64 (pow.f64 re 6) -1/720)))))) |
(+.f64 (*.f64 (+.f64 (*.f64 -1/2 (*.f64 re re)) 1) (fma.f64 1/2 (*.f64 im im) 1)) (*.f64 (fma.f64 1/2 (*.f64 im im) 1) (+.f64 (*.f64 -1/720 (pow.f64 re 6)) (*.f64 1/24 (pow.f64 re 4))))) |
(fma.f64 (pow.f64 re 4) (fma.f64 (*.f64 im im) 1/48 1/24) (*.f64 (fma.f64 1/2 (*.f64 im im) 1) (+.f64 (fma.f64 -1/2 (*.f64 re re) 1) (*.f64 -1/720 (pow.f64 re 6))))) |
(*.f64 (fma.f64 1/2 (*.f64 im im) 1) (+.f64 (fma.f64 -1/2 (*.f64 re re) 1) (fma.f64 -1/720 (pow.f64 re 6) (*.f64 1/24 (pow.f64 re 4))))) |
(*.f64 (cos.f64 re) (+.f64 1 (*.f64 1/2 (pow.f64 im 2)))) |
(*.f64 (+.f64 1 (*.f64 1/2 (*.f64 im im))) (cos.f64 re)) |
(*.f64 (fma.f64 1/2 (*.f64 im im) 1) (cos.f64 re)) |
(*.f64 (cos.f64 re) (+.f64 1 (*.f64 1/2 (pow.f64 im 2)))) |
(*.f64 (+.f64 1 (*.f64 1/2 (*.f64 im im))) (cos.f64 re)) |
(*.f64 (fma.f64 1/2 (*.f64 im im) 1) (cos.f64 re)) |
(*.f64 (cos.f64 re) (+.f64 1 (*.f64 1/2 (pow.f64 im 2)))) |
(*.f64 (+.f64 1 (*.f64 1/2 (*.f64 im im))) (cos.f64 re)) |
(*.f64 (fma.f64 1/2 (*.f64 im im) 1) (cos.f64 re)) |
(*.f64 (cos.f64 re) (+.f64 1 (*.f64 1/2 (pow.f64 im 2)))) |
(*.f64 (+.f64 1 (*.f64 1/2 (*.f64 im im))) (cos.f64 re)) |
(*.f64 (fma.f64 1/2 (*.f64 im im) 1) (cos.f64 re)) |
(*.f64 (cos.f64 re) (+.f64 1 (*.f64 1/2 (pow.f64 im 2)))) |
(*.f64 (+.f64 1 (*.f64 1/2 (*.f64 im im))) (cos.f64 re)) |
(*.f64 (fma.f64 1/2 (*.f64 im im) 1) (cos.f64 re)) |
(*.f64 (cos.f64 re) (+.f64 1 (*.f64 1/2 (pow.f64 im 2)))) |
(*.f64 (+.f64 1 (*.f64 1/2 (*.f64 im im))) (cos.f64 re)) |
(*.f64 (fma.f64 1/2 (*.f64 im im) 1) (cos.f64 re)) |
(*.f64 (cos.f64 re) (+.f64 1 (*.f64 1/2 (pow.f64 im 2)))) |
(*.f64 (+.f64 1 (*.f64 1/2 (*.f64 im im))) (cos.f64 re)) |
(*.f64 (fma.f64 1/2 (*.f64 im im) 1) (cos.f64 re)) |
(*.f64 (cos.f64 re) (+.f64 1 (*.f64 1/2 (pow.f64 im 2)))) |
(*.f64 (+.f64 1 (*.f64 1/2 (*.f64 im im))) (cos.f64 re)) |
(*.f64 (fma.f64 1/2 (*.f64 im im) 1) (cos.f64 re)) |
(cos.f64 re) |
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re)) |
(*.f64 (+.f64 1 (*.f64 1/2 (*.f64 im im))) (cos.f64 re)) |
(*.f64 (fma.f64 1/2 (*.f64 im im) 1) (cos.f64 re)) |
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re)) |
(*.f64 (+.f64 1 (*.f64 1/2 (*.f64 im im))) (cos.f64 re)) |
(*.f64 (fma.f64 1/2 (*.f64 im im) 1) (cos.f64 re)) |
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re)) |
(*.f64 (+.f64 1 (*.f64 1/2 (*.f64 im im))) (cos.f64 re)) |
(*.f64 (fma.f64 1/2 (*.f64 im im) 1) (cos.f64 re)) |
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) |
(*.f64 1/2 (*.f64 (*.f64 im im) (cos.f64 re))) |
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re)) |
(*.f64 (+.f64 1 (*.f64 1/2 (*.f64 im im))) (cos.f64 re)) |
(*.f64 (fma.f64 1/2 (*.f64 im im) 1) (cos.f64 re)) |
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re)) |
(*.f64 (+.f64 1 (*.f64 1/2 (*.f64 im im))) (cos.f64 re)) |
(*.f64 (fma.f64 1/2 (*.f64 im im) 1) (cos.f64 re)) |
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re)) |
(*.f64 (+.f64 1 (*.f64 1/2 (*.f64 im im))) (cos.f64 re)) |
(*.f64 (fma.f64 1/2 (*.f64 im im) 1) (cos.f64 re)) |
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) |
(*.f64 1/2 (*.f64 (*.f64 im im) (cos.f64 re))) |
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re)) |
(*.f64 (+.f64 1 (*.f64 1/2 (*.f64 im im))) (cos.f64 re)) |
(*.f64 (fma.f64 1/2 (*.f64 im im) 1) (cos.f64 re)) |
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re)) |
(*.f64 (+.f64 1 (*.f64 1/2 (*.f64 im im))) (cos.f64 re)) |
(*.f64 (fma.f64 1/2 (*.f64 im im) 1) (cos.f64 re)) |
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re)) |
(*.f64 (+.f64 1 (*.f64 1/2 (*.f64 im im))) (cos.f64 re)) |
(*.f64 (fma.f64 1/2 (*.f64 im im) 1) (cos.f64 re)) |
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) |
Compiled 25 to 9 computations (64% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | im | @ | 0 | (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) |
| 0.0ms | im | @ | -inf | (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) |
| 0.0ms | im | @ | inf | (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) |
| 1× | egg-rewrite-iter-limit |
| 1× | batch-egg-rewrite |
| 69× | add-sqr-sqrt_binary64 |
| 66× | add-log-exp_binary64 |
| 65× | *-un-lft-identity_binary64 |
| 65× | pow1_binary64 |
| 64× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 6 |
| 1 | 129 | 6 |
| 2 | 2150 | 6 |
| 0 | 6 | 6 |
| 1× | iter limit |
| 1× | unsound |
| Inputs |
|---|
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 2 (cosh.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (*.f64 2 (cosh.f64 im))) (cbrt.f64 (*.f64 2 (cosh.f64 im)))) (cbrt.f64 (*.f64 2 (cosh.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 2 (cosh.f64 im))) (sqrt.f64 (*.f64 2 (cosh.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (cosh.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (exp.f64 im) 3) (pow.f64 (exp.f64 (neg.f64 im)) 3)) (+.f64 (*.f64 (exp.f64 im) (exp.f64 im)) (-.f64 (*.f64 (exp.f64 (neg.f64 im)) (exp.f64 (neg.f64 im))) (*.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (exp.f64 im) (exp.f64 im)) (*.f64 (exp.f64 (neg.f64 im)) (exp.f64 (neg.f64 im)))) (-.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 2 (cosh.f64 im)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 2 (cosh.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (*.f64 (*.f64 2 (cosh.f64 im)) (*.f64 2 (cosh.f64 im))) (*.f64 2 (cosh.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 2 (cosh.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 2 (cosh.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 2 (cosh.f64 im)))))))) |
| 1× | egg-herbie |
| 707× | fma-def_binary64 |
| 401× | associate-/l/_binary64 |
| 357× | *-commutative_binary64 |
| 327× | fma-neg_binary64 |
| 300× | associate-/r/_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 23 | 87 |
| 1 | 51 | 81 |
| 2 | 116 | 79 |
| 3 | 314 | 77 |
| 4 | 1147 | 77 |
| 5 | 3088 | 77 |
| 6 | 4136 | 77 |
| 7 | 6571 | 77 |
| 1× | node limit |
| Inputs |
|---|
2 |
(+.f64 2 (pow.f64 im 2)) |
(+.f64 2 (+.f64 (pow.f64 im 2) (*.f64 1/12 (pow.f64 im 4)))) |
(+.f64 2 (+.f64 (pow.f64 im 2) (+.f64 (*.f64 1/12 (pow.f64 im 4)) (*.f64 1/360 (pow.f64 im 6))))) |
(+.f64 (exp.f64 im) (exp.f64 (*.f64 -1 im))) |
(+.f64 (exp.f64 im) (exp.f64 (*.f64 -1 im))) |
(+.f64 (exp.f64 im) (exp.f64 (*.f64 -1 im))) |
(+.f64 (exp.f64 im) (exp.f64 (*.f64 -1 im))) |
| Outputs |
|---|
2 |
(+.f64 2 (pow.f64 im 2)) |
(+.f64 2 (*.f64 im im)) |
(fma.f64 im im 2) |
(+.f64 2 (+.f64 (pow.f64 im 2) (*.f64 1/12 (pow.f64 im 4)))) |
(+.f64 2 (+.f64 (*.f64 im im) (*.f64 1/12 (pow.f64 im 4)))) |
(+.f64 2 (fma.f64 im im (*.f64 1/12 (pow.f64 im 4)))) |
(fma.f64 1/12 (pow.f64 im 4) (fma.f64 im im 2)) |
(fma.f64 im im (fma.f64 1/12 (pow.f64 im 4) 2)) |
(+.f64 2 (+.f64 (pow.f64 im 2) (+.f64 (*.f64 1/12 (pow.f64 im 4)) (*.f64 1/360 (pow.f64 im 6))))) |
(+.f64 2 (+.f64 (*.f64 im im) (fma.f64 1/12 (pow.f64 im 4) (*.f64 1/360 (pow.f64 im 6))))) |
(+.f64 2 (fma.f64 im im (fma.f64 1/12 (pow.f64 im 4) (*.f64 1/360 (pow.f64 im 6))))) |
(fma.f64 im im (fma.f64 1/12 (pow.f64 im 4) (fma.f64 1/360 (pow.f64 im 6) 2))) |
(fma.f64 im (fma.f64 1/12 (pow.f64 im 3) im) (fma.f64 1/360 (pow.f64 im 6) 2)) |
(+.f64 (exp.f64 im) (exp.f64 (*.f64 -1 im))) |
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) |
(+.f64 (exp.f64 im) (exp.f64 (*.f64 -1 im))) |
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) |
(+.f64 (exp.f64 im) (exp.f64 (*.f64 -1 im))) |
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) |
(+.f64 (exp.f64 im) (exp.f64 (*.f64 -1 im))) |
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) |
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (fma.f64 (exp.f64 im) 1/2 (/.f64 1/2 (exp.f64 im))) |
| 0.0b | (/.f64 1/2 (exp.f64 im)) |
Compiled 18 to 10 computations (44.4% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | im | @ | inf | (fma.f64 (exp.f64 im) 1/2 (/.f64 1/2 (exp.f64 im))) |
| 0.0ms | im | @ | -inf | (fma.f64 (exp.f64 im) 1/2 (/.f64 1/2 (exp.f64 im))) |
| 0.0ms | im | @ | 0 | (fma.f64 (exp.f64 im) 1/2 (/.f64 1/2 (exp.f64 im))) |
| 1× | batch-egg-rewrite |
| 583× | pow1_binary64 |
| 541× | add-log-exp_binary64 |
| 541× | log1p-expm1-u_binary64 |
| 541× | expm1-log1p-u_binary64 |
| 530× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 12 |
| 1 | 124 | 12 |
| 2 | 1466 | 12 |
| 1× | node limit |
| Inputs |
|---|
(fma.f64 (exp.f64 im) 1/2 (/.f64 1/2 (exp.f64 im))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (/.f64 1/2 (exp.f64 im)) (*.f64 (exp.f64 im) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (exp.f64 im) 1/2) (/.f64 1/2 (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (exp.f64 im) 1/2) 1) (/.f64 1/2 (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 (exp.f64 im) 1/2 (/.f64 1/2 (exp.f64 im)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (exp.f64 im) 1/2 (/.f64 1/2 (exp.f64 im))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 (exp.f64 im) 1/2 (/.f64 1/2 (exp.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 (exp.f64 im) 1/2 (/.f64 1/2 (exp.f64 im)))) (pow.f64 (cbrt.f64 (fma.f64 (exp.f64 im) 1/2 (/.f64 1/2 (exp.f64 im)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 (exp.f64 im) 1/2 (/.f64 1/2 (exp.f64 im)))) 2) (cbrt.f64 (fma.f64 (exp.f64 im) 1/2 (/.f64 1/2 (exp.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 (exp.f64 im) 1/2 (/.f64 1/2 (exp.f64 im)))) (sqrt.f64 (fma.f64 (exp.f64 im) 1/2 (/.f64 1/2 (exp.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 (exp.f64 im) 1/2) 3) (pow.f64 (/.f64 1/2 (exp.f64 im)) 3)) (+.f64 (*.f64 (*.f64 (exp.f64 im) 1/2) (*.f64 (exp.f64 im) 1/2)) (-.f64 (pow.f64 (/.f64 1/2 (exp.f64 im)) 2) (*.f64 (*.f64 (exp.f64 im) 1/2) (/.f64 1/2 (exp.f64 im))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 (exp.f64 im) 1/2) (*.f64 (exp.f64 im) 1/2)) (pow.f64 (/.f64 1/2 (exp.f64 im)) 2)) (-.f64 (*.f64 (exp.f64 im) 1/2) (/.f64 1/2 (exp.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 (exp.f64 im) 1/2 (/.f64 1/2 (exp.f64 im))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 (exp.f64 im) 1/2 (/.f64 1/2 (exp.f64 im))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 (exp.f64 im) 1/2 (/.f64 1/2 (exp.f64 im)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 (exp.f64 im) 1/2 (/.f64 1/2 (exp.f64 im)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 (exp.f64 im) 1/2 (/.f64 1/2 (exp.f64 im))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 (exp.f64 im) 1/2 (/.f64 1/2 (exp.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 (exp.f64 im) 1/2 (/.f64 1/2 (exp.f64 im))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 (exp.f64 im) 1/2 (/.f64 1/2 (exp.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 (exp.f64 im) 1/2 (/.f64 1/2 (exp.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 (exp.f64 im) 1/2 (/.f64 1/2 (exp.f64 im))))))))) |
| 1× | egg-herbie |
| 729× | fma-def_binary64 |
| 411× | *-commutative_binary64 |
| 400× | associate-/l/_binary64 |
| 327× | distribute-lft-out_binary64 |
| 318× | associate-/r/_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 26 | 156 |
| 1 | 63 | 146 |
| 2 | 131 | 144 |
| 3 | 361 | 142 |
| 4 | 1221 | 142 |
| 5 | 3069 | 142 |
| 6 | 3844 | 142 |
| 7 | 4807 | 142 |
| 8 | 7913 | 142 |
| 1× | node limit |
| Inputs |
|---|
1 |
(+.f64 1 (*.f64 1/2 (pow.f64 im 2))) |
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4)))) |
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (+.f64 (*.f64 1/24 (pow.f64 im 4)) (*.f64 1/720 (pow.f64 im 6))))) |
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))) |
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))) |
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))) |
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))) |
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))) |
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))) |
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))) |
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))) |
| Outputs |
|---|
1 |
(+.f64 1 (*.f64 1/2 (pow.f64 im 2))) |
(+.f64 1 (*.f64 1/2 (*.f64 im im))) |
(fma.f64 1/2 (*.f64 im im) 1) |
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4)))) |
(+.f64 1 (fma.f64 1/2 (*.f64 im im) (*.f64 1/24 (pow.f64 im 4)))) |
(fma.f64 1/24 (pow.f64 im 4) (fma.f64 1/2 (*.f64 im im) 1)) |
(fma.f64 1/2 (*.f64 im im) (fma.f64 1/24 (pow.f64 im 4) 1)) |
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (+.f64 (*.f64 1/24 (pow.f64 im 4)) (*.f64 1/720 (pow.f64 im 6))))) |
(+.f64 1 (fma.f64 1/2 (*.f64 im im) (fma.f64 1/24 (pow.f64 im 4) (*.f64 1/720 (pow.f64 im 6))))) |
(+.f64 (fma.f64 1/2 (*.f64 im im) 1) (fma.f64 1/720 (pow.f64 im 6) (*.f64 1/24 (pow.f64 im 4)))) |
(fma.f64 1/2 (*.f64 im im) (fma.f64 1/720 (pow.f64 im 6) (fma.f64 1/24 (pow.f64 im 4) 1))) |
(fma.f64 1/2 (*.f64 im im) (fma.f64 1/24 (pow.f64 im 4) (fma.f64 1/720 (pow.f64 im 6) 1))) |
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))) |
(*.f64 1/2 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) |
(fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) |
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))) |
(*.f64 1/2 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) |
(fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) |
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))) |
(*.f64 1/2 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) |
(fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) |
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))) |
(*.f64 1/2 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) |
(fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) |
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))) |
(*.f64 1/2 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) |
(fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) |
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))) |
(*.f64 1/2 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) |
(fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) |
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))) |
(*.f64 1/2 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) |
(fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) |
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))) |
(*.f64 1/2 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) |
(fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) |
Compiled 6490 to 4260 computations (34.4% saved)
8 alts after pruning (4 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 343 | 4 | 347 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 1 | 4 | 5 |
| Total | 345 | 8 | 353 |
| Status | Error | Program |
|---|---|---|
| 24.9b | 1 | |
| ✓ | 1.0b | (*.f64 (cos.f64 re) (+.f64 1 (*.f64 im (*.f64 im 1/2)))) |
| ▶ | 24.9b | (*.f64 1/2 (expm1.f64 (log1p.f64 (*.f64 2 (cosh.f64 im))))) |
| ✓ | 1.2b | (cos.f64 re) |
| ▶ | 24.1b | (*.f64 1/2 (*.f64 2 (cosh.f64 im))) |
| ✓ | 0.0b | (*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) |
| ✓ | 0.8b | (*.f64 (cos.f64 re) (+.f64 (+.f64 1 (*.f64 im (*.f64 im 1/2))) (*.f64 (pow.f64 im 4) 1/24))) |
| ▶ | 24.1b | (+.f64 (/.f64 1/2 (exp.f64 im)) (*.f64 (exp.f64 im) 1/2)) |
Compiled 79 to 63 computations (20.3% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (cosh.f64 im) |
| ✓ | 0.0b | (expm1.f64 (log1p.f64 (*.f64 2 (cosh.f64 im)))) |
| ✓ | 1.0b | (log1p.f64 (*.f64 2 (cosh.f64 im))) |
Compiled 30 to 20 computations (33.3% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 39.0ms | im | @ | inf | (log1p.f64 (*.f64 2 (cosh.f64 im))) |
| 38.0ms | im | @ | -inf | (log1p.f64 (*.f64 2 (cosh.f64 im))) |
| 26.0ms | im | @ | 0 | (log1p.f64 (*.f64 2 (cosh.f64 im))) |
| 0.0ms | im | @ | 0 | (expm1.f64 (log1p.f64 (*.f64 2 (cosh.f64 im)))) |
| 0.0ms | im | @ | inf | (expm1.f64 (log1p.f64 (*.f64 2 (cosh.f64 im)))) |
| 1× | batch-egg-rewrite |
| 544× | pow1_binary64 |
| 528× | add-sqr-sqrt_binary64 |
| 503× | add-log-exp_binary64 |
| 502× | expm1-log1p-u_binary64 |
| 501× | log1p-expm1-u_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 17 |
| 1 | 122 | 17 |
| 2 | 1389 | 17 |
| 1× | node limit |
| Inputs |
|---|
(log1p.f64 (*.f64 2 (cosh.f64 im))) |
(expm1.f64 (log1p.f64 (*.f64 2 (cosh.f64 im)))) |
(cosh.f64 im) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (log1p.f64 (*.f64 2 (cosh.f64 im)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (log1p.f64 (*.f64 2 (cosh.f64 im))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (log1p.f64 (*.f64 2 (cosh.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (log1p.f64 (*.f64 2 (cosh.f64 im)))) (pow.f64 (cbrt.f64 (log1p.f64 (*.f64 2 (cosh.f64 im)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (log1p.f64 (*.f64 2 (cosh.f64 im)))) 2) (cbrt.f64 (log1p.f64 (*.f64 2 (cosh.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (log1p.f64 (*.f64 2 (cosh.f64 im)))) (sqrt.f64 (log1p.f64 (*.f64 2 (cosh.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (log1p.f64 (*.f64 2 (cosh.f64 im))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (log1p.f64 (*.f64 2 (cosh.f64 im))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (log1p.f64 (*.f64 2 (cosh.f64 im)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (log1p.f64 (*.f64 2 (cosh.f64 im)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (log1p.f64 (*.f64 2 (cosh.f64 im))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 (*.f64 2 (cosh.f64 im)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (log1p.f64 (*.f64 2 (cosh.f64 im))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (log1p.f64 (*.f64 2 (cosh.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (log1p.f64 (*.f64 2 (cosh.f64 im))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (*.f64 2 (cosh.f64 im)) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (*.f64 2 (cosh.f64 im)) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (cosh.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cosh.f64 im) 2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 2 (cosh.f64 im)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 2 (cosh.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 2 (cosh.f64 im))) (pow.f64 (cbrt.f64 (*.f64 2 (cosh.f64 im))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 2 (cosh.f64 im))) 2) (cbrt.f64 (*.f64 2 (cosh.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cosh.f64 im)) 2) (*.f64 (cbrt.f64 (cosh.f64 im)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 2 (cosh.f64 im))) (sqrt.f64 (*.f64 2 (cosh.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cosh.f64 im)) (*.f64 (sqrt.f64 (cosh.f64 im)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 2 (pow.f64 (cbrt.f64 (cosh.f64 im)) 2)) (cbrt.f64 (cosh.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 2 (sqrt.f64 (cosh.f64 im))) (sqrt.f64 (cosh.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (+.f64 (*.f64 2 (cosh.f64 im)) 1) 3) 1) (+.f64 (*.f64 (+.f64 (*.f64 2 (cosh.f64 im)) 1) (+.f64 (*.f64 2 (cosh.f64 im)) 1)) (+.f64 1 (*.f64 (+.f64 (*.f64 2 (cosh.f64 im)) 1) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (exp.f64 im) 3) (pow.f64 (exp.f64 (neg.f64 im)) 3)) (+.f64 (*.f64 (exp.f64 im) (exp.f64 im)) (-.f64 (*.f64 (exp.f64 (neg.f64 im)) (exp.f64 (neg.f64 im))) (*.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (+.f64 (*.f64 2 (cosh.f64 im)) 1) (+.f64 (*.f64 2 (cosh.f64 im)) 1)) 1) (+.f64 (+.f64 (*.f64 2 (cosh.f64 im)) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (exp.f64 im) (exp.f64 im)) (*.f64 (exp.f64 (neg.f64 im)) (exp.f64 (neg.f64 im)))) (-.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 2 (cosh.f64 im)) 2) 2)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 2 (*.f64 2 (cosh.f64 im))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 2 (cosh.f64 im)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 2 (cosh.f64 im)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 2 (cosh.f64 im))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 2 (cosh.f64 im))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 4 (pow.f64 (cosh.f64 im) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 2) (cosh.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 2 (cosh.f64 im)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 2 (cosh.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 2 (cosh.f64 im)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (cosh.f64 im)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cosh.f64 im) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 2 (cosh.f64 im)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cosh.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cosh.f64 im)) (pow.f64 (cbrt.f64 (cosh.f64 im)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cosh.f64 im)) 2) (cbrt.f64 (cosh.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cosh.f64 im)) (sqrt.f64 (cosh.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 2 (cosh.f64 im)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 2 (*.f64 2 (cosh.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (*.f64 2 (cosh.f64 im))) -2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cosh.f64 im) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cosh.f64 im) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cosh.f64 im)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (cosh.f64 im)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cosh.f64 im) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cosh.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (cosh.f64 im) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cosh.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cosh.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cosh.f64 im))))))) |
| 1× | egg-herbie |
| 597× | distribute-rgt-out_binary64 |
| 597× | fma-def_binary64 |
| 460× | *-commutative_binary64 |
| 402× | associate-*l*_binary64 |
| 390× | associate-/l/_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 51 | 457 |
| 1 | 121 | 449 |
| 2 | 284 | 413 |
| 3 | 793 | 409 |
| 4 | 2824 | 409 |
| 5 | 4997 | 409 |
| 6 | 5443 | 409 |
| 7 | 6648 | 409 |
| 1× | node limit |
| Inputs |
|---|
(log.f64 3) |
(+.f64 (*.f64 1/3 (pow.f64 im 2)) (log.f64 3)) |
(+.f64 (*.f64 -1/36 (pow.f64 im 4)) (+.f64 (*.f64 1/3 (pow.f64 im 2)) (log.f64 3))) |
(+.f64 (*.f64 -1/36 (pow.f64 im 4)) (+.f64 (*.f64 1/3 (pow.f64 im 2)) (+.f64 (*.f64 13/3240 (pow.f64 im 6)) (log.f64 3)))) |
(log.f64 (+.f64 (/.f64 1 (exp.f64 im)) (+.f64 1 (exp.f64 im)))) |
(log.f64 (+.f64 (/.f64 1 (exp.f64 im)) (+.f64 1 (exp.f64 im)))) |
(log.f64 (+.f64 (/.f64 1 (exp.f64 im)) (+.f64 1 (exp.f64 im)))) |
(log.f64 (+.f64 (/.f64 1 (exp.f64 im)) (+.f64 1 (exp.f64 im)))) |
(log.f64 (+.f64 (/.f64 1 (exp.f64 im)) (+.f64 1 (exp.f64 im)))) |
(log.f64 (+.f64 (/.f64 1 (exp.f64 im)) (+.f64 1 (exp.f64 im)))) |
(log.f64 (+.f64 (/.f64 1 (exp.f64 im)) (+.f64 1 (exp.f64 im)))) |
(log.f64 (+.f64 (/.f64 1 (exp.f64 im)) (+.f64 1 (exp.f64 im)))) |
2 |
(+.f64 2 (pow.f64 im 2)) |
(+.f64 2 (+.f64 (pow.f64 im 2) (*.f64 1/12 (pow.f64 im 4)))) |
(+.f64 2 (+.f64 (pow.f64 im 2) (+.f64 (*.f64 1/12 (pow.f64 im 4)) (*.f64 1/360 (pow.f64 im 6))))) |
(+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im)) |
(+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im)) |
(+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im)) |
(+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im)) |
(+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im)) |
(+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im)) |
(+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im)) |
(+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im)) |
1 |
(+.f64 1 (*.f64 1/2 (pow.f64 im 2))) |
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4)))) |
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (+.f64 (*.f64 1/24 (pow.f64 im 4)) (*.f64 1/720 (pow.f64 im 6))))) |
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im))) |
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im))) |
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im))) |
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im))) |
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im))) |
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im))) |
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im))) |
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im))) |
| Outputs |
|---|
(log.f64 3) |
(+.f64 (*.f64 1/3 (pow.f64 im 2)) (log.f64 3)) |
(fma.f64 1/3 (*.f64 im im) (log.f64 3)) |
(+.f64 (*.f64 -1/36 (pow.f64 im 4)) (+.f64 (*.f64 1/3 (pow.f64 im 2)) (log.f64 3))) |
(fma.f64 -1/36 (pow.f64 im 4) (fma.f64 1/3 (*.f64 im im) (log.f64 3))) |
(fma.f64 1/3 (*.f64 im im) (fma.f64 -1/36 (pow.f64 im 4) (log.f64 3))) |
(+.f64 (*.f64 -1/36 (pow.f64 im 4)) (+.f64 (*.f64 1/3 (pow.f64 im 2)) (+.f64 (*.f64 13/3240 (pow.f64 im 6)) (log.f64 3)))) |
(fma.f64 -1/36 (pow.f64 im 4) (fma.f64 1/3 (*.f64 im im) (fma.f64 13/3240 (pow.f64 im 6) (log.f64 3)))) |
(fma.f64 1/3 (*.f64 im im) (fma.f64 -1/36 (pow.f64 im 4) (fma.f64 13/3240 (pow.f64 im 6) (log.f64 3)))) |
(log.f64 (+.f64 (/.f64 1 (exp.f64 im)) (+.f64 1 (exp.f64 im)))) |
(log.f64 (+.f64 (exp.f64 (neg.f64 im)) (+.f64 1 (exp.f64 im)))) |
(log.f64 (+.f64 1 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) |
(log1p.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) |
(log.f64 (+.f64 (/.f64 1 (exp.f64 im)) (+.f64 1 (exp.f64 im)))) |
(log.f64 (+.f64 (exp.f64 (neg.f64 im)) (+.f64 1 (exp.f64 im)))) |
(log.f64 (+.f64 1 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) |
(log1p.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) |
(log.f64 (+.f64 (/.f64 1 (exp.f64 im)) (+.f64 1 (exp.f64 im)))) |
(log.f64 (+.f64 (exp.f64 (neg.f64 im)) (+.f64 1 (exp.f64 im)))) |
(log.f64 (+.f64 1 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) |
(log1p.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) |
(log.f64 (+.f64 (/.f64 1 (exp.f64 im)) (+.f64 1 (exp.f64 im)))) |
(log.f64 (+.f64 (exp.f64 (neg.f64 im)) (+.f64 1 (exp.f64 im)))) |
(log.f64 (+.f64 1 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) |
(log1p.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) |
(log.f64 (+.f64 (/.f64 1 (exp.f64 im)) (+.f64 1 (exp.f64 im)))) |
(log.f64 (+.f64 (exp.f64 (neg.f64 im)) (+.f64 1 (exp.f64 im)))) |
(log.f64 (+.f64 1 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) |
(log1p.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) |
(log.f64 (+.f64 (/.f64 1 (exp.f64 im)) (+.f64 1 (exp.f64 im)))) |
(log.f64 (+.f64 (exp.f64 (neg.f64 im)) (+.f64 1 (exp.f64 im)))) |
(log.f64 (+.f64 1 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) |
(log1p.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) |
(log.f64 (+.f64 (/.f64 1 (exp.f64 im)) (+.f64 1 (exp.f64 im)))) |
(log.f64 (+.f64 (exp.f64 (neg.f64 im)) (+.f64 1 (exp.f64 im)))) |
(log.f64 (+.f64 1 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) |
(log1p.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) |
(log.f64 (+.f64 (/.f64 1 (exp.f64 im)) (+.f64 1 (exp.f64 im)))) |
(log.f64 (+.f64 (exp.f64 (neg.f64 im)) (+.f64 1 (exp.f64 im)))) |
(log.f64 (+.f64 1 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) |
(log1p.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) |
2 |
(+.f64 2 (pow.f64 im 2)) |
(+.f64 2 (*.f64 im im)) |
(fma.f64 im im 2) |
(+.f64 2 (+.f64 (pow.f64 im 2) (*.f64 1/12 (pow.f64 im 4)))) |
(+.f64 2 (+.f64 (*.f64 im im) (*.f64 (pow.f64 im 4) 1/12))) |
(+.f64 2 (fma.f64 im im (*.f64 (pow.f64 im 4) 1/12))) |
(fma.f64 im im (fma.f64 (pow.f64 im 4) 1/12 2)) |
(+.f64 2 (+.f64 (pow.f64 im 2) (+.f64 (*.f64 1/12 (pow.f64 im 4)) (*.f64 1/360 (pow.f64 im 6))))) |
(+.f64 2 (+.f64 (*.f64 im im) (fma.f64 1/12 (pow.f64 im 4) (*.f64 (pow.f64 im 6) 1/360)))) |
(+.f64 2 (fma.f64 im im (fma.f64 (pow.f64 im 4) 1/12 (*.f64 (pow.f64 im 6) 1/360)))) |
(fma.f64 im im (fma.f64 (pow.f64 im 6) 1/360 (fma.f64 (pow.f64 im 4) 1/12 2))) |
(fma.f64 (pow.f64 im 6) 1/360 (fma.f64 im im (fma.f64 (pow.f64 im 4) 1/12 2))) |
(+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im)) |
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) |
(+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im)) |
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) |
(+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im)) |
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) |
(+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im)) |
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) |
(+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im)) |
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) |
(+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im)) |
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) |
(+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im)) |
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) |
(+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im)) |
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) |
1 |
(+.f64 1 (*.f64 1/2 (pow.f64 im 2))) |
(+.f64 1 (*.f64 (*.f64 im im) 1/2)) |
(fma.f64 (*.f64 im im) 1/2 1) |
(fma.f64 im (*.f64 im 1/2) 1) |
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4)))) |
(+.f64 1 (fma.f64 1/2 (*.f64 im im) (*.f64 (pow.f64 im 4) 1/24))) |
(+.f64 1 (fma.f64 (*.f64 im im) 1/2 (*.f64 (pow.f64 im 4) 1/24))) |
(fma.f64 im (*.f64 im 1/2) (fma.f64 (pow.f64 im 4) 1/24 1)) |
(fma.f64 (pow.f64 im 4) 1/24 (fma.f64 im (*.f64 im 1/2) 1)) |
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (+.f64 (*.f64 1/24 (pow.f64 im 4)) (*.f64 1/720 (pow.f64 im 6))))) |
(+.f64 1 (fma.f64 1/2 (*.f64 im im) (fma.f64 1/24 (pow.f64 im 4) (*.f64 (pow.f64 im 6) 1/720)))) |
(+.f64 1 (fma.f64 (*.f64 im im) 1/2 (fma.f64 (pow.f64 im 6) 1/720 (*.f64 (pow.f64 im 4) 1/24)))) |
(+.f64 1 (fma.f64 im (*.f64 im 1/2) (fma.f64 (pow.f64 im 4) 1/24 (*.f64 (pow.f64 im 6) 1/720)))) |
(fma.f64 (pow.f64 im 4) 1/24 (fma.f64 (pow.f64 im 6) 1/720 (fma.f64 im (*.f64 im 1/2) 1))) |
(fma.f64 (*.f64 im im) (fma.f64 im (*.f64 im 1/24) 1/2) (fma.f64 (pow.f64 im 6) 1/720 1)) |
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im))) |
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) 1/2) |
(fma.f64 (exp.f64 im) 1/2 (/.f64 1/2 (exp.f64 im))) |
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im))) |
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) 1/2) |
(fma.f64 (exp.f64 im) 1/2 (/.f64 1/2 (exp.f64 im))) |
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im))) |
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) 1/2) |
(fma.f64 (exp.f64 im) 1/2 (/.f64 1/2 (exp.f64 im))) |
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im))) |
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) 1/2) |
(fma.f64 (exp.f64 im) 1/2 (/.f64 1/2 (exp.f64 im))) |
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im))) |
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) 1/2) |
(fma.f64 (exp.f64 im) 1/2 (/.f64 1/2 (exp.f64 im))) |
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im))) |
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) 1/2) |
(fma.f64 (exp.f64 im) 1/2 (/.f64 1/2 (exp.f64 im))) |
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im))) |
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) 1/2) |
(fma.f64 (exp.f64 im) 1/2 (/.f64 1/2 (exp.f64 im))) |
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im))) |
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) 1/2) |
(fma.f64 (exp.f64 im) 1/2 (/.f64 1/2 (exp.f64 im))) |
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (cosh.f64 im) |
Compiled 17 to 11 computations (35.3% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 (/.f64 1/2 (exp.f64 im)) (*.f64 (exp.f64 im) 1/2)) |
| 0.0b | (/.f64 1/2 (exp.f64 im)) |
Compiled 23 to 13 computations (43.5% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | im | @ | -inf | (+.f64 (/.f64 1/2 (exp.f64 im)) (*.f64 (exp.f64 im) 1/2)) |
| 1.0ms | im | @ | inf | (+.f64 (/.f64 1/2 (exp.f64 im)) (*.f64 (exp.f64 im) 1/2)) |
| 0.0ms | im | @ | 0 | (+.f64 (/.f64 1/2 (exp.f64 im)) (*.f64 (exp.f64 im) 1/2)) |
| 1× | batch-egg-rewrite |
| 831× | pow1_binary64 |
| 776× | add-log-exp_binary64 |
| 776× | log1p-expm1-u_binary64 |
| 776× | expm1-log1p-u_binary64 |
| 760× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 14 |
| 1 | 154 | 12 |
| 2 | 2118 | 12 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 (/.f64 1/2 (exp.f64 im)) (*.f64 (exp.f64 im) 1/2)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (/.f64 1/4 (pow.f64 (exp.f64 im) 2)) (*.f64 1/2 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) (/.f64 (*.f64 1/4 (pow.f64 (exp.f64 im) 2)) (*.f64 1/2 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1/2 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))) (pow.f64 (cbrt.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))) 2) (cbrt.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))) (sqrt.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (/.f64 1/8 (pow.f64 (exp.f64 im) 3)) (*.f64 1/8 (pow.f64 (exp.f64 im) 3))) (/.f64 1 (+.f64 (/.f64 1/4 (pow.f64 (exp.f64 im) 2)) (*.f64 (*.f64 1/2 (exp.f64 im)) (-.f64 (*.f64 1/2 (exp.f64 im)) (/.f64 1/2 (exp.f64 im)))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (/.f64 1/4 (pow.f64 (exp.f64 im) 2)) (*.f64 1/4 (pow.f64 (exp.f64 im) 2))) (/.f64 1 (*.f64 1/2 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (/.f64 1/4 (pow.f64 (exp.f64 im) 2)) (*.f64 (*.f64 1/2 (exp.f64 im)) (-.f64 (*.f64 1/2 (exp.f64 im)) (/.f64 1/2 (exp.f64 im))))) (+.f64 (/.f64 1/8 (pow.f64 (exp.f64 im) 3)) (*.f64 1/8 (pow.f64 (exp.f64 im) 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (*.f64 1/2 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) (-.f64 (/.f64 1/4 (pow.f64 (exp.f64 im) 2)) (*.f64 1/4 (pow.f64 (exp.f64 im) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (/.f64 1/8 (pow.f64 (exp.f64 im) 3)) (*.f64 1/8 (pow.f64 (exp.f64 im) 3))) (+.f64 (/.f64 1/4 (pow.f64 (exp.f64 im) 2)) (*.f64 (*.f64 1/2 (exp.f64 im)) (-.f64 (*.f64 1/2 (exp.f64 im)) (/.f64 1/2 (exp.f64 im))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (/.f64 1/8 (pow.f64 (exp.f64 im) 3)) (*.f64 1/8 (pow.f64 (exp.f64 im) 3))) (+.f64 (*.f64 1/4 (pow.f64 (exp.f64 im) 2)) (-.f64 (/.f64 1/4 (pow.f64 (exp.f64 im) 2)) (*.f64 (/.f64 1/2 (exp.f64 im)) (*.f64 1/2 (exp.f64 im))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (/.f64 1/4 (pow.f64 (exp.f64 im) 2)) (*.f64 1/4 (pow.f64 (exp.f64 im) 2))) (*.f64 1/2 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (/.f64 1/8 (pow.f64 (exp.f64 im) 3)) (*.f64 1/8 (pow.f64 (exp.f64 im) 3)))) (neg.f64 (+.f64 (/.f64 1/4 (pow.f64 (exp.f64 im) 2)) (*.f64 (*.f64 1/2 (exp.f64 im)) (-.f64 (*.f64 1/2 (exp.f64 im)) (/.f64 1/2 (exp.f64 im)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (/.f64 1/4 (pow.f64 (exp.f64 im) 2)) (*.f64 1/4 (pow.f64 (exp.f64 im) 2)))) (neg.f64 (*.f64 1/2 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 1/4 (pow.f64 (exp.f64 im) 2)) (/.f64 1/4 (pow.f64 (exp.f64 im) 2))) (-.f64 (*.f64 1/2 (exp.f64 im)) (/.f64 1/2 (exp.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1/2 (exp.f64 (neg.f64 im)) (*.f64 1/2 (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (exp.f64 im) 1/2 (/.f64 1/2 (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (/.f64 1/2 (exp.f64 im)) (*.f64 1/2 (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 1/2 (exp.f64 im)) (/.f64 1/2 (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 1/2 (exp.f64 im))) 2) (cbrt.f64 (*.f64 1/2 (exp.f64 im))) (/.f64 1/2 (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (/.f64 1/2 (exp.f64 im))) 2) (cbrt.f64 (/.f64 1/2 (exp.f64 im))) (*.f64 1/2 (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 1/2 (exp.f64 im))) (sqrt.f64 (*.f64 1/2 (exp.f64 im))) (/.f64 1/2 (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (/.f64 1/2 (exp.f64 im))) (sqrt.f64 (/.f64 1/2 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))))) |
| 1× | egg-herbie |
| 729× | fma-def_binary64 |
| 411× | *-commutative_binary64 |
| 400× | associate-/l/_binary64 |
| 327× | distribute-lft-out_binary64 |
| 318× | associate-/r/_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 26 | 156 |
| 1 | 63 | 146 |
| 2 | 131 | 144 |
| 3 | 361 | 142 |
| 4 | 1221 | 142 |
| 5 | 3069 | 142 |
| 6 | 3844 | 142 |
| 7 | 4807 | 142 |
| 8 | 7913 | 142 |
| 1× | node limit |
| Inputs |
|---|
1 |
(+.f64 1 (*.f64 1/2 (pow.f64 im 2))) |
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4)))) |
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (+.f64 (*.f64 1/24 (pow.f64 im 4)) (*.f64 1/720 (pow.f64 im 6))))) |
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))) |
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))) |
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))) |
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))) |
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))) |
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))) |
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))) |
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))) |
| Outputs |
|---|
1 |
(+.f64 1 (*.f64 1/2 (pow.f64 im 2))) |
(+.f64 1 (*.f64 1/2 (*.f64 im im))) |
(fma.f64 1/2 (*.f64 im im) 1) |
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4)))) |
(+.f64 1 (fma.f64 1/2 (*.f64 im im) (*.f64 1/24 (pow.f64 im 4)))) |
(fma.f64 1/24 (pow.f64 im 4) (fma.f64 1/2 (*.f64 im im) 1)) |
(fma.f64 1/2 (*.f64 im im) (fma.f64 1/24 (pow.f64 im 4) 1)) |
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (+.f64 (*.f64 1/24 (pow.f64 im 4)) (*.f64 1/720 (pow.f64 im 6))))) |
(+.f64 1 (fma.f64 1/2 (*.f64 im im) (fma.f64 1/24 (pow.f64 im 4) (*.f64 1/720 (pow.f64 im 6))))) |
(+.f64 (fma.f64 1/2 (*.f64 im im) 1) (fma.f64 1/720 (pow.f64 im 6) (*.f64 1/24 (pow.f64 im 4)))) |
(fma.f64 1/2 (*.f64 im im) (fma.f64 1/720 (pow.f64 im 6) (fma.f64 1/24 (pow.f64 im 4) 1))) |
(fma.f64 1/2 (*.f64 im im) (fma.f64 1/24 (pow.f64 im 4) (fma.f64 1/720 (pow.f64 im 6) 1))) |
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))) |
(*.f64 1/2 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) |
(fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) |
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))) |
(*.f64 1/2 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) |
(fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) |
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))) |
(*.f64 1/2 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) |
(fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) |
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))) |
(*.f64 1/2 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) |
(fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) |
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))) |
(*.f64 1/2 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) |
(fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) |
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))) |
(*.f64 1/2 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) |
(fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) |
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))) |
(*.f64 1/2 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) |
(fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) |
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))) |
(*.f64 1/2 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) |
(fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) |
Compiled 2534 to 1768 computations (30.2% saved)
9 alts after pruning (2 fresh and 7 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 192 | 1 | 193 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 6 | 6 |
| Total | 192 | 9 | 201 |
| Status | Error | Program |
|---|---|---|
| ✓ | 24.1b | (*.f64 1/2 (*.f64 2 (cosh.f64 im))) |
| ▶ | 24.3b | (*.f64 1/2 (pow.f64 (pow.f64 (*.f64 2 (cosh.f64 im)) 3) 1/3)) |
| 24.9b | 1 | |
| ✓ | 1.0b | (*.f64 (cos.f64 re) (+.f64 1 (*.f64 im (*.f64 im 1/2)))) |
| ✓ | 24.9b | (*.f64 1/2 (expm1.f64 (log1p.f64 (*.f64 2 (cosh.f64 im))))) |
| ✓ | 1.2b | (cos.f64 re) |
| ✓ | 0.0b | (*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) |
| ✓ | 0.8b | (*.f64 (cos.f64 re) (+.f64 (+.f64 1 (*.f64 im (*.f64 im 1/2))) (*.f64 (pow.f64 im 4) 1/24))) |
| ✓ | 24.1b | (+.f64 (/.f64 1/2 (exp.f64 im)) (*.f64 (exp.f64 im) 1/2)) |
Compiled 91 to 74 computations (18.7% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (cosh.f64 im) | |
| ✓ | 0.0b | (pow.f64 (*.f64 2 (cosh.f64 im)) 3) |
| ✓ | 0.3b | (pow.f64 (pow.f64 (*.f64 2 (cosh.f64 im)) 3) 1/3) |
Compiled 37 to 27 computations (27% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 3.0ms | im | @ | inf | (pow.f64 (pow.f64 (*.f64 2 (cosh.f64 im)) 3) 1/3) |
| 2.0ms | im | @ | -inf | (pow.f64 (pow.f64 (*.f64 2 (cosh.f64 im)) 3) 1/3) |
| 1.0ms | im | @ | 0 | (pow.f64 (pow.f64 (*.f64 2 (cosh.f64 im)) 3) 1/3) |
| 0.0ms | im | @ | 0 | (pow.f64 (*.f64 2 (cosh.f64 im)) 3) |
| 0.0ms | im | @ | inf | (pow.f64 (*.f64 2 (cosh.f64 im)) 3) |
| 1× | batch-egg-rewrite |
| 707× | pow1_binary64 |
| 670× | add-log-exp_binary64 |
| 668× | log1p-expm1-u_binary64 |
| 668× | expm1-log1p-u_binary64 |
| 654× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 15 |
| 1 | 203 | 15 |
| 2 | 1958 | 15 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (pow.f64 (*.f64 2 (cosh.f64 im)) 3) 1/3) |
(pow.f64 (*.f64 2 (cosh.f64 im)) 3) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 2 (cosh.f64 im))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (cosh.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cosh.f64 im) 2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 2 (cosh.f64 im)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 2 (cosh.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 2 (cosh.f64 im))) (cbrt.f64 (*.f64 4 (pow.f64 (cosh.f64 im) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 2 (cosh.f64 im))) (pow.f64 (*.f64 4 (pow.f64 (cosh.f64 im) 2)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 4 (pow.f64 (cosh.f64 im) 2))) (cbrt.f64 (*.f64 2 (cosh.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (cosh.f64 im) 2)) (*.f64 (cbrt.f64 (cosh.f64 im)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 2 (cosh.f64 im))) (sqrt.f64 (*.f64 2 (cosh.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cosh.f64 im)) (*.f64 (sqrt.f64 (cosh.f64 im)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 4 (pow.f64 (cosh.f64 im) 2)) 1/3) (cbrt.f64 (*.f64 2 (cosh.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (*.f64 2 (cosh.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 8 1/3) (cosh.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (*.f64 2 (cosh.f64 im)) 3/2) 1/3) (pow.f64 (pow.f64 (*.f64 2 (cosh.f64 im)) 3/2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 2 (cbrt.f64 (pow.f64 (cosh.f64 im) 2))) (cbrt.f64 (cosh.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 2 (sqrt.f64 (cosh.f64 im))) (sqrt.f64 (cosh.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (exp.f64 im) 3) (pow.f64 (exp.f64 (neg.f64 im)) 3)) (+.f64 (*.f64 (exp.f64 im) (exp.f64 im)) (-.f64 (*.f64 (exp.f64 (neg.f64 im)) (exp.f64 (neg.f64 im))) (*.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (exp.f64 im) (exp.f64 im)) (*.f64 (exp.f64 (neg.f64 im)) (exp.f64 (neg.f64 im)))) (-.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 2 (cosh.f64 im)) 2) 2)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 2 (*.f64 2 (cosh.f64 im))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 4 (pow.f64 (cosh.f64 im) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 2) (cosh.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 8 (pow.f64 (cosh.f64 im) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 2 (cosh.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 2 (cosh.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 2 (cosh.f64 im)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 8 (pow.f64 (cosh.f64 im) 3))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (*.f64 (cosh.f64 im) (*.f64 4 (pow.f64 (cosh.f64 im) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cosh.f64 im) (*.f64 2 (*.f64 4 (pow.f64 (cosh.f64 im) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 2 (cosh.f64 im)) (*.f64 4 (pow.f64 (cosh.f64 im) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 8 (pow.f64 (cosh.f64 im) 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 8 (pow.f64 (cosh.f64 im) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 4 (pow.f64 (cosh.f64 im) 2)) (*.f64 2 (cosh.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 8 (pow.f64 (cosh.f64 im) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 4 (pow.f64 (cosh.f64 im) 2))) (*.f64 (cbrt.f64 (*.f64 2 (cosh.f64 im))) (*.f64 4 (pow.f64 (cosh.f64 im) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 2 (cosh.f64 im))) (*.f64 (sqrt.f64 (*.f64 2 (cosh.f64 im))) (*.f64 4 (pow.f64 (cosh.f64 im) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cosh.f64 im) 3) 8)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 2 (cosh.f64 im)) 3/2) (pow.f64 (*.f64 2 (cosh.f64 im)) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 4 (pow.f64 (cosh.f64 im) 2))) 3) (*.f64 2 (cosh.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (*.f64 2 (cosh.f64 im))) 3) (pow.f64 (sqrt.f64 (*.f64 2 (cosh.f64 im))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 4 (pow.f64 (cosh.f64 im) 2)) 2) (cosh.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 4 (pow.f64 (cosh.f64 im) 2)) (cosh.f64 im)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 4 (pow.f64 (cosh.f64 im) 2)) 1) (*.f64 2 (cosh.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 4 (pow.f64 (cosh.f64 im) 2)) (cbrt.f64 (*.f64 4 (pow.f64 (cosh.f64 im) 2)))) (cbrt.f64 (*.f64 2 (cosh.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 4 (pow.f64 (cosh.f64 im) 2)) (sqrt.f64 (*.f64 2 (cosh.f64 im)))) (sqrt.f64 (*.f64 2 (cosh.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 2 (cosh.f64 im)) 6))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 8) (pow.f64 (cosh.f64 im) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 8 (pow.f64 (cosh.f64 im) 3)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 8 (pow.f64 (cosh.f64 im) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 8 (pow.f64 (cosh.f64 im) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 3 (log.f64 (*.f64 2 (cosh.f64 im))))))))) |
| 1× | egg-herbie |
| 625× | times-frac_binary64 |
| 441× | distribute-rgt-out_binary64 |
| 407× | fma-def_binary64 |
| 368× | distribute-rgt-in_binary64 |
| 349× | distribute-lft-in_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 37 | 281 |
| 1 | 87 | 273 |
| 2 | 209 | 269 |
| 3 | 641 | 267 |
| 4 | 2284 | 267 |
| 5 | 4828 | 267 |
| 1× | node limit |
| Inputs |
|---|
2 |
(+.f64 2 (pow.f64 im 2)) |
(+.f64 2 (+.f64 (pow.f64 im 2) (*.f64 1/12 (pow.f64 im 4)))) |
(+.f64 2 (+.f64 (pow.f64 im 2) (+.f64 (*.f64 1/12 (pow.f64 im 4)) (*.f64 1/360 (pow.f64 im 6))))) |
(+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im)) |
(+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im)) |
(+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im)) |
(+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im)) |
(+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im)) |
(+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im)) |
(+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im)) |
(+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im)) |
8 |
(+.f64 (*.f64 12 (pow.f64 im 2)) 8) |
(+.f64 (*.f64 12 (pow.f64 im 2)) (+.f64 8 (*.f64 7 (pow.f64 im 4)))) |
(+.f64 (*.f64 12 (pow.f64 im 2)) (+.f64 8 (+.f64 (*.f64 61/30 (pow.f64 im 6)) (*.f64 7 (pow.f64 im 4))))) |
(pow.f64 (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im)) 3) |
(pow.f64 (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im)) 3) |
(pow.f64 (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im)) 3) |
(pow.f64 (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im)) 3) |
(pow.f64 (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im)) 3) |
(pow.f64 (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im)) 3) |
(pow.f64 (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im)) 3) |
(pow.f64 (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im)) 3) |
| Outputs |
|---|
2 |
(+.f64 2 (pow.f64 im 2)) |
(+.f64 2 (*.f64 im im)) |
(fma.f64 im im 2) |
(+.f64 2 (+.f64 (pow.f64 im 2) (*.f64 1/12 (pow.f64 im 4)))) |
(+.f64 2 (+.f64 (*.f64 im im) (*.f64 1/12 (pow.f64 im 4)))) |
(+.f64 2 (fma.f64 im im (*.f64 1/12 (pow.f64 im 4)))) |
(fma.f64 im im (fma.f64 1/12 (pow.f64 im 4) 2)) |
(+.f64 2 (+.f64 (pow.f64 im 2) (+.f64 (*.f64 1/12 (pow.f64 im 4)) (*.f64 1/360 (pow.f64 im 6))))) |
(+.f64 2 (+.f64 (*.f64 im im) (fma.f64 1/12 (pow.f64 im 4) (*.f64 1/360 (pow.f64 im 6))))) |
(+.f64 2 (fma.f64 im im (fma.f64 1/12 (pow.f64 im 4) (*.f64 1/360 (pow.f64 im 6))))) |
(+.f64 (fma.f64 im im 2) (fma.f64 1/360 (pow.f64 im 6) (*.f64 1/12 (pow.f64 im 4)))) |
(fma.f64 1/12 (pow.f64 im 4) (fma.f64 1/360 (pow.f64 im 6) (fma.f64 im im 2))) |
(fma.f64 im im (fma.f64 1/12 (pow.f64 im 4) (fma.f64 1/360 (pow.f64 im 6) 2))) |
(+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im)) |
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) |
(+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im)) |
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) |
(+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im)) |
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) |
(+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im)) |
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) |
(+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im)) |
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) |
(+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im)) |
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) |
(+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im)) |
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) |
(+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im)) |
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) |
8 |
(+.f64 (*.f64 12 (pow.f64 im 2)) 8) |
(fma.f64 12 (*.f64 im im) 8) |
(fma.f64 (*.f64 im im) 12 8) |
(+.f64 (*.f64 12 (pow.f64 im 2)) (+.f64 8 (*.f64 7 (pow.f64 im 4)))) |
(+.f64 (fma.f64 12 (*.f64 im im) 8) (*.f64 (pow.f64 im 4) 7)) |
(fma.f64 (*.f64 im im) 12 (fma.f64 (pow.f64 im 4) 7 8)) |
(fma.f64 im (*.f64 im 12) (fma.f64 (pow.f64 im 4) 7 8)) |
(fma.f64 (pow.f64 im 4) 7 (fma.f64 (*.f64 im im) 12 8)) |
(fma.f64 (*.f64 im im) (fma.f64 im (*.f64 im 7) 12) 8) |
(+.f64 (*.f64 12 (pow.f64 im 2)) (+.f64 8 (+.f64 (*.f64 61/30 (pow.f64 im 6)) (*.f64 7 (pow.f64 im 4))))) |
(+.f64 (fma.f64 12 (*.f64 im im) 8) (fma.f64 61/30 (pow.f64 im 6) (*.f64 (pow.f64 im 4) 7))) |
(+.f64 (fma.f64 (*.f64 im im) 12 8) (fma.f64 (pow.f64 im 4) 7 (*.f64 (pow.f64 im 6) 61/30))) |
(fma.f64 im (*.f64 im 12) (fma.f64 (pow.f64 im 4) 7 (fma.f64 (pow.f64 im 6) 61/30 8))) |
(fma.f64 (pow.f64 im 4) 7 (fma.f64 (pow.f64 im 6) 61/30 (fma.f64 (*.f64 im im) 12 8))) |
(pow.f64 (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im)) 3) |
(pow.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) 3) |
(pow.f64 (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im)) 3) |
(pow.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) 3) |
(pow.f64 (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im)) 3) |
(pow.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) 3) |
(pow.f64 (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im)) 3) |
(pow.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) 3) |
(pow.f64 (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im)) 3) |
(pow.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) 3) |
(pow.f64 (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im)) 3) |
(pow.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) 3) |
(pow.f64 (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im)) 3) |
(pow.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) 3) |
(pow.f64 (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im)) 3) |
(pow.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) 3) |
Compiled 1368 to 1039 computations (24% saved)
9 alts after pruning (1 fresh and 8 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 100 | 0 | 100 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 7 | 7 |
| Total | 100 | 9 | 109 |
| Status | Error | Program |
|---|---|---|
| ✓ | 24.1b | (*.f64 1/2 (*.f64 2 (cosh.f64 im))) |
| ✓ | 24.3b | (*.f64 1/2 (pow.f64 (pow.f64 (*.f64 2 (cosh.f64 im)) 3) 1/3)) |
| 24.9b | 1 | |
| ✓ | 1.0b | (*.f64 (cos.f64 re) (+.f64 1 (*.f64 im (*.f64 im 1/2)))) |
| ✓ | 24.9b | (*.f64 1/2 (expm1.f64 (log1p.f64 (*.f64 2 (cosh.f64 im))))) |
| ✓ | 1.2b | (cos.f64 re) |
| ✓ | 0.0b | (*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) |
| ✓ | 0.8b | (*.f64 (cos.f64 re) (+.f64 (+.f64 1 (*.f64 im (*.f64 im 1/2))) (*.f64 (pow.f64 im 4) 1/24))) |
| ✓ | 24.1b | (+.f64 (/.f64 1/2 (exp.f64 im)) (*.f64 (exp.f64 im) 1/2)) |
Compiled 91 to 74 computations (18.7% saved)
| Inputs |
|---|
1 |
(cos.f64 re) |
(*.f64 1/2 (*.f64 2 (cosh.f64 im))) |
(*.f64 (cos.f64 re) (+.f64 1 (*.f64 im (*.f64 im 1/2)))) |
(*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) |
(+.f64 (/.f64 1/2 (exp.f64 im)) (*.f64 (exp.f64 im) 1/2)) |
(*.f64 (cos.f64 re) (+.f64 (+.f64 1 (*.f64 im (*.f64 im 1/2))) (*.f64 (pow.f64 im 4) 1/24))) |
(*.f64 1/2 (expm1.f64 (log1p.f64 (*.f64 2 (cosh.f64 im))))) |
(fma.f64 (exp.f64 im) 1/2 (/.f64 1/2 (exp.f64 im))) |
(*.f64 1/2 (pow.f64 (pow.f64 (*.f64 2 (cosh.f64 im)) 3) 1/3)) |
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) |
(*.f64 (cos.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))) |
| Outputs |
|---|
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) |
6 calls:
| 9.0ms | im |
| 8.0ms | (*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) |
| 8.0ms | re |
| 7.0ms | (cos.f64 re) |
| 6.0ms | (*.f64 1/2 (cos.f64 re)) |
| Error | Segments | Branch |
|---|---|---|
| 0.0b | 1 | re |
| 0.0b | 1 | im |
| 0.0b | 1 | (*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) |
| 0.0b | 1 | (*.f64 1/2 (cos.f64 re)) |
| 0.0b | 1 | (cos.f64 re) |
| 0.0b | 1 | (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) |
Compiled 139 to 92 computations (33.8% saved)
| Inputs |
|---|
1 |
(cos.f64 re) |
(*.f64 1/2 (*.f64 2 (cosh.f64 im))) |
(*.f64 (cos.f64 re) (+.f64 1 (*.f64 im (*.f64 im 1/2)))) |
(*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) |
(+.f64 (/.f64 1/2 (exp.f64 im)) (*.f64 (exp.f64 im) 1/2)) |
(*.f64 (cos.f64 re) (+.f64 (+.f64 1 (*.f64 im (*.f64 im 1/2))) (*.f64 (pow.f64 im 4) 1/24))) |
(*.f64 1/2 (expm1.f64 (log1p.f64 (*.f64 2 (cosh.f64 im))))) |
(fma.f64 (exp.f64 im) 1/2 (/.f64 1/2 (exp.f64 im))) |
(*.f64 1/2 (pow.f64 (pow.f64 (*.f64 2 (cosh.f64 im)) 3) 1/3)) |
| Outputs |
|---|
(*.f64 (cos.f64 re) (+.f64 (+.f64 1 (*.f64 im (*.f64 im 1/2))) (*.f64 (pow.f64 im 4) 1/24))) |
3 calls:
| 20.0ms | re |
| 8.0ms | im |
| 6.0ms | (cos.f64 re) |
| Error | Segments | Branch |
|---|---|---|
| 0.8b | 1 | re |
| 0.8b | 1 | im |
| 0.8b | 1 | (cos.f64 re) |
Compiled 90 to 62 computations (31.1% saved)
| Inputs |
|---|
1 |
(cos.f64 re) |
(*.f64 1/2 (*.f64 2 (cosh.f64 im))) |
(*.f64 (cos.f64 re) (+.f64 1 (*.f64 im (*.f64 im 1/2)))) |
(*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) |
(+.f64 (/.f64 1/2 (exp.f64 im)) (*.f64 (exp.f64 im) 1/2)) |
| Outputs |
|---|
(*.f64 (cos.f64 re) (+.f64 1 (*.f64 im (*.f64 im 1/2)))) |
3 calls:
| 6.0ms | re |
| 5.0ms | im |
| 4.0ms | (cos.f64 re) |
| Error | Segments | Branch |
|---|---|---|
| 1.0b | 1 | re |
| 1.0b | 1 | im |
| 1.0b | 1 | (cos.f64 re) |
Compiled 48 to 33 computations (31.3% saved)
Total -23.7b remaining (-1936.3%)
Threshold costs -23.7b (-1936.3%)
| Inputs |
|---|
1 |
(cos.f64 re) |
(*.f64 1/2 (*.f64 2 (cosh.f64 im))) |
| Outputs |
|---|
(cos.f64 re) |
3 calls:
| 35.0ms | re |
| 4.0ms | im |
| 3.0ms | (cos.f64 re) |
| Error | Segments | Branch |
|---|---|---|
| 1.2b | 1 | re |
| 1.2b | 1 | im |
| 1.2b | 1 | (cos.f64 re) |
Compiled 21 to 16 computations (23.8% saved)
| 1× | egg-herbie |
| 8× | *-commutative_binary64 |
| 4× | +-commutative_binary64 |
| 1× | sub-neg_binary64 |
| 1× | neg-sub0_binary64 |
| 1× | neg-mul-1_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 22 | 61 |
| 1 | 37 | 61 |
| 2 | 39 | 61 |
| 3 | 40 | 61 |
| 1× | fuel |
| 1× | saturated |
| Inputs |
|---|
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) |
(*.f64 (cos.f64 re) (+.f64 (+.f64 1 (*.f64 im (*.f64 im 1/2))) (*.f64 (pow.f64 im 4) 1/24))) |
(*.f64 (cos.f64 re) (+.f64 1 (*.f64 im (*.f64 im 1/2)))) |
(cos.f64 re) |
1 |
| Outputs |
|---|
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) |
(*.f64 (cos.f64 re) (+.f64 (+.f64 1 (*.f64 im (*.f64 im 1/2))) (*.f64 (pow.f64 im 4) 1/24))) |
(*.f64 (cos.f64 re) (+.f64 (+.f64 1 (*.f64 im (*.f64 1/2 im))) (*.f64 (pow.f64 im 4) 1/24))) |
(*.f64 (cos.f64 re) (+.f64 1 (*.f64 im (*.f64 im 1/2)))) |
(*.f64 (cos.f64 re) (+.f64 1 (*.f64 im (*.f64 1/2 im)))) |
(cos.f64 re) |
1 |
Compiled 50 to 39 computations (22% saved)
Compiled 42 to 28 computations (33.3% saved)
Loading profile data...