
Time bar (total: 975.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)
| 453.0ms | 8 256× | 0 | valid |
ival-mult: 116.0ms (50.8% of total)ival-sub: 61.0ms (26.7% of total)ival-add: 37.0ms (16.2% of total)ival-true: 6.0ms (2.6% of total)exact: 5.0ms (2.2% of total)ival-assert: 4.0ms (1.8% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 2 | 0 | - | 0 | - | (+.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) y) (*.f64 x z)) |
| 0 | 0 | - | 0 | - | y |
| 0 | 0 | - | 0 | - | (*.f64 (-.f64 #s(literal 1 binary64) x) 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 z) |
| 0 | 0 | - | 0 | - | x |
| Operator | Subexpression | Explanation | Count | |
|---|---|---|---|---|
+.f64 | (+.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) y) (*.f64 x z)) | nan-rescue | 2 | 0 |
| ↳ | (*.f64 (-.f64 #s(literal 1 binary64) x) y) | overflow | 28 | |
| ↳ | (*.f64 x z) | overflow | 30 |
| Predicted + | Predicted - | |
|---|---|---|
| + | 2 | 0 |
| - | 0 | 254 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 2 | 0 | 0 |
| - | 0 | 0 | 254 |
| number | freq |
|---|---|
| 0 | 254 |
| 1 | 2 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 1 | 0 | 0 |
| - | 0 | 0 | 0 |
| 30.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 (-.f64 #s(literal 1 binary64) x) y) (*.f64 x z)) |
| Outputs |
|---|
(+.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) y) (*.f64 x z)) |
Compiled 9 to 8 computations (11.1% saved)
Compiled 0 to 3 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 99.2% | (+.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) y) (*.f64 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 x z) | |
| cost-diff | 0 | (-.f64 #s(literal 1 binary64) x) | |
| cost-diff | 0 | (*.f64 (-.f64 #s(literal 1 binary64) x) y) | |
| cost-diff | 0 | (+.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) y) (*.f64 x z)) |
| Inputs |
|---|
(+.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) y) (*.f64 x z)) |
(*.f64 (-.f64 #s(literal 1 binary64) x) y) |
(-.f64 #s(literal 1 binary64) x) |
#s(literal 1 binary64) |
x |
y |
(*.f64 x z) |
z |
| Outputs |
|---|
(+.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) y) (*.f64 x z)) |
(*.f64 (-.f64 #s(literal 1 binary64) x) y) |
(-.f64 #s(literal 1 binary64) x) |
#s(literal 1 binary64) |
x |
y |
(*.f64 x z) |
z |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (-.f64 #s(literal 1 binary64) x) | |
| accuracy | 0.0 | (*.f64 x z) | |
| accuracy | 0.0078125 | (*.f64 (-.f64 #s(literal 1 binary64) x) y) | |
| accuracy | 0.45312293583020585 | (+.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) y) (*.f64 x z)) |
| 17.0ms | 256× | 0 | valid |
Compiled 50 to 18 computations (64% saved)
ival-sub: 5.0ms (51.7% of total)ival-mult: 3.0ms (31% of total)ival-add: 1.0ms (10.3% 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 (-.f64 #s(literal 1 binary64) x) y) (*.f64 x z)) |
(*.f64 (-.f64 #s(literal 1 binary64) x) y) |
(-.f64 #s(literal 1 binary64) x) |
(*.f64 x z) |
| Outputs |
|---|
y |
(+ y (* x (+ z (* -1 y)))) |
(+ y (* -1 (* x y))) |
1 |
(+ 1 (* -1 x)) |
(* x z) |
(* x (+ z (* -1 y))) |
(* x (+ z (+ (* -1 y) (/ y x)))) |
(* -1 (* x y)) |
(* x (+ (* -1 y) (/ y x))) |
(* -1 x) |
(* x (- (/ 1 x) 1)) |
(* -1 (* x (+ y (* -1 z)))) |
(* -1 (* x (+ y (+ (* -1 z) (* -1 (/ y x)))))) |
(* -1 (* x (+ y (* -1 (/ y x))))) |
(* -1 (* x (- 1 (/ 1 x)))) |
(+ (* x z) (* y (- 1 x))) |
(* y (- 1 x)) |
(* y (- (+ 1 (/ (* x z) y)) x)) |
(* -1 (* y (+ (* -1 (- 1 x)) (* -1 (/ (* x z) y))))) |
(* z (+ x (/ (* y (- 1 x)) z))) |
(* -1 (* z (+ (* -1 x) (* -1 (/ (* y (- 1 x)) z))))) |
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | ((+ (* (- 1 x) y) (* x z)) (* (- 1 x) y) (- 1 x) (* x z)) |
| 1.0ms | z | @ | 0 | ((+ (* (- 1 x) y) (* x z)) (* (- 1 x) y) (- 1 x) (* x z)) |
| 1.0ms | x | @ | inf | ((+ (* (- 1 x) y) (* x z)) (* (- 1 x) y) (- 1 x) (* x z)) |
| 1.0ms | y | @ | inf | ((+ (* (- 1 x) y) (* x z)) (* (- 1 x) y) (- 1 x) (* x z)) |
| 1.0ms | x | @ | 0 | ((+ (* (- 1 x) y) (* x z)) (* (- 1 x) y) (- 1 x) (* x z)) |
| 1× | egg-herbie |
| Inputs |
|---|
y |
(+ y (* x (+ z (* -1 y)))) |
(+ y (* -1 (* x y))) |
1 |
(+ 1 (* -1 x)) |
(* x z) |
(* x (+ z (* -1 y))) |
(* x (+ z (+ (* -1 y) (/ y x)))) |
(* -1 (* x y)) |
(* x (+ (* -1 y) (/ y x))) |
(* -1 x) |
(* x (- (/ 1 x) 1)) |
(* -1 (* x (+ y (* -1 z)))) |
(* -1 (* x (+ y (+ (* -1 z) (* -1 (/ y x)))))) |
(* -1 (* x (+ y (* -1 (/ y x))))) |
(* -1 (* x (- 1 (/ 1 x)))) |
(+ (* x z) (* y (- 1 x))) |
(* y (- 1 x)) |
(* y (- (+ 1 (/ (* x z) y)) x)) |
(* -1 (* y (+ (* -1 (- 1 x)) (* -1 (/ (* x z) y))))) |
(* z (+ x (/ (* y (- 1 x)) z))) |
(* -1 (* z (+ (* -1 x) (* -1 (/ (* y (- 1 x)) z))))) |
| Outputs |
|---|
y |
(+.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) y) (*.f64 x z)) |
(+ y (* x (+ z (* -1 y)))) |
(*.f64 (-.f64 #s(literal 1 binary64) x) y) |
(+ y (* -1 (* x y))) |
(-.f64 #s(literal 1 binary64) x) |
1 |
(*.f64 x z) |
| Inputs |
|---|
(+.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) y) (*.f64 x z)) |
(*.f64 (-.f64 #s(literal 1 binary64) x) y) |
(-.f64 #s(literal 1 binary64) x) |
(*.f64 x z) |
| Outputs |
|---|
(+.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) y) (*.f64 x z)) |
(*.f64 (-.f64 #s(literal 1 binary64) x) y) |
(-.f64 #s(literal 1 binary64) x) |
(*.f64 x z) |
Compiled 96 to 20 computations (79.2% 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.2% | (+.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) y) (*.f64 x z)) |
| ▶ | 26.6% | (+.f64 #s(approx (* (- 1 x) y) (-.f64 #s(literal 1 binary64) x)) (*.f64 x z)) |
| ▶ | 65.6% | #s(approx (+ (* (- 1 x) y) (* x z)) (*.f64 (-.f64 #s(literal 1 binary64) x) y)) |
Compiled 37 to 31 computations (16.2% saved)
| 1× | egg-herbie |
Found 7 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 x z) | |
| cost-diff | 0 | (-.f64 #s(literal 1 binary64) x) | |
| cost-diff | 0 | #s(approx (* (- 1 x) y) (-.f64 #s(literal 1 binary64) x)) | |
| cost-diff | 0 | (+.f64 #s(approx (* (- 1 x) y) (-.f64 #s(literal 1 binary64) x)) (*.f64 x z)) | |
| cost-diff | 0 | (-.f64 #s(literal 1 binary64) x) | |
| cost-diff | 0 | (*.f64 (-.f64 #s(literal 1 binary64) x) y) | |
| cost-diff | 0 | #s(approx (+ (* (- 1 x) y) (* x z)) (*.f64 (-.f64 #s(literal 1 binary64) x) y)) |
| Inputs |
|---|
#s(approx (+ (* (- 1 x) y) (* x z)) (*.f64 (-.f64 #s(literal 1 binary64) x) y)) |
(*.f64 (-.f64 #s(literal 1 binary64) x) y) |
(-.f64 #s(literal 1 binary64) x) |
#s(literal 1 binary64) |
x |
y |
(+.f64 #s(approx (* (- 1 x) y) (-.f64 #s(literal 1 binary64) x)) (*.f64 x z)) |
#s(approx (* (- 1 x) y) (-.f64 #s(literal 1 binary64) x)) |
(-.f64 #s(literal 1 binary64) x) |
#s(literal 1 binary64) |
x |
(*.f64 x z) |
z |
| Outputs |
|---|
#s(approx (+ (* (- 1 x) y) (* x z)) (*.f64 (-.f64 #s(literal 1 binary64) x) y)) |
(*.f64 (-.f64 #s(literal 1 binary64) x) y) |
(-.f64 #s(literal 1 binary64) x) |
#s(literal 1 binary64) |
x |
y |
(+.f64 #s(approx (* (- 1 x) y) (-.f64 #s(literal 1 binary64) x)) (*.f64 x z)) |
#s(approx (* (- 1 x) y) (-.f64 #s(literal 1 binary64) x)) |
(-.f64 #s(literal 1 binary64) x) |
#s(literal 1 binary64) |
x |
(*.f64 x z) |
z |
Found 7 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (-.f64 #s(literal 1 binary64) x) | |
| accuracy | 0.0 | (*.f64 x z) | |
| accuracy | 0.45312293583020585 | (+.f64 #s(approx (* (- 1 x) y) (-.f64 #s(literal 1 binary64) x)) (*.f64 x z)) | |
| accuracy | 61.64092115458262 | #s(approx (* (- 1 x) y) (-.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) y) | |
| accuracy | 22.035183535665997 | #s(approx (+ (* (- 1 x) y) (* x z)) (*.f64 (-.f64 #s(literal 1 binary64) x) y)) |
| 17.0ms | 256× | 0 | valid |
Compiled 102 to 25 computations (75.5% saved)
ival-mult: 3.0ms (46.8% of total)ival-sub: 2.0ms (31.2% 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 (+ (* (- 1 x) y) (* x z)) (*.f64 (-.f64 #s(literal 1 binary64) x) y)) |
(*.f64 (-.f64 #s(literal 1 binary64) x) y) |
(-.f64 #s(literal 1 binary64) x) |
(+.f64 #s(approx (* (- 1 x) y) (-.f64 #s(literal 1 binary64) x)) (*.f64 x z)) |
#s(approx (* (- 1 x) y) (-.f64 #s(literal 1 binary64) x)) |
(*.f64 x z) |
| Outputs |
|---|
y |
(+ y (* x (+ z (* -1 y)))) |
(+ y (* -1 (* x y))) |
1 |
(+ 1 (* -1 x)) |
(* x z) |
(* x (+ z (* -1 y))) |
(* x (+ z (+ (* -1 y) (/ y x)))) |
(* -1 (* x y)) |
(* x (+ (* -1 y) (/ y x))) |
(* -1 x) |
(* x (- (/ 1 x) 1)) |
(* -1 (* x (+ y (* -1 z)))) |
(* -1 (* x (+ y (+ (* -1 z) (* -1 (/ y x)))))) |
(* -1 (* x (+ y (* -1 (/ y x))))) |
(* -1 (* x (- 1 (/ 1 x)))) |
(+ (* x z) (* y (- 1 x))) |
(* y (- 1 x)) |
(* y (- (+ 1 (/ (* x z) y)) x)) |
(* -1 (* y (+ (* -1 (- 1 x)) (* -1 (/ (* x z) y))))) |
(* z (+ x (/ (* y (- 1 x)) z))) |
(* -1 (* z (+ (* -1 x) (* -1 (/ (* y (- 1 x)) z))))) |
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | ((+ (* (- 1 x) y) (* x z)) (* (- 1 x) y) (- 1 x) (+ (* (- 1 x) y) (* x z)) (* (- 1 x) y) (* x z)) |
| 0.0ms | y | @ | inf | ((+ (* (- 1 x) y) (* x z)) (* (- 1 x) y) (- 1 x) (+ (* (- 1 x) y) (* x z)) (* (- 1 x) y) (* x z)) |
| 0.0ms | x | @ | inf | ((+ (* (- 1 x) y) (* x z)) (* (- 1 x) y) (- 1 x) (+ (* (- 1 x) y) (* x z)) (* (- 1 x) y) (* x z)) |
| 0.0ms | y | @ | -inf | ((+ (* (- 1 x) y) (* x z)) (* (- 1 x) y) (- 1 x) (+ (* (- 1 x) y) (* x z)) (* (- 1 x) y) (* x z)) |
| 0.0ms | z | @ | -inf | ((+ (* (- 1 x) y) (* x z)) (* (- 1 x) y) (- 1 x) (+ (* (- 1 x) y) (* x z)) (* (- 1 x) y) (* x z)) |
| 1× | egg-herbie |
| Inputs |
|---|
y |
(+ y (* x (+ z (* -1 y)))) |
(+ y (* -1 (* x y))) |
1 |
(+ 1 (* -1 x)) |
(* x z) |
(* x (+ z (* -1 y))) |
(* x (+ z (+ (* -1 y) (/ y x)))) |
(* -1 (* x y)) |
(* x (+ (* -1 y) (/ y x))) |
(* -1 x) |
(* x (- (/ 1 x) 1)) |
(* -1 (* x (+ y (* -1 z)))) |
(* -1 (* x (+ y (+ (* -1 z) (* -1 (/ y x)))))) |
(* -1 (* x (+ y (* -1 (/ y x))))) |
(* -1 (* x (- 1 (/ 1 x)))) |
(+ (* x z) (* y (- 1 x))) |
(* y (- 1 x)) |
(* y (- (+ 1 (/ (* x z) y)) x)) |
(* -1 (* y (+ (* -1 (- 1 x)) (* -1 (/ (* x z) y))))) |
(* z (+ x (/ (* y (- 1 x)) z))) |
(* -1 (* z (+ (* -1 x) (* -1 (/ (* y (- 1 x)) z))))) |
| Outputs |
|---|
y |
#s(approx (+ (* (- 1 x) y) (* x z)) (*.f64 (-.f64 #s(literal 1 binary64) x) y)) |
(+ y (* x (+ z (* -1 y)))) |
(*.f64 (-.f64 #s(literal 1 binary64) x) y) |
(+ y (* -1 (* x y))) |
(-.f64 #s(literal 1 binary64) x) |
1 |
(+.f64 #s(approx (* (- 1 x) y) (-.f64 #s(literal 1 binary64) x)) (*.f64 x z)) |
(+ 1 (* -1 x)) |
#s(approx (* (- 1 x) y) (-.f64 #s(literal 1 binary64) x)) |
(* x z) |
(*.f64 x z) |
| Inputs |
|---|
#s(approx (+ (* (- 1 x) y) (* x z)) (*.f64 (-.f64 #s(literal 1 binary64) x) y)) |
(*.f64 (-.f64 #s(literal 1 binary64) x) y) |
(-.f64 #s(literal 1 binary64) x) |
(+.f64 #s(approx (* (- 1 x) y) (-.f64 #s(literal 1 binary64) x)) (*.f64 x z)) |
#s(approx (* (- 1 x) y) (-.f64 #s(literal 1 binary64) x)) |
(*.f64 x z) |
| Outputs |
|---|
#s(approx (+ (* (- 1 x) y) (* x z)) (*.f64 (-.f64 #s(literal 1 binary64) x) y)) |
(*.f64 (-.f64 #s(literal 1 binary64) x) y) |
(-.f64 #s(literal 1 binary64) x) |
(+.f64 #s(approx (* (- 1 x) y) (-.f64 #s(literal 1 binary64) x)) (*.f64 x z)) |
#s(approx (* (- 1 x) y) (-.f64 #s(literal 1 binary64) x)) |
(*.f64 x z) |
Compiled 249 to 29 computations (88.4% saved)
4 alts after pruning (1 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 12 | 1 | 13 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 2 | 2 |
| Done | 0 | 1 | 1 |
| Total | 12 | 4 | 16 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 99.2% | (+.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) y) (*.f64 x z)) |
| ✓ | 26.6% | (+.f64 #s(approx (* (- 1 x) y) (-.f64 #s(literal 1 binary64) x)) (*.f64 x z)) |
| ✓ | 65.6% | #s(approx (+ (* (- 1 x) y) (* x z)) (*.f64 (-.f64 #s(literal 1 binary64) x) y)) |
| ▶ | 3.5% | #s(approx (+ (* (- 1 x) y) (* x z)) #s(approx (* (- 1 x) y) (-.f64 #s(literal 1 binary64) x))) |
Compiled 56 to 43 computations (23.2% 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) y) (-.f64 #s(literal 1 binary64) x)) | |
| cost-diff | 0 | #s(approx (+ (* (- 1 x) y) (* x z)) #s(approx (* (- 1 x) y) (-.f64 #s(literal 1 binary64) x))) |
| Inputs |
|---|
#s(approx (+ (* (- 1 x) y) (* x z)) #s(approx (* (- 1 x) y) (-.f64 #s(literal 1 binary64) x))) |
#s(approx (* (- 1 x) y) (-.f64 #s(literal 1 binary64) x)) |
(-.f64 #s(literal 1 binary64) x) |
#s(literal 1 binary64) |
x |
| Outputs |
|---|
#s(approx (+ (* (- 1 x) y) (* x z)) #s(approx (* (- 1 x) y) (-.f64 #s(literal 1 binary64) x))) |
#s(approx (* (- 1 x) y) (-.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 | 22.035183535665997 | #s(approx (+ (* (- 1 x) y) (* x z)) #s(approx (* (- 1 x) y) (-.f64 #s(literal 1 binary64) x))) | |
| accuracy | 61.64092115458262 | #s(approx (* (- 1 x) y) (-.f64 #s(literal 1 binary64) x)) |
| 16.0ms | 256× | 0 | valid |
Compiled 54 to 22 computations (59.3% saved)
ival-mult: 3.0ms (47.8% of total)ival-sub: 2.0ms (31.9% of total)ival-add: 1.0ms (15.9% 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 (+ (* (- 1 x) y) (* x z)) #s(approx (* (- 1 x) y) (-.f64 #s(literal 1 binary64) x))) |
#s(approx (* (- 1 x) y) (-.f64 #s(literal 1 binary64) x)) |
(-.f64 #s(literal 1 binary64) x) |
| Outputs |
|---|
y |
(+ y (* x (+ z (* -1 y)))) |
(+ y (* -1 (* x y))) |
1 |
(+ 1 (* -1 x)) |
(* x (+ z (* -1 y))) |
(* x (+ z (+ (* -1 y) (/ y x)))) |
(* -1 (* x y)) |
(* x (+ (* -1 y) (/ y x))) |
(* -1 x) |
(* x (- (/ 1 x) 1)) |
(* -1 (* x (+ y (* -1 z)))) |
(* -1 (* x (+ y (+ (* -1 z) (* -1 (/ y x)))))) |
(* -1 (* x (+ y (* -1 (/ y x))))) |
(* -1 (* x (- 1 (/ 1 x)))) |
(* x z) |
(+ (* x z) (* y (- 1 x))) |
(* y (- 1 x)) |
(* y (- (+ 1 (/ (* x z) y)) x)) |
(* -1 (* y (+ (* -1 (- 1 x)) (* -1 (/ (* x z) y))))) |
(* z (+ x (/ (* y (- 1 x)) z))) |
(* -1 (* z (+ (* -1 x) (* -1 (/ (* y (- 1 x)) z))))) |
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | y | @ | inf | ((+ (* (- 1 x) y) (* x z)) (* (- 1 x) y) (- 1 x)) |
| 0.0ms | y | @ | -inf | ((+ (* (- 1 x) y) (* x z)) (* (- 1 x) y) (- 1 x)) |
| 0.0ms | x | @ | -inf | ((+ (* (- 1 x) y) (* x z)) (* (- 1 x) y) (- 1 x)) |
| 0.0ms | x | @ | inf | ((+ (* (- 1 x) y) (* x z)) (* (- 1 x) y) (- 1 x)) |
| 0.0ms | x | @ | 0 | ((+ (* (- 1 x) y) (* x z)) (* (- 1 x) y) (- 1 x)) |
| 1× | egg-herbie |
| Inputs |
|---|
y |
(+ y (* x (+ z (* -1 y)))) |
(+ y (* -1 (* x y))) |
1 |
(+ 1 (* -1 x)) |
(* x (+ z (* -1 y))) |
(* x (+ z (+ (* -1 y) (/ y x)))) |
(* -1 (* x y)) |
(* x (+ (* -1 y) (/ y x))) |
(* -1 x) |
(* x (- (/ 1 x) 1)) |
(* -1 (* x (+ y (* -1 z)))) |
(* -1 (* x (+ y (+ (* -1 z) (* -1 (/ y x)))))) |
(* -1 (* x (+ y (* -1 (/ y x))))) |
(* -1 (* x (- 1 (/ 1 x)))) |
(* x z) |
(+ (* x z) (* y (- 1 x))) |
(* y (- 1 x)) |
(* y (- (+ 1 (/ (* x z) y)) x)) |
(* -1 (* y (+ (* -1 (- 1 x)) (* -1 (/ (* x z) y))))) |
(* z (+ x (/ (* y (- 1 x)) z))) |
(* -1 (* z (+ (* -1 x) (* -1 (/ (* y (- 1 x)) z))))) |
| Outputs |
|---|
y |
#s(approx (+ (* (- 1 x) y) (* x z)) #s(approx (* (- 1 x) y) (-.f64 #s(literal 1 binary64) x))) |
(+ y (* x (+ z (* -1 y)))) |
#s(approx (* (- 1 x) y) (-.f64 #s(literal 1 binary64) x)) |
(+ y (* -1 (* x y))) |
(-.f64 #s(literal 1 binary64) x) |
| Inputs |
|---|
#s(approx (+ (* (- 1 x) y) (* x z)) #s(approx (* (- 1 x) y) (-.f64 #s(literal 1 binary64) x))) |
#s(approx (* (- 1 x) y) (-.f64 #s(literal 1 binary64) x)) |
(-.f64 #s(literal 1 binary64) x) |
| Outputs |
|---|
#s(approx (+ (* (- 1 x) y) (* x z)) #s(approx (* (- 1 x) y) (-.f64 #s(literal 1 binary64) x))) |
#s(approx (* (- 1 x) y) (-.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 |
|---|---|---|
| ✓ | 99.2% | (+.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) y) (*.f64 x z)) |
| ✓ | 26.6% | (+.f64 #s(approx (* (- 1 x) y) (-.f64 #s(literal 1 binary64) x)) (*.f64 x z)) |
| ✓ | 65.6% | #s(approx (+ (* (- 1 x) y) (* x z)) (*.f64 (-.f64 #s(literal 1 binary64) x) y)) |
| ✓ | 3.5% | #s(approx (+ (* (- 1 x) y) (* x z)) #s(approx (* (- 1 x) y) (-.f64 #s(literal 1 binary64) x))) |
Compiled 112 to 60 computations (46.4% saved)
| Inputs |
|---|
#s(approx (+ (* (- 1 x) y) (* x z)) #s(approx (* (- 1 x) y) (-.f64 #s(literal 1 binary64) x))) |
#s(approx (+ (* (- 1 x) y) (* x z)) (*.f64 (-.f64 #s(literal 1 binary64) x) y)) |
(+.f64 #s(approx (* (- 1 x) y) (-.f64 #s(literal 1 binary64) x)) (*.f64 x z)) |
(+.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) y) (*.f64 x z)) |
| Outputs |
|---|
(+.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) y) (*.f64 x z)) |
4 calls:
| 2.0ms | (+.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) y) (*.f64 x z)) |
| 2.0ms | z |
| 2.0ms | y |
| 2.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.2% | 1 | x |
| 99.2% | 1 | y |
| 99.2% | 1 | z |
| 99.2% | 1 | (+.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) y) (*.f64 x z)) |
Compiled 12 to 17 computations (-41.7% saved)
| Inputs |
|---|
#s(approx (+ (* (- 1 x) y) (* x z)) #s(approx (* (- 1 x) y) (-.f64 #s(literal 1 binary64) x))) |
#s(approx (+ (* (- 1 x) y) (* x z)) (*.f64 (-.f64 #s(literal 1 binary64) x) y)) |
(+.f64 #s(approx (* (- 1 x) y) (-.f64 #s(literal 1 binary64) x)) (*.f64 x z)) |
| Outputs |
|---|
(+.f64 #s(approx (* (- 1 x) y) (-.f64 #s(literal 1 binary64) x)) (*.f64 x z)) |
#s(approx (+ (* (- 1 x) y) (* x z)) (*.f64 (-.f64 #s(literal 1 binary64) x) y)) |
(+.f64 #s(approx (* (- 1 x) y) (-.f64 #s(literal 1 binary64) x)) (*.f64 x z)) |
4 calls:
| 2.0ms | x |
| 2.0ms | z |
| 2.0ms | y |
| 2.0ms | (+.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) y) (*.f64 x z)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 65.6% | 1 | x |
| 65.6% | 1 | y |
| 73.9% | 3 | z |
| 67.4% | 2 | (+.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) y) (*.f64 x z)) |
Compiled 12 to 17 computations (-41.7% saved)
| Inputs |
|---|
#s(approx (+ (* (- 1 x) y) (* x z)) #s(approx (* (- 1 x) y) (-.f64 #s(literal 1 binary64) x))) |
#s(approx (+ (* (- 1 x) y) (* x z)) (*.f64 (-.f64 #s(literal 1 binary64) x) y)) |
| Outputs |
|---|
#s(approx (+ (* (- 1 x) y) (* x z)) (*.f64 (-.f64 #s(literal 1 binary64) x) y)) |
3 calls:
| 1.0ms | x |
| 1.0ms | (+.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) y) (*.f64 x z)) |
| 1.0ms | z |
| Accuracy | Segments | Branch |
|---|---|---|
| 65.6% | 1 | x |
| 65.6% | 1 | (+.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) y) (*.f64 x z)) |
| 65.6% | 1 | z |
Compiled 11 to 14 computations (-27.3% saved)
Total -0.0b remaining (-0%)
Threshold costs -0b (-0%)
| Inputs |
|---|
#s(approx (+ (* (- 1 x) y) (* x z)) #s(approx (* (- 1 x) y) (-.f64 #s(literal 1 binary64) x))) |
| Outputs |
|---|
#s(approx (+ (* (- 1 x) y) (* x z)) #s(approx (* (- 1 x) y) (-.f64 #s(literal 1 binary64) x))) |
4 calls:
| 1.0ms | (+.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) y) (*.f64 x z)) |
| 1.0ms | z |
| 1.0ms | x |
| 1.0ms | y |
| Accuracy | Segments | Branch |
|---|---|---|
| 3.5% | 1 | y |
| 3.5% | 1 | z |
| 3.5% | 1 | x |
| 3.5% | 1 | (+.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) y) (*.f64 x z)) |
Compiled 12 to 17 computations (-41.7% saved)
| 2× | binary-search |
| 1× | narrow-enough |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 8.0ms | 1.1201469226201697e+64 | 1.0011051813972206e+65 |
| 13.0ms | -3.4448055154702563e+140 | -1.3682598439143745e+134 |
| 12.0ms | 240× | 0 | valid |
Compiled 432 to 389 computations (10% saved)
ival-mult: 3.0ms (44.7% of total)ival-sub: 2.0ms (29.8% of total)ival-add: 1.0ms (14.9% 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 (-.f64 #s(literal 1 binary64) x) y) (*.f64 x z)) |
(if (<=.f64 z #s(literal -679999999999999972753064833390704812317520442666707965818021907534856518342516191389486551903503703735894880274692892624140071754511941632 binary64)) (+.f64 #s(approx (* (- 1 x) y) (-.f64 #s(literal 1 binary64) x)) (*.f64 x z)) (if (<=.f64 z #s(literal 77999999999999996109286460880011866865495749637025791155854376960 binary64)) #s(approx (+ (* (- 1 x) y) (* x z)) (*.f64 (-.f64 #s(literal 1 binary64) x) y)) (+.f64 #s(approx (* (- 1 x) y) (-.f64 #s(literal 1 binary64) x)) (*.f64 x z)))) |
#s(approx (+ (* (- 1 x) y) (* x z)) (*.f64 (-.f64 #s(literal 1 binary64) x) y)) |
#s(approx (+ (* (- 1 x) y) (* x z)) #s(approx (* (- 1 x) y) (-.f64 #s(literal 1 binary64) x))) |
| Outputs |
|---|
(+.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) y) (*.f64 x z)) |
(if (<=.f64 z #s(literal -679999999999999972753064833390704812317520442666707965818021907534856518342516191389486551903503703735894880274692892624140071754511941632 binary64)) (+.f64 #s(approx (* (- 1 x) y) (-.f64 #s(literal 1 binary64) x)) (*.f64 x z)) (if (<=.f64 z #s(literal 77999999999999996109286460880011866865495749637025791155854376960 binary64)) #s(approx (+ (* (- 1 x) y) (* x z)) (*.f64 (-.f64 #s(literal 1 binary64) x) y)) (+.f64 #s(approx (* (- 1 x) y) (-.f64 #s(literal 1 binary64) x)) (*.f64 x z)))) |
#s(approx (+ (* (- 1 x) y) (* x z)) (*.f64 (-.f64 #s(literal 1 binary64) x) y)) |
#s(approx (+ (* (- 1 x) y) (* x z)) #s(approx (* (- 1 x) y) (-.f64 #s(literal 1 binary64) x))) |
| 1× | done |
Compiled 92 to 23 computations (75% saved)
Compiled 216 to 74 computations (65.7% saved)
Loading profile data...