
Time bar (total: 1.1s)
| 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)
| 426.0ms | 8 254× | 0 | valid |
| 0.0ms | 1× | 2 | valid |
| 0.0ms | 1× | 1 | valid |
ival-add: 75.0ms (35.5% of total)ival-div: 62.0ms (29.4% of total)ival-mult: 60.0ms (28.4% of total)ival-true: 6.0ms (2.8% of total)exact: 5.0ms (2.4% of total)ival-assert: 3.0ms (1.4% of total)adjust: 0.0ms (0% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) |
| 0 | 0 | - | 0 | - | #s(literal 2 binary64) |
| 0 | 0 | - | 0 | - | y |
| 0 | 0 | - | 0 | - | (/.f64 x #s(literal 2 binary64)) |
| 0 | 0 | - | 0 | - | z |
| 0 | 0 | - | 0 | - | (+.f64 (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) z) |
| 0 | 0 | - | 0 | - | (*.f64 y x) |
| 0 | 0 | - | 0 | - | x |
| Predicted + | Predicted - | |
|---|---|---|
| + | 0 | 0 |
| - | 0 | 256 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 0 | 0 | 0 |
| - | 0 | 0 | 256 |
| number | freq |
|---|---|
| 0 | 256 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 0 | 0 | 0 |
| - | 0 | 0 | 1 |
| 33.0ms | 512× | 0 | valid |
Compiled 91 to 36 computations (60.4% saved)
ival-add: 10.0ms (56.8% of total)ival-mult: 4.0ms (22.7% of total)ival-div: 3.0ms (17% 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 y x)) z) |
| Outputs |
|---|
(+.f64 (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) z) |
Compiled 9 to 8 computations (11.1% saved)
Compiled 0 to 3 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (+.f64 (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y 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 y x) | |
| cost-diff | 0 | (/.f64 x #s(literal 2 binary64)) | |
| cost-diff | 0 | (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) | |
| cost-diff | 0 | (+.f64 (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) z) |
| Inputs |
|---|
(+.f64 (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) z) |
(+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) |
(/.f64 x #s(literal 2 binary64)) |
x |
#s(literal 2 binary64) |
(*.f64 y x) |
y |
z |
| Outputs |
|---|
(+.f64 (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) z) |
(+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) |
(/.f64 x #s(literal 2 binary64)) |
x |
#s(literal 2 binary64) |
(*.f64 y x) |
y |
z |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (/.f64 x #s(literal 2 binary64)) | |
| accuracy | 0.0 | (*.f64 y x) | |
| accuracy | 0.00390625 | (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) | |
| accuracy | 0.0078125 | (+.f64 (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) z) |
| 16.0ms | 256× | 0 | valid |
Compiled 54 to 18 computations (66.7% saved)
ival-mult: 4.0ms (47% of total)ival-div: 2.0ms (23.5% of total)ival-add: 2.0ms (23.5% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
(+.f64 (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) z) |
(+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) |
(/.f64 x #s(literal 2 binary64)) |
(*.f64 y x) |
| Outputs |
|---|
z |
(+ z (* x (+ 1/2 y))) |
(* x (+ 1/2 y)) |
(* 1/2 x) |
(* x y) |
(* x (+ 1/2 (+ y (/ z x)))) |
(* -1 (* x (- (* -1 y) 1/2))) |
(* -1 (* x (- (+ (* -1 y) (* -1 (/ z x))) 1/2))) |
(+ z (* 1/2 x)) |
(+ z (+ (* 1/2 x) (* x y))) |
(+ (* 1/2 x) (* x y)) |
(* y (+ x (+ (* 1/2 (/ x y)) (/ z y)))) |
(* y (+ x (* 1/2 (/ x y)))) |
(* -1 (* y (+ (* -1 x) (* -1 (/ (+ z (* 1/2 x)) y))))) |
(* -1 (* y (+ (* -1 x) (* -1/2 (/ x y))))) |
(* z (+ 1 (+ (* 1/2 (/ x z)) (/ (* x y) z)))) |
(* -1 (* z (- (* -1 (/ (+ (* 1/2 x) (* x y)) z)) 1))) |
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | ((+ (+ (/ x 2) (* y x)) z) (+ (/ x 2) (* y x)) (/ x 2) (* y x)) |
| 1.0ms | x | @ | -inf | ((+ (+ (/ x 2) (* y x)) z) (+ (/ x 2) (* y x)) (/ x 2) (* y x)) |
| 1.0ms | z | @ | 0 | ((+ (+ (/ x 2) (* y x)) z) (+ (/ x 2) (* y x)) (/ x 2) (* y x)) |
| 1.0ms | x | @ | 0 | ((+ (+ (/ x 2) (* y x)) z) (+ (/ x 2) (* y x)) (/ x 2) (* y x)) |
| 1.0ms | y | @ | -inf | ((+ (+ (/ x 2) (* y x)) z) (+ (/ x 2) (* y x)) (/ x 2) (* y x)) |
| 1× | egg-herbie |
| Inputs |
|---|
z |
(+ z (* x (+ 1/2 y))) |
(* x (+ 1/2 y)) |
(* 1/2 x) |
(* x y) |
(* x (+ 1/2 (+ y (/ z x)))) |
(* -1 (* x (- (* -1 y) 1/2))) |
(* -1 (* x (- (+ (* -1 y) (* -1 (/ z x))) 1/2))) |
(+ z (* 1/2 x)) |
(+ z (+ (* 1/2 x) (* x y))) |
(+ (* 1/2 x) (* x y)) |
(* y (+ x (+ (* 1/2 (/ x y)) (/ z y)))) |
(* y (+ x (* 1/2 (/ x y)))) |
(* -1 (* y (+ (* -1 x) (* -1 (/ (+ z (* 1/2 x)) y))))) |
(* -1 (* y (+ (* -1 x) (* -1/2 (/ x y))))) |
(* z (+ 1 (+ (* 1/2 (/ x z)) (/ (* x y) z)))) |
(* -1 (* z (- (* -1 (/ (+ (* 1/2 x) (* x y)) z)) 1))) |
| Outputs |
|---|
z |
(+.f64 (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) z) |
(+ z (* x (+ 1/2 y))) |
(+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) |
(* x (+ 1/2 y)) |
(/.f64 x #s(literal 2 binary64)) |
(* 1/2 x) |
(*.f64 y x) |
| Inputs |
|---|
(+.f64 (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) z) |
(+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) |
(/.f64 x #s(literal 2 binary64)) |
(*.f64 y x) |
| Outputs |
|---|
(+.f64 (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) z) |
(+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) |
(/.f64 x #s(literal 2 binary64)) |
(*.f64 y x) |
Compiled 98 to 20 computations (79.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 |
|---|---|---|
| ✓ | 100.0% | (+.f64 (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) z) |
| ▶ | 55.2% | (+.f64 (+.f64 #s(approx (/ x 2) (*.f64 y x)) (*.f64 y x)) z) |
| ▶ | 62.2% | (+.f64 #s(approx (+ (/ x 2) (* y x)) (/.f64 x #s(literal 2 binary64))) z) |
| ▶ | 63.6% | #s(approx (+ (+ (/ x 2) (* y x)) z) (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x))) |
Compiled 52 to 41 computations (21.2% saved)
| 1× | egg-herbie |
Found 11 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 y x) | |
| cost-diff | 0 | #s(approx (/ x 2) (*.f64 y x)) | |
| cost-diff | 0 | (+.f64 #s(approx (/ x 2) (*.f64 y x)) (*.f64 y x)) | |
| cost-diff | 0 | (+.f64 (+.f64 #s(approx (/ x 2) (*.f64 y x)) (*.f64 y x)) z) | |
| cost-diff | 0 | (/.f64 x #s(literal 2 binary64)) | |
| cost-diff | 0 | #s(approx (+ (/ x 2) (* y x)) (/.f64 x #s(literal 2 binary64))) | |
| cost-diff | 0 | (+.f64 #s(approx (+ (/ x 2) (* y x)) (/.f64 x #s(literal 2 binary64))) z) | |
| cost-diff | 0 | (*.f64 y x) | |
| cost-diff | 0 | (/.f64 x #s(literal 2 binary64)) | |
| cost-diff | 0 | (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) | |
| cost-diff | 0 | #s(approx (+ (+ (/ x 2) (* y x)) z) (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x))) |
| Inputs |
|---|
#s(approx (+ (+ (/ x 2) (* y x)) z) (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x))) |
(+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) |
(/.f64 x #s(literal 2 binary64)) |
x |
#s(literal 2 binary64) |
(*.f64 y x) |
y |
(+.f64 #s(approx (+ (/ x 2) (* y x)) (/.f64 x #s(literal 2 binary64))) z) |
#s(approx (+ (/ x 2) (* y x)) (/.f64 x #s(literal 2 binary64))) |
(/.f64 x #s(literal 2 binary64)) |
x |
#s(literal 2 binary64) |
z |
(+.f64 (+.f64 #s(approx (/ x 2) (*.f64 y x)) (*.f64 y x)) z) |
(+.f64 #s(approx (/ x 2) (*.f64 y x)) (*.f64 y x)) |
#s(approx (/ x 2) (*.f64 y x)) |
(*.f64 y x) |
y |
x |
z |
| Outputs |
|---|
#s(approx (+ (+ (/ x 2) (* y x)) z) (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x))) |
(+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) |
(/.f64 x #s(literal 2 binary64)) |
x |
#s(literal 2 binary64) |
(*.f64 y x) |
y |
(+.f64 #s(approx (+ (/ x 2) (* y x)) (/.f64 x #s(literal 2 binary64))) z) |
#s(approx (+ (/ x 2) (* y x)) (/.f64 x #s(literal 2 binary64))) |
(/.f64 x #s(literal 2 binary64)) |
x |
#s(literal 2 binary64) |
z |
(+.f64 (+.f64 #s(approx (/ x 2) (*.f64 y x)) (*.f64 y x)) z) |
(+.f64 #s(approx (/ x 2) (*.f64 y x)) (*.f64 y x)) |
#s(approx (/ x 2) (*.f64 y x)) |
(*.f64 y x) |
y |
x |
z |
Found 11 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (*.f64 y x) | |
| accuracy | 0.00390625 | (+.f64 #s(approx (/ x 2) (*.f64 y x)) (*.f64 y x)) | |
| accuracy | 0.0078125 | (+.f64 (+.f64 #s(approx (/ x 2) (*.f64 y x)) (*.f64 y x)) z) | |
| accuracy | 61.48470306611507 | #s(approx (/ x 2) (*.f64 y x)) | |
| accuracy | 0.0 | (/.f64 x #s(literal 2 binary64)) | |
| accuracy | 0.0078125 | (+.f64 #s(approx (+ (/ x 2) (* y x)) (/.f64 x #s(literal 2 binary64))) z) | |
| accuracy | 33.38878342571 | #s(approx (+ (/ x 2) (* y x)) (/.f64 x #s(literal 2 binary64))) | |
| accuracy | 0.0 | (/.f64 x #s(literal 2 binary64)) | |
| accuracy | 0.0 | (*.f64 y x) | |
| accuracy | 0.00390625 | (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) | |
| accuracy | 23.267768139468053 | #s(approx (+ (+ (/ x 2) (* y x)) z) (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x))) |
| 17.0ms | 256× | 0 | valid |
Compiled 174 to 28 computations (83.9% saved)
ival-div: 2.0ms (33.4% of total)ival-add: 2.0ms (33.4% of total)ival-mult: 2.0ms (33.4% 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)) z) (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x))) |
(+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) |
(/.f64 x #s(literal 2 binary64)) |
(*.f64 y x) |
(+.f64 #s(approx (+ (/ x 2) (* y x)) (/.f64 x #s(literal 2 binary64))) z) |
#s(approx (+ (/ x 2) (* y x)) (/.f64 x #s(literal 2 binary64))) |
(+.f64 (+.f64 #s(approx (/ x 2) (*.f64 y x)) (*.f64 y x)) z) |
(+.f64 #s(approx (/ x 2) (*.f64 y x)) (*.f64 y x)) |
#s(approx (/ x 2) (*.f64 y x)) |
| Outputs |
|---|
z |
(+ z (* x (+ 1/2 y))) |
(* x (+ 1/2 y)) |
(* 1/2 x) |
(* x y) |
(* x (+ 1/2 (+ y (/ z x)))) |
(* -1 (* x (- (* -1 y) 1/2))) |
(* -1 (* x (- (+ (* -1 y) (* -1 (/ z x))) 1/2))) |
(+ z (* 1/2 x)) |
(+ z (+ (* 1/2 x) (* x y))) |
(+ (* 1/2 x) (* x y)) |
(* y (+ x (+ (* 1/2 (/ x y)) (/ z y)))) |
(* y (+ x (* 1/2 (/ x y)))) |
(* -1 (* y (+ (* -1 x) (* -1 (/ (+ z (* 1/2 x)) y))))) |
(* -1 (* y (+ (* -1 x) (* -1/2 (/ x y))))) |
(* z (+ 1 (+ (* 1/2 (/ x z)) (/ (* x y) z)))) |
(* -1 (* z (- (* -1 (/ (+ (* 1/2 x) (* x y)) z)) 1))) |
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | ((+ (+ (/ x 2) (* y x)) z) (+ (/ x 2) (* y x)) (/ x 2) (* y x) (+ (+ (/ x 2) (* y x)) z) (+ (/ x 2) (* y x)) (+ (+ (/ x 2) (* y x)) z) (+ (/ x 2) (* y x)) (/ x 2)) |
| 1.0ms | x | @ | inf | ((+ (+ (/ x 2) (* y x)) z) (+ (/ x 2) (* y x)) (/ x 2) (* y x) (+ (+ (/ x 2) (* y x)) z) (+ (/ x 2) (* y x)) (+ (+ (/ x 2) (* y x)) z) (+ (/ x 2) (* y x)) (/ x 2)) |
| 0.0ms | y | @ | -inf | ((+ (+ (/ x 2) (* y x)) z) (+ (/ x 2) (* y x)) (/ x 2) (* y x) (+ (+ (/ x 2) (* y x)) z) (+ (/ x 2) (* y x)) (+ (+ (/ x 2) (* y x)) z) (+ (/ x 2) (* y x)) (/ x 2)) |
| 0.0ms | x | @ | 0 | ((+ (+ (/ x 2) (* y x)) z) (+ (/ x 2) (* y x)) (/ x 2) (* y x) (+ (+ (/ x 2) (* y x)) z) (+ (/ x 2) (* y x)) (+ (+ (/ x 2) (* y x)) z) (+ (/ x 2) (* y x)) (/ x 2)) |
| 0.0ms | y | @ | inf | ((+ (+ (/ x 2) (* y x)) z) (+ (/ x 2) (* y x)) (/ x 2) (* y x) (+ (+ (/ x 2) (* y x)) z) (+ (/ x 2) (* y x)) (+ (+ (/ x 2) (* y x)) z) (+ (/ x 2) (* y x)) (/ x 2)) |
| 1× | egg-herbie |
| Inputs |
|---|
z |
(+ z (* x (+ 1/2 y))) |
(* x (+ 1/2 y)) |
(* 1/2 x) |
(* x y) |
(* x (+ 1/2 (+ y (/ z x)))) |
(* -1 (* x (- (* -1 y) 1/2))) |
(* -1 (* x (- (+ (* -1 y) (* -1 (/ z x))) 1/2))) |
(+ z (* 1/2 x)) |
(+ z (+ (* 1/2 x) (* x y))) |
(+ (* 1/2 x) (* x y)) |
(* y (+ x (+ (* 1/2 (/ x y)) (/ z y)))) |
(* y (+ x (* 1/2 (/ x y)))) |
(* -1 (* y (+ (* -1 x) (* -1 (/ (+ z (* 1/2 x)) y))))) |
(* -1 (* y (+ (* -1 x) (* -1/2 (/ x y))))) |
(* z (+ 1 (+ (* 1/2 (/ x z)) (/ (* x y) z)))) |
(* -1 (* z (- (* -1 (/ (+ (* 1/2 x) (* x y)) z)) 1))) |
| Outputs |
|---|
z |
#s(approx (+ (+ (/ x 2) (* y x)) z) (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x))) |
(+ z (* x (+ 1/2 y))) |
(+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) |
(* x (+ 1/2 y)) |
(/.f64 x #s(literal 2 binary64)) |
(* 1/2 x) |
(*.f64 y x) |
(* x y) |
(+.f64 #s(approx (+ (/ x 2) (* y x)) (/.f64 x #s(literal 2 binary64))) z) |
(* x (+ 1/2 (+ y (/ z x)))) |
#s(approx (+ (/ x 2) (* y x)) (/.f64 x #s(literal 2 binary64))) |
(* -1 (* x (- (* -1 y) 1/2))) |
(+.f64 (+.f64 #s(approx (/ x 2) (*.f64 y x)) (*.f64 y x)) z) |
(* -1 (* x (- (+ (* -1 y) (* -1 (/ z x))) 1/2))) |
(+.f64 #s(approx (/ x 2) (*.f64 y x)) (*.f64 y x)) |
(+ z (* 1/2 x)) |
#s(approx (/ x 2) (*.f64 y x)) |
| Inputs |
|---|
#s(approx (+ (+ (/ x 2) (* y x)) z) (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x))) |
(+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) |
(/.f64 x #s(literal 2 binary64)) |
(*.f64 y x) |
(+.f64 #s(approx (+ (/ x 2) (* y x)) (/.f64 x #s(literal 2 binary64))) z) |
#s(approx (+ (/ x 2) (* y x)) (/.f64 x #s(literal 2 binary64))) |
(+.f64 (+.f64 #s(approx (/ x 2) (*.f64 y x)) (*.f64 y x)) z) |
(+.f64 #s(approx (/ x 2) (*.f64 y x)) (*.f64 y x)) |
#s(approx (/ x 2) (*.f64 y x)) |
| Outputs |
|---|
#s(approx (+ (+ (/ x 2) (* y x)) z) (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x))) |
(+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) |
(/.f64 x #s(literal 2 binary64)) |
(*.f64 y x) |
(+.f64 #s(approx (+ (/ x 2) (* y x)) (/.f64 x #s(literal 2 binary64))) z) |
#s(approx (+ (/ x 2) (* y x)) (/.f64 x #s(literal 2 binary64))) |
(+.f64 (+.f64 #s(approx (/ x 2) (*.f64 y x)) (*.f64 y x)) z) |
(+.f64 #s(approx (/ x 2) (*.f64 y x)) (*.f64 y x)) |
#s(approx (/ x 2) (*.f64 y x)) |
Compiled 399 to 33 computations (91.7% saved)
5 alts after pruning (3 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 18 | 3 | 21 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 2 | 3 |
| Done | 1 | 0 | 1 |
| Total | 20 | 5 | 25 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 62.2% | (+.f64 #s(approx (+ (/ x 2) (* y x)) (/.f64 x #s(literal 2 binary64))) z) |
| ▶ | 74.5% | (+.f64 #s(approx (+ (/ x 2) (* y x)) #s(approx (/ x 2) (*.f64 y x))) z) |
| ✓ | 63.6% | #s(approx (+ (+ (/ x 2) (* y x)) z) (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x))) |
| ▶ | 38.9% | #s(approx (+ (+ (/ x 2) (* y x)) z) #s(approx (/ x 2) (*.f64 y x))) |
| ▶ | 26.1% | #s(approx (+ (+ (/ x 2) (* y x)) z) #s(approx (+ (/ x 2) (* y x)) (/.f64 x #s(literal 2 binary64)))) |
Compiled 85 to 58 computations (31.8% saved)
| 1× | egg-herbie |
Found 10 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 y x) | |
| cost-diff | 0 | #s(approx (/ x 2) (*.f64 y x)) | |
| cost-diff | 0 | #s(approx (+ (/ x 2) (* y x)) #s(approx (/ x 2) (*.f64 y x))) | |
| cost-diff | 0 | (+.f64 #s(approx (+ (/ x 2) (* y x)) #s(approx (/ x 2) (*.f64 y x))) z) | |
| cost-diff | 0 | (*.f64 y x) | |
| cost-diff | 0 | #s(approx (/ x 2) (*.f64 y x)) | |
| cost-diff | 0 | #s(approx (+ (+ (/ x 2) (* y x)) z) #s(approx (/ x 2) (*.f64 y x))) | |
| cost-diff | 0 | (/.f64 x #s(literal 2 binary64)) | |
| cost-diff | 0 | #s(approx (+ (/ x 2) (* y x)) (/.f64 x #s(literal 2 binary64))) | |
| cost-diff | 0 | #s(approx (+ (+ (/ x 2) (* y x)) z) #s(approx (+ (/ x 2) (* y x)) (/.f64 x #s(literal 2 binary64)))) |
| Inputs |
|---|
#s(approx (+ (+ (/ x 2) (* y x)) z) #s(approx (+ (/ x 2) (* y x)) (/.f64 x #s(literal 2 binary64)))) |
#s(approx (+ (/ x 2) (* y x)) (/.f64 x #s(literal 2 binary64))) |
(/.f64 x #s(literal 2 binary64)) |
x |
#s(literal 2 binary64) |
#s(approx (+ (+ (/ x 2) (* y x)) z) #s(approx (/ x 2) (*.f64 y x))) |
#s(approx (/ x 2) (*.f64 y x)) |
(*.f64 y x) |
y |
x |
(+.f64 #s(approx (+ (/ x 2) (* y x)) #s(approx (/ x 2) (*.f64 y x))) z) |
#s(approx (+ (/ x 2) (* y x)) #s(approx (/ x 2) (*.f64 y x))) |
#s(approx (/ x 2) (*.f64 y x)) |
(*.f64 y x) |
y |
x |
z |
| Outputs |
|---|
#s(approx (+ (+ (/ x 2) (* y x)) z) #s(approx (+ (/ x 2) (* y x)) (/.f64 x #s(literal 2 binary64)))) |
#s(approx (+ (/ x 2) (* y x)) (/.f64 x #s(literal 2 binary64))) |
(/.f64 x #s(literal 2 binary64)) |
x |
#s(literal 2 binary64) |
#s(approx (+ (+ (/ x 2) (* y x)) z) #s(approx (/ x 2) (*.f64 y x))) |
#s(approx (/ x 2) (*.f64 y x)) |
(*.f64 y x) |
y |
x |
(+.f64 #s(approx (+ (/ x 2) (* y x)) #s(approx (/ x 2) (*.f64 y x))) z) |
#s(approx (+ (/ x 2) (* y x)) #s(approx (/ x 2) (*.f64 y x))) |
#s(approx (/ x 2) (*.f64 y x)) |
(*.f64 y x) |
y |
x |
z |
Found 10 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (*.f64 y x) | |
| accuracy | 0.0078125 | (+.f64 #s(approx (+ (/ x 2) (* y x)) #s(approx (/ x 2) (*.f64 y x))) z) | |
| accuracy | 33.38878342571 | #s(approx (+ (/ x 2) (* y x)) #s(approx (/ x 2) (*.f64 y x))) | |
| accuracy | 61.48470306611507 | #s(approx (/ x 2) (*.f64 y x)) | |
| accuracy | 0.0 | (*.f64 y x) | |
| accuracy | 47.264343856902464 | #s(approx (+ (+ (/ x 2) (* y x)) z) #s(approx (/ x 2) (*.f64 y x))) | |
| accuracy | 61.48470306611507 | #s(approx (/ x 2) (*.f64 y x)) | |
| accuracy | 0.0 | (/.f64 x #s(literal 2 binary64)) | |
| accuracy | 23.267768139468053 | #s(approx (+ (+ (/ x 2) (* y x)) z) #s(approx (+ (/ x 2) (* y x)) (/.f64 x #s(literal 2 binary64)))) | |
| accuracy | 33.38878342571 | #s(approx (+ (/ x 2) (* y x)) (/.f64 x #s(literal 2 binary64))) |
| 16.0ms | 256× | 0 | valid |
Compiled 176 to 27 computations (84.7% saved)
ival-div: 2.0ms (33.6% of total)ival-add: 2.0ms (33.6% of total)ival-mult: 2.0ms (33.6% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(approx (+ (+ (/ x 2) (* y x)) z) #s(approx (+ (/ x 2) (* y x)) (/.f64 x #s(literal 2 binary64)))) |
#s(approx (+ (/ x 2) (* y x)) (/.f64 x #s(literal 2 binary64))) |
(/.f64 x #s(literal 2 binary64)) |
#s(approx (+ (+ (/ x 2) (* y x)) z) #s(approx (/ x 2) (*.f64 y x))) |
#s(approx (/ x 2) (*.f64 y x)) |
(*.f64 y x) |
(+.f64 #s(approx (+ (/ x 2) (* y x)) #s(approx (/ x 2) (*.f64 y x))) z) |
#s(approx (+ (/ x 2) (* y x)) #s(approx (/ x 2) (*.f64 y x))) |
| Outputs |
|---|
z |
(+ z (* x (+ 1/2 y))) |
(* x (+ 1/2 y)) |
(* 1/2 x) |
(* x y) |
(* x (+ 1/2 (+ y (/ z x)))) |
(* -1 (* x (- (* -1 y) 1/2))) |
(* -1 (* x (- (+ (* -1 y) (* -1 (/ z x))) 1/2))) |
(+ z (* 1/2 x)) |
(+ z (+ (* 1/2 x) (* x y))) |
(+ (* 1/2 x) (* x y)) |
(* y (+ x (+ (* 1/2 (/ x y)) (/ z y)))) |
(* y (+ x (* 1/2 (/ x y)))) |
(* -1 (* y (+ (* -1 x) (* -1 (/ (+ z (* 1/2 x)) y))))) |
(* -1 (* y (+ (* -1 x) (* -1/2 (/ x y))))) |
(* z (+ 1 (+ (* 1/2 (/ x z)) (/ (* x y) z)))) |
(* -1 (* z (- (* -1 (/ (+ (* 1/2 x) (* x y)) z)) 1))) |
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 5.0ms | x | @ | inf | ((+ (+ (/ x 2) (* y x)) z) (+ (/ x 2) (* y x)) (/ x 2) (+ (+ (/ x 2) (* y x)) z) (/ x 2) (* y x) (+ (+ (/ x 2) (* y x)) z) (+ (/ x 2) (* y x))) |
| 1.0ms | x | @ | -inf | ((+ (+ (/ x 2) (* y x)) z) (+ (/ x 2) (* y x)) (/ x 2) (+ (+ (/ x 2) (* y x)) z) (/ x 2) (* y x) (+ (+ (/ x 2) (* y x)) z) (+ (/ x 2) (* y x))) |
| 0.0ms | y | @ | -inf | ((+ (+ (/ x 2) (* y x)) z) (+ (/ x 2) (* y x)) (/ x 2) (+ (+ (/ x 2) (* y x)) z) (/ x 2) (* y x) (+ (+ (/ x 2) (* y x)) z) (+ (/ x 2) (* y x))) |
| 0.0ms | x | @ | 0 | ((+ (+ (/ x 2) (* y x)) z) (+ (/ x 2) (* y x)) (/ x 2) (+ (+ (/ x 2) (* y x)) z) (/ x 2) (* y x) (+ (+ (/ x 2) (* y x)) z) (+ (/ x 2) (* y x))) |
| 0.0ms | y | @ | 0 | ((+ (+ (/ x 2) (* y x)) z) (+ (/ x 2) (* y x)) (/ x 2) (+ (+ (/ x 2) (* y x)) z) (/ x 2) (* y x) (+ (+ (/ x 2) (* y x)) z) (+ (/ x 2) (* y x))) |
| 1× | egg-herbie |
| Inputs |
|---|
z |
(+ z (* x (+ 1/2 y))) |
(* x (+ 1/2 y)) |
(* 1/2 x) |
(* x y) |
(* x (+ 1/2 (+ y (/ z x)))) |
(* -1 (* x (- (* -1 y) 1/2))) |
(* -1 (* x (- (+ (* -1 y) (* -1 (/ z x))) 1/2))) |
(+ z (* 1/2 x)) |
(+ z (+ (* 1/2 x) (* x y))) |
(+ (* 1/2 x) (* x y)) |
(* y (+ x (+ (* 1/2 (/ x y)) (/ z y)))) |
(* y (+ x (* 1/2 (/ x y)))) |
(* -1 (* y (+ (* -1 x) (* -1 (/ (+ z (* 1/2 x)) y))))) |
(* -1 (* y (+ (* -1 x) (* -1/2 (/ x y))))) |
(* z (+ 1 (+ (* 1/2 (/ x z)) (/ (* x y) z)))) |
(* -1 (* z (- (* -1 (/ (+ (* 1/2 x) (* x y)) z)) 1))) |
| Outputs |
|---|
z |
#s(approx (+ (+ (/ x 2) (* y x)) z) #s(approx (+ (/ x 2) (* y x)) (/.f64 x #s(literal 2 binary64)))) |
(+ z (* x (+ 1/2 y))) |
#s(approx (+ (/ x 2) (* y x)) (/.f64 x #s(literal 2 binary64))) |
(* x (+ 1/2 y)) |
(/.f64 x #s(literal 2 binary64)) |
(* 1/2 x) |
#s(approx (+ (+ (/ x 2) (* y x)) z) #s(approx (/ x 2) (*.f64 y x))) |
(* x y) |
#s(approx (/ x 2) (*.f64 y x)) |
(* x (+ 1/2 (+ y (/ z x)))) |
(*.f64 y x) |
(* -1 (* x (- (* -1 y) 1/2))) |
(+.f64 #s(approx (+ (/ x 2) (* y x)) #s(approx (/ x 2) (*.f64 y x))) z) |
(* -1 (* x (- (+ (* -1 y) (* -1 (/ z x))) 1/2))) |
#s(approx (+ (/ x 2) (* y x)) #s(approx (/ x 2) (*.f64 y x))) |
| Inputs |
|---|
#s(approx (+ (+ (/ x 2) (* y x)) z) #s(approx (+ (/ x 2) (* y x)) (/.f64 x #s(literal 2 binary64)))) |
#s(approx (+ (/ x 2) (* y x)) (/.f64 x #s(literal 2 binary64))) |
(/.f64 x #s(literal 2 binary64)) |
#s(approx (+ (+ (/ x 2) (* y x)) z) #s(approx (/ x 2) (*.f64 y x))) |
#s(approx (/ x 2) (*.f64 y x)) |
(*.f64 y x) |
(+.f64 #s(approx (+ (/ x 2) (* y x)) #s(approx (/ x 2) (*.f64 y x))) z) |
#s(approx (+ (/ x 2) (* y x)) #s(approx (/ x 2) (*.f64 y x))) |
| Outputs |
|---|
#s(approx (+ (+ (/ x 2) (* y x)) z) #s(approx (+ (/ x 2) (* y x)) (/.f64 x #s(literal 2 binary64)))) |
#s(approx (+ (/ x 2) (* y x)) (/.f64 x #s(literal 2 binary64))) |
(/.f64 x #s(literal 2 binary64)) |
#s(approx (+ (+ (/ x 2) (* y x)) z) #s(approx (/ x 2) (*.f64 y x))) |
#s(approx (/ x 2) (*.f64 y x)) |
(*.f64 y x) |
(+.f64 #s(approx (+ (/ x 2) (* y x)) #s(approx (/ x 2) (*.f64 y x))) z) |
#s(approx (+ (/ x 2) (* y x)) #s(approx (/ x 2) (*.f64 y x))) |
Compiled 367 to 29 computations (92.1% saved)
5 alts after pruning (0 fresh and 5 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 17 | 0 | 17 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 3 | 3 |
| Done | 0 | 2 | 2 |
| Total | 17 | 5 | 22 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 62.2% | (+.f64 #s(approx (+ (/ x 2) (* y x)) (/.f64 x #s(literal 2 binary64))) z) |
| ✓ | 74.5% | (+.f64 #s(approx (+ (/ x 2) (* y x)) #s(approx (/ x 2) (*.f64 y x))) z) |
| ✓ | 63.6% | #s(approx (+ (+ (/ x 2) (* y x)) z) (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x))) |
| ✓ | 38.9% | #s(approx (+ (+ (/ x 2) (* y x)) z) #s(approx (/ x 2) (*.f64 y x))) |
| ✓ | 26.1% | #s(approx (+ (+ (/ x 2) (* y x)) z) #s(approx (+ (/ x 2) (* y x)) (/.f64 x #s(literal 2 binary64)))) |
Compiled 192 to 81 computations (57.8% saved)
| Inputs |
|---|
#s(approx (+ (+ (/ x 2) (* y x)) z) #s(approx (/ x 2) (*.f64 y x))) |
(+.f64 #s(approx (+ (/ x 2) (* y x)) #s(approx (/ x 2) (*.f64 y x))) z) |
#s(approx (+ (+ (/ x 2) (* y x)) z) #s(approx (+ (/ x 2) (* y x)) (/.f64 x #s(literal 2 binary64)))) |
(+.f64 #s(approx (+ (/ x 2) (* y x)) (/.f64 x #s(literal 2 binary64))) z) |
(+.f64 (+.f64 #s(approx (/ x 2) (*.f64 y x)) (*.f64 y x)) z) |
#s(approx (+ (+ (/ x 2) (* y x)) z) (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x))) |
(+.f64 (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) z) |
| Outputs |
|---|
(+.f64 (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) z) |
5 calls:
| 5.0ms | x |
| 3.0ms | z |
| 3.0ms | (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) |
| 3.0ms | (+.f64 (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) z) |
| 3.0ms | y |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | x |
| 100.0% | 1 | y |
| 100.0% | 1 | z |
| 100.0% | 1 | (+.f64 (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) z) |
| 100.0% | 1 | (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) |
Compiled 19 to 24 computations (-26.3% saved)
| Inputs |
|---|
#s(approx (+ (+ (/ x 2) (* y x)) z) #s(approx (/ x 2) (*.f64 y x))) |
(+.f64 #s(approx (+ (/ x 2) (* y x)) #s(approx (/ x 2) (*.f64 y x))) z) |
#s(approx (+ (+ (/ x 2) (* y x)) z) #s(approx (+ (/ x 2) (* y x)) (/.f64 x #s(literal 2 binary64)))) |
(+.f64 #s(approx (+ (/ x 2) (* y x)) (/.f64 x #s(literal 2 binary64))) z) |
(+.f64 (+.f64 #s(approx (/ x 2) (*.f64 y x)) (*.f64 y x)) z) |
#s(approx (+ (+ (/ x 2) (* y x)) z) (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x))) |
| Outputs |
|---|
(+.f64 #s(approx (+ (/ x 2) (* y x)) #s(approx (/ x 2) (*.f64 y x))) z) |
(+.f64 #s(approx (+ (/ x 2) (* y x)) (/.f64 x #s(literal 2 binary64))) z) |
(+.f64 #s(approx (+ (/ x 2) (* y x)) #s(approx (/ x 2) (*.f64 y x))) z) |
5 calls:
| 2.0ms | y |
| 2.0ms | z |
| 2.0ms | (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) |
| 2.0ms | (+.f64 (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) z) |
| 2.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 92.6% | 3 | x |
| 98.2% | 3 | y |
| 87.3% | 3 | z |
| 78.1% | 3 | (+.f64 (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) z) |
| 88.1% | 3 | (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) |
Compiled 19 to 24 computations (-26.3% saved)
| Inputs |
|---|
#s(approx (+ (+ (/ x 2) (* y x)) z) #s(approx (/ x 2) (*.f64 y x))) |
(+.f64 #s(approx (+ (/ x 2) (* y x)) #s(approx (/ x 2) (*.f64 y x))) z) |
#s(approx (+ (+ (/ x 2) (* y x)) z) #s(approx (+ (/ x 2) (* y x)) (/.f64 x #s(literal 2 binary64)))) |
| Outputs |
|---|
(+.f64 #s(approx (+ (/ x 2) (* y x)) #s(approx (/ x 2) (*.f64 y x))) z) |
#s(approx (+ (+ (/ x 2) (* y x)) z) #s(approx (+ (/ x 2) (* y x)) (/.f64 x #s(literal 2 binary64)))) |
(+.f64 #s(approx (+ (/ x 2) (* y x)) #s(approx (/ x 2) (*.f64 y x))) z) |
#s(approx (+ (+ (/ x 2) (* y x)) z) #s(approx (+ (/ x 2) (* y x)) (/.f64 x #s(literal 2 binary64)))) |
(+.f64 #s(approx (+ (/ x 2) (* y x)) #s(approx (/ x 2) (*.f64 y x))) z) |
4 calls:
| 2.0ms | y |
| 2.0ms | (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) |
| 2.0ms | x |
| 2.0ms | z |
| Accuracy | Segments | Branch |
|---|---|---|
| 74.5% | 1 | z |
| 74.5% | 1 | (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) |
| 78.1% | 3 | x |
| 84.7% | 5 | y |
Compiled 10 to 16 computations (-60% saved)
| Inputs |
|---|
#s(approx (+ (+ (/ x 2) (* y x)) z) #s(approx (/ x 2) (*.f64 y x))) |
(+.f64 #s(approx (+ (/ x 2) (* y x)) #s(approx (/ x 2) (*.f64 y x))) z) |
| Outputs |
|---|
(+.f64 #s(approx (+ (/ x 2) (* y x)) #s(approx (/ x 2) (*.f64 y x))) z) |
3 calls:
| 4.0ms | y |
| 1.0ms | (+.f64 (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) z) |
| 1.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 74.5% | 1 | x |
| 74.5% | 1 | (+.f64 (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) z) |
| 74.5% | 1 | y |
Compiled 11 to 14 computations (-27.3% saved)
Total -0.0b remaining (-0%)
Threshold costs -0b (-0%)
| Inputs |
|---|
#s(approx (+ (+ (/ x 2) (* y x)) z) #s(approx (/ x 2) (*.f64 y x))) |
| Outputs |
|---|
#s(approx (+ (+ (/ x 2) (* y x)) z) #s(approx (/ x 2) (*.f64 y x))) |
5 calls:
| 1.0ms | (+.f64 (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) z) |
| 1.0ms | (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) |
| 1.0ms | z |
| 1.0ms | y |
| 1.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 38.9% | 1 | z |
| 38.9% | 1 | x |
| 38.9% | 1 | (+.f64 (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) z) |
| 38.9% | 1 | (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) |
| 38.9% | 1 | y |
Compiled 19 to 24 computations (-26.3% saved)
| 2× | binary-search |
| 1× | narrow-enough |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 14.0ms | 1.133166823587589e-7 | 1.7943739123577869 |
| 14.0ms | -362584473560.5153 | -0.07725172174139372 |
| 16.0ms | 304× | 0 | valid |
Compiled 582 to 470 computations (19.2% saved)
ival-add: 3.0ms (42.2% of total)ival-div: 2.0ms (28.1% of total)ival-mult: 2.0ms (28.1% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 4× | binary-search |
| 1× | narrow-enough |
| 1× | narrow-enough |
| 1× | narrow-enough |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 8.0ms | 4.070852362312188e-210 | 8.835146335000197e-210 |
| 10.0ms | -1.0232786396454767e-193 | -1.4016192862019597e-195 |
| 10.0ms | -7.817920193857472e-139 | -2.5162536373561086e-140 |
| 14.0ms | -0.07725172174139372 | -5.763079715122553e-10 |
| 24.0ms | 448× | 0 | valid |
Compiled 1 076 to 714 computations (33.6% saved)
ival-add: 6.0ms (48.5% of total)ival-div: 3.0ms (24.3% of total)ival-mult: 3.0ms (24.3% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 1× | egg-herbie |
| Inputs |
|---|
(+.f64 (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) z) |
(if (<=.f64 y #s(literal -1/2 binary64)) (+.f64 #s(approx (+ (/ x 2) (* y x)) #s(approx (/ x 2) (*.f64 y x))) z) (if (<=.f64 y #s(literal 1/2 binary64)) (+.f64 #s(approx (+ (/ x 2) (* y x)) (/.f64 x #s(literal 2 binary64))) z) (+.f64 #s(approx (+ (/ x 2) (* y x)) #s(approx (/ x 2) (*.f64 y x))) z))) |
(if (<=.f64 y #s(literal -5996272065288561/9671406556917033397649408 binary64)) (+.f64 #s(approx (+ (/ x 2) (* y x)) #s(approx (/ x 2) (*.f64 y x))) z) (if (<=.f64 y #s(literal -4826810854779335/6703903964971298549787012499102923063739682910296196688861780721860882015036773488400937149083451713845015929093243025426876941405973284973216824503042048 binary64)) #s(approx (+ (+ (/ x 2) (* y x)) z) #s(approx (+ (/ x 2) (* y x)) (/.f64 x #s(literal 2 binary64)))) (if (<=.f64 y #s(literal -8153210647399979/1315033975387093376810247470720032166387584950705793464874570225767183038574270205528416634069397112806745742214044554428254858062545950965781953692662970212488805917782111149547915939471080679317823312933945344 binary64)) (+.f64 #s(approx (+ (/ x 2) (* y x)) #s(approx (/ x 2) (*.f64 y x))) z) (if (<=.f64 y #s(literal 8143281467107677/1480596630383213935040454376661779933220754639736839877261211431528140022932412039118650826290747144651878100106364319997951107067217649833149230265656644000248389221211290269422784124023054547143233298486439198256390425542656 binary64)) #s(approx (+ (+ (/ x 2) (* y x)) z) #s(approx (+ (/ x 2) (* y x)) (/.f64 x #s(literal 2 binary64)))) (+.f64 #s(approx (+ (/ x 2) (* y x)) #s(approx (/ x 2) (*.f64 y x))) z))))) |
(+.f64 #s(approx (+ (/ x 2) (* y x)) #s(approx (/ x 2) (*.f64 y x))) z) |
#s(approx (+ (+ (/ x 2) (* y x)) z) #s(approx (/ x 2) (*.f64 y x))) |
| Outputs |
|---|
(+.f64 (+.f64 (/.f64 x #s(literal 2 binary64)) (*.f64 y x)) z) |
(if (<=.f64 y #s(literal -1/2 binary64)) (+.f64 #s(approx (+ (/ x 2) (* y x)) #s(approx (/ x 2) (*.f64 y x))) z) (if (<=.f64 y #s(literal 1/2 binary64)) (+.f64 #s(approx (+ (/ x 2) (* y x)) (/.f64 x #s(literal 2 binary64))) z) (+.f64 #s(approx (+ (/ x 2) (* y x)) #s(approx (/ x 2) (*.f64 y x))) z))) |
(if (<=.f64 y #s(literal -5996272065288561/9671406556917033397649408 binary64)) (+.f64 #s(approx (+ (/ x 2) (* y x)) #s(approx (/ x 2) (*.f64 y x))) z) (if (<=.f64 y #s(literal -4826810854779335/6703903964971298549787012499102923063739682910296196688861780721860882015036773488400937149083451713845015929093243025426876941405973284973216824503042048 binary64)) #s(approx (+ (+ (/ x 2) (* y x)) z) #s(approx (+ (/ x 2) (* y x)) (/.f64 x #s(literal 2 binary64)))) (if (<=.f64 y #s(literal -8153210647399979/1315033975387093376810247470720032166387584950705793464874570225767183038574270205528416634069397112806745742214044554428254858062545950965781953692662970212488805917782111149547915939471080679317823312933945344 binary64)) (+.f64 #s(approx (+ (/ x 2) (* y x)) #s(approx (/ x 2) (*.f64 y x))) z) (if (<=.f64 y #s(literal 8143281467107677/1480596630383213935040454376661779933220754639736839877261211431528140022932412039118650826290747144651878100106364319997951107067217649833149230265656644000248389221211290269422784124023054547143233298486439198256390425542656 binary64)) #s(approx (+ (+ (/ x 2) (* y x)) z) #s(approx (+ (/ x 2) (* y x)) (/.f64 x #s(literal 2 binary64)))) (+.f64 #s(approx (+ (/ x 2) (* y x)) #s(approx (/ x 2) (*.f64 y x))) z))))) |
(+.f64 #s(approx (+ (/ x 2) (* y x)) #s(approx (/ x 2) (*.f64 y x))) z) |
#s(approx (+ (+ (/ x 2) (* y x)) z) #s(approx (/ x 2) (*.f64 y x))) |
| 1× | done |
Compiled 207 to 38 computations (81.6% saved)
Compiled 432 to 92 computations (78.7% saved)
Loading profile data...