Time bar (total: 2.2s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 0 |
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 1 |
| 50% | 50% | 50% | 0.1% | 0% | 0% | 0% | 2 |
| 50% | 50% | 50% | 0.1% | 0% | 0% | 0% | 3 |
| 75% | 74.9% | 25% | 0.1% | 0% | 0% | 0% | 4 |
| 75% | 74.9% | 25% | 0.1% | 0% | 0% | 0% | 5 |
| 80% | 74.9% | 18.7% | 0.1% | 6.2% | 0% | 0% | 6 |
| 80% | 74.9% | 18.7% | 0.1% | 6.2% | 0% | 0% | 7 |
| 82.8% | 74.9% | 15.6% | 0.1% | 9.4% | 0% | 0% | 8 |
| 82.8% | 74.9% | 15.6% | 0.1% | 9.4% | 0% | 0% | 9 |
| 84.2% | 74.9% | 14% | 0.1% | 10.9% | 0% | 0% | 10 |
| 84.2% | 74.9% | 14% | 0.1% | 10.9% | 0% | 0% | 11 |
| 85% | 74.9% | 13.3% | 0.1% | 11.7% | 0% | 0% | 12 |
Compiled 8 to 6 computations (25% saved)
| 695.0ms | 6063× | body | 256 | valid |
| 501.0ms | 1459× | body | 1024 | valid |
| 203.0ms | 698× | body | 1024 | infinite |
| 145.0ms | 729× | body | 512 | valid |
| 67.0ms | 346× | body | 512 | infinite |
| 53.0ms | 434× | body | 256 | infinite |
| 3.0ms | 5× | body | 2048 | valid |
| 2× | egg-herbie |
| 4× | rational.json-simplify-2 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 30 |
| 1 | 13 | 30 |
| 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 9 to 7 computations (22.2% saved)
| 1× | egg-herbie |
| 2× | rational.json-simplify-2 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 15 |
| 1 | 9 | 15 |
| 1× | saturated |
| Inputs |
|---|
(*.f64 (exp.f64 re) (cos.f64 im)) |
| Outputs |
|---|
(*.f64 (exp.f64 re) (cos.f64 im)) |
Compiled 7 to 5 computations (28.6% saved)
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 7 to 5 computations (28.6% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (*.f64 (exp.f64 re) (cos.f64 im)) |
Compiled 13 to 5 computations (61.5% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | im | @ | 0 | (*.f64 (exp.f64 re) (cos.f64 im)) |
| 1.0ms | re | @ | inf | (*.f64 (exp.f64 re) (cos.f64 im)) |
| 0.0ms | re | @ | 0 | (*.f64 (exp.f64 re) (cos.f64 im)) |
| 0.0ms | re | @ | -inf | (*.f64 (exp.f64 re) (cos.f64 im)) |
| 0.0ms | im | @ | inf | (*.f64 (exp.f64 re) (cos.f64 im)) |
| 1× | batch-egg-rewrite |
| 24× | bool.json-1 |
| 22× | rational.json-simplify-2 |
| 20× | rational.json-1 |
| 20× | rational.json-2 |
| 20× | rational.json-simplify-1 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 15 |
| 1 | 37 | 15 |
| 2 | 65 | 15 |
| 3 | 69 | 15 |
| 1× | saturated |
| Inputs |
|---|
(*.f64 (exp.f64 re) (cos.f64 im)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (exp.f64 re) (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x or (*.f64 (exp.f64 re) (cos.f64 im)) (*.f64 (exp.f64 re) (cos.f64 im))))))) |
| 1× | egg-herbie |
| 120× | rational.json-simplify-1 |
| 76× | rational.json-simplify-2 |
| 70× | rational.json-simplify-33 |
| 20× | rational.json-simplify-31 |
| 12× | rational.json-simplify-19 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 45 | 382 |
| 1 | 84 | 358 |
| 2 | 139 | 358 |
| 3 | 189 | 358 |
| 4 | 215 | 358 |
| 5 | 221 | 358 |
| 6 | 223 | 358 |
| 1× | saturated |
| Inputs |
|---|
(cos.f64 im) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))) |
(+.f64 (*.f64 1/6 (*.f64 (cos.f64 im) (pow.f64 re 3))) (+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)))) |
(exp.f64 re) |
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (pow.f64 im 2))) (exp.f64 re)) |
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (pow.f64 im 2))) (+.f64 (*.f64 1/24 (*.f64 (exp.f64 re) (pow.f64 im 4))) (exp.f64 re))) |
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (pow.f64 im 2))) (+.f64 (*.f64 1/24 (*.f64 (exp.f64 re) (pow.f64 im 4))) (+.f64 (exp.f64 re) (*.f64 -1/720 (*.f64 (exp.f64 re) (pow.f64 im 6)))))) |
(+.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 0) |
(+.f64 0 (*.f64 (exp.f64 re) (cos.f64 im))) |
| Outputs |
|---|
(cos.f64 im) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(+.f64 (cos.f64 im) (*.f64 (cos.f64 im) re)) |
(*.f64 (cos.f64 im) (+.f64 1 re)) |
(*.f64 (cos.f64 im) (+.f64 re 1)) |
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))) |
(+.f64 (+.f64 (cos.f64 im) (*.f64 (cos.f64 im) re)) (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2)))) |
(+.f64 (*.f64 (cos.f64 im) (+.f64 1 re)) (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2)))) |
(+.f64 (*.f64 (cos.f64 im) (+.f64 re 1)) (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2)))) |
(+.f64 (*.f64 1/6 (*.f64 (cos.f64 im) (pow.f64 re 3))) (+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)))) |
(+.f64 (+.f64 (+.f64 (cos.f64 im) (*.f64 (cos.f64 im) re)) (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2)))) (*.f64 (cos.f64 im) (*.f64 1/6 (pow.f64 re 3)))) |
(+.f64 (*.f64 (cos.f64 im) (+.f64 1 re)) (+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (*.f64 (cos.f64 im) (*.f64 1/6 (pow.f64 re 3))))) |
(+.f64 (*.f64 (cos.f64 im) (+.f64 re 1)) (+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (*.f64 (cos.f64 im) (*.f64 1/6 (pow.f64 re 3))))) |
(+.f64 (*.f64 (cos.f64 im) re) (+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (*.f64 (cos.f64 im) (+.f64 1 (*.f64 1/6 (pow.f64 re 3)))))) |
(+.f64 (*.f64 (cos.f64 im) re) (+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (*.f64 (cos.f64 im) (+.f64 (*.f64 1/6 (pow.f64 re 3)) 1)))) |
(exp.f64 re) |
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (pow.f64 im 2))) (exp.f64 re)) |
(+.f64 (exp.f64 re) (*.f64 -1/2 (*.f64 (exp.f64 re) (pow.f64 im 2)))) |
(*.f64 (exp.f64 re) (+.f64 1 (*.f64 -1/2 (pow.f64 im 2)))) |
(*.f64 (exp.f64 re) (+.f64 (*.f64 -1/2 (pow.f64 im 2)) 1)) |
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (pow.f64 im 2))) (+.f64 (*.f64 1/24 (*.f64 (exp.f64 re) (pow.f64 im 4))) (exp.f64 re))) |
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (pow.f64 im 2))) (+.f64 (exp.f64 re) (*.f64 (exp.f64 re) (*.f64 1/24 (pow.f64 im 4))))) |
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (pow.f64 im 2))) (*.f64 (exp.f64 re) (+.f64 1 (*.f64 1/24 (pow.f64 im 4))))) |
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (pow.f64 im 2))) (*.f64 (exp.f64 re) (+.f64 (*.f64 1/24 (pow.f64 im 4)) 1))) |
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (pow.f64 im 2))) (+.f64 (*.f64 1/24 (*.f64 (exp.f64 re) (pow.f64 im 4))) (+.f64 (exp.f64 re) (*.f64 -1/720 (*.f64 (exp.f64 re) (pow.f64 im 6)))))) |
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (pow.f64 im 2))) (+.f64 (*.f64 (exp.f64 re) (*.f64 1/24 (pow.f64 im 4))) (+.f64 (exp.f64 re) (*.f64 (exp.f64 re) (*.f64 -1/720 (pow.f64 im 6)))))) |
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (pow.f64 im 2))) (+.f64 (*.f64 (exp.f64 re) (*.f64 1/24 (pow.f64 im 4))) (*.f64 (exp.f64 re) (+.f64 1 (*.f64 -1/720 (pow.f64 im 6)))))) |
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (pow.f64 im 2))) (+.f64 (*.f64 (exp.f64 re) (*.f64 1/24 (pow.f64 im 4))) (*.f64 (exp.f64 re) (+.f64 (*.f64 -1/720 (pow.f64 im 6)) 1)))) |
(+.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 0) |
(+.f64 (*.f64 (cos.f64 im) (exp.f64 re)) 0) |
(+.f64 0 (*.f64 (exp.f64 re) (cos.f64 im))) |
(+.f64 (*.f64 (cos.f64 im) (exp.f64 re)) 0) |
Compiled 495 to 283 computations (42.8% saved)
5 alts after pruning (4 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 27 | 4 | 31 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 27 | 5 | 32 |
| Status | Error | Program |
|---|---|---|
| ▶ | 20.3b | (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
| ✓ | 0.0b | (*.f64 (exp.f64 re) (cos.f64 im)) |
| ▶ | 20.3b | (*.f64 (cos.f64 im) (+.f64 re 1)) |
| ▶ | 20.7b | (exp.f64 re) |
| ▶ | 20.4b | (cos.f64 im) |
Compiled 32 to 22 computations (31.3% saved)
Compiled 5 to 3 computations (40% saved)
Compiled 5 to 3 computations (40% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (*.f64 (cos.f64 im) (+.f64 re 1)) |
Compiled 16 to 9 computations (43.8% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | re | @ | inf | (*.f64 (cos.f64 im) (+.f64 re 1)) |
| 0.0ms | im | @ | 0 | (*.f64 (cos.f64 im) (+.f64 re 1)) |
| 0.0ms | im | @ | -inf | (*.f64 (cos.f64 im) (+.f64 re 1)) |
| 0.0ms | im | @ | inf | (*.f64 (cos.f64 im) (+.f64 re 1)) |
| 0.0ms | re | @ | -inf | (*.f64 (cos.f64 im) (+.f64 re 1)) |
| 1× | batch-egg-rewrite |
| 24× | bool.json-1 |
| 22× | rational.json-simplify-2 |
| 22× | rational.json-simplify-1 |
| 20× | rational.json-1 |
| 20× | rational.json-2 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 17 |
| 1 | 41 | 17 |
| 2 | 66 | 17 |
| 3 | 71 | 17 |
| 1× | saturated |
| Inputs |
|---|
(*.f64 (cos.f64 im) (+.f64 re 1)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (cos.f64 im) (+.f64 re 1)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (cos.f64 im) (+.f64 re 1)))))) (#(struct:change #<rule egg-rr> (2) ((x or (*.f64 (cos.f64 im) (+.f64 re 1)) (*.f64 (cos.f64 im) (+.f64 re 1))))))) |
| 1× | egg-herbie |
| 232× | rational.json-simplify-1 |
| 224× | rational.json-simplify-33 |
| 46× | rational.json-simplify-2 |
| 12× | rational.json-simplify-31 |
| 8× | rational.json-simplify-19 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 37 | 570 |
| 1 | 63 | 552 |
| 2 | 111 | 552 |
| 3 | 186 | 552 |
| 4 | 269 | 552 |
| 5 | 323 | 552 |
| 6 | 327 | 552 |
| 1× | saturated |
| Inputs |
|---|
(+.f64 1 re) |
(+.f64 1 (+.f64 re (*.f64 -1/2 (*.f64 (+.f64 1 re) (pow.f64 im 2))))) |
(+.f64 (*.f64 1/24 (*.f64 (+.f64 1 re) (pow.f64 im 4))) (+.f64 1 (+.f64 re (*.f64 -1/2 (*.f64 (+.f64 1 re) (pow.f64 im 2)))))) |
(+.f64 (*.f64 1/24 (*.f64 (+.f64 1 re) (pow.f64 im 4))) (+.f64 (*.f64 -1/720 (*.f64 (+.f64 1 re) (pow.f64 im 6))) (+.f64 1 (+.f64 re (*.f64 -1/2 (*.f64 (+.f64 1 re) (pow.f64 im 2))))))) |
(*.f64 (cos.f64 im) (+.f64 1 re)) |
(*.f64 (cos.f64 im) (+.f64 1 re)) |
(*.f64 (cos.f64 im) (+.f64 1 re)) |
(*.f64 (cos.f64 im) (+.f64 1 re)) |
(*.f64 (+.f64 1 re) (cos.f64 im)) |
(*.f64 (+.f64 1 re) (cos.f64 im)) |
(*.f64 (+.f64 1 re) (cos.f64 im)) |
(*.f64 (+.f64 1 re) (cos.f64 im)) |
(cos.f64 im) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(*.f64 (cos.f64 im) re) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(*.f64 (cos.f64 im) re) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(+.f64 (*.f64 (cos.f64 im) (+.f64 re 1)) 0) |
(+.f64 0 (*.f64 (cos.f64 im) (+.f64 re 1))) |
| Outputs |
|---|
(+.f64 1 re) |
(+.f64 1 (+.f64 re (*.f64 -1/2 (*.f64 (+.f64 1 re) (pow.f64 im 2))))) |
(*.f64 (+.f64 1 re) (+.f64 1 (*.f64 -1/2 (pow.f64 im 2)))) |
(+.f64 (*.f64 1/24 (*.f64 (+.f64 1 re) (pow.f64 im 4))) (+.f64 1 (+.f64 re (*.f64 -1/2 (*.f64 (+.f64 1 re) (pow.f64 im 2)))))) |
(+.f64 (+.f64 1 (+.f64 re (*.f64 -1/2 (*.f64 (+.f64 1 re) (pow.f64 im 2))))) (*.f64 1/24 (*.f64 (+.f64 1 re) (pow.f64 im 4)))) |
(+.f64 (*.f64 (+.f64 1 re) (+.f64 1 (*.f64 -1/2 (pow.f64 im 2)))) (*.f64 1/24 (*.f64 (+.f64 1 re) (pow.f64 im 4)))) |
(+.f64 (*.f64 -1/2 (*.f64 (+.f64 1 re) (pow.f64 im 2))) (*.f64 (+.f64 1 re) (+.f64 1 (*.f64 1/24 (pow.f64 im 4))))) |
(+.f64 (*.f64 1/24 (*.f64 (+.f64 1 re) (pow.f64 im 4))) (+.f64 (*.f64 -1/720 (*.f64 (+.f64 1 re) (pow.f64 im 6))) (+.f64 1 (+.f64 re (*.f64 -1/2 (*.f64 (+.f64 1 re) (pow.f64 im 2))))))) |
(+.f64 (+.f64 (*.f64 1/24 (*.f64 (+.f64 1 re) (pow.f64 im 4))) (*.f64 (+.f64 1 re) (*.f64 -1/720 (pow.f64 im 6)))) (+.f64 1 (+.f64 re (*.f64 -1/2 (*.f64 (+.f64 1 re) (pow.f64 im 2)))))) |
(+.f64 (*.f64 (+.f64 1 re) (+.f64 1 (*.f64 -1/2 (pow.f64 im 2)))) (+.f64 (*.f64 1/24 (*.f64 (+.f64 1 re) (pow.f64 im 4))) (*.f64 (+.f64 1 re) (*.f64 -1/720 (pow.f64 im 6))))) |
(+.f64 (*.f64 -1/2 (*.f64 (+.f64 1 re) (pow.f64 im 2))) (+.f64 (*.f64 1/24 (*.f64 (+.f64 1 re) (pow.f64 im 4))) (*.f64 (+.f64 1 re) (+.f64 1 (*.f64 -1/720 (pow.f64 im 6)))))) |
(*.f64 (cos.f64 im) (+.f64 1 re)) |
(*.f64 (+.f64 1 re) (cos.f64 im)) |
(*.f64 (cos.f64 im) (+.f64 1 re)) |
(*.f64 (+.f64 1 re) (cos.f64 im)) |
(*.f64 (cos.f64 im) (+.f64 1 re)) |
(*.f64 (+.f64 1 re) (cos.f64 im)) |
(*.f64 (cos.f64 im) (+.f64 1 re)) |
(*.f64 (+.f64 1 re) (cos.f64 im)) |
(*.f64 (+.f64 1 re) (cos.f64 im)) |
(*.f64 (+.f64 1 re) (cos.f64 im)) |
(*.f64 (+.f64 1 re) (cos.f64 im)) |
(*.f64 (+.f64 1 re) (cos.f64 im)) |
(cos.f64 im) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(*.f64 (+.f64 1 re) (cos.f64 im)) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(*.f64 (+.f64 1 re) (cos.f64 im)) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(*.f64 (+.f64 1 re) (cos.f64 im)) |
(*.f64 (cos.f64 im) re) |
(*.f64 re (cos.f64 im)) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(*.f64 (+.f64 1 re) (cos.f64 im)) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(*.f64 (+.f64 1 re) (cos.f64 im)) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(*.f64 (+.f64 1 re) (cos.f64 im)) |
(*.f64 (cos.f64 im) re) |
(*.f64 re (cos.f64 im)) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(*.f64 (+.f64 1 re) (cos.f64 im)) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(*.f64 (+.f64 1 re) (cos.f64 im)) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
(*.f64 (+.f64 1 re) (cos.f64 im)) |
(+.f64 (*.f64 (cos.f64 im) (+.f64 re 1)) 0) |
(+.f64 (*.f64 (+.f64 1 re) (cos.f64 im)) 0) |
(+.f64 0 (*.f64 (cos.f64 im) (+.f64 re 1))) |
(+.f64 (*.f64 (+.f64 1 re) (cos.f64 im)) 0) |
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
| ✓ | 0.1b | (*.f64 (cos.f64 im) re) |
Compiled 17 to 5 computations (70.6% saved)
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | re | @ | 0 | (*.f64 (cos.f64 im) re) |
| 0.0ms | im | @ | 0 | (*.f64 (cos.f64 im) re) |
| 0.0ms | re | @ | inf | (*.f64 (cos.f64 im) re) |
| 0.0ms | im | @ | -inf | (*.f64 (cos.f64 im) re) |
| 0.0ms | im | @ | inf | (*.f64 (cos.f64 im) re) |
| 1× | batch-egg-rewrite |
| 26× | rational.json-simplify-1 |
| 26× | bool.json-1 |
| 24× | rational.json-simplify-2 |
| 22× | rational.json-1 |
| 22× | rational.json-2 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 32 |
| 1 | 38 | 28 |
| 2 | 68 | 28 |
| 3 | 78 | 28 |
| 4 | 79 | 28 |
| 5 | 80 | 28 |
| 1× | saturated |
| Inputs |
|---|
(*.f64 (cos.f64 im) re) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (cos.f64 im) re) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (cos.f64 im) re))))) (#(struct:change #<rule egg-rr> (2) ((x or (*.f64 (cos.f64 im) re) (*.f64 (cos.f64 im) re)))))) |
((#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 im) (+.f64 re 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 im) (+.f64 re 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 (cos.f64 im) (+.f64 re 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 re 1) (cos.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x or (*.f64 (cos.f64 im) (+.f64 re 1)) (*.f64 (cos.f64 im) (+.f64 re 1))))))) |
| 1× | egg-herbie |
| 1072× | rational.json-simplify-31 |
| 906× | rational.json-simplify-2 |
| 296× | rational.json-simplify-1 |
| 208× | rational.json-simplify-33 |
| 58× | rational.json-simplify-19 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 56 | 497 |
| 1 | 114 | 497 |
| 2 | 197 | 497 |
| 3 | 315 | 497 |
| 4 | 421 | 479 |
| 5 | 496 | 479 |
| 6 | 613 | 479 |
| 7 | 868 | 479 |
| 8 | 1020 | 479 |
| 9 | 1054 | 479 |
| 10 | 1062 | 479 |
| 11 | 1066 | 479 |
| 12 | 1071 | 479 |
| 13 | 1258 | 479 |
| 14 | 1364 | 479 |
| 15 | 1392 | 479 |
| 16 | 1392 | 479 |
| 17 | 1459 | 479 |
| 18 | 1529 | 479 |
| 19 | 1567 | 479 |
| 1× | saturated |
| Inputs |
|---|
re |
(+.f64 (*.f64 -1/2 (*.f64 re (pow.f64 im 2))) re) |
(+.f64 (*.f64 -1/2 (*.f64 re (pow.f64 im 2))) (+.f64 (*.f64 1/24 (*.f64 re (pow.f64 im 4))) re)) |
(+.f64 (*.f64 -1/2 (*.f64 re (pow.f64 im 2))) (+.f64 (*.f64 1/24 (*.f64 re (pow.f64 im 4))) (+.f64 (*.f64 -1/720 (*.f64 re (pow.f64 im 6))) re))) |
(+.f64 1 re) |
(+.f64 (*.f64 (-.f64 (*.f64 -1/2 re) 1/2) (pow.f64 im 2)) (+.f64 1 re)) |
(+.f64 (*.f64 (-.f64 (*.f64 -1/2 re) 1/2) (pow.f64 im 2)) (+.f64 1 (+.f64 re (*.f64 (+.f64 (*.f64 1/24 re) 1/24) (pow.f64 im 4))))) |
(+.f64 (*.f64 (-.f64 (*.f64 -1/2 re) 1/2) (pow.f64 im 2)) (+.f64 1 (+.f64 (*.f64 (-.f64 (*.f64 -1/720 re) 1/720) (pow.f64 im 6)) (+.f64 re (*.f64 (+.f64 (*.f64 1/24 re) 1/24) (pow.f64 im 4)))))) |
(cos.f64 im) |
(*.f64 (cos.f64 im) re) |
(*.f64 (cos.f64 im) re) |
(+.f64 (*.f64 (cos.f64 im) re) 0) |
(+.f64 0 (*.f64 (cos.f64 im) re)) |
(*.f64 (cos.f64 im) (+.f64 re 1)) |
(*.f64 (*.f64 (cos.f64 im) (+.f64 re 1)) 1) |
(*.f64 1 (*.f64 (cos.f64 im) (+.f64 re 1))) |
(*.f64 (+.f64 re 1) (cos.f64 im)) |
| Outputs |
|---|
re |
(+.f64 (*.f64 -1/2 (*.f64 re (pow.f64 im 2))) re) |
(+.f64 re (*.f64 re (*.f64 -1/2 (pow.f64 im 2)))) |
(+.f64 (*.f64 -1/2 (*.f64 re (pow.f64 im 2))) (+.f64 (*.f64 1/24 (*.f64 re (pow.f64 im 4))) re)) |
(+.f64 (*.f64 re (*.f64 -1/2 (pow.f64 im 2))) (+.f64 re (*.f64 1/24 (*.f64 re (pow.f64 im 4))))) |
(+.f64 (*.f64 re (*.f64 -1/2 (pow.f64 im 2))) (+.f64 re (*.f64 (pow.f64 im 4) (*.f64 re 1/24)))) |
(+.f64 (*.f64 -1/2 (*.f64 re (pow.f64 im 2))) (+.f64 (*.f64 1/24 (*.f64 re (pow.f64 im 4))) (+.f64 (*.f64 -1/720 (*.f64 re (pow.f64 im 6))) re))) |
(+.f64 (*.f64 re (*.f64 -1/2 (pow.f64 im 2))) (+.f64 (*.f64 1/24 (*.f64 re (pow.f64 im 4))) (+.f64 re (*.f64 -1/720 (*.f64 re (pow.f64 im 6)))))) |
(+.f64 re (+.f64 (*.f64 re (*.f64 -1/2 (pow.f64 im 2))) (+.f64 (*.f64 (pow.f64 im 4) (*.f64 re 1/24)) (*.f64 (pow.f64 im 6) (*.f64 re -1/720))))) |
(+.f64 (+.f64 (*.f64 re (*.f64 -1/2 (pow.f64 im 2))) (*.f64 (pow.f64 im 6) (*.f64 re -1/720))) (+.f64 re (*.f64 (pow.f64 im 4) (*.f64 re 1/24)))) |
(+.f64 (+.f64 re (*.f64 (pow.f64 im 4) (*.f64 re 1/24))) (+.f64 (*.f64 re (*.f64 -1/2 (pow.f64 im 2))) (*.f64 (pow.f64 im 6) (*.f64 re -1/720)))) |
(+.f64 1 re) |
(+.f64 re 1) |
(+.f64 (*.f64 (-.f64 (*.f64 -1/2 re) 1/2) (pow.f64 im 2)) (+.f64 1 re)) |
(+.f64 (*.f64 (pow.f64 im 2) (+.f64 -1/2 (*.f64 re -1/2))) (+.f64 re 1)) |
(+.f64 (*.f64 (pow.f64 im 2) (*.f64 -1/2 (+.f64 re 1))) (+.f64 re 1)) |
(+.f64 re (+.f64 1 (*.f64 -1/2 (*.f64 (pow.f64 im 2) (+.f64 re 1))))) |
(*.f64 (+.f64 re 1) (+.f64 1 (*.f64 -1/2 (pow.f64 im 2)))) |
(+.f64 (*.f64 (-.f64 (*.f64 -1/2 re) 1/2) (pow.f64 im 2)) (+.f64 1 (+.f64 re (*.f64 (+.f64 (*.f64 1/24 re) 1/24) (pow.f64 im 4))))) |
(+.f64 (*.f64 (pow.f64 im 2) (+.f64 -1/2 (*.f64 re -1/2))) (+.f64 1 (+.f64 re (*.f64 (pow.f64 im 4) (+.f64 1/24 (*.f64 re 1/24)))))) |
(+.f64 (*.f64 (pow.f64 im 2) (*.f64 -1/2 (+.f64 re 1))) (+.f64 1 (+.f64 re (*.f64 (pow.f64 im 4) (+.f64 1/24 (*.f64 re 1/24)))))) |
(+.f64 re (+.f64 (*.f64 (pow.f64 im 4) (+.f64 1/24 (*.f64 re 1/24))) (+.f64 1 (*.f64 -1/2 (*.f64 (pow.f64 im 2) (+.f64 re 1)))))) |
(+.f64 (*.f64 (pow.f64 im 4) (+.f64 1/24 (*.f64 re 1/24))) (*.f64 (+.f64 re 1) (+.f64 1 (*.f64 -1/2 (pow.f64 im 2))))) |
(+.f64 (*.f64 (-.f64 (*.f64 -1/2 re) 1/2) (pow.f64 im 2)) (+.f64 1 (+.f64 (*.f64 (-.f64 (*.f64 -1/720 re) 1/720) (pow.f64 im 6)) (+.f64 re (*.f64 (+.f64 (*.f64 1/24 re) 1/24) (pow.f64 im 4)))))) |
(+.f64 (*.f64 (pow.f64 im 2) (+.f64 -1/2 (*.f64 re -1/2))) (+.f64 1 (+.f64 (+.f64 re (*.f64 (pow.f64 im 4) (+.f64 1/24 (*.f64 re 1/24)))) (*.f64 (pow.f64 im 6) (+.f64 -1/720 (*.f64 re -1/720)))))) |
(+.f64 (*.f64 (pow.f64 im 2) (*.f64 -1/2 (+.f64 re 1))) (+.f64 1 (+.f64 (+.f64 re (*.f64 (pow.f64 im 4) (+.f64 1/24 (*.f64 re 1/24)))) (*.f64 (pow.f64 im 6) (+.f64 -1/720 (*.f64 re -1/720)))))) |
(+.f64 1 (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 im 2) (+.f64 re 1))) (+.f64 re (+.f64 (*.f64 (pow.f64 im 4) (+.f64 1/24 (*.f64 re 1/24))) (*.f64 -1/720 (*.f64 (pow.f64 im 6) (+.f64 re 1))))))) |
(+.f64 re (+.f64 (+.f64 1 (*.f64 -1/2 (*.f64 (pow.f64 im 2) (+.f64 re 1)))) (+.f64 (*.f64 (pow.f64 im 4) (+.f64 1/24 (*.f64 re 1/24))) (*.f64 -1/720 (*.f64 (pow.f64 im 6) (+.f64 re 1)))))) |
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 im 2) (+.f64 re 1))) (+.f64 (*.f64 (pow.f64 im 4) (+.f64 1/24 (*.f64 re 1/24))) (*.f64 (+.f64 re 1) (+.f64 1 (*.f64 -1/720 (pow.f64 im 6)))))) |
(cos.f64 im) |
(*.f64 (cos.f64 im) re) |
(*.f64 re (cos.f64 im)) |
(*.f64 (cos.f64 im) re) |
(*.f64 re (cos.f64 im)) |
(+.f64 (*.f64 (cos.f64 im) re) 0) |
(+.f64 (*.f64 re (cos.f64 im)) 0) |
(+.f64 0 (*.f64 (cos.f64 im) re)) |
(+.f64 (*.f64 re (cos.f64 im)) 0) |
(*.f64 (cos.f64 im) (+.f64 re 1)) |
(*.f64 (*.f64 (cos.f64 im) (+.f64 re 1)) 1) |
(*.f64 (cos.f64 im) (*.f64 1 (+.f64 re 1))) |
(*.f64 1 (*.f64 (cos.f64 im) (+.f64 re 1))) |
(*.f64 1 (*.f64 (cos.f64 im) (+.f64 re 1))) |
(*.f64 (cos.f64 im) (*.f64 1 (+.f64 re 1))) |
(*.f64 (+.f64 re 1) (cos.f64 im)) |
(*.f64 (cos.f64 im) (+.f64 re 1)) |
Compiled 977 to 696 computations (28.8% saved)
7 alts after pruning (2 fresh and 5 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 58 | 2 | 60 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 4 | 4 |
| Total | 58 | 7 | 65 |
| Status | Error | Program |
|---|---|---|
| ✓ | 20.3b | (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
| ▶ | 20.5b | (+.f64 re (cos.f64 im)) |
| ▶ | 40.7b | (+.f64 re 1) |
| ✓ | 0.0b | (*.f64 (exp.f64 re) (cos.f64 im)) |
| ✓ | 20.3b | (*.f64 (cos.f64 im) (+.f64 re 1)) |
| ✓ | 20.7b | (exp.f64 re) |
| ✓ | 20.4b | (cos.f64 im) |
Compiled 43 to 30 computations (30.2% saved)
Compiled 7 to 5 computations (28.6% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 re (cos.f64 im)) |
Compiled 10 to 4 computations (60% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | im | @ | 0 | (+.f64 re (cos.f64 im)) |
| 0.0ms | re | @ | 0 | (+.f64 re (cos.f64 im)) |
| 0.0ms | re | @ | -inf | (+.f64 re (cos.f64 im)) |
| 0.0ms | im | @ | inf | (+.f64 re (cos.f64 im)) |
| 0.0ms | im | @ | -inf | (+.f64 re (cos.f64 im)) |
| 1× | batch-egg-rewrite |
| 22× | bool.json-1 |
| 20× | rational.json-simplify-1 |
| 18× | rational.json-1 |
| 18× | rational.json-2 |
| 18× | rational.json-simplify-2 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 11 |
| 1 | 33 | 11 |
| 2 | 59 | 11 |
| 3 | 63 | 11 |
| 1× | saturated |
| Inputs |
|---|
(+.f64 re (cos.f64 im)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 re (cos.f64 im)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 re (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x or (+.f64 re (cos.f64 im)) (+.f64 re (cos.f64 im))))))) |
| 1× | egg-herbie |
| 196× | rational.json-simplify-1 |
| 178× | rational.json-simplify-33 |
| 8× | rational.json-simplify-2 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 33 | 364 |
| 1 | 54 | 364 |
| 2 | 85 | 364 |
| 3 | 142 | 364 |
| 4 | 210 | 364 |
| 5 | 238 | 364 |
| 6 | 239 | 364 |
| 1× | saturated |
| Inputs |
|---|
(cos.f64 im) |
(+.f64 (cos.f64 im) re) |
(+.f64 (cos.f64 im) re) |
(+.f64 (cos.f64 im) re) |
re |
(+.f64 (cos.f64 im) re) |
(+.f64 (cos.f64 im) re) |
(+.f64 (cos.f64 im) re) |
re |
(+.f64 (cos.f64 im) re) |
(+.f64 (cos.f64 im) re) |
(+.f64 (cos.f64 im) re) |
(+.f64 1 re) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 im 2)) re)) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 im 2)) (+.f64 (*.f64 1/24 (pow.f64 im 4)) re))) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 im 2)) (+.f64 (*.f64 1/24 (pow.f64 im 4)) (+.f64 re (*.f64 -1/720 (pow.f64 im 6)))))) |
(+.f64 (cos.f64 im) re) |
(+.f64 (cos.f64 im) re) |
(+.f64 (cos.f64 im) re) |
(+.f64 (cos.f64 im) re) |
(+.f64 (cos.f64 im) re) |
(+.f64 (cos.f64 im) re) |
(+.f64 (cos.f64 im) re) |
(+.f64 (cos.f64 im) re) |
(*.f64 (+.f64 re (cos.f64 im)) 1) |
(*.f64 1 (+.f64 re (cos.f64 im))) |
| Outputs |
|---|
(cos.f64 im) |
(+.f64 (cos.f64 im) re) |
(+.f64 (cos.f64 im) re) |
(+.f64 (cos.f64 im) re) |
re |
(+.f64 (cos.f64 im) re) |
(+.f64 (cos.f64 im) re) |
(+.f64 (cos.f64 im) re) |
re |
(+.f64 (cos.f64 im) re) |
(+.f64 (cos.f64 im) re) |
(+.f64 (cos.f64 im) re) |
(+.f64 1 re) |
(+.f64 re 1) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 im 2)) re)) |
(+.f64 1 (+.f64 re (*.f64 -1/2 (pow.f64 im 2)))) |
(+.f64 re (+.f64 1 (*.f64 -1/2 (pow.f64 im 2)))) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 im 2)) (+.f64 (*.f64 1/24 (pow.f64 im 4)) re))) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 im 2)) (+.f64 re (*.f64 1/24 (pow.f64 im 4))))) |
(+.f64 re (+.f64 (*.f64 1/24 (pow.f64 im 4)) (+.f64 1 (*.f64 -1/2 (pow.f64 im 2))))) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 im 2)) (+.f64 (*.f64 1/24 (pow.f64 im 4)) (+.f64 re (*.f64 -1/720 (pow.f64 im 6)))))) |
(+.f64 (+.f64 (+.f64 1 (*.f64 -1/2 (pow.f64 im 2))) (*.f64 1/24 (pow.f64 im 4))) (+.f64 re (*.f64 -1/720 (pow.f64 im 6)))) |
(+.f64 (+.f64 (+.f64 1 (*.f64 -1/2 (pow.f64 im 2))) (*.f64 -1/720 (pow.f64 im 6))) (+.f64 re (*.f64 1/24 (pow.f64 im 4)))) |
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 im 2)) (+.f64 re (+.f64 (*.f64 1/24 (pow.f64 im 4)) (*.f64 -1/720 (pow.f64 im 6)))))) |
(+.f64 (cos.f64 im) re) |
(+.f64 (cos.f64 im) re) |
(+.f64 (cos.f64 im) re) |
(+.f64 (cos.f64 im) re) |
(+.f64 (cos.f64 im) re) |
(+.f64 (cos.f64 im) re) |
(+.f64 (cos.f64 im) re) |
(+.f64 (cos.f64 im) re) |
(*.f64 (+.f64 re (cos.f64 im)) 1) |
(*.f64 1 (+.f64 (cos.f64 im) re)) |
(*.f64 1 (+.f64 re (cos.f64 im))) |
(*.f64 1 (+.f64 (cos.f64 im) re)) |
Compiled 189 to 140 computations (25.9% saved)
8 alts after pruning (1 fresh and 7 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 17 | 1 | 18 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 6 | 6 |
| Total | 17 | 8 | 25 |
| Status | Error | Program |
|---|---|---|
| ✓ | 20.3b | (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
| ✓ | 20.5b | (+.f64 re (cos.f64 im)) |
| ✓ | 40.7b | (+.f64 re 1) |
| ✓ | 0.0b | (*.f64 (exp.f64 re) (cos.f64 im)) |
| ✓ | 20.3b | (*.f64 (cos.f64 im) (+.f64 re 1)) |
| ✓ | 20.7b | (exp.f64 re) |
| ✓ | 20.4b | (cos.f64 im) |
| 61.9b | re |
Compiled 46 to 32 computations (30.4% saved)
Compiled 2 to 2 computations (0% saved)
8 alts after pruning (1 fresh and 7 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 0 | 0 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 7 | 7 |
| Total | 0 | 8 | 8 |
| Status | Error | Program |
|---|---|---|
| ✓ | 20.3b | (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
| ✓ | 20.5b | (+.f64 re (cos.f64 im)) |
| ✓ | 40.7b | (+.f64 re 1) |
| ✓ | 0.0b | (*.f64 (exp.f64 re) (cos.f64 im)) |
| ✓ | 20.3b | (*.f64 (cos.f64 im) (+.f64 re 1)) |
| ✓ | 20.7b | (exp.f64 re) |
| ✓ | 20.4b | (cos.f64 im) |
| 61.9b | re |
Compiled 46 to 32 computations (30.4% saved)
| Inputs |
|---|
re |
(+.f64 re 1) |
(cos.f64 im) |
(exp.f64 re) |
(+.f64 re (cos.f64 im)) |
(*.f64 (cos.f64 im) (+.f64 re 1)) |
(*.f64 (exp.f64 re) (cos.f64 im)) |
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) |
| Outputs |
|---|
(*.f64 (exp.f64 re) (cos.f64 im)) |
5 calls:
| 6.0ms | im |
| 5.0ms | re |
| 5.0ms | (cos.f64 im) |
| 4.0ms | (*.f64 (exp.f64 re) (cos.f64 im)) |
| 2.0ms | (exp.f64 re) |
| Error | Segments | Branch |
|---|---|---|
| 0.0b | 1 | re |
| 0.0b | 1 | im |
| 0.0b | 1 | (*.f64 (exp.f64 re) (cos.f64 im)) |
| 0.0b | 1 | (exp.f64 re) |
| 0.0b | 1 | (cos.f64 im) |
Compiled 53 to 28 computations (47.2% saved)
| Inputs |
|---|
re |
(+.f64 re 1) |
(cos.f64 im) |
(exp.f64 re) |
(+.f64 re (cos.f64 im)) |
(*.f64 (cos.f64 im) (+.f64 re 1)) |
| Outputs |
|---|
(exp.f64 re) |
(*.f64 (cos.f64 im) (+.f64 re 1)) |
4 calls:
| 22.0ms | im |
| 16.0ms | (cos.f64 im) |
| 10.0ms | re |
| 3.0ms | (exp.f64 re) |
| Error | Segments | Branch |
|---|---|---|
| 0.3b | 2 | re |
| 7.9b | 5 | im |
| 0.3b | 2 | (exp.f64 re) |
| 8.6b | 4 | (cos.f64 im) |
Compiled 34 to 20 computations (41.2% saved)
| 1× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | 2.3764553290949155e-66 | 0.9999999928319746 |
Compiled 12 to 9 computations (25% saved)
| Inputs |
|---|
re |
(+.f64 re 1) |
(cos.f64 im) |
(exp.f64 re) |
(+.f64 re (cos.f64 im)) |
| Outputs |
|---|
(exp.f64 re) |
(+.f64 re (cos.f64 im)) |
4 calls:
| 21.0ms | im |
| 14.0ms | (cos.f64 im) |
| 8.0ms | re |
| 3.0ms | (exp.f64 re) |
| Error | Segments | Branch |
|---|---|---|
| 0.4b | 2 | re |
| 8.0b | 5 | im |
| 0.4b | 2 | (exp.f64 re) |
| 8.8b | 4 | (cos.f64 im) |
Compiled 28 to 17 computations (39.3% saved)
| 1× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | 0.0 | 2.3764553290949155e-66 |
Compiled 12 to 9 computations (25% saved)
| Inputs |
|---|
re |
(+.f64 re 1) |
(cos.f64 im) |
(exp.f64 re) |
| Outputs |
|---|
(exp.f64 re) |
(cos.f64 im) |
4 calls:
| 19.0ms | im |
| 14.0ms | (cos.f64 im) |
| 7.0ms | re |
| 3.0ms | (exp.f64 re) |
| Error | Segments | Branch |
|---|---|---|
| 0.6b | 2 | re |
| 8.1b | 5 | im |
| 0.6b | 2 | (exp.f64 re) |
| 8.8b | 4 | (cos.f64 im) |
Compiled 24 to 16 computations (33.3% saved)
| 1× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | 0.0 | 2.3764553290949155e-66 |
Compiled 12 to 9 computations (25% saved)
| Inputs |
|---|
re |
(+.f64 re 1) |
(cos.f64 im) |
| Outputs |
|---|
(cos.f64 im) |
3 calls:
| 6.0ms | (cos.f64 im) |
| 3.0ms | im |
| 3.0ms | re |
| Error | Segments | Branch |
|---|---|---|
| 20.4b | 1 | re |
| 20.4b | 1 | im |
| 20.4b | 1 | (cos.f64 im) |
Compiled 18 to 12 computations (33.3% saved)
Total -21.4b remaining (-52.5%)
Threshold costs -21.4b (-52.5%)
| Inputs |
|---|
re |
(+.f64 re 1) |
| Outputs |
|---|
(+.f64 re 1) |
2 calls:
| 3.0ms | im |
| 3.0ms | re |
| Error | Segments | Branch |
|---|---|---|
| 40.7b | 1 | re |
| 40.7b | 1 | im |
Compiled 12 to 8 computations (33.3% saved)
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 22 | 115 |
| 1× | fuel |
| 1× | saturated |
| Inputs |
|---|
(*.f64 (exp.f64 re) (cos.f64 im)) |
(if (<=.f64 (exp.f64 re) 3794275180128377/948568795032094272909893509191171341133987714380927500611236528192824358010355712) (exp.f64 re) (*.f64 (cos.f64 im) (+.f64 re 1))) |
(if (<=.f64 (exp.f64 re) 0) (exp.f64 re) (+.f64 re (cos.f64 im))) |
(if (<=.f64 (exp.f64 re) 0) (exp.f64 re) (cos.f64 im)) |
(cos.f64 im) |
(+.f64 re 1) |
re |
| Outputs |
|---|
(*.f64 (exp.f64 re) (cos.f64 im)) |
(if (<=.f64 (exp.f64 re) 3794275180128377/948568795032094272909893509191171341133987714380927500611236528192824358010355712) (exp.f64 re) (*.f64 (cos.f64 im) (+.f64 re 1))) |
(if (<=.f64 (exp.f64 re) 0) (exp.f64 re) (+.f64 re (cos.f64 im))) |
(if (<=.f64 (exp.f64 re) 0) (exp.f64 re) (cos.f64 im)) |
(cos.f64 im) |
(+.f64 re 1) |
re |
Compiled 58 to 39 computations (32.8% saved)
Compiled 46 to 20 computations (56.5% saved)
Loading profile data...