Time bar (total: 3.1s)
| 1× | search |
| True | Other | False | Iter |
|---|---|---|---|
| 0% | 99.9% | 0.1% | 0 |
| 0% | 99.9% | 0.1% | 1 |
| 50% | 50% | 0.1% | 2 |
| 50% | 50% | 0.1% | 3 |
| 74.9% | 25% | 0.1% | 4 |
| 74.9% | 25% | 0.1% | 5 |
| 74.9% | 21.9% | 3.2% | 6 |
| 74.9% | 20.3% | 4.8% | 7 |
| 74.9% | 18% | 7.1% | 8 |
| 74.9% | 16.8% | 8.3% | 9 |
| 74.9% | 15.4% | 9.7% | 10 |
| 74.9% | 14.7% | 10.3% | 11 |
| 74.9% | 14% | 11.1% | 12 |
| 74.9% | 13.6% | 11.4% | 13 |
| 74.9% | 13.3% | 11.8% | 14 |
Compiled 8 to 6 computations (25% saved)
| 790.0ms | 5864× | body | 128 | valid |
| 707.0ms | 1360× | body | 1024 | valid |
| 300.0ms | 691× | body | 1024 | invalid |
| 263.0ms | 715× | body | 512 | valid |
| 102.0ms | 343× | body | 512 | invalid |
| 73.0ms | 313× | body | 256 | valid |
| 44.0ms | 189× | body | 256 | invalid |
| 30.0ms | 246× | body | 128 | invalid |
| 3.0ms | 4× | body | 2048 | valid |
| 1.0ms | 1× | body | 2048 | invalid |
| 2× | egg-herbie |
| 2× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 16 |
| 1 | 11 | 16 |
| 0 | 2 | 2 |
| 1× | saturated |
| 1× | saturated |
| Inputs |
|---|
0 |
1 |
| Outputs |
|---|
0 |
1 |
| Inputs |
|---|
(*.f64 (exp.f64 re) (sin.f64 im)) |
(*.f64 (exp.f64 im) (sin.f64 re)) |
| Outputs |
|---|
(*.f64 (exp.f64 re) (sin.f64 im)) |
(*.f64 (exp.f64 im) (sin.f64 re)) |
Compiled 7 to 5 computations (28.6% saved)
| 1× | egg-herbie |
| 1× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 8 |
| 1 | 7 | 8 |
| 1× | saturated |
| Inputs |
|---|
(*.f64 (exp.f64 re) (sin.f64 im)) |
| Outputs |
|---|
(*.f64 (exp.f64 re) (sin.f64 im)) |
2 alts after pruning (2 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 1 | 1 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 0 | 0 |
| Total | 0 | 2 | 2 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.0b | (*.f64 (exp.f64 re) (sin.f64 im)) |
Compiled 21 to 15 computations (28.6% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (*.f64 (exp.f64 re) (sin.f64 im)) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | im | @ | -inf | (*.f64 (exp.f64 re) (sin.f64 im)) |
| 1.0ms | re | @ | inf | (*.f64 (exp.f64 re) (sin.f64 im)) |
| 1.0ms | im | @ | 0 | (*.f64 (exp.f64 re) (sin.f64 im)) |
| 1.0ms | re | @ | 0 | (*.f64 (exp.f64 re) (sin.f64 im)) |
| 1.0ms | im | @ | inf | (*.f64 (exp.f64 re) (sin.f64 im)) |
| 1× | batch-egg-rewrite |
| 530× | pow1_binary64 |
| 483× | add-log-exp_binary64 |
| 483× | log1p-expm1-u_binary64 |
| 483× | expm1-log1p-u_binary64 |
| 471× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 8 |
| 1 | 113 | 8 |
| 2 | 1324 | 8 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (exp.f64 re) (sin.f64 im)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (exp.f64 re) (sin.f64 im))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (exp.f64 re) (sin.f64 im)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (exp.f64 re) (sin.f64 im)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (exp.f64 re) (sin.f64 im))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (exp.f64 re) (sin.f64 im))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (exp.f64 re) (sin.f64 im)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (exp.f64 re)) (sin.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (exp.f64 re) (sin.f64 im)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (exp.f64 re) 3) (pow.f64 (sin.f64 im) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (sin.f64 im) 3) (pow.f64 (exp.f64 re) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (exp.f64 re) (sin.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 re (log.f64 (sin.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (exp.f64 re) (sin.f64 im)))))))) |
| 1× | egg-herbie |
| 812× | fma-def_binary64 |
| 778× | distribute-lft-out_binary64 |
| 569× | unswap-sqr_binary64 |
| 400× | associate-*l*_binary64 |
| 288× | associate-*r*_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 44 | 296 |
| 1 | 122 | 294 |
| 2 | 312 | 274 |
| 3 | 911 | 250 |
| 4 | 2806 | 249 |
| 5 | 3670 | 249 |
| 1× | node limit |
| Inputs |
|---|
(sin.f64 im) |
(+.f64 (sin.f64 im) (*.f64 (sin.f64 im) re)) |
(+.f64 (sin.f64 im) (+.f64 (*.f64 (sin.f64 im) re) (*.f64 1/2 (*.f64 (sin.f64 im) (pow.f64 re 2))))) |
(+.f64 (sin.f64 im) (+.f64 (*.f64 (sin.f64 im) re) (+.f64 (*.f64 1/6 (*.f64 (sin.f64 im) (pow.f64 re 3))) (*.f64 1/2 (*.f64 (sin.f64 im) (pow.f64 re 2)))))) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) im) |
(+.f64 (*.f64 -1/6 (*.f64 (exp.f64 re) (pow.f64 im 3))) (*.f64 (exp.f64 re) im)) |
(+.f64 (*.f64 -1/6 (*.f64 (exp.f64 re) (pow.f64 im 3))) (+.f64 (*.f64 1/120 (*.f64 (exp.f64 re) (pow.f64 im 5))) (*.f64 (exp.f64 re) im))) |
(+.f64 (*.f64 -1/6 (*.f64 (exp.f64 re) (pow.f64 im 3))) (+.f64 (*.f64 1/120 (*.f64 (exp.f64 re) (pow.f64 im 5))) (+.f64 (*.f64 -1/5040 (*.f64 (exp.f64 re) (pow.f64 im 7))) (*.f64 (exp.f64 re) im)))) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
| Outputs |
|---|
(sin.f64 im) |
(+.f64 (sin.f64 im) (*.f64 (sin.f64 im) re)) |
(*.f64 (+.f64 re 1) (sin.f64 im)) |
(*.f64 (sin.f64 im) (+.f64 re 1)) |
(+.f64 (sin.f64 im) (+.f64 (*.f64 (sin.f64 im) re) (*.f64 1/2 (*.f64 (sin.f64 im) (pow.f64 re 2))))) |
(+.f64 (sin.f64 im) (fma.f64 (sin.f64 im) re (*.f64 1/2 (*.f64 (sin.f64 im) (*.f64 re re))))) |
(+.f64 (sin.f64 im) (fma.f64 1/2 (*.f64 (sin.f64 im) (*.f64 re re)) (*.f64 (sin.f64 im) re))) |
(*.f64 (sin.f64 im) (+.f64 (+.f64 re 1) (*.f64 re (*.f64 re 1/2)))) |
(*.f64 (sin.f64 im) (+.f64 1 (fma.f64 re (*.f64 re 1/2) re))) |
(*.f64 (sin.f64 im) (+.f64 1 (fma.f64 1/2 (*.f64 re re) re))) |
(+.f64 (sin.f64 im) (+.f64 (*.f64 (sin.f64 im) re) (+.f64 (*.f64 1/6 (*.f64 (sin.f64 im) (pow.f64 re 3))) (*.f64 1/2 (*.f64 (sin.f64 im) (pow.f64 re 2)))))) |
(+.f64 (sin.f64 im) (fma.f64 (sin.f64 im) re (fma.f64 1/6 (*.f64 (sin.f64 im) (pow.f64 re 3)) (*.f64 1/2 (*.f64 (sin.f64 im) (*.f64 re re)))))) |
(+.f64 (sin.f64 im) (fma.f64 (sin.f64 im) re (fma.f64 1/2 (*.f64 (sin.f64 im) (*.f64 re re)) (*.f64 (sin.f64 im) (*.f64 (pow.f64 re 3) 1/6))))) |
(fma.f64 (+.f64 re 1) (sin.f64 im) (*.f64 (sin.f64 im) (+.f64 (*.f64 re (*.f64 re 1/2)) (*.f64 1/6 (pow.f64 re 3))))) |
(*.f64 (sin.f64 im) (+.f64 (+.f64 re 1) (*.f64 (*.f64 re re) (+.f64 (*.f64 re 1/6) 1/2)))) |
(*.f64 (sin.f64 im) (+.f64 (fma.f64 re (*.f64 re 1/2) 1) (fma.f64 1/6 (pow.f64 re 3) re))) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) im) |
(*.f64 im (exp.f64 re)) |
(+.f64 (*.f64 -1/6 (*.f64 (exp.f64 re) (pow.f64 im 3))) (*.f64 (exp.f64 re) im)) |
(fma.f64 -1/6 (*.f64 (exp.f64 re) (pow.f64 im 3)) (*.f64 im (exp.f64 re))) |
(fma.f64 im (exp.f64 re) (*.f64 (exp.f64 re) (*.f64 (pow.f64 im 3) -1/6))) |
(*.f64 (exp.f64 re) (+.f64 im (*.f64 -1/6 (pow.f64 im 3)))) |
(*.f64 (exp.f64 re) (fma.f64 -1/6 (pow.f64 im 3) im)) |
(+.f64 (*.f64 -1/6 (*.f64 (exp.f64 re) (pow.f64 im 3))) (+.f64 (*.f64 1/120 (*.f64 (exp.f64 re) (pow.f64 im 5))) (*.f64 (exp.f64 re) im))) |
(fma.f64 -1/6 (*.f64 (exp.f64 re) (pow.f64 im 3)) (fma.f64 1/120 (*.f64 (exp.f64 re) (pow.f64 im 5)) (*.f64 im (exp.f64 re)))) |
(fma.f64 (*.f64 (exp.f64 re) -1/6) (pow.f64 im 3) (fma.f64 1/120 (*.f64 (exp.f64 re) (pow.f64 im 5)) (*.f64 im (exp.f64 re)))) |
(fma.f64 (exp.f64 re) (*.f64 -1/6 (pow.f64 im 3)) (*.f64 (exp.f64 re) (+.f64 im (*.f64 1/120 (pow.f64 im 5))))) |
(*.f64 (exp.f64 re) (+.f64 im (fma.f64 -1/6 (pow.f64 im 3) (*.f64 1/120 (pow.f64 im 5))))) |
(+.f64 (*.f64 -1/6 (*.f64 (exp.f64 re) (pow.f64 im 3))) (+.f64 (*.f64 1/120 (*.f64 (exp.f64 re) (pow.f64 im 5))) (+.f64 (*.f64 -1/5040 (*.f64 (exp.f64 re) (pow.f64 im 7))) (*.f64 (exp.f64 re) im)))) |
(fma.f64 -1/6 (*.f64 (exp.f64 re) (pow.f64 im 3)) (fma.f64 1/120 (*.f64 (exp.f64 re) (pow.f64 im 5)) (fma.f64 -1/5040 (*.f64 (exp.f64 re) (pow.f64 im 7)) (*.f64 im (exp.f64 re))))) |
(fma.f64 -1/6 (*.f64 (exp.f64 re) (pow.f64 im 3)) (fma.f64 1/120 (*.f64 (exp.f64 re) (pow.f64 im 5)) (fma.f64 im (exp.f64 re) (*.f64 (*.f64 -1/5040 (pow.f64 im 7)) (exp.f64 re))))) |
(+.f64 (*.f64 (exp.f64 re) (+.f64 im (*.f64 -1/5040 (pow.f64 im 7)))) (*.f64 (exp.f64 re) (+.f64 (*.f64 -1/6 (pow.f64 im 3)) (*.f64 1/120 (pow.f64 im 5))))) |
(*.f64 (exp.f64 re) (+.f64 (fma.f64 -1/6 (pow.f64 im 3) (*.f64 1/120 (pow.f64 im 5))) (fma.f64 -1/5040 (pow.f64 im 7) im))) |
(*.f64 (exp.f64 re) (+.f64 (fma.f64 1/120 (pow.f64 im 5) (*.f64 -1/5040 (pow.f64 im 7))) (fma.f64 -1/6 (pow.f64 im 3) im))) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
3 alts after pruning (2 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 27 | 2 | 29 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 27 | 3 | 30 |
| Status | Error | Program |
|---|---|---|
| ▶ | 19.2b | (-.f64 (+.f64 1 (*.f64 (exp.f64 re) (sin.f64 im))) 1) |
| 21.6b | (+.f64 (sin.f64 im) (*.f64 (sin.f64 im) re)) | |
| ✓ | 0.0b | (*.f64 (exp.f64 re) (sin.f64 im)) |
Compiled 359 to 191 computations (46.8% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (*.f64 (exp.f64 re) (sin.f64 im)) | |
| ✓ | 0.3b | (+.f64 1 (*.f64 (exp.f64 re) (sin.f64 im))) |
| ✓ | 1.7b | (-.f64 (+.f64 1 (*.f64 (exp.f64 re) (sin.f64 im))) 1) |
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | im | @ | 0 | (+.f64 1 (*.f64 (exp.f64 re) (sin.f64 im))) |
| 0.0ms | re | @ | 0 | (-.f64 (+.f64 1 (*.f64 (exp.f64 re) (sin.f64 im))) 1) |
| 0.0ms | re | @ | 0 | (+.f64 1 (*.f64 (exp.f64 re) (sin.f64 im))) |
| 0.0ms | im | @ | 0 | (-.f64 (+.f64 1 (*.f64 (exp.f64 re) (sin.f64 im))) 1) |
| 0.0ms | re | @ | inf | (-.f64 (+.f64 1 (*.f64 (exp.f64 re) (sin.f64 im))) 1) |
| 1× | batch-egg-rewrite |
| 844× | log1p-expm1-u_binary64 |
| 844× | expm1-log1p-u_binary64 |
| 98× | add-sqr-sqrt_binary64 |
| 95× | *-un-lft-identity_binary64 |
| 95× | pow1_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 25 |
| 1 | 189 | 17 |
| 2 | 2467 | 17 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 (+.f64 1 (*.f64 (exp.f64 re) (sin.f64 im))) 1) |
(+.f64 1 (*.f64 (exp.f64 re) (sin.f64 im))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (fma.f64 (exp.f64 re) (sin.f64 im) -1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (*.f64 (fma.f64 (exp.f64 re) (sin.f64 im) -1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (exp.f64 re) (sin.f64 im)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (exp.f64 re) (sin.f64 im) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 -1 (fma.f64 (exp.f64 re) (sin.f64 im) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (exp.f64 re) (sin.f64 im) -1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 (exp.f64 re) (sin.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 re) (sin.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sin.f64 im) (exp.f64 re))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (exp.f64 re) (sin.f64 im)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (sin.f64 im)) 2) (*.f64 (cbrt.f64 (sin.f64 im)) (exp.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (exp.f64 re) (sin.f64 im))) (pow.f64 (cbrt.f64 (*.f64 (exp.f64 re) (sin.f64 im))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 (exp.f64 re) (sin.f64 im))) 2) (cbrt.f64 (*.f64 (exp.f64 re) (sin.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (exp.f64 re)) 2) (*.f64 (cbrt.f64 (exp.f64 re)) (sin.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (sin.f64 im)) (*.f64 (sqrt.f64 (sin.f64 im)) (exp.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 (exp.f64 re) (sin.f64 im))) (sqrt.f64 (*.f64 (exp.f64 re) (sin.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (exp.f64 re)) (*.f64 (sqrt.f64 (exp.f64 re)) (sin.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (fma.f64 (exp.f64 re) (sin.f64 im) 1) 3) -1) (/.f64 1 (+.f64 (pow.f64 (fma.f64 (exp.f64 re) (sin.f64 im) 1) 2) (+.f64 (*.f64 (exp.f64 re) (sin.f64 im)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (fma.f64 (exp.f64 re) (sin.f64 im) 1) 2) -1) (/.f64 1 (+.f64 (*.f64 (exp.f64 re) (sin.f64 im)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sqrt.f64 (fma.f64 (exp.f64 re) (sin.f64 im) 1)) 1) (-.f64 (sqrt.f64 (fma.f64 (exp.f64 re) (sin.f64 im) 1)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (exp.f64 re) (pow.f64 (cbrt.f64 (sin.f64 im)) 2)) (cbrt.f64 (sin.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (exp.f64 re) (sqrt.f64 (sin.f64 im))) (sqrt.f64 (sin.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sin.f64 im) (pow.f64 (cbrt.f64 (exp.f64 re)) 2)) (cbrt.f64 (exp.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sin.f64 im) (sqrt.f64 (exp.f64 re))) (sqrt.f64 (exp.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (fma.f64 (exp.f64 re) (sin.f64 im) 1) 2) (+.f64 (*.f64 (exp.f64 re) (sin.f64 im)) 2)) (+.f64 (pow.f64 (fma.f64 (exp.f64 re) (sin.f64 im) 1) 3) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (*.f64 (exp.f64 re) (sin.f64 im)) 2) (+.f64 (pow.f64 (fma.f64 (exp.f64 re) (sin.f64 im) 1) 2) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 (exp.f64 re) (sin.f64 im) 1) 3) -1) (+.f64 (pow.f64 (fma.f64 (exp.f64 re) (sin.f64 im) 1) 2) (+.f64 (*.f64 (exp.f64 re) (sin.f64 im)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 (exp.f64 re) (sin.f64 im) 1) 3) -1) (+.f64 (pow.f64 (fma.f64 (exp.f64 re) (sin.f64 im) 1) 2) (-.f64 1 (*.f64 (fma.f64 (exp.f64 re) (sin.f64 im) 1) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 (exp.f64 re) (sin.f64 im) 1) 2) -1) (+.f64 (*.f64 (exp.f64 re) (sin.f64 im)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 (exp.f64 re) (sin.f64 im) 1) 2) -1) (-.f64 (fma.f64 (exp.f64 re) (sin.f64 im) 1) -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (fma.f64 (exp.f64 re) (sin.f64 im) 1) 3) -1)) (neg.f64 (+.f64 (pow.f64 (fma.f64 (exp.f64 re) (sin.f64 im) 1) 2) (+.f64 (*.f64 (exp.f64 re) (sin.f64 im)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (fma.f64 (exp.f64 re) (sin.f64 im) 1) 2) -1)) (neg.f64 (+.f64 (*.f64 (exp.f64 re) (sin.f64 im)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (fma.f64 (exp.f64 re) (sin.f64 im) -1) 3)) (+.f64 1 (-.f64 (*.f64 (fma.f64 (exp.f64 re) (sin.f64 im) -1) (fma.f64 (exp.f64 re) (sin.f64 im) -1)) (fma.f64 (exp.f64 re) (sin.f64 im) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (*.f64 (fma.f64 (exp.f64 re) (sin.f64 im) -1) (fma.f64 (exp.f64 re) (sin.f64 im) -1))) (-.f64 1 (fma.f64 (exp.f64 re) (sin.f64 im) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (exp.f64 re) (sin.f64 im)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (exp.f64 re) (sin.f64 im))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (exp.f64 re) (sin.f64 im))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (exp.f64 re) (sin.f64 im)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (exp.f64 re) (sin.f64 im)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (sin.f64 im)) (exp.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (exp.f64 re) (sin.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (exp.f64 re) (sin.f64 im)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (exp.f64 re) (sin.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 re (log.f64 (sin.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (+.f64 re (log.f64 (sin.f64 im))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 (exp.f64 re) (sin.f64 im) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 (exp.f64 re) (sin.f64 im) 1)) 2) (cbrt.f64 (fma.f64 (exp.f64 re) (sin.f64 im) 1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 (exp.f64 re) (sin.f64 im) 1)) (sqrt.f64 (fma.f64 (exp.f64 re) (sin.f64 im) 1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (exp.f64 re) (sin.f64 im)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (*.f64 (exp.f64 re) (sin.f64 im)) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 1 (-.f64 1 (*.f64 (exp.f64 re) (sin.f64 im)))) (/.f64 (pow.f64 (*.f64 (exp.f64 re) (sin.f64 im)) 2) (-.f64 1 (*.f64 (exp.f64 re) (sin.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 (exp.f64 re) (sin.f64 im) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (exp.f64 re) (sin.f64 im) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 (exp.f64 re) (sin.f64 im) 1)) (pow.f64 (cbrt.f64 (fma.f64 (exp.f64 re) (sin.f64 im) 1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 (exp.f64 re) (sin.f64 im) 1)) 2) (cbrt.f64 (fma.f64 (exp.f64 re) (sin.f64 im) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 (exp.f64 re) (sin.f64 im) 1)) 2) (*.f64 (cbrt.f64 (fma.f64 (exp.f64 re) (sin.f64 im) 1)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 (exp.f64 re) (sin.f64 im) 1)) (sqrt.f64 (fma.f64 (exp.f64 re) (sin.f64 im) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 (exp.f64 re) (sin.f64 im) 1)) (*.f64 (sqrt.f64 (fma.f64 (exp.f64 re) (sin.f64 im) 1)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 (pow.f64 (*.f64 (exp.f64 re) (sin.f64 im)) 3)) (/.f64 1 (+.f64 1 (*.f64 (*.f64 (exp.f64 re) (sin.f64 im)) (fma.f64 (exp.f64 re) (sin.f64 im) -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 1 (pow.f64 (*.f64 (exp.f64 re) (sin.f64 im)) 2)) (/.f64 1 (-.f64 1 (*.f64 (exp.f64 re) (sin.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 1 (*.f64 (*.f64 (exp.f64 re) (sin.f64 im)) (fma.f64 (exp.f64 re) (sin.f64 im) -1))) (+.f64 1 (pow.f64 (*.f64 (exp.f64 re) (sin.f64 im)) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 1 (*.f64 (exp.f64 re) (sin.f64 im))) (-.f64 1 (pow.f64 (*.f64 (exp.f64 re) (sin.f64 im)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (*.f64 (exp.f64 re) (sin.f64 im)) 3)) (+.f64 1 (*.f64 (*.f64 (exp.f64 re) (sin.f64 im)) (fma.f64 (exp.f64 re) (sin.f64 im) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (*.f64 (exp.f64 re) (sin.f64 im)) 3)) (+.f64 (pow.f64 (*.f64 (exp.f64 re) (sin.f64 im)) 2) (-.f64 1 (*.f64 (exp.f64 re) (sin.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (pow.f64 (*.f64 (exp.f64 re) (sin.f64 im)) 2)) (-.f64 1 (*.f64 (exp.f64 re) (sin.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 1 (pow.f64 (*.f64 (exp.f64 re) (sin.f64 im)) 3))) (neg.f64 (+.f64 1 (*.f64 (*.f64 (exp.f64 re) (sin.f64 im)) (fma.f64 (exp.f64 re) (sin.f64 im) -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 1 (pow.f64 (*.f64 (exp.f64 re) (sin.f64 im)) 2))) (neg.f64 (-.f64 1 (*.f64 (exp.f64 re) (sin.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 (exp.f64 re) (sin.f64 im)) 2) 1) (fma.f64 (exp.f64 re) (sin.f64 im) -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 1 (pow.f64 (*.f64 (exp.f64 re) (sin.f64 im)) 3)) 1) (+.f64 1 (*.f64 (*.f64 (exp.f64 re) (sin.f64 im)) (fma.f64 (exp.f64 re) (sin.f64 im) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 1 (pow.f64 (*.f64 (exp.f64 re) (sin.f64 im)) 2)) 1) (-.f64 1 (*.f64 (exp.f64 re) (sin.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 (exp.f64 re) (sin.f64 im) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 (exp.f64 re) (sin.f64 im) 1)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 (exp.f64 re) (sin.f64 im) 1)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 (exp.f64 re) (sin.f64 im) 1) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 (exp.f64 re) (sin.f64 im) 1) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 (exp.f64 re) (sin.f64 im) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 (exp.f64 re) (sin.f64 im) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 (exp.f64 re) (sin.f64 im) 1) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 (exp.f64 re) (sin.f64 im) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log1p.f64 (*.f64 (exp.f64 re) (sin.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log1p.f64 (*.f64 (exp.f64 re) (sin.f64 im))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 (exp.f64 re) (sin.f64 im)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (exp.f64 re) (sin.f64 im) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sin.f64 im) (exp.f64 re) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 (exp.f64 re) (sin.f64 im))) 2) (cbrt.f64 (*.f64 (exp.f64 re) (sin.f64 im))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 (exp.f64 re) (sin.f64 im))) (sqrt.f64 (*.f64 (exp.f64 re) (sin.f64 im))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 (exp.f64 re) (sin.f64 im) 1))))))) |
| 1× | egg-herbie |
| 786× | distribute-lft-out_binary64 |
| 569× | unswap-sqr_binary64 |
| 402× | associate-*l*_binary64 |
| 291× | associate-*r*_binary64 |
| 290× | fma-def_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 56 | 620 |
| 1 | 157 | 578 |
| 2 | 416 | 544 |
| 3 | 1197 | 521 |
| 4 | 2462 | 521 |
| 5 | 3326 | 521 |
| 1× | node limit |
| Inputs |
|---|
(sin.f64 im) |
(+.f64 (sin.f64 im) (*.f64 (sin.f64 im) re)) |
(+.f64 (sin.f64 im) (+.f64 (*.f64 (sin.f64 im) re) (*.f64 1/2 (*.f64 (sin.f64 im) (pow.f64 re 2))))) |
(+.f64 (sin.f64 im) (+.f64 (*.f64 (sin.f64 im) re) (+.f64 (*.f64 1/6 (*.f64 (sin.f64 im) (pow.f64 re 3))) (*.f64 1/2 (*.f64 (sin.f64 im) (pow.f64 re 2)))))) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) im) |
(+.f64 (*.f64 -1/6 (*.f64 (exp.f64 re) (pow.f64 im 3))) (*.f64 (exp.f64 re) im)) |
(+.f64 (*.f64 -1/6 (*.f64 (exp.f64 re) (pow.f64 im 3))) (+.f64 (*.f64 1/120 (*.f64 (exp.f64 re) (pow.f64 im 5))) (*.f64 (exp.f64 re) im))) |
(+.f64 (*.f64 -1/6 (*.f64 (exp.f64 re) (pow.f64 im 3))) (+.f64 (*.f64 1/120 (*.f64 (exp.f64 re) (pow.f64 im 5))) (+.f64 (*.f64 -1/5040 (*.f64 (exp.f64 re) (pow.f64 im 7))) (*.f64 (exp.f64 re) im)))) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(+.f64 1 (sin.f64 im)) |
(+.f64 (sin.f64 im) (+.f64 1 (*.f64 (sin.f64 im) re))) |
(+.f64 (sin.f64 im) (+.f64 1 (+.f64 (*.f64 (sin.f64 im) re) (*.f64 1/2 (*.f64 (sin.f64 im) (pow.f64 re 2)))))) |
(+.f64 (sin.f64 im) (+.f64 1 (+.f64 (*.f64 (sin.f64 im) re) (+.f64 (*.f64 1/6 (*.f64 (sin.f64 im) (pow.f64 re 3))) (*.f64 1/2 (*.f64 (sin.f64 im) (pow.f64 re 2))))))) |
(+.f64 1 (*.f64 (sin.f64 im) (exp.f64 re))) |
(+.f64 1 (*.f64 (sin.f64 im) (exp.f64 re))) |
(+.f64 1 (*.f64 (sin.f64 im) (exp.f64 re))) |
(+.f64 1 (*.f64 (sin.f64 im) (exp.f64 re))) |
(+.f64 1 (*.f64 (sin.f64 im) (exp.f64 re))) |
(+.f64 1 (*.f64 (sin.f64 im) (exp.f64 re))) |
(+.f64 1 (*.f64 (sin.f64 im) (exp.f64 re))) |
(+.f64 1 (*.f64 (sin.f64 im) (exp.f64 re))) |
1 |
(+.f64 1 (*.f64 (exp.f64 re) im)) |
(+.f64 (*.f64 -1/6 (*.f64 (exp.f64 re) (pow.f64 im 3))) (+.f64 1 (*.f64 (exp.f64 re) im))) |
(+.f64 (*.f64 1/120 (*.f64 (exp.f64 re) (pow.f64 im 5))) (+.f64 (*.f64 -1/6 (*.f64 (exp.f64 re) (pow.f64 im 3))) (+.f64 1 (*.f64 (exp.f64 re) im)))) |
(+.f64 1 (*.f64 (sin.f64 im) (exp.f64 re))) |
(+.f64 1 (*.f64 (sin.f64 im) (exp.f64 re))) |
(+.f64 1 (*.f64 (sin.f64 im) (exp.f64 re))) |
(+.f64 1 (*.f64 (sin.f64 im) (exp.f64 re))) |
(+.f64 1 (*.f64 (sin.f64 im) (exp.f64 re))) |
(+.f64 1 (*.f64 (sin.f64 im) (exp.f64 re))) |
(+.f64 1 (*.f64 (sin.f64 im) (exp.f64 re))) |
(+.f64 1 (*.f64 (sin.f64 im) (exp.f64 re))) |
| Outputs |
|---|
(sin.f64 im) |
(+.f64 (sin.f64 im) (*.f64 (sin.f64 im) re)) |
(*.f64 (+.f64 re 1) (sin.f64 im)) |
(fma.f64 (sin.f64 im) re (sin.f64 im)) |
(*.f64 (sin.f64 im) (+.f64 re 1)) |
(+.f64 (sin.f64 im) (+.f64 (*.f64 (sin.f64 im) re) (*.f64 1/2 (*.f64 (sin.f64 im) (pow.f64 re 2))))) |
(+.f64 (sin.f64 im) (fma.f64 (sin.f64 im) re (*.f64 1/2 (*.f64 (sin.f64 im) (*.f64 re re))))) |
(+.f64 (sin.f64 im) (fma.f64 1/2 (*.f64 (sin.f64 im) (*.f64 re re)) (*.f64 (sin.f64 im) re))) |
(*.f64 (sin.f64 im) (+.f64 (+.f64 re 1) (*.f64 re (*.f64 re 1/2)))) |
(*.f64 (sin.f64 im) (+.f64 re (+.f64 1 (*.f64 re (*.f64 re 1/2))))) |
(+.f64 (sin.f64 im) (+.f64 (*.f64 (sin.f64 im) re) (+.f64 (*.f64 1/6 (*.f64 (sin.f64 im) (pow.f64 re 3))) (*.f64 1/2 (*.f64 (sin.f64 im) (pow.f64 re 2)))))) |
(+.f64 (sin.f64 im) (fma.f64 (sin.f64 im) re (fma.f64 1/6 (*.f64 (sin.f64 im) (pow.f64 re 3)) (*.f64 1/2 (*.f64 (sin.f64 im) (*.f64 re re)))))) |
(+.f64 (*.f64 (+.f64 re 1) (sin.f64 im)) (fma.f64 1/2 (*.f64 (sin.f64 im) (*.f64 re re)) (*.f64 (pow.f64 re 3) (*.f64 (sin.f64 im) 1/6)))) |
(fma.f64 (+.f64 re 1) (sin.f64 im) (*.f64 (sin.f64 im) (+.f64 (*.f64 re (*.f64 re 1/2)) (*.f64 1/6 (pow.f64 re 3))))) |
(*.f64 (sin.f64 im) (+.f64 (*.f64 (*.f64 re re) (+.f64 1/2 (*.f64 re 1/6))) (+.f64 re 1))) |
(*.f64 (sin.f64 im) (+.f64 re (+.f64 1 (*.f64 (*.f64 re re) (+.f64 1/2 (*.f64 re 1/6)))))) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) im) |
(*.f64 im (exp.f64 re)) |
(+.f64 (*.f64 -1/6 (*.f64 (exp.f64 re) (pow.f64 im 3))) (*.f64 (exp.f64 re) im)) |
(fma.f64 -1/6 (*.f64 (exp.f64 re) (pow.f64 im 3)) (*.f64 im (exp.f64 re))) |
(*.f64 (exp.f64 re) (+.f64 im (*.f64 -1/6 (pow.f64 im 3)))) |
(+.f64 (*.f64 -1/6 (*.f64 (exp.f64 re) (pow.f64 im 3))) (+.f64 (*.f64 1/120 (*.f64 (exp.f64 re) (pow.f64 im 5))) (*.f64 (exp.f64 re) im))) |
(fma.f64 -1/6 (*.f64 (exp.f64 re) (pow.f64 im 3)) (fma.f64 1/120 (*.f64 (exp.f64 re) (pow.f64 im 5)) (*.f64 im (exp.f64 re)))) |
(fma.f64 (exp.f64 re) (*.f64 -1/6 (pow.f64 im 3)) (*.f64 (exp.f64 re) (+.f64 im (*.f64 1/120 (pow.f64 im 5))))) |
(*.f64 (exp.f64 re) (+.f64 im (+.f64 (*.f64 1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3))))) |
(+.f64 (*.f64 -1/6 (*.f64 (exp.f64 re) (pow.f64 im 3))) (+.f64 (*.f64 1/120 (*.f64 (exp.f64 re) (pow.f64 im 5))) (+.f64 (*.f64 -1/5040 (*.f64 (exp.f64 re) (pow.f64 im 7))) (*.f64 (exp.f64 re) im)))) |
(fma.f64 -1/6 (*.f64 (exp.f64 re) (pow.f64 im 3)) (fma.f64 1/120 (*.f64 (exp.f64 re) (pow.f64 im 5)) (fma.f64 -1/5040 (*.f64 (exp.f64 re) (pow.f64 im 7)) (*.f64 im (exp.f64 re))))) |
(+.f64 (*.f64 (exp.f64 re) (+.f64 im (*.f64 -1/5040 (pow.f64 im 7)))) (*.f64 (exp.f64 re) (+.f64 (*.f64 -1/6 (pow.f64 im 3)) (*.f64 1/120 (pow.f64 im 5))))) |
(*.f64 (exp.f64 re) (+.f64 (+.f64 (*.f64 1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3))) (+.f64 im (*.f64 -1/5040 (pow.f64 im 7))))) |
(*.f64 (exp.f64 re) (+.f64 im (+.f64 (*.f64 -1/5040 (pow.f64 im 7)) (+.f64 (*.f64 1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3)))))) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(+.f64 1 (sin.f64 im)) |
(+.f64 (sin.f64 im) 1) |
(+.f64 (sin.f64 im) (+.f64 1 (*.f64 (sin.f64 im) re))) |
(+.f64 (sin.f64 im) (+.f64 (*.f64 (sin.f64 im) re) 1)) |
(+.f64 (sin.f64 im) (fma.f64 (sin.f64 im) re 1)) |
(fma.f64 (+.f64 re 1) (sin.f64 im) 1) |
(+.f64 (sin.f64 im) (+.f64 1 (+.f64 (*.f64 (sin.f64 im) re) (*.f64 1/2 (*.f64 (sin.f64 im) (pow.f64 re 2)))))) |
(+.f64 (sin.f64 im) (+.f64 (fma.f64 (sin.f64 im) re (*.f64 1/2 (*.f64 (sin.f64 im) (*.f64 re re)))) 1)) |
(+.f64 (sin.f64 im) (+.f64 (*.f64 (sin.f64 im) (*.f64 (*.f64 re re) 1/2)) (fma.f64 (sin.f64 im) re 1))) |
(+.f64 1 (*.f64 (sin.f64 im) (+.f64 (+.f64 re 1) (*.f64 re (*.f64 re 1/2))))) |
(+.f64 1 (*.f64 (sin.f64 im) (+.f64 re (+.f64 1 (*.f64 re (*.f64 re 1/2)))))) |
(+.f64 (sin.f64 im) (+.f64 1 (+.f64 (*.f64 (sin.f64 im) re) (+.f64 (*.f64 1/6 (*.f64 (sin.f64 im) (pow.f64 re 3))) (*.f64 1/2 (*.f64 (sin.f64 im) (pow.f64 re 2))))))) |
(+.f64 (sin.f64 im) (+.f64 (fma.f64 (sin.f64 im) re (fma.f64 1/6 (*.f64 (sin.f64 im) (pow.f64 re 3)) (*.f64 1/2 (*.f64 (sin.f64 im) (*.f64 re re))))) 1)) |
(+.f64 (fma.f64 (sin.f64 im) re 1) (+.f64 (fma.f64 1/2 (*.f64 (sin.f64 im) (*.f64 re re)) (*.f64 (pow.f64 re 3) (*.f64 (sin.f64 im) 1/6))) (sin.f64 im))) |
(+.f64 (*.f64 (sin.f64 im) (+.f64 (*.f64 re (*.f64 re 1/2)) (*.f64 1/6 (pow.f64 re 3)))) (fma.f64 (+.f64 re 1) (sin.f64 im) 1)) |
(+.f64 1 (*.f64 (sin.f64 im) (+.f64 (*.f64 (*.f64 re re) (+.f64 1/2 (*.f64 re 1/6))) (+.f64 re 1)))) |
(+.f64 1 (*.f64 (sin.f64 im) (+.f64 re (+.f64 1 (*.f64 (*.f64 re re) (+.f64 1/2 (*.f64 re 1/6))))))) |
(+.f64 1 (*.f64 (sin.f64 im) (exp.f64 re))) |
(+.f64 (*.f64 (sin.f64 im) (exp.f64 re)) 1) |
(fma.f64 (sin.f64 im) (exp.f64 re) 1) |
(+.f64 1 (*.f64 (sin.f64 im) (exp.f64 re))) |
(+.f64 (*.f64 (sin.f64 im) (exp.f64 re)) 1) |
(fma.f64 (sin.f64 im) (exp.f64 re) 1) |
(+.f64 1 (*.f64 (sin.f64 im) (exp.f64 re))) |
(+.f64 (*.f64 (sin.f64 im) (exp.f64 re)) 1) |
(fma.f64 (sin.f64 im) (exp.f64 re) 1) |
(+.f64 1 (*.f64 (sin.f64 im) (exp.f64 re))) |
(+.f64 (*.f64 (sin.f64 im) (exp.f64 re)) 1) |
(fma.f64 (sin.f64 im) (exp.f64 re) 1) |
(+.f64 1 (*.f64 (sin.f64 im) (exp.f64 re))) |
(+.f64 (*.f64 (sin.f64 im) (exp.f64 re)) 1) |
(fma.f64 (sin.f64 im) (exp.f64 re) 1) |
(+.f64 1 (*.f64 (sin.f64 im) (exp.f64 re))) |
(+.f64 (*.f64 (sin.f64 im) (exp.f64 re)) 1) |
(fma.f64 (sin.f64 im) (exp.f64 re) 1) |
(+.f64 1 (*.f64 (sin.f64 im) (exp.f64 re))) |
(+.f64 (*.f64 (sin.f64 im) (exp.f64 re)) 1) |
(fma.f64 (sin.f64 im) (exp.f64 re) 1) |
(+.f64 1 (*.f64 (sin.f64 im) (exp.f64 re))) |
(+.f64 (*.f64 (sin.f64 im) (exp.f64 re)) 1) |
(fma.f64 (sin.f64 im) (exp.f64 re) 1) |
1 |
(+.f64 1 (*.f64 (exp.f64 re) im)) |
(+.f64 (*.f64 im (exp.f64 re)) 1) |
(fma.f64 im (exp.f64 re) 1) |
(+.f64 (*.f64 -1/6 (*.f64 (exp.f64 re) (pow.f64 im 3))) (+.f64 1 (*.f64 (exp.f64 re) im))) |
(fma.f64 -1/6 (*.f64 (exp.f64 re) (pow.f64 im 3)) (+.f64 (*.f64 im (exp.f64 re)) 1)) |
(fma.f64 -1/6 (*.f64 (exp.f64 re) (pow.f64 im 3)) (fma.f64 im (exp.f64 re) 1)) |
(+.f64 1 (*.f64 (exp.f64 re) (+.f64 im (*.f64 -1/6 (pow.f64 im 3))))) |
(+.f64 (*.f64 1/120 (*.f64 (exp.f64 re) (pow.f64 im 5))) (+.f64 (*.f64 -1/6 (*.f64 (exp.f64 re) (pow.f64 im 3))) (+.f64 1 (*.f64 (exp.f64 re) im)))) |
(fma.f64 1/120 (*.f64 (exp.f64 re) (pow.f64 im 5)) (fma.f64 -1/6 (*.f64 (exp.f64 re) (pow.f64 im 3)) (+.f64 (*.f64 im (exp.f64 re)) 1))) |
(fma.f64 1/120 (*.f64 (exp.f64 re) (pow.f64 im 5)) (fma.f64 -1/6 (*.f64 (exp.f64 re) (pow.f64 im 3)) (fma.f64 im (exp.f64 re) 1))) |
(+.f64 (*.f64 (exp.f64 re) (+.f64 im (*.f64 1/120 (pow.f64 im 5)))) (fma.f64 (exp.f64 re) (*.f64 -1/6 (pow.f64 im 3)) 1)) |
(+.f64 1 (*.f64 (exp.f64 re) (+.f64 im (+.f64 (*.f64 1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3)))))) |
(+.f64 1 (*.f64 (sin.f64 im) (exp.f64 re))) |
(+.f64 (*.f64 (sin.f64 im) (exp.f64 re)) 1) |
(fma.f64 (sin.f64 im) (exp.f64 re) 1) |
(+.f64 1 (*.f64 (sin.f64 im) (exp.f64 re))) |
(+.f64 (*.f64 (sin.f64 im) (exp.f64 re)) 1) |
(fma.f64 (sin.f64 im) (exp.f64 re) 1) |
(+.f64 1 (*.f64 (sin.f64 im) (exp.f64 re))) |
(+.f64 (*.f64 (sin.f64 im) (exp.f64 re)) 1) |
(fma.f64 (sin.f64 im) (exp.f64 re) 1) |
(+.f64 1 (*.f64 (sin.f64 im) (exp.f64 re))) |
(+.f64 (*.f64 (sin.f64 im) (exp.f64 re)) 1) |
(fma.f64 (sin.f64 im) (exp.f64 re) 1) |
(+.f64 1 (*.f64 (sin.f64 im) (exp.f64 re))) |
(+.f64 (*.f64 (sin.f64 im) (exp.f64 re)) 1) |
(fma.f64 (sin.f64 im) (exp.f64 re) 1) |
(+.f64 1 (*.f64 (sin.f64 im) (exp.f64 re))) |
(+.f64 (*.f64 (sin.f64 im) (exp.f64 re)) 1) |
(fma.f64 (sin.f64 im) (exp.f64 re) 1) |
(+.f64 1 (*.f64 (sin.f64 im) (exp.f64 re))) |
(+.f64 (*.f64 (sin.f64 im) (exp.f64 re)) 1) |
(fma.f64 (sin.f64 im) (exp.f64 re) 1) |
(+.f64 1 (*.f64 (sin.f64 im) (exp.f64 re))) |
(+.f64 (*.f64 (sin.f64 im) (exp.f64 re)) 1) |
(fma.f64 (sin.f64 im) (exp.f64 re) 1) |
3 alts after pruning (1 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 147 | 0 | 147 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 147 | 3 | 150 |
| Status | Error | Program |
|---|---|---|
| ✓ | 19.2b | (-.f64 (+.f64 1 (*.f64 (exp.f64 re) (sin.f64 im))) 1) |
| ▶ | 21.6b | (+.f64 (sin.f64 im) (*.f64 (sin.f64 im) re)) |
| ✓ | 0.0b | (*.f64 (exp.f64 re) (sin.f64 im)) |
Compiled 2174 to 1153 computations (47% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 (sin.f64 im) (*.f64 (sin.f64 im) re)) |
| ✓ | 0.1b | (*.f64 (sin.f64 im) re) |
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | im | @ | -inf | (*.f64 (sin.f64 im) re) |
| 1.0ms | im | @ | 0 | (*.f64 (sin.f64 im) re) |
| 1.0ms | re | @ | 0 | (*.f64 (sin.f64 im) re) |
| 0.0ms | re | @ | inf | (*.f64 (sin.f64 im) re) |
| 0.0ms | im | @ | inf | (*.f64 (sin.f64 im) re) |
| 1× | batch-egg-rewrite |
| 718× | pow1_binary64 |
| 666× | add-log-exp_binary64 |
| 666× | log1p-expm1-u_binary64 |
| 666× | expm1-log1p-u_binary64 |
| 69× | add-sqr-sqrt_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 17 |
| 1 | 128 | 15 |
| 2 | 1786 | 15 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (sin.f64 im) re) |
(+.f64 (sin.f64 im) (*.f64 (sin.f64 im) re)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (sin.f64 im) re))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sin.f64 im) re) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (sin.f64 im) re)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (sin.f64 im) re)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (sin.f64 im) re) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (sin.f64 im) re) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 re) (sin.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (sin.f64 im) re))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (sin.f64 im) re) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (sin.f64 im) re)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (sin.f64 im) re)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (sin.f64 im) re))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (sin.f64 im) (+.f64 1 re)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (sin.f64 im) 2) (*.f64 (sin.f64 im) (-.f64 1 re))) (/.f64 (pow.f64 (*.f64 (sin.f64 im) re) 2) (*.f64 (sin.f64 im) (-.f64 1 re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sin.f64 im) (+.f64 1 re))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sin.f64 im) (+.f64 re 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sin.f64 im) (+.f64 1 re)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 (sin.f64 im) (+.f64 1 re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (sin.f64 im) (+.f64 1 re))) (cbrt.f64 (pow.f64 (*.f64 (sin.f64 im) (+.f64 1 re)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (*.f64 (sin.f64 im) (+.f64 1 re)) 2)) (cbrt.f64 (*.f64 (sin.f64 im) (+.f64 1 re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 (sin.f64 im) (+.f64 1 re))) (sqrt.f64 (*.f64 (sin.f64 im) (+.f64 1 re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (sin.f64 im) 3) (pow.f64 (*.f64 (sin.f64 im) re) 3)) (/.f64 1 (+.f64 (pow.f64 (sin.f64 im) 2) (*.f64 (*.f64 (sin.f64 im) re) (-.f64 (*.f64 (sin.f64 im) re) (sin.f64 im))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (sin.f64 im) 2) (pow.f64 (*.f64 (sin.f64 im) re) 2)) (/.f64 1 (*.f64 (sin.f64 im) (-.f64 1 re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 re 1) (sin.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (sin.f64 im) 2) (*.f64 (*.f64 (sin.f64 im) re) (-.f64 (*.f64 (sin.f64 im) re) (sin.f64 im)))) (+.f64 (pow.f64 (sin.f64 im) 3) (pow.f64 (*.f64 (sin.f64 im) re) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (*.f64 (sin.f64 im) (-.f64 1 re)) (-.f64 (pow.f64 (sin.f64 im) 2) (pow.f64 (*.f64 (sin.f64 im) re) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (sin.f64 im) 3) (pow.f64 (*.f64 (sin.f64 im) re) 3)) (+.f64 (pow.f64 (sin.f64 im) 2) (*.f64 (*.f64 (sin.f64 im) re) (-.f64 (*.f64 (sin.f64 im) re) (sin.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (sin.f64 im) 3) (pow.f64 (*.f64 (sin.f64 im) re) 3)) (+.f64 (pow.f64 (*.f64 (sin.f64 im) re) 2) (-.f64 (pow.f64 (sin.f64 im) 2) (*.f64 (pow.f64 (sin.f64 im) 2) re))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (sin.f64 im) 2) (pow.f64 (*.f64 (sin.f64 im) re) 2)) (*.f64 (sin.f64 im) (-.f64 1 re)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (sin.f64 im) 3) (pow.f64 (*.f64 (sin.f64 im) re) 3))) (neg.f64 (+.f64 (pow.f64 (sin.f64 im) 2) (*.f64 (*.f64 (sin.f64 im) re) (-.f64 (*.f64 (sin.f64 im) re) (sin.f64 im))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (sin.f64 im) 2) (pow.f64 (*.f64 (sin.f64 im) re) 2))) (neg.f64 (*.f64 (sin.f64 im) (-.f64 1 re))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 (sin.f64 im) re) 2) (pow.f64 (sin.f64 im) 2)) (-.f64 (*.f64 (sin.f64 im) re) (sin.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sin.f64 im) (+.f64 1 re)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (sin.f64 im) (+.f64 1 re)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (sin.f64 im) (+.f64 1 re))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (sin.f64 im) (+.f64 1 re))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (sin.f64 im) (+.f64 1 re)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 (sin.f64 im) (+.f64 1 re))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (sin.f64 im) (+.f64 1 re)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (sin.f64 im) (+.f64 1 re)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (sin.f64 im) (+.f64 1 re))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (sin.f64 im) (+.f64 1 re))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sin.f64 im) re (sin.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 re (sin.f64 im) (sin.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (sin.f64 im) (*.f64 (sin.f64 im) re))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 (sin.f64 im) re) (sin.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (sin.f64 im)) 2) (cbrt.f64 (sin.f64 im)) (*.f64 (sin.f64 im) re))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 (sin.f64 im) re)) 2) (cbrt.f64 (*.f64 (sin.f64 im) re)) (sin.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (sin.f64 im)) (sqrt.f64 (sin.f64 im)) (*.f64 (sin.f64 im) re))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 (sin.f64 im) re)) (sqrt.f64 (*.f64 (sin.f64 im) re)) (sin.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (sin.f64 im) (+.f64 1 re)))))))) |
| 1× | egg-herbie |
| 455× | associate-+l+_binary64 |
| 386× | distribute-lft-out_binary64 |
| 376× | *-commutative_binary64 |
| 315× | associate-*l*_binary64 |
| 308× | associate-+r+_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 45 | 185 |
| 1 | 119 | 185 |
| 2 | 302 | 174 |
| 3 | 1129 | 171 |
| 4 | 3190 | 165 |
| 5 | 4331 | 165 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 re im) |
(+.f64 (*.f64 -1/6 (*.f64 re (pow.f64 im 3))) (*.f64 re im)) |
(+.f64 (*.f64 -1/6 (*.f64 re (pow.f64 im 3))) (+.f64 (*.f64 1/120 (*.f64 re (pow.f64 im 5))) (*.f64 re im))) |
(+.f64 (*.f64 -1/5040 (*.f64 re (pow.f64 im 7))) (+.f64 (*.f64 -1/6 (*.f64 re (pow.f64 im 3))) (+.f64 (*.f64 1/120 (*.f64 re (pow.f64 im 5))) (*.f64 re im)))) |
(*.f64 (+.f64 1 re) im) |
(+.f64 (*.f64 (-.f64 (*.f64 -1/6 re) 1/6) (pow.f64 im 3)) (*.f64 (+.f64 1 re) im)) |
(+.f64 (*.f64 (-.f64 (*.f64 -1/6 re) 1/6) (pow.f64 im 3)) (+.f64 (*.f64 (+.f64 (*.f64 1/120 re) 1/120) (pow.f64 im 5)) (*.f64 (+.f64 1 re) im))) |
(+.f64 (*.f64 (-.f64 (*.f64 -1/6 re) 1/6) (pow.f64 im 3)) (+.f64 (*.f64 (+.f64 (*.f64 1/120 re) 1/120) (pow.f64 im 5)) (+.f64 (*.f64 (-.f64 (*.f64 -1/5040 re) 1/5040) (pow.f64 im 7)) (*.f64 (+.f64 1 re) im)))) |
(sin.f64 im) |
(*.f64 (sin.f64 im) re) |
(*.f64 (sin.f64 im) re) |
| Outputs |
|---|
(*.f64 re im) |
(+.f64 (*.f64 -1/6 (*.f64 re (pow.f64 im 3))) (*.f64 re im)) |
(fma.f64 -1/6 (*.f64 re (pow.f64 im 3)) (*.f64 re im)) |
(fma.f64 re im (*.f64 (pow.f64 im 3) (*.f64 re -1/6))) |
(*.f64 re (+.f64 (*.f64 -1/6 (pow.f64 im 3)) im)) |
(*.f64 re (+.f64 im (*.f64 -1/6 (pow.f64 im 3)))) |
(+.f64 (*.f64 -1/6 (*.f64 re (pow.f64 im 3))) (+.f64 (*.f64 1/120 (*.f64 re (pow.f64 im 5))) (*.f64 re im))) |
(fma.f64 -1/6 (*.f64 re (pow.f64 im 3)) (fma.f64 1/120 (*.f64 re (pow.f64 im 5)) (*.f64 re im))) |
(fma.f64 -1/6 (*.f64 re (pow.f64 im 3)) (fma.f64 re im (*.f64 (pow.f64 im 5) (*.f64 re 1/120)))) |
(fma.f64 re im (*.f64 re (+.f64 (*.f64 1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3))))) |
(*.f64 re (+.f64 (*.f64 -1/6 (pow.f64 im 3)) (+.f64 im (*.f64 1/120 (pow.f64 im 5))))) |
(*.f64 re (+.f64 (*.f64 1/120 (pow.f64 im 5)) (+.f64 im (*.f64 -1/6 (pow.f64 im 3))))) |
(+.f64 (*.f64 -1/5040 (*.f64 re (pow.f64 im 7))) (+.f64 (*.f64 -1/6 (*.f64 re (pow.f64 im 3))) (+.f64 (*.f64 1/120 (*.f64 re (pow.f64 im 5))) (*.f64 re im)))) |
(fma.f64 -1/5040 (*.f64 re (pow.f64 im 7)) (fma.f64 -1/6 (*.f64 re (pow.f64 im 3)) (fma.f64 1/120 (*.f64 re (pow.f64 im 5)) (*.f64 re im)))) |
(fma.f64 -1/5040 (*.f64 re (pow.f64 im 7)) (fma.f64 -1/6 (*.f64 re (pow.f64 im 3)) (fma.f64 re im (*.f64 (pow.f64 im 5) (*.f64 re 1/120))))) |
(fma.f64 re (*.f64 -1/6 (pow.f64 im 3)) (fma.f64 re (*.f64 -1/5040 (pow.f64 im 7)) (*.f64 re (+.f64 im (*.f64 1/120 (pow.f64 im 5)))))) |
(*.f64 re (+.f64 (+.f64 im (*.f64 1/120 (pow.f64 im 5))) (+.f64 (*.f64 -1/6 (pow.f64 im 3)) (*.f64 -1/5040 (pow.f64 im 7))))) |
(*.f64 re (+.f64 (+.f64 (*.f64 1/120 (pow.f64 im 5)) (+.f64 im (*.f64 -1/6 (pow.f64 im 3)))) (*.f64 -1/5040 (pow.f64 im 7)))) |
(*.f64 (+.f64 1 re) im) |
(*.f64 im (+.f64 re 1)) |
(fma.f64 re im im) |
(+.f64 (*.f64 (-.f64 (*.f64 -1/6 re) 1/6) (pow.f64 im 3)) (*.f64 (+.f64 1 re) im)) |
(fma.f64 (fma.f64 -1/6 re -1/6) (pow.f64 im 3) (*.f64 im (+.f64 re 1))) |
(fma.f64 im (+.f64 re 1) (*.f64 (pow.f64 im 3) (fma.f64 re -1/6 -1/6))) |
(fma.f64 (pow.f64 im 3) (fma.f64 re -1/6 -1/6) (fma.f64 re im im)) |
(*.f64 (+.f64 re 1) (+.f64 im (*.f64 -1/6 (pow.f64 im 3)))) |
(+.f64 (*.f64 (-.f64 (*.f64 -1/6 re) 1/6) (pow.f64 im 3)) (+.f64 (*.f64 (+.f64 (*.f64 1/120 re) 1/120) (pow.f64 im 5)) (*.f64 (+.f64 1 re) im))) |
(fma.f64 (fma.f64 -1/6 re -1/6) (pow.f64 im 3) (fma.f64 (fma.f64 1/120 re 1/120) (pow.f64 im 5) (*.f64 im (+.f64 re 1)))) |
(fma.f64 (pow.f64 im 3) (fma.f64 re -1/6 -1/6) (fma.f64 (pow.f64 im 5) (fma.f64 re 1/120 1/120) (*.f64 im (+.f64 re 1)))) |
(fma.f64 (pow.f64 im 3) (fma.f64 re -1/6 -1/6) (fma.f64 (pow.f64 im 5) (fma.f64 re 1/120 1/120) (fma.f64 re im im))) |
(fma.f64 (pow.f64 im 3) (fma.f64 re -1/6 -1/6) (*.f64 (+.f64 re 1) (+.f64 im (*.f64 1/120 (pow.f64 im 5))))) |
(*.f64 (+.f64 re 1) (+.f64 (*.f64 1/120 (pow.f64 im 5)) (+.f64 im (*.f64 -1/6 (pow.f64 im 3))))) |
(+.f64 (*.f64 (-.f64 (*.f64 -1/6 re) 1/6) (pow.f64 im 3)) (+.f64 (*.f64 (+.f64 (*.f64 1/120 re) 1/120) (pow.f64 im 5)) (+.f64 (*.f64 (-.f64 (*.f64 -1/5040 re) 1/5040) (pow.f64 im 7)) (*.f64 (+.f64 1 re) im)))) |
(fma.f64 (fma.f64 -1/6 re -1/6) (pow.f64 im 3) (fma.f64 (fma.f64 1/120 re 1/120) (pow.f64 im 5) (fma.f64 (fma.f64 -1/5040 re -1/5040) (pow.f64 im 7) (*.f64 im (+.f64 re 1))))) |
(fma.f64 (pow.f64 im 3) (fma.f64 re -1/6 -1/6) (fma.f64 (pow.f64 im 5) (fma.f64 re 1/120 1/120) (fma.f64 im (+.f64 re 1) (*.f64 (pow.f64 im 7) (fma.f64 re -1/5040 -1/5040))))) |
(fma.f64 (pow.f64 im 5) (fma.f64 re 1/120 1/120) (fma.f64 (pow.f64 im 3) (fma.f64 re -1/6 -1/6) (fma.f64 (pow.f64 im 7) (fma.f64 re -1/5040 -1/5040) (fma.f64 re im im)))) |
(fma.f64 (pow.f64 im 3) (fma.f64 re -1/6 -1/6) (fma.f64 (pow.f64 im 5) (fma.f64 re 1/120 1/120) (fma.f64 (pow.f64 im 7) (fma.f64 re -1/5040 -1/5040) (fma.f64 re im im)))) |
(*.f64 (+.f64 re 1) (+.f64 (+.f64 im (*.f64 1/120 (pow.f64 im 5))) (+.f64 (*.f64 -1/6 (pow.f64 im 3)) (*.f64 -1/5040 (pow.f64 im 7))))) |
(*.f64 (+.f64 re 1) (+.f64 (*.f64 -1/6 (pow.f64 im 3)) (+.f64 (*.f64 -1/5040 (pow.f64 im 7)) (+.f64 im (*.f64 1/120 (pow.f64 im 5)))))) |
(sin.f64 im) |
(*.f64 (sin.f64 im) re) |
(*.f64 re (sin.f64 im)) |
(*.f64 (sin.f64 im) re) |
(*.f64 re (sin.f64 im)) |
3 alts after pruning (0 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 69 | 0 | 69 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 2 | 2 |
| Total | 69 | 3 | 72 |
| Status | Error | Program |
|---|---|---|
| ✓ | 19.2b | (-.f64 (+.f64 1 (*.f64 (exp.f64 re) (sin.f64 im))) 1) |
| ✓ | 21.6b | (+.f64 (sin.f64 im) (*.f64 (sin.f64 im) re)) |
| ✓ | 0.0b | (*.f64 (exp.f64 re) (sin.f64 im)) |
Compiled 961 to 502 computations (47.8% saved)
Total -41.0b remaining (-319773%)
Threshold costs -41.0b (-319773%)
Compiled 81 to 40 computations (50.6% saved)
| 1× | egg-herbie |
| 1× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 8 |
| 1 | 7 | 8 |
| 1× | saturated |
| Inputs |
|---|
(*.f64 (exp.f64 re) (sin.f64 im)) |
| Outputs |
|---|
(*.f64 (exp.f64 re) (sin.f64 im)) |
| 1× | done |
Compiled 35 to 16 computations (54.3% saved)
Loading profile data...