
Time bar (total: 1.1s)
| 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 5 computations (28.6% saved)
ival-mult: 0.0ms (0% of total)const: 0.0ms (0% of total)backward-pass: 0.0ms (0% of total)| 336.0ms | 8256× | 0 | valid |
ival-mult: 161.0ms (92.5% of total)const: 11.0ms (6.3% of total)backward-pass: 2.0ms (1.1% of total)| 2× | egg-herbie |
| 44× | distribute-lft-neg-in |
| 40× | associate-*r* |
| 32× | distribute-lft-in |
| 24× | cancel-sign-sub-inv |
| 22× | distribute-rgt-neg-in |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 18 |
| 1 | 27 | 15 |
| 2 | 68 | 15 |
| 3 | 167 | 15 |
| 4 | 219 | 15 |
| 5 | 231 | 15 |
| 0 | 4 | 5 |
| 1 | 7 | 5 |
| 2 | 10 | 5 |
| 0 | 10 | 5 |
| 1× | iter limit |
| 1× | saturated |
| 1× | saturated |
| Inputs |
|---|
(* (* x 1/2) x) |
| Outputs |
|---|
(* (* x 1/2) x) |
(*.f64 #s(literal 1/2 binary64) (*.f64 x x)) |
| Inputs |
|---|
(* (* x 1/2) x) |
(* (* (neg x) 1/2) (neg x)) |
(neg (* (* (neg x) 1/2) (neg x))) |
| Outputs |
|---|
(* (* x 1/2) x) |
(* x (* x 1/2)) |
(* (* (neg x) 1/2) (neg x)) |
(* x (* x 1/2)) |
(neg (* (* (neg x) 1/2) (neg x))) |
(* -1/2 (* x x)) |
(abs x)
| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | x |
| 0 | 0 | - | 0 | - | #s(literal 1/2 binary64) |
| 0 | 0 | - | 0 | - | (*.f64 (*.f64 x #s(literal 1/2 binary64)) x) |
| 0 | 0 | - | 0 | - | (*.f64 x #s(literal 1/2 binary64)) |
| 34.0ms | 512× | 0 | valid |
Compiled 30 to 20 computations (33.3% saved)
ival-mult: 19.0ms (94.6% of total)const: 1.0ms (5% of total)backward-pass: 0.0ms (0% of total)Compiled 6 to 4 computations (33.3% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (*.f64 (*.f64 x #s(literal 1/2 binary64)) x) |
Compiled 6 to 4 computations (33.3% saved)
| 1× | egg-herbie |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| ✓ | cost-diff | 0 | (*.f64 x #s(literal 1/2 binary64)) |
| ✓ | cost-diff | 0 | (*.f64 (*.f64 x #s(literal 1/2 binary64)) x) |
| ✓ | accuracy | 100.0% | (*.f64 (*.f64 x #s(literal 1/2 binary64)) x) |
| ✓ | accuracy | 100.0% | (*.f64 x #s(literal 1/2 binary64)) |
| 14× | *-lowering-*.f32 |
| 14× | *-lowering-*.f64 |
| 4× | *-commutative |
| 4× | associate-*l* |
| 2× | associate-*r* |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 4 | 10 |
| 1 | 7 | 10 |
| 2 | 10 | 10 |
| 0 | 10 | 10 |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(* (* x 1/2) x) |
(* x 1/2) |
x |
1/2 |
| Outputs |
|---|
(* (* x 1/2) x) |
(*.f64 #s(literal 1/2 binary64) (*.f64 x x)) |
(* x 1/2) |
(*.f64 x #s(literal 1/2 binary64)) |
x |
1/2 |
#s(literal 1/2 binary64) |
| 24.0ms | 256× | 0 | valid |
Compiled 12 to 8 computations (33.3% saved)
ival-mult: 5.0ms (83.3% of total)const: 1.0ms (16.7% of total)backward-pass: 0.0ms (0% of total)| Inputs |
|---|
#<alt (* x 1/2)> |
#<alt (* (* x 1/2) x)> |
| Outputs |
|---|
#<alt (* 1/2 x)> |
#<alt (* 1/2 x)> |
#<alt (* 1/2 x)> |
#<alt (* 1/2 x)> |
#<alt (* 1/2 x)> |
#<alt (* 1/2 x)> |
#<alt (* 1/2 x)> |
#<alt (* 1/2 x)> |
#<alt (* 1/2 x)> |
#<alt (* 1/2 x)> |
#<alt (* 1/2 x)> |
#<alt (* 1/2 x)> |
#<alt (* 1/2 (pow x 2))> |
#<alt (* 1/2 (pow x 2))> |
#<alt (* 1/2 (pow x 2))> |
#<alt (* 1/2 (pow x 2))> |
#<alt (* 1/2 (pow x 2))> |
#<alt (* 1/2 (pow x 2))> |
#<alt (* 1/2 (pow x 2))> |
#<alt (* 1/2 (pow x 2))> |
#<alt (* 1/2 (pow x 2))> |
#<alt (* 1/2 (pow x 2))> |
#<alt (* 1/2 (pow x 2))> |
#<alt (* 1/2 (pow x 2))> |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 4.0ms | x | @ | inf | (* (* x 1/2) x) |
| 0.0ms | x | @ | -inf | (* x 1/2) |
| 0.0ms | x | @ | 0 | (* (* x 1/2) x) |
| 0.0ms | x | @ | inf | (* x 1/2) |
| 0.0ms | x | @ | 0 | (* x 1/2) |
| 1× | batch-egg-rewrite |
| 2136× | pow-lowering-pow.f64 |
| 2136× | pow-lowering-pow.f32 |
| 1588× | *-lowering-*.f32 |
| 1588× | *-lowering-*.f64 |
| 1412× | prod-exp |
Useful iterations: 7 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 4 | 6 |
| 1 | 7 | 6 |
| 2 | 10 | 6 |
| 3 | 12 | 6 |
| 4 | 19 | 6 |
| 5 | 34 | 6 |
| 6 | 90 | 6 |
| 7 | 280 | 2 |
| 8 | 1670 | 2 |
| 9 | 1695 | 2 |
| 10 | 1818 | 2 |
| 11 | 3031 | 2 |
| 0 | 8445 | 2 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(* x 1/2) |
(* (* x 1/2) x) |
| Outputs |
|---|
#s(literal 1/2 binary64) |
#s(literal 1/2 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 | 96 |
| 1 | 9 | 96 |
| 2 | 11 | 96 |
| 0 | 11 | 96 |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 (pow x 2)) |
(* 1/2 (pow x 2)) |
(* 1/2 (pow x 2)) |
(* 1/2 (pow x 2)) |
(* 1/2 (pow x 2)) |
(* 1/2 (pow x 2)) |
(* 1/2 (pow x 2)) |
(* 1/2 (pow x 2)) |
(* 1/2 (pow x 2)) |
(* 1/2 (pow x 2)) |
(* 1/2 (pow x 2)) |
(* 1/2 (pow x 2)) |
| Outputs |
|---|
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
(* 1/2 (pow x 2)) |
(*.f64 x (*.f64 #s(literal 1/2 binary64) x)) |
(* 1/2 (pow x 2)) |
(*.f64 x (*.f64 #s(literal 1/2 binary64) x)) |
(* 1/2 (pow x 2)) |
(*.f64 x (*.f64 #s(literal 1/2 binary64) x)) |
(* 1/2 (pow x 2)) |
(*.f64 x (*.f64 #s(literal 1/2 binary64) x)) |
(* 1/2 (pow x 2)) |
(*.f64 x (*.f64 #s(literal 1/2 binary64) x)) |
(* 1/2 (pow x 2)) |
(*.f64 x (*.f64 #s(literal 1/2 binary64) x)) |
(* 1/2 (pow x 2)) |
(*.f64 x (*.f64 #s(literal 1/2 binary64) x)) |
(* 1/2 (pow x 2)) |
(*.f64 x (*.f64 #s(literal 1/2 binary64) x)) |
(* 1/2 (pow x 2)) |
(*.f64 x (*.f64 #s(literal 1/2 binary64) x)) |
(* 1/2 (pow x 2)) |
(*.f64 x (*.f64 #s(literal 1/2 binary64) x)) |
(* 1/2 (pow x 2)) |
(*.f64 x (*.f64 #s(literal 1/2 binary64) x)) |
(* 1/2 (pow x 2)) |
(*.f64 x (*.f64 #s(literal 1/2 binary64) x)) |
Compiled 125 to 76 computations (39.2% saved)
3 alts after pruning (2 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 24 | 2 | 26 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 24 | 3 | 27 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (*.f64 (*.f64 x #s(literal 1/2 binary64)) x) |
| ▶ | 6.7% | (*.f64 #s(literal 1/2 binary64) x) |
| ▶ | 4.2% | #s(literal 1/2 binary64) |
Compiled 12 to 9 computations (25% saved)
| 1× | egg-herbie |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| ✓ | cost-diff | 0 | (*.f64 #s(literal 1/2 binary64) x) |
| ✓ | accuracy | 100.0% | (*.f64 #s(literal 1/2 binary64) x) |
| 4× | *-lowering-*.f32 |
| 4× | *-lowering-*.f64 |
| 2× | *-commutative |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 3 | 5 |
| 1 | 4 | 5 |
| 0 | 4 | 5 |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
1/2 |
(* 1/2 x) |
x |
| Outputs |
|---|
1/2 |
#s(literal 1/2 binary64) |
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
x |
| 9.0ms | 256× | 0 | valid |
Compiled 8 to 6 computations (25% saved)
ival-mult: 2.0ms (74.5% of total)const: 1.0ms (37.3% of total)backward-pass: 0.0ms (0% of total)| Inputs |
|---|
#<alt (* 1/2 x)> |
| Outputs |
|---|
#<alt (* 1/2 x)> |
#<alt (* 1/2 x)> |
#<alt (* 1/2 x)> |
#<alt (* 1/2 x)> |
#<alt (* 1/2 x)> |
#<alt (* 1/2 x)> |
#<alt (* 1/2 x)> |
#<alt (* 1/2 x)> |
#<alt (* 1/2 x)> |
#<alt (* 1/2 x)> |
#<alt (* 1/2 x)> |
#<alt (* 1/2 x)> |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | inf | (* 1/2 x) |
| 0.0ms | x | @ | 0 | (* 1/2 x) |
| 0.0ms | x | @ | -inf | (* 1/2 x) |
| 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 |
|---|
(* 1/2 x) |
| Outputs |
|---|
(*.f64 #s(literal 1/2 binary64) x) |
(*.f64 x #s(literal 1/2 binary64)) |
| 1× | egg-herbie |
| 4× | *-lowering-*.f32 |
| 4× | *-lowering-*.f64 |
| 2× | *-commutative |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 3 | 36 |
| 1 | 4 | 36 |
| 0 | 4 | 36 |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 x) |
| Outputs |
|---|
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
Compiled 43 to 29 computations (32.6% saved)
3 alts after pruning (0 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 14 | 0 | 14 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 2 | 2 |
| Done | 0 | 1 | 1 |
| Total | 14 | 3 | 17 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (*.f64 (*.f64 x #s(literal 1/2 binary64)) x) |
| ✓ | 6.7% | (*.f64 #s(literal 1/2 binary64) x) |
| ✓ | 4.2% | #s(literal 1/2 binary64) |
Compiled 22 to 16 computations (27.3% saved)
| Inputs |
|---|
#s(literal 1/2 binary64) |
(*.f64 #s(literal 1/2 binary64) x) |
(*.f64 (*.f64 x #s(literal 1/2 binary64)) x) |
| Outputs |
|---|
(*.f64 (*.f64 x #s(literal 1/2 binary64)) x) |
2 calls:
| 44.0ms | (*.f64 (*.f64 x #s(literal 1/2 binary64)) x) |
| 2.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | x |
| 100.0% | 1 | (*.f64 (*.f64 x #s(literal 1/2 binary64)) x) |
Compiled 8 to 5 computations (37.5% saved)
| Inputs |
|---|
#s(literal 1/2 binary64) |
(*.f64 #s(literal 1/2 binary64) x) |
| Outputs |
|---|
(*.f64 #s(literal 1/2 binary64) x) |
1 calls:
| 1.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 6.7% | 1 | x |
Compiled 2 to 1 computations (50% saved)
Total 0.0b remaining (0%)
Threshold costs 0b (0%)
| Inputs |
|---|
#s(literal 1/2 binary64) |
| Outputs |
|---|
#s(literal 1/2 binary64) |
1 calls:
| 0.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 4.2% | 1 | x |
Compiled 2 to 1 computations (50% saved)
| 1× | done |
Compiled 10 to 7 computations (30% saved)
(abs x)
Compiled 80 to 54 computations (32.5% saved)
Loading profile data...