Time bar (total: 8.5s)
| 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% | 40.6% | 9.5% | 7 |
| 50% | 39% | 11% | 8 |
| 50% | 33.6% | 16.5% | 9 |
| 50% | 32.4% | 17.7% | 10 |
| 50% | 29.5% | 20.6% | 11 |
| 50% | 28.8% | 21.3% | 12 |
| 50% | 27.3% | 22.8% | 13 |
| 50% | 26.9% | 23.1% | 14 |
Compiled 14 to 11 computations (21.4% saved)
| 3.0s | 4212× | body | 1024 | valid |
| 1.1s | 1997× | body | 1024 | invalid |
| 869.0ms | 2135× | body | 512 | valid |
| 371.0ms | 1018× | body | 512 | invalid |
| 273.0ms | 1052× | body | 256 | valid |
| 247.0ms | 244× | body | 2048 | valid |
| 133.0ms | 531× | body | 256 | invalid |
| 127.0ms | 800× | body | 128 | invalid |
| 104.0ms | 613× | body | 128 | valid |
Compiled 28 to 22 computations (21.4% saved)
| 2× | egg-herbie |
| 816× | fma-def_binary64 |
| 600× | times-frac_binary64 |
| 456× | fma-neg_binary64 |
| 228× | distribute-rgt-neg-in_binary64 |
| 146× | distribute-rgt-in_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 18 | 36 |
| 1 | 39 | 36 |
| 2 | 93 | 36 |
| 3 | 247 | 36 |
| 4 | 557 | 34 |
| 5 | 1130 | 34 |
| 6 | 2092 | 34 |
| 7 | 4019 | 34 |
| 0 | 2 | 2 |
| 1× | saturated |
| 1× | node limit |
| Inputs |
|---|
0 |
1 |
| Outputs |
|---|
0 |
1 |
| Inputs |
|---|
(*.f64 (*.f64 1/2 (sin.f64 re)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) |
(*.f64 (*.f64 1/2 (sin.f64 im)) (-.f64 (exp.f64 (neg.f64 re)) (exp.f64 re))) |
| Outputs |
|---|
(*.f64 (*.f64 1/2 (sin.f64 re)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) |
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) |
(*.f64 (sin.f64 re) (fma.f64 (exp.f64 im) -1/2 (/.f64 1/2 (exp.f64 im)))) |
(*.f64 (*.f64 1/2 (sin.f64 im)) (-.f64 (exp.f64 (neg.f64 re)) (exp.f64 re))) |
(*.f64 1/2 (*.f64 (sin.f64 im) (-.f64 (exp.f64 (neg.f64 re)) (exp.f64 re)))) |
(*.f64 (sin.f64 im) (fma.f64 (exp.f64 re) -1/2 (/.f64 1/2 (exp.f64 re)))) |
Compiled 13 to 10 computations (23.1% saved)
| 1× | egg-herbie |
| 454× | fma-def_binary64 |
| 444× | times-frac_binary64 |
| 365× | distribute-rgt-neg-in_binary64 |
| 340× | fma-neg_binary64 |
| 297× | cancel-sign-sub-inv_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 18 |
| 1 | 23 | 18 |
| 2 | 51 | 18 |
| 3 | 126 | 18 |
| 4 | 286 | 17 |
| 5 | 581 | 17 |
| 6 | 1384 | 17 |
| 7 | 2793 | 17 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (*.f64 1/2 (sin.f64 re)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) |
| Outputs |
|---|
(*.f64 (*.f64 1/2 (sin.f64 re)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) |
(*.f64 (sin.f64 re) (fma.f64 (exp.f64 im) -1/2 (/.f64 1/2 (exp.f64 im)))) |
2 alts after pruning (2 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 1 | 1 | 2 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 0 | 0 |
| Total | 1 | 2 | 3 |
| Status | Error | Program |
|---|---|---|
| ▶ | 41.8b | (*.f64 (*.f64 1/2 (sin.f64 re)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) |
Compiled 50 to 35 computations (30% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (sin.f64 re) |
| ✓ | 0.0b | (*.f64 (*.f64 1/2 (sin.f64 re)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) |
| ✓ | 3.8b | (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) |
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | re | @ | 0 | (*.f64 (*.f64 1/2 (sin.f64 re)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) |
| 1.0ms | im | @ | 0 | (*.f64 (*.f64 1/2 (sin.f64 re)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) |
| 1.0ms | im | @ | inf | (*.f64 (*.f64 1/2 (sin.f64 re)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) |
| 1.0ms | re | @ | inf | (*.f64 (*.f64 1/2 (sin.f64 re)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) |
| 1.0ms | im | @ | -inf | (*.f64 (*.f64 1/2 (sin.f64 re)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) |
| 3× | egg-rewrite |
| 2× | egg-rewrite-iter-limit |
| 1× | batch-egg-rewrite |
| 272× | pow1_binary64 |
| 262× | add-sqr-sqrt_binary64 |
| 257× | *-un-lft-identity_binary64 |
| 250× | add-log-exp_binary64 |
| 250× | log1p-expm1-u_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 30 |
| 1 | 228 | 30 |
| 2 | 3510 | 30 |
| 0 | 6 | 10 |
| 1 | 127 | 10 |
| 2 | 2085 | 10 |
| 0 | 6 | 10 |
| 0 | 11 | 18 |
| 1 | 228 | 18 |
| 2 | 3509 | 18 |
| 0 | 11 | 18 |
| 0 | 3 | 3 |
| 1 | 58 | 3 |
| 2 | 673 | 3 |
| 1× | node limit |
| 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 (sin.f64 re)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) |
(sin.f64 re) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (exp.f64 (neg.f64 im)) (neg.f64 (exp.f64 im)))))) (#(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 exp.f64 (log.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 expm1.f64 (log1p.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/2 (*.f64 (sin.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 (sin.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 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) (*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))) (*.f64 1/2 (*.f64 (sin.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 (sin.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 (sin.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 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (sin.f64 re))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (sin.f64 re)))) (log.f64 (sqrt.f64 (exp.f64 (sin.f64 re)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (exp.f64 (sin.f64 re))) (cbrt.f64 (exp.f64 (sin.f64 re))))) (log.f64 (cbrt.f64 (exp.f64 (sin.f64 re)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (sin.f64 re)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (*.f64 (sin.f64 (+.f64 1 re)) (cos.f64 1)) (*.f64 (cos.f64 (+.f64 1 re)) (sin.f64 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sin.f64 re) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (sin.f64 re))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sin.f64 re)) (pow.f64 (cbrt.f64 (sin.f64 re)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (sin.f64 re)) 2) (cbrt.f64 (sin.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (sin.f64 re)) (sqrt.f64 (sin.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sin.f64 re) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (sin.f64 re) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (sin.f64 re)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (sin.f64 re)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (sin.f64 re) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sin.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (sin.f64 re) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (sin.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sin.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (sin.f64 re))))))) |
| 1× | egg-herbie |
| 742× | fma-def_binary64 |
| 285× | cancel-sign-sub-inv_binary64 |
| 255× | associate-*l*_binary64 |
| 245× | associate-*r*_binary64 |
| 208× | associate--r+_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 108 | 786 |
| 1 | 334 | 768 |
| 2 | 1133 | 714 |
| 3 | 4921 | 714 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 -2 im) |
(neg.f64 (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 im))) |
(neg.f64 (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 im)))) |
(neg.f64 (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (+.f64 (*.f64 1/2520 (pow.f64 im 7)) (*.f64 2 im))))) |
(-.f64 (exp.f64 (*.f64 -1 im)) (exp.f64 im)) |
(-.f64 (exp.f64 (*.f64 -1 im)) (exp.f64 im)) |
(-.f64 (exp.f64 (*.f64 -1 im)) (exp.f64 im)) |
(-.f64 (exp.f64 (*.f64 -1 im)) (exp.f64 im)) |
(*.f64 (-.f64 (*.f64 1/2 (exp.f64 (neg.f64 im))) (*.f64 1/2 (exp.f64 im))) re) |
(-.f64 (+.f64 (*.f64 1/2 (*.f64 (exp.f64 (neg.f64 im)) re)) (*.f64 1/12 (*.f64 (exp.f64 im) (pow.f64 re 3)))) (+.f64 (*.f64 1/2 (*.f64 re (exp.f64 im))) (*.f64 1/12 (*.f64 (exp.f64 (neg.f64 im)) (pow.f64 re 3))))) |
(-.f64 (+.f64 (*.f64 1/2 (*.f64 (exp.f64 (neg.f64 im)) re)) (+.f64 (*.f64 1/12 (*.f64 (exp.f64 im) (pow.f64 re 3))) (*.f64 1/240 (*.f64 (exp.f64 (neg.f64 im)) (pow.f64 re 5))))) (+.f64 (*.f64 1/2 (*.f64 re (exp.f64 im))) (+.f64 (*.f64 1/12 (*.f64 (exp.f64 (neg.f64 im)) (pow.f64 re 3))) (*.f64 1/240 (*.f64 (pow.f64 re 5) (exp.f64 im)))))) |
(-.f64 (+.f64 (*.f64 1/10080 (*.f64 (pow.f64 re 7) (exp.f64 im))) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 (neg.f64 im)) re)) (+.f64 (*.f64 1/12 (*.f64 (exp.f64 im) (pow.f64 re 3))) (*.f64 1/240 (*.f64 (exp.f64 (neg.f64 im)) (pow.f64 re 5)))))) (+.f64 (*.f64 1/2 (*.f64 re (exp.f64 im))) (+.f64 (*.f64 1/12 (*.f64 (exp.f64 (neg.f64 im)) (pow.f64 re 3))) (+.f64 (*.f64 1/240 (*.f64 (pow.f64 re 5) (exp.f64 im))) (*.f64 1/10080 (*.f64 (exp.f64 (neg.f64 im)) (pow.f64 re 7))))))) |
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) |
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) |
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) |
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) |
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) |
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) |
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) |
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) |
(*.f64 -1 (*.f64 (sin.f64 re) im)) |
(neg.f64 (+.f64 (*.f64 (sin.f64 re) im) (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3))))) |
(neg.f64 (+.f64 (*.f64 (sin.f64 re) im) (+.f64 (*.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3)))))) |
(neg.f64 (+.f64 (*.f64 (sin.f64 re) im) (+.f64 (*.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) (+.f64 (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3))) (*.f64 1/5040 (*.f64 (sin.f64 re) (pow.f64 im 7))))))) |
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) |
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) |
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) |
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) |
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (*.f64 -1 im)) (exp.f64 im)))) |
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (*.f64 -1 im)) (exp.f64 im)))) |
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (*.f64 -1 im)) (exp.f64 im)))) |
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (*.f64 -1 im)) (exp.f64 im)))) |
re |
(-.f64 re (*.f64 1/6 (pow.f64 re 3))) |
(-.f64 (+.f64 (*.f64 1/120 (pow.f64 re 5)) re) (*.f64 1/6 (pow.f64 re 3))) |
(-.f64 (+.f64 (*.f64 1/120 (pow.f64 re 5)) re) (+.f64 (*.f64 1/6 (pow.f64 re 3)) (*.f64 1/5040 (pow.f64 re 7)))) |
| Outputs |
|---|
(*.f64 -2 im) |
(neg.f64 (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 im))) |
(neg.f64 (fma.f64 1/3 (pow.f64 im 3) (*.f64 im 2))) |
(-.f64 (*.f64 (pow.f64 im 3) -1/3) (*.f64 im 2)) |
(fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im)) |
(neg.f64 (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 im)))) |
(neg.f64 (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (*.f64 im 2)))) |
(-.f64 (*.f64 (pow.f64 im 5) -1/60) (fma.f64 1/3 (pow.f64 im 3) (*.f64 im 2))) |
(fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im))) |
(neg.f64 (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (+.f64 (*.f64 1/2520 (pow.f64 im 7)) (*.f64 2 im))))) |
(neg.f64 (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 1/2520 (pow.f64 im 7) (*.f64 im 2))))) |
(-.f64 (*.f64 (pow.f64 im 5) -1/60) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7))))) |
(-.f64 (*.f64 (pow.f64 im 5) -1/60) (fma.f64 im 2 (fma.f64 1/2520 (pow.f64 im 7) (*.f64 1/3 (pow.f64 im 3))))) |
(-.f64 (exp.f64 (*.f64 -1 im)) (exp.f64 im)) |
(-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) |
(-.f64 (exp.f64 (*.f64 -1 im)) (exp.f64 im)) |
(-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) |
(-.f64 (exp.f64 (*.f64 -1 im)) (exp.f64 im)) |
(-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) |
(-.f64 (exp.f64 (*.f64 -1 im)) (exp.f64 im)) |
(-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) |
(*.f64 (-.f64 (*.f64 1/2 (exp.f64 (neg.f64 im))) (*.f64 1/2 (exp.f64 im))) re) |
(*.f64 (*.f64 1/2 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) re) |
(*.f64 1/2 (*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) re)) |
(*.f64 (fma.f64 (exp.f64 im) -1/2 (/.f64 1/2 (exp.f64 im))) re) |
(-.f64 (+.f64 (*.f64 1/2 (*.f64 (exp.f64 (neg.f64 im)) re)) (*.f64 1/12 (*.f64 (exp.f64 im) (pow.f64 re 3)))) (+.f64 (*.f64 1/2 (*.f64 re (exp.f64 im))) (*.f64 1/12 (*.f64 (exp.f64 (neg.f64 im)) (pow.f64 re 3))))) |
(-.f64 (fma.f64 1/2 (*.f64 (exp.f64 (neg.f64 im)) re) (*.f64 (*.f64 1/12 (exp.f64 im)) (pow.f64 re 3))) (fma.f64 1/2 (*.f64 (exp.f64 im) re) (*.f64 1/12 (*.f64 (exp.f64 (neg.f64 im)) (pow.f64 re 3))))) |
(-.f64 (fma.f64 (/.f64 1/2 (exp.f64 im)) re (*.f64 1/12 (*.f64 (exp.f64 im) (pow.f64 re 3)))) (fma.f64 1/2 (*.f64 (exp.f64 im) re) (*.f64 (pow.f64 re 3) (/.f64 1/12 (exp.f64 im))))) |
(fma.f64 1/2 (/.f64 re (exp.f64 im)) (+.f64 (*.f64 (*.f64 1/12 (pow.f64 re 3)) (-.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) (*.f64 (exp.f64 im) (*.f64 re -1/2)))) |
(-.f64 (+.f64 (*.f64 1/2 (*.f64 (exp.f64 (neg.f64 im)) re)) (+.f64 (*.f64 1/12 (*.f64 (exp.f64 im) (pow.f64 re 3))) (*.f64 1/240 (*.f64 (exp.f64 (neg.f64 im)) (pow.f64 re 5))))) (+.f64 (*.f64 1/2 (*.f64 re (exp.f64 im))) (+.f64 (*.f64 1/12 (*.f64 (exp.f64 (neg.f64 im)) (pow.f64 re 3))) (*.f64 1/240 (*.f64 (pow.f64 re 5) (exp.f64 im)))))) |
(-.f64 (fma.f64 1/2 (*.f64 (exp.f64 (neg.f64 im)) re) (fma.f64 1/12 (*.f64 (exp.f64 im) (pow.f64 re 3)) (*.f64 1/240 (*.f64 (exp.f64 (neg.f64 im)) (pow.f64 re 5))))) (fma.f64 1/2 (*.f64 (exp.f64 im) re) (fma.f64 1/12 (*.f64 (exp.f64 (neg.f64 im)) (pow.f64 re 3)) (*.f64 1/240 (*.f64 (exp.f64 im) (pow.f64 re 5)))))) |
(-.f64 (fma.f64 (/.f64 1/2 (exp.f64 im)) re (fma.f64 (/.f64 1/240 (exp.f64 im)) (pow.f64 re 5) (*.f64 1/12 (*.f64 (exp.f64 im) (pow.f64 re 3))))) (fma.f64 1/2 (*.f64 (exp.f64 im) re) (fma.f64 1/240 (*.f64 (exp.f64 im) (pow.f64 re 5)) (*.f64 (pow.f64 re 3) (/.f64 1/12 (exp.f64 im)))))) |
(fma.f64 1/2 (/.f64 re (exp.f64 im)) (fma.f64 1/240 (/.f64 (pow.f64 re 5) (exp.f64 im)) (-.f64 (*.f64 (*.f64 1/12 (pow.f64 re 3)) (-.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) (*.f64 (exp.f64 im) (+.f64 (*.f64 1/2 re) (*.f64 1/240 (pow.f64 re 5))))))) |
(-.f64 (+.f64 (*.f64 1/10080 (*.f64 (pow.f64 re 7) (exp.f64 im))) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 (neg.f64 im)) re)) (+.f64 (*.f64 1/12 (*.f64 (exp.f64 im) (pow.f64 re 3))) (*.f64 1/240 (*.f64 (exp.f64 (neg.f64 im)) (pow.f64 re 5)))))) (+.f64 (*.f64 1/2 (*.f64 re (exp.f64 im))) (+.f64 (*.f64 1/12 (*.f64 (exp.f64 (neg.f64 im)) (pow.f64 re 3))) (+.f64 (*.f64 1/240 (*.f64 (pow.f64 re 5) (exp.f64 im))) (*.f64 1/10080 (*.f64 (exp.f64 (neg.f64 im)) (pow.f64 re 7))))))) |
(-.f64 (fma.f64 1/10080 (*.f64 (exp.f64 im) (pow.f64 re 7)) (fma.f64 1/2 (*.f64 (exp.f64 (neg.f64 im)) re) (fma.f64 1/12 (*.f64 (exp.f64 im) (pow.f64 re 3)) (*.f64 1/240 (*.f64 (exp.f64 (neg.f64 im)) (pow.f64 re 5)))))) (fma.f64 1/2 (*.f64 (exp.f64 im) re) (fma.f64 1/12 (*.f64 (exp.f64 (neg.f64 im)) (pow.f64 re 3)) (fma.f64 1/240 (*.f64 (exp.f64 im) (pow.f64 re 5)) (*.f64 1/10080 (*.f64 (exp.f64 (neg.f64 im)) (pow.f64 re 7))))))) |
(fma.f64 1/10080 (*.f64 (exp.f64 im) (pow.f64 re 7)) (-.f64 (fma.f64 (/.f64 1/2 (exp.f64 im)) re (fma.f64 (/.f64 1/240 (exp.f64 im)) (pow.f64 re 5) (*.f64 1/12 (*.f64 (exp.f64 im) (pow.f64 re 3))))) (fma.f64 1/2 (*.f64 (exp.f64 im) re) (fma.f64 (/.f64 1/12 (exp.f64 im)) (pow.f64 re 3) (fma.f64 1/240 (*.f64 (exp.f64 im) (pow.f64 re 5)) (*.f64 (pow.f64 re 7) (/.f64 1/10080 (exp.f64 im)))))))) |
(fma.f64 (exp.f64 im) (*.f64 1/10080 (pow.f64 re 7)) (-.f64 (fma.f64 1/2 (/.f64 re (exp.f64 im)) (fma.f64 1/240 (/.f64 (pow.f64 re 5) (exp.f64 im)) (-.f64 (*.f64 (*.f64 1/12 (pow.f64 re 3)) (-.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) (*.f64 (exp.f64 im) (+.f64 (*.f64 1/2 re) (*.f64 1/240 (pow.f64 re 5))))))) (*.f64 1/10080 (/.f64 (pow.f64 re 7) (exp.f64 im))))) |
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) |
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (sin.f64 re))) |
(*.f64 (fma.f64 (exp.f64 im) -1/2 (/.f64 1/2 (exp.f64 im))) (sin.f64 re)) |
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) |
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (sin.f64 re))) |
(*.f64 (fma.f64 (exp.f64 im) -1/2 (/.f64 1/2 (exp.f64 im))) (sin.f64 re)) |
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) |
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (sin.f64 re))) |
(*.f64 (fma.f64 (exp.f64 im) -1/2 (/.f64 1/2 (exp.f64 im))) (sin.f64 re)) |
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) |
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (sin.f64 re))) |
(*.f64 (fma.f64 (exp.f64 im) -1/2 (/.f64 1/2 (exp.f64 im))) (sin.f64 re)) |
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) |
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (sin.f64 re))) |
(*.f64 (fma.f64 (exp.f64 im) -1/2 (/.f64 1/2 (exp.f64 im))) (sin.f64 re)) |
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) |
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (sin.f64 re))) |
(*.f64 (fma.f64 (exp.f64 im) -1/2 (/.f64 1/2 (exp.f64 im))) (sin.f64 re)) |
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) |
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (sin.f64 re))) |
(*.f64 (fma.f64 (exp.f64 im) -1/2 (/.f64 1/2 (exp.f64 im))) (sin.f64 re)) |
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) |
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (sin.f64 re))) |
(*.f64 (fma.f64 (exp.f64 im) -1/2 (/.f64 1/2 (exp.f64 im))) (sin.f64 re)) |
(*.f64 -1 (*.f64 (sin.f64 re) im)) |
(neg.f64 (*.f64 im (sin.f64 re))) |
(*.f64 (neg.f64 im) (sin.f64 re)) |
(neg.f64 (+.f64 (*.f64 (sin.f64 re) im) (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3))))) |
(neg.f64 (fma.f64 (sin.f64 re) im (*.f64 (*.f64 1/6 (sin.f64 re)) (pow.f64 im 3)))) |
(-.f64 (*.f64 (*.f64 (pow.f64 im 3) (sin.f64 re)) -1/6) (*.f64 im (sin.f64 re))) |
(*.f64 (sin.f64 re) (-.f64 (neg.f64 im) (*.f64 (pow.f64 im 3) 1/6))) |
(neg.f64 (+.f64 (*.f64 (sin.f64 re) im) (+.f64 (*.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3)))))) |
(neg.f64 (fma.f64 (sin.f64 re) im (fma.f64 1/120 (*.f64 (pow.f64 im 5) (sin.f64 re)) (*.f64 (*.f64 1/6 (sin.f64 re)) (pow.f64 im 3))))) |
(neg.f64 (fma.f64 im (sin.f64 re) (fma.f64 1/6 (*.f64 (pow.f64 im 3) (sin.f64 re)) (*.f64 (pow.f64 im 5) (*.f64 (sin.f64 re) 1/120))))) |
(-.f64 (*.f64 (pow.f64 im 3) (*.f64 (sin.f64 re) -1/6)) (*.f64 (sin.f64 re) (+.f64 im (*.f64 (pow.f64 im 5) 1/120)))) |
(neg.f64 (+.f64 (*.f64 (sin.f64 re) im) (+.f64 (*.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) (+.f64 (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3))) (*.f64 1/5040 (*.f64 (sin.f64 re) (pow.f64 im 7))))))) |
(neg.f64 (fma.f64 (sin.f64 re) im (fma.f64 1/120 (*.f64 (pow.f64 im 5) (sin.f64 re)) (fma.f64 1/6 (*.f64 (pow.f64 im 3) (sin.f64 re)) (*.f64 1/5040 (*.f64 (pow.f64 im 7) (sin.f64 re))))))) |
(neg.f64 (fma.f64 im (sin.f64 re) (fma.f64 1/120 (*.f64 (pow.f64 im 5) (sin.f64 re)) (fma.f64 1/6 (*.f64 (pow.f64 im 3) (sin.f64 re)) (*.f64 (sin.f64 re) (*.f64 (pow.f64 im 7) 1/5040)))))) |
(-.f64 (*.f64 (sin.f64 re) (-.f64 (neg.f64 im) (*.f64 (pow.f64 im 3) 1/6))) (*.f64 (sin.f64 re) (+.f64 (*.f64 (pow.f64 im 5) 1/120) (*.f64 (pow.f64 im 7) 1/5040)))) |
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) |
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (sin.f64 re))) |
(*.f64 (fma.f64 (exp.f64 im) -1/2 (/.f64 1/2 (exp.f64 im))) (sin.f64 re)) |
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) |
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (sin.f64 re))) |
(*.f64 (fma.f64 (exp.f64 im) -1/2 (/.f64 1/2 (exp.f64 im))) (sin.f64 re)) |
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) |
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (sin.f64 re))) |
(*.f64 (fma.f64 (exp.f64 im) -1/2 (/.f64 1/2 (exp.f64 im))) (sin.f64 re)) |
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) |
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (sin.f64 re))) |
(*.f64 (fma.f64 (exp.f64 im) -1/2 (/.f64 1/2 (exp.f64 im))) (sin.f64 re)) |
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (*.f64 -1 im)) (exp.f64 im)))) |
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) |
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (sin.f64 re))) |
(*.f64 (fma.f64 (exp.f64 im) -1/2 (/.f64 1/2 (exp.f64 im))) (sin.f64 re)) |
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (*.f64 -1 im)) (exp.f64 im)))) |
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) |
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (sin.f64 re))) |
(*.f64 (fma.f64 (exp.f64 im) -1/2 (/.f64 1/2 (exp.f64 im))) (sin.f64 re)) |
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (*.f64 -1 im)) (exp.f64 im)))) |
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) |
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (sin.f64 re))) |
(*.f64 (fma.f64 (exp.f64 im) -1/2 (/.f64 1/2 (exp.f64 im))) (sin.f64 re)) |
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (*.f64 -1 im)) (exp.f64 im)))) |
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) |
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (sin.f64 re))) |
(*.f64 (fma.f64 (exp.f64 im) -1/2 (/.f64 1/2 (exp.f64 im))) (sin.f64 re)) |
re |
(-.f64 re (*.f64 1/6 (pow.f64 re 3))) |
(+.f64 re (*.f64 -1/6 (pow.f64 re 3))) |
(+.f64 re (*.f64 (pow.f64 re 3) -1/6)) |
(fma.f64 (pow.f64 re 3) -1/6 re) |
(-.f64 (+.f64 (*.f64 1/120 (pow.f64 re 5)) re) (*.f64 1/6 (pow.f64 re 3))) |
(+.f64 (fma.f64 1/120 (pow.f64 re 5) re) (*.f64 -1/6 (pow.f64 re 3))) |
(+.f64 (fma.f64 (pow.f64 re 5) 1/120 re) (*.f64 (pow.f64 re 3) -1/6)) |
(fma.f64 (pow.f64 re 3) -1/6 (fma.f64 (pow.f64 re 5) 1/120 re)) |
(-.f64 (+.f64 (*.f64 1/120 (pow.f64 re 5)) re) (+.f64 (*.f64 1/6 (pow.f64 re 3)) (*.f64 1/5040 (pow.f64 re 7)))) |
(-.f64 (fma.f64 1/120 (pow.f64 re 5) re) (fma.f64 1/6 (pow.f64 re 3) (*.f64 (pow.f64 re 7) 1/5040))) |
(-.f64 (fma.f64 (pow.f64 re 5) 1/120 re) (fma.f64 (pow.f64 re 3) 1/6 (*.f64 (pow.f64 re 7) 1/5040))) |
(+.f64 (fma.f64 (pow.f64 re 3) -1/6 (fma.f64 (pow.f64 re 5) 1/120 re)) (*.f64 (pow.f64 re 7) -1/5040)) |
4 alts after pruning (4 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 69 | 4 | 73 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 70 | 4 | 74 |
| Status | Error | Program |
|---|---|---|
| 41.8b | (*.f64 (*.f64 1/2 (pow.f64 (cbrt.f64 (sin.f64 re)) 3)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) | |
| ▶ | 0.3b | (*.f64 (*.f64 1/2 (sin.f64 re)) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im)))) |
| 0.4b | (neg.f64 (+.f64 (*.f64 (sin.f64 re) im) (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3))))) | |
| 43.3b | (log.f64 (exp.f64 (*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))) |
Compiled 1527 to 774 computations (49.3% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (sin.f64 re) | |
| ✓ | 0.1b | (*.f64 (*.f64 1/2 (sin.f64 re)) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im)))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 3.0ms | re | @ | inf | (*.f64 (*.f64 1/2 (sin.f64 re)) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im)))) |
| 2.0ms | re | @ | 0 | (*.f64 (*.f64 1/2 (sin.f64 re)) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im)))) |
| 1.0ms | im | @ | -inf | (*.f64 (*.f64 1/2 (sin.f64 re)) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im)))) |
| 1.0ms | im | @ | inf | (*.f64 (*.f64 1/2 (sin.f64 re)) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im)))) |
| 1.0ms | re | @ | -inf | (*.f64 (*.f64 1/2 (sin.f64 re)) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im)))) |
| 1× | batch-egg-rewrite |
| 292× | expm1-udef_binary64 |
| 292× | log1p-udef_binary64 |
| 188× | prod-diff_binary64 |
| 169× | add-sqr-sqrt_binary64 |
| 161× | add-log-exp_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 17 | 26 |
| 1 | 360 | 26 |
| 2 | 3865 | 26 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (*.f64 1/2 (sin.f64 re)) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im)))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (pow.f64 im 5) -1/60) (*.f64 1/2 (sin.f64 re))) (*.f64 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2)) (*.f64 1/2 (sin.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 1/2 (sin.f64 re)) (*.f64 (pow.f64 im 5) -1/60)) (*.f64 (*.f64 1/2 (sin.f64 re)) (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 1/2 (*.f64 (sin.f64 re) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2))))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/2 (*.f64 (sin.f64 re) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 1/2 (*.f64 (sin.f64 re) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2))))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 1/2 (*.f64 (sin.f64 re) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2)))))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 1/2 (*.f64 (sin.f64 re) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2)))))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 1/2 (*.f64 (sin.f64 re) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2))))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (pow.f64 (exp.f64 1/2) (sin.f64 re)) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 1/2 (*.f64 (sin.f64 re) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2))))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 1/2 (*.f64 (sin.f64 re) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2))))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 1/2 (sin.f64 re)) 3) (pow.f64 (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2))) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2))) 3) (pow.f64 (*.f64 1/2 (sin.f64 re)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 1/2 (*.f64 (sin.f64 re) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2)))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 1/2 (*.f64 (sin.f64 re) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2)))))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/2 (*.f64 (sin.f64 re) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2)))))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/2 (*.f64 (sin.f64 re) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2))))))))))) |
| 1× | egg-herbie |
| 764× | fma-def_binary64 |
| 551× | associate-*l*_binary64 |
| 475× | associate-*r*_binary64 |
| 326× | associate--r+_binary64 |
| 244× | cancel-sign-sub-inv_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 90 | 818 |
| 1 | 290 | 800 |
| 2 | 1237 | 728 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 -1 (*.f64 re (+.f64 (*.f64 1/120 (pow.f64 im 5)) (+.f64 (*.f64 1/6 (pow.f64 im 3)) im)))) |
(-.f64 (+.f64 (*.f64 1/6 (*.f64 (pow.f64 re 3) im)) (+.f64 (*.f64 1/720 (*.f64 (pow.f64 re 3) (pow.f64 im 5))) (*.f64 1/36 (*.f64 (pow.f64 re 3) (pow.f64 im 3))))) (+.f64 (*.f64 1/120 (*.f64 re (pow.f64 im 5))) (+.f64 (*.f64 1/6 (*.f64 re (pow.f64 im 3))) (*.f64 re im)))) |
(-.f64 (+.f64 (*.f64 1/6 (*.f64 (pow.f64 re 3) im)) (+.f64 (*.f64 1/720 (*.f64 (pow.f64 re 3) (pow.f64 im 5))) (*.f64 1/36 (*.f64 (pow.f64 re 3) (pow.f64 im 3))))) (+.f64 (*.f64 1/720 (*.f64 (pow.f64 re 5) (pow.f64 im 3))) (+.f64 (*.f64 1/14400 (*.f64 (pow.f64 re 5) (pow.f64 im 5))) (+.f64 (*.f64 1/120 (*.f64 (pow.f64 re 5) im)) (+.f64 (*.f64 1/120 (*.f64 re (pow.f64 im 5))) (+.f64 (*.f64 1/6 (*.f64 re (pow.f64 im 3))) (*.f64 re im))))))) |
(-.f64 (+.f64 (*.f64 1/720 (*.f64 (pow.f64 re 3) (pow.f64 im 5))) (+.f64 (*.f64 1/6 (*.f64 (pow.f64 re 3) im)) (+.f64 (*.f64 1/5040 (*.f64 (pow.f64 re 7) im)) (+.f64 (*.f64 1/30240 (*.f64 (pow.f64 re 7) (pow.f64 im 3))) (+.f64 (*.f64 1/604800 (*.f64 (pow.f64 re 7) (pow.f64 im 5))) (*.f64 1/36 (*.f64 (pow.f64 re 3) (pow.f64 im 3)))))))) (+.f64 (*.f64 1/720 (*.f64 (pow.f64 re 5) (pow.f64 im 3))) (+.f64 (*.f64 1/14400 (*.f64 (pow.f64 re 5) (pow.f64 im 5))) (+.f64 (*.f64 1/120 (*.f64 (pow.f64 re 5) im)) (+.f64 (*.f64 1/120 (*.f64 re (pow.f64 im 5))) (+.f64 (*.f64 1/6 (*.f64 re (pow.f64 im 3))) (*.f64 re im))))))) |
(*.f64 -1/2 (*.f64 (sin.f64 re) (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 im))))) |
(*.f64 -1/2 (*.f64 (sin.f64 re) (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 im))))) |
(*.f64 -1/2 (*.f64 (sin.f64 re) (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 im))))) |
(*.f64 -1/2 (*.f64 (sin.f64 re) (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 im))))) |
(*.f64 -1/2 (*.f64 (sin.f64 re) (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 im))))) |
(*.f64 -1/2 (*.f64 (sin.f64 re) (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 im))))) |
(*.f64 -1/2 (*.f64 (sin.f64 re) (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 im))))) |
(*.f64 -1/2 (*.f64 (sin.f64 re) (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 im))))) |
(*.f64 -1 (*.f64 (sin.f64 re) im)) |
(neg.f64 (+.f64 (*.f64 (sin.f64 re) im) (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3))))) |
(neg.f64 (+.f64 (*.f64 (sin.f64 re) im) (+.f64 (*.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3)))))) |
(neg.f64 (+.f64 (*.f64 (sin.f64 re) im) (+.f64 (*.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3)))))) |
(*.f64 -1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) |
(neg.f64 (+.f64 (*.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3))))) |
(neg.f64 (+.f64 (*.f64 (sin.f64 re) im) (+.f64 (*.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3)))))) |
(neg.f64 (+.f64 (*.f64 (sin.f64 re) im) (+.f64 (*.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3)))))) |
(*.f64 -1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) |
(neg.f64 (+.f64 (*.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3))))) |
(neg.f64 (+.f64 (*.f64 (sin.f64 re) im) (+.f64 (*.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3)))))) |
(neg.f64 (+.f64 (*.f64 (sin.f64 re) im) (+.f64 (*.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3)))))) |
| Outputs |
|---|
(*.f64 -1 (*.f64 re (+.f64 (*.f64 1/120 (pow.f64 im 5)) (+.f64 (*.f64 1/6 (pow.f64 im 3)) im)))) |
(neg.f64 (*.f64 re (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im)))) |
(*.f64 (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im)) (neg.f64 re)) |
(-.f64 (+.f64 (*.f64 1/6 (*.f64 (pow.f64 re 3) im)) (+.f64 (*.f64 1/720 (*.f64 (pow.f64 re 3) (pow.f64 im 5))) (*.f64 1/36 (*.f64 (pow.f64 re 3) (pow.f64 im 3))))) (+.f64 (*.f64 1/120 (*.f64 re (pow.f64 im 5))) (+.f64 (*.f64 1/6 (*.f64 re (pow.f64 im 3))) (*.f64 re im)))) |
(-.f64 (fma.f64 1/6 (*.f64 im (pow.f64 re 3)) (fma.f64 1/720 (*.f64 (pow.f64 im 5) (pow.f64 re 3)) (*.f64 1/36 (*.f64 (pow.f64 im 3) (pow.f64 re 3))))) (fma.f64 1/120 (*.f64 re (pow.f64 im 5)) (fma.f64 1/6 (*.f64 re (pow.f64 im 3)) (*.f64 re im)))) |
(-.f64 (fma.f64 1/6 (*.f64 im (pow.f64 re 3)) (fma.f64 1/720 (*.f64 (pow.f64 im 5) (pow.f64 re 3)) (*.f64 (pow.f64 im 3) (*.f64 (pow.f64 re 3) 1/36)))) (*.f64 re (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im)))) |
(-.f64 (fma.f64 im (*.f64 1/6 (pow.f64 re 3)) (*.f64 (pow.f64 re 3) (+.f64 (*.f64 1/720 (pow.f64 im 5)) (*.f64 1/36 (pow.f64 im 3))))) (*.f64 re (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im)))) |
(-.f64 (+.f64 (*.f64 1/6 (*.f64 (pow.f64 re 3) im)) (+.f64 (*.f64 1/720 (*.f64 (pow.f64 re 3) (pow.f64 im 5))) (*.f64 1/36 (*.f64 (pow.f64 re 3) (pow.f64 im 3))))) (+.f64 (*.f64 1/720 (*.f64 (pow.f64 re 5) (pow.f64 im 3))) (+.f64 (*.f64 1/14400 (*.f64 (pow.f64 re 5) (pow.f64 im 5))) (+.f64 (*.f64 1/120 (*.f64 (pow.f64 re 5) im)) (+.f64 (*.f64 1/120 (*.f64 re (pow.f64 im 5))) (+.f64 (*.f64 1/6 (*.f64 re (pow.f64 im 3))) (*.f64 re im))))))) |
(-.f64 (fma.f64 1/6 (*.f64 im (pow.f64 re 3)) (fma.f64 1/720 (*.f64 (pow.f64 im 5) (pow.f64 re 3)) (*.f64 1/36 (*.f64 (pow.f64 im 3) (pow.f64 re 3))))) (fma.f64 1/720 (*.f64 (pow.f64 im 3) (pow.f64 re 5)) (fma.f64 1/14400 (*.f64 (pow.f64 im 5) (pow.f64 re 5)) (fma.f64 1/120 (*.f64 im (pow.f64 re 5)) (fma.f64 1/120 (*.f64 re (pow.f64 im 5)) (fma.f64 1/6 (*.f64 re (pow.f64 im 3)) (*.f64 re im))))))) |
(-.f64 (fma.f64 1/6 (*.f64 im (pow.f64 re 3)) (fma.f64 1/720 (*.f64 (pow.f64 im 5) (pow.f64 re 3)) (*.f64 (pow.f64 im 3) (*.f64 (pow.f64 re 3) 1/36)))) (fma.f64 1/720 (*.f64 (pow.f64 im 3) (pow.f64 re 5)) (fma.f64 1/14400 (*.f64 (pow.f64 im 5) (pow.f64 re 5)) (fma.f64 1/120 (*.f64 im (pow.f64 re 5)) (*.f64 re (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im))))))) |
(+.f64 (*.f64 (pow.f64 re 3) (+.f64 (*.f64 1/6 im) (*.f64 1/720 (pow.f64 im 5)))) (-.f64 (*.f64 (pow.f64 im 3) (-.f64 (*.f64 (pow.f64 re 3) 1/36) (*.f64 1/720 (pow.f64 re 5)))) (fma.f64 re (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im)) (*.f64 (pow.f64 re 5) (+.f64 (*.f64 1/14400 (pow.f64 im 5)) (*.f64 1/120 im)))))) |
(-.f64 (+.f64 (*.f64 1/720 (*.f64 (pow.f64 re 3) (pow.f64 im 5))) (+.f64 (*.f64 1/6 (*.f64 (pow.f64 re 3) im)) (+.f64 (*.f64 1/5040 (*.f64 (pow.f64 re 7) im)) (+.f64 (*.f64 1/30240 (*.f64 (pow.f64 re 7) (pow.f64 im 3))) (+.f64 (*.f64 1/604800 (*.f64 (pow.f64 re 7) (pow.f64 im 5))) (*.f64 1/36 (*.f64 (pow.f64 re 3) (pow.f64 im 3)))))))) (+.f64 (*.f64 1/720 (*.f64 (pow.f64 re 5) (pow.f64 im 3))) (+.f64 (*.f64 1/14400 (*.f64 (pow.f64 re 5) (pow.f64 im 5))) (+.f64 (*.f64 1/120 (*.f64 (pow.f64 re 5) im)) (+.f64 (*.f64 1/120 (*.f64 re (pow.f64 im 5))) (+.f64 (*.f64 1/6 (*.f64 re (pow.f64 im 3))) (*.f64 re im))))))) |
(-.f64 (fma.f64 1/720 (*.f64 (pow.f64 im 5) (pow.f64 re 3)) (fma.f64 1/6 (*.f64 im (pow.f64 re 3)) (fma.f64 1/5040 (*.f64 im (pow.f64 re 7)) (fma.f64 1/30240 (*.f64 (pow.f64 im 3) (pow.f64 re 7)) (fma.f64 1/604800 (*.f64 (pow.f64 im 5) (pow.f64 re 7)) (*.f64 1/36 (*.f64 (pow.f64 im 3) (pow.f64 re 3)))))))) (fma.f64 1/720 (*.f64 (pow.f64 im 3) (pow.f64 re 5)) (fma.f64 1/14400 (*.f64 (pow.f64 im 5) (pow.f64 re 5)) (fma.f64 1/120 (*.f64 im (pow.f64 re 5)) (fma.f64 1/120 (*.f64 re (pow.f64 im 5)) (fma.f64 1/6 (*.f64 re (pow.f64 im 3)) (*.f64 re im))))))) |
(-.f64 (fma.f64 1/720 (*.f64 (pow.f64 im 5) (pow.f64 re 3)) (fma.f64 1/6 (*.f64 im (pow.f64 re 3)) (fma.f64 1/5040 (*.f64 im (pow.f64 re 7)) (fma.f64 1/30240 (*.f64 (pow.f64 im 3) (pow.f64 re 7)) (fma.f64 1/36 (*.f64 (pow.f64 im 3) (pow.f64 re 3)) (*.f64 (pow.f64 re 7) (*.f64 (pow.f64 im 5) 1/604800))))))) (fma.f64 1/720 (*.f64 (pow.f64 im 3) (pow.f64 re 5)) (fma.f64 1/14400 (*.f64 (pow.f64 im 5) (pow.f64 re 5)) (fma.f64 1/120 (*.f64 im (pow.f64 re 5)) (*.f64 re (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im))))))) |
(-.f64 (fma.f64 (pow.f64 im 5) (*.f64 (pow.f64 re 3) 1/720) (+.f64 (fma.f64 im (fma.f64 1/6 (pow.f64 re 3) (*.f64 1/5040 (pow.f64 re 7))) (*.f64 (pow.f64 re 7) (+.f64 (*.f64 1/604800 (pow.f64 im 5)) (*.f64 1/30240 (pow.f64 im 3))))) (*.f64 (pow.f64 im 3) (-.f64 (*.f64 (pow.f64 re 3) 1/36) (*.f64 1/720 (pow.f64 re 5)))))) (fma.f64 re (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im)) (*.f64 (pow.f64 re 5) (+.f64 (*.f64 1/14400 (pow.f64 im 5)) (*.f64 1/120 im))))) |
(*.f64 -1/2 (*.f64 (sin.f64 re) (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 im))))) |
(*.f64 -1/2 (*.f64 (sin.f64 re) (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (*.f64 im 2))))) |
(*.f64 (fma.f64 (pow.f64 im 5) 1/60 (fma.f64 (pow.f64 im 3) 1/3 (*.f64 im 2))) (*.f64 -1/2 (sin.f64 re))) |
(*.f64 -1/2 (*.f64 (sin.f64 re) (fma.f64 (pow.f64 im 5) 1/60 (fma.f64 (pow.f64 im 3) 1/3 (*.f64 im 2))))) |
(*.f64 -1/2 (*.f64 (sin.f64 re) (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 im))))) |
(*.f64 -1/2 (*.f64 (sin.f64 re) (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (*.f64 im 2))))) |
(*.f64 (fma.f64 (pow.f64 im 5) 1/60 (fma.f64 (pow.f64 im 3) 1/3 (*.f64 im 2))) (*.f64 -1/2 (sin.f64 re))) |
(*.f64 -1/2 (*.f64 (sin.f64 re) (fma.f64 (pow.f64 im 5) 1/60 (fma.f64 (pow.f64 im 3) 1/3 (*.f64 im 2))))) |
(*.f64 -1/2 (*.f64 (sin.f64 re) (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 im))))) |
(*.f64 -1/2 (*.f64 (sin.f64 re) (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (*.f64 im 2))))) |
(*.f64 (fma.f64 (pow.f64 im 5) 1/60 (fma.f64 (pow.f64 im 3) 1/3 (*.f64 im 2))) (*.f64 -1/2 (sin.f64 re))) |
(*.f64 -1/2 (*.f64 (sin.f64 re) (fma.f64 (pow.f64 im 5) 1/60 (fma.f64 (pow.f64 im 3) 1/3 (*.f64 im 2))))) |
(*.f64 -1/2 (*.f64 (sin.f64 re) (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 im))))) |
(*.f64 -1/2 (*.f64 (sin.f64 re) (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (*.f64 im 2))))) |
(*.f64 (fma.f64 (pow.f64 im 5) 1/60 (fma.f64 (pow.f64 im 3) 1/3 (*.f64 im 2))) (*.f64 -1/2 (sin.f64 re))) |
(*.f64 -1/2 (*.f64 (sin.f64 re) (fma.f64 (pow.f64 im 5) 1/60 (fma.f64 (pow.f64 im 3) 1/3 (*.f64 im 2))))) |
(*.f64 -1/2 (*.f64 (sin.f64 re) (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 im))))) |
(*.f64 -1/2 (*.f64 (sin.f64 re) (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (*.f64 im 2))))) |
(*.f64 (fma.f64 (pow.f64 im 5) 1/60 (fma.f64 (pow.f64 im 3) 1/3 (*.f64 im 2))) (*.f64 -1/2 (sin.f64 re))) |
(*.f64 -1/2 (*.f64 (sin.f64 re) (fma.f64 (pow.f64 im 5) 1/60 (fma.f64 (pow.f64 im 3) 1/3 (*.f64 im 2))))) |
(*.f64 -1/2 (*.f64 (sin.f64 re) (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 im))))) |
(*.f64 -1/2 (*.f64 (sin.f64 re) (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (*.f64 im 2))))) |
(*.f64 (fma.f64 (pow.f64 im 5) 1/60 (fma.f64 (pow.f64 im 3) 1/3 (*.f64 im 2))) (*.f64 -1/2 (sin.f64 re))) |
(*.f64 -1/2 (*.f64 (sin.f64 re) (fma.f64 (pow.f64 im 5) 1/60 (fma.f64 (pow.f64 im 3) 1/3 (*.f64 im 2))))) |
(*.f64 -1/2 (*.f64 (sin.f64 re) (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 im))))) |
(*.f64 -1/2 (*.f64 (sin.f64 re) (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (*.f64 im 2))))) |
(*.f64 (fma.f64 (pow.f64 im 5) 1/60 (fma.f64 (pow.f64 im 3) 1/3 (*.f64 im 2))) (*.f64 -1/2 (sin.f64 re))) |
(*.f64 -1/2 (*.f64 (sin.f64 re) (fma.f64 (pow.f64 im 5) 1/60 (fma.f64 (pow.f64 im 3) 1/3 (*.f64 im 2))))) |
(*.f64 -1/2 (*.f64 (sin.f64 re) (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 im))))) |
(*.f64 -1/2 (*.f64 (sin.f64 re) (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (*.f64 im 2))))) |
(*.f64 (fma.f64 (pow.f64 im 5) 1/60 (fma.f64 (pow.f64 im 3) 1/3 (*.f64 im 2))) (*.f64 -1/2 (sin.f64 re))) |
(*.f64 -1/2 (*.f64 (sin.f64 re) (fma.f64 (pow.f64 im 5) 1/60 (fma.f64 (pow.f64 im 3) 1/3 (*.f64 im 2))))) |
(*.f64 -1 (*.f64 (sin.f64 re) im)) |
(neg.f64 (*.f64 im (sin.f64 re))) |
(*.f64 (sin.f64 re) (neg.f64 im)) |
(neg.f64 (+.f64 (*.f64 (sin.f64 re) im) (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3))))) |
(neg.f64 (fma.f64 (sin.f64 re) im (*.f64 (*.f64 1/6 (sin.f64 re)) (pow.f64 im 3)))) |
(neg.f64 (fma.f64 (*.f64 1/6 (sin.f64 re)) (pow.f64 im 3) (*.f64 im (sin.f64 re)))) |
(neg.f64 (*.f64 (sin.f64 re) (fma.f64 1/6 (pow.f64 im 3) im))) |
(neg.f64 (+.f64 (*.f64 (sin.f64 re) im) (+.f64 (*.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3)))))) |
(neg.f64 (fma.f64 (sin.f64 re) im (fma.f64 1/120 (*.f64 (pow.f64 im 5) (sin.f64 re)) (*.f64 (*.f64 1/6 (sin.f64 re)) (pow.f64 im 3))))) |
(neg.f64 (fma.f64 im (sin.f64 re) (fma.f64 1/120 (*.f64 (pow.f64 im 5) (sin.f64 re)) (*.f64 (pow.f64 im 3) (*.f64 1/6 (sin.f64 re)))))) |
(-.f64 (*.f64 (pow.f64 im 3) (*.f64 (sin.f64 re) -1/6)) (*.f64 (sin.f64 re) (fma.f64 1/120 (pow.f64 im 5) im))) |
(neg.f64 (+.f64 (*.f64 (sin.f64 re) im) (+.f64 (*.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3)))))) |
(neg.f64 (fma.f64 (sin.f64 re) im (fma.f64 1/120 (*.f64 (pow.f64 im 5) (sin.f64 re)) (*.f64 (*.f64 1/6 (sin.f64 re)) (pow.f64 im 3))))) |
(neg.f64 (fma.f64 im (sin.f64 re) (fma.f64 1/120 (*.f64 (pow.f64 im 5) (sin.f64 re)) (*.f64 (pow.f64 im 3) (*.f64 1/6 (sin.f64 re)))))) |
(-.f64 (*.f64 (pow.f64 im 3) (*.f64 (sin.f64 re) -1/6)) (*.f64 (sin.f64 re) (fma.f64 1/120 (pow.f64 im 5) im))) |
(*.f64 -1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) |
(*.f64 (*.f64 (pow.f64 im 5) (sin.f64 re)) -1/120) |
(*.f64 (sin.f64 re) (*.f64 (pow.f64 im 5) -1/120)) |
(*.f64 (pow.f64 im 5) (*.f64 (sin.f64 re) -1/120)) |
(neg.f64 (+.f64 (*.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3))))) |
(neg.f64 (fma.f64 1/120 (*.f64 (pow.f64 im 5) (sin.f64 re)) (*.f64 (*.f64 1/6 (sin.f64 re)) (pow.f64 im 3)))) |
(-.f64 (*.f64 (sin.f64 re) (*.f64 (pow.f64 im 5) -1/120)) (*.f64 (pow.f64 im 3) (*.f64 1/6 (sin.f64 re)))) |
(*.f64 (sin.f64 re) (-.f64 (*.f64 (pow.f64 im 5) -1/120) (*.f64 1/6 (pow.f64 im 3)))) |
(neg.f64 (+.f64 (*.f64 (sin.f64 re) im) (+.f64 (*.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3)))))) |
(neg.f64 (fma.f64 (sin.f64 re) im (fma.f64 1/120 (*.f64 (pow.f64 im 5) (sin.f64 re)) (*.f64 (*.f64 1/6 (sin.f64 re)) (pow.f64 im 3))))) |
(neg.f64 (fma.f64 im (sin.f64 re) (fma.f64 1/120 (*.f64 (pow.f64 im 5) (sin.f64 re)) (*.f64 (pow.f64 im 3) (*.f64 1/6 (sin.f64 re)))))) |
(-.f64 (*.f64 (pow.f64 im 3) (*.f64 (sin.f64 re) -1/6)) (*.f64 (sin.f64 re) (fma.f64 1/120 (pow.f64 im 5) im))) |
(neg.f64 (+.f64 (*.f64 (sin.f64 re) im) (+.f64 (*.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3)))))) |
(neg.f64 (fma.f64 (sin.f64 re) im (fma.f64 1/120 (*.f64 (pow.f64 im 5) (sin.f64 re)) (*.f64 (*.f64 1/6 (sin.f64 re)) (pow.f64 im 3))))) |
(neg.f64 (fma.f64 im (sin.f64 re) (fma.f64 1/120 (*.f64 (pow.f64 im 5) (sin.f64 re)) (*.f64 (pow.f64 im 3) (*.f64 1/6 (sin.f64 re)))))) |
(-.f64 (*.f64 (pow.f64 im 3) (*.f64 (sin.f64 re) -1/6)) (*.f64 (sin.f64 re) (fma.f64 1/120 (pow.f64 im 5) im))) |
(*.f64 -1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) |
(*.f64 (*.f64 (pow.f64 im 5) (sin.f64 re)) -1/120) |
(*.f64 (sin.f64 re) (*.f64 (pow.f64 im 5) -1/120)) |
(*.f64 (pow.f64 im 5) (*.f64 (sin.f64 re) -1/120)) |
(neg.f64 (+.f64 (*.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3))))) |
(neg.f64 (fma.f64 1/120 (*.f64 (pow.f64 im 5) (sin.f64 re)) (*.f64 (*.f64 1/6 (sin.f64 re)) (pow.f64 im 3)))) |
(-.f64 (*.f64 (sin.f64 re) (*.f64 (pow.f64 im 5) -1/120)) (*.f64 (pow.f64 im 3) (*.f64 1/6 (sin.f64 re)))) |
(*.f64 (sin.f64 re) (-.f64 (*.f64 (pow.f64 im 5) -1/120) (*.f64 1/6 (pow.f64 im 3)))) |
(neg.f64 (+.f64 (*.f64 (sin.f64 re) im) (+.f64 (*.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3)))))) |
(neg.f64 (fma.f64 (sin.f64 re) im (fma.f64 1/120 (*.f64 (pow.f64 im 5) (sin.f64 re)) (*.f64 (*.f64 1/6 (sin.f64 re)) (pow.f64 im 3))))) |
(neg.f64 (fma.f64 im (sin.f64 re) (fma.f64 1/120 (*.f64 (pow.f64 im 5) (sin.f64 re)) (*.f64 (pow.f64 im 3) (*.f64 1/6 (sin.f64 re)))))) |
(-.f64 (*.f64 (pow.f64 im 3) (*.f64 (sin.f64 re) -1/6)) (*.f64 (sin.f64 re) (fma.f64 1/120 (pow.f64 im 5) im))) |
(neg.f64 (+.f64 (*.f64 (sin.f64 re) im) (+.f64 (*.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3)))))) |
(neg.f64 (fma.f64 (sin.f64 re) im (fma.f64 1/120 (*.f64 (pow.f64 im 5) (sin.f64 re)) (*.f64 (*.f64 1/6 (sin.f64 re)) (pow.f64 im 3))))) |
(neg.f64 (fma.f64 im (sin.f64 re) (fma.f64 1/120 (*.f64 (pow.f64 im 5) (sin.f64 re)) (*.f64 (pow.f64 im 3) (*.f64 1/6 (sin.f64 re)))))) |
(-.f64 (*.f64 (pow.f64 im 3) (*.f64 (sin.f64 re) -1/6)) (*.f64 (sin.f64 re) (fma.f64 1/120 (pow.f64 im 5) im))) |
13 alts after pruning (12 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 54 | 10 | 64 |
| Fresh | 1 | 2 | 3 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 55 | 13 | 68 |
| Status | Error | Program |
|---|---|---|
| 41.8b | (*.f64 (*.f64 1/2 (pow.f64 (cbrt.f64 (sin.f64 re)) 3)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) | |
| ✓ | 0.3b | (*.f64 (*.f64 1/2 (sin.f64 re)) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im)))) |
| 1.1b | (*.f64 (*.f64 1/2 (pow.f64 (cbrt.f64 (sin.f64 re)) 3)) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im)))) | |
| 43.3b | (log.f64 (exp.f64 (*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))) | |
| 24.0b | (pow.f64 (sqrt.f64 (*.f64 1/2 (*.f64 (sin.f64 re) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2)))))) 2) | |
| 1.2b | (pow.f64 (cbrt.f64 (*.f64 1/2 (*.f64 (sin.f64 re) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2)))))) 3) | |
| 15.2b | (*.f64 (*.f64 1/2 (-.f64 (+.f64 1 (sin.f64 re)) 1)) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im)))) | |
| 30.1b | (*.f64 (*.f64 1/2 (pow.f64 (sqrt.f64 (sin.f64 re)) 2)) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im)))) | |
| 15.2b | (*.f64 (*.f64 1/2 (log.f64 (exp.f64 (sin.f64 re)))) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im)))) | |
| 7.5b | (*.f64 (*.f64 1/2 (cbrt.f64 (pow.f64 (sin.f64 re) 3))) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im)))) | |
| 0.3b | (*.f64 (*.f64 1/2 (log1p.f64 (expm1.f64 (sin.f64 re)))) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im)))) | |
| ▶ | 0.3b | (*.f64 (*.f64 1/2 (expm1.f64 (log1p.f64 (sin.f64 re)))) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im)))) |
| 34.9b | (cbrt.f64 (*.f64 (pow.f64 (*.f64 1/2 (sin.f64 re)) 3) (pow.f64 (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2))) 3))) |
Compiled 2136 to 1621 computations (24.1% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (sin.f64 re) | |
| ✓ | 0.1b | (*.f64 (*.f64 1/2 (expm1.f64 (log1p.f64 (sin.f64 re)))) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im)))) |
| ✓ | 0.1b | (expm1.f64 (log1p.f64 (sin.f64 re))) |
| ✓ | 0.2b | (log1p.f64 (sin.f64 re)) |
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 26.0ms | re | @ | inf | (log1p.f64 (sin.f64 re)) |
| 25.0ms | re | @ | -inf | (log1p.f64 (sin.f64 re)) |
| 1.0ms | re | @ | 0 | (log1p.f64 (sin.f64 re)) |
| 0.0ms | re | @ | 0 | (*.f64 (*.f64 1/2 (expm1.f64 (log1p.f64 (sin.f64 re)))) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im)))) |
| 0.0ms | re | @ | 0 | (expm1.f64 (log1p.f64 (sin.f64 re))) |
| 1× | batch-egg-rewrite |
| 307× | log1p-udef_binary64 |
| 223× | prod-diff_binary64 |
| 177× | add-sqr-sqrt_binary64 |
| 171× | expm1-log1p-u_binary64 |
| 170× | log1p-expm1-u_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 19 | 34 |
| 1 | 381 | 34 |
| 2 | 4072 | 34 |
| 1× | node limit |
| Inputs |
|---|
(log1p.f64 (sin.f64 re)) |
(expm1.f64 (log1p.f64 (sin.f64 re))) |
(*.f64 (*.f64 1/2 (expm1.f64 (log1p.f64 (sin.f64 re)))) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im)))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (log1p.f64 (sin.f64 re)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (log1p.f64 (sin.f64 re)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (log1p.f64 (sin.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (log1p.f64 (sin.f64 re))) (pow.f64 (cbrt.f64 (log1p.f64 (sin.f64 re))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (log1p.f64 (sin.f64 re))) 2) (cbrt.f64 (log1p.f64 (sin.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (log1p.f64 (sin.f64 re))) (sqrt.f64 (log1p.f64 (sin.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (log1p.f64 (sin.f64 re)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (log1p.f64 (sin.f64 re)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (log1p.f64 (sin.f64 re))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (log1p.f64 (sin.f64 re))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (log1p.f64 (sin.f64 re)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 (sin.f64 re) 1))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (log1p.f64 (sin.f64 re)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (log1p.f64 (sin.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (log1p.f64 (sin.f64 re))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (log1p.f64 (sin.f64 re)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (sin.f64 re) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (sin.f64 re) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sin.f64 re) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (sin.f64 re))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sin.f64 re)) (cbrt.f64 (pow.f64 (sin.f64 re) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (sin.f64 re) 2)) (cbrt.f64 (sin.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (sin.f64 re)) (sqrt.f64 (sin.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (+.f64 (sin.f64 re) 1) 3) 1) (+.f64 (*.f64 (+.f64 (sin.f64 re) 1) (+.f64 (sin.f64 re) 1)) (+.f64 1 (*.f64 (+.f64 (sin.f64 re) 1) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (+.f64 (sin.f64 re) 1) (+.f64 (sin.f64 re) 1)) 1) (+.f64 (+.f64 (sin.f64 re) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sin.f64 re) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (sin.f64 re) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (sin.f64 re)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (sin.f64 re)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (sin.f64 re) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sin.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (sin.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (sin.f64 re) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (sin.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sin.f64 re)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sin.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x sin.f64 re))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (pow.f64 im 5) -1/60) (*.f64 (sin.f64 re) 1/2)) (*.f64 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2)) (*.f64 (sin.f64 re) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (sin.f64 re) 1/2) (*.f64 (pow.f64 im 5) -1/60)) (*.f64 (*.f64 (sin.f64 re) 1/2) (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (sin.f64 re) (*.f64 1/2 (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2))))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sin.f64 re) (*.f64 1/2 (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (sin.f64 re) (*.f64 1/2 (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2))))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (sin.f64 re) (*.f64 1/2 (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2)))))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (sin.f64 re) (*.f64 1/2 (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2)))))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (sin.f64 re) (*.f64 1/2 (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2))))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2)))) (*.f64 (sin.f64 re) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (sin.f64 re) (*.f64 1/2 (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2))))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (sin.f64 re) (*.f64 1/2 (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2))))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 (sin.f64 re) 1/2) 3) (pow.f64 (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2))) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2))) 3) (pow.f64 (*.f64 (sin.f64 re) 1/2) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (sin.f64 re) (*.f64 1/2 (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2)))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (sin.f64 re) (*.f64 1/2 (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2)))))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (sin.f64 re) (*.f64 1/2 (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2)))))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (sin.f64 re) (*.f64 1/2 (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2))))))))))) |
| 1× | egg-herbie |
| 885× | fma-def_binary64 |
| 608× | associate-*l*_binary64 |
| 535× | associate-*r*_binary64 |
| 340× | cancel-sign-sub-inv_binary64 |
| 167× | fma-neg_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 113 | 986 |
| 1 | 359 | 967 |
| 2 | 1436 | 890 |
| 1× | node limit |
| Inputs |
|---|
re |
(-.f64 re (*.f64 1/2 (pow.f64 re 2))) |
(-.f64 (+.f64 (*.f64 1/6 (pow.f64 re 3)) re) (*.f64 1/2 (pow.f64 re 2))) |
(-.f64 (+.f64 (*.f64 1/6 (pow.f64 re 3)) re) (+.f64 (*.f64 1/2 (pow.f64 re 2)) (*.f64 1/12 (pow.f64 re 4)))) |
(log.f64 (+.f64 1 (sin.f64 re))) |
(log.f64 (+.f64 1 (sin.f64 re))) |
(log.f64 (+.f64 1 (sin.f64 re))) |
(log.f64 (+.f64 1 (sin.f64 re))) |
(log.f64 (+.f64 1 (sin.f64 re))) |
(log.f64 (+.f64 1 (sin.f64 re))) |
(log.f64 (+.f64 1 (sin.f64 re))) |
(log.f64 (+.f64 1 (sin.f64 re))) |
re |
(-.f64 re (*.f64 1/6 (pow.f64 re 3))) |
(-.f64 (+.f64 (*.f64 1/120 (pow.f64 re 5)) re) (*.f64 1/6 (pow.f64 re 3))) |
(-.f64 (+.f64 (*.f64 1/120 (pow.f64 re 5)) re) (+.f64 (*.f64 1/6 (pow.f64 re 3)) (*.f64 1/5040 (pow.f64 re 7)))) |
(sin.f64 re) |
(sin.f64 re) |
(sin.f64 re) |
(sin.f64 re) |
(sin.f64 re) |
(sin.f64 re) |
(sin.f64 re) |
(sin.f64 re) |
(*.f64 -1 (*.f64 re (+.f64 (*.f64 1/120 (pow.f64 im 5)) (+.f64 (*.f64 1/6 (pow.f64 im 3)) im)))) |
(-.f64 (+.f64 (*.f64 1/6 (*.f64 (pow.f64 re 3) im)) (+.f64 (*.f64 1/720 (*.f64 (pow.f64 re 3) (pow.f64 im 5))) (*.f64 1/36 (*.f64 (pow.f64 re 3) (pow.f64 im 3))))) (+.f64 (*.f64 1/120 (*.f64 re (pow.f64 im 5))) (+.f64 (*.f64 1/6 (*.f64 re (pow.f64 im 3))) (*.f64 re im)))) |
(-.f64 (+.f64 (*.f64 1/6 (*.f64 (pow.f64 re 3) im)) (+.f64 (*.f64 1/720 (*.f64 (pow.f64 re 3) (pow.f64 im 5))) (*.f64 1/36 (*.f64 (pow.f64 re 3) (pow.f64 im 3))))) (+.f64 (*.f64 1/720 (*.f64 (pow.f64 re 5) (pow.f64 im 3))) (+.f64 (*.f64 1/14400 (*.f64 (pow.f64 re 5) (pow.f64 im 5))) (+.f64 (*.f64 1/120 (*.f64 (pow.f64 re 5) im)) (+.f64 (*.f64 1/120 (*.f64 re (pow.f64 im 5))) (+.f64 (*.f64 1/6 (*.f64 re (pow.f64 im 3))) (*.f64 re im))))))) |
(-.f64 (+.f64 (*.f64 1/720 (*.f64 (pow.f64 re 3) (pow.f64 im 5))) (+.f64 (*.f64 1/6 (*.f64 (pow.f64 re 3) im)) (+.f64 (*.f64 1/5040 (*.f64 (pow.f64 re 7) im)) (+.f64 (*.f64 1/30240 (*.f64 (pow.f64 re 7) (pow.f64 im 3))) (+.f64 (*.f64 1/604800 (*.f64 (pow.f64 re 7) (pow.f64 im 5))) (*.f64 1/36 (*.f64 (pow.f64 re 3) (pow.f64 im 3)))))))) (+.f64 (*.f64 1/720 (*.f64 (pow.f64 re 5) (pow.f64 im 3))) (+.f64 (*.f64 1/14400 (*.f64 (pow.f64 re 5) (pow.f64 im 5))) (+.f64 (*.f64 1/120 (*.f64 (pow.f64 re 5) im)) (+.f64 (*.f64 1/120 (*.f64 re (pow.f64 im 5))) (+.f64 (*.f64 1/6 (*.f64 re (pow.f64 im 3))) (*.f64 re im))))))) |
(*.f64 -1/2 (*.f64 (sin.f64 re) (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 im))))) |
(*.f64 -1/2 (*.f64 (sin.f64 re) (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 im))))) |
(*.f64 -1/2 (*.f64 (sin.f64 re) (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 im))))) |
(*.f64 -1/2 (*.f64 (sin.f64 re) (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 im))))) |
(*.f64 -1/2 (*.f64 (sin.f64 re) (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 im))))) |
(*.f64 -1/2 (*.f64 (sin.f64 re) (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 im))))) |
(*.f64 -1/2 (*.f64 (sin.f64 re) (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 im))))) |
(*.f64 -1/2 (*.f64 (sin.f64 re) (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 im))))) |
(*.f64 -1 (*.f64 (sin.f64 re) im)) |
(neg.f64 (+.f64 (*.f64 (sin.f64 re) im) (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3))))) |
(neg.f64 (+.f64 (*.f64 (sin.f64 re) im) (+.f64 (*.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3)))))) |
(neg.f64 (+.f64 (*.f64 (sin.f64 re) im) (+.f64 (*.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3)))))) |
(*.f64 -1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) |
(neg.f64 (+.f64 (*.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3))))) |
(neg.f64 (+.f64 (*.f64 (sin.f64 re) im) (+.f64 (*.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3)))))) |
(neg.f64 (+.f64 (*.f64 (sin.f64 re) im) (+.f64 (*.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3)))))) |
(*.f64 -1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) |
(neg.f64 (+.f64 (*.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3))))) |
(neg.f64 (+.f64 (*.f64 (sin.f64 re) im) (+.f64 (*.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3)))))) |
(neg.f64 (+.f64 (*.f64 (sin.f64 re) im) (+.f64 (*.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3)))))) |
| Outputs |
|---|
re |
(-.f64 re (*.f64 1/2 (pow.f64 re 2))) |
(+.f64 re (*.f64 -1/2 (*.f64 re re))) |
(+.f64 re (*.f64 (*.f64 re re) -1/2)) |
(fma.f64 (*.f64 re re) -1/2 re) |
(-.f64 (+.f64 (*.f64 1/6 (pow.f64 re 3)) re) (*.f64 1/2 (pow.f64 re 2))) |
(+.f64 (fma.f64 1/6 (pow.f64 re 3) re) (*.f64 -1/2 (*.f64 re re))) |
(-.f64 (fma.f64 1/6 (pow.f64 re 3) re) (*.f64 (*.f64 1/2 re) re)) |
(fma.f64 (*.f64 re re) -1/2 (fma.f64 1/6 (pow.f64 re 3) re)) |
(-.f64 (+.f64 (*.f64 1/6 (pow.f64 re 3)) re) (+.f64 (*.f64 1/2 (pow.f64 re 2)) (*.f64 1/12 (pow.f64 re 4)))) |
(-.f64 (fma.f64 1/6 (pow.f64 re 3) re) (fma.f64 1/2 (*.f64 re re) (*.f64 1/12 (pow.f64 re 4)))) |
(+.f64 (fma.f64 1/6 (pow.f64 re 3) re) (fma.f64 (*.f64 re re) -1/2 (*.f64 (pow.f64 re 4) -1/12))) |
(log.f64 (+.f64 1 (sin.f64 re))) |
(log1p.f64 (sin.f64 re)) |
(log.f64 (+.f64 1 (sin.f64 re))) |
(log1p.f64 (sin.f64 re)) |
(log.f64 (+.f64 1 (sin.f64 re))) |
(log1p.f64 (sin.f64 re)) |
(log.f64 (+.f64 1 (sin.f64 re))) |
(log1p.f64 (sin.f64 re)) |
(log.f64 (+.f64 1 (sin.f64 re))) |
(log1p.f64 (sin.f64 re)) |
(log.f64 (+.f64 1 (sin.f64 re))) |
(log1p.f64 (sin.f64 re)) |
(log.f64 (+.f64 1 (sin.f64 re))) |
(log1p.f64 (sin.f64 re)) |
(log.f64 (+.f64 1 (sin.f64 re))) |
(log1p.f64 (sin.f64 re)) |
re |
(-.f64 re (*.f64 1/6 (pow.f64 re 3))) |
(+.f64 re (*.f64 -1/6 (pow.f64 re 3))) |
(+.f64 re (*.f64 (pow.f64 re 3) -1/6)) |
(fma.f64 (pow.f64 re 3) -1/6 re) |
(-.f64 (+.f64 (*.f64 1/120 (pow.f64 re 5)) re) (*.f64 1/6 (pow.f64 re 3))) |
(+.f64 (fma.f64 1/120 (pow.f64 re 5) re) (*.f64 -1/6 (pow.f64 re 3))) |
(+.f64 (fma.f64 1/120 (pow.f64 re 5) re) (*.f64 (pow.f64 re 3) -1/6)) |
(fma.f64 (pow.f64 re 3) -1/6 (fma.f64 1/120 (pow.f64 re 5) re)) |
(-.f64 (+.f64 (*.f64 1/120 (pow.f64 re 5)) re) (+.f64 (*.f64 1/6 (pow.f64 re 3)) (*.f64 1/5040 (pow.f64 re 7)))) |
(-.f64 (fma.f64 1/120 (pow.f64 re 5) re) (fma.f64 1/6 (pow.f64 re 3) (*.f64 1/5040 (pow.f64 re 7)))) |
(+.f64 re (fma.f64 1/120 (pow.f64 re 5) (fma.f64 (pow.f64 re 3) -1/6 (*.f64 (pow.f64 re 7) -1/5040)))) |
(sin.f64 re) |
(sin.f64 re) |
(sin.f64 re) |
(sin.f64 re) |
(sin.f64 re) |
(sin.f64 re) |
(sin.f64 re) |
(sin.f64 re) |
(*.f64 -1 (*.f64 re (+.f64 (*.f64 1/120 (pow.f64 im 5)) (+.f64 (*.f64 1/6 (pow.f64 im 3)) im)))) |
(neg.f64 (*.f64 re (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im)))) |
(*.f64 re (neg.f64 (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im)))) |
(*.f64 (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im)) (neg.f64 re)) |
(-.f64 (+.f64 (*.f64 1/6 (*.f64 (pow.f64 re 3) im)) (+.f64 (*.f64 1/720 (*.f64 (pow.f64 re 3) (pow.f64 im 5))) (*.f64 1/36 (*.f64 (pow.f64 re 3) (pow.f64 im 3))))) (+.f64 (*.f64 1/120 (*.f64 re (pow.f64 im 5))) (+.f64 (*.f64 1/6 (*.f64 re (pow.f64 im 3))) (*.f64 re im)))) |
(-.f64 (fma.f64 1/6 (*.f64 (pow.f64 re 3) im) (fma.f64 1/720 (*.f64 (pow.f64 re 3) (pow.f64 im 5)) (*.f64 (*.f64 1/36 (pow.f64 re 3)) (pow.f64 im 3)))) (fma.f64 1/120 (*.f64 re (pow.f64 im 5)) (fma.f64 1/6 (*.f64 re (pow.f64 im 3)) (*.f64 re im)))) |
(-.f64 (fma.f64 1/6 (*.f64 (pow.f64 re 3) im) (fma.f64 1/720 (*.f64 (pow.f64 re 3) (pow.f64 im 5)) (*.f64 (pow.f64 re 3) (*.f64 (pow.f64 im 3) 1/36)))) (*.f64 re (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im)))) |
(-.f64 (fma.f64 1/6 (*.f64 (pow.f64 re 3) im) (*.f64 (pow.f64 re 3) (+.f64 (*.f64 (pow.f64 im 3) 1/36) (*.f64 (pow.f64 im 5) 1/720)))) (*.f64 re (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im)))) |
(-.f64 (+.f64 (*.f64 1/6 (*.f64 (pow.f64 re 3) im)) (+.f64 (*.f64 1/720 (*.f64 (pow.f64 re 3) (pow.f64 im 5))) (*.f64 1/36 (*.f64 (pow.f64 re 3) (pow.f64 im 3))))) (+.f64 (*.f64 1/720 (*.f64 (pow.f64 re 5) (pow.f64 im 3))) (+.f64 (*.f64 1/14400 (*.f64 (pow.f64 re 5) (pow.f64 im 5))) (+.f64 (*.f64 1/120 (*.f64 (pow.f64 re 5) im)) (+.f64 (*.f64 1/120 (*.f64 re (pow.f64 im 5))) (+.f64 (*.f64 1/6 (*.f64 re (pow.f64 im 3))) (*.f64 re im))))))) |
(-.f64 (fma.f64 1/6 (*.f64 (pow.f64 re 3) im) (fma.f64 1/720 (*.f64 (pow.f64 re 3) (pow.f64 im 5)) (*.f64 (*.f64 1/36 (pow.f64 re 3)) (pow.f64 im 3)))) (fma.f64 1/720 (*.f64 (pow.f64 re 5) (pow.f64 im 3)) (fma.f64 1/14400 (*.f64 (pow.f64 re 5) (pow.f64 im 5)) (fma.f64 1/120 (*.f64 (pow.f64 re 5) im) (fma.f64 1/120 (*.f64 re (pow.f64 im 5)) (fma.f64 1/6 (*.f64 re (pow.f64 im 3)) (*.f64 re im))))))) |
(-.f64 (fma.f64 1/6 (*.f64 (pow.f64 re 3) im) (fma.f64 1/720 (*.f64 (pow.f64 re 3) (pow.f64 im 5)) (*.f64 (pow.f64 re 3) (*.f64 (pow.f64 im 3) 1/36)))) (fma.f64 1/720 (*.f64 (pow.f64 re 5) (pow.f64 im 3)) (fma.f64 1/14400 (*.f64 (pow.f64 re 5) (pow.f64 im 5)) (fma.f64 1/120 (*.f64 (pow.f64 re 5) im) (*.f64 re (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im))))))) |
(-.f64 (+.f64 (*.f64 (pow.f64 re 3) (+.f64 (*.f64 1/6 im) (*.f64 (pow.f64 im 5) 1/720))) (*.f64 (pow.f64 im 3) (-.f64 (*.f64 (pow.f64 re 3) 1/36) (*.f64 (pow.f64 re 5) 1/720)))) (fma.f64 re (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im)) (*.f64 (pow.f64 re 5) (+.f64 (*.f64 (pow.f64 im 5) 1/14400) (*.f64 im 1/120))))) |
(-.f64 (+.f64 (*.f64 1/720 (*.f64 (pow.f64 re 3) (pow.f64 im 5))) (+.f64 (*.f64 1/6 (*.f64 (pow.f64 re 3) im)) (+.f64 (*.f64 1/5040 (*.f64 (pow.f64 re 7) im)) (+.f64 (*.f64 1/30240 (*.f64 (pow.f64 re 7) (pow.f64 im 3))) (+.f64 (*.f64 1/604800 (*.f64 (pow.f64 re 7) (pow.f64 im 5))) (*.f64 1/36 (*.f64 (pow.f64 re 3) (pow.f64 im 3)))))))) (+.f64 (*.f64 1/720 (*.f64 (pow.f64 re 5) (pow.f64 im 3))) (+.f64 (*.f64 1/14400 (*.f64 (pow.f64 re 5) (pow.f64 im 5))) (+.f64 (*.f64 1/120 (*.f64 (pow.f64 re 5) im)) (+.f64 (*.f64 1/120 (*.f64 re (pow.f64 im 5))) (+.f64 (*.f64 1/6 (*.f64 re (pow.f64 im 3))) (*.f64 re im))))))) |
(-.f64 (fma.f64 1/720 (*.f64 (pow.f64 re 3) (pow.f64 im 5)) (fma.f64 1/6 (*.f64 (pow.f64 re 3) im) (fma.f64 1/5040 (*.f64 (pow.f64 re 7) im) (fma.f64 1/30240 (*.f64 (pow.f64 re 7) (pow.f64 im 3)) (fma.f64 1/604800 (*.f64 (pow.f64 re 7) (pow.f64 im 5)) (*.f64 (*.f64 1/36 (pow.f64 re 3)) (pow.f64 im 3))))))) (fma.f64 1/720 (*.f64 (pow.f64 re 5) (pow.f64 im 3)) (fma.f64 1/14400 (*.f64 (pow.f64 re 5) (pow.f64 im 5)) (fma.f64 1/120 (*.f64 (pow.f64 re 5) im) (fma.f64 1/120 (*.f64 re (pow.f64 im 5)) (fma.f64 1/6 (*.f64 re (pow.f64 im 3)) (*.f64 re im))))))) |
(-.f64 (fma.f64 1/720 (*.f64 (pow.f64 re 3) (pow.f64 im 5)) (+.f64 (fma.f64 1/30240 (*.f64 (pow.f64 re 7) (pow.f64 im 3)) (fma.f64 1/36 (*.f64 (pow.f64 re 3) (pow.f64 im 3)) (*.f64 (pow.f64 im 5) (*.f64 (pow.f64 re 7) 1/604800)))) (*.f64 im (fma.f64 1/6 (pow.f64 re 3) (*.f64 1/5040 (pow.f64 re 7)))))) (fma.f64 1/720 (*.f64 (pow.f64 re 5) (pow.f64 im 3)) (fma.f64 1/14400 (*.f64 (pow.f64 re 5) (pow.f64 im 5)) (fma.f64 1/120 (*.f64 (pow.f64 re 5) im) (*.f64 re (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im))))))) |
(-.f64 (fma.f64 (pow.f64 re 3) (*.f64 (pow.f64 im 5) 1/720) (fma.f64 im (fma.f64 1/6 (pow.f64 re 3) (*.f64 1/5040 (pow.f64 re 7))) (fma.f64 (pow.f64 re 7) (*.f64 (pow.f64 im 5) 1/604800) (*.f64 (pow.f64 im 3) (+.f64 (*.f64 (pow.f64 re 3) 1/36) (*.f64 (pow.f64 re 7) 1/30240)))))) (fma.f64 (pow.f64 re 5) (*.f64 (pow.f64 im 3) 1/720) (fma.f64 re (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im)) (*.f64 (pow.f64 re 5) (+.f64 (*.f64 (pow.f64 im 5) 1/14400) (*.f64 im 1/120)))))) |
(*.f64 -1/2 (*.f64 (sin.f64 re) (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 im))))) |
(*.f64 (*.f64 -1/2 (sin.f64 re)) (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (*.f64 2 im)))) |
(*.f64 (fma.f64 (pow.f64 im 5) 1/60 (fma.f64 2 im (*.f64 (pow.f64 im 3) 1/3))) (*.f64 (sin.f64 re) -1/2)) |
(*.f64 (fma.f64 2 im (fma.f64 (pow.f64 im 5) 1/60 (*.f64 (pow.f64 im 3) 1/3))) (*.f64 (sin.f64 re) -1/2)) |
(*.f64 -1/2 (*.f64 (sin.f64 re) (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 im))))) |
(*.f64 (*.f64 -1/2 (sin.f64 re)) (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (*.f64 2 im)))) |
(*.f64 (fma.f64 (pow.f64 im 5) 1/60 (fma.f64 2 im (*.f64 (pow.f64 im 3) 1/3))) (*.f64 (sin.f64 re) -1/2)) |
(*.f64 (fma.f64 2 im (fma.f64 (pow.f64 im 5) 1/60 (*.f64 (pow.f64 im 3) 1/3))) (*.f64 (sin.f64 re) -1/2)) |
(*.f64 -1/2 (*.f64 (sin.f64 re) (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 im))))) |
(*.f64 (*.f64 -1/2 (sin.f64 re)) (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (*.f64 2 im)))) |
(*.f64 (fma.f64 (pow.f64 im 5) 1/60 (fma.f64 2 im (*.f64 (pow.f64 im 3) 1/3))) (*.f64 (sin.f64 re) -1/2)) |
(*.f64 (fma.f64 2 im (fma.f64 (pow.f64 im 5) 1/60 (*.f64 (pow.f64 im 3) 1/3))) (*.f64 (sin.f64 re) -1/2)) |
(*.f64 -1/2 (*.f64 (sin.f64 re) (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 im))))) |
(*.f64 (*.f64 -1/2 (sin.f64 re)) (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (*.f64 2 im)))) |
(*.f64 (fma.f64 (pow.f64 im 5) 1/60 (fma.f64 2 im (*.f64 (pow.f64 im 3) 1/3))) (*.f64 (sin.f64 re) -1/2)) |
(*.f64 (fma.f64 2 im (fma.f64 (pow.f64 im 5) 1/60 (*.f64 (pow.f64 im 3) 1/3))) (*.f64 (sin.f64 re) -1/2)) |
(*.f64 -1/2 (*.f64 (sin.f64 re) (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 im))))) |
(*.f64 (*.f64 -1/2 (sin.f64 re)) (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (*.f64 2 im)))) |
(*.f64 (fma.f64 (pow.f64 im 5) 1/60 (fma.f64 2 im (*.f64 (pow.f64 im 3) 1/3))) (*.f64 (sin.f64 re) -1/2)) |
(*.f64 (fma.f64 2 im (fma.f64 (pow.f64 im 5) 1/60 (*.f64 (pow.f64 im 3) 1/3))) (*.f64 (sin.f64 re) -1/2)) |
(*.f64 -1/2 (*.f64 (sin.f64 re) (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 im))))) |
(*.f64 (*.f64 -1/2 (sin.f64 re)) (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (*.f64 2 im)))) |
(*.f64 (fma.f64 (pow.f64 im 5) 1/60 (fma.f64 2 im (*.f64 (pow.f64 im 3) 1/3))) (*.f64 (sin.f64 re) -1/2)) |
(*.f64 (fma.f64 2 im (fma.f64 (pow.f64 im 5) 1/60 (*.f64 (pow.f64 im 3) 1/3))) (*.f64 (sin.f64 re) -1/2)) |
(*.f64 -1/2 (*.f64 (sin.f64 re) (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 im))))) |
(*.f64 (*.f64 -1/2 (sin.f64 re)) (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (*.f64 2 im)))) |
(*.f64 (fma.f64 (pow.f64 im 5) 1/60 (fma.f64 2 im (*.f64 (pow.f64 im 3) 1/3))) (*.f64 (sin.f64 re) -1/2)) |
(*.f64 (fma.f64 2 im (fma.f64 (pow.f64 im 5) 1/60 (*.f64 (pow.f64 im 3) 1/3))) (*.f64 (sin.f64 re) -1/2)) |
(*.f64 -1/2 (*.f64 (sin.f64 re) (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 im))))) |
(*.f64 (*.f64 -1/2 (sin.f64 re)) (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (*.f64 2 im)))) |
(*.f64 (fma.f64 (pow.f64 im 5) 1/60 (fma.f64 2 im (*.f64 (pow.f64 im 3) 1/3))) (*.f64 (sin.f64 re) -1/2)) |
(*.f64 (fma.f64 2 im (fma.f64 (pow.f64 im 5) 1/60 (*.f64 (pow.f64 im 3) 1/3))) (*.f64 (sin.f64 re) -1/2)) |
(*.f64 -1 (*.f64 (sin.f64 re) im)) |
(neg.f64 (*.f64 (sin.f64 re) im)) |
(*.f64 (sin.f64 re) (neg.f64 im)) |
(neg.f64 (+.f64 (*.f64 (sin.f64 re) im) (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3))))) |
(neg.f64 (fma.f64 (sin.f64 re) im (*.f64 (*.f64 1/6 (sin.f64 re)) (pow.f64 im 3)))) |
(-.f64 (*.f64 (*.f64 (sin.f64 re) (pow.f64 im 3)) -1/6) (*.f64 (sin.f64 re) im)) |
(neg.f64 (*.f64 (sin.f64 re) (fma.f64 1/6 (pow.f64 im 3) im))) |
(neg.f64 (+.f64 (*.f64 (sin.f64 re) im) (+.f64 (*.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3)))))) |
(neg.f64 (fma.f64 (sin.f64 re) im (fma.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5)) (*.f64 (*.f64 1/6 (sin.f64 re)) (pow.f64 im 3))))) |
(neg.f64 (fma.f64 (sin.f64 re) im (fma.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5)) (*.f64 (pow.f64 im 3) (*.f64 1/6 (sin.f64 re)))))) |
(neg.f64 (fma.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3)) (*.f64 (sin.f64 re) (fma.f64 1/120 (pow.f64 im 5) im)))) |
(neg.f64 (+.f64 (*.f64 (sin.f64 re) im) (+.f64 (*.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3)))))) |
(neg.f64 (fma.f64 (sin.f64 re) im (fma.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5)) (*.f64 (*.f64 1/6 (sin.f64 re)) (pow.f64 im 3))))) |
(neg.f64 (fma.f64 (sin.f64 re) im (fma.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5)) (*.f64 (pow.f64 im 3) (*.f64 1/6 (sin.f64 re)))))) |
(neg.f64 (fma.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3)) (*.f64 (sin.f64 re) (fma.f64 1/120 (pow.f64 im 5) im)))) |
(*.f64 -1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) |
(*.f64 (*.f64 -1/120 (sin.f64 re)) (pow.f64 im 5)) |
(*.f64 (sin.f64 re) (*.f64 (pow.f64 im 5) -1/120)) |
(neg.f64 (+.f64 (*.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3))))) |
(neg.f64 (fma.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5)) (*.f64 (*.f64 1/6 (sin.f64 re)) (pow.f64 im 3)))) |
(-.f64 (*.f64 (sin.f64 re) (*.f64 (pow.f64 im 5) -1/120)) (*.f64 (pow.f64 im 3) (*.f64 1/6 (sin.f64 re)))) |
(*.f64 (sin.f64 re) (-.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 1/6 (pow.f64 im 3)))) |
(neg.f64 (+.f64 (*.f64 (sin.f64 re) im) (+.f64 (*.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3)))))) |
(neg.f64 (fma.f64 (sin.f64 re) im (fma.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5)) (*.f64 (*.f64 1/6 (sin.f64 re)) (pow.f64 im 3))))) |
(neg.f64 (fma.f64 (sin.f64 re) im (fma.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5)) (*.f64 (pow.f64 im 3) (*.f64 1/6 (sin.f64 re)))))) |
(neg.f64 (fma.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3)) (*.f64 (sin.f64 re) (fma.f64 1/120 (pow.f64 im 5) im)))) |
(neg.f64 (+.f64 (*.f64 (sin.f64 re) im) (+.f64 (*.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3)))))) |
(neg.f64 (fma.f64 (sin.f64 re) im (fma.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5)) (*.f64 (*.f64 1/6 (sin.f64 re)) (pow.f64 im 3))))) |
(neg.f64 (fma.f64 (sin.f64 re) im (fma.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5)) (*.f64 (pow.f64 im 3) (*.f64 1/6 (sin.f64 re)))))) |
(neg.f64 (fma.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3)) (*.f64 (sin.f64 re) (fma.f64 1/120 (pow.f64 im 5) im)))) |
(*.f64 -1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) |
(*.f64 (*.f64 -1/120 (sin.f64 re)) (pow.f64 im 5)) |
(*.f64 (sin.f64 re) (*.f64 (pow.f64 im 5) -1/120)) |
(neg.f64 (+.f64 (*.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3))))) |
(neg.f64 (fma.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5)) (*.f64 (*.f64 1/6 (sin.f64 re)) (pow.f64 im 3)))) |
(-.f64 (*.f64 (sin.f64 re) (*.f64 (pow.f64 im 5) -1/120)) (*.f64 (pow.f64 im 3) (*.f64 1/6 (sin.f64 re)))) |
(*.f64 (sin.f64 re) (-.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 1/6 (pow.f64 im 3)))) |
(neg.f64 (+.f64 (*.f64 (sin.f64 re) im) (+.f64 (*.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3)))))) |
(neg.f64 (fma.f64 (sin.f64 re) im (fma.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5)) (*.f64 (*.f64 1/6 (sin.f64 re)) (pow.f64 im 3))))) |
(neg.f64 (fma.f64 (sin.f64 re) im (fma.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5)) (*.f64 (pow.f64 im 3) (*.f64 1/6 (sin.f64 re)))))) |
(neg.f64 (fma.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3)) (*.f64 (sin.f64 re) (fma.f64 1/120 (pow.f64 im 5) im)))) |
(neg.f64 (+.f64 (*.f64 (sin.f64 re) im) (+.f64 (*.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3)))))) |
(neg.f64 (fma.f64 (sin.f64 re) im (fma.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5)) (*.f64 (*.f64 1/6 (sin.f64 re)) (pow.f64 im 3))))) |
(neg.f64 (fma.f64 (sin.f64 re) im (fma.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5)) (*.f64 (pow.f64 im 3) (*.f64 1/6 (sin.f64 re)))))) |
(neg.f64 (fma.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3)) (*.f64 (sin.f64 re) (fma.f64 1/120 (pow.f64 im 5) im)))) |
14 alts after pruning (12 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 113 | 3 | 116 |
| Fresh | 2 | 9 | 11 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 115 | 14 | 129 |
| Status | Error | Program |
|---|---|---|
| ▶ | 1.0b | (*.f64 (*.f64 1/2 (expm1.f64 (*.f64 (cbrt.f64 (log1p.f64 (sin.f64 re))) (pow.f64 (cbrt.f64 (log1p.f64 (sin.f64 re))) 2)))) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im)))) |
| 1.2b | (pow.f64 (cbrt.f64 (*.f64 1/2 (*.f64 (sin.f64 re) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2)))))) 3) | |
| 41.8b | (*.f64 (*.f64 1/2 (pow.f64 (cbrt.f64 (sin.f64 re)) 3)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) | |
| ✓ | 0.3b | (*.f64 (*.f64 1/2 (sin.f64 re)) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im)))) |
| 1.1b | (*.f64 (*.f64 1/2 (pow.f64 (cbrt.f64 (sin.f64 re)) 3)) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im)))) | |
| 43.3b | (log.f64 (exp.f64 (*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))) | |
| 34.9b | (cbrt.f64 (*.f64 (pow.f64 (*.f64 1/2 (sin.f64 re)) 3) (pow.f64 (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2))) 3))) | |
| 15.3b | (*.f64 (*.f64 1/2 (/.f64 (-.f64 (*.f64 (+.f64 (sin.f64 re) 1) (+.f64 (sin.f64 re) 1)) 1) (+.f64 (+.f64 (sin.f64 re) 1) 1))) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im)))) | |
| 3.8b | (*.f64 (*.f64 1/2 (*.f64 (cbrt.f64 (sin.f64 re)) (cbrt.f64 (pow.f64 (sin.f64 re) 2)))) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im)))) | |
| 24.0b | (pow.f64 (sqrt.f64 (*.f64 1/2 (*.f64 (sin.f64 re) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2)))))) 2) | |
| 30.1b | (*.f64 (*.f64 1/2 (pow.f64 (sqrt.f64 (sin.f64 re)) 2)) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im)))) | |
| 15.2b | (*.f64 (*.f64 1/2 (log.f64 (exp.f64 (sin.f64 re)))) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im)))) | |
| 7.5b | (*.f64 (*.f64 1/2 (cbrt.f64 (pow.f64 (sin.f64 re) 3))) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im)))) | |
| ✓ | 0.3b | (*.f64 (*.f64 1/2 (expm1.f64 (log1p.f64 (sin.f64 re)))) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im)))) |
Compiled 3528 to 2647 computations (25% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.2b | (log1p.f64 (sin.f64 re)) | |
| ✓ | 0.3b | (*.f64 (cbrt.f64 (log1p.f64 (sin.f64 re))) (pow.f64 (cbrt.f64 (log1p.f64 (sin.f64 re))) 2)) |
| ✓ | 0.5b | (pow.f64 (cbrt.f64 (log1p.f64 (sin.f64 re))) 2) |
| ✓ | 0.6b | (cbrt.f64 (log1p.f64 (sin.f64 re))) |
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 3.0ms | re | @ | -inf | (cbrt.f64 (log1p.f64 (sin.f64 re))) |
| 2.0ms | re | @ | inf | (cbrt.f64 (log1p.f64 (sin.f64 re))) |
| 1.0ms | re | @ | 0 | (cbrt.f64 (log1p.f64 (sin.f64 re))) |
| 1.0ms | re | @ | 0 | (pow.f64 (cbrt.f64 (log1p.f64 (sin.f64 re))) 2) |
| 1.0ms | re | @ | inf | (pow.f64 (cbrt.f64 (log1p.f64 (sin.f64 re))) 2) |
| 1× | batch-egg-rewrite |
| 547× | pow1_binary64 |
| 506× | add-log-exp_binary64 |
| 506× | expm1-log1p-u_binary64 |
| 505× | log1p-expm1-u_binary64 |
| 493× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 22 |
| 1 | 159 | 22 |
| 2 | 1484 | 22 |
| 1× | node limit |
| Inputs |
|---|
(cbrt.f64 (log1p.f64 (sin.f64 re))) |
(pow.f64 (cbrt.f64 (log1p.f64 (sin.f64 re))) 2) |
(*.f64 (cbrt.f64 (log1p.f64 (sin.f64 re))) (pow.f64 (cbrt.f64 (log1p.f64 (sin.f64 re))) 2)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (cbrt.f64 (log1p.f64 (sin.f64 re)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (log1p.f64 (sin.f64 re))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cbrt.f64 (log1p.f64 (sin.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (log1p.f64 (sin.f64 re)))) (pow.f64 (cbrt.f64 (cbrt.f64 (log1p.f64 (sin.f64 re)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (log1p.f64 (sin.f64 re)))) 2) (cbrt.f64 (cbrt.f64 (log1p.f64 (sin.f64 re)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (log1p.f64 (sin.f64 re)) 1/6) (pow.f64 (log1p.f64 (sin.f64 re)) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (log1p.f64 (sin.f64 re))) 4))) (sqrt.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (log1p.f64 (sin.f64 re)))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (cbrt.f64 (log1p.f64 (sin.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (log1p.f64 (sin.f64 re))) 1/3) (pow.f64 (sqrt.f64 (log1p.f64 (sin.f64 re))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (log1p.f64 (sin.f64 re)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (log1p.f64 (sin.f64 re))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 (log1p.f64 (sin.f64 re))) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cbrt.f64 (log1p.f64 (sin.f64 re)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (log1p.f64 (sin.f64 re)) 1/6) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cbrt.f64 (log1p.f64 (sin.f64 re))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (cbrt.f64 (log1p.f64 (sin.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cbrt.f64 (log1p.f64 (sin.f64 re)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cbrt.f64 (log1p.f64 (sin.f64 re)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cbrt.f64 (log1p.f64 (sin.f64 re)))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cbrt.f64 (log1p.f64 (sin.f64 re))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (cbrt.f64 (log1p.f64 (sin.f64 re))) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (log1p.f64 (sin.f64 re))) (cbrt.f64 (log1p.f64 (sin.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (log1p.f64 (sin.f64 re))) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (cbrt.f64 (log1p.f64 (sin.f64 re))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (log1p.f64 (sin.f64 re)))) 2) (cbrt.f64 (pow.f64 (cbrt.f64 (log1p.f64 (sin.f64 re))) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (log1p.f64 (sin.f64 re)))) 2) (*.f64 (cbrt.f64 (cbrt.f64 (log1p.f64 (sin.f64 re)))) (cbrt.f64 (log1p.f64 (sin.f64 re)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (log1p.f64 (sin.f64 re))) 4)) (pow.f64 (cbrt.f64 (cbrt.f64 (log1p.f64 (sin.f64 re)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (log1p.f64 (sin.f64 re)) 1/6) (sqrt.f64 (log1p.f64 (sin.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (log1p.f64 (sin.f64 re))) (pow.f64 (log1p.f64 (sin.f64 re)) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (log1p.f64 (sin.f64 re))) (pow.f64 (cbrt.f64 (cbrt.f64 (log1p.f64 (sin.f64 re)))) 2)) (cbrt.f64 (cbrt.f64 (log1p.f64 (sin.f64 re)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cbrt.f64 (log1p.f64 (sin.f64 re))) 4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (cbrt.f64 (log1p.f64 (sin.f64 re))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (log1p.f64 (sin.f64 re)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 2 (log.f64 (cbrt.f64 (log1p.f64 (sin.f64 re))))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (cbrt.f64 (log1p.f64 (sin.f64 re))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (cbrt.f64 (log1p.f64 (sin.f64 re))) 2))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (log1p.f64 (sin.f64 re))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (log1p.f64 (sin.f64 re)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (log1p.f64 (sin.f64 re))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (log1p.f64 (sin.f64 re)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (log1p.f64 (sin.f64 re))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (log1p.f64 (sin.f64 re)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 (sin.f64 re) 1))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (log1p.f64 (sin.f64 re)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (log1p.f64 (sin.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (sin.f64 re))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (log1p.f64 (sin.f64 re)))))))) |
| 1× | egg-herbie |
| 322× | distribute-rgt-neg-in_binary64 |
| 281× | distribute-lft-neg-in_binary64 |
| 261× | fma-def_binary64 |
| 209× | associate-*l*_binary64 |
| 209× | distribute-lft-out--_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 27 | 228 |
| 1 | 75 | 228 |
| 2 | 170 | 224 |
| 3 | 547 | 216 |
| 4 | 2159 | 216 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (log.f64 (+.f64 1 (sin.f64 re))) 1/3) |
(pow.f64 (log.f64 (+.f64 1 (sin.f64 re))) 1/3) |
(pow.f64 (log.f64 (+.f64 1 (sin.f64 re))) 1/3) |
(pow.f64 (log.f64 (+.f64 1 (sin.f64 re))) 1/3) |
(pow.f64 (log.f64 (+.f64 1 (sin.f64 re))) 1/3) |
(pow.f64 (log.f64 (+.f64 1 (sin.f64 re))) 1/3) |
(pow.f64 (log.f64 (+.f64 1 (sin.f64 re))) 1/3) |
(pow.f64 (log.f64 (+.f64 1 (sin.f64 re))) 1/3) |
(pow.f64 (pow.f64 (log.f64 (+.f64 1 (sin.f64 re))) 2) 1/3) |
(pow.f64 (pow.f64 (log.f64 (+.f64 1 (sin.f64 re))) 2) 1/3) |
(pow.f64 (pow.f64 (log.f64 (+.f64 1 (sin.f64 re))) 2) 1/3) |
(pow.f64 (pow.f64 (log.f64 (+.f64 1 (sin.f64 re))) 2) 1/3) |
(pow.f64 (pow.f64 (log.f64 (+.f64 1 (sin.f64 re))) 2) 1/3) |
(pow.f64 (pow.f64 (log.f64 (+.f64 1 (sin.f64 re))) 2) 1/3) |
(pow.f64 (pow.f64 (log.f64 (+.f64 1 (sin.f64 re))) 2) 1/3) |
(pow.f64 (pow.f64 (log.f64 (+.f64 1 (sin.f64 re))) 2) 1/3) |
re |
(-.f64 re (*.f64 1/2 (pow.f64 re 2))) |
(-.f64 (+.f64 (*.f64 1/6 (pow.f64 re 3)) re) (*.f64 1/2 (pow.f64 re 2))) |
(-.f64 (+.f64 (*.f64 1/6 (pow.f64 re 3)) re) (+.f64 (*.f64 1/2 (pow.f64 re 2)) (*.f64 1/12 (pow.f64 re 4)))) |
(log.f64 (+.f64 1 (sin.f64 re))) |
(log.f64 (+.f64 1 (sin.f64 re))) |
(log.f64 (+.f64 1 (sin.f64 re))) |
(log.f64 (+.f64 1 (sin.f64 re))) |
(log.f64 (+.f64 1 (sin.f64 re))) |
(log.f64 (+.f64 1 (sin.f64 re))) |
(log.f64 (+.f64 1 (sin.f64 re))) |
(log.f64 (+.f64 1 (sin.f64 re))) |
| Outputs |
|---|
(pow.f64 (log.f64 (+.f64 1 (sin.f64 re))) 1/3) |
(cbrt.f64 (log1p.f64 (sin.f64 re))) |
(pow.f64 (log.f64 (+.f64 1 (sin.f64 re))) 1/3) |
(cbrt.f64 (log1p.f64 (sin.f64 re))) |
(pow.f64 (log.f64 (+.f64 1 (sin.f64 re))) 1/3) |
(cbrt.f64 (log1p.f64 (sin.f64 re))) |
(pow.f64 (log.f64 (+.f64 1 (sin.f64 re))) 1/3) |
(cbrt.f64 (log1p.f64 (sin.f64 re))) |
(pow.f64 (log.f64 (+.f64 1 (sin.f64 re))) 1/3) |
(cbrt.f64 (log1p.f64 (sin.f64 re))) |
(pow.f64 (log.f64 (+.f64 1 (sin.f64 re))) 1/3) |
(cbrt.f64 (log1p.f64 (sin.f64 re))) |
(pow.f64 (log.f64 (+.f64 1 (sin.f64 re))) 1/3) |
(cbrt.f64 (log1p.f64 (sin.f64 re))) |
(pow.f64 (log.f64 (+.f64 1 (sin.f64 re))) 1/3) |
(cbrt.f64 (log1p.f64 (sin.f64 re))) |
(pow.f64 (pow.f64 (log.f64 (+.f64 1 (sin.f64 re))) 2) 1/3) |
(cbrt.f64 (pow.f64 (log1p.f64 (sin.f64 re)) 2)) |
(pow.f64 (pow.f64 (log.f64 (+.f64 1 (sin.f64 re))) 2) 1/3) |
(cbrt.f64 (pow.f64 (log1p.f64 (sin.f64 re)) 2)) |
(pow.f64 (pow.f64 (log.f64 (+.f64 1 (sin.f64 re))) 2) 1/3) |
(cbrt.f64 (pow.f64 (log1p.f64 (sin.f64 re)) 2)) |
(pow.f64 (pow.f64 (log.f64 (+.f64 1 (sin.f64 re))) 2) 1/3) |
(cbrt.f64 (pow.f64 (log1p.f64 (sin.f64 re)) 2)) |
(pow.f64 (pow.f64 (log.f64 (+.f64 1 (sin.f64 re))) 2) 1/3) |
(cbrt.f64 (pow.f64 (log1p.f64 (sin.f64 re)) 2)) |
(pow.f64 (pow.f64 (log.f64 (+.f64 1 (sin.f64 re))) 2) 1/3) |
(cbrt.f64 (pow.f64 (log1p.f64 (sin.f64 re)) 2)) |
(pow.f64 (pow.f64 (log.f64 (+.f64 1 (sin.f64 re))) 2) 1/3) |
(cbrt.f64 (pow.f64 (log1p.f64 (sin.f64 re)) 2)) |
(pow.f64 (pow.f64 (log.f64 (+.f64 1 (sin.f64 re))) 2) 1/3) |
(cbrt.f64 (pow.f64 (log1p.f64 (sin.f64 re)) 2)) |
re |
(-.f64 re (*.f64 1/2 (pow.f64 re 2))) |
(+.f64 re (*.f64 -1/2 (*.f64 re re))) |
(+.f64 re (*.f64 (*.f64 re re) -1/2)) |
(fma.f64 (*.f64 re -1/2) re re) |
(*.f64 re (fma.f64 re -1/2 1)) |
(-.f64 (+.f64 (*.f64 1/6 (pow.f64 re 3)) re) (*.f64 1/2 (pow.f64 re 2))) |
(+.f64 (fma.f64 1/6 (pow.f64 re 3) re) (*.f64 -1/2 (*.f64 re re))) |
(+.f64 (fma.f64 1/6 (pow.f64 re 3) re) (*.f64 (*.f64 re re) -1/2)) |
(fma.f64 (*.f64 re re) -1/2 (fma.f64 1/6 (pow.f64 re 3) re)) |
(fma.f64 (*.f64 re re) (fma.f64 re 1/6 -1/2) re) |
(fma.f64 re (*.f64 re (fma.f64 re 1/6 -1/2)) re) |
(-.f64 (+.f64 (*.f64 1/6 (pow.f64 re 3)) re) (+.f64 (*.f64 1/2 (pow.f64 re 2)) (*.f64 1/12 (pow.f64 re 4)))) |
(-.f64 (fma.f64 1/6 (pow.f64 re 3) re) (fma.f64 1/2 (*.f64 re re) (*.f64 1/12 (pow.f64 re 4)))) |
(+.f64 re (fma.f64 1/6 (pow.f64 re 3) (fma.f64 (*.f64 re re) -1/2 (*.f64 (pow.f64 re 4) -1/12)))) |
(fma.f64 (pow.f64 re 4) -1/12 (fma.f64 (*.f64 re re) (fma.f64 re 1/6 -1/2) re)) |
(fma.f64 (pow.f64 re 4) -1/12 (fma.f64 re (*.f64 re (fma.f64 re 1/6 -1/2)) re)) |
(log.f64 (+.f64 1 (sin.f64 re))) |
(log1p.f64 (sin.f64 re)) |
(log.f64 (+.f64 1 (sin.f64 re))) |
(log1p.f64 (sin.f64 re)) |
(log.f64 (+.f64 1 (sin.f64 re))) |
(log1p.f64 (sin.f64 re)) |
(log.f64 (+.f64 1 (sin.f64 re))) |
(log1p.f64 (sin.f64 re)) |
(log.f64 (+.f64 1 (sin.f64 re))) |
(log1p.f64 (sin.f64 re)) |
(log.f64 (+.f64 1 (sin.f64 re))) |
(log1p.f64 (sin.f64 re)) |
(log.f64 (+.f64 1 (sin.f64 re))) |
(log1p.f64 (sin.f64 re)) |
(log.f64 (+.f64 1 (sin.f64 re))) |
(log1p.f64 (sin.f64 re)) |
15 alts after pruning (12 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 129 | 1 | 130 |
| Fresh | 0 | 11 | 11 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 2 | 2 |
| Total | 129 | 15 | 144 |
| Status | Error | Program |
|---|---|---|
| ✓ | 1.0b | (*.f64 (*.f64 1/2 (expm1.f64 (*.f64 (cbrt.f64 (log1p.f64 (sin.f64 re))) (pow.f64 (cbrt.f64 (log1p.f64 (sin.f64 re))) 2)))) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im)))) |
| 1.2b | (pow.f64 (cbrt.f64 (*.f64 1/2 (*.f64 (sin.f64 re) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2)))))) 3) | |
| 41.8b | (*.f64 (*.f64 1/2 (pow.f64 (cbrt.f64 (sin.f64 re)) 3)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) | |
| ✓ | 0.3b | (*.f64 (*.f64 1/2 (sin.f64 re)) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im)))) |
| 1.1b | (*.f64 (*.f64 1/2 (pow.f64 (cbrt.f64 (sin.f64 re)) 3)) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im)))) | |
| 43.3b | (log.f64 (exp.f64 (*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))) | |
| 7.5b | (*.f64 (*.f64 1/2 (cbrt.f64 (pow.f64 (sin.f64 re) 3))) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im)))) | |
| 30.7b | (*.f64 (*.f64 1/2 (expm1.f64 (*.f64 (cbrt.f64 (log1p.f64 (sin.f64 re))) (pow.f64 (pow.f64 (log1p.f64 (sin.f64 re)) 1/3) 2)))) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im)))) | |
| 34.9b | (cbrt.f64 (*.f64 (pow.f64 (*.f64 1/2 (sin.f64 re)) 3) (pow.f64 (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2))) 3))) | |
| 15.3b | (*.f64 (*.f64 1/2 (/.f64 (-.f64 (*.f64 (+.f64 (sin.f64 re) 1) (+.f64 (sin.f64 re) 1)) 1) (+.f64 (+.f64 (sin.f64 re) 1) 1))) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im)))) | |
| 3.8b | (*.f64 (*.f64 1/2 (*.f64 (cbrt.f64 (sin.f64 re)) (cbrt.f64 (pow.f64 (sin.f64 re) 2)))) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im)))) | |
| 24.0b | (pow.f64 (sqrt.f64 (*.f64 1/2 (*.f64 (sin.f64 re) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2)))))) 2) | |
| 30.1b | (*.f64 (*.f64 1/2 (pow.f64 (sqrt.f64 (sin.f64 re)) 2)) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im)))) | |
| 15.2b | (*.f64 (*.f64 1/2 (log.f64 (exp.f64 (sin.f64 re)))) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im)))) | |
| ✓ | 0.3b | (*.f64 (*.f64 1/2 (expm1.f64 (log1p.f64 (sin.f64 re)))) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im)))) |
Compiled 4400 to 2905 computations (34% saved)
Total 0.6b remaining (90.3%)
Threshold costs 0.6b (90.3%)
Compiled 1161 to 763 computations (34.3% saved)
| 1× | egg-herbie |
| 3× | *-commutative_binary64 |
| 1× | +-commutative_binary64 |
| 1× | sub-neg_binary64 |
| 1× | neg-sub0_binary64 |
| 1× | neg-mul-1_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 15 | 27 |
| 1 | 21 | 27 |
| 2 | 23 | 27 |
| 3 | 24 | 27 |
| 1× | saturated |
| Inputs |
|---|
(neg.f64 (fma.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3)) (*.f64 (sin.f64 re) (fma.f64 1/120 (pow.f64 im 5) im)))) |
| Outputs |
|---|
(neg.f64 (fma.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3)) (*.f64 (sin.f64 re) (fma.f64 1/120 (pow.f64 im 5) im)))) |
| 1× | fuel |
Compiled 399 to 316 computations (20.8% saved)
Loading profile data...