
Time bar (total: 860.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 9 to 8 computations (11.1% saved)
| 293.0ms | 7 621× | 0 | valid |
| 27.0ms | 306× | 1 | valid |
| 24.0ms | 204× | 2 | valid |
| 19.0ms | 125× | 3 | valid |
ival-div: 62.0ms (31.5% of total)ival-sub: 58.0ms (29.5% of total)ival-add: 46.0ms (23.4% of total)adjust: 16.0ms (8.1% of total)ival-true: 6.0ms (3% of total)exact: 5.0ms (2.5% of total)ival-assert: 3.0ms (1.5% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | (/.f64 (-.f64 x y) #s(literal 2 binary64)) |
| 0 | 0 | - | 0 | - | y |
| 0 | 0 | - | 0 | - | #s(literal 2 binary64) |
| 0 | 0 | - | 0 | - | (+.f64 x (/.f64 (-.f64 x y) #s(literal 2 binary64))) |
| 0 | 0 | - | 0 | - | (-.f64 x y) |
| 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 |
| 21.0ms | 476× | 0 | valid |
| 2.0ms | 18× | 1 | valid |
| 2.0ms | 12× | 2 | valid |
| 1.0ms | 6× | 3 | valid |
Compiled 65 to 28 computations (56.9% saved)
ival-div: 4.0ms (34.1% of total)ival-sub: 3.0ms (25.6% of total)ival-add: 3.0ms (25.6% of total)adjust: 1.0ms (8.5% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)| 1× | egg-herbie |
| Inputs |
|---|
(+.f64 x (/.f64 (-.f64 x y) #s(literal 2 binary64))) |
| Outputs |
|---|
(+.f64 x (/.f64 (-.f64 x y) #s(literal 2 binary64))) |
Compiled 7 to 6 computations (14.3% saved)
Compiled 0 to 2 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 99.8% | (+.f64 x (/.f64 (-.f64 x y) #s(literal 2 binary64))) |
Compiled 7 to 6 computations (14.3% saved)
| 1× | egg-herbie |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (-.f64 x y) | |
| cost-diff | 0 | (/.f64 (-.f64 x y) #s(literal 2 binary64)) | |
| cost-diff | 0 | (+.f64 x (/.f64 (-.f64 x y) #s(literal 2 binary64))) |
| Inputs |
|---|
(+.f64 x (/.f64 (-.f64 x y) #s(literal 2 binary64))) |
x |
(/.f64 (-.f64 x y) #s(literal 2 binary64)) |
(-.f64 x y) |
y |
#s(literal 2 binary64) |
| Outputs |
|---|
(+.f64 x (/.f64 (-.f64 x y) #s(literal 2 binary64))) |
x |
(/.f64 (-.f64 x y) #s(literal 2 binary64)) |
(-.f64 x y) |
y |
#s(literal 2 binary64) |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (/.f64 (-.f64 x y) #s(literal 2 binary64)) | |
| accuracy | 0.0 | (-.f64 x y) | |
| accuracy | 0.109375 | (+.f64 x (/.f64 (-.f64 x y) #s(literal 2 binary64))) |
| 10.0ms | 238× | 0 | valid |
| 1.0ms | 6× | 2 | valid |
| 1.0ms | 9× | 1 | valid |
| 1.0ms | 3× | 3 | valid |
Compiled 38 to 14 computations (63.2% saved)
ival-div: 2.0ms (34.7% of total)ival-sub: 2.0ms (34.7% of total)ival-add: 1.0ms (17.4% of total)adjust: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)| Inputs |
|---|
(+.f64 x (/.f64 (-.f64 x y) #s(literal 2 binary64))) |
(/.f64 (-.f64 x y) #s(literal 2 binary64)) |
(-.f64 x y) |
| Outputs |
|---|
(* -1/2 y) |
(+ (* -1/2 y) (* 3/2 x)) |
(+ (* -1/2 y) (* 1/2 x)) |
(* -1 y) |
(- x y) |
(* 3/2 x) |
(* x (+ 3/2 (* -1/2 (/ y x)))) |
(* 1/2 x) |
(* x (+ 1/2 (* -1/2 (/ y x)))) |
x |
(* x (+ 1 (* -1 (/ y x)))) |
(* -1 (* x (- (* 1/2 (/ y x)) 3/2))) |
(* -1 (* x (- (* 1/2 (/ y x)) 1/2))) |
(* -1 (* x (- (/ y x) 1))) |
(+ x (* 1/2 x)) |
(+ x (+ (* -1/2 y) (* 1/2 x))) |
(+ x (* -1 y)) |
(* y (- (+ (* 1/2 (/ x y)) (/ x y)) 1/2)) |
(* y (- (* 1/2 (/ x y)) 1/2)) |
(* y (- (/ x y) 1)) |
(* -1 (* y (+ 1/2 (* -1 (/ (+ x (* 1/2 x)) y))))) |
(* -1 (* y (+ 1/2 (* -1/2 (/ x y))))) |
(* -1 (* y (+ 1 (* -1 (/ x y))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 4.0ms | y | @ | -inf | ((+ x (/ (- x y) 2)) (/ (- x y) 2) (- x y)) |
| 1.0ms | x | @ | inf | ((+ x (/ (- x y) 2)) (/ (- x y) 2) (- x y)) |
| 1.0ms | y | @ | inf | ((+ x (/ (- x y) 2)) (/ (- x y) 2) (- x y)) |
| 0.0ms | x | @ | -inf | ((+ x (/ (- x y) 2)) (/ (- x y) 2) (- x y)) |
| 0.0ms | x | @ | 0 | ((+ x (/ (- x y) 2)) (/ (- x y) 2) (- x y)) |
| 1× | egg-herbie |
| Inputs |
|---|
(* -1/2 y) |
(+ (* -1/2 y) (* 3/2 x)) |
(+ (* -1/2 y) (* 1/2 x)) |
(* -1 y) |
(- x y) |
(* 3/2 x) |
(* x (+ 3/2 (* -1/2 (/ y x)))) |
(* 1/2 x) |
(* x (+ 1/2 (* -1/2 (/ y x)))) |
x |
(* x (+ 1 (* -1 (/ y x)))) |
(* -1 (* x (- (* 1/2 (/ y x)) 3/2))) |
(* -1 (* x (- (* 1/2 (/ y x)) 1/2))) |
(* -1 (* x (- (/ y x) 1))) |
(+ x (* 1/2 x)) |
(+ x (+ (* -1/2 y) (* 1/2 x))) |
(+ x (* -1 y)) |
(* y (- (+ (* 1/2 (/ x y)) (/ x y)) 1/2)) |
(* y (- (* 1/2 (/ x y)) 1/2)) |
(* y (- (/ x y) 1)) |
(* -1 (* y (+ 1/2 (* -1 (/ (+ x (* 1/2 x)) y))))) |
(* -1 (* y (+ 1/2 (* -1/2 (/ x y))))) |
(* -1 (* y (+ 1 (* -1 (/ x y))))) |
| Outputs |
|---|
(* -1/2 y) |
(+.f64 x (/.f64 (-.f64 x y) #s(literal 2 binary64))) |
(+ (* -1/2 y) (* 3/2 x)) |
(/.f64 (-.f64 x y) #s(literal 2 binary64)) |
(+ (* -1/2 y) (* 1/2 x)) |
(-.f64 x y) |
| Inputs |
|---|
(+.f64 x (/.f64 (-.f64 x y) #s(literal 2 binary64))) |
(/.f64 (-.f64 x y) #s(literal 2 binary64)) |
(-.f64 x y) |
| Outputs |
|---|
(+.f64 x (/.f64 (-.f64 x y) #s(literal 2 binary64))) |
(/.f64 (-.f64 x y) #s(literal 2 binary64)) |
(-.f64 x y) |
Compiled 60 to 14 computations (76.7% saved)
3 alts after pruning (2 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 4 | 2 | 6 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 4 | 3 | 7 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 99.8% | (+.f64 x (/.f64 (-.f64 x y) #s(literal 2 binary64))) |
| ▶ | 20.0% | (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))) |
| ▶ | 59.3% | #s(approx (+ x (/ (- x y) 2)) (/.f64 (-.f64 x y) #s(literal 2 binary64))) |
Compiled 31 to 24 computations (22.6% saved)
| 1× | egg-herbie |
Found 6 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (-.f64 x y) | |
| cost-diff | 0 | #s(approx (/ (- x y) 2) (-.f64 x y)) | |
| cost-diff | 0 | (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))) | |
| cost-diff | 0 | (-.f64 x y) | |
| cost-diff | 0 | (/.f64 (-.f64 x y) #s(literal 2 binary64)) | |
| cost-diff | 0 | #s(approx (+ x (/ (- x y) 2)) (/.f64 (-.f64 x y) #s(literal 2 binary64))) |
| Inputs |
|---|
#s(approx (+ x (/ (- x y) 2)) (/.f64 (-.f64 x y) #s(literal 2 binary64))) |
(/.f64 (-.f64 x y) #s(literal 2 binary64)) |
(-.f64 x y) |
x |
y |
#s(literal 2 binary64) |
(+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))) |
x |
#s(approx (/ (- x y) 2) (-.f64 x y)) |
(-.f64 x y) |
y |
| Outputs |
|---|
#s(approx (+ x (/ (- x y) 2)) (/.f64 (-.f64 x y) #s(literal 2 binary64))) |
(/.f64 (-.f64 x y) #s(literal 2 binary64)) |
(-.f64 x y) |
x |
y |
#s(literal 2 binary64) |
(+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))) |
x |
#s(approx (/ (- x y) 2) (-.f64 x y)) |
(-.f64 x y) |
y |
Found 6 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (-.f64 x y) | |
| accuracy | 0.109375 | (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))) | |
| accuracy | 52.0 | #s(approx (/ (- x y) 2) (-.f64 x y)) | |
| accuracy | 0.0 | (/.f64 (-.f64 x y) #s(literal 2 binary64)) | |
| accuracy | 0.0 | (-.f64 x y) | |
| accuracy | 26.060014386089424 | #s(approx (+ x (/ (- x y) 2)) (/.f64 (-.f64 x y) #s(literal 2 binary64))) |
| 13.0ms | 238× | 0 | valid |
| 1.0ms | 9× | 1 | valid |
| 1.0ms | 6× | 2 | valid |
| 1.0ms | 3× | 3 | valid |
Compiled 86 to 20 computations (76.7% saved)
ival-div: 2.0ms (34.1% of total)ival-sub: 2.0ms (34.1% of total)ival-add: 1.0ms (17.1% of total)adjust: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)| Inputs |
|---|
#s(approx (+ x (/ (- x y) 2)) (/.f64 (-.f64 x y) #s(literal 2 binary64))) |
(/.f64 (-.f64 x y) #s(literal 2 binary64)) |
(-.f64 x y) |
(+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))) |
#s(approx (/ (- x y) 2) (-.f64 x y)) |
| Outputs |
|---|
(* -1/2 y) |
(+ (* -1/2 y) (* 3/2 x)) |
(+ (* -1/2 y) (* 1/2 x)) |
(* -1 y) |
(- x y) |
(* 3/2 x) |
(* x (+ 3/2 (* -1/2 (/ y x)))) |
(* 1/2 x) |
(* x (+ 1/2 (* -1/2 (/ y x)))) |
x |
(* x (+ 1 (* -1 (/ y x)))) |
(* -1 (* x (- (* 1/2 (/ y x)) 3/2))) |
(* -1 (* x (- (* 1/2 (/ y x)) 1/2))) |
(* -1 (* x (- (/ y x) 1))) |
(+ x (* 1/2 x)) |
(+ x (+ (* -1/2 y) (* 1/2 x))) |
(+ x (* -1 y)) |
(* y (- (+ (* 1/2 (/ x y)) (/ x y)) 1/2)) |
(* y (- (* 1/2 (/ x y)) 1/2)) |
(* y (- (/ x y) 1)) |
(* -1 (* y (+ 1/2 (* -1 (/ (+ x (* 1/2 x)) y))))) |
(* -1 (* y (+ 1/2 (* -1/2 (/ x y))))) |
(* -1 (* y (+ 1 (* -1 (/ x y))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | y | @ | inf | ((+ x (/ (- x y) 2)) (/ (- x y) 2) (- x y) (+ x (/ (- x y) 2)) (/ (- x y) 2)) |
| 0.0ms | x | @ | inf | ((+ x (/ (- x y) 2)) (/ (- x y) 2) (- x y) (+ x (/ (- x y) 2)) (/ (- x y) 2)) |
| 0.0ms | y | @ | -inf | ((+ x (/ (- x y) 2)) (/ (- x y) 2) (- x y) (+ x (/ (- x y) 2)) (/ (- x y) 2)) |
| 0.0ms | x | @ | -inf | ((+ x (/ (- x y) 2)) (/ (- x y) 2) (- x y) (+ x (/ (- x y) 2)) (/ (- x y) 2)) |
| 0.0ms | x | @ | 0 | ((+ x (/ (- x y) 2)) (/ (- x y) 2) (- x y) (+ x (/ (- x y) 2)) (/ (- x y) 2)) |
| 1× | egg-herbie |
| Inputs |
|---|
(* -1/2 y) |
(+ (* -1/2 y) (* 3/2 x)) |
(+ (* -1/2 y) (* 1/2 x)) |
(* -1 y) |
(- x y) |
(* 3/2 x) |
(* x (+ 3/2 (* -1/2 (/ y x)))) |
(* 1/2 x) |
(* x (+ 1/2 (* -1/2 (/ y x)))) |
x |
(* x (+ 1 (* -1 (/ y x)))) |
(* -1 (* x (- (* 1/2 (/ y x)) 3/2))) |
(* -1 (* x (- (* 1/2 (/ y x)) 1/2))) |
(* -1 (* x (- (/ y x) 1))) |
(+ x (* 1/2 x)) |
(+ x (+ (* -1/2 y) (* 1/2 x))) |
(+ x (* -1 y)) |
(* y (- (+ (* 1/2 (/ x y)) (/ x y)) 1/2)) |
(* y (- (* 1/2 (/ x y)) 1/2)) |
(* y (- (/ x y) 1)) |
(* -1 (* y (+ 1/2 (* -1 (/ (+ x (* 1/2 x)) y))))) |
(* -1 (* y (+ 1/2 (* -1/2 (/ x y))))) |
(* -1 (* y (+ 1 (* -1 (/ x y))))) |
| Outputs |
|---|
(* -1/2 y) |
#s(approx (+ x (/ (- x y) 2)) (/.f64 (-.f64 x y) #s(literal 2 binary64))) |
(+ (* -1/2 y) (* 3/2 x)) |
(/.f64 (-.f64 x y) #s(literal 2 binary64)) |
(+ (* -1/2 y) (* 1/2 x)) |
(-.f64 x y) |
(* -1 y) |
(+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))) |
(- x y) |
#s(approx (/ (- x y) 2) (-.f64 x y)) |
| Inputs |
|---|
#s(approx (+ x (/ (- x y) 2)) (/.f64 (-.f64 x y) #s(literal 2 binary64))) |
(/.f64 (-.f64 x y) #s(literal 2 binary64)) |
(-.f64 x y) |
(+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))) |
#s(approx (/ (- x y) 2) (-.f64 x y)) |
| Outputs |
|---|
#s(approx (+ x (/ (- x y) 2)) (/.f64 (-.f64 x y) #s(literal 2 binary64))) |
(/.f64 (-.f64 x y) #s(literal 2 binary64)) |
(-.f64 x y) |
(+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))) |
#s(approx (/ (- x y) 2) (-.f64 x y)) |
Compiled 191 to 24 computations (87.4% saved)
5 alts after pruning (2 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 9 | 2 | 11 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 2 | 2 |
| Done | 0 | 1 | 1 |
| Total | 9 | 5 | 14 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 99.8% | (+.f64 x (/.f64 (-.f64 x y) #s(literal 2 binary64))) |
| ✓ | 20.0% | (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))) |
| ▶ | 19.1% | (+.f64 x #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y)))))) |
| ✓ | 59.3% | #s(approx (+ x (/ (- x y) 2)) (/.f64 (-.f64 x y) #s(literal 2 binary64))) |
| ▶ | 19.3% | #s(approx (+ x (/ (- x y) 2)) #s(approx (/ (- x y) 2) (-.f64 x y))) |
Compiled 71 to 44 computations (38% saved)
| 1× | egg-herbie |
Found 7 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))) | |
| cost-diff | 0 | #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y)))) | |
| cost-diff | 0 | #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))))) | |
| cost-diff | 0 | (+.f64 x #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y)))))) | |
| cost-diff | 0 | (-.f64 x y) | |
| cost-diff | 0 | #s(approx (/ (- x y) 2) (-.f64 x y)) | |
| cost-diff | 0 | #s(approx (+ x (/ (- x y) 2)) #s(approx (/ (- x y) 2) (-.f64 x y))) |
| Inputs |
|---|
#s(approx (+ x (/ (- x y) 2)) #s(approx (/ (- x y) 2) (-.f64 x y))) |
#s(approx (/ (- x y) 2) (-.f64 x y)) |
(-.f64 x y) |
x |
y |
(+.f64 x #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y)))))) |
x |
#s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))))) |
#s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y)))) |
(+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))) |
#s(approx (/ (- x y) 2) (-.f64 x y)) |
(-.f64 x y) |
y |
| Outputs |
|---|
#s(approx (+ x (/ (- x y) 2)) #s(approx (/ (- x y) 2) (-.f64 x y))) |
#s(approx (/ (- x y) 2) (-.f64 x y)) |
(-.f64 x y) |
x |
y |
(+.f64 x #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y)))))) |
x |
#s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))))) |
#s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y)))) |
(+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))) |
#s(approx (/ (- x y) 2) (-.f64 x y)) |
(-.f64 x y) |
y |
Found 7 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.109375 | (+.f64 x #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y)))))) | |
| accuracy | 51.6201523859617 | #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y)))) | |
| accuracy | 52.0 | #s(approx (/ (- x y) 2) (-.f64 x y)) | |
| accuracy | 52.0 | #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))))) | |
| accuracy | 0.0 | (-.f64 x y) | |
| accuracy | 26.060014386089424 | #s(approx (+ x (/ (- x y) 2)) #s(approx (/ (- x y) 2) (-.f64 x y))) | |
| accuracy | 52.0 | #s(approx (/ (- x y) 2) (-.f64 x y)) |
| 13.0ms | 238× | 0 | valid |
| 1.0ms | 9× | 1 | valid |
| 1.0ms | 6× | 2 | valid |
| 1.0ms | 3× | 3 | valid |
Compiled 166 to 21 computations (87.3% saved)
ival-sub: 3.0ms (42% of total)ival-div: 2.0ms (28% of total)ival-add: 1.0ms (14% of total)adjust: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)| Inputs |
|---|
#s(approx (+ x (/ (- x y) 2)) #s(approx (/ (- x y) 2) (-.f64 x y))) |
#s(approx (/ (- x y) 2) (-.f64 x y)) |
(-.f64 x y) |
(+.f64 x #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y)))))) |
#s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))))) |
#s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y)))) |
(+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))) |
| Outputs |
|---|
(* -1/2 y) |
(+ (* -1/2 y) (* 3/2 x)) |
(+ (* -1/2 y) (* 1/2 x)) |
(* -1 y) |
(- x y) |
(* 3/2 x) |
(* x (+ 3/2 (* -1/2 (/ y x)))) |
(* 1/2 x) |
(* x (+ 1/2 (* -1/2 (/ y x)))) |
x |
(* x (+ 1 (* -1 (/ y x)))) |
(* -1 (* x (- (* 1/2 (/ y x)) 3/2))) |
(* -1 (* x (- (* 1/2 (/ y x)) 1/2))) |
(* -1 (* x (- (/ y x) 1))) |
(+ x (* 1/2 x)) |
(+ x (+ (* -1/2 y) (* 1/2 x))) |
(+ x (* -1 y)) |
(* y (- (+ (* 1/2 (/ x y)) (/ x y)) 1/2)) |
(* y (- (* 1/2 (/ x y)) 1/2)) |
(* y (- (/ x y) 1)) |
(* -1 (* y (+ 1/2 (* -1 (/ (+ x (* 1/2 x)) y))))) |
(* -1 (* y (+ 1/2 (* -1/2 (/ x y))))) |
(* -1 (* y (+ 1 (* -1 (/ x y))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | y | @ | -inf | ((+ x (/ (- x y) 2)) (/ (- x y) 2) (- x y) (+ x (/ (- x y) 2)) (/ (- x y) 2) (- x y) (+ x (/ (- x y) 2))) |
| 0.0ms | x | @ | inf | ((+ x (/ (- x y) 2)) (/ (- x y) 2) (- x y) (+ x (/ (- x y) 2)) (/ (- x y) 2) (- x y) (+ x (/ (- x y) 2))) |
| 0.0ms | x | @ | -inf | ((+ x (/ (- x y) 2)) (/ (- x y) 2) (- x y) (+ x (/ (- x y) 2)) (/ (- x y) 2) (- x y) (+ x (/ (- x y) 2))) |
| 0.0ms | y | @ | inf | ((+ x (/ (- x y) 2)) (/ (- x y) 2) (- x y) (+ x (/ (- x y) 2)) (/ (- x y) 2) (- x y) (+ x (/ (- x y) 2))) |
| 0.0ms | y | @ | 0 | ((+ x (/ (- x y) 2)) (/ (- x y) 2) (- x y) (+ x (/ (- x y) 2)) (/ (- x y) 2) (- x y) (+ x (/ (- x y) 2))) |
| 1× | egg-herbie |
| Inputs |
|---|
(* -1/2 y) |
(+ (* -1/2 y) (* 3/2 x)) |
(+ (* -1/2 y) (* 1/2 x)) |
(* -1 y) |
(- x y) |
(* 3/2 x) |
(* x (+ 3/2 (* -1/2 (/ y x)))) |
(* 1/2 x) |
(* x (+ 1/2 (* -1/2 (/ y x)))) |
x |
(* x (+ 1 (* -1 (/ y x)))) |
(* -1 (* x (- (* 1/2 (/ y x)) 3/2))) |
(* -1 (* x (- (* 1/2 (/ y x)) 1/2))) |
(* -1 (* x (- (/ y x) 1))) |
(+ x (* 1/2 x)) |
(+ x (+ (* -1/2 y) (* 1/2 x))) |
(+ x (* -1 y)) |
(* y (- (+ (* 1/2 (/ x y)) (/ x y)) 1/2)) |
(* y (- (* 1/2 (/ x y)) 1/2)) |
(* y (- (/ x y) 1)) |
(* -1 (* y (+ 1/2 (* -1 (/ (+ x (* 1/2 x)) y))))) |
(* -1 (* y (+ 1/2 (* -1/2 (/ x y))))) |
(* -1 (* y (+ 1 (* -1 (/ x y))))) |
| Outputs |
|---|
(* -1/2 y) |
#s(approx (+ x (/ (- x y) 2)) #s(approx (/ (- x y) 2) (-.f64 x y))) |
(+ (* -1/2 y) (* 3/2 x)) |
#s(approx (/ (- x y) 2) (-.f64 x y)) |
(+ (* -1/2 y) (* 1/2 x)) |
(-.f64 x y) |
(* -1 y) |
(+.f64 x #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y)))))) |
(- x y) |
#s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))))) |
(* 3/2 x) |
#s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y)))) |
(* x (+ 3/2 (* -1/2 (/ y x)))) |
(+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))) |
| Inputs |
|---|
#s(approx (+ x (/ (- x y) 2)) #s(approx (/ (- x y) 2) (-.f64 x y))) |
#s(approx (/ (- x y) 2) (-.f64 x y)) |
(-.f64 x y) |
(+.f64 x #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y)))))) |
#s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))))) |
#s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y)))) |
(+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))) |
| Outputs |
|---|
#s(approx (+ x (/ (- x y) 2)) #s(approx (/ (- x y) 2) (-.f64 x y))) |
#s(approx (/ (- x y) 2) (-.f64 x y)) |
(-.f64 x y) |
(+.f64 x #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y)))))) |
#s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))))) |
#s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y)))) |
(+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))) |
Compiled 428 to 30 computations (93% saved)
6 alts after pruning (1 fresh and 5 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 15 | 1 | 16 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 2 | 2 |
| Done | 0 | 3 | 3 |
| Total | 15 | 6 | 21 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 99.8% | (+.f64 x (/.f64 (-.f64 x y) #s(literal 2 binary64))) |
| ✓ | 20.0% | (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))) |
| ✓ | 19.1% | (+.f64 x #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y)))))) |
| ▶ | 18.7% | (+.f64 x #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) #s(approx (- x y) #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))))))))))) |
| ✓ | 59.3% | #s(approx (+ x (/ (- x y) 2)) (/.f64 (-.f64 x y) #s(literal 2 binary64))) |
| ✓ | 19.3% | #s(approx (+ x (/ (- x y) 2)) #s(approx (/ (- x y) 2) (-.f64 x y))) |
Compiled 116 to 60 computations (48.3% saved)
| 1× | egg-herbie |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (+.f64 x #s(approx (/ (- x y) 2) #s(approx (- x y) #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y)))))))) | |
| cost-diff | 0 | #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) #s(approx (- x y) #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))))))))) | |
| cost-diff | 0 | #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) #s(approx (- x y) #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y)))))))))) | |
| cost-diff | 0 | (+.f64 x #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) #s(approx (- x y) #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))))))))))) |
| Inputs |
|---|
(+.f64 x #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) #s(approx (- x y) #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))))))))))) |
x |
#s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) #s(approx (- x y) #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y)))))))))) |
#s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) #s(approx (- x y) #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))))))))) |
(+.f64 x #s(approx (/ (- x y) 2) #s(approx (- x y) #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y)))))))) |
#s(approx (/ (- x y) 2) #s(approx (- x y) #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))))))) |
#s(approx (- x y) #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y)))))) |
#s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))))) |
#s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y)))) |
(+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))) |
#s(approx (/ (- x y) 2) (-.f64 x y)) |
(-.f64 x y) |
y |
| Outputs |
|---|
(+.f64 x #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) #s(approx (- x y) #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))))))))))) |
x |
#s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) #s(approx (- x y) #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y)))))))))) |
#s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) #s(approx (- x y) #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))))))))) |
(+.f64 x #s(approx (/ (- x y) 2) #s(approx (- x y) #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y)))))))) |
#s(approx (/ (- x y) 2) #s(approx (- x y) #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))))))) |
#s(approx (- x y) #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y)))))) |
#s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))))) |
#s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y)))) |
(+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))) |
#s(approx (/ (- x y) 2) (-.f64 x y)) |
(-.f64 x y) |
y |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 52.0 | #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))))) | |
| accuracy | 52.0 | #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) #s(approx (- x y) #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y)))))))))) | |
| accuracy | 52.0 | #s(approx (/ (- x y) 2) #s(approx (- x y) #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))))))) | |
| accuracy | 52.0 | #s(approx (- x y) #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y)))))) |
| 13.0ms | 238× | 0 | valid |
| 1.0ms | 6× | 2 | valid |
| 1.0ms | 9× | 1 | valid |
| 1.0ms | 3× | 3 | valid |
Compiled 332 to 24 computations (92.8% saved)
ival-add: 3.0ms (40.8% of total)ival-div: 2.0ms (27.2% of total)ival-sub: 2.0ms (27.2% of total)adjust: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)| Inputs |
|---|
(+.f64 x #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) #s(approx (- x y) #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))))))))))) |
#s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) #s(approx (- x y) #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y)))))))))) |
#s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) #s(approx (- x y) #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))))))))) |
(+.f64 x #s(approx (/ (- x y) 2) #s(approx (- x y) #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y)))))))) |
#s(approx (- x y) #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y)))))) |
#s(approx (/ (- x y) 2) #s(approx (- x y) #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))))))) |
#s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))))) |
| Outputs |
|---|
(* -1/2 y) |
(+ (* -1/2 y) (* 3/2 x)) |
(+ (* -1/2 y) (* 1/2 x)) |
(* -1 y) |
(- x y) |
(* 3/2 x) |
(* x (+ 3/2 (* -1/2 (/ y x)))) |
(* 1/2 x) |
(* x (+ 1/2 (* -1/2 (/ y x)))) |
x |
(* x (+ 1 (* -1 (/ y x)))) |
(* -1 (* x (- (* 1/2 (/ y x)) 3/2))) |
(* -1 (* x (- (* 1/2 (/ y x)) 1/2))) |
(* -1 (* x (- (/ y x) 1))) |
(+ x (* 1/2 x)) |
(+ x (+ (* -1/2 y) (* 1/2 x))) |
(+ x (* -1 y)) |
(* y (- (+ (* 1/2 (/ x y)) (/ x y)) 1/2)) |
(* y (- (* 1/2 (/ x y)) 1/2)) |
(* y (- (/ x y) 1)) |
(* -1 (* y (+ 1/2 (* -1 (/ (+ x (* 1/2 x)) y))))) |
(* -1 (* y (+ 1/2 (* -1/2 (/ x y))))) |
(* -1 (* y (+ 1 (* -1 (/ x y))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | -inf | ((+ x (/ (- x y) 2)) (/ (- x y) 2) (- x y) (+ x (/ (- x y) 2)) (- x y) (/ (- x y) 2) (/ (- x y) 2)) |
| 0.0ms | y | @ | -inf | ((+ x (/ (- x y) 2)) (/ (- x y) 2) (- x y) (+ x (/ (- x y) 2)) (- x y) (/ (- x y) 2) (/ (- x y) 2)) |
| 0.0ms | x | @ | inf | ((+ x (/ (- x y) 2)) (/ (- x y) 2) (- x y) (+ x (/ (- x y) 2)) (- x y) (/ (- x y) 2) (/ (- x y) 2)) |
| 0.0ms | y | @ | inf | ((+ x (/ (- x y) 2)) (/ (- x y) 2) (- x y) (+ x (/ (- x y) 2)) (- x y) (/ (- x y) 2) (/ (- x y) 2)) |
| 0.0ms | x | @ | 0 | ((+ x (/ (- x y) 2)) (/ (- x y) 2) (- x y) (+ x (/ (- x y) 2)) (- x y) (/ (- x y) 2) (/ (- x y) 2)) |
| 1× | egg-herbie |
| Inputs |
|---|
(* -1/2 y) |
(+ (* -1/2 y) (* 3/2 x)) |
(+ (* -1/2 y) (* 1/2 x)) |
(* -1 y) |
(- x y) |
(* 3/2 x) |
(* x (+ 3/2 (* -1/2 (/ y x)))) |
(* 1/2 x) |
(* x (+ 1/2 (* -1/2 (/ y x)))) |
x |
(* x (+ 1 (* -1 (/ y x)))) |
(* -1 (* x (- (* 1/2 (/ y x)) 3/2))) |
(* -1 (* x (- (* 1/2 (/ y x)) 1/2))) |
(* -1 (* x (- (/ y x) 1))) |
(+ x (* 1/2 x)) |
(+ x (+ (* -1/2 y) (* 1/2 x))) |
(+ x (* -1 y)) |
(* y (- (+ (* 1/2 (/ x y)) (/ x y)) 1/2)) |
(* y (- (* 1/2 (/ x y)) 1/2)) |
(* y (- (/ x y) 1)) |
(* -1 (* y (+ 1/2 (* -1 (/ (+ x (* 1/2 x)) y))))) |
(* -1 (* y (+ 1/2 (* -1/2 (/ x y))))) |
(* -1 (* y (+ 1 (* -1 (/ x y))))) |
| Outputs |
|---|
(* -1/2 y) |
(+.f64 x #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) #s(approx (- x y) #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))))))))))) |
(+ (* -1/2 y) (* 3/2 x)) |
#s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) #s(approx (- x y) #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y)))))))))) |
(+ (* -1/2 y) (* 1/2 x)) |
#s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) #s(approx (- x y) #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))))))))) |
(* -1 y) |
(+.f64 x #s(approx (/ (- x y) 2) #s(approx (- x y) #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y)))))))) |
(- x y) |
#s(approx (- x y) #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y)))))) |
(* 3/2 x) |
#s(approx (/ (- x y) 2) #s(approx (- x y) #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))))))) |
(* x (+ 3/2 (* -1/2 (/ y x)))) |
#s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))))) |
| Inputs |
|---|
(+.f64 x #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) #s(approx (- x y) #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))))))))))) |
#s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) #s(approx (- x y) #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y)))))))))) |
#s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) #s(approx (- x y) #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))))))))) |
(+.f64 x #s(approx (/ (- x y) 2) #s(approx (- x y) #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y)))))))) |
#s(approx (- x y) #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y)))))) |
#s(approx (/ (- x y) 2) #s(approx (- x y) #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))))))) |
#s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))))) |
| Outputs |
|---|
(+.f64 x #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) #s(approx (- x y) #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))))))))))) |
#s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) #s(approx (- x y) #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y)))))))))) |
#s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) #s(approx (- x y) #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))))))))) |
(+.f64 x #s(approx (/ (- x y) 2) #s(approx (- x y) #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y)))))))) |
#s(approx (- x y) #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y)))))) |
#s(approx (/ (- x y) 2) #s(approx (- x y) #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))))))) |
#s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))))) |
Compiled 524 to 24 computations (95.4% saved)
6 alts after pruning (0 fresh and 6 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 12 | 0 | 12 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 5 | 5 |
| Total | 12 | 6 | 18 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 99.8% | (+.f64 x (/.f64 (-.f64 x y) #s(literal 2 binary64))) |
| ✓ | 20.0% | (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))) |
| ✓ | 19.1% | (+.f64 x #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y)))))) |
| ✓ | 18.7% | (+.f64 x #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) #s(approx (- x y) #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))))))))))) |
| ✓ | 59.3% | #s(approx (+ x (/ (- x y) 2)) (/.f64 (-.f64 x y) #s(literal 2 binary64))) |
| ✓ | 19.3% | #s(approx (+ x (/ (- x y) 2)) #s(approx (/ (- x y) 2) (-.f64 x y))) |
Compiled 232 to 83 computations (64.2% saved)
| Inputs |
|---|
#s(approx (+ x (/ (- x y) 2)) #s(approx (/ (- x y) 2) (-.f64 x y))) |
(+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))) |
(+.f64 x #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y)))))) |
(+.f64 x #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) #s(approx (- x y) #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))))))))))) |
#s(approx (+ x (/ (- x y) 2)) (/.f64 (-.f64 x y) #s(literal 2 binary64))) |
(+.f64 x (/.f64 (-.f64 x y) #s(literal 2 binary64))) |
| Outputs |
|---|
(+.f64 x (/.f64 (-.f64 x y) #s(literal 2 binary64))) |
3 calls:
| 2.0ms | (+.f64 x (/.f64 (-.f64 x y) #s(literal 2 binary64))) |
| 2.0ms | y |
| 2.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.8% | 1 | x |
| 99.8% | 1 | y |
| 99.8% | 1 | (+.f64 x (/.f64 (-.f64 x y) #s(literal 2 binary64))) |
Compiled 9 to 10 computations (-11.1% saved)
| Inputs |
|---|
#s(approx (+ x (/ (- x y) 2)) #s(approx (/ (- x y) 2) (-.f64 x y))) |
(+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))) |
(+.f64 x #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y)))))) |
(+.f64 x #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) #s(approx (- x y) #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))))))))))) |
#s(approx (+ x (/ (- x y) 2)) (/.f64 (-.f64 x y) #s(literal 2 binary64))) |
| Outputs |
|---|
#s(approx (+ x (/ (- x y) 2)) (/.f64 (-.f64 x y) #s(literal 2 binary64))) |
3 calls:
| 2.0ms | (+.f64 x (/.f64 (-.f64 x y) #s(literal 2 binary64))) |
| 2.0ms | y |
| 2.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 59.3% | 1 | x |
| 59.3% | 1 | y |
| 59.3% | 1 | (+.f64 x (/.f64 (-.f64 x y) #s(literal 2 binary64))) |
Compiled 9 to 10 computations (-11.1% saved)
| Inputs |
|---|
#s(approx (+ x (/ (- x y) 2)) #s(approx (/ (- x y) 2) (-.f64 x y))) |
(+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))) |
(+.f64 x #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y)))))) |
(+.f64 x #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) #s(approx (- x y) #s(approx (/ (- x y) 2) #s(approx (- x y) (+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))))))))))) |
| Outputs |
|---|
(+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))) |
3 calls:
| 3.0ms | x |
| 2.0ms | (+.f64 x (/.f64 (-.f64 x y) #s(literal 2 binary64))) |
| 2.0ms | y |
| Accuracy | Segments | Branch |
|---|---|---|
| 20.0% | 1 | y |
| 20.0% | 1 | x |
| 20.0% | 1 | (+.f64 x (/.f64 (-.f64 x y) #s(literal 2 binary64))) |
Compiled 9 to 10 computations (-11.1% saved)
Total 0.0b remaining (0%)
Threshold costs 0b (0%)
| Inputs |
|---|
#s(approx (+ x (/ (- x y) 2)) #s(approx (/ (- x y) 2) (-.f64 x y))) |
| Outputs |
|---|
#s(approx (+ x (/ (- x y) 2)) #s(approx (/ (- x y) 2) (-.f64 x y))) |
3 calls:
| 1.0ms | (+.f64 x (/.f64 (-.f64 x y) #s(literal 2 binary64))) |
| 1.0ms | y |
| 1.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 19.3% | 1 | x |
| 19.3% | 1 | y |
| 19.3% | 1 | (+.f64 x (/.f64 (-.f64 x y) #s(literal 2 binary64))) |
Compiled 9 to 10 computations (-11.1% saved)
| 1× | egg-herbie |
| Inputs |
|---|
(+.f64 x (/.f64 (-.f64 x y) #s(literal 2 binary64))) |
#s(approx (+ x (/ (- x y) 2)) (/.f64 (-.f64 x y) #s(literal 2 binary64))) |
(+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))) |
#s(approx (+ x (/ (- x y) 2)) #s(approx (/ (- x y) 2) (-.f64 x y))) |
| Outputs |
|---|
(+.f64 x (/.f64 (-.f64 x y) #s(literal 2 binary64))) |
#s(approx (+ x (/ (- x y) 2)) (/.f64 (-.f64 x y) #s(literal 2 binary64))) |
(+.f64 x #s(approx (/ (- x y) 2) (-.f64 x y))) |
#s(approx (+ x (/ (- x y) 2)) #s(approx (/ (- x y) 2) (-.f64 x y))) |
| 1× | done |
Compiled 48 to 14 computations (70.8% saved)
Compiled 124 to 54 computations (56.5% saved)
Loading profile data...