
Time bar (total: 602.0ms)
| 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 |
| 75% | 74.9% | 25% | 0.1% | 0% | 0% | 0% | 3 |
| 87.5% | 87.4% | 12.5% | 0.1% | 0% | 0% | 0% | 4 |
| 93.8% | 93.7% | 6.2% | 0.1% | 0% | 0% | 0% | 5 |
| 96.9% | 96.8% | 3.1% | 0.1% | 0% | 0% | 0% | 6 |
| 98.4% | 98.3% | 1.6% | 0.1% | 0% | 0% | 0% | 7 |
| 99.2% | 99.1% | 0.8% | 0.1% | 0% | 0% | 0% | 8 |
| 99.6% | 99.5% | 0.4% | 0.1% | 0% | 0% | 0% | 9 |
| 99.8% | 99.7% | 0.2% | 0.1% | 0% | 0% | 0% | 10 |
| 99.9% | 99.8% | 0.1% | 0.1% | 0% | 0% | 0% | 11 |
| 100% | 99.9% | 0% | 0.1% | 0% | 0% | 0% | 12 |
Compiled 6 to 4 computations (33.3% saved)
ival-atan2: 0.0ms (0% of total)const: 0.0ms (0% of total)backward-pass: 0.0ms (0% of total)| 308.0ms | 8256× | 0 | valid |
ival-atan2: 75.0ms (87.9% of total)const: 7.0ms (8.2% of total)backward-pass: 3.0ms (3.5% of total)| 2× | egg-herbie |
| 32× | sum3-define |
| 24× | sub-neg |
| 16× | fma-define |
| 16× | fmsub-define |
| 16× | +-commutative |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 24 |
| 1 | 20 | 24 |
| 2 | 28 | 24 |
| 3 | 33 | 24 |
| 4 | 57 | 24 |
| 5 | 70 | 24 |
| 6 | 85 | 24 |
| 7 | 97 | 24 |
| 0 | 3 | 3 |
| 0 | 3 | 3 |
| 1× | iter limit |
| 1× | saturated |
| 1× | saturated |
| Inputs |
|---|
(atan2 im re) |
| Outputs |
|---|
(atan2 im re) |
(atan2.f64 im re) |
| Inputs |
|---|
(atan2 im re) |
(atan2 im (neg re)) |
(atan2 (neg im) re) |
(neg (atan2 im (neg re))) |
(neg (atan2 (neg im) re)) |
(atan2 re im) |
| Outputs |
|---|
(atan2 im re) |
(atan2 im (neg re)) |
(atan2 (neg im) re) |
(neg (atan2 im (neg re))) |
(neg (atan2 (neg im) re)) |
(atan2 re im) |
| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | im |
| 0 | 0 | - | 0 | - | (atan2.f64 im re) |
| 0 | 0 | - | 0 | - | re |
| 22.0ms | 512× | 0 | valid |
Compiled 21 to 11 computations (47.6% saved)
ival-atan2: 8.0ms (91.9% of total)const: 0.0ms (0% of total)backward-pass: 0.0ms (0% of total)Compiled 5 to 3 computations (40% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (atan2.f64 im re) |
Compiled 5 to 3 computations (40% saved)
| 1× | egg-herbie |
Found 1 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| ✓ | cost-diff | 0 | (atan2.f64 im re) |
| 2× | atan2-lowering-atan2.f32 |
| 2× | atan2-lowering-atan2.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 3 | 5 |
| 0 | 3 | 5 |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(atan2 im re) |
im |
re |
| Outputs |
|---|
(atan2 im re) |
(atan2.f64 im re) |
im |
re |
Found 1 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| ✓ | accuracy | 100.0% | (atan2.f64 im re) |
| 12.0ms | 256× | 0 | valid |
Compiled 8 to 4 computations (50% saved)
ival-atan2: 5.0ms (94.3% of total)const: 0.0ms (0% of total)backward-pass: 0.0ms (0% of total)| Inputs |
|---|
#<alt (atan2 im re)> |
| Outputs |
|---|
#<alt (atan2 im re)> |
#<alt (atan2 im re)> |
#<alt (atan2 im re)> |
#<alt (atan2 im re)> |
#<alt (atan2 im re)> |
#<alt (atan2 im re)> |
#<alt (atan2 im re)> |
#<alt (atan2 im re)> |
#<alt (atan2 im re)> |
#<alt (atan2 im re)> |
#<alt (atan2 im re)> |
#<alt (atan2 im re)> |
#<alt (atan2 im re)> |
#<alt (atan2 im re)> |
#<alt (atan2 im re)> |
#<alt (atan2 im re)> |
#<alt (atan2 im re)> |
#<alt (atan2 im re)> |
#<alt (atan2 im re)> |
#<alt (atan2 im re)> |
#<alt (atan2 im re)> |
#<alt (atan2 im re)> |
#<alt (atan2 im re)> |
#<alt (atan2 im re)> |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | im | @ | 0 | (atan2 im re) |
| 0.0ms | im | @ | -inf | (atan2 im re) |
| 0.0ms | re | @ | -inf | (atan2 im re) |
| 0.0ms | im | @ | inf | (atan2 im re) |
| 0.0ms | re | @ | inf | (atan2 im re) |
| 1× | batch-egg-rewrite |
| 2× | atan2-lowering-atan2.f32 |
| 2× | atan2-lowering-atan2.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 3 | 3 |
| 0 | 3 | 3 |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(atan2 im re) |
| Outputs |
|---|
(atan2.f64 im re) |
| 1× | egg-herbie |
| 2× | atan2-lowering-atan2.f32 |
| 2× | atan2-lowering-atan2.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 3 | 72 |
| 0 | 3 | 72 |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(atan2 im re) |
(atan2 im re) |
(atan2 im re) |
(atan2 im re) |
(atan2 im re) |
(atan2 im re) |
(atan2 im re) |
(atan2 im re) |
(atan2 im re) |
(atan2 im re) |
(atan2 im re) |
(atan2 im re) |
(atan2 im re) |
(atan2 im re) |
(atan2 im re) |
(atan2 im re) |
(atan2 im re) |
(atan2 im re) |
(atan2 im re) |
(atan2 im re) |
(atan2 im re) |
(atan2 im re) |
(atan2 im re) |
(atan2 im re) |
| Outputs |
|---|
(atan2 im re) |
(atan2.f64 im re) |
(atan2 im re) |
(atan2.f64 im re) |
(atan2 im re) |
(atan2.f64 im re) |
(atan2 im re) |
(atan2.f64 im re) |
(atan2 im re) |
(atan2.f64 im re) |
(atan2 im re) |
(atan2.f64 im re) |
(atan2 im re) |
(atan2.f64 im re) |
(atan2 im re) |
(atan2.f64 im re) |
(atan2 im re) |
(atan2.f64 im re) |
(atan2 im re) |
(atan2.f64 im re) |
(atan2 im re) |
(atan2.f64 im re) |
(atan2 im re) |
(atan2.f64 im re) |
(atan2 im re) |
(atan2.f64 im re) |
(atan2 im re) |
(atan2.f64 im re) |
(atan2 im re) |
(atan2.f64 im re) |
(atan2 im re) |
(atan2.f64 im re) |
(atan2 im re) |
(atan2.f64 im re) |
(atan2 im re) |
(atan2.f64 im re) |
(atan2 im re) |
(atan2.f64 im re) |
(atan2 im re) |
(atan2.f64 im re) |
(atan2 im re) |
(atan2.f64 im re) |
(atan2 im re) |
(atan2.f64 im re) |
(atan2 im re) |
(atan2.f64 im re) |
(atan2 im re) |
(atan2.f64 im re) |
Compiled 77 to 3 computations (96.1% saved)
1 alts after pruning (0 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 25 | 0 | 25 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 25 | 1 | 26 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (atan2.f64 im re) |
Compiled 10 to 6 computations (40% saved)
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 3 | 3 |
| 1× | saturated |
| Inputs |
|---|
(atan2.f64 im re) |
| Outputs |
|---|
(atan2.f64 im re) |
| 1× | done |
Compiled 5 to 3 computations (40% saved)
Compiled 20 to 12 computations (40% saved)
Loading profile data...