
Time bar (total: 962.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)
| 448.0ms | 8 256× | 0 | valid |
ival-mult: 130.0ms (54.9% of total)ival-sub: 55.0ms (23.2% of total)ival-add: 36.0ms (15.2% of total)ival-true: 7.0ms (3% of total)exact: 6.0ms (2.5% of total)ival-assert: 4.0ms (1.7% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 4 | 0 | - | 0 | - | (+.f64 (*.f64 x y) (*.f64 (-.f64 #s(literal 1 binary64) x) z)) |
| 0 | 0 | - | 0 | - | y |
| 0 | 0 | - | 0 | - | (-.f64 #s(literal 1 binary64) x) |
| 0 | 0 | - | 0 | - | #s(literal 1 binary64) |
| 0 | 0 | - | 0 | - | z |
| 0 | 0 | - | 0 | - | (*.f64 x y) |
| 0 | 0 | - | 0 | - | (*.f64 (-.f64 #s(literal 1 binary64) x) z) |
| 0 | 0 | - | 0 | - | x |
| Operator | Subexpression | Explanation | Count | |
|---|---|---|---|---|
+.f64 | (+.f64 (*.f64 x y) (*.f64 (-.f64 #s(literal 1 binary64) x) z)) | nan-rescue | 4 | 0 |
| ↳ | (*.f64 x y) | overflow | 35 | |
| ↳ | (*.f64 (-.f64 #s(literal 1 binary64) x) z) | overflow | 30 |
| Predicted + | Predicted - | |
|---|---|---|
| + | 4 | 0 |
| - | 0 | 252 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 4 | 0 | 0 |
| - | 0 | 0 | 252 |
| number | freq |
|---|---|
| 0 | 252 |
| 1 | 4 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 1 | 0 | 0 |
| - | 0 | 0 | 0 |
| 31.0ms | 512× | 0 | valid |
Compiled 85 to 36 computations (57.6% saved)
ival-mult: 9.0ms (58.7% of total)ival-sub: 3.0ms (19.6% of total)ival-add: 2.0ms (13% 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 y) (*.f64 (-.f64 #s(literal 1 binary64) x) z)) |
| Outputs |
|---|
(+.f64 (*.f64 x y) (*.f64 (-.f64 #s(literal 1 binary64) x) z)) |
Compiled 9 to 8 computations (11.1% saved)
Compiled 0 to 3 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 98.4% | (+.f64 (*.f64 x y) (*.f64 (-.f64 #s(literal 1 binary64) x) z)) |
Compiled 9 to 8 computations (11.1% saved)
| 1× | egg-herbie |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (-.f64 #s(literal 1 binary64) x) | |
| cost-diff | 0 | (*.f64 (-.f64 #s(literal 1 binary64) x) z) | |
| cost-diff | 0 | (*.f64 x y) | |
| cost-diff | 0 | (+.f64 (*.f64 x y) (*.f64 (-.f64 #s(literal 1 binary64) x) z)) |
| Inputs |
|---|
(+.f64 (*.f64 x y) (*.f64 (-.f64 #s(literal 1 binary64) x) z)) |
(*.f64 x y) |
x |
y |
(*.f64 (-.f64 #s(literal 1 binary64) x) z) |
(-.f64 #s(literal 1 binary64) x) |
#s(literal 1 binary64) |
z |
| Outputs |
|---|
(+.f64 (*.f64 x y) (*.f64 (-.f64 #s(literal 1 binary64) x) z)) |
(*.f64 x y) |
x |
y |
(*.f64 (-.f64 #s(literal 1 binary64) x) z) |
(-.f64 #s(literal 1 binary64) x) |
#s(literal 1 binary64) |
z |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (-.f64 #s(literal 1 binary64) x) | |
| accuracy | 0.0 | (*.f64 x y) | |
| accuracy | 0.0078125 | (*.f64 (-.f64 #s(literal 1 binary64) x) z) | |
| accuracy | 0.8632791858302058 | (+.f64 (*.f64 x y) (*.f64 (-.f64 #s(literal 1 binary64) x) z)) |
| 14.0ms | 256× | 0 | valid |
Compiled 50 to 18 computations (64% saved)
ival-mult: 4.0ms (62.6% of total)ival-sub: 1.0ms (15.7% of total)ival-add: 1.0ms (15.7% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
(+.f64 (*.f64 x y) (*.f64 (-.f64 #s(literal 1 binary64) x) z)) |
(*.f64 x y) |
(*.f64 (-.f64 #s(literal 1 binary64) x) z) |
(-.f64 #s(literal 1 binary64) x) |
| Outputs |
|---|
z |
(+ z (* x (+ y (* -1 z)))) |
(* x y) |
(+ z (* -1 (* x z))) |
1 |
(+ 1 (* -1 x)) |
(* x (+ y (* -1 z))) |
(* x (+ y (+ (* -1 z) (/ z x)))) |
(* -1 (* x z)) |
(* x (+ (* -1 z) (/ z x))) |
(* -1 x) |
(* x (- (/ 1 x) 1)) |
(* -1 (* x (+ z (* -1 y)))) |
(* -1 (* x (+ z (+ (* -1 y) (* -1 (/ z x)))))) |
(* -1 (* x (+ z (* -1 (/ z x))))) |
(* -1 (* x (- 1 (/ 1 x)))) |
(* z (- 1 x)) |
(+ (* x y) (* z (- 1 x))) |
(* y (+ x (/ (* z (- 1 x)) y))) |
(* -1 (* y (+ (* -1 x) (* -1 (/ (* z (- 1 x)) y))))) |
(* z (- (+ 1 (/ (* x y) z)) x)) |
(* -1 (* z (+ (* -1 (- 1 x)) (* -1 (/ (* x y) z))))) |
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 6.0ms | x | @ | -inf | ((+ (* x y) (* (- 1 x) z)) (* x y) (* (- 1 x) z) (- 1 x)) |
| 1.0ms | z | @ | 0 | ((+ (* x y) (* (- 1 x) z)) (* x y) (* (- 1 x) z) (- 1 x)) |
| 1.0ms | x | @ | inf | ((+ (* x y) (* (- 1 x) z)) (* x y) (* (- 1 x) z) (- 1 x)) |
| 1.0ms | x | @ | 0 | ((+ (* x y) (* (- 1 x) z)) (* x y) (* (- 1 x) z) (- 1 x)) |
| 1.0ms | z | @ | inf | ((+ (* x y) (* (- 1 x) z)) (* x y) (* (- 1 x) z) (- 1 x)) |
| 1× | egg-herbie |
| Inputs |
|---|
z |
(+ z (* x (+ y (* -1 z)))) |
(* x y) |
(+ z (* -1 (* x z))) |
1 |
(+ 1 (* -1 x)) |
(* x (+ y (* -1 z))) |
(* x (+ y (+ (* -1 z) (/ z x)))) |
(* -1 (* x z)) |
(* x (+ (* -1 z) (/ z x))) |
(* -1 x) |
(* x (- (/ 1 x) 1)) |
(* -1 (* x (+ z (* -1 y)))) |
(* -1 (* x (+ z (+ (* -1 y) (* -1 (/ z x)))))) |
(* -1 (* x (+ z (* -1 (/ z x))))) |
(* -1 (* x (- 1 (/ 1 x)))) |
(* z (- 1 x)) |
(+ (* x y) (* z (- 1 x))) |
(* y (+ x (/ (* z (- 1 x)) y))) |
(* -1 (* y (+ (* -1 x) (* -1 (/ (* z (- 1 x)) y))))) |
(* z (- (+ 1 (/ (* x y) z)) x)) |
(* -1 (* z (+ (* -1 (- 1 x)) (* -1 (/ (* x y) z))))) |
| Outputs |
|---|
z |
(+.f64 (*.f64 x y) (*.f64 (-.f64 #s(literal 1 binary64) x) z)) |
(+ z (* x (+ y (* -1 z)))) |
(*.f64 x y) |
(* x y) |
(*.f64 (-.f64 #s(literal 1 binary64) x) z) |
(+ z (* -1 (* x z))) |
(-.f64 #s(literal 1 binary64) x) |
| Inputs |
|---|
(+.f64 (*.f64 x y) (*.f64 (-.f64 #s(literal 1 binary64) x) z)) |
(*.f64 x y) |
(*.f64 (-.f64 #s(literal 1 binary64) x) z) |
(-.f64 #s(literal 1 binary64) x) |
| Outputs |
|---|
(+.f64 (*.f64 x y) (*.f64 (-.f64 #s(literal 1 binary64) x) z)) |
(*.f64 x y) |
(*.f64 (-.f64 #s(literal 1 binary64) x) z) |
(-.f64 #s(literal 1 binary64) x) |
Compiled 96 to 19 computations (80.2% saved)
4 alts after pruning (3 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 5 | 3 | 8 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 5 | 4 | 9 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 98.4% | (+.f64 (*.f64 x y) (*.f64 (-.f64 #s(literal 1 binary64) x) z)) |
| ▶ | 31.2% | (+.f64 (*.f64 x y) #s(approx (* (- 1 x) z) (-.f64 #s(literal 1 binary64) x))) |
| ▶ | 21.1% | (+.f64 #s(approx (* x y) (*.f64 (-.f64 #s(literal 1 binary64) x) z)) (*.f64 (-.f64 #s(literal 1 binary64) x) z)) |
| ▶ | 44.5% | #s(approx (+ (* x y) (* (- 1 x) z)) (*.f64 x y)) |
Compiled 50 to 38 computations (24% saved)
| 1× | egg-herbie |
Found 10 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (-.f64 #s(literal 1 binary64) x) | |
| cost-diff | 0 | #s(approx (* (- 1 x) z) (-.f64 #s(literal 1 binary64) x)) | |
| cost-diff | 0 | (*.f64 x y) | |
| cost-diff | 0 | (+.f64 (*.f64 x y) #s(approx (* (- 1 x) z) (-.f64 #s(literal 1 binary64) x))) | |
| cost-diff | 0 | (-.f64 #s(literal 1 binary64) x) | |
| cost-diff | 0 | (*.f64 (-.f64 #s(literal 1 binary64) x) z) | |
| cost-diff | 0 | #s(approx (* x y) (*.f64 (-.f64 #s(literal 1 binary64) x) z)) | |
| cost-diff | 0 | (+.f64 #s(approx (* x y) (*.f64 (-.f64 #s(literal 1 binary64) x) z)) (*.f64 (-.f64 #s(literal 1 binary64) x) z)) | |
| cost-diff | 0 | (*.f64 x y) | |
| cost-diff | 0 | #s(approx (+ (* x y) (* (- 1 x) z)) (*.f64 x y)) |
| Inputs |
|---|
#s(approx (+ (* x y) (* (- 1 x) z)) (*.f64 x y)) |
(*.f64 x y) |
x |
y |
(+.f64 #s(approx (* x y) (*.f64 (-.f64 #s(literal 1 binary64) x) z)) (*.f64 (-.f64 #s(literal 1 binary64) x) z)) |
#s(approx (* x y) (*.f64 (-.f64 #s(literal 1 binary64) x) z)) |
(*.f64 (-.f64 #s(literal 1 binary64) x) z) |
(-.f64 #s(literal 1 binary64) x) |
#s(literal 1 binary64) |
x |
z |
(+.f64 (*.f64 x y) #s(approx (* (- 1 x) z) (-.f64 #s(literal 1 binary64) x))) |
(*.f64 x y) |
x |
y |
#s(approx (* (- 1 x) z) (-.f64 #s(literal 1 binary64) x)) |
(-.f64 #s(literal 1 binary64) x) |
#s(literal 1 binary64) |
| Outputs |
|---|
#s(approx (+ (* x y) (* (- 1 x) z)) (*.f64 x y)) |
(*.f64 x y) |
x |
y |
(+.f64 #s(approx (* x y) (*.f64 (-.f64 #s(literal 1 binary64) x) z)) (*.f64 (-.f64 #s(literal 1 binary64) x) z)) |
#s(approx (* x y) (*.f64 (-.f64 #s(literal 1 binary64) x) z)) |
(*.f64 (-.f64 #s(literal 1 binary64) x) z) |
(-.f64 #s(literal 1 binary64) x) |
#s(literal 1 binary64) |
x |
z |
(+.f64 (*.f64 x y) #s(approx (* (- 1 x) z) (-.f64 #s(literal 1 binary64) x))) |
(*.f64 x y) |
x |
y |
#s(approx (* (- 1 x) z) (-.f64 #s(literal 1 binary64) x)) |
(-.f64 #s(literal 1 binary64) x) |
#s(literal 1 binary64) |
Found 10 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (-.f64 #s(literal 1 binary64) x) | |
| accuracy | 0.0 | (*.f64 x y) | |
| accuracy | 0.8632791858302058 | (+.f64 (*.f64 x y) #s(approx (* (- 1 x) z) (-.f64 #s(literal 1 binary64) x))) | |
| accuracy | 61.85680436312266 | #s(approx (* (- 1 x) z) (-.f64 #s(literal 1 binary64) x)) | |
| accuracy | 0.0 | (-.f64 #s(literal 1 binary64) x) | |
| accuracy | 0.0078125 | (*.f64 (-.f64 #s(literal 1 binary64) x) z) | |
| accuracy | 0.8632791858302058 | (+.f64 #s(approx (* x y) (*.f64 (-.f64 #s(literal 1 binary64) x) z)) (*.f64 (-.f64 #s(literal 1 binary64) x) z)) | |
| accuracy | 59.84088954102823 | #s(approx (* x y) (*.f64 (-.f64 #s(literal 1 binary64) x) z)) | |
| accuracy | 0.0 | (*.f64 x y) | |
| accuracy | 35.497437132304086 | #s(approx (+ (* x y) (* (- 1 x) z)) (*.f64 x y)) |
| 17.0ms | 256× | 0 | valid |
Compiled 146 to 27 computations (81.5% saved)
ival-mult: 4.0ms (60.6% of total)ival-sub: 1.0ms (15.2% of total)ival-add: 1.0ms (15.2% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(approx (+ (* x y) (* (- 1 x) z)) (*.f64 x y)) |
(*.f64 x y) |
(+.f64 #s(approx (* x y) (*.f64 (-.f64 #s(literal 1 binary64) x) z)) (*.f64 (-.f64 #s(literal 1 binary64) x) z)) |
#s(approx (* x y) (*.f64 (-.f64 #s(literal 1 binary64) x) z)) |
(*.f64 (-.f64 #s(literal 1 binary64) x) z) |
(-.f64 #s(literal 1 binary64) x) |
(+.f64 (*.f64 x y) #s(approx (* (- 1 x) z) (-.f64 #s(literal 1 binary64) x))) |
#s(approx (* (- 1 x) z) (-.f64 #s(literal 1 binary64) x)) |
| Outputs |
|---|
z |
(+ z (* x (+ y (* -1 z)))) |
(* x y) |
(+ z (* -1 (* x z))) |
1 |
(+ 1 (* -1 x)) |
(* x (+ y (* -1 z))) |
(* x (+ y (+ (* -1 z) (/ z x)))) |
(* -1 (* x z)) |
(* x (+ (* -1 z) (/ z x))) |
(* -1 x) |
(* x (- (/ 1 x) 1)) |
(* -1 (* x (+ z (* -1 y)))) |
(* -1 (* x (+ z (+ (* -1 y) (* -1 (/ z x)))))) |
(* -1 (* x (+ z (* -1 (/ z x))))) |
(* -1 (* x (- 1 (/ 1 x)))) |
(* z (- 1 x)) |
(+ (* x y) (* z (- 1 x))) |
(* y (+ x (/ (* z (- 1 x)) y))) |
(* -1 (* y (+ (* -1 x) (* -1 (/ (* z (- 1 x)) y))))) |
(* z (- (+ 1 (/ (* x y) z)) x)) |
(* -1 (* z (+ (* -1 (- 1 x)) (* -1 (/ (* x y) z))))) |
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | ((+ (* x y) (* (- 1 x) z)) (* x y) (+ (* x y) (* (- 1 x) z)) (* x y) (* (- 1 x) z) (- 1 x) (+ (* x y) (* (- 1 x) z)) (* (- 1 x) z)) |
| 0.0ms | z | @ | inf | ((+ (* x y) (* (- 1 x) z)) (* x y) (+ (* x y) (* (- 1 x) z)) (* x y) (* (- 1 x) z) (- 1 x) (+ (* x y) (* (- 1 x) z)) (* (- 1 x) z)) |
| 0.0ms | y | @ | -inf | ((+ (* x y) (* (- 1 x) z)) (* x y) (+ (* x y) (* (- 1 x) z)) (* x y) (* (- 1 x) z) (- 1 x) (+ (* x y) (* (- 1 x) z)) (* (- 1 x) z)) |
| 0.0ms | x | @ | inf | ((+ (* x y) (* (- 1 x) z)) (* x y) (+ (* x y) (* (- 1 x) z)) (* x y) (* (- 1 x) z) (- 1 x) (+ (* x y) (* (- 1 x) z)) (* (- 1 x) z)) |
| 0.0ms | z | @ | -inf | ((+ (* x y) (* (- 1 x) z)) (* x y) (+ (* x y) (* (- 1 x) z)) (* x y) (* (- 1 x) z) (- 1 x) (+ (* x y) (* (- 1 x) z)) (* (- 1 x) z)) |
| 1× | egg-herbie |
| Inputs |
|---|
z |
(+ z (* x (+ y (* -1 z)))) |
(* x y) |
(+ z (* -1 (* x z))) |
1 |
(+ 1 (* -1 x)) |
(* x (+ y (* -1 z))) |
(* x (+ y (+ (* -1 z) (/ z x)))) |
(* -1 (* x z)) |
(* x (+ (* -1 z) (/ z x))) |
(* -1 x) |
(* x (- (/ 1 x) 1)) |
(* -1 (* x (+ z (* -1 y)))) |
(* -1 (* x (+ z (+ (* -1 y) (* -1 (/ z x)))))) |
(* -1 (* x (+ z (* -1 (/ z x))))) |
(* -1 (* x (- 1 (/ 1 x)))) |
(* z (- 1 x)) |
(+ (* x y) (* z (- 1 x))) |
(* y (+ x (/ (* z (- 1 x)) y))) |
(* -1 (* y (+ (* -1 x) (* -1 (/ (* z (- 1 x)) y))))) |
(* z (- (+ 1 (/ (* x y) z)) x)) |
(* -1 (* z (+ (* -1 (- 1 x)) (* -1 (/ (* x y) z))))) |
| Outputs |
|---|
z |
#s(approx (+ (* x y) (* (- 1 x) z)) (*.f64 x y)) |
(+ z (* x (+ y (* -1 z)))) |
(*.f64 x y) |
(* x y) |
(+.f64 #s(approx (* x y) (*.f64 (-.f64 #s(literal 1 binary64) x) z)) (*.f64 (-.f64 #s(literal 1 binary64) x) z)) |
(+ z (* -1 (* x z))) |
#s(approx (* x y) (*.f64 (-.f64 #s(literal 1 binary64) x) z)) |
1 |
(*.f64 (-.f64 #s(literal 1 binary64) x) z) |
(+ 1 (* -1 x)) |
(-.f64 #s(literal 1 binary64) x) |
(* x (+ y (* -1 z))) |
(+.f64 (*.f64 x y) #s(approx (* (- 1 x) z) (-.f64 #s(literal 1 binary64) x))) |
(* x (+ y (+ (* -1 z) (/ z x)))) |
#s(approx (* (- 1 x) z) (-.f64 #s(literal 1 binary64) x)) |
| Inputs |
|---|
#s(approx (+ (* x y) (* (- 1 x) z)) (*.f64 x y)) |
(*.f64 x y) |
(+.f64 #s(approx (* x y) (*.f64 (-.f64 #s(literal 1 binary64) x) z)) (*.f64 (-.f64 #s(literal 1 binary64) x) z)) |
#s(approx (* x y) (*.f64 (-.f64 #s(literal 1 binary64) x) z)) |
(*.f64 (-.f64 #s(literal 1 binary64) x) z) |
(-.f64 #s(literal 1 binary64) x) |
(+.f64 (*.f64 x y) #s(approx (* (- 1 x) z) (-.f64 #s(literal 1 binary64) x))) |
#s(approx (* (- 1 x) z) (-.f64 #s(literal 1 binary64) x)) |
| Outputs |
|---|
#s(approx (+ (* x y) (* (- 1 x) z)) (*.f64 x y)) |
(*.f64 x y) |
(+.f64 #s(approx (* x y) (*.f64 (-.f64 #s(literal 1 binary64) x) z)) (*.f64 (-.f64 #s(literal 1 binary64) x) z)) |
#s(approx (* x y) (*.f64 (-.f64 #s(literal 1 binary64) x) z)) |
(*.f64 (-.f64 #s(literal 1 binary64) x) z) |
(-.f64 #s(literal 1 binary64) x) |
(+.f64 (*.f64 x y) #s(approx (* (- 1 x) z) (-.f64 #s(literal 1 binary64) x))) |
#s(approx (* (- 1 x) z) (-.f64 #s(literal 1 binary64) x)) |
Compiled 457 to 41 computations (91% saved)
4 alts after pruning (1 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 24 | 1 | 25 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 2 | 3 |
| Done | 0 | 1 | 1 |
| Total | 25 | 4 | 29 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 98.4% | (+.f64 (*.f64 x y) (*.f64 (-.f64 #s(literal 1 binary64) x) z)) |
| ✓ | 21.1% | (+.f64 #s(approx (* x y) (*.f64 (-.f64 #s(literal 1 binary64) x) z)) (*.f64 (-.f64 #s(literal 1 binary64) x) z)) |
| ✓ | 44.5% | #s(approx (+ (* x y) (* (- 1 x) z)) (*.f64 x y)) |
| ▶ | 3.3% | #s(approx (+ (* x y) (* (- 1 x) z)) #s(approx (* (- 1 x) z) (-.f64 #s(literal 1 binary64) x))) |
Compiled 56 to 39 computations (30.4% saved)
| 1× | egg-herbie |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (-.f64 #s(literal 1 binary64) x) | |
| cost-diff | 0 | #s(approx (* (- 1 x) z) (-.f64 #s(literal 1 binary64) x)) | |
| cost-diff | 0 | #s(approx (+ (* x y) (* (- 1 x) z)) #s(approx (* (- 1 x) z) (-.f64 #s(literal 1 binary64) x))) |
| Inputs |
|---|
#s(approx (+ (* x y) (* (- 1 x) z)) #s(approx (* (- 1 x) z) (-.f64 #s(literal 1 binary64) x))) |
#s(approx (* (- 1 x) z) (-.f64 #s(literal 1 binary64) x)) |
(-.f64 #s(literal 1 binary64) x) |
#s(literal 1 binary64) |
x |
| Outputs |
|---|
#s(approx (+ (* x y) (* (- 1 x) z)) #s(approx (* (- 1 x) z) (-.f64 #s(literal 1 binary64) x))) |
#s(approx (* (- 1 x) z) (-.f64 #s(literal 1 binary64) x)) |
(-.f64 #s(literal 1 binary64) x) |
#s(literal 1 binary64) |
x |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (-.f64 #s(literal 1 binary64) x) | |
| accuracy | 25.832277179713838 | #s(approx (+ (* x y) (* (- 1 x) z)) #s(approx (* (- 1 x) z) (-.f64 #s(literal 1 binary64) x))) | |
| accuracy | 61.85680436312266 | #s(approx (* (- 1 x) z) (-.f64 #s(literal 1 binary64) x)) |
| 13.0ms | 256× | 0 | valid |
Compiled 54 to 22 computations (59.3% saved)
ival-mult: 4.0ms (62.2% of total)ival-sub: 1.0ms (15.5% of total)ival-add: 1.0ms (15.5% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(approx (+ (* x y) (* (- 1 x) z)) #s(approx (* (- 1 x) z) (-.f64 #s(literal 1 binary64) x))) |
#s(approx (* (- 1 x) z) (-.f64 #s(literal 1 binary64) x)) |
(-.f64 #s(literal 1 binary64) x) |
| Outputs |
|---|
z |
(+ z (* x (+ y (* -1 z)))) |
(+ z (* -1 (* x z))) |
1 |
(+ 1 (* -1 x)) |
(* x (+ y (* -1 z))) |
(* x (+ y (+ (* -1 z) (/ z x)))) |
(* -1 (* x z)) |
(* x (+ (* -1 z) (/ z x))) |
(* -1 x) |
(* x (- (/ 1 x) 1)) |
(* -1 (* x (+ z (* -1 y)))) |
(* -1 (* x (+ z (+ (* -1 y) (* -1 (/ z x)))))) |
(* -1 (* x (+ z (* -1 (/ z x))))) |
(* -1 (* x (- 1 (/ 1 x)))) |
(* z (- 1 x)) |
(+ (* x y) (* z (- 1 x))) |
(* x y) |
(* y (+ x (/ (* z (- 1 x)) y))) |
(* -1 (* y (+ (* -1 x) (* -1 (/ (* z (- 1 x)) y))))) |
(* z (- (+ 1 (/ (* x y) z)) x)) |
(* -1 (* z (+ (* -1 (- 1 x)) (* -1 (/ (* x y) z))))) |
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | z | @ | inf | ((+ (* x y) (* (- 1 x) z)) (* (- 1 x) z) (- 1 x)) |
| 0.0ms | z | @ | -inf | ((+ (* x y) (* (- 1 x) z)) (* (- 1 x) z) (- 1 x)) |
| 0.0ms | x | @ | -inf | ((+ (* x y) (* (- 1 x) z)) (* (- 1 x) z) (- 1 x)) |
| 0.0ms | x | @ | inf | ((+ (* x y) (* (- 1 x) z)) (* (- 1 x) z) (- 1 x)) |
| 0.0ms | y | @ | -inf | ((+ (* x y) (* (- 1 x) z)) (* (- 1 x) z) (- 1 x)) |
| 1× | egg-herbie |
| Inputs |
|---|
z |
(+ z (* x (+ y (* -1 z)))) |
(+ z (* -1 (* x z))) |
1 |
(+ 1 (* -1 x)) |
(* x (+ y (* -1 z))) |
(* x (+ y (+ (* -1 z) (/ z x)))) |
(* -1 (* x z)) |
(* x (+ (* -1 z) (/ z x))) |
(* -1 x) |
(* x (- (/ 1 x) 1)) |
(* -1 (* x (+ z (* -1 y)))) |
(* -1 (* x (+ z (+ (* -1 y) (* -1 (/ z x)))))) |
(* -1 (* x (+ z (* -1 (/ z x))))) |
(* -1 (* x (- 1 (/ 1 x)))) |
(* z (- 1 x)) |
(+ (* x y) (* z (- 1 x))) |
(* x y) |
(* y (+ x (/ (* z (- 1 x)) y))) |
(* -1 (* y (+ (* -1 x) (* -1 (/ (* z (- 1 x)) y))))) |
(* z (- (+ 1 (/ (* x y) z)) x)) |
(* -1 (* z (+ (* -1 (- 1 x)) (* -1 (/ (* x y) z))))) |
| Outputs |
|---|
z |
#s(approx (+ (* x y) (* (- 1 x) z)) #s(approx (* (- 1 x) z) (-.f64 #s(literal 1 binary64) x))) |
(+ z (* x (+ y (* -1 z)))) |
#s(approx (* (- 1 x) z) (-.f64 #s(literal 1 binary64) x)) |
(+ z (* -1 (* x z))) |
(-.f64 #s(literal 1 binary64) x) |
| Inputs |
|---|
#s(approx (+ (* x y) (* (- 1 x) z)) #s(approx (* (- 1 x) z) (-.f64 #s(literal 1 binary64) x))) |
#s(approx (* (- 1 x) z) (-.f64 #s(literal 1 binary64) x)) |
(-.f64 #s(literal 1 binary64) x) |
| Outputs |
|---|
#s(approx (+ (* x y) (* (- 1 x) z)) #s(approx (* (- 1 x) z) (-.f64 #s(literal 1 binary64) x))) |
#s(approx (* (- 1 x) z) (-.f64 #s(literal 1 binary64) x)) |
(-.f64 #s(literal 1 binary64) x) |
Compiled 86 to 13 computations (84.9% 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 |
|---|---|---|
| ✓ | 98.4% | (+.f64 (*.f64 x y) (*.f64 (-.f64 #s(literal 1 binary64) x) z)) |
| ✓ | 21.1% | (+.f64 #s(approx (* x y) (*.f64 (-.f64 #s(literal 1 binary64) x) z)) (*.f64 (-.f64 #s(literal 1 binary64) x) z)) |
| ✓ | 44.5% | #s(approx (+ (* x y) (* (- 1 x) z)) (*.f64 x y)) |
| ✓ | 3.3% | #s(approx (+ (* x y) (* (- 1 x) z)) #s(approx (* (- 1 x) z) (-.f64 #s(literal 1 binary64) x))) |
Compiled 125 to 58 computations (53.6% saved)
| Inputs |
|---|
#s(approx (+ (* x y) (* (- 1 x) z)) #s(approx (* (- 1 x) z) (-.f64 #s(literal 1 binary64) x))) |
#s(approx (+ (* x y) (* (- 1 x) z)) (*.f64 x y)) |
(+.f64 (*.f64 x y) #s(approx (* (- 1 x) z) (-.f64 #s(literal 1 binary64) x))) |
(+.f64 (*.f64 x y) (*.f64 (-.f64 #s(literal 1 binary64) x) z)) |
(+.f64 #s(approx (* x y) (*.f64 (-.f64 #s(literal 1 binary64) x) z)) (*.f64 (-.f64 #s(literal 1 binary64) x) z)) |
| Outputs |
|---|
(+.f64 (*.f64 x y) (*.f64 (-.f64 #s(literal 1 binary64) x) z)) |
4 calls:
| 10.0ms | z |
| 2.0ms | y |
| 2.0ms | (+.f64 (*.f64 x y) (*.f64 (-.f64 #s(literal 1 binary64) x) z)) |
| 2.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 98.4% | 1 | x |
| 98.4% | 1 | y |
| 98.4% | 1 | z |
| 98.4% | 1 | (+.f64 (*.f64 x y) (*.f64 (-.f64 #s(literal 1 binary64) x) z)) |
Compiled 12 to 17 computations (-41.7% saved)
| Inputs |
|---|
#s(approx (+ (* x y) (* (- 1 x) z)) #s(approx (* (- 1 x) z) (-.f64 #s(literal 1 binary64) x))) |
#s(approx (+ (* x y) (* (- 1 x) z)) (*.f64 x y)) |
(+.f64 (*.f64 x y) #s(approx (* (- 1 x) z) (-.f64 #s(literal 1 binary64) x))) |
| Outputs |
|---|
#s(approx (+ (* x y) (* (- 1 x) z)) (*.f64 x y)) |
4 calls:
| 2.0ms | (+.f64 (*.f64 x y) (*.f64 (-.f64 #s(literal 1 binary64) x) z)) |
| 2.0ms | y |
| 2.0ms | x |
| 2.0ms | z |
| Accuracy | Segments | Branch |
|---|---|---|
| 44.5% | 1 | x |
| 44.5% | 1 | y |
| 44.5% | 1 | z |
| 44.5% | 1 | (+.f64 (*.f64 x y) (*.f64 (-.f64 #s(literal 1 binary64) x) z)) |
Compiled 12 to 17 computations (-41.7% saved)
Total -0.0b remaining (-0%)
Threshold costs -0b (-0%)
| Inputs |
|---|
#s(approx (+ (* x y) (* (- 1 x) z)) #s(approx (* (- 1 x) z) (-.f64 #s(literal 1 binary64) x))) |
| Outputs |
|---|
#s(approx (+ (* x y) (* (- 1 x) z)) #s(approx (* (- 1 x) z) (-.f64 #s(literal 1 binary64) x))) |
4 calls:
| 5.0ms | z |
| 1.0ms | (+.f64 (*.f64 x y) (*.f64 (-.f64 #s(literal 1 binary64) x) z)) |
| 1.0ms | y |
| 1.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 3.3% | 1 | z |
| 3.3% | 1 | y |
| 3.3% | 1 | x |
| 3.3% | 1 | (+.f64 (*.f64 x y) (*.f64 (-.f64 #s(literal 1 binary64) x) z)) |
Compiled 12 to 17 computations (-41.7% saved)
| 1× | egg-herbie |
| Inputs |
|---|
(+.f64 (*.f64 x y) (*.f64 (-.f64 #s(literal 1 binary64) x) z)) |
#s(approx (+ (* x y) (* (- 1 x) z)) (*.f64 x y)) |
#s(approx (+ (* x y) (* (- 1 x) z)) #s(approx (* (- 1 x) z) (-.f64 #s(literal 1 binary64) x))) |
| Outputs |
|---|
(+.f64 (*.f64 x y) (*.f64 (-.f64 #s(literal 1 binary64) x) z)) |
#s(approx (+ (* x y) (* (- 1 x) z)) (*.f64 x y)) |
#s(approx (+ (* x y) (* (- 1 x) z)) #s(approx (* (- 1 x) z) (-.f64 #s(literal 1 binary64) x))) |
| 1× | done |
Compiled 41 to 16 computations (61% saved)
Compiled 100 to 48 computations (52% saved)
Loading profile data...