
Time bar (total: 601.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 5 to 5 computations (0% saved)
| 282.0ms | 8 256× | 0 | valid |
ival-atan2: 105.0ms (91.2% of total)ival-true: 6.0ms (5.2% of total)ival-assert: 4.0ms (3.5% of total)| 1× | egg-herbie |
| 24× | sub-neg |
| 16× | +-commutative |
| 8× | *-commutative |
| 8× | associate--r+ |
| 8× | --rgt-identity |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 21 |
| 1 | 19 | 21 |
| 2 | 27 | 21 |
| 3 | 32 | 21 |
| 4 | 40 | 21 |
| 5 | 53 | 21 |
| 6 | 64 | 21 |
| 0 | 3 | 3 |
| 0 | 4 | 3 |
| 0 | 4 | 3 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(atan2.f64 im re) |
| Outputs |
|---|
(atan2.f64 im re) |
| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | re |
| 0 | 0 | - | 0 | - | (atan2.f64 im re) |
| 0 | 0 | - | 0 | - | im |
| Predicted + | Predicted - | |
|---|---|---|
| + | 0 | 0 |
| - | 0 | 256 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 0 | 0 | 0 |
| - | 0 | 0 | 256 |
| number | freq |
|---|---|
| 0 | 256 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 0 | 0 | 0 |
| - | 0 | 0 | 1 |
| 17.0ms | 512× | 0 | valid |
Compiled 24 to 16 computations (33.3% saved)
ival-atan2: 6.0ms (97.3% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)Compiled 2 to 2 computations (0% 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× | lower-atan2.f32 |
| 2× | lift-atan2.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 3 | 5 |
| 0 | 4 | 5 |
| 0 | 4 | 5 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
(atan2.f64 im re) |
im |
re |
| Outputs |
|---|
(atan2.f64 im re) |
im |
re |
Found 1 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| ✓ | accuracy | 100.0% | (atan2.f64 im re) |
| 8.0ms | 256× | 0 | valid |
Compiled 7 to 5 computations (28.6% saved)
ival-atan2: 2.0ms (73.2% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#<alt (atan2.f64 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× | lift-atan2.f64 |
| 2× | lower-atan2.f32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 3 | 3 |
| 0 | 4 | 3 |
| 0 | 4 | 3 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
(atan2.f64 im re) |
| Outputs |
|---|
(atan2.f64 im re) |
| 1× | egg-herbie |
| 2× | lower-atan2.f64 |
| 2× | lower-atan2.f32 |
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...