
Time bar (total: 11.2s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 0 |
| 100% | 99.9% | 0% | 0.1% | 0% | 0% | 0% | 1 |
Compiled 7 to 6 computations (14.3% saved)
| 295.0ms | 8 256× | 0 | valid |
ival-mult: 139.0ms (94.4% of total)ival-true: 5.0ms (3.4% of total)ival-assert: 3.0ms (2% of total)| 2× | egg-herbie |
| 86× | associate-*r* |
| 58× | unsub-neg |
| 54× | distribute-lft-in |
| 50× | distribute-lft-neg-in |
| 36× | associate-*l* |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 14 | 32 |
| 1 | 50 | 32 |
| 2 | 110 | 32 |
| 3 | 240 | 32 |
| 4 | 353 | 32 |
| 5 | 380 | 32 |
| 6 | 386 | 32 |
| 0 | 4 | 5 |
| 1 | 8 | 5 |
| 2 | 9 | 5 |
| 0 | 9 | 5 |
| 1× | iter limit |
| 1× | saturated |
| 1× | saturated |
| Inputs |
|---|
(* (* x y) y) |
| Outputs |
|---|
(* (* x y) y) |
(*.f64 x (*.f64 y y)) |
| Inputs |
|---|
(* (* x y) y) |
(* (* (neg x) y) y) |
(* (* x (neg y)) (neg y)) |
(neg (* (* (neg x) y) y)) |
(neg (* (* x (neg y)) (neg y))) |
(* (* y x) x) |
| Outputs |
|---|
(* (* x y) y) |
(* x (* y y)) |
(* (* (neg x) y) y) |
(* x (* y (neg y))) |
(* (* x (neg y)) (neg y)) |
(* x (* y y)) |
(neg (* (* (neg x) y) y)) |
(* x (* y y)) |
(neg (* (* x (neg y)) (neg y))) |
(* x (* y (neg y))) |
(* (* y x) x) |
(* x (* x y)) |
(abs y)
(negabs x)
| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | y |
| 0 | 0 | - | 0 | - | (*.f64 (*.f64 x y) y) |
| 0 | 0 | - | 0 | - | (*.f64 x y) |
| 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 |
| 18.0ms | 512× | 0 | valid |
Compiled 38 to 20 computations (47.4% saved)
ival-mult: 7.0ms (99.4% 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 |
|---|---|---|
| ▶ | 99.8% | (*.f64 (*.f64 x y) y) |
Compiled 7 to 4 computations (42.9% saved)
| 1× | egg-herbie |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| ✓ | cost-diff | 0 | (*.f64 x y) |
| ✓ | cost-diff | 0 | (*.f64 (*.f64 x y) y) |
| 14× | *-lowering-*.f32 |
| 14× | *-lowering-*.f64 |
| 4× | *-commutative |
| 2× | associate-*r* |
| 2× | associate-*l* |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 4 | 10 |
| 1 | 8 | 10 |
| 2 | 9 | 10 |
| 0 | 9 | 10 |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(* (* x y) y) |
(* x y) |
x |
y |
| Outputs |
|---|
(* (* x y) y) |
(*.f64 x (*.f64 y y)) |
(* x y) |
(*.f64 x y) |
x |
y |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| ✓ | accuracy | 100.0% | (*.f64 x y) |
| ✓ | accuracy | 99.8% | (*.f64 (*.f64 x y) y) |
| 9.0ms | 256× | 0 | valid |
Compiled 12 to 6 computations (50% saved)
ival-mult: 3.0ms (88.1% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#<alt (* (* x y) y)> |
#<alt (* x y)> |
| Outputs |
|---|
#<alt (* x (pow y 2))> |
#<alt (* x (pow y 2))> |
#<alt (* x (pow y 2))> |
#<alt (* x (pow y 2))> |
#<alt (* x (pow y 2))> |
#<alt (* x (pow y 2))> |
#<alt (* x (pow y 2))> |
#<alt (* x (pow y 2))> |
#<alt (* x (pow y 2))> |
#<alt (* x (pow y 2))> |
#<alt (* x (pow y 2))> |
#<alt (* x (pow y 2))> |
#<alt (* x (pow y 2))> |
#<alt (* x (pow y 2))> |
#<alt (* x (pow y 2))> |
#<alt (* x (pow y 2))> |
#<alt (* x (pow y 2))> |
#<alt (* x (pow y 2))> |
#<alt (* x (pow y 2))> |
#<alt (* x (pow y 2))> |
#<alt (* x (pow y 2))> |
#<alt (* x (pow y 2))> |
#<alt (* x (pow y 2))> |
#<alt (* x (pow y 2))> |
#<alt (* x y)> |
#<alt (* x y)> |
#<alt (* x y)> |
#<alt (* x y)> |
#<alt (* x y)> |
#<alt (* x y)> |
#<alt (* x y)> |
#<alt (* x y)> |
#<alt (* x y)> |
#<alt (* x y)> |
#<alt (* x y)> |
#<alt (* x y)> |
#<alt (* x y)> |
#<alt (* x y)> |
#<alt (* x y)> |
#<alt (* x y)> |
#<alt (* x y)> |
#<alt (* x y)> |
#<alt (* x y)> |
#<alt (* x y)> |
#<alt (* x y)> |
#<alt (* x y)> |
#<alt (* x y)> |
#<alt (* x y)> |
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (* (* x y) y) |
| 1.0ms | y | @ | inf | (* (* x y) y) |
| 0.0ms | x | @ | inf | (* (* x y) y) |
| 0.0ms | y | @ | 0 | (* (* x y) y) |
| 0.0ms | y | @ | -inf | (* x y) |
| 1× | batch-egg-rewrite |
| 2 136× | pow-lowering-pow.f64 |
| 2 136× | pow-lowering-pow.f32 |
| 1 592× | *-lowering-*.f32 |
| 1 592× | *-lowering-*.f64 |
| 1 412× | prod-exp |
Useful iterations: 7 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 4 | 10 |
| 1 | 8 | 10 |
| 2 | 11 | 10 |
| 3 | 18 | 10 |
| 4 | 34 | 10 |
| 5 | 90 | 10 |
| 6 | 277 | 6 |
| 7 | 1685 | 2 |
| 8 | 1710 | 2 |
| 9 | 1833 | 2 |
| 10 | 3047 | 2 |
| 0 | 8408 | 2 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(* (* x y) y) |
(* x y) |
| Outputs |
|---|
x |
(*.f64 #s(literal 1 binary64) x) |
(*.f64 x #s(literal 1 binary64)) |
x |
(*.f64 #s(literal 1 binary64) x) |
(*.f64 x #s(literal 1 binary64)) |
| 1× | egg-herbie |
| 14× | *-lowering-*.f32 |
| 14× | *-lowering-*.f64 |
| 4× | *-commutative |
| 2× | pow-lowering-pow.f64 |
| 2× | pow-lowering-pow.f32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 192 |
| 1 | 9 | 192 |
| 2 | 11 | 192 |
| 0 | 11 | 192 |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(* x (pow y 2)) |
(* x (pow y 2)) |
(* x (pow y 2)) |
(* x (pow y 2)) |
(* x (pow y 2)) |
(* x (pow y 2)) |
(* x (pow y 2)) |
(* x (pow y 2)) |
(* x (pow y 2)) |
(* x (pow y 2)) |
(* x (pow y 2)) |
(* x (pow y 2)) |
(* x (pow y 2)) |
(* x (pow y 2)) |
(* x (pow y 2)) |
(* x (pow y 2)) |
(* x (pow y 2)) |
(* x (pow y 2)) |
(* x (pow y 2)) |
(* x (pow y 2)) |
(* x (pow y 2)) |
(* x (pow y 2)) |
(* x (pow y 2)) |
(* x (pow y 2)) |
(* 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) |
| Outputs |
|---|
(* x (pow y 2)) |
(*.f64 y (*.f64 x y)) |
(* x (pow y 2)) |
(*.f64 y (*.f64 x y)) |
(* x (pow y 2)) |
(*.f64 y (*.f64 x y)) |
(* x (pow y 2)) |
(*.f64 y (*.f64 x y)) |
(* x (pow y 2)) |
(*.f64 y (*.f64 x y)) |
(* x (pow y 2)) |
(*.f64 y (*.f64 x y)) |
(* x (pow y 2)) |
(*.f64 y (*.f64 x y)) |
(* x (pow y 2)) |
(*.f64 y (*.f64 x y)) |
(* x (pow y 2)) |
(*.f64 y (*.f64 x y)) |
(* x (pow y 2)) |
(*.f64 y (*.f64 x y)) |
(* x (pow y 2)) |
(*.f64 y (*.f64 x y)) |
(* x (pow y 2)) |
(*.f64 y (*.f64 x y)) |
(* x (pow y 2)) |
(*.f64 y (*.f64 x y)) |
(* x (pow y 2)) |
(*.f64 y (*.f64 x y)) |
(* x (pow y 2)) |
(*.f64 y (*.f64 x y)) |
(* x (pow y 2)) |
(*.f64 y (*.f64 x y)) |
(* x (pow y 2)) |
(*.f64 y (*.f64 x y)) |
(* x (pow y 2)) |
(*.f64 y (*.f64 x y)) |
(* x (pow y 2)) |
(*.f64 y (*.f64 x y)) |
(* x (pow y 2)) |
(*.f64 y (*.f64 x y)) |
(* x (pow y 2)) |
(*.f64 y (*.f64 x y)) |
(* x (pow y 2)) |
(*.f64 y (*.f64 x y)) |
(* x (pow y 2)) |
(*.f64 y (*.f64 x y)) |
(* x (pow y 2)) |
(*.f64 y (*.f64 x y)) |
(* x y) |
(*.f64 x y) |
(* x y) |
(*.f64 x y) |
(* x y) |
(*.f64 x y) |
(* x y) |
(*.f64 x y) |
(* x y) |
(*.f64 x y) |
(* x y) |
(*.f64 x y) |
(* x y) |
(*.f64 x y) |
(* x y) |
(*.f64 x y) |
(* x y) |
(*.f64 x y) |
(* x y) |
(*.f64 x y) |
(* x y) |
(*.f64 x y) |
(* x y) |
(*.f64 x y) |
(* x y) |
(*.f64 x y) |
(* x y) |
(*.f64 x y) |
(* x y) |
(*.f64 x y) |
(* x y) |
(*.f64 x y) |
(* x y) |
(*.f64 x y) |
(* x y) |
(*.f64 x y) |
(* x y) |
(*.f64 x y) |
(* x y) |
(*.f64 x y) |
(* x y) |
(*.f64 x y) |
(* x y) |
(*.f64 x y) |
(* x y) |
(*.f64 x y) |
(* x y) |
(*.f64 x y) |
Compiled 262 to 10 computations (96.2% saved)
3 alts after pruning (2 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 52 | 2 | 54 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 52 | 3 | 55 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 99.8% | (*.f64 (*.f64 x y) y) |
| ▶ | 35.3% | (*.f64 x y) |
| ▶ | 5.2% | x |
Compiled 15 to 9 computations (40% saved)
| 1× | egg-herbie |
Found 1 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| ✓ | cost-diff | 0 | (*.f64 x y) |
| 4× | *-lowering-*.f32 |
| 4× | *-lowering-*.f64 |
| 2× | *-commutative |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 3 | 6 |
| 1 | 4 | 6 |
| 0 | 4 | 6 |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
x |
(* x y) |
x |
y |
| Outputs |
|---|
x |
(* x y) |
(*.f64 x y) |
x |
y |
Found 1 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| ✓ | accuracy | 100.0% | (*.f64 x y) |
| 7.0ms | 256× | 0 | valid |
Compiled 8 to 5 computations (37.5% saved)
ival-mult: 2.0ms (98.1% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#<alt (* x y)> |
| Outputs |
|---|
#<alt (* x y)> |
#<alt (* x y)> |
#<alt (* x y)> |
#<alt (* x y)> |
#<alt (* x y)> |
#<alt (* x y)> |
#<alt (* x y)> |
#<alt (* x y)> |
#<alt (* x y)> |
#<alt (* x y)> |
#<alt (* x y)> |
#<alt (* x y)> |
#<alt (* x y)> |
#<alt (* x y)> |
#<alt (* x y)> |
#<alt (* x y)> |
#<alt (* x y)> |
#<alt (* x y)> |
#<alt (* x y)> |
#<alt (* x y)> |
#<alt (* x y)> |
#<alt (* x y)> |
#<alt (* x y)> |
#<alt (* x y)> |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | y | @ | inf | (* x y) |
| 0.0ms | x | @ | 0 | (* x y) |
| 0.0ms | x | @ | -inf | (* x y) |
| 0.0ms | y | @ | -inf | (* x y) |
| 0.0ms | x | @ | inf | (* x y) |
| 1× | batch-egg-rewrite |
| 4× | *-lowering-*.f32 |
| 4× | *-lowering-*.f64 |
| 2× | *-commutative |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 3 | 3 |
| 1 | 4 | 3 |
| 0 | 4 | 3 |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(* x y) |
| Outputs |
|---|
(*.f64 x y) |
(*.f64 y x) |
| 1× | egg-herbie |
| 4× | *-lowering-*.f32 |
| 4× | *-lowering-*.f64 |
| 2× | *-commutative |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 3 | 72 |
| 1 | 4 | 72 |
| 0 | 4 | 72 |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(* 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) |
| Outputs |
|---|
(* x y) |
(*.f64 x y) |
(* x y) |
(*.f64 x y) |
(* x y) |
(*.f64 x y) |
(* x y) |
(*.f64 x y) |
(* x y) |
(*.f64 x y) |
(* x y) |
(*.f64 x y) |
(* x y) |
(*.f64 x y) |
(* x y) |
(*.f64 x y) |
(* x y) |
(*.f64 x y) |
(* x y) |
(*.f64 x y) |
(* x y) |
(*.f64 x y) |
(* x y) |
(*.f64 x y) |
(* x y) |
(*.f64 x y) |
(* x y) |
(*.f64 x y) |
(* x y) |
(*.f64 x y) |
(* x y) |
(*.f64 x y) |
(* x y) |
(*.f64 x y) |
(* x y) |
(*.f64 x y) |
(* x y) |
(*.f64 x y) |
(* x y) |
(*.f64 x y) |
(* x y) |
(*.f64 x y) |
(* x y) |
(*.f64 x y) |
(* x y) |
(*.f64 x y) |
(* x y) |
(*.f64 x y) |
Compiled 80 to 4 computations (95% saved)
3 alts after pruning (0 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 26 | 0 | 26 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 2 | 2 |
| Done | 0 | 1 | 1 |
| Total | 26 | 3 | 29 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 99.8% | (*.f64 (*.f64 x y) y) |
| ✓ | 35.3% | (*.f64 x y) |
| ✓ | 5.2% | x |
Compiled 26 to 13 computations (50% saved)
| Inputs |
|---|
x |
(*.f64 x y) |
(*.f64 (*.f64 x y) y) |
| Outputs |
|---|
(*.f64 (*.f64 x y) y) |
3 calls:
| 2.0ms | y |
| 2.0ms | x |
| 2.0ms | (*.f64 (*.f64 x y) y) |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.8% | 1 | x |
| 99.8% | 1 | y |
| 99.8% | 1 | (*.f64 (*.f64 x y) y) |
Compiled 13 to 8 computations (38.5% saved)
| Inputs |
|---|
x |
(*.f64 x y) |
| Outputs |
|---|
(*.f64 x y) |
3 calls:
| 2.0ms | y |
| 2.0ms | x |
| 1.0ms | (*.f64 (*.f64 x y) y) |
| Accuracy | Segments | Branch |
|---|---|---|
| 35.3% | 1 | x |
| 35.3% | 1 | y |
| 35.3% | 1 | (*.f64 (*.f64 x y) y) |
Compiled 13 to 8 computations (38.5% saved)
Total -0.0b remaining (-0%)
Threshold costs -0b (-0%)
| Inputs |
|---|
x |
| Outputs |
|---|
x |
3 calls:
| 2.0ms | x |
| 1.0ms | y |
| 1.0ms | (*.f64 (*.f64 x y) y) |
| Accuracy | Segments | Branch |
|---|---|---|
| 5.2% | 1 | y |
| 5.2% | 1 | x |
| 5.2% | 1 | (*.f64 (*.f64 x y) y) |
Compiled 13 to 8 computations (38.5% saved)
| 1× | egg-herbie |
| 4× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 4 | 9 |
| 1 | 6 | 9 |
| 1× | saturated |
| Inputs |
|---|
(*.f64 (*.f64 x y) y) |
(*.f64 x y) |
x |
| Outputs |
|---|
(*.f64 (*.f64 x y) y) |
(*.f64 y (*.f64 x y)) |
(*.f64 x y) |
x |
| 2 136× | pow-lowering-pow.f64 |
| 2 136× | pow-lowering-pow.f32 |
| 1 592× | *-lowering-*.f32 |
| 1 592× | *-lowering-*.f64 |
| 1 412× | prod-exp |
Useful iterations: 7 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 4 | 10 |
| 1 | 8 | 10 |
| 2 | 11 | 10 |
| 3 | 18 | 10 |
| 4 | 34 | 10 |
| 5 | 90 | 10 |
| 6 | 277 | 6 |
| 7 | 1685 | 2 |
| 8 | 1710 | 2 |
| 9 | 1833 | 2 |
| 10 | 3047 | 2 |
| 0 | 8408 | 2 |
| 1× | done |
| 1× | iter limit |
| 1× | node limit |
Compiled 11 to 4 computations (63.6% saved)
(negabs x)
(abs y)
Compiled 92 to 48 computations (47.8% saved)
Loading profile data...