
Time bar (total: 985.0ms)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 50% | 50% | 0% | 0% | 0% | 0 |
| 0% | 0% | 50% | 50% | 0% | 0% | 0% | 1 |
| 50% | 25% | 25% | 50% | 0% | 0% | 0% | 2 |
| 50% | 25% | 25% | 50% | 0% | 0% | 0% | 3 |
| 75% | 37.5% | 12.5% | 50% | 0% | 0% | 0% | 4 |
| 75% | 37.5% | 12.5% | 50% | 0% | 0% | 0% | 5 |
| 87.5% | 43.7% | 6.2% | 50% | 0% | 0% | 0% | 6 |
| 87.5% | 43.7% | 6.2% | 50% | 0% | 0% | 0% | 7 |
| 93.8% | 46.8% | 3.1% | 50% | 0% | 0% | 0% | 8 |
| 93.8% | 46.8% | 3.1% | 50% | 0% | 0% | 0% | 9 |
| 96.9% | 48.4% | 1.6% | 50% | 0% | 0% | 0% | 10 |
| 96.9% | 48.4% | 1.6% | 50% | 0% | 0% | 0% | 11 |
| 98.4% | 49.2% | 0.8% | 50% | 0% | 0% | 0% | 12 |
Compiled 9 to 6 computations (33.3% saved)
ival-atan: 5.0ms (76.5% of total)ival-div: 1.0ms (15.3% of total)ival->=: 1.0ms (15.3% of total)const: 0.0ms (0% of total)backward-pass: 0.0ms (0% of total)| 504.0ms | 8256× | 0 | valid |
ival-div: 76.0ms (43.2% of total)ival-atan: 55.0ms (31.3% of total)ival->=: 33.0ms (18.8% of total)const: 8.0ms (4.5% of total)backward-pass: 3.0ms (1.7% of total)| 2× | egg-herbie |
| 60× | sum3-define |
| 36× | fma-define |
| 30× | sub-neg |
| 20× | fmsub-define |
| 20× | +-commutative |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 14 | 30 |
| 1 | 25 | 30 |
| 2 | 37 | 30 |
| 3 | 47 | 30 |
| 4 | 67 | 30 |
| 5 | 87 | 30 |
| 6 | 110 | 30 |
| 7 | 160 | 30 |
| 8 | 165 | 30 |
| 9 | 167 | 30 |
| 0 | 4 | 4 |
| 0 | 4 | 4 |
| 1× | iter limit |
| 1× | saturated |
| 1× | saturated |
| Inputs |
|---|
(atan (/ y x)) |
| Outputs |
|---|
(atan (/ y x)) |
(atan.f64 (/.f64 y x)) |
| Inputs |
|---|
(atan (/ y x)) |
(atan (/ y (neg x))) |
(atan (/ (neg y) x)) |
(neg (atan (/ y (neg x)))) |
(neg (atan (/ (neg y) x))) |
(atan (/ x y)) |
| Outputs |
|---|
(atan (/ y x)) |
(atan (/ y (neg x))) |
(atan (/ (neg y) x)) |
(atan (/ y (neg x))) |
(neg (atan (/ y (neg x)))) |
(neg (atan (/ (neg y) x))) |
(neg (atan (/ y (neg x)))) |
(atan (/ x y)) |
| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | x |
| 0 | 0 | - | 0 | - | (atan.f64 (/.f64 y x)) |
| 0 | 0 | - | 0 | - | y |
| 0 | 0 | - | 0 | - | (/.f64 y x) |
| 32.0ms | 512× | 0 | valid |
Compiled 30 to 14 computations (53.3% saved)
ival-div: 5.0ms (56.7% of total)ival-atan: 3.0ms (34% of total)const: 1.0ms (11.3% of total)backward-pass: 0.0ms (0% of total)Compiled 6 to 4 computations (33.3% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (atan.f64 (/.f64 y x)) |
Compiled 6 to 4 computations (33.3% saved)
| 1× | egg-herbie |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| ✓ | cost-diff | 0 | (/.f64 y x) |
| ✓ | cost-diff | 0 | (atan.f64 (/.f64 y x)) |
| 2× | atan-lowering-atan.f32 |
| 2× | atan-lowering-atan.f64 |
| 2× | /-lowering-/.f32 |
| 2× | /-lowering-/.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 4 | 9 |
| 0 | 4 | 9 |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(atan (/ y x)) |
(/ y x) |
y |
x |
| Outputs |
|---|
(atan (/ y x)) |
(atan.f64 (/.f64 y x)) |
(/ y x) |
(/.f64 y x) |
y |
x |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| ✓ | accuracy | 100.0% | (/.f64 y x) |
| ✓ | accuracy | 100.0% | (atan.f64 (/.f64 y x)) |
| 22.0ms | 256× | 0 | valid |
Compiled 12 to 5 computations (58.3% saved)
ival-atan: 6.0ms (66.5% of total)ival-div: 2.0ms (22.2% of total)const: 0.0ms (0% of total)backward-pass: 0.0ms (0% of total)| Inputs |
|---|
#<alt (atan (/ y x))> |
#<alt (/ y x)> |
| Outputs |
|---|
#<alt (atan (/ y x))> |
#<alt (atan (/ y x))> |
#<alt (atan (/ y x))> |
#<alt (atan (/ y x))> |
#<alt (atan (/ y x))> |
#<alt (atan (/ y x))> |
#<alt (atan (/ y x))> |
#<alt (atan (/ y x))> |
#<alt (atan (/ y x))> |
#<alt (atan (/ y x))> |
#<alt (atan (/ y x))> |
#<alt (atan (/ y x))> |
#<alt (atan (/ y x))> |
#<alt (atan (/ y x))> |
#<alt (atan (/ y x))> |
#<alt (atan (/ y x))> |
#<alt (atan (/ y x))> |
#<alt (atan (/ y x))> |
#<alt (atan (/ y x))> |
#<alt (atan (/ y x))> |
#<alt (atan (/ y x))> |
#<alt (atan (/ y x))> |
#<alt (atan (/ y x))> |
#<alt (atan (/ y x))> |
#<alt (/ y x)> |
#<alt (/ y x)> |
#<alt (/ y x)> |
#<alt (/ y x)> |
#<alt (/ y x)> |
#<alt (/ y x)> |
#<alt (/ y x)> |
#<alt (/ y x)> |
#<alt (/ y x)> |
#<alt (/ y x)> |
#<alt (/ y x)> |
#<alt (/ y x)> |
#<alt (/ y x)> |
#<alt (/ y x)> |
#<alt (/ y x)> |
#<alt (/ y x)> |
#<alt (/ y x)> |
#<alt (/ y x)> |
#<alt (/ y x)> |
#<alt (/ y x)> |
#<alt (/ y x)> |
#<alt (/ y x)> |
#<alt (/ y x)> |
#<alt (/ y x)> |
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | y | @ | inf | (/ y x) |
| 1.0ms | x | @ | inf | (/ y x) |
| 0.0ms | y | @ | -inf | (/ y x) |
| 0.0ms | y | @ | 0 | (/ y x) |
| 0.0ms | x | @ | 0 | (/ y x) |
| 1× | batch-egg-rewrite |
| 522× | *-lowering-*.f32 |
| 522× | *-lowering-*.f64 |
| 470× | /-lowering-/.f32 |
| 470× | /-lowering-/.f64 |
| 136× | --lowering--.f32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 4 | 7 |
| 1 | 12 | 7 |
| 2 | 49 | 7 |
| 3 | 227 | 7 |
| 0 | 1238 | 7 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(atan (/ y x)) |
(/ y x) |
| Outputs |
|---|
(-.f64 #s(literal 0 binary64) (atan.f64 (-.f64 #s(literal 0 binary64) (/.f64 y x)))) |
(atan.f64 (/.f64 y x)) |
(neg.f64 (atan.f64 (-.f64 #s(literal 0 binary64) (/.f64 y x)))) |
(*.f64 #s(literal -1 binary64) (atan.f64 (-.f64 #s(literal 0 binary64) (/.f64 y x)))) |
(+.f64 #s(literal 0 binary64) (/.f64 y x)) |
(+.f64 (*.f64 (/.f64 #s(literal -1 binary64) x) #s(literal 0 binary64)) (/.f64 y x)) |
(exp.f64 (*.f64 #s(literal -1 binary64) (log.f64 (/.f64 x y)))) |
(-.f64 #s(literal 0 binary64) (-.f64 #s(literal 0 binary64) (/.f64 y x))) |
(neg.f64 (-.f64 #s(literal 0 binary64) (/.f64 y x))) |
(/.f64 y x) |
(/.f64 (/.f64 y x) #s(literal 1 binary64)) |
(/.f64 (-.f64 #s(literal 0 binary64) y) (-.f64 #s(literal 0 binary64) x)) |
(/.f64 #s(literal 1 binary64) (/.f64 x y)) |
(/.f64 (/.f64 #s(literal 1 binary64) x) (/.f64 #s(literal 1 binary64) y)) |
(/.f64 #s(literal -1 binary64) (-.f64 #s(literal 0 binary64) (/.f64 x y))) |
(/.f64 (/.f64 #s(literal -1 binary64) x) (/.f64 #s(literal -1 binary64) y)) |
(/.f64 (-.f64 #s(literal 0 binary64) (/.f64 y x)) #s(literal -1 binary64)) |
(/.f64 (-.f64 #s(literal 0 binary64) (*.f64 y (*.f64 y y))) (*.f64 (-.f64 #s(literal 0 binary64) x) (*.f64 y y))) |
(/.f64 (-.f64 #s(literal 0 binary64) (*.f64 y y)) (*.f64 (-.f64 #s(literal 0 binary64) x) y)) |
(/.f64 (-.f64 (*.f64 #s(literal 0 binary64) (-.f64 #s(literal 0 binary64) (/.f64 x y))) (-.f64 #s(literal 0 binary64) x)) (*.f64 (-.f64 #s(literal 0 binary64) x) (-.f64 #s(literal 0 binary64) (/.f64 x y)))) |
(/.f64 (-.f64 #s(literal 0 binary64) (*.f64 (-.f64 #s(literal 0 binary64) x) y)) (*.f64 x x)) |
(/.f64 (-.f64 #s(literal 0 binary64) (*.f64 (-.f64 #s(literal 0 binary64) x) (-.f64 #s(literal 0 binary64) y))) (*.f64 (-.f64 #s(literal 0 binary64) x) x)) |
(/.f64 (*.f64 (-.f64 #s(literal 0 binary64) (*.f64 y (*.f64 y y))) #s(literal 1 binary64)) (*.f64 (*.f64 y y) (-.f64 #s(literal 0 binary64) x))) |
(/.f64 (*.f64 (-.f64 #s(literal 0 binary64) (*.f64 y (*.f64 y y))) #s(literal -1 binary64)) (*.f64 (*.f64 y y) x)) |
(/.f64 (*.f64 (-.f64 #s(literal 0 binary64) (*.f64 y y)) #s(literal 1 binary64)) (*.f64 y (-.f64 #s(literal 0 binary64) x))) |
(/.f64 (*.f64 (-.f64 #s(literal 0 binary64) (*.f64 y y)) #s(literal -1 binary64)) (*.f64 y x)) |
(/.f64 (*.f64 #s(literal 1 binary64) (-.f64 #s(literal 0 binary64) (*.f64 y (*.f64 y y)))) (*.f64 (-.f64 #s(literal 0 binary64) x) (*.f64 y y))) |
(/.f64 (*.f64 #s(literal 1 binary64) (-.f64 #s(literal 0 binary64) (*.f64 y y))) (*.f64 (-.f64 #s(literal 0 binary64) x) y)) |
(/.f64 (*.f64 #s(literal -1 binary64) (-.f64 #s(literal 0 binary64) (*.f64 y (*.f64 y y)))) (*.f64 x (*.f64 y y))) |
(/.f64 (*.f64 #s(literal -1 binary64) (-.f64 #s(literal 0 binary64) (*.f64 y y))) (*.f64 x y)) |
(/.f64 (-.f64 #s(literal 0 binary64) (pow.f64 (-.f64 #s(literal 0 binary64) (/.f64 y x)) #s(literal 3 binary64))) (+.f64 #s(literal 0 binary64) (+.f64 (*.f64 (-.f64 #s(literal 0 binary64) (/.f64 y x)) (-.f64 #s(literal 0 binary64) (/.f64 y x))) (*.f64 #s(literal 0 binary64) (-.f64 #s(literal 0 binary64) (/.f64 y x)))))) |
(/.f64 (-.f64 #s(literal 0 binary64) (*.f64 (-.f64 #s(literal 0 binary64) (/.f64 y x)) (-.f64 #s(literal 0 binary64) (/.f64 y x)))) (-.f64 #s(literal 0 binary64) (/.f64 y x))) |
(/.f64 (*.f64 (/.f64 #s(literal -1 binary64) x) (-.f64 #s(literal 0 binary64) (*.f64 y (*.f64 y y)))) (*.f64 y y)) |
(/.f64 (*.f64 (/.f64 #s(literal -1 binary64) x) (-.f64 #s(literal 0 binary64) (*.f64 y y))) y) |
(/.f64 (*.f64 (-.f64 #s(literal 0 binary64) (*.f64 y (*.f64 y y))) (/.f64 #s(literal -1 binary64) x)) (*.f64 y y)) |
(/.f64 (*.f64 (-.f64 #s(literal 0 binary64) (*.f64 y y)) (/.f64 #s(literal -1 binary64) x)) y) |
(pow.f64 (/.f64 y x) #s(literal 1 binary64)) |
(pow.f64 (/.f64 x y) #s(literal -1 binary64)) |
(pow.f64 (pow.f64 (/.f64 y x) #s(literal 1/2 binary64)) #s(literal 2 binary64)) |
(pow.f64 (*.f64 (/.f64 x y) (/.f64 x y)) #s(literal -1/2 binary64)) |
(pow.f64 (exp.f64 (log.f64 (/.f64 x y))) #s(literal -1 binary64)) |
(*.f64 y (/.f64 #s(literal 1 binary64) x)) |
(*.f64 (/.f64 y x) #s(literal 1 binary64)) |
(*.f64 (-.f64 #s(literal 0 binary64) y) (/.f64 #s(literal -1 binary64) x)) |
(*.f64 #s(literal 1 binary64) (/.f64 y x)) |
(*.f64 (/.f64 #s(literal 1 binary64) x) y) |
(*.f64 #s(literal -1 binary64) (-.f64 #s(literal 0 binary64) (/.f64 y x))) |
(*.f64 (/.f64 #s(literal -1 binary64) x) (-.f64 #s(literal 0 binary64) y)) |
(*.f64 (/.f64 #s(literal -1 binary64) x) (pow.f64 (/.f64 #s(literal -1 binary64) y) #s(literal -1 binary64))) |
(*.f64 (-.f64 #s(literal 0 binary64) (/.f64 y x)) #s(literal -1 binary64)) |
(*.f64 (pow.f64 (/.f64 y x) #s(literal 1/2 binary64)) (pow.f64 (/.f64 y x) #s(literal 1/2 binary64))) |
(*.f64 (pow.f64 (/.f64 y x) #s(literal 1/2 binary64)) (*.f64 (pow.f64 (/.f64 y x) #s(literal 1/2 binary64)) #s(literal 1 binary64))) |
(*.f64 (pow.f64 (/.f64 y x) #s(literal 1/2 binary64)) (/.f64 (pow.f64 (/.f64 y x) #s(literal 1/2 binary64)) #s(literal 1 binary64))) |
(*.f64 (pow.f64 x #s(literal -1/2 binary64)) (/.f64 (pow.f64 x #s(literal -1/2 binary64)) (/.f64 #s(literal 1 binary64) y))) |
(*.f64 (pow.f64 x #s(literal -1/2 binary64)) (*.f64 (pow.f64 x #s(literal -1/2 binary64)) y)) |
(*.f64 (pow.f64 (/.f64 #s(literal -1 binary64) y) #s(literal -1 binary64)) (/.f64 #s(literal -1 binary64) x)) |
(*.f64 (/.f64 (pow.f64 x #s(literal -1/2 binary64)) #s(literal 1 binary64)) (/.f64 (pow.f64 x #s(literal -1/2 binary64)) (/.f64 #s(literal 1 binary64) y))) |
(*.f64 (*.f64 y (pow.f64 x #s(literal -1/2 binary64))) (pow.f64 x #s(literal -1/2 binary64))) |
(*.f64 (*.f64 #s(literal 1 binary64) (pow.f64 (/.f64 y x) #s(literal 1/2 binary64))) (pow.f64 (/.f64 y x) #s(literal 1/2 binary64))) |
(*.f64 (/.f64 (-.f64 #s(literal 0 binary64) y) (-.f64 #s(literal 0 binary64) (*.f64 x (*.f64 x x)))) (*.f64 x x)) |
(*.f64 (/.f64 (-.f64 #s(literal 0 binary64) y) (-.f64 #s(literal 0 binary64) (*.f64 x x))) x) |
| 1× | egg-herbie |
| 2× | atan-lowering-atan.f32 |
| 2× | atan-lowering-atan.f64 |
| 2× | /-lowering-/.f32 |
| 2× | /-lowering-/.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 4 | 168 |
| 0 | 4 | 168 |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(atan (/ y x)) |
(atan (/ y x)) |
(atan (/ y x)) |
(atan (/ y x)) |
(atan (/ y x)) |
(atan (/ y x)) |
(atan (/ y x)) |
(atan (/ y x)) |
(atan (/ y x)) |
(atan (/ y x)) |
(atan (/ y x)) |
(atan (/ y x)) |
(atan (/ y x)) |
(atan (/ y x)) |
(atan (/ y x)) |
(atan (/ y x)) |
(atan (/ y x)) |
(atan (/ y x)) |
(atan (/ y x)) |
(atan (/ y x)) |
(atan (/ y x)) |
(atan (/ y x)) |
(atan (/ y x)) |
(atan (/ y x)) |
(/ y x) |
(/ y x) |
(/ y x) |
(/ y x) |
(/ y x) |
(/ y x) |
(/ y x) |
(/ y x) |
(/ y x) |
(/ y x) |
(/ y x) |
(/ y x) |
(/ y x) |
(/ y x) |
(/ y x) |
(/ y x) |
(/ y x) |
(/ y x) |
(/ y x) |
(/ y x) |
(/ y x) |
(/ y x) |
(/ y x) |
(/ y x) |
| Outputs |
|---|
(atan (/ y x)) |
(atan.f64 (/.f64 y x)) |
(atan (/ y x)) |
(atan.f64 (/.f64 y x)) |
(atan (/ y x)) |
(atan.f64 (/.f64 y x)) |
(atan (/ y x)) |
(atan.f64 (/.f64 y x)) |
(atan (/ y x)) |
(atan.f64 (/.f64 y x)) |
(atan (/ y x)) |
(atan.f64 (/.f64 y x)) |
(atan (/ y x)) |
(atan.f64 (/.f64 y x)) |
(atan (/ y x)) |
(atan.f64 (/.f64 y x)) |
(atan (/ y x)) |
(atan.f64 (/.f64 y x)) |
(atan (/ y x)) |
(atan.f64 (/.f64 y x)) |
(atan (/ y x)) |
(atan.f64 (/.f64 y x)) |
(atan (/ y x)) |
(atan.f64 (/.f64 y x)) |
(atan (/ y x)) |
(atan.f64 (/.f64 y x)) |
(atan (/ y x)) |
(atan.f64 (/.f64 y x)) |
(atan (/ y x)) |
(atan.f64 (/.f64 y x)) |
(atan (/ y x)) |
(atan.f64 (/.f64 y x)) |
(atan (/ y x)) |
(atan.f64 (/.f64 y x)) |
(atan (/ y x)) |
(atan.f64 (/.f64 y x)) |
(atan (/ y x)) |
(atan.f64 (/.f64 y x)) |
(atan (/ y x)) |
(atan.f64 (/.f64 y x)) |
(atan (/ y x)) |
(atan.f64 (/.f64 y x)) |
(atan (/ y x)) |
(atan.f64 (/.f64 y x)) |
(atan (/ y x)) |
(atan.f64 (/.f64 y x)) |
(atan (/ y x)) |
(atan.f64 (/.f64 y x)) |
(/ y x) |
(/.f64 y x) |
(/ y x) |
(/.f64 y x) |
(/ y x) |
(/.f64 y x) |
(/ y x) |
(/.f64 y x) |
(/ y x) |
(/.f64 y x) |
(/ y x) |
(/.f64 y x) |
(/ y x) |
(/.f64 y x) |
(/ y x) |
(/.f64 y x) |
(/ y x) |
(/.f64 y x) |
(/ y x) |
(/.f64 y x) |
(/ y x) |
(/.f64 y x) |
(/ y x) |
(/.f64 y x) |
(/ y x) |
(/.f64 y x) |
(/ y x) |
(/.f64 y x) |
(/ y x) |
(/.f64 y x) |
(/ y x) |
(/.f64 y x) |
(/ y x) |
(/.f64 y x) |
(/ y x) |
(/.f64 y x) |
(/ y x) |
(/.f64 y x) |
(/ y x) |
(/.f64 y x) |
(/ y x) |
(/.f64 y x) |
(/ y x) |
(/.f64 y x) |
(/ y x) |
(/.f64 y x) |
(/ y x) |
(/.f64 y x) |
Compiled 864 to 195 computations (77.4% saved)
1 alts after pruning (0 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 109 | 0 | 109 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 109 | 1 | 110 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (atan.f64 (/.f64 y x)) |
Compiled 12 to 8 computations (33.3% saved)
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 4 | 4 |
| 1× | saturated |
| Inputs |
|---|
(atan.f64 (/.f64 y x)) |
| Outputs |
|---|
(atan.f64 (/.f64 y x)) |
| 1× | done |
Compiled 6 to 4 computations (33.3% saved)
Compiled 34 to 22 computations (35.3% saved)
Loading profile data...