
Time bar (total: 970.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 11 to 10 computations (9.1% saved)
| 374.0ms | 7 989× | 0 | valid |
| 15.0ms | 163× | 1 | valid |
| 11.0ms | 104× | 2 | valid |
ival-mult: 108.0ms (49.7% of total)ival-add: 91.0ms (41.8% of total)adjust: 6.0ms (2.8% of total)ival-true: 5.0ms (2.3% of total)exact: 4.0ms (1.8% of total)ival-assert: 3.0ms (1.4% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | (+.f64 (*.f64 x (+.f64 y z)) (*.f64 z #s(literal 5 binary64))) |
| 0 | 0 | - | 0 | - | (+.f64 y z) |
| 0 | 0 | - | 0 | - | y |
| 0 | 0 | - | 0 | - | #s(literal 5 binary64) |
| 0 | 0 | - | 0 | - | (*.f64 z #s(literal 5 binary64)) |
| 0 | 0 | - | 0 | - | z |
| 0 | 0 | - | 0 | - | (*.f64 x (+.f64 y z)) |
| 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 |
| 26.0ms | 492× | 0 | valid |
| 2.0ms | 12× | 2 | valid |
| 1.0ms | 8× | 1 | valid |
Compiled 85 to 36 computations (57.6% saved)
ival-mult: 6.0ms (46.8% of total)ival-add: 5.0ms (39% of total)adjust: 1.0ms (7.8% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)| 1× | egg-herbie |
| Inputs |
|---|
(+.f64 (*.f64 x (+.f64 y z)) (*.f64 z #s(literal 5 binary64))) |
| Outputs |
|---|
(+.f64 (*.f64 x (+.f64 y z)) (*.f64 z #s(literal 5 binary64))) |
Compiled 9 to 8 computations (11.1% saved)
Compiled 0 to 3 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 99.9% | (+.f64 (*.f64 x (+.f64 y z)) (*.f64 z #s(literal 5 binary64))) |
Compiled 9 to 8 computations (11.1% saved)
| 1× | egg-herbie |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 z #s(literal 5 binary64)) | |
| cost-diff | 0 | (+.f64 y z) | |
| cost-diff | 0 | (*.f64 x (+.f64 y z)) | |
| cost-diff | 0 | (+.f64 (*.f64 x (+.f64 y z)) (*.f64 z #s(literal 5 binary64))) |
| Inputs |
|---|
(+.f64 (*.f64 x (+.f64 y z)) (*.f64 z #s(literal 5 binary64))) |
(*.f64 x (+.f64 y z)) |
x |
(+.f64 y z) |
y |
z |
(*.f64 z #s(literal 5 binary64)) |
#s(literal 5 binary64) |
| Outputs |
|---|
(+.f64 (*.f64 x (+.f64 y z)) (*.f64 z #s(literal 5 binary64))) |
(*.f64 x (+.f64 y z)) |
x |
(+.f64 y z) |
y |
z |
(*.f64 z #s(literal 5 binary64)) |
#s(literal 5 binary64) |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (+.f64 y z) | |
| accuracy | 0.0 | (*.f64 z #s(literal 5 binary64)) | |
| accuracy | 0.01171875 | (*.f64 x (+.f64 y z)) | |
| accuracy | 0.05859375 | (+.f64 (*.f64 x (+.f64 y z)) (*.f64 z #s(literal 5 binary64))) |
| 19.0ms | 246× | 0 | valid |
| 1.0ms | 6× | 2 | valid |
| 0.0ms | 4× | 1 | valid |
Compiled 50 to 18 computations (64% saved)
ival-add: 10.0ms (74.9% of total)ival-mult: 3.0ms (22.5% of total)adjust: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)| Inputs |
|---|
(+.f64 (*.f64 x (+.f64 y z)) (*.f64 z #s(literal 5 binary64))) |
(*.f64 x (+.f64 y z)) |
(+.f64 y z) |
(*.f64 z #s(literal 5 binary64)) |
| Outputs |
|---|
(* 5 z) |
(+ (* 5 z) (* x (+ y z))) |
(* x (+ y z)) |
(* x (+ y (+ z (* 5 (/ z x))))) |
(* -1 (* x (+ (* -5 (/ z x)) (* -1 (+ y z))))) |
(+ (* 5 z) (* x z)) |
(+ (* 5 z) (+ (* x y) (* x z))) |
(* x z) |
(+ (* x y) (* x z)) |
z |
(+ y z) |
(* x y) |
(* y (+ x (+ (* 5 (/ z y)) (/ (* x z) y)))) |
(* y (+ x (/ (* x z) y))) |
y |
(* y (+ 1 (/ z y))) |
(* -1 (* y (+ (* -1 x) (* -1 (/ (+ (* 5 z) (* x z)) y))))) |
(* -1 (* y (+ (* -1 x) (* -1 (/ (* x z) y))))) |
(* -1 (* y (- (* -1 (/ z y)) 1))) |
(+ (* x y) (* z (+ 5 x))) |
(* z (+ 5 x)) |
(* z (+ 5 (+ x (/ (* x y) z)))) |
(* z (+ x (/ (* x y) z))) |
(* z (+ 1 (/ y z))) |
(* -1 (* z (- (* -1 x) 5))) |
(* -1 (* z (- (+ (* -1 x) (* -1 (/ (* x y) z))) 5))) |
(* -1 (* z (+ (* -1 x) (* -1 (/ (* x y) z))))) |
(* -1 (* z (- (* -1 (/ y z)) 1))) |
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 5.0ms | y | @ | 0 | ((+ (* x (+ y z)) (* z 5)) (* x (+ y z)) (+ y z) (* z 5)) |
| 1.0ms | z | @ | inf | ((+ (* x (+ y z)) (* z 5)) (* x (+ y z)) (+ y z) (* z 5)) |
| 1.0ms | x | @ | inf | ((+ (* x (+ y z)) (* z 5)) (* x (+ y z)) (+ y z) (* z 5)) |
| 1.0ms | z | @ | -inf | ((+ (* x (+ y z)) (* z 5)) (* x (+ y z)) (+ y z) (* z 5)) |
| 1.0ms | y | @ | inf | ((+ (* x (+ y z)) (* z 5)) (* x (+ y z)) (+ y z) (* z 5)) |
| 1× | egg-herbie |
| Inputs |
|---|
(* 5 z) |
(+ (* 5 z) (* x (+ y z))) |
(* x (+ y z)) |
(* x (+ y (+ z (* 5 (/ z x))))) |
(* -1 (* x (+ (* -5 (/ z x)) (* -1 (+ y z))))) |
(+ (* 5 z) (* x z)) |
(+ (* 5 z) (+ (* x y) (* x z))) |
(* x z) |
(+ (* x y) (* x z)) |
z |
(+ y z) |
(* x y) |
(* y (+ x (+ (* 5 (/ z y)) (/ (* x z) y)))) |
(* y (+ x (/ (* x z) y))) |
y |
(* y (+ 1 (/ z y))) |
(* -1 (* y (+ (* -1 x) (* -1 (/ (+ (* 5 z) (* x z)) y))))) |
(* -1 (* y (+ (* -1 x) (* -1 (/ (* x z) y))))) |
(* -1 (* y (- (* -1 (/ z y)) 1))) |
(+ (* x y) (* z (+ 5 x))) |
(* z (+ 5 x)) |
(* z (+ 5 (+ x (/ (* x y) z)))) |
(* z (+ x (/ (* x y) z))) |
(* z (+ 1 (/ y z))) |
(* -1 (* z (- (* -1 x) 5))) |
(* -1 (* z (- (+ (* -1 x) (* -1 (/ (* x y) z))) 5))) |
(* -1 (* z (+ (* -1 x) (* -1 (/ (* x y) z))))) |
(* -1 (* z (- (* -1 (/ y z)) 1))) |
| Outputs |
|---|
(* 5 z) |
(+.f64 (*.f64 x (+.f64 y z)) (*.f64 z #s(literal 5 binary64))) |
(+ (* 5 z) (* x (+ y z))) |
(*.f64 x (+.f64 y z)) |
(* x (+ y z)) |
(+.f64 y z) |
(* x (+ y (+ z (* 5 (/ z x))))) |
(*.f64 z #s(literal 5 binary64)) |
| Inputs |
|---|
(+.f64 (*.f64 x (+.f64 y z)) (*.f64 z #s(literal 5 binary64))) |
(*.f64 x (+.f64 y z)) |
(+.f64 y z) |
(*.f64 z #s(literal 5 binary64)) |
| Outputs |
|---|
(+.f64 (*.f64 x (+.f64 y z)) (*.f64 z #s(literal 5 binary64))) |
(*.f64 x (+.f64 y z)) |
(+.f64 y z) |
(*.f64 z #s(literal 5 binary64)) |
Compiled 96 to 18 computations (81.3% saved)
3 alts after pruning (2 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 6 | 2 | 8 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 6 | 3 | 9 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 99.9% | (+.f64 (*.f64 x (+.f64 y z)) (*.f64 z #s(literal 5 binary64))) |
| ▶ | 35.6% | #s(approx (+ (* x (+ y z)) (* z 5)) (*.f64 z #s(literal 5 binary64))) |
| ▶ | 65.7% | #s(approx (+ (* x (+ y z)) (* z 5)) (*.f64 x (+.f64 y z))) |
Compiled 37 to 30 computations (18.9% saved)
| 1× | egg-herbie |
Found 5 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 z #s(literal 5 binary64)) | |
| cost-diff | 0 | #s(approx (+ (* x (+ y z)) (* z 5)) (*.f64 z #s(literal 5 binary64))) | |
| cost-diff | 0 | (+.f64 y z) | |
| cost-diff | 0 | (*.f64 x (+.f64 y z)) | |
| cost-diff | 0 | #s(approx (+ (* x (+ y z)) (* z 5)) (*.f64 x (+.f64 y z))) |
| Inputs |
|---|
#s(approx (+ (* x (+ y z)) (* z 5)) (*.f64 x (+.f64 y z))) |
(*.f64 x (+.f64 y z)) |
x |
(+.f64 y z) |
y |
z |
#s(approx (+ (* x (+ y z)) (* z 5)) (*.f64 z #s(literal 5 binary64))) |
(*.f64 z #s(literal 5 binary64)) |
z |
#s(literal 5 binary64) |
| Outputs |
|---|
#s(approx (+ (* x (+ y z)) (* z 5)) (*.f64 x (+.f64 y z))) |
(*.f64 x (+.f64 y z)) |
x |
(+.f64 y z) |
y |
z |
#s(approx (+ (* x (+ y z)) (* z 5)) (*.f64 z #s(literal 5 binary64))) |
(*.f64 z #s(literal 5 binary64)) |
z |
#s(literal 5 binary64) |
Found 5 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (*.f64 z #s(literal 5 binary64)) | |
| accuracy | 41.22036772700205 | #s(approx (+ (* x (+ y z)) (* z 5)) (*.f64 z #s(literal 5 binary64))) | |
| accuracy | 0.0 | (+.f64 y z) | |
| accuracy | 0.01171875 | (*.f64 x (+.f64 y z)) | |
| accuracy | 21.965212275920482 | #s(approx (+ (* x (+ y z)) (* z 5)) (*.f64 x (+.f64 y z))) |
| 16.0ms | 246× | 0 | valid |
| 1.0ms | 6× | 2 | valid |
| 0.0ms | 4× | 1 | valid |
Compiled 80 to 24 computations (70% saved)
ival-add: 3.0ms (47.6% of total)ival-mult: 3.0ms (47.6% of total)adjust: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)| Inputs |
|---|
#s(approx (+ (* x (+ y z)) (* z 5)) (*.f64 x (+.f64 y z))) |
(*.f64 x (+.f64 y z)) |
(+.f64 y z) |
#s(approx (+ (* x (+ y z)) (* z 5)) (*.f64 z #s(literal 5 binary64))) |
(*.f64 z #s(literal 5 binary64)) |
| Outputs |
|---|
(* 5 z) |
(+ (* 5 z) (* x (+ y z))) |
(* x (+ y z)) |
(* x (+ y (+ z (* 5 (/ z x))))) |
(* -1 (* x (+ (* -5 (/ z x)) (* -1 (+ y z))))) |
(+ (* 5 z) (* x z)) |
(+ (* 5 z) (+ (* x y) (* x z))) |
(* x z) |
(+ (* x y) (* x z)) |
z |
(+ y z) |
(* x y) |
(* y (+ x (+ (* 5 (/ z y)) (/ (* x z) y)))) |
(* y (+ x (/ (* x z) y))) |
y |
(* y (+ 1 (/ z y))) |
(* -1 (* y (+ (* -1 x) (* -1 (/ (+ (* 5 z) (* x z)) y))))) |
(* -1 (* y (+ (* -1 x) (* -1 (/ (* x z) y))))) |
(* -1 (* y (- (* -1 (/ z y)) 1))) |
(+ (* x y) (* z (+ 5 x))) |
(* z (+ 5 x)) |
(* z (+ 5 (+ x (/ (* x y) z)))) |
(* z (+ x (/ (* x y) z))) |
(* z (+ 1 (/ y z))) |
(* -1 (* z (- (* -1 x) 5))) |
(* -1 (* z (- (+ (* -1 x) (* -1 (/ (* x y) z))) 5))) |
(* -1 (* z (+ (* -1 x) (* -1 (/ (* x y) z))))) |
(* -1 (* z (- (* -1 (/ y z)) 1))) |
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 4.0ms | z | @ | -inf | ((+ (* x (+ y z)) (* z 5)) (* x (+ y z)) (+ y z) (+ (* x (+ y z)) (* z 5)) (* z 5)) |
| 0.0ms | z | @ | inf | ((+ (* x (+ y z)) (* z 5)) (* x (+ y z)) (+ y z) (+ (* x (+ y z)) (* z 5)) (* z 5)) |
| 0.0ms | x | @ | inf | ((+ (* x (+ y z)) (* z 5)) (* x (+ y z)) (+ y z) (+ (* x (+ y z)) (* z 5)) (* z 5)) |
| 0.0ms | x | @ | -inf | ((+ (* x (+ y z)) (* z 5)) (* x (+ y z)) (+ y z) (+ (* x (+ y z)) (* z 5)) (* z 5)) |
| 0.0ms | y | @ | inf | ((+ (* x (+ y z)) (* z 5)) (* x (+ y z)) (+ y z) (+ (* x (+ y z)) (* z 5)) (* z 5)) |
| 1× | egg-herbie |
| Inputs |
|---|
(* 5 z) |
(+ (* 5 z) (* x (+ y z))) |
(* x (+ y z)) |
(* x (+ y (+ z (* 5 (/ z x))))) |
(* -1 (* x (+ (* -5 (/ z x)) (* -1 (+ y z))))) |
(+ (* 5 z) (* x z)) |
(+ (* 5 z) (+ (* x y) (* x z))) |
(* x z) |
(+ (* x y) (* x z)) |
z |
(+ y z) |
(* x y) |
(* y (+ x (+ (* 5 (/ z y)) (/ (* x z) y)))) |
(* y (+ x (/ (* x z) y))) |
y |
(* y (+ 1 (/ z y))) |
(* -1 (* y (+ (* -1 x) (* -1 (/ (+ (* 5 z) (* x z)) y))))) |
(* -1 (* y (+ (* -1 x) (* -1 (/ (* x z) y))))) |
(* -1 (* y (- (* -1 (/ z y)) 1))) |
(+ (* x y) (* z (+ 5 x))) |
(* z (+ 5 x)) |
(* z (+ 5 (+ x (/ (* x y) z)))) |
(* z (+ x (/ (* x y) z))) |
(* z (+ 1 (/ y z))) |
(* -1 (* z (- (* -1 x) 5))) |
(* -1 (* z (- (+ (* -1 x) (* -1 (/ (* x y) z))) 5))) |
(* -1 (* z (+ (* -1 x) (* -1 (/ (* x y) z))))) |
(* -1 (* z (- (* -1 (/ y z)) 1))) |
| Outputs |
|---|
(* 5 z) |
#s(approx (+ (* x (+ y z)) (* z 5)) (*.f64 x (+.f64 y z))) |
(+ (* 5 z) (* x (+ y z))) |
(*.f64 x (+.f64 y z)) |
(* x (+ y z)) |
(+.f64 y z) |
(* x (+ y (+ z (* 5 (/ z x))))) |
#s(approx (+ (* x (+ y z)) (* z 5)) (*.f64 z #s(literal 5 binary64))) |
(* -1 (* x (+ (* -5 (/ z x)) (* -1 (+ y z))))) |
(*.f64 z #s(literal 5 binary64)) |
| Inputs |
|---|
#s(approx (+ (* x (+ y z)) (* z 5)) (*.f64 x (+.f64 y z))) |
(*.f64 x (+.f64 y z)) |
(+.f64 y z) |
#s(approx (+ (* x (+ y z)) (* z 5)) (*.f64 z #s(literal 5 binary64))) |
(*.f64 z #s(literal 5 binary64)) |
| Outputs |
|---|
#s(approx (+ (* x (+ y z)) (* z 5)) (*.f64 x (+.f64 y z))) |
(*.f64 x (+.f64 y z)) |
(+.f64 y z) |
#s(approx (+ (* x (+ y z)) (* z 5)) (*.f64 z #s(literal 5 binary64))) |
(*.f64 z #s(literal 5 binary64)) |
Compiled 138 to 18 computations (87% saved)
4 alts after pruning (1 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 7 | 1 | 8 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 2 | 2 |
| Done | 0 | 1 | 1 |
| Total | 7 | 4 | 11 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 99.9% | (+.f64 (*.f64 x (+.f64 y z)) (*.f64 z #s(literal 5 binary64))) |
| ✓ | 35.6% | #s(approx (+ (* x (+ y z)) (* z 5)) (*.f64 z #s(literal 5 binary64))) |
| ✓ | 65.7% | #s(approx (+ (* x (+ y z)) (* z 5)) (*.f64 x (+.f64 y z))) |
| ▶ | 6.7% | #s(approx (+ (* x (+ y z)) (* z 5)) #s(approx (* x (+ y z)) (+.f64 y z))) |
Compiled 56 to 41 computations (26.8% saved)
| 1× | egg-herbie |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (+.f64 y z) | |
| cost-diff | 0 | #s(approx (* x (+ y z)) (+.f64 y z)) | |
| cost-diff | 0 | #s(approx (+ (* x (+ y z)) (* z 5)) #s(approx (* x (+ y z)) (+.f64 y z))) |
| Inputs |
|---|
#s(approx (+ (* x (+ y z)) (* z 5)) #s(approx (* x (+ y z)) (+.f64 y z))) |
#s(approx (* x (+ y z)) (+.f64 y z)) |
(+.f64 y z) |
y |
z |
| Outputs |
|---|
#s(approx (+ (* x (+ y z)) (* z 5)) #s(approx (* x (+ y z)) (+.f64 y z))) |
#s(approx (* x (+ y z)) (+.f64 y z)) |
(+.f64 y z) |
y |
z |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (+.f64 y z) | |
| accuracy | 21.965212275920482 | #s(approx (+ (* x (+ y z)) (* z 5)) #s(approx (* x (+ y z)) (+.f64 y z))) | |
| accuracy | 61.8754119887865 | #s(approx (* x (+ y z)) (+.f64 y z)) |
| 16.0ms | 246× | 0 | valid |
| 1.0ms | 6× | 2 | valid |
| 0.0ms | 4× | 1 | valid |
Compiled 54 to 21 computations (61.1% saved)
ival-add: 7.0ms (66.3% of total)ival-mult: 3.0ms (28.4% of total)adjust: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)| Inputs |
|---|
#s(approx (+ (* x (+ y z)) (* z 5)) #s(approx (* x (+ y z)) (+.f64 y z))) |
#s(approx (* x (+ y z)) (+.f64 y z)) |
(+.f64 y z) |
| Outputs |
|---|
(* 5 z) |
(+ (* 5 z) (* x (+ y z))) |
(* x (+ y z)) |
(* x (+ y (+ z (* 5 (/ z x))))) |
(* -1 (* x (+ (* -5 (/ z x)) (* -1 (+ y z))))) |
(+ (* 5 z) (* x z)) |
(+ (* 5 z) (+ (* x y) (* x z))) |
(* x z) |
(+ (* x y) (* x z)) |
z |
(+ y z) |
(* x y) |
(* y (+ x (+ (* 5 (/ z y)) (/ (* x z) y)))) |
(* y (+ x (/ (* x z) y))) |
y |
(* y (+ 1 (/ z y))) |
(* -1 (* y (+ (* -1 x) (* -1 (/ (+ (* 5 z) (* x z)) y))))) |
(* -1 (* y (+ (* -1 x) (* -1 (/ (* x z) y))))) |
(* -1 (* y (- (* -1 (/ z y)) 1))) |
(+ (* x y) (* z (+ 5 x))) |
(* z (+ 5 x)) |
(* z (+ 5 (+ x (/ (* x y) z)))) |
(* z (+ x (/ (* x y) z))) |
(* z (+ 1 (/ y z))) |
(* -1 (* z (- (* -1 x) 5))) |
(* -1 (* z (- (+ (* -1 x) (* -1 (/ (* x y) z))) 5))) |
(* -1 (* z (+ (* -1 x) (* -1 (/ (* x y) z))))) |
(* -1 (* z (- (* -1 (/ y z)) 1))) |
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | inf | ((+ (* x (+ y z)) (* z 5)) (* x (+ y z)) (+ y z)) |
| 0.0ms | x | @ | -inf | ((+ (* x (+ y z)) (* z 5)) (* x (+ y z)) (+ y z)) |
| 0.0ms | z | @ | -inf | ((+ (* x (+ y z)) (* z 5)) (* x (+ y z)) (+ y z)) |
| 0.0ms | z | @ | inf | ((+ (* x (+ y z)) (* z 5)) (* x (+ y z)) (+ y z)) |
| 0.0ms | y | @ | -inf | ((+ (* x (+ y z)) (* z 5)) (* x (+ y z)) (+ y z)) |
| 1× | egg-herbie |
| Inputs |
|---|
(* 5 z) |
(+ (* 5 z) (* x (+ y z))) |
(* x (+ y z)) |
(* x (+ y (+ z (* 5 (/ z x))))) |
(* -1 (* x (+ (* -5 (/ z x)) (* -1 (+ y z))))) |
(+ (* 5 z) (* x z)) |
(+ (* 5 z) (+ (* x y) (* x z))) |
(* x z) |
(+ (* x y) (* x z)) |
z |
(+ y z) |
(* x y) |
(* y (+ x (+ (* 5 (/ z y)) (/ (* x z) y)))) |
(* y (+ x (/ (* x z) y))) |
y |
(* y (+ 1 (/ z y))) |
(* -1 (* y (+ (* -1 x) (* -1 (/ (+ (* 5 z) (* x z)) y))))) |
(* -1 (* y (+ (* -1 x) (* -1 (/ (* x z) y))))) |
(* -1 (* y (- (* -1 (/ z y)) 1))) |
(+ (* x y) (* z (+ 5 x))) |
(* z (+ 5 x)) |
(* z (+ 5 (+ x (/ (* x y) z)))) |
(* z (+ x (/ (* x y) z))) |
(* z (+ 1 (/ y z))) |
(* -1 (* z (- (* -1 x) 5))) |
(* -1 (* z (- (+ (* -1 x) (* -1 (/ (* x y) z))) 5))) |
(* -1 (* z (+ (* -1 x) (* -1 (/ (* x y) z))))) |
(* -1 (* z (- (* -1 (/ y z)) 1))) |
| Outputs |
|---|
(* 5 z) |
#s(approx (+ (* x (+ y z)) (* z 5)) #s(approx (* x (+ y z)) (+.f64 y z))) |
(+ (* 5 z) (* x (+ y z))) |
#s(approx (* x (+ y z)) (+.f64 y z)) |
(* x (+ y z)) |
(+.f64 y z) |
| Inputs |
|---|
#s(approx (+ (* x (+ y z)) (* z 5)) #s(approx (* x (+ y z)) (+.f64 y z))) |
#s(approx (* x (+ y z)) (+.f64 y z)) |
(+.f64 y z) |
| Outputs |
|---|
#s(approx (+ (* x (+ y z)) (* z 5)) #s(approx (* x (+ y z)) (+.f64 y z))) |
#s(approx (* x (+ y z)) (+.f64 y z)) |
(+.f64 y z) |
Compiled 86 to 12 computations (86% saved)
4 alts after pruning (0 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 4 | 0 | 4 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 3 | 3 |
| Total | 4 | 4 | 8 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 99.9% | (+.f64 (*.f64 x (+.f64 y z)) (*.f64 z #s(literal 5 binary64))) |
| ✓ | 35.6% | #s(approx (+ (* x (+ y z)) (* z 5)) (*.f64 z #s(literal 5 binary64))) |
| ✓ | 65.7% | #s(approx (+ (* x (+ y z)) (* z 5)) (*.f64 x (+.f64 y z))) |
| ✓ | 6.7% | #s(approx (+ (* x (+ y z)) (* z 5)) #s(approx (* x (+ y z)) (+.f64 y z))) |
Compiled 112 to 58 computations (48.2% saved)
| Inputs |
|---|
#s(approx (+ (* x (+ y z)) (* z 5)) #s(approx (* x (+ y z)) (+.f64 y z))) |
#s(approx (+ (* x (+ y z)) (* z 5)) (*.f64 z #s(literal 5 binary64))) |
#s(approx (+ (* x (+ y z)) (* z 5)) (*.f64 x (+.f64 y z))) |
(+.f64 (*.f64 x (+.f64 y z)) (*.f64 z #s(literal 5 binary64))) |
| Outputs |
|---|
(+.f64 (*.f64 x (+.f64 y z)) (*.f64 z #s(literal 5 binary64))) |
4 calls:
| 6.0ms | y |
| 2.0ms | (+.f64 (*.f64 x (+.f64 y z)) (*.f64 z #s(literal 5 binary64))) |
| 2.0ms | z |
| 2.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.9% | 1 | x |
| 99.9% | 1 | y |
| 99.9% | 1 | z |
| 99.9% | 1 | (+.f64 (*.f64 x (+.f64 y z)) (*.f64 z #s(literal 5 binary64))) |
Compiled 12 to 17 computations (-41.7% saved)
| Inputs |
|---|
#s(approx (+ (* x (+ y z)) (* z 5)) #s(approx (* x (+ y z)) (+.f64 y z))) |
#s(approx (+ (* x (+ y z)) (* z 5)) (*.f64 z #s(literal 5 binary64))) |
#s(approx (+ (* x (+ y z)) (* z 5)) (*.f64 x (+.f64 y z))) |
| Outputs |
|---|
#s(approx (+ (* x (+ y z)) (* z 5)) (*.f64 x (+.f64 y z))) |
#s(approx (+ (* x (+ y z)) (* z 5)) (*.f64 z #s(literal 5 binary64))) |
#s(approx (+ (* x (+ y z)) (* z 5)) (*.f64 x (+.f64 y z))) |
4 calls:
| 2.0ms | z |
| 2.0ms | (+.f64 (*.f64 x (+.f64 y z)) (*.f64 z #s(literal 5 binary64))) |
| 2.0ms | y |
| 2.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 88.8% | 3 | x |
| 65.7% | 1 | y |
| 72.2% | 4 | z |
| 71.4% | 3 | (+.f64 (*.f64 x (+.f64 y z)) (*.f64 z #s(literal 5 binary64))) |
Compiled 12 to 17 computations (-41.7% saved)
| Inputs |
|---|
#s(approx (+ (* x (+ y z)) (* z 5)) #s(approx (* x (+ y z)) (+.f64 y z))) |
#s(approx (+ (* x (+ y z)) (* z 5)) (*.f64 z #s(literal 5 binary64))) |
| Outputs |
|---|
#s(approx (+ (* x (+ y z)) (* z 5)) (*.f64 z #s(literal 5 binary64))) |
4 calls:
| 1.0ms | (+.f64 (*.f64 x (+.f64 y z)) (*.f64 z #s(literal 5 binary64))) |
| 1.0ms | x |
| 1.0ms | y |
| 1.0ms | z |
| Accuracy | Segments | Branch |
|---|---|---|
| 35.6% | 1 | y |
| 35.6% | 1 | z |
| 35.6% | 1 | (+.f64 (*.f64 x (+.f64 y z)) (*.f64 z #s(literal 5 binary64))) |
| 35.6% | 1 | x |
Compiled 12 to 17 computations (-41.7% saved)
Total -0.0b remaining (-0%)
Threshold costs -0b (-0%)
| Inputs |
|---|
#s(approx (+ (* x (+ y z)) (* z 5)) #s(approx (* x (+ y z)) (+.f64 y z))) |
| Outputs |
|---|
#s(approx (+ (* x (+ y z)) (* z 5)) #s(approx (* x (+ y z)) (+.f64 y z))) |
4 calls:
| 5.0ms | x |
| 1.0ms | (+.f64 (*.f64 x (+.f64 y z)) (*.f64 z #s(literal 5 binary64))) |
| 1.0ms | y |
| 1.0ms | z |
| Accuracy | Segments | Branch |
|---|---|---|
| 6.7% | 1 | z |
| 6.7% | 1 | y |
| 6.7% | 1 | x |
| 6.7% | 1 | (+.f64 (*.f64 x (+.f64 y z)) (*.f64 z #s(literal 5 binary64))) |
Compiled 12 to 17 computations (-41.7% saved)
| 2× | binary-search |
| 1× | narrow-enough |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 13.0ms | 1.5275172135496086e-59 | 5.782472681659603e-47 |
| 7.0ms | -8.580383094077021e-96 | -3.6344682969159323e-96 |
| 10.0ms | 229× | 0 | valid |
| 1.0ms | 11× | 1 | valid |
Compiled 432 to 374 computations (13.4% saved)
ival-mult: 3.0ms (52.4% of total)ival-add: 2.0ms (34.9% of total)adjust: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 1× | egg-herbie |
| Inputs |
|---|
(+.f64 (*.f64 x (+.f64 y z)) (*.f64 z #s(literal 5 binary64))) |
(if (<=.f64 x #s(literal -5110428660115861/601226901190101306339707032778070279008174732520529886901066488712245510429339761526706943586500787976175353856 binary64)) #s(approx (+ (* x (+ y z)) (* z 5)) (*.f64 x (+.f64 y z))) (if (<=.f64 x #s(literal 6713658593870521/13164036458569648337239753460458804039861886925068638906788872192 binary64)) #s(approx (+ (* x (+ y z)) (* z 5)) (*.f64 z #s(literal 5 binary64))) #s(approx (+ (* x (+ y z)) (* z 5)) (*.f64 x (+.f64 y z))))) |
#s(approx (+ (* x (+ y z)) (* z 5)) (*.f64 z #s(literal 5 binary64))) |
#s(approx (+ (* x (+ y z)) (* z 5)) #s(approx (* x (+ y z)) (+.f64 y z))) |
| Outputs |
|---|
(+.f64 (*.f64 x (+.f64 y z)) (*.f64 z #s(literal 5 binary64))) |
(if (<=.f64 x #s(literal -5110428660115861/601226901190101306339707032778070279008174732520529886901066488712245510429339761526706943586500787976175353856 binary64)) #s(approx (+ (* x (+ y z)) (* z 5)) (*.f64 x (+.f64 y z))) (if (<=.f64 x #s(literal 6713658593870521/13164036458569648337239753460458804039861886925068638906788872192 binary64)) #s(approx (+ (* x (+ y z)) (* z 5)) (*.f64 z #s(literal 5 binary64))) #s(approx (+ (* x (+ y z)) (* z 5)) (*.f64 x (+.f64 y z))))) |
#s(approx (+ (* x (+ y z)) (* z 5)) (*.f64 z #s(literal 5 binary64))) |
#s(approx (+ (* x (+ y z)) (* z 5)) #s(approx (* x (+ y z)) (+.f64 y z))) |
| 1× | done |
Compiled 92 to 23 computations (75% saved)
Compiled 220 to 78 computations (64.5% saved)
Loading profile data...