Time bar (total: 2.5s)
| 1× | search |
| True | Other | False | Iter |
|---|---|---|---|
| 0% | 99.9% | 0.1% | 0 |
| 0% | 99.9% | 0.1% | 1 |
| 50% | 50% | 0.1% | 2 |
| 50% | 50% | 0.1% | 3 |
| 74.9% | 25% | 0.1% | 4 |
| 74.9% | 25% | 0.1% | 5 |
| 74.9% | 18.7% | 6.3% | 6 |
| 74.9% | 18.7% | 6.3% | 7 |
| 74.9% | 15.6% | 9.5% | 8 |
| 74.9% | 15.6% | 9.5% | 9 |
| 74.9% | 14% | 11% | 10 |
| 74.9% | 14% | 11% | 11 |
| 74.9% | 13.3% | 11.8% | 12 |
| 74.9% | 13.3% | 11.8% | 13 |
| 74.9% | 12.9% | 12.2% | 14 |
Compiled 8 to 6 computations (25% saved)
| 723.0ms | 1385× | body | 1024 | valid |
| 638.0ms | 5827× | body | 128 | valid |
| 306.0ms | 686× | body | 1024 | invalid |
| 211.0ms | 701× | body | 512 | valid |
| 86.0ms | 332× | body | 512 | invalid |
| 66.0ms | 343× | body | 256 | valid |
| 29.0ms | 154× | body | 256 | invalid |
| 21.0ms | 187× | body | 128 | invalid |
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) (cos.f64 im)) |
(*.f64 (exp.f64 im) (cos.f64 re)) |
| Outputs |
|---|
(*.f64 (exp.f64 re) (cos.f64 im)) |
(*.f64 (exp.f64 im) (cos.f64 re)) |
Compiled 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) (cos.f64 im)) |
| Outputs |
|---|
(*.f64 (exp.f64 re) (cos.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) (cos.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) (cos.f64 im)) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | re | @ | inf | (*.f64 (exp.f64 re) (cos.f64 im)) |
| 1.0ms | re | @ | -inf | (*.f64 (exp.f64 re) (cos.f64 im)) |
| 1.0ms | im | @ | 0 | (*.f64 (exp.f64 re) (cos.f64 im)) |
| 1.0ms | re | @ | 0 | (*.f64 (exp.f64 re) (cos.f64 im)) |
| 1.0ms | im | @ | inf | (*.f64 (exp.f64 re) (cos.f64 im)) |
| 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) (cos.f64 im)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (exp.f64 re) (cos.f64 im))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (exp.f64 re)) (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (exp.f64 re) 3) (pow.f64 (cos.f64 im) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 (exp.f64 re) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (exp.f64 re) (cos.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (exp.f64 re) (cos.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 re (log.f64 (cos.f64 im)))))))) |
| 1× | egg-herbie |
| 767× | fma-neg_binary64 |
| 720× | fma-def_binary64 |
| 541× | cancel-sign-sub-inv_binary64 |
| 293× | distribute-rgt-neg-in_binary64 |
| 237× | distribute-lft-neg-in_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 38 | 166 |
| 1 | 107 | 160 |
| 2 | 307 | 142 |
| 3 | 1089 | 122 |
| 4 | 3080 | 119 |
| 1× | node limit |
| Inputs |
|---|
(cos.f64 im) |
(+.f64 (cos.f64 im) (*.f64 (cos.f64 im) re)) |
(+.f64 (cos.f64 im) (+.f64 (*.f64 (cos.f64 im) re) (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))))) |
(+.f64 (*.f64 1/6 (*.f64 (cos.f64 im) (pow.f64 re 3))) (+.f64 (cos.f64 im) (+.f64 (*.f64 (cos.f64 im) re) (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2)))))) |
(exp.f64 re) |
(-.f64 (exp.f64 re) (*.f64 1/2 (*.f64 (exp.f64 re) (pow.f64 im 2)))) |
(-.f64 (+.f64 (exp.f64 re) (*.f64 1/24 (*.f64 (exp.f64 re) (pow.f64 im 4)))) (*.f64 1/2 (*.f64 (exp.f64 re) (pow.f64 im 2)))) |
(-.f64 (+.f64 (exp.f64 re) (*.f64 1/24 (*.f64 (exp.f64 re) (pow.f64 im 4)))) (+.f64 (*.f64 1/720 (*.f64 (exp.f64 re) (pow.f64 im 6))) (*.f64 1/2 (*.f64 (exp.f64 re) (pow.f64 im 2))))) |
| Outputs |
|---|
(cos.f64 im) |
(+.f64 (cos.f64 im) (*.f64 (cos.f64 im) re)) |
(*.f64 (+.f64 re 1) (cos.f64 im)) |
(fma.f64 (cos.f64 im) re (cos.f64 im)) |
(*.f64 (cos.f64 im) (+.f64 re 1)) |
(+.f64 (cos.f64 im) (+.f64 (*.f64 (cos.f64 im) re) (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))))) |
(+.f64 (cos.f64 im) (fma.f64 (cos.f64 im) re (*.f64 1/2 (*.f64 (cos.f64 im) (*.f64 re re))))) |
(+.f64 (cos.f64 im) (fma.f64 1/2 (*.f64 (cos.f64 im) (*.f64 re re)) (*.f64 (cos.f64 im) re))) |
(*.f64 (cos.f64 im) (+.f64 (+.f64 re 1) (*.f64 re (*.f64 re 1/2)))) |
(*.f64 (cos.f64 im) (fma.f64 re (*.f64 re 1/2) (+.f64 re 1))) |
(+.f64 (*.f64 1/6 (*.f64 (cos.f64 im) (pow.f64 re 3))) (+.f64 (cos.f64 im) (+.f64 (*.f64 (cos.f64 im) re) (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2)))))) |
(fma.f64 1/6 (*.f64 (cos.f64 im) (pow.f64 re 3)) (+.f64 (cos.f64 im) (fma.f64 (cos.f64 im) re (*.f64 1/2 (*.f64 (cos.f64 im) (*.f64 re re)))))) |
(+.f64 (fma.f64 1/2 (*.f64 (cos.f64 im) (*.f64 re re)) (*.f64 (cos.f64 im) re)) (fma.f64 (*.f64 (cos.f64 im) 1/6) (pow.f64 re 3) (cos.f64 im))) |
(fma.f64 (cos.f64 im) (*.f64 1/6 (pow.f64 re 3)) (*.f64 (cos.f64 im) (+.f64 (+.f64 re 1) (*.f64 re (*.f64 re 1/2))))) |
(*.f64 (cos.f64 im) (+.f64 (+.f64 re 1) (*.f64 (*.f64 re re) (+.f64 1/2 (*.f64 re 1/6))))) |
(exp.f64 re) |
(-.f64 (exp.f64 re) (*.f64 1/2 (*.f64 (exp.f64 re) (pow.f64 im 2)))) |
(+.f64 (exp.f64 re) (*.f64 -1/2 (*.f64 (exp.f64 re) (*.f64 im im)))) |
(+.f64 (exp.f64 re) (*.f64 (*.f64 (exp.f64 re) (*.f64 im im)) -1/2)) |
(*.f64 (+.f64 (*.f64 (*.f64 im im) -1/2) 1) (exp.f64 re)) |
(*.f64 (exp.f64 re) (fma.f64 (*.f64 im im) -1/2 1)) |
(-.f64 (+.f64 (exp.f64 re) (*.f64 1/24 (*.f64 (exp.f64 re) (pow.f64 im 4)))) (*.f64 1/2 (*.f64 (exp.f64 re) (pow.f64 im 2)))) |
(+.f64 (exp.f64 re) (-.f64 (*.f64 1/24 (*.f64 (exp.f64 re) (pow.f64 im 4))) (*.f64 1/2 (*.f64 (exp.f64 re) (*.f64 im im))))) |
(+.f64 (exp.f64 re) (fma.f64 1/24 (*.f64 (exp.f64 re) (pow.f64 im 4)) (*.f64 (*.f64 (exp.f64 re) (*.f64 im im)) -1/2))) |
(+.f64 (exp.f64 re) (*.f64 (exp.f64 re) (-.f64 (*.f64 1/24 (pow.f64 im 4)) (*.f64 im (*.f64 im 1/2))))) |
(*.f64 (exp.f64 re) (-.f64 (fma.f64 1/24 (pow.f64 im 4) 1) (*.f64 1/2 (*.f64 im im)))) |
(*.f64 (exp.f64 re) (+.f64 (fma.f64 1/24 (pow.f64 im 4) 1) (*.f64 (*.f64 im im) -1/2))) |
(-.f64 (+.f64 (exp.f64 re) (*.f64 1/24 (*.f64 (exp.f64 re) (pow.f64 im 4)))) (+.f64 (*.f64 1/720 (*.f64 (exp.f64 re) (pow.f64 im 6))) (*.f64 1/2 (*.f64 (exp.f64 re) (pow.f64 im 2))))) |
(-.f64 (+.f64 (exp.f64 re) (*.f64 1/24 (*.f64 (exp.f64 re) (pow.f64 im 4)))) (fma.f64 1/720 (*.f64 (exp.f64 re) (pow.f64 im 6)) (*.f64 1/2 (*.f64 (exp.f64 re) (*.f64 im im))))) |
(-.f64 (fma.f64 1/24 (*.f64 (exp.f64 re) (pow.f64 im 4)) (exp.f64 re)) (fma.f64 1/2 (*.f64 (exp.f64 re) (*.f64 im im)) (*.f64 (exp.f64 re) (*.f64 (pow.f64 im 6) 1/720)))) |
(-.f64 (fma.f64 (exp.f64 re) (*.f64 1/24 (pow.f64 im 4)) (exp.f64 re)) (*.f64 (exp.f64 re) (+.f64 (*.f64 im (*.f64 im 1/2)) (*.f64 1/720 (pow.f64 im 6))))) |
(fma.f64 (exp.f64 re) (fma.f64 1/24 (pow.f64 im 4) (*.f64 (pow.f64 im 6) -1/720)) (*.f64 (exp.f64 re) (fma.f64 (*.f64 im im) -1/2 1))) |
(*.f64 (exp.f64 re) (-.f64 (fma.f64 1/24 (pow.f64 im 4) 1) (fma.f64 1/720 (pow.f64 im 6) (*.f64 1/2 (*.f64 im im))))) |
1 alts after pruning (0 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 27 | 0 | 27 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 27 | 1 | 28 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.0b | (*.f64 (exp.f64 re) (cos.f64 im)) |
Compiled 302 to 158 computations (47.7% saved)
Total 0.0b remaining (0%)
Threshold costs 0.0b (0%)
Compiled 117 to 85 computations (27.4% saved)
| 1× | egg-herbie |
| 1× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 8 |
| 1 | 7 | 8 |
| 1× | saturated |
| Inputs |
|---|
(*.f64 (exp.f64 re) (cos.f64 im)) |
| Outputs |
|---|
(*.f64 (exp.f64 re) (cos.f64 im)) |
| 1× | done |
Compiled 21 to 15 computations (28.6% saved)
Loading profile data...