
Time bar (total: 885.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)
| 435.0ms | 8 256× | 0 | valid |
ival-mult: 131.0ms (56.9% of total)ival-sub: 51.0ms (22.1% of total)ival-add: 35.0ms (15.2% of total)ival-true: 5.0ms (2.2% of total)exact: 5.0ms (2.2% of total)ival-assert: 3.0ms (1.3% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 9 | 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 | 9 | 0 |
| ↳ | (*.f64 x y) | overflow | 35 | |
| ↳ | (*.f64 (-.f64 x #s(literal 1 binary64)) z) | overflow | 30 |
| Predicted + | Predicted - | |
|---|---|---|
| + | 9 | 0 |
| - | 0 | 247 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 9 | 0 | 0 |
| - | 0 | 0 | 247 |
| number | freq |
|---|---|
| 0 | 247 |
| 1 | 9 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 1 | 0 | 0 |
| - | 0 | 0 | 0 |
| 32.0ms | 512× | 0 | valid |
Compiled 85 to 36 computations (57.6% saved)
ival-mult: 6.0ms (41.4% of total)ival-add: 4.0ms (27.6% of total)ival-sub: 3.0ms (20.7% 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 |
|---|---|---|
| ▶ | 96.4% | (+.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.9179646216604118 | (+.f64 (*.f64 x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
| 13.0ms | 256× | 0 | valid |
Compiled 50 to 18 computations (64% saved)
ival-mult: 3.0ms (50.4% of total)ival-sub: 1.0ms (16.8% of total)ival-add: 1.0ms (16.8% 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 |
|---|---|---|
| ✓ | 96.4% | (+.f64 (*.f64 x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
| ▶ | 30.5% | (+.f64 (*.f64 x y) #s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64)))) |
| ▶ | 19.8% | (+.f64 #s(approx (* x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
| ▶ | 44.3% | #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.9179646216604118 | (+.f64 (*.f64 x y) #s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64)))) | |
| accuracy | 61.85680436312266 | #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.9179646216604118 | (+.f64 #s(approx (* x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) | |
| accuracy | 60.817066460504364 | #s(approx (* x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) | |
| accuracy | 0.0 | (*.f64 x y) | |
| accuracy | 35.65472869076639 | #s(approx (+ (* x y) (* (- x 1) z)) (*.f64 x y)) |
| 19.0ms | 256× | 0 | valid |
Compiled 146 to 27 computations (81.5% saved)
ival-mult: 7.0ms (74.6% of total)ival-sub: 1.0ms (10.7% of total)ival-add: 1.0ms (10.7% 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 | |
|---|---|---|---|---|
| 3.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)) |
| 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 | 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 |
|---|---|---|
| ✓ | 96.4% | (+.f64 (*.f64 x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
| ✓ | 30.5% | (+.f64 (*.f64 x y) #s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64)))) |
| ✓ | 19.8% | (+.f64 #s(approx (* x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
| ✓ | 44.3% | #s(approx (+ (* x y) (* (- x 1) z)) (*.f64 x y)) |
| ▶ | 3.5% | #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 | 26.64800396790333 | #s(approx (+ (* x y) (* (- x 1) z)) #s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64)))) | |
| accuracy | 61.85680436312266 | #s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64))) |
| 13.0ms | 256× | 0 | valid |
Compiled 54 to 22 computations (59.3% saved)
ival-mult: 4.0ms (57.1% of total)ival-sub: 1.0ms (14.3% of total)ival-add: 1.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)| 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 | 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 | @ | 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 |
|---|---|---|
| ✓ | 96.4% | (+.f64 (*.f64 x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
| ✓ | 30.5% | (+.f64 (*.f64 x y) #s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64)))) |
| ✓ | 19.8% | (+.f64 #s(approx (* x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
| ✓ | 44.3% | #s(approx (+ (* x y) (* (- x 1) z)) (*.f64 x y)) |
| ✓ | 3.5% | #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)) |
(+.f64 (*.f64 x y) #s(approx (* (- x 1) z) (-.f64 x #s(literal 1 binary64)))) |
4 calls:
| 2.0ms | y |
| 2.0ms | x |
| 2.0ms | (+.f64 (*.f64 x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
| 2.0ms | z |
| Accuracy | Segments | Branch |
|---|---|---|
| 96.4% | 1 | x |
| 96.4% | 1 | y |
| 96.4% | 1 | z |
| 98.8% | 2 | (+.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 | y |
| 2.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 44.3% | 1 | x |
| 44.3% | 1 | y |
| 44.3% | 1 | z |
| 44.3% | 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)))) |
| 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 | z |
| 1.0ms | y |
| 1.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 3.5% | 1 | x |
| 3.5% | 1 | y |
| 3.5% | 1 | (+.f64 (*.f64 x y) (*.f64 (-.f64 x #s(literal 1 binary64)) z)) |
| 3.5% | 1 | z |
Compiled 12 to 17 computations (-41.7% saved)
| 1× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | +inf | NaN |
Compiled 12 to 14 computations (-16.7% saved)
Loading profile data...