Time bar (total: 3.0s)
| 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)
| 738.0ms | 1375× | body | 1024 | valid |
| 666.0ms | 5835× | body | 128 | valid |
| 349.0ms | 718× | body | 1024 | invalid |
| 199.0ms | 680× | body | 512 | valid |
| 92.0ms | 318× | body | 512 | invalid |
| 70.0ms | 357× | body | 256 | valid |
| 47.0ms | 199× | body | 256 | invalid |
| 28.0ms | 238× | body | 128 | invalid |
| 9.0ms | 9× | body | 2048 | valid |
Compiled 16 to 12 computations (25% saved)
| 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 | |
|---|---|---|---|---|
| 1.0ms | im | @ | 0 | (*.f64 (exp.f64 re) (sin.f64 im)) |
| 1.0ms | re | @ | inf | (*.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)) |
| 0.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 expm1.f64 (log1p.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 log1p.f64 (expm1.f64 (*.f64 (exp.f64 re) (sin.f64 im)))))))) |
| 1× | egg-herbie |
| 867× | fma-def_binary64 |
| 496× | associate-*l*_binary64 |
| 401× | associate-*r*_binary64 |
| 338× | cancel-sign-sub-inv_binary64 |
| 241× | fma-neg_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 40 | 168 |
| 1 | 125 | 160 |
| 2 | 363 | 139 |
| 3 | 1249 | 119 |
| 4 | 4517 | 119 |
| 1× | node limit |
| Inputs |
|---|
(sin.f64 im) |
(+.f64 (*.f64 re (sin.f64 im)) (sin.f64 im)) |
(+.f64 (*.f64 1/2 (*.f64 (pow.f64 re 2) (sin.f64 im))) (+.f64 (*.f64 re (sin.f64 im)) (sin.f64 im))) |
(+.f64 (*.f64 1/2 (*.f64 (pow.f64 re 2) (sin.f64 im))) (+.f64 (*.f64 re (sin.f64 im)) (+.f64 (*.f64 1/6 (*.f64 (pow.f64 re 3) (sin.f64 im))) (sin.f64 im)))) |
(*.f64 (exp.f64 re) im) |
(-.f64 (*.f64 (exp.f64 re) im) (*.f64 1/6 (*.f64 (exp.f64 re) (pow.f64 im 3)))) |
(-.f64 (+.f64 (*.f64 (exp.f64 re) im) (*.f64 1/120 (*.f64 (exp.f64 re) (pow.f64 im 5)))) (*.f64 1/6 (*.f64 (exp.f64 re) (pow.f64 im 3)))) |
(-.f64 (+.f64 (*.f64 (exp.f64 re) im) (*.f64 1/120 (*.f64 (exp.f64 re) (pow.f64 im 5)))) (+.f64 (*.f64 1/5040 (*.f64 (exp.f64 re) (pow.f64 im 7))) (*.f64 1/6 (*.f64 (exp.f64 re) (pow.f64 im 3))))) |
| Outputs |
|---|
(sin.f64 im) |
(+.f64 (*.f64 re (sin.f64 im)) (sin.f64 im)) |
(fma.f64 re (sin.f64 im) (sin.f64 im)) |
(*.f64 (sin.f64 im) (+.f64 re 1)) |
(fma.f64 (sin.f64 im) re (sin.f64 im)) |
(+.f64 (*.f64 1/2 (*.f64 (pow.f64 re 2) (sin.f64 im))) (+.f64 (*.f64 re (sin.f64 im)) (sin.f64 im))) |
(fma.f64 1/2 (*.f64 (sin.f64 im) (*.f64 re re)) (fma.f64 re (sin.f64 im) (sin.f64 im))) |
(*.f64 (sin.f64 im) (+.f64 (+.f64 re 1) (*.f64 (*.f64 1/2 re) re))) |
(*.f64 (sin.f64 im) (+.f64 1 (fma.f64 1/2 (*.f64 re re) re))) |
(*.f64 (sin.f64 im) (fma.f64 (fma.f64 re 1/2 1) re 1)) |
(+.f64 (*.f64 1/2 (*.f64 (pow.f64 re 2) (sin.f64 im))) (+.f64 (*.f64 re (sin.f64 im)) (+.f64 (*.f64 1/6 (*.f64 (pow.f64 re 3) (sin.f64 im))) (sin.f64 im)))) |
(fma.f64 1/2 (*.f64 (sin.f64 im) (*.f64 re re)) (fma.f64 re (sin.f64 im) (fma.f64 1/6 (*.f64 (sin.f64 im) (pow.f64 re 3)) (sin.f64 im)))) |
(+.f64 (fma.f64 1/6 (*.f64 (sin.f64 im) (pow.f64 re 3)) (sin.f64 im)) (*.f64 (sin.f64 im) (+.f64 (*.f64 (*.f64 1/2 re) re) re))) |
(*.f64 (sin.f64 im) (+.f64 (+.f64 1 (fma.f64 1/2 (*.f64 re re) re)) (*.f64 1/6 (pow.f64 re 3)))) |
(*.f64 (sin.f64 im) (+.f64 (fma.f64 re (*.f64 re 1/2) 1) (fma.f64 1/6 (pow.f64 re 3) re))) |
(*.f64 (exp.f64 re) im) |
(*.f64 im (exp.f64 re)) |
(-.f64 (*.f64 (exp.f64 re) im) (*.f64 1/6 (*.f64 (exp.f64 re) (pow.f64 im 3)))) |
(+.f64 (*.f64 im (exp.f64 re)) (*.f64 -1/6 (*.f64 (exp.f64 re) (pow.f64 im 3)))) |
(fma.f64 im (exp.f64 re) (*.f64 (*.f64 -1/6 (exp.f64 re)) (pow.f64 im 3))) |
(*.f64 (exp.f64 re) (-.f64 im (*.f64 1/6 (pow.f64 im 3)))) |
(*.f64 (exp.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im)) |
(-.f64 (+.f64 (*.f64 (exp.f64 re) im) (*.f64 1/120 (*.f64 (exp.f64 re) (pow.f64 im 5)))) (*.f64 1/6 (*.f64 (exp.f64 re) (pow.f64 im 3)))) |
(+.f64 (fma.f64 (exp.f64 re) im (*.f64 1/120 (*.f64 (exp.f64 re) (pow.f64 im 5)))) (*.f64 -1/6 (*.f64 (exp.f64 re) (pow.f64 im 3)))) |
(fma.f64 im (exp.f64 re) (fma.f64 1/120 (*.f64 (exp.f64 re) (pow.f64 im 5)) (*.f64 (*.f64 -1/6 (exp.f64 re)) (pow.f64 im 3)))) |
(fma.f64 im (exp.f64 re) (*.f64 (exp.f64 re) (-.f64 (*.f64 1/120 (pow.f64 im 5)) (*.f64 1/6 (pow.f64 im 3))))) |
(*.f64 (exp.f64 re) (+.f64 (*.f64 1/120 (pow.f64 im 5)) (fma.f64 (pow.f64 im 3) -1/6 im))) |
(-.f64 (+.f64 (*.f64 (exp.f64 re) im) (*.f64 1/120 (*.f64 (exp.f64 re) (pow.f64 im 5)))) (+.f64 (*.f64 1/5040 (*.f64 (exp.f64 re) (pow.f64 im 7))) (*.f64 1/6 (*.f64 (exp.f64 re) (pow.f64 im 3))))) |
(-.f64 (fma.f64 (exp.f64 re) im (*.f64 1/120 (*.f64 (exp.f64 re) (pow.f64 im 5)))) (fma.f64 1/5040 (*.f64 (exp.f64 re) (pow.f64 im 7)) (*.f64 1/6 (*.f64 (exp.f64 re) (pow.f64 im 3))))) |
(-.f64 (fma.f64 im (exp.f64 re) (*.f64 (exp.f64 re) (*.f64 (pow.f64 im 5) 1/120))) (fma.f64 1/5040 (*.f64 (exp.f64 re) (pow.f64 im 7)) (*.f64 (exp.f64 re) (*.f64 (pow.f64 im 3) 1/6)))) |
(+.f64 (*.f64 (exp.f64 re) (-.f64 (*.f64 1/120 (pow.f64 im 5)) (*.f64 1/6 (pow.f64 im 3)))) (*.f64 (exp.f64 re) (-.f64 im (*.f64 1/5040 (pow.f64 im 7))))) |
(*.f64 (exp.f64 re) (-.f64 (fma.f64 1/120 (pow.f64 im 5) im) (fma.f64 1/6 (pow.f64 im 3) (*.f64 1/5040 (pow.f64 im 7))))) |
4 alts after pruning (3 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 25 | 3 | 28 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 25 | 4 | 29 |
| Status | Error | Program |
|---|---|---|
| 36.1b | (exp.f64 (+.f64 re (log.f64 (sin.f64 im)))) | |
| 24.4b | (pow.f64 (sqrt.f64 (*.f64 (exp.f64 re) (sin.f64 im))) 2) | |
| ▶ | 22.1b | (fma.f64 (sin.f64 im) re (sin.f64 im)) |
| ✓ | 0.0b | (*.f64 (exp.f64 re) (sin.f64 im)) |
Compiled 365 to 195 computations (46.6% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (fma.f64 (sin.f64 im) re (sin.f64 im)) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | im | @ | 0 | (fma.f64 (sin.f64 im) re (sin.f64 im)) |
| 1.0ms | re | @ | 0 | (fma.f64 (sin.f64 im) re (sin.f64 im)) |
| 1.0ms | re | @ | -inf | (fma.f64 (sin.f64 im) re (sin.f64 im)) |
| 1.0ms | im | @ | inf | (fma.f64 (sin.f64 im) re (sin.f64 im)) |
| 0.0ms | re | @ | inf | (fma.f64 (sin.f64 im) re (sin.f64 im)) |
| 1× | batch-egg-rewrite |
| 479× | pow1_binary64 |
| 438× | add-log-exp_binary64 |
| 438× | log1p-expm1-u_binary64 |
| 438× | expm1-log1p-u_binary64 |
| 427× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 9 |
| 1 | 98 | 9 |
| 2 | 1163 | 9 |
| 1× | node limit |
| Inputs |
|---|
(fma.f64 (sin.f64 im) re (sin.f64 im)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (sin.f64 im) (*.f64 (sin.f64 im) re))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (sin.f64 im) re) (sin.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (sin.f64 im) re) 1) (sin.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 (sin.f64 im) re (sin.f64 im))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (sin.f64 im) re (sin.f64 im)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 (sin.f64 im) re (sin.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 (sin.f64 im) re (sin.f64 im))) (cbrt.f64 (pow.f64 (fma.f64 (sin.f64 im) re (sin.f64 im)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fma.f64 (sin.f64 im) re (sin.f64 im)) 2)) (cbrt.f64 (fma.f64 (sin.f64 im) re (sin.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 (sin.f64 im) re (sin.f64 im))) (sqrt.f64 (fma.f64 (sin.f64 im) re (sin.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 (sin.f64 im) re) 3) (pow.f64 (sin.f64 im) 3)) (+.f64 (*.f64 (*.f64 (sin.f64 im) re) (*.f64 (sin.f64 im) re)) (-.f64 (pow.f64 (sin.f64 im) 2) (*.f64 (*.f64 (sin.f64 im) re) (sin.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 (sin.f64 im) re) (*.f64 (sin.f64 im) re)) (pow.f64 (sin.f64 im) 2)) (-.f64 (*.f64 (sin.f64 im) re) (sin.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 (sin.f64 im) re (sin.f64 im)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 (sin.f64 im) re (sin.f64 im)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 (sin.f64 im) re (sin.f64 im))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 (sin.f64 im) re (sin.f64 im))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 (sin.f64 im) re (sin.f64 im)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 (sin.f64 im) re (sin.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 (sin.f64 im) re (sin.f64 im)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 (sin.f64 im) re (sin.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 (sin.f64 im) re (sin.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 (sin.f64 im) re (sin.f64 im)))))))) |
| 1× | egg-herbie |
| 682× | fma-neg_binary64 |
| 549× | associate--r+_binary64 |
| 422× | associate-*l*_binary64 |
| 350× | fma-def_binary64 |
| 304× | associate-*r*_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 41 | 293 |
| 1 | 139 | 276 |
| 2 | 491 | 260 |
| 3 | 2299 | 252 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (+.f64 1 re) im) |
(-.f64 (+.f64 (*.f64 re im) im) (+.f64 (*.f64 1/6 (*.f64 re (pow.f64 im 3))) (*.f64 1/6 (pow.f64 im 3)))) |
(-.f64 (+.f64 (*.f64 1/120 (pow.f64 im 5)) (+.f64 (*.f64 1/120 (*.f64 re (pow.f64 im 5))) (+.f64 (*.f64 re im) im))) (+.f64 (*.f64 1/6 (pow.f64 im 3)) (*.f64 1/6 (*.f64 re (pow.f64 im 3))))) |
(-.f64 (+.f64 (*.f64 1/120 (*.f64 re (pow.f64 im 5))) (+.f64 (*.f64 1/120 (pow.f64 im 5)) (+.f64 (*.f64 re im) im))) (+.f64 (*.f64 1/6 (pow.f64 im 3)) (+.f64 (*.f64 1/6 (*.f64 re (pow.f64 im 3))) (+.f64 (*.f64 1/5040 (*.f64 re (pow.f64 im 7))) (*.f64 1/5040 (pow.f64 im 7)))))) |
(+.f64 (*.f64 re (sin.f64 im)) (sin.f64 im)) |
(+.f64 (*.f64 re (sin.f64 im)) (sin.f64 im)) |
(+.f64 (*.f64 re (sin.f64 im)) (sin.f64 im)) |
(+.f64 (*.f64 re (sin.f64 im)) (sin.f64 im)) |
(+.f64 (*.f64 re (sin.f64 im)) (sin.f64 im)) |
(+.f64 (*.f64 re (sin.f64 im)) (sin.f64 im)) |
(+.f64 (*.f64 re (sin.f64 im)) (sin.f64 im)) |
(+.f64 (*.f64 re (sin.f64 im)) (sin.f64 im)) |
(sin.f64 im) |
(+.f64 (*.f64 re (sin.f64 im)) (sin.f64 im)) |
(+.f64 (*.f64 re (sin.f64 im)) (sin.f64 im)) |
(+.f64 (*.f64 re (sin.f64 im)) (sin.f64 im)) |
(*.f64 re (sin.f64 im)) |
(+.f64 (*.f64 re (sin.f64 im)) (sin.f64 im)) |
(+.f64 (*.f64 re (sin.f64 im)) (sin.f64 im)) |
(+.f64 (*.f64 re (sin.f64 im)) (sin.f64 im)) |
(*.f64 re (sin.f64 im)) |
(+.f64 (*.f64 re (sin.f64 im)) (sin.f64 im)) |
(+.f64 (*.f64 re (sin.f64 im)) (sin.f64 im)) |
(+.f64 (*.f64 re (sin.f64 im)) (sin.f64 im)) |
| Outputs |
|---|
(*.f64 (+.f64 1 re) im) |
(fma.f64 re im im) |
(-.f64 (+.f64 (*.f64 re im) im) (+.f64 (*.f64 1/6 (*.f64 re (pow.f64 im 3))) (*.f64 1/6 (pow.f64 im 3)))) |
(-.f64 (fma.f64 re im im) (*.f64 1/6 (+.f64 (*.f64 re (pow.f64 im 3)) (pow.f64 im 3)))) |
(-.f64 (fma.f64 re im im) (*.f64 (pow.f64 im 3) (+.f64 (*.f64 re 1/6) 1/6))) |
(-.f64 (fma.f64 re im im) (*.f64 (pow.f64 im 3) (fma.f64 re 1/6 1/6))) |
(*.f64 (+.f64 1 re) (+.f64 im (*.f64 (pow.f64 im 3) -1/6))) |
(-.f64 (+.f64 (*.f64 1/120 (pow.f64 im 5)) (+.f64 (*.f64 1/120 (*.f64 re (pow.f64 im 5))) (+.f64 (*.f64 re im) im))) (+.f64 (*.f64 1/6 (pow.f64 im 3)) (*.f64 1/6 (*.f64 re (pow.f64 im 3))))) |
(-.f64 (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/120 (*.f64 re (pow.f64 im 5)) (fma.f64 re im im))) (*.f64 1/6 (+.f64 (*.f64 re (pow.f64 im 3)) (pow.f64 im 3)))) |
(+.f64 (+.f64 (fma.f64 re im im) (*.f64 (pow.f64 im 5) (+.f64 1/120 (*.f64 re 1/120)))) (*.f64 -1/6 (*.f64 (+.f64 1 re) (pow.f64 im 3)))) |
(-.f64 (fma.f64 (pow.f64 im 5) (fma.f64 re 1/120 1/120) (fma.f64 re im im)) (*.f64 (pow.f64 im 3) (fma.f64 re 1/6 1/6))) |
(-.f64 (*.f64 (+.f64 1 re) (fma.f64 1/120 (pow.f64 im 5) im)) (*.f64 (pow.f64 im 3) (fma.f64 re 1/6 1/6))) |
(-.f64 (+.f64 (*.f64 1/120 (*.f64 re (pow.f64 im 5))) (+.f64 (*.f64 1/120 (pow.f64 im 5)) (+.f64 (*.f64 re im) im))) (+.f64 (*.f64 1/6 (pow.f64 im 3)) (+.f64 (*.f64 1/6 (*.f64 re (pow.f64 im 3))) (+.f64 (*.f64 1/5040 (*.f64 re (pow.f64 im 7))) (*.f64 1/5040 (pow.f64 im 7)))))) |
(-.f64 (fma.f64 1/120 (*.f64 re (pow.f64 im 5)) (fma.f64 1/120 (pow.f64 im 5) (fma.f64 re im im))) (fma.f64 1/6 (pow.f64 im 3) (fma.f64 1/6 (*.f64 re (pow.f64 im 3)) (*.f64 1/5040 (+.f64 (*.f64 re (pow.f64 im 7)) (pow.f64 im 7)))))) |
(+.f64 (*.f64 (pow.f64 im 5) (+.f64 1/120 (*.f64 re 1/120))) (-.f64 (fma.f64 re im im) (fma.f64 1/6 (*.f64 (+.f64 1 re) (pow.f64 im 3)) (*.f64 (pow.f64 im 7) (+.f64 (*.f64 re 1/5040) 1/5040))))) |
(-.f64 (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 (pow.f64 im 7) (fma.f64 re 1/5040 1/5040)))) |
(-.f64 (*.f64 (+.f64 1 re) (fma.f64 1/120 (pow.f64 im 5) im)) (*.f64 (+.f64 1 re) (fma.f64 1/5040 (pow.f64 im 7) (*.f64 1/6 (pow.f64 im 3))))) |
(+.f64 (*.f64 re (sin.f64 im)) (sin.f64 im)) |
(*.f64 (+.f64 1 re) (sin.f64 im)) |
(*.f64 (sin.f64 im) (+.f64 1 re)) |
(+.f64 (*.f64 re (sin.f64 im)) (sin.f64 im)) |
(*.f64 (+.f64 1 re) (sin.f64 im)) |
(*.f64 (sin.f64 im) (+.f64 1 re)) |
(+.f64 (*.f64 re (sin.f64 im)) (sin.f64 im)) |
(*.f64 (+.f64 1 re) (sin.f64 im)) |
(*.f64 (sin.f64 im) (+.f64 1 re)) |
(+.f64 (*.f64 re (sin.f64 im)) (sin.f64 im)) |
(*.f64 (+.f64 1 re) (sin.f64 im)) |
(*.f64 (sin.f64 im) (+.f64 1 re)) |
(+.f64 (*.f64 re (sin.f64 im)) (sin.f64 im)) |
(*.f64 (+.f64 1 re) (sin.f64 im)) |
(*.f64 (sin.f64 im) (+.f64 1 re)) |
(+.f64 (*.f64 re (sin.f64 im)) (sin.f64 im)) |
(*.f64 (+.f64 1 re) (sin.f64 im)) |
(*.f64 (sin.f64 im) (+.f64 1 re)) |
(+.f64 (*.f64 re (sin.f64 im)) (sin.f64 im)) |
(*.f64 (+.f64 1 re) (sin.f64 im)) |
(*.f64 (sin.f64 im) (+.f64 1 re)) |
(+.f64 (*.f64 re (sin.f64 im)) (sin.f64 im)) |
(*.f64 (+.f64 1 re) (sin.f64 im)) |
(*.f64 (sin.f64 im) (+.f64 1 re)) |
(sin.f64 im) |
(+.f64 (*.f64 re (sin.f64 im)) (sin.f64 im)) |
(*.f64 (+.f64 1 re) (sin.f64 im)) |
(*.f64 (sin.f64 im) (+.f64 1 re)) |
(+.f64 (*.f64 re (sin.f64 im)) (sin.f64 im)) |
(*.f64 (+.f64 1 re) (sin.f64 im)) |
(*.f64 (sin.f64 im) (+.f64 1 re)) |
(+.f64 (*.f64 re (sin.f64 im)) (sin.f64 im)) |
(*.f64 (+.f64 1 re) (sin.f64 im)) |
(*.f64 (sin.f64 im) (+.f64 1 re)) |
(*.f64 re (sin.f64 im)) |
(+.f64 (*.f64 re (sin.f64 im)) (sin.f64 im)) |
(*.f64 (+.f64 1 re) (sin.f64 im)) |
(*.f64 (sin.f64 im) (+.f64 1 re)) |
(+.f64 (*.f64 re (sin.f64 im)) (sin.f64 im)) |
(*.f64 (+.f64 1 re) (sin.f64 im)) |
(*.f64 (sin.f64 im) (+.f64 1 re)) |
(+.f64 (*.f64 re (sin.f64 im)) (sin.f64 im)) |
(*.f64 (+.f64 1 re) (sin.f64 im)) |
(*.f64 (sin.f64 im) (+.f64 1 re)) |
(*.f64 re (sin.f64 im)) |
(+.f64 (*.f64 re (sin.f64 im)) (sin.f64 im)) |
(*.f64 (+.f64 1 re) (sin.f64 im)) |
(*.f64 (sin.f64 im) (+.f64 1 re)) |
(+.f64 (*.f64 re (sin.f64 im)) (sin.f64 im)) |
(*.f64 (+.f64 1 re) (sin.f64 im)) |
(*.f64 (sin.f64 im) (+.f64 1 re)) |
(+.f64 (*.f64 re (sin.f64 im)) (sin.f64 im)) |
(*.f64 (+.f64 1 re) (sin.f64 im)) |
(*.f64 (sin.f64 im) (+.f64 1 re)) |
4 alts after pruning (2 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 33 | 0 | 33 |
| Fresh | 0 | 2 | 2 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 33 | 4 | 37 |
| Status | Error | Program |
|---|---|---|
| 36.1b | (exp.f64 (+.f64 re (log.f64 (sin.f64 im)))) | |
| ▶ | 24.4b | (pow.f64 (sqrt.f64 (*.f64 (exp.f64 re) (sin.f64 im))) 2) |
| ✓ | 22.1b | (fma.f64 (sin.f64 im) re (sin.f64 im)) |
| ✓ | 0.0b | (*.f64 (exp.f64 re) (sin.f64 im)) |
Compiled 475 to 225 computations (52.6% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (*.f64 (exp.f64 re) (sin.f64 im)) | |
| ✓ | 0.1b | (pow.f64 (sqrt.f64 (*.f64 (exp.f64 re) (sin.f64 im))) 2) |
| ✓ | 0.8b | (sqrt.f64 (*.f64 (exp.f64 re) (sin.f64 im))) |
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | im | @ | -inf | (pow.f64 (sqrt.f64 (*.f64 (exp.f64 re) (sin.f64 im))) 2) |
| 1.0ms | im | @ | 0 | (sqrt.f64 (*.f64 (exp.f64 re) (sin.f64 im))) |
| 1.0ms | im | @ | 0 | (pow.f64 (sqrt.f64 (*.f64 (exp.f64 re) (sin.f64 im))) 2) |
| 1.0ms | re | @ | 0 | (sqrt.f64 (*.f64 (exp.f64 re) (sin.f64 im))) |
| 1.0ms | im | @ | inf | (pow.f64 (sqrt.f64 (*.f64 (exp.f64 re) (sin.f64 im))) 2) |
| 1× | batch-egg-rewrite |
| 681× | pow1_binary64 |
| 626× | add-log-exp_binary64 |
| 626× | log1p-expm1-u_binary64 |
| 626× | expm1-log1p-u_binary64 |
| 77× | add-sqr-sqrt_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 18 |
| 1 | 179 | 18 |
| 2 | 1769 | 18 |
| 1× | node limit |
| Inputs |
|---|
(sqrt.f64 (*.f64 (exp.f64 re) (sin.f64 im))) |
(pow.f64 (sqrt.f64 (*.f64 (exp.f64 re) (sin.f64 im))) 2) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (sqrt.f64 (*.f64 (exp.f64 re) (sin.f64 im))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 (exp.f64 re) (sin.f64 im))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (sqrt.f64 (*.f64 (exp.f64 re) (sin.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (exp.f64 re) (sin.f64 im))) (cbrt.f64 (sqrt.f64 (*.f64 (exp.f64 re) (sin.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sqrt.f64 (*.f64 (exp.f64 re) (sin.f64 im)))) (cbrt.f64 (*.f64 (exp.f64 re) (sin.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (sin.f64 im)) (sqrt.f64 (exp.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (exp.f64 re)) (sqrt.f64 (sin.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 (exp.f64 re) (sin.f64 im)) 1/4) (pow.f64 (*.f64 (exp.f64 re) (sin.f64 im)) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cbrt.f64 (pow.f64 (*.f64 (exp.f64 re) (sin.f64 im)) 2))) (sqrt.f64 (cbrt.f64 (*.f64 (exp.f64 re) (sin.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/2) (sqrt.f64 (*.f64 (exp.f64 re) (sin.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (pow.f64 (*.f64 (exp.f64 re) (sin.f64 im)) 2)) 1/2) (pow.f64 (cbrt.f64 (*.f64 (exp.f64 re) (sin.f64 im))) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (exp.f64 re) (sin.f64 im)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.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/2) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (sqrt.f64 (*.f64 (exp.f64 re) (sin.f64 im)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (exp.f64 re) (sin.f64 im)) 1/4) 2)))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (sqrt.f64 (*.f64 (exp.f64 re) (sin.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sqrt.f64 (*.f64 (exp.f64 re) (sin.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (sqrt.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/2))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (sqrt.f64 (*.f64 (exp.f64 re) (sin.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (+.f64 re (log.f64 (sin.f64 im))) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sqrt.f64 (*.f64 (exp.f64 re) (sin.f64 im))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (exp.f64 re) (sin.f64 im)))) 1)))) (#(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 (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 1 (*.f64 (exp.f64 re) (sin.f64 im)))))) (#(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))) (cbrt.f64 (pow.f64 (*.f64 (exp.f64 re) (sin.f64 im)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (exp.f64 re) (sin.f64 im))) (*.f64 (cbrt.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 (cbrt.f64 (pow.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 (cbrt.f64 (pow.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 (exp.f64 re)) (*.f64 (sqrt.f64 (exp.f64 re)) (sin.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (exp.f64 re)) (*.f64 (sqrt.f64 (sin.f64 im)) (sqrt.f64 (*.f64 (exp.f64 re) (sin.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 (exp.f64 re) (sin.f64 im)) 1/4) (*.f64 (pow.f64 (*.f64 (exp.f64 re) (sin.f64 im)) 1/4) (sqrt.f64 (*.f64 (exp.f64 re) (sin.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (*.f64 (exp.f64 re) (sin.f64 im))) (pow.f64 (*.f64 (exp.f64 re) (sin.f64 im)) 1/4)) (pow.f64 (*.f64 (exp.f64 re) (sin.f64 im)) 1/4))))) (#(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) (cbrt.f64 (pow.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 (*.f64 (sqrt.f64 (*.f64 (exp.f64 re) (sin.f64 im))) (cbrt.f64 (*.f64 (exp.f64 re) (sin.f64 im)))) (cbrt.f64 (sqrt.f64 (*.f64 (exp.f64 re) (sin.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (*.f64 (exp.f64 re) (sin.f64 im))) (sqrt.f64 (exp.f64 re))) (sqrt.f64 (sin.f64 im)))))) (#(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 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 expm1.f64 (log1p.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 log1p.f64 (expm1.f64 (*.f64 (exp.f64 re) (sin.f64 im)))))))) |
| 1× | egg-herbie |
| 891× | fma-def_binary64 |
| 600× | distribute-rgt-out_binary64 |
| 395× | associate-*l*_binary64 |
| 371× | distribute-lft-out_binary64 |
| 286× | associate-*r*_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 36 | 293 |
| 1 | 101 | 276 |
| 2 | 283 | 252 |
| 3 | 872 | 240 |
| 4 | 2975 | 239 |
| 5 | 4392 | 239 |
| 1× | node limit |
| Inputs |
|---|
(sqrt.f64 (sin.f64 im)) |
(+.f64 (*.f64 1/2 (*.f64 re (sqrt.f64 (sin.f64 im)))) (sqrt.f64 (sin.f64 im))) |
(+.f64 (*.f64 1/2 (*.f64 re (sqrt.f64 (sin.f64 im)))) (+.f64 (sqrt.f64 (sin.f64 im)) (*.f64 1/8 (*.f64 (pow.f64 re 2) (sqrt.f64 (sin.f64 im)))))) |
(+.f64 (*.f64 1/2 (*.f64 re (sqrt.f64 (sin.f64 im)))) (+.f64 (*.f64 1/48 (*.f64 (pow.f64 re 3) (sqrt.f64 (sin.f64 im)))) (+.f64 (sqrt.f64 (sin.f64 im)) (*.f64 1/8 (*.f64 (pow.f64 re 2) (sqrt.f64 (sin.f64 im))))))) |
(sin.f64 im) |
(+.f64 (*.f64 re (sin.f64 im)) (sin.f64 im)) |
(+.f64 (*.f64 1/2 (*.f64 (pow.f64 re 2) (sin.f64 im))) (+.f64 (*.f64 re (sin.f64 im)) (sin.f64 im))) |
(+.f64 (*.f64 1/2 (*.f64 (pow.f64 re 2) (sin.f64 im))) (+.f64 (*.f64 re (sin.f64 im)) (+.f64 (*.f64 1/6 (*.f64 (pow.f64 re 3) (sin.f64 im))) (sin.f64 im)))) |
(*.f64 (exp.f64 re) (sin.f64 im)) |
(*.f64 (exp.f64 re) (sin.f64 im)) |
(*.f64 (exp.f64 re) (sin.f64 im)) |
(*.f64 (exp.f64 re) (sin.f64 im)) |
(*.f64 (exp.f64 re) (sin.f64 im)) |
(*.f64 (exp.f64 re) (sin.f64 im)) |
(*.f64 (exp.f64 re) (sin.f64 im)) |
(*.f64 (exp.f64 re) (sin.f64 im)) |
(*.f64 (exp.f64 re) (sin.f64 im)) |
(*.f64 (exp.f64 re) (sin.f64 im)) |
(*.f64 (exp.f64 re) (sin.f64 im)) |
(*.f64 (exp.f64 re) (sin.f64 im)) |
(*.f64 (exp.f64 re) (sin.f64 im)) |
(*.f64 (exp.f64 re) (sin.f64 im)) |
(*.f64 (exp.f64 re) (sin.f64 im)) |
(*.f64 (exp.f64 re) (sin.f64 im)) |
| Outputs |
|---|
(sqrt.f64 (sin.f64 im)) |
(+.f64 (*.f64 1/2 (*.f64 re (sqrt.f64 (sin.f64 im)))) (sqrt.f64 (sin.f64 im))) |
(fma.f64 1/2 (*.f64 (sqrt.f64 (sin.f64 im)) re) (sqrt.f64 (sin.f64 im))) |
(*.f64 (+.f64 (*.f64 1/2 re) 1) (sqrt.f64 (sin.f64 im))) |
(*.f64 (sqrt.f64 (sin.f64 im)) (fma.f64 1/2 re 1)) |
(+.f64 (*.f64 1/2 (*.f64 re (sqrt.f64 (sin.f64 im)))) (+.f64 (sqrt.f64 (sin.f64 im)) (*.f64 1/8 (*.f64 (pow.f64 re 2) (sqrt.f64 (sin.f64 im)))))) |
(+.f64 (fma.f64 1/2 (*.f64 (sqrt.f64 (sin.f64 im)) re) (sqrt.f64 (sin.f64 im))) (*.f64 1/8 (*.f64 (sqrt.f64 (sin.f64 im)) (*.f64 re re)))) |
(fma.f64 1/2 (*.f64 (sqrt.f64 (sin.f64 im)) re) (*.f64 (+.f64 (*.f64 (*.f64 1/8 re) re) 1) (sqrt.f64 (sin.f64 im)))) |
(*.f64 (sqrt.f64 (sin.f64 im)) (+.f64 (*.f64 re (*.f64 re 1/8)) (fma.f64 1/2 re 1))) |
(*.f64 (sqrt.f64 (sin.f64 im)) (fma.f64 1/2 re (fma.f64 1/8 (*.f64 re re) 1))) |
(*.f64 (sqrt.f64 (sin.f64 im)) (fma.f64 1/2 re (fma.f64 re (*.f64 re 1/8) 1))) |
(+.f64 (*.f64 1/2 (*.f64 re (sqrt.f64 (sin.f64 im)))) (+.f64 (*.f64 1/48 (*.f64 (pow.f64 re 3) (sqrt.f64 (sin.f64 im)))) (+.f64 (sqrt.f64 (sin.f64 im)) (*.f64 1/8 (*.f64 (pow.f64 re 2) (sqrt.f64 (sin.f64 im))))))) |
(fma.f64 1/2 (*.f64 (sqrt.f64 (sin.f64 im)) re) (fma.f64 1/48 (*.f64 (sqrt.f64 (sin.f64 im)) (pow.f64 re 3)) (+.f64 (sqrt.f64 (sin.f64 im)) (*.f64 1/8 (*.f64 (sqrt.f64 (sin.f64 im)) (*.f64 re re)))))) |
(+.f64 (*.f64 (+.f64 (*.f64 (*.f64 1/8 re) re) 1) (sqrt.f64 (sin.f64 im))) (*.f64 (sqrt.f64 (sin.f64 im)) (+.f64 (*.f64 1/2 re) (*.f64 1/48 (pow.f64 re 3))))) |
(fma.f64 (sqrt.f64 (sin.f64 im)) (fma.f64 1/2 re (*.f64 1/48 (pow.f64 re 3))) (*.f64 (sqrt.f64 (sin.f64 im)) (fma.f64 1/8 (*.f64 re re) 1))) |
(*.f64 (sqrt.f64 (sin.f64 im)) (+.f64 (fma.f64 1/2 re 1) (*.f64 (*.f64 re re) (+.f64 (*.f64 re 1/48) 1/8)))) |
(*.f64 (sqrt.f64 (sin.f64 im)) (+.f64 1 (*.f64 re (+.f64 (*.f64 re (+.f64 1/8 (*.f64 re 1/48))) 1/2)))) |
(sin.f64 im) |
(+.f64 (*.f64 re (sin.f64 im)) (sin.f64 im)) |
(fma.f64 re (sin.f64 im) (sin.f64 im)) |
(fma.f64 (sin.f64 im) re (sin.f64 im)) |
(*.f64 (sin.f64 im) (+.f64 re 1)) |
(+.f64 (*.f64 1/2 (*.f64 (pow.f64 re 2) (sin.f64 im))) (+.f64 (*.f64 re (sin.f64 im)) (sin.f64 im))) |
(fma.f64 1/2 (*.f64 (sin.f64 im) (*.f64 re re)) (fma.f64 re (sin.f64 im) (sin.f64 im))) |
(*.f64 (sin.f64 im) (+.f64 (+.f64 re 1) (*.f64 (*.f64 1/2 re) re))) |
(fma.f64 (sin.f64 im) (*.f64 (fma.f64 1/2 re 1) re) (sin.f64 im)) |
(*.f64 (sin.f64 im) (fma.f64 (fma.f64 1/2 re 1) re 1)) |
(+.f64 (*.f64 1/2 (*.f64 (pow.f64 re 2) (sin.f64 im))) (+.f64 (*.f64 re (sin.f64 im)) (+.f64 (*.f64 1/6 (*.f64 (pow.f64 re 3) (sin.f64 im))) (sin.f64 im)))) |
(fma.f64 1/2 (*.f64 (sin.f64 im) (*.f64 re re)) (fma.f64 re (sin.f64 im) (fma.f64 1/6 (*.f64 (sin.f64 im) (pow.f64 re 3)) (sin.f64 im)))) |
(+.f64 (fma.f64 1/6 (*.f64 (sin.f64 im) (pow.f64 re 3)) (sin.f64 im)) (*.f64 (sin.f64 im) (+.f64 (*.f64 (*.f64 1/2 re) re) re))) |
(*.f64 (sin.f64 im) (+.f64 (+.f64 1 (*.f64 (fma.f64 1/2 re 1) re)) (*.f64 (pow.f64 re 3) 1/6))) |
(fma.f64 (sin.f64 im) (fma.f64 1/2 (*.f64 re re) (fma.f64 (pow.f64 re 3) 1/6 re)) (sin.f64 im)) |
(*.f64 (sin.f64 im) (+.f64 re (fma.f64 1/2 (*.f64 re re) (fma.f64 (pow.f64 re 3) 1/6 1)))) |
(*.f64 (exp.f64 re) (sin.f64 im)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) (sin.f64 im)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) (sin.f64 im)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) (sin.f64 im)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) (sin.f64 im)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) (sin.f64 im)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) (sin.f64 im)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) (sin.f64 im)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) (sin.f64 im)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) (sin.f64 im)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) (sin.f64 im)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) (sin.f64 im)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) (sin.f64 im)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) (sin.f64 im)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) (sin.f64 im)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) (sin.f64 im)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
5 alts after pruning (2 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 95 | 1 | 96 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 2 | 2 |
| Total | 95 | 5 | 100 |
| Status | Error | Program |
|---|---|---|
| ▶ | 1.0b | (*.f64 (pow.f64 (cbrt.f64 (sin.f64 im)) 2) (*.f64 (cbrt.f64 (sin.f64 im)) (exp.f64 re))) |
| 36.1b | (exp.f64 (+.f64 re (log.f64 (sin.f64 im)))) | |
| ✓ | 24.4b | (pow.f64 (sqrt.f64 (*.f64 (exp.f64 re) (sin.f64 im))) 2) |
| ✓ | 22.1b | (fma.f64 (sin.f64 im) re (sin.f64 im)) |
| ✓ | 0.0b | (*.f64 (exp.f64 re) (sin.f64 im)) |
Compiled 1283 to 588 computations (54.2% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (*.f64 (cbrt.f64 (sin.f64 im)) (exp.f64 re)) |
| ✓ | 0.2b | (*.f64 (pow.f64 (cbrt.f64 (sin.f64 im)) 2) (*.f64 (cbrt.f64 (sin.f64 im)) (exp.f64 re))) |
| ✓ | 0.5b | (pow.f64 (cbrt.f64 (sin.f64 im)) 2) |
| ✓ | 0.6b | (cbrt.f64 (sin.f64 im)) |
18 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | im | @ | inf | (cbrt.f64 (sin.f64 im)) |
| 2.0ms | re | @ | inf | (*.f64 (cbrt.f64 (sin.f64 im)) (exp.f64 re)) |
| 1.0ms | im | @ | -inf | (cbrt.f64 (sin.f64 im)) |
| 1.0ms | im | @ | 0 | (pow.f64 (cbrt.f64 (sin.f64 im)) 2) |
| 1.0ms | im | @ | inf | (pow.f64 (cbrt.f64 (sin.f64 im)) 2) |
| 1× | batch-egg-rewrite |
| 837× | pow1_binary64 |
| 769× | log1p-expm1-u_binary64 |
| 769× | expm1-log1p-u_binary64 |
| 94× | add-sqr-sqrt_binary64 |
| 91× | *-un-lft-identity_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 31 |
| 1 | 197 | 31 |
| 2 | 2191 | 31 |
| 1× | node limit |
| Inputs |
|---|
(cbrt.f64 (sin.f64 im)) |
(pow.f64 (cbrt.f64 (sin.f64 im)) 2) |
(*.f64 (pow.f64 (cbrt.f64 (sin.f64 im)) 2) (*.f64 (cbrt.f64 (sin.f64 im)) (exp.f64 re))) |
(*.f64 (cbrt.f64 (sin.f64 im)) (exp.f64 re)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (cbrt.f64 (sin.f64 im)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sin.f64 im)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cbrt.f64 (sin.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (sin.f64 im))) 2) (cbrt.f64 (cbrt.f64 (sin.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (sin.f64 im))) (pow.f64 (cbrt.f64 (cbrt.f64 (sin.f64 im))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sin.f64 im) 1/6) (pow.f64 (sin.f64 im) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (sin.f64 im)) 4))) (sqrt.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (sin.f64 im))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (cbrt.f64 (sin.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (sin.f64 im)) 1/3) (pow.f64 (sqrt.f64 (sin.f64 im)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sin.f64 im) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (sin.f64 im)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 (sin.f64 im)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cbrt.f64 (sin.f64 im))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (sin.f64 im) 1/6) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cbrt.f64 (sin.f64 im)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (cbrt.f64 (sin.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cbrt.f64 (sin.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (cbrt.f64 (sin.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cbrt.f64 (sin.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cbrt.f64 (sin.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sin.f64 im)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (sin.f64 im))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cbrt.f64 (sin.f64 im)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (pow.f64 (cbrt.f64 (sin.f64 im)) 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sin.f64 im)) (cbrt.f64 (sin.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (sin.f64 im)) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (cbrt.f64 (sin.f64 im)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (sin.f64 im))) 2) (cbrt.f64 (pow.f64 (cbrt.f64 (sin.f64 im)) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (sin.f64 im))) 2) (*.f64 (cbrt.f64 (cbrt.f64 (sin.f64 im))) (cbrt.f64 (sin.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (sin.f64 im)) 4)) (pow.f64 (cbrt.f64 (cbrt.f64 (sin.f64 im))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (sin.f64 im)) (pow.f64 (sin.f64 im) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sin.f64 im) 1/6) (*.f64 (pow.f64 (sin.f64 im) 1/6) (cbrt.f64 (sin.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (sin.f64 im)) (pow.f64 (cbrt.f64 (cbrt.f64 (sin.f64 im))) 2)) (cbrt.f64 (cbrt.f64 (sin.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cbrt.f64 (sin.f64 im)) 4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (cbrt.f64 (sin.f64 im)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (pow.f64 (cbrt.f64 (sin.f64 im)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (sin.f64 im) 2))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (cbrt.f64 (sin.f64 im)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 2 (log.f64 (cbrt.f64 (sin.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 2 (log.f64 (cbrt.f64 (sin.f64 im)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (cbrt.f64 (sin.f64 im)) 2))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (sin.f64 im) (exp.f64 re)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sin.f64 im) (exp.f64 re)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (sin.f64 im) (exp.f64 re)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (sin.f64 im) (exp.f64 re))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (sin.f64 im) (exp.f64 re))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (sin.f64 im) (exp.f64 re)) 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 (sin.f64 im) (exp.f64 re)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (sin.f64 im) (exp.f64 re)) 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 cbrt.f64 (*.f64 (pow.f64 (sin.f64 im) 2) (pow.f64 (*.f64 (cbrt.f64 (sin.f64 im)) (exp.f64 re)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 (cbrt.f64 (sin.f64 im)) (exp.f64 re)) 3) (pow.f64 (sin.f64 im) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (sin.f64 im) (exp.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (log.f64 (sin.f64 im)) re))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (+.f64 (log.f64 (sin.f64 im)) re) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (sin.f64 im) (exp.f64 re)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (cbrt.f64 (sin.f64 im)) (exp.f64 re)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cbrt.f64 (sin.f64 im)) (exp.f64 re)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cbrt.f64 (sin.f64 im)) (exp.f64 re)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (cbrt.f64 (sin.f64 im)) (exp.f64 re))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (cbrt.f64 (sin.f64 im)) (exp.f64 re))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (cbrt.f64 (sin.f64 im)) (exp.f64 re)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (exp.f64 re)) (cbrt.f64 (sin.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (cbrt.f64 (sin.f64 im)) (exp.f64 re)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (cbrt.f64 (sin.f64 im)) (exp.f64 re)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (sin.f64 im) (pow.f64 (exp.f64 re) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (exp.f64 re) 3) (sin.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (cbrt.f64 (sin.f64 im)) (exp.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 re (log.f64 (cbrt.f64 (sin.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (+.f64 re (log.f64 (cbrt.f64 (sin.f64 im)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (cbrt.f64 (sin.f64 im)) (exp.f64 re)))))))) |
| 1× | egg-herbie |
| 807× | fma-neg_binary64 |
| 423× | *-commutative_binary64 |
| 338× | cancel-sign-sub-inv_binary64 |
| 288× | fma-def_binary64 |
| 227× | distribute-rgt-out_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 54 | 640 |
| 1 | 169 | 622 |
| 2 | 507 | 591 |
| 3 | 1955 | 576 |
| 4 | 4360 | 576 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (sin.f64 im) 1/3) |
(pow.f64 (sin.f64 im) 1/3) |
(pow.f64 (sin.f64 im) 1/3) |
(pow.f64 (sin.f64 im) 1/3) |
(pow.f64 (sin.f64 im) 1/3) |
(pow.f64 (sin.f64 im) 1/3) |
(pow.f64 (sin.f64 im) 1/3) |
(pow.f64 (sin.f64 im) 1/3) |
(pow.f64 (pow.f64 (sin.f64 im) 2) 1/3) |
(pow.f64 (pow.f64 (sin.f64 im) 2) 1/3) |
(pow.f64 (pow.f64 (sin.f64 im) 2) 1/3) |
(pow.f64 (pow.f64 (sin.f64 im) 2) 1/3) |
(pow.f64 (pow.f64 (sin.f64 im) 2) 1/3) |
(pow.f64 (pow.f64 (sin.f64 im) 2) 1/3) |
(pow.f64 (pow.f64 (sin.f64 im) 2) 1/3) |
(pow.f64 (pow.f64 (sin.f64 im) 2) 1/3) |
(*.f64 (exp.f64 re) im) |
(-.f64 (*.f64 (exp.f64 re) im) (*.f64 1/6 (*.f64 (exp.f64 re) (pow.f64 im 3)))) |
(-.f64 (+.f64 (*.f64 (exp.f64 re) im) (*.f64 1/120 (*.f64 (exp.f64 re) (pow.f64 im 5)))) (*.f64 1/6 (*.f64 (exp.f64 re) (pow.f64 im 3)))) |
(-.f64 (+.f64 (*.f64 (exp.f64 re) im) (*.f64 1/120 (*.f64 (exp.f64 re) (pow.f64 im 5)))) (+.f64 (*.f64 1/5040 (*.f64 (exp.f64 re) (pow.f64 im 7))) (*.f64 1/6 (*.f64 (exp.f64 re) (pow.f64 im 3))))) |
(*.f64 (exp.f64 re) (sin.f64 im)) |
(*.f64 (exp.f64 re) (sin.f64 im)) |
(*.f64 (exp.f64 re) (sin.f64 im)) |
(*.f64 (exp.f64 re) (sin.f64 im)) |
(*.f64 (exp.f64 re) (sin.f64 im)) |
(*.f64 (exp.f64 re) (sin.f64 im)) |
(*.f64 (exp.f64 re) (sin.f64 im)) |
(*.f64 (exp.f64 re) (sin.f64 im)) |
(sin.f64 im) |
(+.f64 (*.f64 re (sin.f64 im)) (sin.f64 im)) |
(+.f64 (*.f64 1/2 (*.f64 (pow.f64 re 2) (sin.f64 im))) (+.f64 (*.f64 re (sin.f64 im)) (sin.f64 im))) |
(+.f64 (*.f64 1/2 (*.f64 (pow.f64 re 2) (sin.f64 im))) (+.f64 (*.f64 re (sin.f64 im)) (+.f64 (*.f64 1/6 (*.f64 (pow.f64 re 3) (sin.f64 im))) (sin.f64 im)))) |
(*.f64 (exp.f64 re) (sin.f64 im)) |
(*.f64 (exp.f64 re) (sin.f64 im)) |
(*.f64 (exp.f64 re) (sin.f64 im)) |
(*.f64 (exp.f64 re) (sin.f64 im)) |
(*.f64 (exp.f64 re) (sin.f64 im)) |
(*.f64 (exp.f64 re) (sin.f64 im)) |
(*.f64 (exp.f64 re) (sin.f64 im)) |
(*.f64 (exp.f64 re) (sin.f64 im)) |
(*.f64 (exp.f64 re) (pow.f64 (sin.f64 im) 1/3)) |
(*.f64 (exp.f64 re) (pow.f64 (sin.f64 im) 1/3)) |
(*.f64 (exp.f64 re) (pow.f64 (sin.f64 im) 1/3)) |
(*.f64 (exp.f64 re) (pow.f64 (sin.f64 im) 1/3)) |
(*.f64 (exp.f64 re) (pow.f64 (sin.f64 im) 1/3)) |
(*.f64 (exp.f64 re) (pow.f64 (sin.f64 im) 1/3)) |
(*.f64 (exp.f64 re) (pow.f64 (sin.f64 im) 1/3)) |
(*.f64 (exp.f64 re) (pow.f64 (sin.f64 im) 1/3)) |
(pow.f64 (sin.f64 im) 1/3) |
(+.f64 (*.f64 re (pow.f64 (sin.f64 im) 1/3)) (pow.f64 (sin.f64 im) 1/3)) |
(+.f64 (*.f64 1/2 (*.f64 (pow.f64 re 2) (pow.f64 (sin.f64 im) 1/3))) (+.f64 (*.f64 re (pow.f64 (sin.f64 im) 1/3)) (pow.f64 (sin.f64 im) 1/3))) |
(+.f64 (*.f64 1/6 (*.f64 (pow.f64 re 3) (pow.f64 (sin.f64 im) 1/3))) (+.f64 (*.f64 1/2 (*.f64 (pow.f64 re 2) (pow.f64 (sin.f64 im) 1/3))) (+.f64 (*.f64 re (pow.f64 (sin.f64 im) 1/3)) (pow.f64 (sin.f64 im) 1/3)))) |
(*.f64 (exp.f64 re) (pow.f64 (sin.f64 im) 1/3)) |
(*.f64 (exp.f64 re) (pow.f64 (sin.f64 im) 1/3)) |
(*.f64 (exp.f64 re) (pow.f64 (sin.f64 im) 1/3)) |
(*.f64 (exp.f64 re) (pow.f64 (sin.f64 im) 1/3)) |
(*.f64 (exp.f64 re) (pow.f64 (sin.f64 im) 1/3)) |
(*.f64 (exp.f64 re) (pow.f64 (sin.f64 im) 1/3)) |
(*.f64 (exp.f64 re) (pow.f64 (sin.f64 im) 1/3)) |
(*.f64 (exp.f64 re) (pow.f64 (sin.f64 im) 1/3)) |
| Outputs |
|---|
(pow.f64 (sin.f64 im) 1/3) |
(cbrt.f64 (sin.f64 im)) |
(pow.f64 (sin.f64 im) 1/3) |
(cbrt.f64 (sin.f64 im)) |
(pow.f64 (sin.f64 im) 1/3) |
(cbrt.f64 (sin.f64 im)) |
(pow.f64 (sin.f64 im) 1/3) |
(cbrt.f64 (sin.f64 im)) |
(pow.f64 (sin.f64 im) 1/3) |
(cbrt.f64 (sin.f64 im)) |
(pow.f64 (sin.f64 im) 1/3) |
(cbrt.f64 (sin.f64 im)) |
(pow.f64 (sin.f64 im) 1/3) |
(cbrt.f64 (sin.f64 im)) |
(pow.f64 (sin.f64 im) 1/3) |
(cbrt.f64 (sin.f64 im)) |
(pow.f64 (pow.f64 (sin.f64 im) 2) 1/3) |
(cbrt.f64 (pow.f64 (sin.f64 im) 2)) |
(pow.f64 (pow.f64 (sin.f64 im) 2) 1/3) |
(cbrt.f64 (pow.f64 (sin.f64 im) 2)) |
(pow.f64 (pow.f64 (sin.f64 im) 2) 1/3) |
(cbrt.f64 (pow.f64 (sin.f64 im) 2)) |
(pow.f64 (pow.f64 (sin.f64 im) 2) 1/3) |
(cbrt.f64 (pow.f64 (sin.f64 im) 2)) |
(pow.f64 (pow.f64 (sin.f64 im) 2) 1/3) |
(cbrt.f64 (pow.f64 (sin.f64 im) 2)) |
(pow.f64 (pow.f64 (sin.f64 im) 2) 1/3) |
(cbrt.f64 (pow.f64 (sin.f64 im) 2)) |
(pow.f64 (pow.f64 (sin.f64 im) 2) 1/3) |
(cbrt.f64 (pow.f64 (sin.f64 im) 2)) |
(pow.f64 (pow.f64 (sin.f64 im) 2) 1/3) |
(cbrt.f64 (pow.f64 (sin.f64 im) 2)) |
(*.f64 (exp.f64 re) im) |
(*.f64 im (exp.f64 re)) |
(-.f64 (*.f64 (exp.f64 re) im) (*.f64 1/6 (*.f64 (exp.f64 re) (pow.f64 im 3)))) |
(+.f64 (*.f64 im (exp.f64 re)) (*.f64 -1/6 (*.f64 (exp.f64 re) (pow.f64 im 3)))) |
(fma.f64 im (exp.f64 re) (*.f64 (*.f64 (exp.f64 re) (pow.f64 im 3)) -1/6)) |
(*.f64 (exp.f64 re) (-.f64 im (*.f64 1/6 (pow.f64 im 3)))) |
(*.f64 (exp.f64 re) (+.f64 im (*.f64 (pow.f64 im 3) -1/6))) |
(-.f64 (+.f64 (*.f64 (exp.f64 re) im) (*.f64 1/120 (*.f64 (exp.f64 re) (pow.f64 im 5)))) (*.f64 1/6 (*.f64 (exp.f64 re) (pow.f64 im 3)))) |
(+.f64 (fma.f64 (exp.f64 re) im (*.f64 1/120 (*.f64 (exp.f64 re) (pow.f64 im 5)))) (*.f64 -1/6 (*.f64 (exp.f64 re) (pow.f64 im 3)))) |
(fma.f64 im (exp.f64 re) (fma.f64 1/120 (*.f64 (exp.f64 re) (pow.f64 im 5)) (*.f64 (*.f64 (exp.f64 re) (pow.f64 im 3)) -1/6))) |
(fma.f64 im (exp.f64 re) (*.f64 (exp.f64 re) (+.f64 (*.f64 1/120 (pow.f64 im 5)) (*.f64 (pow.f64 im 3) -1/6)))) |
(*.f64 (exp.f64 re) (+.f64 im (fma.f64 1/120 (pow.f64 im 5) (*.f64 (pow.f64 im 3) -1/6)))) |
(-.f64 (+.f64 (*.f64 (exp.f64 re) im) (*.f64 1/120 (*.f64 (exp.f64 re) (pow.f64 im 5)))) (+.f64 (*.f64 1/5040 (*.f64 (exp.f64 re) (pow.f64 im 7))) (*.f64 1/6 (*.f64 (exp.f64 re) (pow.f64 im 3))))) |
(-.f64 (fma.f64 (exp.f64 re) im (*.f64 1/120 (*.f64 (exp.f64 re) (pow.f64 im 5)))) (fma.f64 1/5040 (*.f64 (exp.f64 re) (pow.f64 im 7)) (*.f64 1/6 (*.f64 (exp.f64 re) (pow.f64 im 3))))) |
(-.f64 (fma.f64 im (exp.f64 re) (*.f64 (exp.f64 re) (*.f64 (pow.f64 im 5) 1/120))) (fma.f64 1/5040 (*.f64 (exp.f64 re) (pow.f64 im 7)) (*.f64 (pow.f64 im 3) (*.f64 (exp.f64 re) 1/6)))) |
(+.f64 (*.f64 (exp.f64 re) (+.f64 (*.f64 1/120 (pow.f64 im 5)) (*.f64 (pow.f64 im 3) -1/6))) (*.f64 (exp.f64 re) (-.f64 im (*.f64 1/5040 (pow.f64 im 7))))) |
(*.f64 (exp.f64 re) (+.f64 (fma.f64 1/120 (pow.f64 im 5) (*.f64 (pow.f64 im 3) -1/6)) (+.f64 im (*.f64 (pow.f64 im 7) -1/5040)))) |
(*.f64 (exp.f64 re) (sin.f64 im)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) (sin.f64 im)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) (sin.f64 im)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) (sin.f64 im)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) (sin.f64 im)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) (sin.f64 im)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) (sin.f64 im)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) (sin.f64 im)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(sin.f64 im) |
(+.f64 (*.f64 re (sin.f64 im)) (sin.f64 im)) |
(fma.f64 re (sin.f64 im) (sin.f64 im)) |
(fma.f64 (sin.f64 im) re (sin.f64 im)) |
(*.f64 (sin.f64 im) (+.f64 re 1)) |
(+.f64 (*.f64 1/2 (*.f64 (pow.f64 re 2) (sin.f64 im))) (+.f64 (*.f64 re (sin.f64 im)) (sin.f64 im))) |
(fma.f64 1/2 (*.f64 (sin.f64 im) (*.f64 re re)) (fma.f64 re (sin.f64 im) (sin.f64 im))) |
(*.f64 (sin.f64 im) (+.f64 (+.f64 re 1) (*.f64 1/2 (*.f64 re re)))) |
(*.f64 (sin.f64 im) (fma.f64 1/2 (*.f64 re re) (+.f64 re 1))) |
(+.f64 (*.f64 1/2 (*.f64 (pow.f64 re 2) (sin.f64 im))) (+.f64 (*.f64 re (sin.f64 im)) (+.f64 (*.f64 1/6 (*.f64 (pow.f64 re 3) (sin.f64 im))) (sin.f64 im)))) |
(fma.f64 1/2 (*.f64 (sin.f64 im) (*.f64 re re)) (fma.f64 re (sin.f64 im) (fma.f64 1/6 (*.f64 (sin.f64 im) (pow.f64 re 3)) (sin.f64 im)))) |
(+.f64 (fma.f64 1/6 (*.f64 (sin.f64 im) (pow.f64 re 3)) (sin.f64 im)) (*.f64 (sin.f64 im) (+.f64 (*.f64 1/2 (*.f64 re re)) re))) |
(*.f64 (sin.f64 im) (+.f64 (fma.f64 1/2 (*.f64 re re) (+.f64 re 1)) (*.f64 1/6 (pow.f64 re 3)))) |
(*.f64 (sin.f64 im) (+.f64 (fma.f64 1/6 (pow.f64 re 3) 1) (fma.f64 1/2 (*.f64 re re) re))) |
(*.f64 (exp.f64 re) (sin.f64 im)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) (sin.f64 im)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) (sin.f64 im)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) (sin.f64 im)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) (sin.f64 im)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) (sin.f64 im)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) (sin.f64 im)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) (sin.f64 im)) |
(*.f64 (sin.f64 im) (exp.f64 re)) |
(*.f64 (exp.f64 re) (pow.f64 (sin.f64 im) 1/3)) |
(*.f64 (cbrt.f64 (sin.f64 im)) (exp.f64 re)) |
(*.f64 (exp.f64 re) (pow.f64 (sin.f64 im) 1/3)) |
(*.f64 (cbrt.f64 (sin.f64 im)) (exp.f64 re)) |
(*.f64 (exp.f64 re) (pow.f64 (sin.f64 im) 1/3)) |
(*.f64 (cbrt.f64 (sin.f64 im)) (exp.f64 re)) |
(*.f64 (exp.f64 re) (pow.f64 (sin.f64 im) 1/3)) |
(*.f64 (cbrt.f64 (sin.f64 im)) (exp.f64 re)) |
(*.f64 (exp.f64 re) (pow.f64 (sin.f64 im) 1/3)) |
(*.f64 (cbrt.f64 (sin.f64 im)) (exp.f64 re)) |
(*.f64 (exp.f64 re) (pow.f64 (sin.f64 im) 1/3)) |
(*.f64 (cbrt.f64 (sin.f64 im)) (exp.f64 re)) |
(*.f64 (exp.f64 re) (pow.f64 (sin.f64 im) 1/3)) |
(*.f64 (cbrt.f64 (sin.f64 im)) (exp.f64 re)) |
(*.f64 (exp.f64 re) (pow.f64 (sin.f64 im) 1/3)) |
(*.f64 (cbrt.f64 (sin.f64 im)) (exp.f64 re)) |
(pow.f64 (sin.f64 im) 1/3) |
(cbrt.f64 (sin.f64 im)) |
(+.f64 (*.f64 re (pow.f64 (sin.f64 im) 1/3)) (pow.f64 (sin.f64 im) 1/3)) |
(*.f64 (+.f64 re 1) (cbrt.f64 (sin.f64 im))) |
(*.f64 (cbrt.f64 (sin.f64 im)) (+.f64 re 1)) |
(+.f64 (*.f64 1/2 (*.f64 (pow.f64 re 2) (pow.f64 (sin.f64 im) 1/3))) (+.f64 (*.f64 re (pow.f64 (sin.f64 im) 1/3)) (pow.f64 (sin.f64 im) 1/3))) |
(fma.f64 1/2 (*.f64 (cbrt.f64 (sin.f64 im)) (*.f64 re re)) (*.f64 (+.f64 re 1) (cbrt.f64 (sin.f64 im)))) |
(*.f64 (cbrt.f64 (sin.f64 im)) (+.f64 (+.f64 re 1) (*.f64 1/2 (*.f64 re re)))) |
(*.f64 (cbrt.f64 (sin.f64 im)) (fma.f64 1/2 (*.f64 re re) (+.f64 re 1))) |
(+.f64 (*.f64 1/6 (*.f64 (pow.f64 re 3) (pow.f64 (sin.f64 im) 1/3))) (+.f64 (*.f64 1/2 (*.f64 (pow.f64 re 2) (pow.f64 (sin.f64 im) 1/3))) (+.f64 (*.f64 re (pow.f64 (sin.f64 im) 1/3)) (pow.f64 (sin.f64 im) 1/3)))) |
(fma.f64 1/6 (*.f64 (cbrt.f64 (sin.f64 im)) (pow.f64 re 3)) (fma.f64 1/2 (*.f64 (cbrt.f64 (sin.f64 im)) (*.f64 re re)) (*.f64 (+.f64 re 1) (cbrt.f64 (sin.f64 im))))) |
(fma.f64 1/6 (*.f64 (cbrt.f64 (sin.f64 im)) (pow.f64 re 3)) (*.f64 (cbrt.f64 (sin.f64 im)) (+.f64 (+.f64 re 1) (*.f64 1/2 (*.f64 re re))))) |
(*.f64 (cbrt.f64 (sin.f64 im)) (+.f64 (+.f64 re 1) (*.f64 (*.f64 re re) (+.f64 (*.f64 re 1/6) 1/2)))) |
(*.f64 (cbrt.f64 (sin.f64 im)) (+.f64 (fma.f64 1/6 (pow.f64 re 3) 1) (fma.f64 1/2 (*.f64 re re) re))) |
(*.f64 (exp.f64 re) (pow.f64 (sin.f64 im) 1/3)) |
(*.f64 (cbrt.f64 (sin.f64 im)) (exp.f64 re)) |
(*.f64 (exp.f64 re) (pow.f64 (sin.f64 im) 1/3)) |
(*.f64 (cbrt.f64 (sin.f64 im)) (exp.f64 re)) |
(*.f64 (exp.f64 re) (pow.f64 (sin.f64 im) 1/3)) |
(*.f64 (cbrt.f64 (sin.f64 im)) (exp.f64 re)) |
(*.f64 (exp.f64 re) (pow.f64 (sin.f64 im) 1/3)) |
(*.f64 (cbrt.f64 (sin.f64 im)) (exp.f64 re)) |
(*.f64 (exp.f64 re) (pow.f64 (sin.f64 im) 1/3)) |
(*.f64 (cbrt.f64 (sin.f64 im)) (exp.f64 re)) |
(*.f64 (exp.f64 re) (pow.f64 (sin.f64 im) 1/3)) |
(*.f64 (cbrt.f64 (sin.f64 im)) (exp.f64 re)) |
(*.f64 (exp.f64 re) (pow.f64 (sin.f64 im) 1/3)) |
(*.f64 (cbrt.f64 (sin.f64 im)) (exp.f64 re)) |
(*.f64 (exp.f64 re) (pow.f64 (sin.f64 im) 1/3)) |
(*.f64 (cbrt.f64 (sin.f64 im)) (exp.f64 re)) |
5 alts after pruning (1 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 123 | 0 | 123 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 3 | 3 |
| Total | 123 | 5 | 128 |
| Status | Error | Program |
|---|---|---|
| ✓ | 1.0b | (*.f64 (pow.f64 (cbrt.f64 (sin.f64 im)) 2) (*.f64 (cbrt.f64 (sin.f64 im)) (exp.f64 re))) |
| 36.1b | (exp.f64 (+.f64 re (log.f64 (sin.f64 im)))) | |
| ✓ | 24.4b | (pow.f64 (sqrt.f64 (*.f64 (exp.f64 re) (sin.f64 im))) 2) |
| ✓ | 22.1b | (fma.f64 (sin.f64 im) re (sin.f64 im)) |
| ✓ | 0.0b | (*.f64 (exp.f64 re) (sin.f64 im)) |
Compiled 1843 to 776 computations (57.9% saved)
Total 0.0b remaining (67.9%)
Threshold costs 0.0b (67.9%)
Compiled 81 to 37 computations (54.3% 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× | fuel |
Compiled 61 to 42 computations (31.1% saved)
Loading profile data...