
Time bar (total: 1.0s)
| 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 13 to 10 computations (23.1% saved)
| 440.0ms | 8 256× | 0 | valid |
ival-mult: 172.0ms (66.8% of total)ival-add: 74.0ms (28.7% of total)ival-true: 5.0ms (1.9% of total)exact: 4.0ms (1.6% of total)ival-assert: 3.0ms (1.2% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 1 | 0 | - | 0 | - | (+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x)) |
| 0 | 0 | - | 0 | - | (+.f64 (+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x)) (*.f64 y y)) |
| 0 | 0 | - | 0 | - | (*.f64 x #s(literal 2 binary64)) |
| 0 | 0 | - | 0 | - | #s(literal 2 binary64) |
| 0 | 0 | - | 0 | - | y |
| 0 | 0 | - | 0 | - | (*.f64 y y) |
| 0 | 0 | - | 0 | - | (*.f64 x x) |
| 0 | 0 | - | 0 | - | x |
| Operator | Subexpression | Explanation | Count | |
|---|---|---|---|---|
+.f64 | (+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x)) | nan-rescue | 1 | 0 |
| ↳ | (*.f64 x #s(literal 2 binary64)) | overflow | 1 | |
| ↳ | (*.f64 x x) | overflow | 72 |
| Predicted + | Predicted - | |
|---|---|---|
| + | 1 | 0 |
| - | 0 | 255 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 1 | 0 | 0 |
| - | 0 | 0 | 255 |
| number | freq |
|---|---|
| 0 | 255 |
| 1 | 1 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 1 | 0 | 0 |
| - | 0 | 0 | 0 |
| 30.0ms | 512× | 0 | valid |
Compiled 105 to 36 computations (65.7% saved)
ival-mult: 9.0ms (61.8% of total)ival-add: 4.0ms (27.5% 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 x #s(literal 2 binary64)) (*.f64 x x)) (*.f64 y y)) |
| Outputs |
|---|
(+.f64 (+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x)) (*.f64 y y)) |
Compiled 11 to 8 computations (27.3% saved)
Compiled 0 to 2 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 99.6% | (+.f64 (+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x)) (*.f64 y y)) |
Compiled 11 to 8 computations (27.3% saved)
| 1× | egg-herbie |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 x x) | |
| cost-diff | 0 | (*.f64 x #s(literal 2 binary64)) | |
| cost-diff | 0 | (+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x)) | |
| cost-diff | 0 | (+.f64 (+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x)) (*.f64 y y)) |
| Inputs |
|---|
(+.f64 (+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x)) (*.f64 y y)) |
(+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x)) |
(*.f64 x #s(literal 2 binary64)) |
x |
#s(literal 2 binary64) |
(*.f64 x x) |
(*.f64 y y) |
y |
| Outputs |
|---|
(+.f64 (+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x)) (*.f64 y y)) |
(+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x)) |
(*.f64 x #s(literal 2 binary64)) |
x |
#s(literal 2 binary64) |
(*.f64 x x) |
(*.f64 y y) |
y |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (*.f64 x x) | |
| accuracy | 0.0 | (*.f64 x #s(literal 2 binary64)) | |
| accuracy | 0.00390625 | (+.f64 (+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x)) (*.f64 y y)) | |
| accuracy | 0.20312500000000003 | (+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x)) |
| 15.0ms | 256× | 0 | valid |
Compiled 62 to 18 computations (71% saved)
ival-mult: 5.0ms (68.4% of total)ival-add: 2.0ms (27.4% 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 x #s(literal 2 binary64)) (*.f64 x x)) (*.f64 y y)) |
(+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x)) |
(*.f64 x #s(literal 2 binary64)) |
(*.f64 x x) |
| Outputs |
|---|
(pow y 2) |
(+ (* 2 x) (pow y 2)) |
(+ (* x (+ 2 x)) (pow y 2)) |
(* 2 x) |
(* x (+ 2 x)) |
(pow x 2) |
(* (pow x 2) (+ 1 (* 2 (/ 1 x)))) |
(* (pow x 2) (+ 1 (+ (* 2 (/ 1 x)) (/ (pow y 2) (pow x 2))))) |
(* (pow x 2) (+ 1 (* -1 (/ (- (* -1 (/ (pow y 2) x)) 2) x)))) |
(+ (* 2 x) (pow x 2)) |
(+ (* 2 x) (+ (pow x 2) (pow y 2))) |
(* (pow y 2) (+ 1 (+ (* 2 (/ x (pow y 2))) (/ (pow x 2) (pow y 2))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | ((+ (+ (* x 2) (* x x)) (* y y)) (+ (* x 2) (* x x)) (* x 2) (* x x)) |
| 1.0ms | x | @ | inf | ((+ (+ (* x 2) (* x x)) (* y y)) (+ (* x 2) (* x x)) (* x 2) (* x x)) |
| 1.0ms | x | @ | 0 | ((+ (+ (* x 2) (* x x)) (* y y)) (+ (* x 2) (* x x)) (* x 2) (* x x)) |
| 0.0ms | y | @ | inf | ((+ (+ (* x 2) (* x x)) (* y y)) (+ (* x 2) (* x x)) (* x 2) (* x x)) |
| 0.0ms | y | @ | -inf | ((+ (+ (* x 2) (* x x)) (* y y)) (+ (* x 2) (* x x)) (* x 2) (* x x)) |
| 1× | egg-herbie |
| Inputs |
|---|
(pow y 2) |
(+ (* 2 x) (pow y 2)) |
(+ (* x (+ 2 x)) (pow y 2)) |
(* 2 x) |
(* x (+ 2 x)) |
(pow x 2) |
(* (pow x 2) (+ 1 (* 2 (/ 1 x)))) |
(* (pow x 2) (+ 1 (+ (* 2 (/ 1 x)) (/ (pow y 2) (pow x 2))))) |
(* (pow x 2) (+ 1 (* -1 (/ (- (* -1 (/ (pow y 2) x)) 2) x)))) |
(+ (* 2 x) (pow x 2)) |
(+ (* 2 x) (+ (pow x 2) (pow y 2))) |
(* (pow y 2) (+ 1 (+ (* 2 (/ x (pow y 2))) (/ (pow x 2) (pow y 2))))) |
| Outputs |
|---|
(pow y 2) |
(+.f64 (+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x)) (*.f64 y y)) |
(+ (* 2 x) (pow y 2)) |
(+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x)) |
(+ (* x (+ 2 x)) (pow y 2)) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x x) |
| Inputs |
|---|
(+.f64 (+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x)) (*.f64 y y)) |
(+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x)) |
(*.f64 x #s(literal 2 binary64)) |
(*.f64 x x) |
| Outputs |
|---|
(+.f64 (+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x)) (*.f64 y y)) |
(+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x)) |
(*.f64 x #s(literal 2 binary64)) |
(*.f64 x x) |
Compiled 116 to 19 computations (83.6% 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 |
|---|---|---|
| ✓ | 99.6% | (+.f64 (+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x)) (*.f64 y y)) |
| ▶ | 82.3% | (+.f64 #s(approx (+ (* x 2) (* x x)) (*.f64 x x)) (*.f64 y y)) |
| ▶ | 59.3% | #s(approx (+ (+ (* x 2) (* x x)) (* y y)) (+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x))) |
| ▶ | 20.0% | #s(approx (+ (+ (* x 2) (* x x)) (* y y)) (*.f64 x #s(literal 2 binary64))) |
Compiled 60 to 42 computations (30% saved)
| 1× | egg-herbie |
Found 10 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 y y) | |
| cost-diff | 0 | (*.f64 x x) | |
| cost-diff | 0 | #s(approx (+ (* x 2) (* x x)) (*.f64 x x)) | |
| cost-diff | 0 | (+.f64 #s(approx (+ (* x 2) (* x x)) (*.f64 x x)) (*.f64 y y)) | |
| cost-diff | 0 | (*.f64 x x) | |
| cost-diff | 0 | (*.f64 x #s(literal 2 binary64)) | |
| cost-diff | 0 | (+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x)) | |
| cost-diff | 0 | #s(approx (+ (+ (* x 2) (* x x)) (* y y)) (+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x))) | |
| cost-diff | 0 | (*.f64 x #s(literal 2 binary64)) | |
| cost-diff | 0 | #s(approx (+ (+ (* x 2) (* x x)) (* y y)) (*.f64 x #s(literal 2 binary64))) |
| Inputs |
|---|
#s(approx (+ (+ (* x 2) (* x x)) (* y y)) (*.f64 x #s(literal 2 binary64))) |
(*.f64 x #s(literal 2 binary64)) |
x |
#s(literal 2 binary64) |
#s(approx (+ (+ (* x 2) (* x x)) (* y y)) (+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x))) |
(+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x)) |
(*.f64 x #s(literal 2 binary64)) |
x |
#s(literal 2 binary64) |
(*.f64 x x) |
(+.f64 #s(approx (+ (* x 2) (* x x)) (*.f64 x x)) (*.f64 y y)) |
#s(approx (+ (* x 2) (* x x)) (*.f64 x x)) |
(*.f64 x x) |
x |
(*.f64 y y) |
y |
| Outputs |
|---|
#s(approx (+ (+ (* x 2) (* x x)) (* y y)) (*.f64 x #s(literal 2 binary64))) |
(*.f64 x #s(literal 2 binary64)) |
x |
#s(literal 2 binary64) |
#s(approx (+ (+ (* x 2) (* x x)) (* y y)) (+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x))) |
(+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x)) |
(*.f64 x #s(literal 2 binary64)) |
x |
#s(literal 2 binary64) |
(*.f64 x x) |
(+.f64 #s(approx (+ (* x 2) (* x x)) (*.f64 x x)) (*.f64 y y)) |
#s(approx (+ (* x 2) (* x x)) (*.f64 x x)) |
(*.f64 x x) |
x |
(*.f64 y y) |
y |
Found 10 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (*.f64 y y) | |
| accuracy | 0.0 | (*.f64 x x) | |
| accuracy | 0.00390625 | (+.f64 #s(approx (+ (* x 2) (* x x)) (*.f64 x x)) (*.f64 y y)) | |
| accuracy | 31.19074543542296 | #s(approx (+ (* x 2) (* x x)) (*.f64 x x)) | |
| accuracy | 0.0 | (*.f64 x x) | |
| accuracy | 0.0 | (*.f64 x #s(literal 2 binary64)) | |
| accuracy | 0.20312500000000003 | (+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x)) | |
| accuracy | 25.772643010544297 | #s(approx (+ (+ (* x 2) (* x x)) (* y y)) (+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x))) | |
| accuracy | 0.0 | (*.f64 x #s(literal 2 binary64)) | |
| accuracy | 51.20171660587321 | #s(approx (+ (+ (* x 2) (* x x)) (* y y)) (*.f64 x #s(literal 2 binary64))) |
| 18.0ms | 256× | 0 | valid |
Compiled 158 to 27 computations (82.9% saved)
ival-mult: 5.0ms (68.7% of total)ival-add: 2.0ms (27.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 2) (* x x)) (* y y)) (*.f64 x #s(literal 2 binary64))) |
(*.f64 x #s(literal 2 binary64)) |
#s(approx (+ (+ (* x 2) (* x x)) (* y y)) (+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x))) |
(+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x)) |
(*.f64 x x) |
(+.f64 #s(approx (+ (* x 2) (* x x)) (*.f64 x x)) (*.f64 y y)) |
#s(approx (+ (* x 2) (* x x)) (*.f64 x x)) |
(*.f64 y y) |
| Outputs |
|---|
(pow y 2) |
(+ (* 2 x) (pow y 2)) |
(+ (* x (+ 2 x)) (pow y 2)) |
(* 2 x) |
(* x (+ 2 x)) |
(pow x 2) |
(* (pow x 2) (+ 1 (* 2 (/ 1 x)))) |
(* (pow x 2) (+ 1 (+ (* 2 (/ 1 x)) (/ (pow y 2) (pow x 2))))) |
(* (pow x 2) (+ 1 (* -1 (/ (- (* -1 (/ (pow y 2) x)) 2) x)))) |
(+ (* 2 x) (pow x 2)) |
(+ (* 2 x) (+ (pow x 2) (pow y 2))) |
(* (pow y 2) (+ 1 (+ (* 2 (/ x (pow y 2))) (/ (pow x 2) (pow y 2))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | inf | ((+ (+ (* x 2) (* x x)) (* y y)) (* x 2) (+ (+ (* x 2) (* x x)) (* y y)) (+ (* x 2) (* x x)) (* x x) (+ (+ (* x 2) (* x x)) (* y y)) (+ (* x 2) (* x x)) (* y y)) |
| 1.0ms | x | @ | -inf | ((+ (+ (* x 2) (* x x)) (* y y)) (* x 2) (+ (+ (* x 2) (* x x)) (* y y)) (+ (* x 2) (* x x)) (* x x) (+ (+ (* x 2) (* x x)) (* y y)) (+ (* x 2) (* x x)) (* y y)) |
| 0.0ms | y | @ | -inf | ((+ (+ (* x 2) (* x x)) (* y y)) (* x 2) (+ (+ (* x 2) (* x x)) (* y y)) (+ (* x 2) (* x x)) (* x x) (+ (+ (* x 2) (* x x)) (* y y)) (+ (* x 2) (* x x)) (* y y)) |
| 0.0ms | y | @ | inf | ((+ (+ (* x 2) (* x x)) (* y y)) (* x 2) (+ (+ (* x 2) (* x x)) (* y y)) (+ (* x 2) (* x x)) (* x x) (+ (+ (* x 2) (* x x)) (* y y)) (+ (* x 2) (* x x)) (* y y)) |
| 0.0ms | x | @ | 0 | ((+ (+ (* x 2) (* x x)) (* y y)) (* x 2) (+ (+ (* x 2) (* x x)) (* y y)) (+ (* x 2) (* x x)) (* x x) (+ (+ (* x 2) (* x x)) (* y y)) (+ (* x 2) (* x x)) (* y y)) |
| 1× | egg-herbie |
| Inputs |
|---|
(pow y 2) |
(+ (* 2 x) (pow y 2)) |
(+ (* x (+ 2 x)) (pow y 2)) |
(* 2 x) |
(* x (+ 2 x)) |
(pow x 2) |
(* (pow x 2) (+ 1 (* 2 (/ 1 x)))) |
(* (pow x 2) (+ 1 (+ (* 2 (/ 1 x)) (/ (pow y 2) (pow x 2))))) |
(* (pow x 2) (+ 1 (* -1 (/ (- (* -1 (/ (pow y 2) x)) 2) x)))) |
(+ (* 2 x) (pow x 2)) |
(+ (* 2 x) (+ (pow x 2) (pow y 2))) |
(* (pow y 2) (+ 1 (+ (* 2 (/ x (pow y 2))) (/ (pow x 2) (pow y 2))))) |
| Outputs |
|---|
(pow y 2) |
#s(approx (+ (+ (* x 2) (* x x)) (* y y)) (*.f64 x #s(literal 2 binary64))) |
(+ (* 2 x) (pow y 2)) |
(*.f64 x #s(literal 2 binary64)) |
(+ (* x (+ 2 x)) (pow y 2)) |
#s(approx (+ (+ (* x 2) (* x x)) (* y y)) (+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x))) |
(* 2 x) |
(+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x)) |
(* x (+ 2 x)) |
(*.f64 x x) |
(pow x 2) |
(+.f64 #s(approx (+ (* x 2) (* x x)) (*.f64 x x)) (*.f64 y y)) |
(* (pow x 2) (+ 1 (* 2 (/ 1 x)))) |
#s(approx (+ (* x 2) (* x x)) (*.f64 x x)) |
(* (pow x 2) (+ 1 (+ (* 2 (/ 1 x)) (/ (pow y 2) (pow x 2))))) |
(*.f64 y y) |
| Inputs |
|---|
#s(approx (+ (+ (* x 2) (* x x)) (* y y)) (*.f64 x #s(literal 2 binary64))) |
(*.f64 x #s(literal 2 binary64)) |
#s(approx (+ (+ (* x 2) (* x x)) (* y y)) (+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x))) |
(+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x)) |
(*.f64 x x) |
(+.f64 #s(approx (+ (* x 2) (* x x)) (*.f64 x x)) (*.f64 y y)) |
#s(approx (+ (* x 2) (* x x)) (*.f64 x x)) |
(*.f64 y y) |
| Outputs |
|---|
#s(approx (+ (+ (* x 2) (* x x)) (* y y)) (*.f64 x #s(literal 2 binary64))) |
(*.f64 x #s(literal 2 binary64)) |
#s(approx (+ (+ (* x 2) (* x x)) (* y y)) (+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x))) |
(+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x)) |
(*.f64 x x) |
(+.f64 #s(approx (+ (* x 2) (* x x)) (*.f64 x x)) (*.f64 y y)) |
#s(approx (+ (* x 2) (* x x)) (*.f64 x x)) |
(*.f64 y y) |
Compiled 386 to 30 computations (92.2% saved)
6 alts after pruning (2 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 16 | 2 | 18 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 3 | 3 |
| Done | 0 | 1 | 1 |
| Total | 16 | 6 | 22 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 99.6% | (+.f64 (+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x)) (*.f64 y y)) |
| ✓ | 82.3% | (+.f64 #s(approx (+ (* x 2) (* x x)) (*.f64 x x)) (*.f64 y y)) |
| ✓ | 59.3% | #s(approx (+ (+ (* x 2) (* x x)) (* y y)) (+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x))) |
| ▶ | 50.2% | #s(approx (+ (+ (* x 2) (* x x)) (* y y)) (*.f64 y y)) |
| ✓ | 20.0% | #s(approx (+ (+ (* x 2) (* x x)) (* y y)) (*.f64 x #s(literal 2 binary64))) |
| ▶ | 42.7% | #s(approx (+ (+ (* x 2) (* x x)) (* y y)) #s(approx (+ (* x 2) (* x x)) (*.f64 x x))) |
Compiled 98 to 63 computations (35.7% saved)
| 1× | egg-herbie |
Found 5 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 y y) | |
| cost-diff | 0 | #s(approx (+ (+ (* x 2) (* x x)) (* y y)) (*.f64 y y)) | |
| cost-diff | 0 | (*.f64 x x) | |
| cost-diff | 0 | #s(approx (+ (* x 2) (* x x)) (*.f64 x x)) | |
| cost-diff | 0 | #s(approx (+ (+ (* x 2) (* x x)) (* y y)) #s(approx (+ (* x 2) (* x x)) (*.f64 x x))) |
| Inputs |
|---|
#s(approx (+ (+ (* x 2) (* x x)) (* y y)) #s(approx (+ (* x 2) (* x x)) (*.f64 x x))) |
#s(approx (+ (* x 2) (* x x)) (*.f64 x x)) |
(*.f64 x x) |
x |
#s(approx (+ (+ (* x 2) (* x x)) (* y y)) (*.f64 y y)) |
(*.f64 y y) |
y |
| Outputs |
|---|
#s(approx (+ (+ (* x 2) (* x x)) (* y y)) #s(approx (+ (* x 2) (* x x)) (*.f64 x x))) |
#s(approx (+ (* x 2) (* x x)) (*.f64 x x)) |
(*.f64 x x) |
x |
#s(approx (+ (+ (* x 2) (* x x)) (* y y)) (*.f64 y y)) |
(*.f64 y y) |
y |
Found 5 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (*.f64 y y) | |
| accuracy | 31.855007116276866 | #s(approx (+ (+ (* x 2) (* x x)) (* y y)) (*.f64 y y)) | |
| accuracy | 0.0 | (*.f64 x x) | |
| accuracy | 25.772643010544297 | #s(approx (+ (+ (* x 2) (* x x)) (* y y)) #s(approx (+ (* x 2) (* x x)) (*.f64 x x))) | |
| accuracy | 31.19074543542296 | #s(approx (+ (* x 2) (* x x)) (*.f64 x x)) |
| 15.0ms | 256× | 0 | valid |
Compiled 96 to 23 computations (76% saved)
ival-mult: 6.0ms (71.2% of total)ival-add: 2.0ms (23.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 2) (* x x)) (* y y)) #s(approx (+ (* x 2) (* x x)) (*.f64 x x))) |
#s(approx (+ (* x 2) (* x x)) (*.f64 x x)) |
(*.f64 x x) |
#s(approx (+ (+ (* x 2) (* x x)) (* y y)) (*.f64 y y)) |
(*.f64 y y) |
| Outputs |
|---|
(pow y 2) |
(+ (* 2 x) (pow y 2)) |
(+ (* x (+ 2 x)) (pow y 2)) |
(* 2 x) |
(* x (+ 2 x)) |
(pow x 2) |
(* (pow x 2) (+ 1 (* 2 (/ 1 x)))) |
(* (pow x 2) (+ 1 (+ (* 2 (/ 1 x)) (/ (pow y 2) (pow x 2))))) |
(* (pow x 2) (+ 1 (* -1 (/ (- (* -1 (/ (pow y 2) x)) 2) x)))) |
(+ (* 2 x) (pow x 2)) |
(+ (* 2 x) (+ (pow x 2) (pow y 2))) |
(* (pow y 2) (+ 1 (+ (* 2 (/ x (pow y 2))) (/ (pow x 2) (pow y 2))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | ((+ (+ (* x 2) (* x x)) (* y y)) (+ (* x 2) (* x x)) (* x x) (+ (+ (* x 2) (* x x)) (* y y)) (* y y)) |
| 1.0ms | x | @ | -inf | ((+ (+ (* x 2) (* x x)) (* y y)) (+ (* x 2) (* x x)) (* x x) (+ (+ (* x 2) (* x x)) (* y y)) (* y y)) |
| 0.0ms | y | @ | inf | ((+ (+ (* x 2) (* x x)) (* y y)) (+ (* x 2) (* x x)) (* x x) (+ (+ (* x 2) (* x x)) (* y y)) (* y y)) |
| 0.0ms | y | @ | -inf | ((+ (+ (* x 2) (* x x)) (* y y)) (+ (* x 2) (* x x)) (* x x) (+ (+ (* x 2) (* x x)) (* y y)) (* y y)) |
| 0.0ms | x | @ | 0 | ((+ (+ (* x 2) (* x x)) (* y y)) (+ (* x 2) (* x x)) (* x x) (+ (+ (* x 2) (* x x)) (* y y)) (* y y)) |
| 1× | egg-herbie |
| Inputs |
|---|
(pow y 2) |
(+ (* 2 x) (pow y 2)) |
(+ (* x (+ 2 x)) (pow y 2)) |
(* 2 x) |
(* x (+ 2 x)) |
(pow x 2) |
(* (pow x 2) (+ 1 (* 2 (/ 1 x)))) |
(* (pow x 2) (+ 1 (+ (* 2 (/ 1 x)) (/ (pow y 2) (pow x 2))))) |
(* (pow x 2) (+ 1 (* -1 (/ (- (* -1 (/ (pow y 2) x)) 2) x)))) |
(+ (* 2 x) (pow x 2)) |
(+ (* 2 x) (+ (pow x 2) (pow y 2))) |
(* (pow y 2) (+ 1 (+ (* 2 (/ x (pow y 2))) (/ (pow x 2) (pow y 2))))) |
| Outputs |
|---|
(pow y 2) |
#s(approx (+ (+ (* x 2) (* x x)) (* y y)) #s(approx (+ (* x 2) (* x x)) (*.f64 x x))) |
(+ (* 2 x) (pow y 2)) |
#s(approx (+ (* x 2) (* x x)) (*.f64 x x)) |
(+ (* x (+ 2 x)) (pow y 2)) |
(*.f64 x x) |
(* 2 x) |
#s(approx (+ (+ (* x 2) (* x x)) (* y y)) (*.f64 y y)) |
(* x (+ 2 x)) |
(*.f64 y y) |
| Inputs |
|---|
#s(approx (+ (+ (* x 2) (* x x)) (* y y)) #s(approx (+ (* x 2) (* x x)) (*.f64 x x))) |
#s(approx (+ (* x 2) (* x x)) (*.f64 x x)) |
(*.f64 x x) |
#s(approx (+ (+ (* x 2) (* x x)) (* y y)) (*.f64 y y)) |
(*.f64 y y) |
| Outputs |
|---|
#s(approx (+ (+ (* x 2) (* x x)) (* y y)) #s(approx (+ (* x 2) (* x x)) (*.f64 x x))) |
#s(approx (+ (* x 2) (* x x)) (*.f64 x x)) |
(*.f64 x x) |
#s(approx (+ (+ (* x 2) (* x x)) (* y y)) (*.f64 y y)) |
(*.f64 y y) |
Compiled 207 to 19 computations (90.8% saved)
6 alts after pruning (0 fresh and 6 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 9 | 0 | 9 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 2 | 2 |
| Done | 0 | 4 | 4 |
| Total | 9 | 6 | 15 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 99.6% | (+.f64 (+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x)) (*.f64 y y)) |
| ✓ | 82.3% | (+.f64 #s(approx (+ (* x 2) (* x x)) (*.f64 x x)) (*.f64 y y)) |
| ✓ | 59.3% | #s(approx (+ (+ (* x 2) (* x x)) (* y y)) (+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x))) |
| ✓ | 50.2% | #s(approx (+ (+ (* x 2) (* x x)) (* y y)) (*.f64 y y)) |
| ✓ | 20.0% | #s(approx (+ (+ (* x 2) (* x x)) (* y y)) (*.f64 x #s(literal 2 binary64))) |
| ✓ | 42.7% | #s(approx (+ (+ (* x 2) (* x x)) (* y y)) #s(approx (+ (* x 2) (* x x)) (*.f64 x x))) |
Compiled 196 to 83 computations (57.7% saved)
| Inputs |
|---|
#s(approx (+ (+ (* x 2) (* x x)) (* y y)) #s(approx (+ (* x 2) (* x x)) (*.f64 x x))) |
#s(approx (+ (+ (* x 2) (* x x)) (* y y)) (*.f64 x #s(literal 2 binary64))) |
#s(approx (+ (+ (* x 2) (* x x)) (* y y)) (*.f64 y y)) |
#s(approx (+ (+ (* x 2) (* x x)) (* y y)) (+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x))) |
(+.f64 #s(approx (+ (* x 2) (* x x)) (*.f64 x x)) (*.f64 y y)) |
(+.f64 (+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x)) (*.f64 y y)) |
| Outputs |
|---|
(+.f64 (+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x)) (*.f64 y y)) |
5 calls:
| 4.0ms | y |
| 3.0ms | x |
| 3.0ms | (+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x)) |
| 2.0ms | (+.f64 (+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x)) (*.f64 y y)) |
| 2.0ms | (*.f64 y y) |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.6% | 1 | x |
| 99.6% | 1 | y |
| 99.6% | 1 | (+.f64 (+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x)) (*.f64 y y)) |
| 99.6% | 1 | (+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x)) |
| 99.6% | 1 | (*.f64 y y) |
Compiled 23 to 21 computations (8.7% saved)
| Inputs |
|---|
#s(approx (+ (+ (* x 2) (* x x)) (* y y)) #s(approx (+ (* x 2) (* x x)) (*.f64 x x))) |
#s(approx (+ (+ (* x 2) (* x x)) (* y y)) (*.f64 x #s(literal 2 binary64))) |
#s(approx (+ (+ (* x 2) (* x x)) (* y y)) (*.f64 y y)) |
#s(approx (+ (+ (* x 2) (* x x)) (* y y)) (+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x))) |
(+.f64 #s(approx (+ (* x 2) (* x x)) (*.f64 x x)) (*.f64 y y)) |
| Outputs |
|---|
#s(approx (+ (+ (* x 2) (* x x)) (* y y)) (+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x))) |
(+.f64 #s(approx (+ (* x 2) (* x x)) (*.f64 x x)) (*.f64 y y)) |
5 calls:
| 2.0ms | (+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x)) |
| 2.0ms | x |
| 2.0ms | y |
| 2.0ms | (+.f64 (+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x)) (*.f64 y y)) |
| 2.0ms | (*.f64 y y) |
| Accuracy | Segments | Branch |
|---|---|---|
| 82.3% | 1 | x |
| 96.4% | 3 | y |
| 94.8% | 2 | (+.f64 (+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x)) (*.f64 y y)) |
| 82.3% | 1 | (+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x)) |
| 96.4% | 2 | (*.f64 y y) |
Compiled 23 to 21 computations (8.7% saved)
| Inputs |
|---|
#s(approx (+ (+ (* x 2) (* x x)) (* y y)) #s(approx (+ (* x 2) (* x x)) (*.f64 x x))) |
#s(approx (+ (+ (* x 2) (* x x)) (* y y)) (*.f64 x #s(literal 2 binary64))) |
#s(approx (+ (+ (* x 2) (* x x)) (* y y)) (*.f64 y y)) |
#s(approx (+ (+ (* x 2) (* x x)) (* y y)) (+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x))) |
| Outputs |
|---|
#s(approx (+ (+ (* x 2) (* x x)) (* y y)) (+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x))) |
#s(approx (+ (+ (* x 2) (* x x)) (* y y)) (*.f64 y y)) |
3 calls:
| 4.0ms | (*.f64 y y) |
| 2.0ms | y |
| 2.0ms | (+.f64 (+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x)) (*.f64 y y)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 66.2% | 3 | (+.f64 (+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x)) (*.f64 y y)) |
| 84.3% | 3 | y |
| 84.0% | 2 | (*.f64 y y) |
Compiled 15 to 13 computations (13.3% saved)
| Inputs |
|---|
#s(approx (+ (+ (* x 2) (* x x)) (* y y)) #s(approx (+ (* x 2) (* x x)) (*.f64 x x))) |
#s(approx (+ (+ (* x 2) (* x x)) (* y y)) (*.f64 x #s(literal 2 binary64))) |
#s(approx (+ (+ (* x 2) (* x x)) (* y y)) (*.f64 y y)) |
| Outputs |
|---|
#s(approx (+ (+ (* x 2) (* x x)) (* y y)) (*.f64 y y)) |
#s(approx (+ (+ (* x 2) (* x x)) (* y y)) #s(approx (+ (* x 2) (* x x)) (*.f64 x x))) |
4 calls:
| 2.0ms | (+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x)) |
| 2.0ms | x |
| 2.0ms | y |
| 2.0ms | (*.f64 y y) |
| Accuracy | Segments | Branch |
|---|---|---|
| 73.0% | 6 | y |
| 75.6% | 3 | x |
| 75.6% | 2 | (+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x)) |
| 67.3% | 2 | (*.f64 y y) |
Compiled 12 to 13 computations (-8.3% saved)
| Inputs |
|---|
#s(approx (+ (+ (* x 2) (* x x)) (* y y)) #s(approx (+ (* x 2) (* x x)) (*.f64 x x))) |
#s(approx (+ (+ (* x 2) (* x x)) (* y y)) (*.f64 x #s(literal 2 binary64))) |
| Outputs |
|---|
#s(approx (+ (+ (* x 2) (* x x)) (* y y)) (*.f64 x #s(literal 2 binary64))) |
#s(approx (+ (+ (* x 2) (* x x)) (* y y)) #s(approx (+ (* x 2) (* x x)) (*.f64 x x))) |
5 calls:
| 1.0ms | y |
| 1.0ms | (+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x)) |
| 1.0ms | (+.f64 (+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x)) (*.f64 y y)) |
| 1.0ms | x |
| 1.0ms | (*.f64 y y) |
| Accuracy | Segments | Branch |
|---|---|---|
| 59.3% | 2 | (+.f64 (+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x)) (*.f64 y y)) |
| 49.6% | 5 | y |
| 42.7% | 1 | (*.f64 y y) |
| 59.2% | 3 | x |
| 59.2% | 2 | (+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x)) |
Compiled 23 to 21 computations (8.7% saved)
Total -0.0b remaining (-0%)
Threshold costs -0b (-0%)
| Inputs |
|---|
#s(approx (+ (+ (* x 2) (* x x)) (* y y)) #s(approx (+ (* x 2) (* x x)) (*.f64 x x))) |
| Outputs |
|---|
#s(approx (+ (+ (* x 2) (* x x)) (* y y)) #s(approx (+ (* x 2) (* x x)) (*.f64 x x))) |
4 calls:
| 1.0ms | (+.f64 (+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x)) (*.f64 y y)) |
| 1.0ms | (+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x)) |
| 1.0ms | x |
| 1.0ms | y |
| Accuracy | Segments | Branch |
|---|---|---|
| 42.7% | 1 | y |
| 42.7% | 1 | x |
| 42.7% | 1 | (+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x)) |
| 42.7% | 1 | (+.f64 (+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x)) (*.f64 y y)) |
Compiled 20 to 18 computations (10% saved)
| 1× | binary-search |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 11.0ms | 1.0967406561966397e-162 | 1.6137288478910645e-153 |
| 6.0ms | 144× | 0 | valid |
Compiled 302 to 229 computations (24.2% saved)
ival-mult: 2.0ms (61.2% of total)ival-add: 1.0ms (30.6% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 1× | binary-search |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 14.0ms | 6.50860090457001e-91 | 3.3834915044587373e-81 |
| 9.0ms | 160× | 0 | valid |
Compiled 334 to 253 computations (24.3% saved)
ival-mult: 2.0ms (55.5% of total)ival-add: 1.0ms (27.7% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 1× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | 4.3844974443948085e+28 | 9.424746390907838e+41 |
Compiled 14 to 13 computations (7.1% saved)
| 1× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | 8060493.123297569 | 1154677847493.5435 |
Compiled 14 to 13 computations (7.1% saved)
| 1× | egg-herbie |
| Inputs |
|---|
(+.f64 (+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x)) (*.f64 y y)) |
(if (<=.f64 (*.f64 y y) #s(literal 7729075046034517/483067190377157293086918986366498418037365916213304374832154406431439892786195053067024220822740322245307952003937772147170634832630373456967863584183385093587122601852928 binary64)) #s(approx (+ (+ (* x 2) (* x x)) (* y y)) (+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x))) (+.f64 #s(approx (+ (* x 2) (* x x)) (*.f64 x x)) (*.f64 y y))) |
(if (<=.f64 (*.f64 y y) #s(literal 2349585739513001/1067993517960455041197510853084776057301352261178326384973520803911109862890320275011481043468288 binary64)) #s(approx (+ (+ (* x 2) (* x x)) (* y y)) (+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x))) #s(approx (+ (+ (* x 2) (* x x)) (* y y)) (*.f64 y y))) |
(if (<=.f64 (+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x)) #s(literal 49999999999999995716575428608 binary64)) #s(approx (+ (+ (* x 2) (* x x)) (* y y)) (*.f64 y y)) #s(approx (+ (+ (* x 2) (* x x)) (* y y)) #s(approx (+ (* x 2) (* x x)) (*.f64 x x)))) |
(if (<=.f64 (+.f64 (+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x)) (*.f64 y y)) #s(literal 10000000 binary64)) #s(approx (+ (+ (* x 2) (* x x)) (* y y)) (*.f64 x #s(literal 2 binary64))) #s(approx (+ (+ (* x 2) (* x x)) (* y y)) #s(approx (+ (* x 2) (* x x)) (*.f64 x x)))) |
#s(approx (+ (+ (* x 2) (* x x)) (* y y)) #s(approx (+ (* x 2) (* x x)) (*.f64 x x))) |
| Outputs |
|---|
(+.f64 (+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x)) (*.f64 y y)) |
(if (<=.f64 (*.f64 y y) #s(literal 7729075046034517/483067190377157293086918986366498418037365916213304374832154406431439892786195053067024220822740322245307952003937772147170634832630373456967863584183385093587122601852928 binary64)) #s(approx (+ (+ (* x 2) (* x x)) (* y y)) (+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x))) (+.f64 #s(approx (+ (* x 2) (* x x)) (*.f64 x x)) (*.f64 y y))) |
(if (<=.f64 (*.f64 y y) #s(literal 2349585739513001/1067993517960455041197510853084776057301352261178326384973520803911109862890320275011481043468288 binary64)) #s(approx (+ (+ (* x 2) (* x x)) (* y y)) (+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x))) #s(approx (+ (+ (* x 2) (* x x)) (* y y)) (*.f64 y y))) |
(if (<=.f64 (+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x)) #s(literal 49999999999999995716575428608 binary64)) #s(approx (+ (+ (* x 2) (* x x)) (* y y)) (*.f64 y y)) #s(approx (+ (+ (* x 2) (* x x)) (* y y)) #s(approx (+ (* x 2) (* x x)) (*.f64 x x)))) |
(if (<=.f64 (+.f64 (+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x)) (*.f64 y y)) #s(literal 10000000 binary64)) #s(approx (+ (+ (* x 2) (* x x)) (* y y)) (*.f64 x #s(literal 2 binary64))) #s(approx (+ (+ (* x 2) (* x x)) (* y y)) #s(approx (+ (* x 2) (* x x)) (*.f64 x x)))) |
#s(approx (+ (+ (* x 2) (* x x)) (* y y)) #s(approx (+ (* x 2) (* x x)) (*.f64 x x))) |
| 1× | done |
Compiled 214 to 32 computations (85% saved)
Compiled 472 to 96 computations (79.7% saved)
Loading profile data...