
Time bar (total: 842.0ms)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 0 |
| 100% | 100% | 0% | 0% | 0% | 0% | 0% | 1 |
Compiled 7 to 6 computations (14.3% saved)
| 365.0ms | 8 256× | 0 | valid |
ival-sub: 116.0ms (78.4% of total)ival-mult: 20.0ms (13.5% of total)ival-true: 5.0ms (3.4% of total)exact: 4.0ms (2.7% of total)ival-assert: 3.0ms (2% of total)| 2× | egg-herbie |
| 8× | +-lowering-+.f64 |
| 8× | +-lowering-+.f32 |
| 8× | sub-neg |
| 8× | distribute-lft-neg-in |
| 8× | sub-neg |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 3 |
| 1 | 25 | 3 |
| 2 | 33 | 3 |
| 3 | 48 | 3 |
| 4 | 55 | 3 |
| 5 | 57 | 3 |
| 0 | 4 | 1 |
| 1 | 8 | 1 |
| 2 | 11 | 1 |
| 3 | 13 | 1 |
| 4 | 15 | 1 |
| 5 | 17 | 1 |
| 6 | 21 | 1 |
| 7 | 26 | 1 |
| 0 | 26 | 1 |
| 1× | iter limit |
| 1× | saturated |
| 1× | saturated |
| Inputs |
|---|
(* 1000000 (- x x)) |
| Outputs |
|---|
(* 1000000 (- x x)) |
#s(literal 0 binary64) |
| Inputs |
|---|
(* 1000000 (- x x)) |
(* 1000000 (- (neg x) (neg x))) |
(neg (* 1000000 (- (neg x) (neg x)))) |
| Outputs |
|---|
(* 1000000 (- x x)) |
#s(literal 0 binary64) |
(* 1000000 (- (neg x) (neg x))) |
#s(literal 0 binary64) |
(neg (* 1000000 (- (neg x) (neg x)))) |
#s(literal 0 binary64) |
(abs x)
(negabs x)
| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | (-.f64 x x) |
| 0 | 0 | - | 0 | - | (*.f64 #s(literal 1000000 binary64) (-.f64 x x)) |
| 0 | 0 | - | 0 | - | #s(literal 1000000 binary64) |
| 0 | 0 | - | 0 | - | x |
| 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 |
| 15.0ms | 512× | 0 | valid |
Compiled 36 to 20 computations (44.4% saved)
ival-sub: 3.0ms (58.6% of total)ival-mult: 2.0ms (39.1% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)Compiled 1 to 1 computations (0% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (*.f64 #s(literal 1000000 binary64) (-.f64 x x)) |
Compiled 6 to 4 computations (33.3% saved)
| 1× | egg-herbie |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| ✓ | cost-diff | 192 | (-.f64 x x) |
| ✓ | cost-diff | 320 | (*.f64 #s(literal 1000000 binary64) (-.f64 x x)) |
| 8× | +-lowering-+.f64 |
| 8× | +-lowering-+.f32 |
| 8× | sub-neg |
| 6× | --lowering--.f32 |
| 6× | --lowering--.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 4 | 4 |
| 1 | 8 | 4 |
| 2 | 11 | 4 |
| 3 | 13 | 4 |
| 4 | 15 | 4 |
| 5 | 17 | 4 |
| 6 | 21 | 4 |
| 7 | 26 | 4 |
| 0 | 26 | 4 |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(* 1000000 (- x x)) |
1000000 |
(- x x) |
x |
| Outputs |
|---|
(* 1000000 (- x x)) |
#s(literal 0 binary64) |
1000000 |
#s(literal 1000000 binary64) |
(- x x) |
#s(literal 0 binary64) |
x |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| ✓ | accuracy | 100.0% | (-.f64 x x) |
| ✓ | accuracy | 100.0% | (*.f64 #s(literal 1000000 binary64) (-.f64 x x)) |
| 8.0ms | 256× | 0 | valid |
Compiled 12 to 6 computations (50% saved)
ival-sub: 1.0ms (45.8% of total)ival-mult: 1.0ms (45.8% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#<alt (* 1000000 (- x x))> |
#<alt (- x x)> |
| Outputs |
|---|
#<alt 0> |
#<alt 0> |
#<alt 0> |
#<alt 0> |
#<alt 0> |
#<alt 0> |
#<alt 0> |
#<alt 0> |
#<alt 0> |
#<alt 0> |
#<alt 0> |
#<alt 0> |
#<alt 0> |
#<alt 0> |
#<alt 0> |
#<alt 0> |
#<alt 0> |
#<alt 0> |
#<alt 0> |
#<alt 0> |
#<alt 0> |
#<alt 0> |
#<alt 0> |
#<alt 0> |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (* 1000000 (- x x)) |
| 0.0ms | x | @ | inf | (* 1000000 (- x x)) |
| 0.0ms | x | @ | -inf | (* 1000000 (- x x)) |
| 0.0ms | x | @ | inf | (- x x) |
| 0.0ms | x | @ | 0 | (- x x) |
| 1× | batch-egg-rewrite |
| 28× | +-lowering-+.f64 |
| 28× | *-lowering-*.f32 |
| 28× | *-lowering-*.f64 |
| 28× | +-lowering-+.f32 |
| 28× | accelerator-lowering-fma.f32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 4 | 2 |
| 1 | 18 | 2 |
| 0 | 82 | 2 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| Inputs |
|---|
(* 1000000 (- x x)) |
(- x x) |
| Outputs |
|---|
#s(literal 0 binary64) |
#s(literal 0 binary64) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 1 | 24 |
| 0 | 1 | 24 |
| 1× | saturated |
| 1× | saturated |
| Inputs |
|---|
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
| Outputs |
|---|
0 |
#s(literal 0 binary64) |
0 |
#s(literal 0 binary64) |
0 |
#s(literal 0 binary64) |
0 |
#s(literal 0 binary64) |
0 |
#s(literal 0 binary64) |
0 |
#s(literal 0 binary64) |
0 |
#s(literal 0 binary64) |
0 |
#s(literal 0 binary64) |
0 |
#s(literal 0 binary64) |
0 |
#s(literal 0 binary64) |
0 |
#s(literal 0 binary64) |
0 |
#s(literal 0 binary64) |
0 |
#s(literal 0 binary64) |
0 |
#s(literal 0 binary64) |
0 |
#s(literal 0 binary64) |
0 |
#s(literal 0 binary64) |
0 |
#s(literal 0 binary64) |
0 |
#s(literal 0 binary64) |
0 |
#s(literal 0 binary64) |
0 |
#s(literal 0 binary64) |
0 |
#s(literal 0 binary64) |
0 |
#s(literal 0 binary64) |
0 |
#s(literal 0 binary64) |
0 |
#s(literal 0 binary64) |
Compiled 53 to 4 computations (92.5% saved)
1 alts after pruning (1 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 25 | 1 | 26 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 26 | 1 | 27 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | #s(literal 0 binary64) |
Compiled 2 to 2 computations (0% saved)
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 1 | 1 |
| 0 | 1 | 1 |
| 1× | saturated |
| 1× | saturated |
| Inputs |
|---|
0 |
| Outputs |
|---|
0 |
#s(literal 0 binary64) |
| 3.0ms | 256× | 0 | valid |
Compiled 3 to 4 computations (-33.3% saved)
ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
| Outputs |
|---|
| 1× | batch-egg-rewrite |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 0 | 0 |
| 0 | 0 | 0 |
| 1× | saturated |
| 1× | saturated |
| Inputs |
|---|
| Outputs |
|---|
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 0 | 0 |
| 0 | 0 | 0 |
| 1× | saturated |
| 1× | saturated |
| Inputs |
|---|
| Outputs |
|---|
Compiled 1 to 1 computations (0% saved)
1 alts after pruning (0 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 0 | 0 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 0 | 1 | 1 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | #s(literal 0 binary64) |
Compiled 9 to 7 computations (22.2% saved)
Total 0b remaining (0%)
Threshold costs 0b (0%)
| Inputs |
|---|
#s(literal 0 binary64) |
(*.f64 #s(literal 1000000 binary64) (-.f64 x x)) |
| Outputs |
|---|
#s(literal 0 binary64) |
3 calls:
| 2.0ms | x |
| 1.0ms | (-.f64 x x) |
| 1.0ms | (*.f64 #s(literal 1000000 binary64) (-.f64 x x)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | x |
| 100.0% | 1 | (*.f64 #s(literal 1000000 binary64) (-.f64 x x)) |
| 100.0% | 1 | (-.f64 x x) |
Compiled 12 to 7 computations (41.7% saved)
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 1 | 1 |
| 1× | saturated |
| Inputs |
|---|
#s(literal 0 binary64) |
| Outputs |
|---|
#s(literal 0 binary64) |
| 28× | +-lowering-+.f64 |
| 28× | *-lowering-*.f32 |
| 28× | *-lowering-*.f64 |
| 28× | +-lowering-+.f32 |
| 28× | accelerator-lowering-fma.f32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 4 | 2 |
| 1 | 18 | 2 |
| 0 | 82 | 2 |
| 1× | done |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
Compiled 4 to 4 computations (0% saved)
(negabs x)
(abs x)
Compiled 28 to 24 computations (14.3% saved)
Loading profile data...