
Time bar (total: 693.0ms)
| 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 9 to 7 computations (22.2% saved)
| 347.0ms | 8 256× | 0 | valid |
ival-mult: 118.0ms (72.5% of total)ival-add: 36.0ms (22.1% of total)ival-true: 6.0ms (3.7% of total)ival-assert: 3.0ms (1.8% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | (+.f64 (*.f64 x x) (*.f64 y y)) |
| 0 | 0 | - | 0 | - | y |
| 0 | 0 | - | 0 | - | (*.f64 y y) |
| 0 | 0 | - | 0 | - | (*.f64 x x) |
| 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 |
| 22.0ms | 512× | 0 | valid |
Compiled 56 to 24 computations (57.1% saved)
ival-mult: 7.0ms (72.1% of total)ival-add: 2.0ms (20.6% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 1× | egg-herbie |
| Inputs |
|---|
(+.f64 (*.f64 x x) (*.f64 y y)) |
| Outputs |
|---|
(+.f64 (*.f64 x x) (*.f64 y y)) |
Compiled 7 to 5 computations (28.6% saved)
Compiled 0 to 2 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (+.f64 (*.f64 x x) (*.f64 y y)) |
Compiled 7 to 5 computations (28.6% saved)
| 1× | egg-herbie |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 y y) | |
| cost-diff | 0 | (*.f64 x x) | |
| cost-diff | 0 | (+.f64 (*.f64 x x) (*.f64 y y)) |
| Inputs |
|---|
(+.f64 (*.f64 x x) (*.f64 y y)) |
(*.f64 x x) |
x |
(*.f64 y y) |
y |
| Outputs |
|---|
(+.f64 (*.f64 x x) (*.f64 y y)) |
(*.f64 x x) |
x |
(*.f64 y y) |
y |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (*.f64 y y) | |
| accuracy | 0.0 | (*.f64 x x) | |
| accuracy | 0.00390625 | (+.f64 (*.f64 x x) (*.f64 y y)) |
| 14.0ms | 256× | 0 | valid |
Compiled 32 to 12 computations (62.5% saved)
ival-mult: 3.0ms (62.6% of total)ival-add: 1.0ms (20.9% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
(+.f64 (*.f64 x x) (*.f64 y y)) |
(*.f64 x x) |
(*.f64 y y) |
| Outputs |
|---|
(pow y 2) |
(+ (pow x 2) (pow y 2)) |
(pow x 2) |
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2)))) |
(* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2)))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | ((+ (* x x) (* y y)) (* x x) (* y y)) |
| 1.0ms | x | @ | 0 | ((+ (* x x) (* y y)) (* x x) (* y y)) |
| 0.0ms | y | @ | inf | ((+ (* x x) (* y y)) (* x x) (* y y)) |
| 0.0ms | y | @ | -inf | ((+ (* x x) (* y y)) (* x x) (* y y)) |
| 0.0ms | x | @ | -inf | ((+ (* x x) (* y y)) (* x x) (* y y)) |
| 1× | egg-herbie |
| Inputs |
|---|
(pow y 2) |
(+ (pow x 2) (pow y 2)) |
(pow x 2) |
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2)))) |
(* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2)))) |
| Outputs |
|---|
(pow y 2) |
(+.f64 (*.f64 x x) (*.f64 y y)) |
(+ (pow x 2) (pow y 2)) |
(*.f64 x x) |
(pow x 2) |
(*.f64 y y) |
| Inputs |
|---|
(+.f64 (*.f64 x x) (*.f64 y y)) |
(*.f64 x x) |
(*.f64 y y) |
| Outputs |
|---|
(+.f64 (*.f64 x x) (*.f64 y y)) |
(*.f64 x x) |
(*.f64 y y) |
Compiled 58 to 12 computations (79.3% saved)
2 alts after pruning (1 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 5 | 1 | 6 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 5 | 2 | 7 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (+.f64 (*.f64 x x) (*.f64 y y)) |
| ▶ | 55.5% | #s(approx (+ (* x x) (* y y)) (*.f64 x x)) |
Compiled 18 to 12 computations (33.3% saved)
| 1× | egg-herbie |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 x x) | |
| cost-diff | 0 | #s(approx (+ (* x x) (* y y)) (*.f64 x x)) |
| Inputs |
|---|
#s(approx (+ (* x x) (* y y)) (*.f64 x x)) |
(*.f64 x x) |
x |
| Outputs |
|---|
#s(approx (+ (* x x) (* y y)) (*.f64 x x)) |
(*.f64 x x) |
x |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (*.f64 x x) | |
| accuracy | 28.49942979244698 | #s(approx (+ (* x x) (* y y)) (*.f64 x x)) |
| 13.0ms | 256× | 0 | valid |
Compiled 28 to 14 computations (50% saved)
ival-mult: 6.0ms (76.9% of total)ival-add: 1.0ms (12.8% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(approx (+ (* x x) (* y y)) (*.f64 x x)) |
(*.f64 x x) |
| Outputs |
|---|
(pow y 2) |
(+ (pow x 2) (pow y 2)) |
(pow x 2) |
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2)))) |
(* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2)))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | inf | ((+ (* x x) (* y y)) (* x x)) |
| 0.0ms | x | @ | -inf | ((+ (* x x) (* y y)) (* x x)) |
| 0.0ms | x | @ | 0 | ((+ (* x x) (* y y)) (* x x)) |
| 0.0ms | y | @ | -inf | ((+ (* x x) (* y y)) (* x x)) |
| 0.0ms | y | @ | inf | ((+ (* x x) (* y y)) (* x x)) |
| 1× | egg-herbie |
| Inputs |
|---|
(pow y 2) |
(+ (pow x 2) (pow y 2)) |
(pow x 2) |
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2)))) |
(* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2)))) |
| Outputs |
|---|
(pow y 2) |
#s(approx (+ (* x x) (* y y)) (*.f64 x x)) |
(+ (pow x 2) (pow y 2)) |
(*.f64 x x) |
| Inputs |
|---|
#s(approx (+ (* x x) (* y y)) (*.f64 x x)) |
(*.f64 x x) |
| Outputs |
|---|
#s(approx (+ (* x x) (* y y)) (*.f64 x x)) |
(*.f64 x x) |
Compiled 41 to 8 computations (80.5% saved)
2 alts after pruning (0 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 3 | 0 | 3 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 3 | 2 | 5 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (+.f64 (*.f64 x x) (*.f64 y y)) |
| ✓ | 55.5% | #s(approx (+ (* x x) (* y y)) (*.f64 x x)) |
Compiled 36 to 21 computations (41.7% saved)
| Inputs |
|---|
#s(approx (+ (* x x) (* y y)) (*.f64 x x)) |
(+.f64 (*.f64 x x) (*.f64 y y)) |
| Outputs |
|---|
(+.f64 (*.f64 x x) (*.f64 y y)) |
5 calls:
| 5.0ms | y |
| 1.0ms | x |
| 1.0ms | (+.f64 (*.f64 x x) (*.f64 y y)) |
| 1.0ms | (*.f64 y y) |
| 1.0ms | (*.f64 x x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | x |
| 100.0% | 1 | y |
| 100.0% | 1 | (+.f64 (*.f64 x x) (*.f64 y y)) |
| 100.0% | 1 | (*.f64 x x) |
| 100.0% | 1 | (*.f64 y y) |
Compiled 15 to 15 computations (0% saved)
Total 0.0b remaining (0%)
Threshold costs 0b (0%)
| Inputs |
|---|
#s(approx (+ (* x x) (* y y)) (*.f64 x x)) |
| Outputs |
|---|
#s(approx (+ (* x x) (* y y)) (*.f64 x x)) |
5 calls:
| 1.0ms | x |
| 1.0ms | y |
| 1.0ms | (+.f64 (*.f64 x x) (*.f64 y y)) |
| 1.0ms | (*.f64 y y) |
| 1.0ms | (*.f64 x x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 55.5% | 1 | x |
| 55.5% | 1 | y |
| 55.5% | 1 | (+.f64 (*.f64 x x) (*.f64 y y)) |
| 55.5% | 1 | (*.f64 x x) |
| 55.5% | 1 | (*.f64 y y) |
Compiled 15 to 15 computations (0% saved)
| 1× | egg-herbie |
| Inputs |
|---|
(+.f64 (*.f64 x x) (*.f64 y y)) |
#s(approx (+ (* x x) (* y y)) (*.f64 x x)) |
| Outputs |
|---|
(+.f64 (*.f64 x x) (*.f64 y y)) |
#s(approx (+ (* x x) (* y y)) (*.f64 x x)) |
| 1× | done |
Compiled 18 to 9 computations (50% saved)
Compiled 50 to 28 computations (44% saved)
Loading profile data...