
Time bar (total: 903.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)
| 438.0ms | 8 256× | 0 | valid |
ival-mult: 130.0ms (55.7% of total)ival-add: 46.0ms (19.7% of total)ival-sub: 42.0ms (18% of total)ival-true: 7.0ms (3% of total)exact: 5.0ms (2.1% of total)ival-assert: 3.0ms (1.3% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 5 | 0 | - | 0 | - | (+.f64 (*.f64 x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
| 0 | 0 | - | 0 | - | (*.f64 (-.f64 x #s(literal 1 binary64)) z) |
| 0 | 0 | - | 0 | - | y |
| 0 | 0 | - | 0 | - | (-.f64 x #s(literal 1 binary64)) |
| 0 | 0 | - | 0 | - | #s(literal 1 binary64) |
| 0 | 0 | - | 0 | - | z |
| 0 | 0 | - | 0 | - | (*.f64 x y) |
| 0 | 0 | - | 0 | - | x |
| Operator | Subexpression | Explanation | Count | |
|---|---|---|---|---|
+.f64 | (+.f64 (*.f64 x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) | nan-rescue | 5 | 0 |
| ↳ | (*.f64 x y) | overflow | 28 | |
| ↳ | (*.f64 (-.f64 x #s(literal 1 binary64)) z) | overflow | 30 |
| Predicted + | Predicted - | |
|---|---|---|
| + | 5 | 0 |
| - | 0 | 251 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 5 | 0 | 0 |
| - | 0 | 0 | 251 |
| number | freq |
|---|---|
| 0 | 251 |
| 1 | 5 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 1 | 0 | 0 |
| - | 0 | 0 | 0 |
| 29.0ms | 512× | 0 | valid |
Compiled 85 to 36 computations (57.6% saved)
ival-mult: 8.0ms (57.4% of total)ival-sub: 3.0ms (21.5% of total)ival-add: 2.0ms (14.3% 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 x #s(literal 1 binary64)) z)) |
| Outputs |
|---|
(+.f64 (*.f64 x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
Compiled 9 to 8 computations (11.1% saved)
Compiled 0 to 3 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 98.0% | (+.f64 (*.f64 x y) (*.f64 (-.f64 x #s(literal 1 binary64)) 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 x #s(literal 1 binary64)) | |
| cost-diff | 0 | (*.f64 (-.f64 x #s(literal 1 binary64)) z) | |
| cost-diff | 0 | (*.f64 x y) | |
| cost-diff | 0 | (+.f64 (*.f64 x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
| Inputs |
|---|
(+.f64 (*.f64 x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
(*.f64 x y) |
x |
y |
(*.f64 (-.f64 x #s(literal 1 binary64)) z) |
(-.f64 x #s(literal 1 binary64)) |
#s(literal 1 binary64) |
z |
| Outputs |
|---|
(+.f64 (*.f64 x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
(*.f64 x y) |
x |
y |
(*.f64 (-.f64 x #s(literal 1 binary64)) z) |
(-.f64 x #s(literal 1 binary64)) |
#s(literal 1 binary64) |
z |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (-.f64 x #s(literal 1 binary64)) | |
| accuracy | 0.0 | (*.f64 x y) | |
| accuracy | 0.0078125 | (*.f64 (-.f64 x #s(literal 1 binary64)) z) | |
| accuracy | 1.1679625574906174 | (+.f64 (*.f64 x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
| 16.0ms | 256× | 0 | valid |
Compiled 50 to 18 computations (64% saved)
ival-mult: 4.0ms (61.9% 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 |
|---|
(+.f64 (*.f64 x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
(*.f64 x y) |
(*.f64 (-.f64 x #s(literal 1 binary64)) z) |
(-.f64 x #s(literal 1 binary64)) |
| Outputs |
|---|
(* -1 z) |
(+ (* -1 z) (* x (+ y z))) |
(* x y) |
(+ (* -1 z) (* x z)) |
-1 |
(- x 1) |
(* x (+ y z)) |
(* x (+ y (+ z (* -1 (/ z x))))) |
(* x z) |
(* x (+ z (* -1 (/ z x)))) |
x |
(* x (- 1 (/ 1 x))) |
(* -1 (* x (+ (* -1 y) (* -1 z)))) |
(* -1 (* x (+ (* -1 y) (+ (* -1 z) (/ z x))))) |
(* -1 (* x (+ (* -1 z) (/ z x)))) |
(* -1 (* x (- (/ 1 x) 1))) |
(* z (- x 1)) |
(+ (* x y) (* z (- x 1))) |
(* y (+ x (/ (* z (- x 1)) y))) |
(* -1 (* y (+ (* -1 x) (* -1 (/ (* z (- x 1)) y))))) |
(* z (- (+ x (/ (* x y) z)) 1)) |
(* -1 (* z (+ (* -1 (- x 1)) (* -1 (/ (* x y) z))))) |
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | ((+ (* x y) (* (- x 1) z)) (* x y) (* (- x 1) z) (- x 1)) |
| 1.0ms | z | @ | 0 | ((+ (* x y) (* (- x 1) z)) (* x y) (* (- x 1) z) (- x 1)) |
| 1.0ms | x | @ | inf | ((+ (* x y) (* (- x 1) z)) (* x y) (* (- x 1) z) (- x 1)) |
| 1.0ms | x | @ | 0 | ((+ (* x y) (* (- x 1) z)) (* x y) (* (- x 1) z) (- x 1)) |
| 1.0ms | z | @ | inf | ((+ (* x y) (* (- x 1) z)) (* x y) (* (- x 1) z) (- x 1)) |
| 1× | egg-herbie |
| Inputs |
|---|
(* -1 z) |
(+ (* -1 z) (* x (+ y z))) |
(* x y) |
(+ (* -1 z) (* x z)) |
-1 |
(- x 1) |
(* x (+ y z)) |
(* x (+ y (+ z (* -1 (/ z x))))) |
(* x z) |
(* x (+ z (* -1 (/ z x)))) |
x |
(* x (- 1 (/ 1 x))) |
(* -1 (* x (+ (* -1 y) (* -1 z)))) |
(* -1 (* x (+ (* -1 y) (+ (* -1 z) (/ z x))))) |
(* -1 (* x (+ (* -1 z) (/ z x)))) |
(* -1 (* x (- (/ 1 x) 1))) |
(* z (- x 1)) |
(+ (* x y) (* z (- x 1))) |
(* y (+ x (/ (* z (- x 1)) y))) |
(* -1 (* y (+ (* -1 x) (* -1 (/ (* z (- x 1)) y))))) |
(* z (- (+ x (/ (* x y) z)) 1)) |
(* -1 (* z (+ (* -1 (- x 1)) (* -1 (/ (* x y) z))))) |
| Outputs |
|---|
(* -1 z) |
(+.f64 (*.f64 x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
(+ (* -1 z) (* x (+ y z))) |
(*.f64 x y) |
(* x y) |
(*.f64 (-.f64 x #s(literal 1 binary64)) z) |
(+ (* -1 z) (* x z)) |
(-.f64 x #s(literal 1 binary64)) |
| Inputs |
|---|
(+.f64 (*.f64 x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
(*.f64 x y) |
(*.f64 (-.f64 x #s(literal 1 binary64)) z) |
(-.f64 x #s(literal 1 binary64)) |
| Outputs |
|---|
(+.f64 (*.f64 x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
(*.f64 x y) |
(*.f64 (-.f64 x #s(literal 1 binary64)) z) |
(-.f64 x #s(literal 1 binary64)) |
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.0% | (+.f64 (*.f64 x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
| ▶ | 31.0% | (+.f64 (*.f64 x y) #s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64)))) |
| ▶ | 20.8% | (+.f64 #s(approx (* x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
| ▶ | 44.1% | #s(approx (+ (* x y) (* (- x 1) 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 x #s(literal 1 binary64)) | |
| cost-diff | 0 | #s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64))) | |
| cost-diff | 0 | (*.f64 x y) | |
| cost-diff | 0 | (+.f64 (*.f64 x y) #s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64)))) | |
| cost-diff | 0 | (-.f64 x #s(literal 1 binary64)) | |
| cost-diff | 0 | (*.f64 (-.f64 x #s(literal 1 binary64)) z) | |
| cost-diff | 0 | #s(approx (* x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) | |
| cost-diff | 0 | (+.f64 #s(approx (* x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) | |
| cost-diff | 0 | (*.f64 x y) | |
| cost-diff | 0 | #s(approx (+ (* x y) (* (- x 1) z)) (*.f64 x y)) |
| Inputs |
|---|
#s(approx (+ (* x y) (* (- x 1) z)) (*.f64 x y)) |
(*.f64 x y) |
x |
y |
(+.f64 #s(approx (* x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
#s(approx (* x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
(*.f64 (-.f64 x #s(literal 1 binary64)) z) |
(-.f64 x #s(literal 1 binary64)) |
x |
#s(literal 1 binary64) |
z |
(+.f64 (*.f64 x y) #s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64)))) |
(*.f64 x y) |
x |
y |
#s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64))) |
(-.f64 x #s(literal 1 binary64)) |
#s(literal 1 binary64) |
| Outputs |
|---|
#s(approx (+ (* x y) (* (- x 1) z)) (*.f64 x y)) |
(*.f64 x y) |
x |
y |
(+.f64 #s(approx (* x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
#s(approx (* x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
(*.f64 (-.f64 x #s(literal 1 binary64)) z) |
(-.f64 x #s(literal 1 binary64)) |
x |
#s(literal 1 binary64) |
z |
(+.f64 (*.f64 x y) #s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64)))) |
(*.f64 x y) |
x |
y |
#s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64))) |
(-.f64 x #s(literal 1 binary64)) |
#s(literal 1 binary64) |
Found 10 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (-.f64 x #s(literal 1 binary64)) | |
| accuracy | 0.0 | (*.f64 x y) | |
| accuracy | 1.1679625574906174 | (+.f64 (*.f64 x y) #s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64)))) | |
| accuracy | 61.60632982114133 | #s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64))) | |
| accuracy | 0.0 | (-.f64 x #s(literal 1 binary64)) | |
| accuracy | 0.0078125 | (*.f64 (-.f64 x #s(literal 1 binary64)) z) | |
| accuracy | 1.1679625574906174 | (+.f64 #s(approx (* x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) | |
| accuracy | 61.45474407831783 | #s(approx (* x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) | |
| accuracy | 0.0 | (*.f64 x y) | |
| accuracy | 35.805457946440754 | #s(approx (+ (* x y) (* (- x 1) z)) (*.f64 x y)) |
| 16.0ms | 256× | 0 | valid |
Compiled 146 to 27 computations (81.5% saved)
ival-mult: 4.0ms (62.2% of total)ival-sub: 1.0ms (15.6% of total)ival-add: 1.0ms (15.6% 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) (* (- x 1) z)) (*.f64 x y)) |
(*.f64 x y) |
(+.f64 #s(approx (* x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
#s(approx (* x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
(*.f64 (-.f64 x #s(literal 1 binary64)) z) |
(-.f64 x #s(literal 1 binary64)) |
(+.f64 (*.f64 x y) #s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64)))) |
#s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64))) |
| Outputs |
|---|
(* -1 z) |
(+ (* -1 z) (* x (+ y z))) |
(* x y) |
(+ (* -1 z) (* x z)) |
-1 |
(- x 1) |
(* x (+ y z)) |
(* x (+ y (+ z (* -1 (/ z x))))) |
(* x z) |
(* x (+ z (* -1 (/ z x)))) |
x |
(* x (- 1 (/ 1 x))) |
(* -1 (* x (+ (* -1 y) (* -1 z)))) |
(* -1 (* x (+ (* -1 y) (+ (* -1 z) (/ z x))))) |
(* -1 (* x (+ (* -1 z) (/ z x)))) |
(* -1 (* x (- (/ 1 x) 1))) |
(* z (- x 1)) |
(+ (* x y) (* z (- x 1))) |
(* y (+ x (/ (* z (- x 1)) y))) |
(* -1 (* y (+ (* -1 x) (* -1 (/ (* z (- x 1)) y))))) |
(* z (- (+ x (/ (* x y) z)) 1)) |
(* -1 (* z (+ (* -1 (- x 1)) (* -1 (/ (* x y) z))))) |
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | ((+ (* x y) (* (- x 1) z)) (* x y) (+ (* x y) (* (- x 1) z)) (* x y) (* (- x 1) z) (- x 1) (+ (* x y) (* (- x 1) z)) (* (- x 1) z)) |
| 0.0ms | z | @ | inf | ((+ (* x y) (* (- x 1) z)) (* x y) (+ (* x y) (* (- x 1) z)) (* x y) (* (- x 1) z) (- x 1) (+ (* x y) (* (- x 1) z)) (* (- x 1) z)) |
| 0.0ms | x | @ | inf | ((+ (* x y) (* (- x 1) z)) (* x y) (+ (* x y) (* (- x 1) z)) (* x y) (* (- x 1) z) (- x 1) (+ (* x y) (* (- x 1) z)) (* (- x 1) z)) |
| 0.0ms | z | @ | -inf | ((+ (* x y) (* (- x 1) z)) (* x y) (+ (* x y) (* (- x 1) z)) (* x y) (* (- x 1) z) (- x 1) (+ (* x y) (* (- x 1) z)) (* (- x 1) z)) |
| 0.0ms | y | @ | -inf | ((+ (* x y) (* (- x 1) z)) (* x y) (+ (* x y) (* (- x 1) z)) (* x y) (* (- x 1) z) (- x 1) (+ (* x y) (* (- x 1) z)) (* (- x 1) z)) |
| 1× | egg-herbie |
| Inputs |
|---|
(* -1 z) |
(+ (* -1 z) (* x (+ y z))) |
(* x y) |
(+ (* -1 z) (* x z)) |
-1 |
(- x 1) |
(* x (+ y z)) |
(* x (+ y (+ z (* -1 (/ z x))))) |
(* x z) |
(* x (+ z (* -1 (/ z x)))) |
x |
(* x (- 1 (/ 1 x))) |
(* -1 (* x (+ (* -1 y) (* -1 z)))) |
(* -1 (* x (+ (* -1 y) (+ (* -1 z) (/ z x))))) |
(* -1 (* x (+ (* -1 z) (/ z x)))) |
(* -1 (* x (- (/ 1 x) 1))) |
(* z (- x 1)) |
(+ (* x y) (* z (- x 1))) |
(* y (+ x (/ (* z (- x 1)) y))) |
(* -1 (* y (+ (* -1 x) (* -1 (/ (* z (- x 1)) y))))) |
(* z (- (+ x (/ (* x y) z)) 1)) |
(* -1 (* z (+ (* -1 (- x 1)) (* -1 (/ (* x y) z))))) |
| Outputs |
|---|
(* -1 z) |
#s(approx (+ (* x y) (* (- x 1) z)) (*.f64 x y)) |
(+ (* -1 z) (* x (+ y z))) |
(*.f64 x y) |
(* x y) |
(+.f64 #s(approx (* x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
(+ (* -1 z) (* x z)) |
#s(approx (* x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
-1 |
(*.f64 (-.f64 x #s(literal 1 binary64)) z) |
(- x 1) |
(-.f64 x #s(literal 1 binary64)) |
(* x (+ y z)) |
(+.f64 (*.f64 x y) #s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64)))) |
(* x (+ y (+ z (* -1 (/ z x))))) |
#s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64))) |
| Inputs |
|---|
#s(approx (+ (* x y) (* (- x 1) z)) (*.f64 x y)) |
(*.f64 x y) |
(+.f64 #s(approx (* x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
#s(approx (* x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
(*.f64 (-.f64 x #s(literal 1 binary64)) z) |
(-.f64 x #s(literal 1 binary64)) |
(+.f64 (*.f64 x y) #s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64)))) |
#s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64))) |
| Outputs |
|---|
#s(approx (+ (* x y) (* (- x 1) z)) (*.f64 x y)) |
(*.f64 x y) |
(+.f64 #s(approx (* x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
#s(approx (* x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
(*.f64 (-.f64 x #s(literal 1 binary64)) z) |
(-.f64 x #s(literal 1 binary64)) |
(+.f64 (*.f64 x y) #s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64)))) |
#s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64))) |
Compiled 457 to 41 computations (91% saved)
5 alts after pruning (1 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 24 | 1 | 25 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 3 | 3 |
| Done | 0 | 1 | 1 |
| Total | 24 | 5 | 29 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 98.0% | (+.f64 (*.f64 x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
| ✓ | 31.0% | (+.f64 (*.f64 x y) #s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64)))) |
| ✓ | 20.8% | (+.f64 #s(approx (* x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
| ✓ | 44.1% | #s(approx (+ (* x y) (* (- x 1) z)) (*.f64 x y)) |
| ▶ | 3.7% | #s(approx (+ (* x y) (* (- x 1) z)) #s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64)))) |
Compiled 69 to 50 computations (27.5% saved)
| 1× | egg-herbie |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (-.f64 x #s(literal 1 binary64)) | |
| cost-diff | 0 | #s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64))) | |
| cost-diff | 0 | #s(approx (+ (* x y) (* (- x 1) z)) #s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64)))) |
| Inputs |
|---|
#s(approx (+ (* x y) (* (- x 1) z)) #s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64)))) |
#s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64))) |
(-.f64 x #s(literal 1 binary64)) |
x |
#s(literal 1 binary64) |
| Outputs |
|---|
#s(approx (+ (* x y) (* (- x 1) z)) #s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64)))) |
#s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64))) |
(-.f64 x #s(literal 1 binary64)) |
x |
#s(literal 1 binary64) |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (-.f64 x #s(literal 1 binary64)) | |
| accuracy | 27.540812022550085 | #s(approx (+ (* x y) (* (- x 1) z)) #s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64)))) | |
| accuracy | 61.60632982114133 | #s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64))) |
| 14.0ms | 256× | 0 | valid |
Compiled 54 to 22 computations (59.3% saved)
ival-mult: 3.0ms (39.8% of total)ival-add: 2.0ms (26.5% of total)ival-sub: 1.0ms (13.3% 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) (* (- x 1) z)) #s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64)))) |
#s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64))) |
(-.f64 x #s(literal 1 binary64)) |
| Outputs |
|---|
(* -1 z) |
(+ (* -1 z) (* x (+ y z))) |
(+ (* -1 z) (* x z)) |
-1 |
(- x 1) |
(* x (+ y z)) |
(* x (+ y (+ z (* -1 (/ z x))))) |
(* x z) |
(* x (+ z (* -1 (/ z x)))) |
x |
(* x (- 1 (/ 1 x))) |
(* -1 (* x (+ (* -1 y) (* -1 z)))) |
(* -1 (* x (+ (* -1 y) (+ (* -1 z) (/ z x))))) |
(* -1 (* x (+ (* -1 z) (/ z x)))) |
(* -1 (* x (- (/ 1 x) 1))) |
(* z (- x 1)) |
(+ (* x y) (* z (- x 1))) |
(* x y) |
(* y (+ x (/ (* z (- x 1)) y))) |
(* -1 (* y (+ (* -1 x) (* -1 (/ (* z (- x 1)) y))))) |
(* z (- (+ x (/ (* x y) z)) 1)) |
(* -1 (* z (+ (* -1 (- x 1)) (* -1 (/ (* x y) z))))) |
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | -inf | ((+ (* x y) (* (- x 1) z)) (* (- x 1) z) (- x 1)) |
| 0.0ms | z | @ | inf | ((+ (* x y) (* (- x 1) z)) (* (- x 1) z) (- x 1)) |
| 0.0ms | z | @ | -inf | ((+ (* x y) (* (- x 1) z)) (* (- x 1) z) (- x 1)) |
| 0.0ms | x | @ | inf | ((+ (* x y) (* (- x 1) z)) (* (- x 1) z) (- x 1)) |
| 0.0ms | z | @ | 0 | ((+ (* x y) (* (- x 1) z)) (* (- x 1) z) (- x 1)) |
| 1× | egg-herbie |
| Inputs |
|---|
(* -1 z) |
(+ (* -1 z) (* x (+ y z))) |
(+ (* -1 z) (* x z)) |
-1 |
(- x 1) |
(* x (+ y z)) |
(* x (+ y (+ z (* -1 (/ z x))))) |
(* x z) |
(* x (+ z (* -1 (/ z x)))) |
x |
(* x (- 1 (/ 1 x))) |
(* -1 (* x (+ (* -1 y) (* -1 z)))) |
(* -1 (* x (+ (* -1 y) (+ (* -1 z) (/ z x))))) |
(* -1 (* x (+ (* -1 z) (/ z x)))) |
(* -1 (* x (- (/ 1 x) 1))) |
(* z (- x 1)) |
(+ (* x y) (* z (- x 1))) |
(* x y) |
(* y (+ x (/ (* z (- x 1)) y))) |
(* -1 (* y (+ (* -1 x) (* -1 (/ (* z (- x 1)) y))))) |
(* z (- (+ x (/ (* x y) z)) 1)) |
(* -1 (* z (+ (* -1 (- x 1)) (* -1 (/ (* x y) z))))) |
| Outputs |
|---|
(* -1 z) |
#s(approx (+ (* x y) (* (- x 1) z)) #s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64)))) |
(+ (* -1 z) (* x (+ y z))) |
#s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64))) |
(+ (* -1 z) (* x z)) |
(-.f64 x #s(literal 1 binary64)) |
| Inputs |
|---|
#s(approx (+ (* x y) (* (- x 1) z)) #s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64)))) |
#s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64))) |
(-.f64 x #s(literal 1 binary64)) |
| Outputs |
|---|
#s(approx (+ (* x y) (* (- x 1) z)) #s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64)))) |
#s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64))) |
(-.f64 x #s(literal 1 binary64)) |
Compiled 86 to 13 computations (84.9% saved)
5 alts after pruning (0 fresh and 5 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 4 | 0 | 4 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 4 | 4 |
| Total | 4 | 5 | 9 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 98.0% | (+.f64 (*.f64 x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
| ✓ | 31.0% | (+.f64 (*.f64 x y) #s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64)))) |
| ✓ | 20.8% | (+.f64 #s(approx (* x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
| ✓ | 44.1% | #s(approx (+ (* x y) (* (- x 1) z)) (*.f64 x y)) |
| ✓ | 3.7% | #s(approx (+ (* x y) (* (- x 1) z)) #s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64)))) |
Compiled 138 to 69 computations (50% saved)
| Inputs |
|---|
#s(approx (+ (* x y) (* (- x 1) z)) #s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64)))) |
#s(approx (+ (* x y) (* (- x 1) z)) (*.f64 x y)) |
(+.f64 (*.f64 x y) #s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64)))) |
(+.f64 (*.f64 x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
(+.f64 #s(approx (* x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
| Outputs |
|---|
(+.f64 (*.f64 x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
4 calls:
| 3.0ms | (+.f64 (*.f64 x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
| 2.0ms | z |
| 2.0ms | x |
| 2.0ms | y |
| Accuracy | Segments | Branch |
|---|---|---|
| 98.0% | 1 | x |
| 98.0% | 1 | y |
| 98.0% | 1 | z |
| 98.0% | 1 | (+.f64 (*.f64 x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
Compiled 12 to 17 computations (-41.7% saved)
| Inputs |
|---|
#s(approx (+ (* x y) (* (- x 1) z)) #s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64)))) |
#s(approx (+ (* x y) (* (- x 1) z)) (*.f64 x y)) |
(+.f64 (*.f64 x y) #s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64)))) |
| Outputs |
|---|
#s(approx (+ (* x y) (* (- x 1) z)) (*.f64 x y)) |
4 calls:
| 2.0ms | (+.f64 (*.f64 x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
| 2.0ms | z |
| 2.0ms | x |
| 2.0ms | y |
| Accuracy | Segments | Branch |
|---|---|---|
| 44.1% | 1 | x |
| 44.1% | 1 | y |
| 44.1% | 1 | z |
| 44.1% | 1 | (+.f64 (*.f64 x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
Compiled 12 to 17 computations (-41.7% saved)
Total 0.0b remaining (0%)
Threshold costs 0b (0%)
| Inputs |
|---|
#s(approx (+ (* x y) (* (- x 1) z)) #s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64)))) |
| Outputs |
|---|
#s(approx (+ (* x y) (* (- x 1) z)) #s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64)))) |
4 calls:
| 1.0ms | (+.f64 (*.f64 x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
| 1.0ms | x |
| 1.0ms | y |
| 1.0ms | z |
| Accuracy | Segments | Branch |
|---|---|---|
| 3.7% | 1 | y |
| 3.7% | 1 | z |
| 3.7% | 1 | (+.f64 (*.f64 x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
| 3.7% | 1 | x |
Compiled 12 to 17 computations (-41.7% saved)
| 1× | egg-herbie |
| Inputs |
|---|
(+.f64 (*.f64 x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
#s(approx (+ (* x y) (* (- x 1) z)) (*.f64 x y)) |
#s(approx (+ (* x y) (* (- x 1) z)) #s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64)))) |
| Outputs |
|---|
(+.f64 (*.f64 x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
#s(approx (+ (* x y) (* (- x 1) z)) (*.f64 x y)) |
#s(approx (+ (* x y) (* (- x 1) z)) #s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64)))) |
| 1× | done |
Compiled 41 to 16 computations (61% saved)
Compiled 100 to 48 computations (52% saved)
Loading profile data...