
Time bar (total: 930.0ms)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 0 |
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 1 |
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 2 |
| 50% | 50% | 50% | 0.1% | 0% | 0% | 0% | 3 |
| 50% | 50% | 50% | 0.1% | 0% | 0% | 0% | 4 |
| 75% | 74.9% | 25% | 0.1% | 0% | 0% | 0% | 5 |
| 75% | 74.9% | 25% | 0.1% | 0% | 0% | 0% | 6 |
| 87.5% | 87.4% | 12.5% | 0.1% | 0% | 0% | 0% | 7 |
| 87.5% | 87.4% | 12.5% | 0.1% | 0% | 0% | 0% | 8 |
| 93.8% | 93.7% | 6.2% | 0.1% | 0% | 0% | 0% | 9 |
| 93.8% | 93.7% | 6.2% | 0.1% | 0% | 0% | 0% | 10 |
| 96.9% | 96.8% | 3.1% | 0.1% | 0% | 0% | 0% | 11 |
| 96.9% | 96.8% | 3.1% | 0.1% | 0% | 0% | 0% | 12 |
Compiled 11 to 9 computations (18.2% saved)
| 419.0ms | 8 256× | 0 | valid |
ival-mult: 132.0ms (52.9% of total)ival-div: 57.0ms (22.8% of total)ival-sub: 45.0ms (18% of total)ival-true: 7.0ms (2.8% of total)exact: 5.0ms (2% of total)ival-assert: 4.0ms (1.6% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 60 | 0 | - | 4 | (-1.3012690575034303e-9 -5.206179116616449e-305) | (/.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) y) (-.f64 x 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 x y) |
| 0 | 0 | - | 0 | - | (*.f64 (*.f64 x #s(literal 2 binary64)) y) |
| 0 | 0 | - | 0 | - | x |
| Operator | Subexpression | Explanation | Count | |
|---|---|---|---|---|
/.f64 | (/.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) y) (-.f64 x y)) | u/n | 32 | 0 |
| ↳ | (*.f64 (*.f64 x #s(literal 2 binary64)) y) | underflow | 32 | |
/.f64 | (/.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) y) (-.f64 x y)) | o/n | 24 | 0 |
| ↳ | (*.f64 (*.f64 x #s(literal 2 binary64)) y) | overflow | 24 |
| Predicted + | Predicted - | |
|---|---|---|
| + | 56 | 4 |
| - | 0 | 196 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 56 | 0 | 4 |
| - | 0 | 0 | 196 |
| number | freq |
|---|---|
| 0 | 200 |
| 1 | 56 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 1 | 0 | 0 |
| - | 0 | 0 | 0 |
| 30.0ms | 512× | 0 | valid |
Compiled 82 to 32 computations (61% saved)
ival-mult: 7.0ms (50.5% of total)ival-sub: 3.0ms (21.6% of total)ival-div: 3.0ms (21.6% of total)ival-true: 1.0ms (7.2% 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)) y) (-.f64 x y)) |
| Outputs |
|---|
(/.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) y) (-.f64 x y)) |
Compiled 9 to 7 computations (22.2% saved)
Compiled 0 to 2 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 78.9% | (/.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) y) (-.f64 x y)) |
Compiled 9 to 7 computations (22.2% saved)
| 1× | egg-herbie |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (-.f64 x y) | |
| cost-diff | 0 | (*.f64 x #s(literal 2 binary64)) | |
| cost-diff | 0 | (*.f64 (*.f64 x #s(literal 2 binary64)) y) | |
| cost-diff | 0 | (/.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) y) (-.f64 x y)) |
| Inputs |
|---|
(/.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) y) (-.f64 x y)) |
(*.f64 (*.f64 x #s(literal 2 binary64)) y) |
(*.f64 x #s(literal 2 binary64)) |
x |
#s(literal 2 binary64) |
y |
(-.f64 x y) |
| Outputs |
|---|
(/.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) y) (-.f64 x y)) |
(*.f64 (*.f64 x #s(literal 2 binary64)) y) |
(*.f64 x #s(literal 2 binary64)) |
x |
#s(literal 2 binary64) |
y |
(-.f64 x y) |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (-.f64 x y) | |
| accuracy | 0.0 | (*.f64 (*.f64 x #s(literal 2 binary64)) y) | |
| accuracy | 0.0 | (*.f64 x #s(literal 2 binary64)) | |
| accuracy | 13.531712497605094 | (/.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) y) (-.f64 x y)) |
| 15.0ms | 256× | 0 | valid |
Compiled 48 to 16 computations (66.7% saved)
ival-mult: 3.0ms (43.7% of total)ival-div: 2.0ms (29.1% of total)ival-sub: 1.0ms (14.6% 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)) y) (-.f64 x y)) |
(*.f64 (*.f64 x #s(literal 2 binary64)) y) |
(*.f64 x #s(literal 2 binary64)) |
(-.f64 x y) |
| Outputs |
|---|
(* -2 x) |
(* x (- (* -2 (/ x y)) 2)) |
(* x (- (* x (- (* -2 (/ x (pow y 2))) (* 2 (/ 1 y)))) 2)) |
(* x (- (* x (- (* x (- (* -2 (/ x (pow y 3))) (* 2 (/ 1 (pow y 2))))) (* 2 (/ 1 y)))) 2)) |
(* 2 (* x y)) |
(* 2 x) |
(* -1 y) |
(- x y) |
(* 2 y) |
(+ (* 2 y) (* 2 (/ (pow y 2) x))) |
(+ (* 2 y) (+ (* 2 (/ (pow y 2) x)) (* 2 (/ (pow y 3) (pow x 2))))) |
(+ (* 2 y) (+ (* 2 (/ (pow y 2) x)) (+ (* 2 (/ (pow y 3) (pow x 2))) (* 2 (/ (pow y 4) (pow x 3)))))) |
x |
(* x (+ 1 (* -1 (/ y x)))) |
(+ (* -1 (/ (+ (* -2 (/ (pow y 3) x)) (* -2 (pow y 2))) x)) (* 2 y)) |
(+ (* -1 (/ (+ (* -2 (pow y 2)) (* -1 (/ (+ (* 2 (/ (pow y 4) x)) (* 2 (pow y 3))) x))) x)) (* 2 y)) |
(* -1 (* x (- (/ y x) 1))) |
(* y (+ 2 (* 2 (/ y x)))) |
(* y (+ 2 (* y (+ (* 2 (/ y (pow x 2))) (* 2 (/ 1 x)))))) |
(* y (+ 2 (* y (+ (* y (+ (* 2 (/ y (pow x 3))) (* 2 (/ 1 (pow x 2))))) (* 2 (/ 1 x)))))) |
(+ x (* -1 y)) |
(+ (* -2 x) (* -2 (/ (pow x 2) y))) |
(+ (* -2 x) (+ (* -2 (/ (pow x 2) y)) (* -2 (/ (pow x 3) (pow y 2))))) |
(+ (* -2 x) (+ (* -2 (/ (pow x 2) y)) (+ (* -2 (/ (pow x 3) (pow y 2))) (* -2 (/ (pow x 4) (pow y 3)))))) |
(* y (- (/ x y) 1)) |
(+ (* -2 x) (* -1 (/ (+ (* 2 (/ (pow x 3) y)) (* 2 (pow x 2))) y))) |
(+ (* -2 x) (* -1 (/ (+ (* -1 (/ (+ (* -2 (/ (pow x 4) y)) (* -2 (pow x 3))) y)) (* 2 (pow x 2))) y))) |
(* -1 (* y (+ 1 (* -1 (/ x y))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | inf | ((/ (* (* x 2) y) (- x y)) (* (* x 2) y) (* x 2) (- x y)) |
| 2.0ms | x | @ | -inf | ((/ (* (* x 2) y) (- x y)) (* (* x 2) y) (* x 2) (- x y)) |
| 1.0ms | x | @ | 0 | ((/ (* (* x 2) y) (- x y)) (* (* x 2) y) (* x 2) (- x y)) |
| 1.0ms | y | @ | inf | ((/ (* (* x 2) y) (- x y)) (* (* x 2) y) (* x 2) (- x y)) |
| 1.0ms | y | @ | -inf | ((/ (* (* x 2) y) (- x y)) (* (* x 2) y) (* x 2) (- x y)) |
| 1× | egg-herbie |
| Inputs |
|---|
(* -2 x) |
(* x (- (* -2 (/ x y)) 2)) |
(* x (- (* x (- (* -2 (/ x (pow y 2))) (* 2 (/ 1 y)))) 2)) |
(* x (- (* x (- (* x (- (* -2 (/ x (pow y 3))) (* 2 (/ 1 (pow y 2))))) (* 2 (/ 1 y)))) 2)) |
(* 2 (* x y)) |
(* 2 x) |
(* -1 y) |
(- x y) |
(* 2 y) |
(+ (* 2 y) (* 2 (/ (pow y 2) x))) |
(+ (* 2 y) (+ (* 2 (/ (pow y 2) x)) (* 2 (/ (pow y 3) (pow x 2))))) |
(+ (* 2 y) (+ (* 2 (/ (pow y 2) x)) (+ (* 2 (/ (pow y 3) (pow x 2))) (* 2 (/ (pow y 4) (pow x 3)))))) |
x |
(* x (+ 1 (* -1 (/ y x)))) |
(+ (* -1 (/ (+ (* -2 (/ (pow y 3) x)) (* -2 (pow y 2))) x)) (* 2 y)) |
(+ (* -1 (/ (+ (* -2 (pow y 2)) (* -1 (/ (+ (* 2 (/ (pow y 4) x)) (* 2 (pow y 3))) x))) x)) (* 2 y)) |
(* -1 (* x (- (/ y x) 1))) |
(* y (+ 2 (* 2 (/ y x)))) |
(* y (+ 2 (* y (+ (* 2 (/ y (pow x 2))) (* 2 (/ 1 x)))))) |
(* y (+ 2 (* y (+ (* y (+ (* 2 (/ y (pow x 3))) (* 2 (/ 1 (pow x 2))))) (* 2 (/ 1 x)))))) |
(+ x (* -1 y)) |
(+ (* -2 x) (* -2 (/ (pow x 2) y))) |
(+ (* -2 x) (+ (* -2 (/ (pow x 2) y)) (* -2 (/ (pow x 3) (pow y 2))))) |
(+ (* -2 x) (+ (* -2 (/ (pow x 2) y)) (+ (* -2 (/ (pow x 3) (pow y 2))) (* -2 (/ (pow x 4) (pow y 3)))))) |
(* y (- (/ x y) 1)) |
(+ (* -2 x) (* -1 (/ (+ (* 2 (/ (pow x 3) y)) (* 2 (pow x 2))) y))) |
(+ (* -2 x) (* -1 (/ (+ (* -1 (/ (+ (* -2 (/ (pow x 4) y)) (* -2 (pow x 3))) y)) (* 2 (pow x 2))) y))) |
(* -1 (* y (+ 1 (* -1 (/ x y))))) |
| Outputs |
|---|
(* -2 x) |
(/.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) y) (-.f64 x y)) |
(* x (- (* -2 (/ x y)) 2)) |
(*.f64 (*.f64 x #s(literal 2 binary64)) y) |
(* x (- (* x (- (* -2 (/ x (pow y 2))) (* 2 (/ 1 y)))) 2)) |
(*.f64 x #s(literal 2 binary64)) |
(* x (- (* x (- (* x (- (* -2 (/ x (pow y 3))) (* 2 (/ 1 (pow y 2))))) (* 2 (/ 1 y)))) 2)) |
(-.f64 x y) |
| Inputs |
|---|
(/.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) y) (-.f64 x y)) |
(*.f64 (*.f64 x #s(literal 2 binary64)) y) |
(*.f64 x #s(literal 2 binary64)) |
(-.f64 x y) |
| Outputs |
|---|
(/.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) y) (-.f64 x y)) |
(*.f64 (*.f64 x #s(literal 2 binary64)) y) |
(*.f64 x #s(literal 2 binary64)) |
(-.f64 x y) |
Compiled 96 to 16 computations (83.3% 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 |
|---|---|---|
| ✓ | 78.9% | (/.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) y) (-.f64 x y)) |
| ▶ | 3.2% | #s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y)) |
| ▶ | 4.4% | #s(approx (/ (* (* x 2) y) (- x y)) (*.f64 (*.f64 x #s(literal 2 binary64)) y)) |
| ▶ | 3.5% | #s(approx (/ (* (* x 2) y) (- x y)) (*.f64 x #s(literal 2 binary64))) |
Compiled 50 to 37 computations (26% saved)
| 1× | egg-herbie |
Found 7 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (-.f64 x y) | |
| cost-diff | 0 | #s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y)) | |
| cost-diff | 0 | (*.f64 x #s(literal 2 binary64)) | |
| cost-diff | 0 | (*.f64 (*.f64 x #s(literal 2 binary64)) y) | |
| cost-diff | 0 | #s(approx (/ (* (* x 2) y) (- x y)) (*.f64 (*.f64 x #s(literal 2 binary64)) y)) | |
| cost-diff | 0 | (*.f64 x #s(literal 2 binary64)) | |
| cost-diff | 0 | #s(approx (/ (* (* x 2) y) (- x y)) (*.f64 x #s(literal 2 binary64))) |
| Inputs |
|---|
#s(approx (/ (* (* x 2) y) (- x y)) (*.f64 x #s(literal 2 binary64))) |
(*.f64 x #s(literal 2 binary64)) |
x |
#s(literal 2 binary64) |
#s(approx (/ (* (* x 2) y) (- x y)) (*.f64 (*.f64 x #s(literal 2 binary64)) y)) |
(*.f64 (*.f64 x #s(literal 2 binary64)) y) |
(*.f64 x #s(literal 2 binary64)) |
x |
#s(literal 2 binary64) |
y |
#s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y)) |
(-.f64 x y) |
x |
y |
| Outputs |
|---|
#s(approx (/ (* (* x 2) y) (- x y)) (*.f64 x #s(literal 2 binary64))) |
(*.f64 x #s(literal 2 binary64)) |
x |
#s(literal 2 binary64) |
#s(approx (/ (* (* x 2) y) (- x y)) (*.f64 (*.f64 x #s(literal 2 binary64)) y)) |
(*.f64 (*.f64 x #s(literal 2 binary64)) y) |
(*.f64 x #s(literal 2 binary64)) |
x |
#s(literal 2 binary64) |
y |
#s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y)) |
(-.f64 x y) |
x |
y |
Found 7 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (-.f64 x y) | |
| accuracy | 61.953240163069836 | #s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y)) | |
| accuracy | 0.0 | (*.f64 (*.f64 x #s(literal 2 binary64)) y) | |
| accuracy | 0.0 | (*.f64 x #s(literal 2 binary64)) | |
| accuracy | 61.186827157992695 | #s(approx (/ (* (* x 2) y) (- x y)) (*.f64 (*.f64 x #s(literal 2 binary64)) y)) | |
| accuracy | 0.0 | (*.f64 x #s(literal 2 binary64)) | |
| accuracy | 61.790488500999494 | #s(approx (/ (* (* x 2) y) (- x y)) (*.f64 x #s(literal 2 binary64))) |
| 16.0ms | 256× | 0 | valid |
Compiled 112 to 23 computations (79.5% saved)
ival-mult: 3.0ms (44.8% of total)ival-div: 2.0ms (29.9% of total)ival-sub: 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)| Inputs |
|---|
#s(approx (/ (* (* x 2) y) (- x y)) (*.f64 x #s(literal 2 binary64))) |
(*.f64 x #s(literal 2 binary64)) |
#s(approx (/ (* (* x 2) y) (- x y)) (*.f64 (*.f64 x #s(literal 2 binary64)) y)) |
(*.f64 (*.f64 x #s(literal 2 binary64)) y) |
#s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y)) |
(-.f64 x y) |
| Outputs |
|---|
(* -2 x) |
(* x (- (* -2 (/ x y)) 2)) |
(* x (- (* x (- (* -2 (/ x (pow y 2))) (* 2 (/ 1 y)))) 2)) |
(* x (- (* x (- (* x (- (* -2 (/ x (pow y 3))) (* 2 (/ 1 (pow y 2))))) (* 2 (/ 1 y)))) 2)) |
(* 2 x) |
(* 2 (* x y)) |
(* -1 y) |
(- x y) |
(* 2 y) |
(+ (* 2 y) (* 2 (/ (pow y 2) x))) |
(+ (* 2 y) (+ (* 2 (/ (pow y 2) x)) (* 2 (/ (pow y 3) (pow x 2))))) |
(+ (* 2 y) (+ (* 2 (/ (pow y 2) x)) (+ (* 2 (/ (pow y 3) (pow x 2))) (* 2 (/ (pow y 4) (pow x 3)))))) |
x |
(* x (+ 1 (* -1 (/ y x)))) |
(+ (* -1 (/ (+ (* -2 (/ (pow y 3) x)) (* -2 (pow y 2))) x)) (* 2 y)) |
(+ (* -1 (/ (+ (* -2 (pow y 2)) (* -1 (/ (+ (* 2 (/ (pow y 4) x)) (* 2 (pow y 3))) x))) x)) (* 2 y)) |
(* -1 (* x (- (/ y x) 1))) |
(* y (+ 2 (* 2 (/ y x)))) |
(* y (+ 2 (* y (+ (* 2 (/ y (pow x 2))) (* 2 (/ 1 x)))))) |
(* y (+ 2 (* y (+ (* y (+ (* 2 (/ y (pow x 3))) (* 2 (/ 1 (pow x 2))))) (* 2 (/ 1 x)))))) |
(+ x (* -1 y)) |
(+ (* -2 x) (* -2 (/ (pow x 2) y))) |
(+ (* -2 x) (+ (* -2 (/ (pow x 2) y)) (* -2 (/ (pow x 3) (pow y 2))))) |
(+ (* -2 x) (+ (* -2 (/ (pow x 2) y)) (+ (* -2 (/ (pow x 3) (pow y 2))) (* -2 (/ (pow x 4) (pow y 3)))))) |
(* y (- (/ x y) 1)) |
(+ (* -2 x) (* -1 (/ (+ (* 2 (/ (pow x 3) y)) (* 2 (pow x 2))) y))) |
(+ (* -2 x) (* -1 (/ (+ (* -1 (/ (+ (* -2 (/ (pow x 4) y)) (* -2 (pow x 3))) y)) (* 2 (pow x 2))) y))) |
(* -1 (* y (+ 1 (* -1 (/ x y))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | y | @ | 0 | ((/ (* (* x 2) y) (- x y)) (* x 2) (/ (* (* x 2) y) (- x y)) (* (* x 2) y) (/ (* (* x 2) y) (- x y)) (- x y)) |
| 1.0ms | x | @ | inf | ((/ (* (* x 2) y) (- x y)) (* x 2) (/ (* (* x 2) y) (- x y)) (* (* x 2) y) (/ (* (* x 2) y) (- x y)) (- x y)) |
| 1.0ms | x | @ | -inf | ((/ (* (* x 2) y) (- x y)) (* x 2) (/ (* (* x 2) y) (- x y)) (* (* x 2) y) (/ (* (* x 2) y) (- x y)) (- x y)) |
| 1.0ms | x | @ | 0 | ((/ (* (* x 2) y) (- x y)) (* x 2) (/ (* (* x 2) y) (- x y)) (* (* x 2) y) (/ (* (* x 2) y) (- x y)) (- x y)) |
| 0.0ms | y | @ | -inf | ((/ (* (* x 2) y) (- x y)) (* x 2) (/ (* (* x 2) y) (- x y)) (* (* x 2) y) (/ (* (* x 2) y) (- x y)) (- x y)) |
| 1× | egg-herbie |
| Inputs |
|---|
(* -2 x) |
(* x (- (* -2 (/ x y)) 2)) |
(* x (- (* x (- (* -2 (/ x (pow y 2))) (* 2 (/ 1 y)))) 2)) |
(* x (- (* x (- (* x (- (* -2 (/ x (pow y 3))) (* 2 (/ 1 (pow y 2))))) (* 2 (/ 1 y)))) 2)) |
(* 2 x) |
(* 2 (* x y)) |
(* -1 y) |
(- x y) |
(* 2 y) |
(+ (* 2 y) (* 2 (/ (pow y 2) x))) |
(+ (* 2 y) (+ (* 2 (/ (pow y 2) x)) (* 2 (/ (pow y 3) (pow x 2))))) |
(+ (* 2 y) (+ (* 2 (/ (pow y 2) x)) (+ (* 2 (/ (pow y 3) (pow x 2))) (* 2 (/ (pow y 4) (pow x 3)))))) |
x |
(* x (+ 1 (* -1 (/ y x)))) |
(+ (* -1 (/ (+ (* -2 (/ (pow y 3) x)) (* -2 (pow y 2))) x)) (* 2 y)) |
(+ (* -1 (/ (+ (* -2 (pow y 2)) (* -1 (/ (+ (* 2 (/ (pow y 4) x)) (* 2 (pow y 3))) x))) x)) (* 2 y)) |
(* -1 (* x (- (/ y x) 1))) |
(* y (+ 2 (* 2 (/ y x)))) |
(* y (+ 2 (* y (+ (* 2 (/ y (pow x 2))) (* 2 (/ 1 x)))))) |
(* y (+ 2 (* y (+ (* y (+ (* 2 (/ y (pow x 3))) (* 2 (/ 1 (pow x 2))))) (* 2 (/ 1 x)))))) |
(+ x (* -1 y)) |
(+ (* -2 x) (* -2 (/ (pow x 2) y))) |
(+ (* -2 x) (+ (* -2 (/ (pow x 2) y)) (* -2 (/ (pow x 3) (pow y 2))))) |
(+ (* -2 x) (+ (* -2 (/ (pow x 2) y)) (+ (* -2 (/ (pow x 3) (pow y 2))) (* -2 (/ (pow x 4) (pow y 3)))))) |
(* y (- (/ x y) 1)) |
(+ (* -2 x) (* -1 (/ (+ (* 2 (/ (pow x 3) y)) (* 2 (pow x 2))) y))) |
(+ (* -2 x) (* -1 (/ (+ (* -1 (/ (+ (* -2 (/ (pow x 4) y)) (* -2 (pow x 3))) y)) (* 2 (pow x 2))) y))) |
(* -1 (* y (+ 1 (* -1 (/ x y))))) |
| Outputs |
|---|
(* -2 x) |
#s(approx (/ (* (* x 2) y) (- x y)) (*.f64 x #s(literal 2 binary64))) |
(* x (- (* -2 (/ x y)) 2)) |
(*.f64 x #s(literal 2 binary64)) |
(* x (- (* x (- (* -2 (/ x (pow y 2))) (* 2 (/ 1 y)))) 2)) |
#s(approx (/ (* (* x 2) y) (- x y)) (*.f64 (*.f64 x #s(literal 2 binary64)) y)) |
(* x (- (* x (- (* x (- (* -2 (/ x (pow y 3))) (* 2 (/ 1 (pow y 2))))) (* 2 (/ 1 y)))) 2)) |
(*.f64 (*.f64 x #s(literal 2 binary64)) y) |
(* 2 x) |
#s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y)) |
(* 2 (* x y)) |
(-.f64 x y) |
| Inputs |
|---|
#s(approx (/ (* (* x 2) y) (- x y)) (*.f64 x #s(literal 2 binary64))) |
(*.f64 x #s(literal 2 binary64)) |
#s(approx (/ (* (* x 2) y) (- x y)) (*.f64 (*.f64 x #s(literal 2 binary64)) y)) |
(*.f64 (*.f64 x #s(literal 2 binary64)) y) |
#s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y)) |
(-.f64 x y) |
| Outputs |
|---|
#s(approx (/ (* (* x 2) y) (- x y)) (*.f64 x #s(literal 2 binary64))) |
(*.f64 x #s(literal 2 binary64)) |
#s(approx (/ (* (* x 2) y) (- x y)) (*.f64 (*.f64 x #s(literal 2 binary64)) y)) |
(*.f64 (*.f64 x #s(literal 2 binary64)) y) |
#s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y)) |
(-.f64 x y) |
Compiled 220 to 22 computations (90% saved)
5 alts after pruning (1 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 11 | 1 | 12 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 3 | 3 |
| Done | 0 | 1 | 1 |
| Total | 11 | 5 | 16 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 78.9% | (/.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) y) (-.f64 x y)) |
| ✓ | 3.2% | #s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y)) |
| ✓ | 4.4% | #s(approx (/ (* (* x 2) y) (- x y)) (*.f64 (*.f64 x #s(literal 2 binary64)) y)) |
| ▶ | 3.7% | #s(approx (/ (* (* x 2) y) (- x y)) (*.f64 #s(approx (* x 2) #s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y))) y)) |
| ✓ | 3.5% | #s(approx (/ (* (* x 2) y) (- x y)) (*.f64 x #s(literal 2 binary64))) |
Compiled 79 to 49 computations (38% saved)
| 1× | egg-herbie |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | #s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y)) | |
| cost-diff | 0 | #s(approx (* x 2) #s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y))) | |
| cost-diff | 0 | (*.f64 #s(approx (* x 2) #s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y))) y) | |
| cost-diff | 0 | #s(approx (/ (* (* x 2) y) (- x y)) (*.f64 #s(approx (* x 2) #s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y))) y)) |
| Inputs |
|---|
#s(approx (/ (* (* x 2) y) (- x y)) (*.f64 #s(approx (* x 2) #s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y))) y)) |
(*.f64 #s(approx (* x 2) #s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y))) y) |
#s(approx (* x 2) #s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y))) |
#s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y)) |
(-.f64 x y) |
x |
y |
| Outputs |
|---|
#s(approx (/ (* (* x 2) y) (- x y)) (*.f64 #s(approx (* x 2) #s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y))) y)) |
(*.f64 #s(approx (* x 2) #s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y))) y) |
#s(approx (* x 2) #s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y))) |
#s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y)) |
(-.f64 x y) |
x |
y |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (*.f64 #s(approx (* x 2) #s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y))) y) | |
| accuracy | 61.186827157992695 | #s(approx (/ (* (* x 2) y) (- x y)) (*.f64 #s(approx (* x 2) #s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y))) y)) | |
| accuracy | 61.790488500999494 | #s(approx (* x 2) #s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y))) | |
| accuracy | 61.953240163069836 | #s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y)) |
| 15.0ms | 256× | 0 | valid |
Compiled 116 to 21 computations (81.9% saved)
ival-mult: 3.0ms (44.6% of total)ival-div: 2.0ms (29.7% of total)ival-sub: 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)| Inputs |
|---|
#s(approx (/ (* (* x 2) y) (- x y)) (*.f64 #s(approx (* x 2) #s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y))) y)) |
(*.f64 #s(approx (* x 2) #s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y))) y) |
#s(approx (* x 2) #s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y))) |
#s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y)) |
| Outputs |
|---|
(* -2 x) |
(* x (- (* -2 (/ x y)) 2)) |
(* x (- (* x (- (* -2 (/ x (pow y 2))) (* 2 (/ 1 y)))) 2)) |
(* x (- (* x (- (* x (- (* -2 (/ x (pow y 3))) (* 2 (/ 1 (pow y 2))))) (* 2 (/ 1 y)))) 2)) |
(* 2 (* x y)) |
(* 2 x) |
(* 2 y) |
(+ (* 2 y) (* 2 (/ (pow y 2) x))) |
(+ (* 2 y) (+ (* 2 (/ (pow y 2) x)) (* 2 (/ (pow y 3) (pow x 2))))) |
(+ (* 2 y) (+ (* 2 (/ (pow y 2) x)) (+ (* 2 (/ (pow y 3) (pow x 2))) (* 2 (/ (pow y 4) (pow x 3)))))) |
(+ (* -1 (/ (+ (* -2 (/ (pow y 3) x)) (* -2 (pow y 2))) x)) (* 2 y)) |
(+ (* -1 (/ (+ (* -2 (pow y 2)) (* -1 (/ (+ (* 2 (/ (pow y 4) x)) (* 2 (pow y 3))) x))) x)) (* 2 y)) |
(* y (+ 2 (* 2 (/ y x)))) |
(* y (+ 2 (* y (+ (* 2 (/ y (pow x 2))) (* 2 (/ 1 x)))))) |
(* y (+ 2 (* y (+ (* y (+ (* 2 (/ y (pow x 3))) (* 2 (/ 1 (pow x 2))))) (* 2 (/ 1 x)))))) |
(+ (* -2 x) (* -2 (/ (pow x 2) y))) |
(+ (* -2 x) (+ (* -2 (/ (pow x 2) y)) (* -2 (/ (pow x 3) (pow y 2))))) |
(+ (* -2 x) (+ (* -2 (/ (pow x 2) y)) (+ (* -2 (/ (pow x 3) (pow y 2))) (* -2 (/ (pow x 4) (pow y 3)))))) |
(+ (* -2 x) (* -1 (/ (+ (* 2 (/ (pow x 3) y)) (* 2 (pow x 2))) y))) |
(+ (* -2 x) (* -1 (/ (+ (* -1 (/ (+ (* -2 (/ (pow x 4) y)) (* -2 (pow x 3))) y)) (* 2 (pow x 2))) y))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | y | @ | 0 | ((/ (* (* x 2) y) (- x y)) (* (* x 2) y) (* x 2) (/ (* (* x 2) y) (- x y))) |
| 1.0ms | x | @ | inf | ((/ (* (* x 2) y) (- x y)) (* (* x 2) y) (* x 2) (/ (* (* x 2) y) (- x y))) |
| 1.0ms | x | @ | -inf | ((/ (* (* x 2) y) (- x y)) (* (* x 2) y) (* x 2) (/ (* (* x 2) y) (- x y))) |
| 1.0ms | x | @ | 0 | ((/ (* (* x 2) y) (- x y)) (* (* x 2) y) (* x 2) (/ (* (* x 2) y) (- x y))) |
| 0.0ms | y | @ | inf | ((/ (* (* x 2) y) (- x y)) (* (* x 2) y) (* x 2) (/ (* (* x 2) y) (- x y))) |
| 1× | egg-herbie |
| Inputs |
|---|
(* -2 x) |
(* x (- (* -2 (/ x y)) 2)) |
(* x (- (* x (- (* -2 (/ x (pow y 2))) (* 2 (/ 1 y)))) 2)) |
(* x (- (* x (- (* x (- (* -2 (/ x (pow y 3))) (* 2 (/ 1 (pow y 2))))) (* 2 (/ 1 y)))) 2)) |
(* 2 (* x y)) |
(* 2 x) |
(* 2 y) |
(+ (* 2 y) (* 2 (/ (pow y 2) x))) |
(+ (* 2 y) (+ (* 2 (/ (pow y 2) x)) (* 2 (/ (pow y 3) (pow x 2))))) |
(+ (* 2 y) (+ (* 2 (/ (pow y 2) x)) (+ (* 2 (/ (pow y 3) (pow x 2))) (* 2 (/ (pow y 4) (pow x 3)))))) |
(+ (* -1 (/ (+ (* -2 (/ (pow y 3) x)) (* -2 (pow y 2))) x)) (* 2 y)) |
(+ (* -1 (/ (+ (* -2 (pow y 2)) (* -1 (/ (+ (* 2 (/ (pow y 4) x)) (* 2 (pow y 3))) x))) x)) (* 2 y)) |
(* y (+ 2 (* 2 (/ y x)))) |
(* y (+ 2 (* y (+ (* 2 (/ y (pow x 2))) (* 2 (/ 1 x)))))) |
(* y (+ 2 (* y (+ (* y (+ (* 2 (/ y (pow x 3))) (* 2 (/ 1 (pow x 2))))) (* 2 (/ 1 x)))))) |
(+ (* -2 x) (* -2 (/ (pow x 2) y))) |
(+ (* -2 x) (+ (* -2 (/ (pow x 2) y)) (* -2 (/ (pow x 3) (pow y 2))))) |
(+ (* -2 x) (+ (* -2 (/ (pow x 2) y)) (+ (* -2 (/ (pow x 3) (pow y 2))) (* -2 (/ (pow x 4) (pow y 3)))))) |
(+ (* -2 x) (* -1 (/ (+ (* 2 (/ (pow x 3) y)) (* 2 (pow x 2))) y))) |
(+ (* -2 x) (* -1 (/ (+ (* -1 (/ (+ (* -2 (/ (pow x 4) y)) (* -2 (pow x 3))) y)) (* 2 (pow x 2))) y))) |
| Outputs |
|---|
(* -2 x) |
#s(approx (/ (* (* x 2) y) (- x y)) (*.f64 #s(approx (* x 2) #s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y))) y)) |
(* x (- (* -2 (/ x y)) 2)) |
(*.f64 #s(approx (* x 2) #s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y))) y) |
(* x (- (* x (- (* -2 (/ x (pow y 2))) (* 2 (/ 1 y)))) 2)) |
#s(approx (* x 2) #s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y))) |
(* x (- (* x (- (* x (- (* -2 (/ x (pow y 3))) (* 2 (/ 1 (pow y 2))))) (* 2 (/ 1 y)))) 2)) |
#s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y)) |
| Inputs |
|---|
#s(approx (/ (* (* x 2) y) (- x y)) (*.f64 #s(approx (* x 2) #s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y))) y)) |
(*.f64 #s(approx (* x 2) #s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y))) y) |
#s(approx (* x 2) #s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y))) |
#s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y)) |
| Outputs |
|---|
#s(approx (/ (* (* x 2) y) (- x y)) (*.f64 #s(approx (* x 2) #s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y))) y)) |
(*.f64 #s(approx (* x 2) #s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y))) y) |
#s(approx (* x 2) #s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y))) |
#s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y)) |
Compiled 205 to 15 computations (92.7% saved)
5 alts after pruning (0 fresh and 5 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 7 | 0 | 7 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 4 | 4 |
| Total | 7 | 5 | 12 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 78.9% | (/.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) y) (-.f64 x y)) |
| ✓ | 3.2% | #s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y)) |
| ✓ | 4.4% | #s(approx (/ (* (* x 2) y) (- x y)) (*.f64 (*.f64 x #s(literal 2 binary64)) y)) |
| ✓ | 3.7% | #s(approx (/ (* (* x 2) y) (- x y)) (*.f64 #s(approx (* x 2) #s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y))) y)) |
| ✓ | 3.5% | #s(approx (/ (* (* x 2) y) (- x y)) (*.f64 x #s(literal 2 binary64))) |
Compiled 158 to 67 computations (57.6% saved)
| Inputs |
|---|
#s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y)) |
#s(approx (/ (* (* x 2) y) (- x y)) (*.f64 x #s(literal 2 binary64))) |
#s(approx (/ (* (* x 2) y) (- x y)) (*.f64 #s(approx (* x 2) #s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y))) y)) |
#s(approx (/ (* (* x 2) y) (- x y)) (*.f64 (*.f64 x #s(literal 2 binary64)) y)) |
(/.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) y) (-.f64 x y)) |
| Outputs |
|---|
(/.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) y) (-.f64 x y)) |
3 calls:
| 2.0ms | (/.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) y) (-.f64 x y)) |
| 2.0ms | y |
| 2.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 78.9% | 1 | x |
| 78.9% | 1 | y |
| 78.9% | 1 | (/.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) y) (-.f64 x y)) |
Compiled 11 to 11 computations (0% saved)
| Inputs |
|---|
#s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y)) |
#s(approx (/ (* (* x 2) y) (- x y)) (*.f64 x #s(literal 2 binary64))) |
#s(approx (/ (* (* x 2) y) (- x y)) (*.f64 #s(approx (* x 2) #s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y))) y)) |
#s(approx (/ (* (* x 2) y) (- x y)) (*.f64 (*.f64 x #s(literal 2 binary64)) y)) |
| Outputs |
|---|
#s(approx (/ (* (* x 2) y) (- x y)) (*.f64 (*.f64 x #s(literal 2 binary64)) y)) |
3 calls:
| 4.0ms | x |
| 2.0ms | y |
| 2.0ms | (/.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) y) (-.f64 x y)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 4.4% | 1 | x |
| 4.4% | 1 | y |
| 4.4% | 1 | (/.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) y) (-.f64 x y)) |
Compiled 11 to 11 computations (0% saved)
| Inputs |
|---|
#s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y)) |
#s(approx (/ (* (* x 2) y) (- x y)) (*.f64 x #s(literal 2 binary64))) |
#s(approx (/ (* (* x 2) y) (- x y)) (*.f64 #s(approx (* x 2) #s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y))) y)) |
| Outputs |
|---|
#s(approx (/ (* (* x 2) y) (- x y)) (*.f64 #s(approx (* x 2) #s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y))) y)) |
3 calls:
| 2.0ms | y |
| 2.0ms | (/.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) y) (-.f64 x y)) |
| 2.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 3.7% | 1 | y |
| 3.7% | 1 | (/.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) y) (-.f64 x y)) |
| 3.7% | 1 | x |
Compiled 11 to 11 computations (0% saved)
| Inputs |
|---|
#s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y)) |
#s(approx (/ (* (* x 2) y) (- x y)) (*.f64 x #s(literal 2 binary64))) |
| Outputs |
|---|
#s(approx (/ (* (* x 2) y) (- x y)) (*.f64 x #s(literal 2 binary64))) |
3 calls:
| 1.0ms | (/.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) y) (-.f64 x y)) |
| 1.0ms | x |
| 1.0ms | y |
| Accuracy | Segments | Branch |
|---|---|---|
| 3.5% | 1 | (/.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) y) (-.f64 x y)) |
| 3.5% | 1 | y |
| 3.5% | 1 | x |
Compiled 11 to 11 computations (0% saved)
Total 0.0b remaining (0%)
Threshold costs 0b (0%)
| Inputs |
|---|
#s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y)) |
| Outputs |
|---|
#s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y)) |
3 calls:
| 1.0ms | x |
| 1.0ms | (/.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) y) (-.f64 x y)) |
| 1.0ms | y |
| Accuracy | Segments | Branch |
|---|---|---|
| 3.2% | 1 | y |
| 3.2% | 1 | (/.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) y) (-.f64 x y)) |
| 3.2% | 1 | x |
Compiled 11 to 11 computations (0% saved)
| 1× | egg-herbie |
| Inputs |
|---|
(/.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) y) (-.f64 x y)) |
#s(approx (/ (* (* x 2) y) (- x y)) (*.f64 (*.f64 x #s(literal 2 binary64)) y)) |
#s(approx (/ (* (* x 2) y) (- x y)) (*.f64 #s(approx (* x 2) #s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y))) y)) |
#s(approx (/ (* (* x 2) y) (- x y)) (*.f64 x #s(literal 2 binary64))) |
#s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y)) |
| Outputs |
|---|
(/.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) y) (-.f64 x y)) |
#s(approx (/ (* (* x 2) y) (- x y)) (*.f64 (*.f64 x #s(literal 2 binary64)) y)) |
#s(approx (/ (* (* x 2) y) (- x y)) (*.f64 #s(approx (* x 2) #s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y))) y)) |
#s(approx (/ (* (* x 2) y) (- x y)) (*.f64 x #s(literal 2 binary64))) |
#s(approx (/ (* (* x 2) y) (- x y)) (-.f64 x y)) |
| 1× | done |
Compiled 79 to 18 computations (77.2% saved)
Compiled 246 to 82 computations (66.7% saved)
Loading profile data...