
Time bar (total: 975.0ms)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 0 |
| 100% | 99.9% | 0% | 0.1% | 0% | 0% | 0% | 1 |
Compiled 9 to 8 computations (11.1% saved)
| 343.0ms | 8 256× | 0 | valid |
ival-sub: 66.0ms (36.4% of total)ival-div: 62.0ms (34.2% of total)ival-add: 40.0ms (22.1% of total)ival-true: 6.0ms (3.3% of total)exact: 5.0ms (2.8% of total)ival-assert: 3.0ms (1.7% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) |
| 0 | 0 | - | 0 | - | (-.f64 y x) |
| 0 | 0 | - | 0 | - | y |
| 0 | 0 | - | 0 | - | #s(literal 2 binary64) |
| 0 | 0 | - | 0 | - | (/.f64 (-.f64 y x) #s(literal 2 binary64)) |
| 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 |
| 24.0ms | 512× | 0 | valid |
Compiled 65 to 28 computations (56.9% saved)
ival-div: 4.0ms (37.2% of total)ival-sub: 3.0ms (27.9% of total)ival-add: 3.0ms (27.9% of total)ival-true: 1.0ms (9.3% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 1× | egg-herbie |
| Inputs |
|---|
(+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) |
| Outputs |
|---|
(+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) |
Compiled 7 to 6 computations (14.3% saved)
Compiled 0 to 2 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (+.f64 x (/.f64 (-.f64 y x) #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 y x) | |
| cost-diff | 0 | (/.f64 (-.f64 y x) #s(literal 2 binary64)) | |
| cost-diff | 0 | (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) |
| Inputs |
|---|
(+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) |
x |
(/.f64 (-.f64 y x) #s(literal 2 binary64)) |
(-.f64 y x) |
y |
#s(literal 2 binary64) |
| Outputs |
|---|
(+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) |
x |
(/.f64 (-.f64 y x) #s(literal 2 binary64)) |
(-.f64 y x) |
y |
#s(literal 2 binary64) |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (/.f64 (-.f64 y x) #s(literal 2 binary64)) | |
| accuracy | 0.0 | (-.f64 y x) | |
| accuracy | 0.0078125 | (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) |
| 11.0ms | 256× | 0 | valid |
Compiled 38 to 14 computations (63.2% saved)
ival-div: 2.0ms (41.5% of total)ival-sub: 1.0ms (20.8% of total)ival-add: 1.0ms (20.8% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
(+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) |
(/.f64 (-.f64 y x) #s(literal 2 binary64)) |
(-.f64 y x) |
| Outputs |
|---|
(* 1/2 y) |
(+ (* 1/2 x) (* 1/2 y)) |
(+ (* -1/2 x) (* 1/2 y)) |
y |
(+ y (* -1 x)) |
(* 1/2 x) |
(* x (+ 1/2 (* 1/2 (/ y x)))) |
(* -1/2 x) |
(* x (- (* 1/2 (/ y x)) 1/2)) |
(* -1 x) |
(* x (- (/ y x) 1)) |
(* -1 (* x (- (* -1/2 (/ y x)) 1/2))) |
(* -1 (* x (+ 1/2 (* -1/2 (/ y x))))) |
(* -1 (* x (+ 1 (* -1 (/ y x))))) |
(+ x (* -1/2 x)) |
(+ x (+ (* -1/2 x) (* 1/2 y))) |
(- y x) |
(* y (+ 1/2 (+ (* -1/2 (/ x y)) (/ x y)))) |
(* y (+ 1/2 (* -1/2 (/ x y)))) |
(* y (+ 1 (* -1 (/ x y)))) |
(* -1 (* y (- (* -1 (/ (+ x (* -1/2 x)) y)) 1/2))) |
(* -1 (* y (- (* 1/2 (/ x y)) 1/2))) |
(* -1 (* y (- (/ x y) 1))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | y | @ | inf | ((+ x (/ (- y x) 2)) (/ (- y x) 2) (- y x)) |
| 1.0ms | x | @ | inf | ((+ x (/ (- y x) 2)) (/ (- y x) 2) (- y x)) |
| 0.0ms | x | @ | -inf | ((+ x (/ (- y x) 2)) (/ (- y x) 2) (- y x)) |
| 0.0ms | y | @ | -inf | ((+ x (/ (- y x) 2)) (/ (- y x) 2) (- y x)) |
| 0.0ms | x | @ | 0 | ((+ x (/ (- y x) 2)) (/ (- y x) 2) (- y x)) |
| 1× | egg-herbie |
| Inputs |
|---|
(* 1/2 y) |
(+ (* 1/2 x) (* 1/2 y)) |
(+ (* -1/2 x) (* 1/2 y)) |
y |
(+ y (* -1 x)) |
(* 1/2 x) |
(* x (+ 1/2 (* 1/2 (/ y x)))) |
(* -1/2 x) |
(* x (- (* 1/2 (/ y x)) 1/2)) |
(* -1 x) |
(* x (- (/ y x) 1)) |
(* -1 (* x (- (* -1/2 (/ y x)) 1/2))) |
(* -1 (* x (+ 1/2 (* -1/2 (/ y x))))) |
(* -1 (* x (+ 1 (* -1 (/ y x))))) |
(+ x (* -1/2 x)) |
(+ x (+ (* -1/2 x) (* 1/2 y))) |
(- y x) |
(* y (+ 1/2 (+ (* -1/2 (/ x y)) (/ x y)))) |
(* y (+ 1/2 (* -1/2 (/ x y)))) |
(* y (+ 1 (* -1 (/ x y)))) |
(* -1 (* y (- (* -1 (/ (+ x (* -1/2 x)) y)) 1/2))) |
(* -1 (* y (- (* 1/2 (/ x y)) 1/2))) |
(* -1 (* y (- (/ x y) 1))) |
| Outputs |
|---|
(* 1/2 y) |
(+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) |
(+ (* 1/2 x) (* 1/2 y)) |
(/.f64 (-.f64 y x) #s(literal 2 binary64)) |
(+ (* -1/2 x) (* 1/2 y)) |
(-.f64 y x) |
| Inputs |
|---|
(+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) |
(/.f64 (-.f64 y x) #s(literal 2 binary64)) |
(-.f64 y x) |
| Outputs |
|---|
(+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) |
(/.f64 (-.f64 y x) #s(literal 2 binary64)) |
(-.f64 y x) |
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 |
|---|---|---|
| ✓ | 100.0% | (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) |
| ▶ | 11.1% | (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))) |
| ▶ | 51.3% | #s(approx (+ x (/ (- y x) 2)) (/.f64 (-.f64 y x) #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 y x) | |
| cost-diff | 0 | #s(approx (/ (- y x) 2) (-.f64 y x)) | |
| cost-diff | 0 | (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))) | |
| cost-diff | 0 | (-.f64 y x) | |
| cost-diff | 0 | (/.f64 (-.f64 y x) #s(literal 2 binary64)) | |
| cost-diff | 0 | #s(approx (+ x (/ (- y x) 2)) (/.f64 (-.f64 y x) #s(literal 2 binary64))) |
| Inputs |
|---|
#s(approx (+ x (/ (- y x) 2)) (/.f64 (-.f64 y x) #s(literal 2 binary64))) |
(/.f64 (-.f64 y x) #s(literal 2 binary64)) |
(-.f64 y x) |
y |
x |
#s(literal 2 binary64) |
(+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))) |
x |
#s(approx (/ (- y x) 2) (-.f64 y x)) |
(-.f64 y x) |
y |
| Outputs |
|---|
#s(approx (+ x (/ (- y x) 2)) (/.f64 (-.f64 y x) #s(literal 2 binary64))) |
(/.f64 (-.f64 y x) #s(literal 2 binary64)) |
(-.f64 y x) |
y |
x |
#s(literal 2 binary64) |
(+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))) |
x |
#s(approx (/ (- y x) 2) (-.f64 y x)) |
(-.f64 y x) |
y |
Found 6 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (-.f64 y x) | |
| accuracy | 0.0078125 | (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))) | |
| accuracy | 52.0 | #s(approx (/ (- y x) 2) (-.f64 y x)) | |
| accuracy | 0.0 | (/.f64 (-.f64 y x) #s(literal 2 binary64)) | |
| accuracy | 0.0 | (-.f64 y x) | |
| accuracy | 31.195424096420584 | #s(approx (+ x (/ (- y x) 2)) (/.f64 (-.f64 y x) #s(literal 2 binary64))) |
| 12.0ms | 256× | 0 | valid |
Compiled 86 to 20 computations (76.7% saved)
ival-div: 2.0ms (41.2% of total)ival-sub: 1.0ms (20.6% of total)ival-add: 1.0ms (20.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 (/ (- y x) 2)) (/.f64 (-.f64 y x) #s(literal 2 binary64))) |
(/.f64 (-.f64 y x) #s(literal 2 binary64)) |
(-.f64 y x) |
(+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))) |
#s(approx (/ (- y x) 2) (-.f64 y x)) |
| Outputs |
|---|
(* 1/2 y) |
(+ (* 1/2 x) (* 1/2 y)) |
(+ (* -1/2 x) (* 1/2 y)) |
y |
(+ y (* -1 x)) |
(* 1/2 x) |
(* x (+ 1/2 (* 1/2 (/ y x)))) |
(* -1/2 x) |
(* x (- (* 1/2 (/ y x)) 1/2)) |
(* -1 x) |
(* x (- (/ y x) 1)) |
(* -1 (* x (- (* -1/2 (/ y x)) 1/2))) |
(* -1 (* x (+ 1/2 (* -1/2 (/ y x))))) |
(* -1 (* x (+ 1 (* -1 (/ y x))))) |
(+ x (* -1/2 x)) |
(+ x (+ (* -1/2 x) (* 1/2 y))) |
(- y x) |
(* y (+ 1/2 (+ (* -1/2 (/ x y)) (/ x y)))) |
(* y (+ 1/2 (* -1/2 (/ x y)))) |
(* y (+ 1 (* -1 (/ x y)))) |
(* -1 (* y (- (* -1 (/ (+ x (* -1/2 x)) y)) 1/2))) |
(* -1 (* y (- (* 1/2 (/ x y)) 1/2))) |
(* -1 (* y (- (/ x y) 1))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | y | @ | inf | ((+ x (/ (- y x) 2)) (/ (- y x) 2) (- y x) (+ x (/ (- y x) 2)) (/ (- y x) 2)) |
| 0.0ms | x | @ | inf | ((+ x (/ (- y x) 2)) (/ (- y x) 2) (- y x) (+ x (/ (- y x) 2)) (/ (- y x) 2)) |
| 0.0ms | y | @ | -inf | ((+ x (/ (- y x) 2)) (/ (- y x) 2) (- y x) (+ x (/ (- y x) 2)) (/ (- y x) 2)) |
| 0.0ms | x | @ | -inf | ((+ x (/ (- y x) 2)) (/ (- y x) 2) (- y x) (+ x (/ (- y x) 2)) (/ (- y x) 2)) |
| 0.0ms | x | @ | 0 | ((+ x (/ (- y x) 2)) (/ (- y x) 2) (- y x) (+ x (/ (- y x) 2)) (/ (- y x) 2)) |
| 1× | egg-herbie |
| Inputs |
|---|
(* 1/2 y) |
(+ (* 1/2 x) (* 1/2 y)) |
(+ (* -1/2 x) (* 1/2 y)) |
y |
(+ y (* -1 x)) |
(* 1/2 x) |
(* x (+ 1/2 (* 1/2 (/ y x)))) |
(* -1/2 x) |
(* x (- (* 1/2 (/ y x)) 1/2)) |
(* -1 x) |
(* x (- (/ y x) 1)) |
(* -1 (* x (- (* -1/2 (/ y x)) 1/2))) |
(* -1 (* x (+ 1/2 (* -1/2 (/ y x))))) |
(* -1 (* x (+ 1 (* -1 (/ y x))))) |
(+ x (* -1/2 x)) |
(+ x (+ (* -1/2 x) (* 1/2 y))) |
(- y x) |
(* y (+ 1/2 (+ (* -1/2 (/ x y)) (/ x y)))) |
(* y (+ 1/2 (* -1/2 (/ x y)))) |
(* y (+ 1 (* -1 (/ x y)))) |
(* -1 (* y (- (* -1 (/ (+ x (* -1/2 x)) y)) 1/2))) |
(* -1 (* y (- (* 1/2 (/ x y)) 1/2))) |
(* -1 (* y (- (/ x y) 1))) |
| Outputs |
|---|
(* 1/2 y) |
#s(approx (+ x (/ (- y x) 2)) (/.f64 (-.f64 y x) #s(literal 2 binary64))) |
(+ (* 1/2 x) (* 1/2 y)) |
(/.f64 (-.f64 y x) #s(literal 2 binary64)) |
(+ (* -1/2 x) (* 1/2 y)) |
(-.f64 y x) |
y |
(+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))) |
(+ y (* -1 x)) |
#s(approx (/ (- y x) 2) (-.f64 y x)) |
| Inputs |
|---|
#s(approx (+ x (/ (- y x) 2)) (/.f64 (-.f64 y x) #s(literal 2 binary64))) |
(/.f64 (-.f64 y x) #s(literal 2 binary64)) |
(-.f64 y x) |
(+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))) |
#s(approx (/ (- y x) 2) (-.f64 y x)) |
| Outputs |
|---|
#s(approx (+ x (/ (- y x) 2)) (/.f64 (-.f64 y x) #s(literal 2 binary64))) |
(/.f64 (-.f64 y x) #s(literal 2 binary64)) |
(-.f64 y x) |
(+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))) |
#s(approx (/ (- y x) 2) (-.f64 y x)) |
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 |
|---|---|---|
| ✓ | 100.0% | (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) |
| ✓ | 11.1% | (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))) |
| ▶ | 18.8% | (+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))))) |
| ✓ | 51.3% | #s(approx (+ x (/ (- y x) 2)) (/.f64 (-.f64 y x) #s(literal 2 binary64))) |
| ▶ | 10.2% | #s(approx (+ x (/ (- y x) 2)) #s(approx (/ (- y x) 2) (-.f64 y x))) |
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 (/ (- y x) 2) (-.f64 y x))) | |
| cost-diff | 0 | #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))) | |
| cost-diff | 0 | #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))))) | |
| cost-diff | 0 | (+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))))) | |
| cost-diff | 0 | (-.f64 y x) | |
| cost-diff | 0 | #s(approx (/ (- y x) 2) (-.f64 y x)) | |
| cost-diff | 0 | #s(approx (+ x (/ (- y x) 2)) #s(approx (/ (- y x) 2) (-.f64 y x))) |
| Inputs |
|---|
#s(approx (+ x (/ (- y x) 2)) #s(approx (/ (- y x) 2) (-.f64 y x))) |
#s(approx (/ (- y x) 2) (-.f64 y x)) |
(-.f64 y x) |
y |
x |
(+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))))) |
x |
#s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))))) |
#s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))) |
(+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))) |
#s(approx (/ (- y x) 2) (-.f64 y x)) |
(-.f64 y x) |
y |
| Outputs |
|---|
#s(approx (+ x (/ (- y x) 2)) #s(approx (/ (- y x) 2) (-.f64 y x))) |
#s(approx (/ (- y x) 2) (-.f64 y x)) |
(-.f64 y x) |
y |
x |
(+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))))) |
x |
#s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))))) |
#s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))) |
(+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))) |
#s(approx (/ (- y x) 2) (-.f64 y x)) |
(-.f64 y x) |
y |
Found 7 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0078125 | (+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))))) | |
| accuracy | 52.0 | #s(approx (/ (- y x) 2) (-.f64 y x)) | |
| accuracy | 52.0 | #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))))) | |
| accuracy | 57.45954264864917 | #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))) | |
| accuracy | 0.0 | (-.f64 y x) | |
| accuracy | 31.195424096420584 | #s(approx (+ x (/ (- y x) 2)) #s(approx (/ (- y x) 2) (-.f64 y x))) | |
| accuracy | 52.0 | #s(approx (/ (- y x) 2) (-.f64 y x)) |
| 13.0ms | 256× | 0 | valid |
Compiled 166 to 21 computations (87.3% saved)
ival-sub: 2.0ms (41.1% of total)ival-div: 2.0ms (41.1% of total)ival-add: 1.0ms (20.5% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(approx (+ x (/ (- y x) 2)) #s(approx (/ (- y x) 2) (-.f64 y x))) |
#s(approx (/ (- y x) 2) (-.f64 y x)) |
(-.f64 y x) |
(+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))))) |
#s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))))) |
#s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))) |
(+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))) |
| Outputs |
|---|
(* 1/2 y) |
(+ (* 1/2 x) (* 1/2 y)) |
(+ (* -1/2 x) (* 1/2 y)) |
y |
(+ y (* -1 x)) |
(* 1/2 x) |
(* x (+ 1/2 (* 1/2 (/ y x)))) |
(* -1/2 x) |
(* x (- (* 1/2 (/ y x)) 1/2)) |
(* -1 x) |
(* x (- (/ y x) 1)) |
(* -1 (* x (- (* -1/2 (/ y x)) 1/2))) |
(* -1 (* x (+ 1/2 (* -1/2 (/ y x))))) |
(* -1 (* x (+ 1 (* -1 (/ y x))))) |
(+ x (* -1/2 x)) |
(+ x (+ (* -1/2 x) (* 1/2 y))) |
(- y x) |
(* y (+ 1/2 (+ (* -1/2 (/ x y)) (/ x y)))) |
(* y (+ 1/2 (* -1/2 (/ x y)))) |
(* y (+ 1 (* -1 (/ x y)))) |
(* -1 (* y (- (* -1 (/ (+ x (* -1/2 x)) y)) 1/2))) |
(* -1 (* y (- (* 1/2 (/ x y)) 1/2))) |
(* -1 (* y (- (/ x y) 1))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 4.0ms | y | @ | -inf | ((+ x (/ (- y x) 2)) (/ (- y x) 2) (- y x) (+ x (/ (- y x) 2)) (/ (- y x) 2) (- y x) (+ x (/ (- y x) 2))) |
| 0.0ms | x | @ | inf | ((+ x (/ (- y x) 2)) (/ (- y x) 2) (- y x) (+ x (/ (- y x) 2)) (/ (- y x) 2) (- y x) (+ x (/ (- y x) 2))) |
| 0.0ms | x | @ | -inf | ((+ x (/ (- y x) 2)) (/ (- y x) 2) (- y x) (+ x (/ (- y x) 2)) (/ (- y x) 2) (- y x) (+ x (/ (- y x) 2))) |
| 0.0ms | y | @ | inf | ((+ x (/ (- y x) 2)) (/ (- y x) 2) (- y x) (+ x (/ (- y x) 2)) (/ (- y x) 2) (- y x) (+ x (/ (- y x) 2))) |
| 0.0ms | x | @ | 0 | ((+ x (/ (- y x) 2)) (/ (- y x) 2) (- y x) (+ x (/ (- y x) 2)) (/ (- y x) 2) (- y x) (+ x (/ (- y x) 2))) |
| 1× | egg-herbie |
| Inputs |
|---|
(* 1/2 y) |
(+ (* 1/2 x) (* 1/2 y)) |
(+ (* -1/2 x) (* 1/2 y)) |
y |
(+ y (* -1 x)) |
(* 1/2 x) |
(* x (+ 1/2 (* 1/2 (/ y x)))) |
(* -1/2 x) |
(* x (- (* 1/2 (/ y x)) 1/2)) |
(* -1 x) |
(* x (- (/ y x) 1)) |
(* -1 (* x (- (* -1/2 (/ y x)) 1/2))) |
(* -1 (* x (+ 1/2 (* -1/2 (/ y x))))) |
(* -1 (* x (+ 1 (* -1 (/ y x))))) |
(+ x (* -1/2 x)) |
(+ x (+ (* -1/2 x) (* 1/2 y))) |
(- y x) |
(* y (+ 1/2 (+ (* -1/2 (/ x y)) (/ x y)))) |
(* y (+ 1/2 (* -1/2 (/ x y)))) |
(* y (+ 1 (* -1 (/ x y)))) |
(* -1 (* y (- (* -1 (/ (+ x (* -1/2 x)) y)) 1/2))) |
(* -1 (* y (- (* 1/2 (/ x y)) 1/2))) |
(* -1 (* y (- (/ x y) 1))) |
| Outputs |
|---|
(* 1/2 y) |
#s(approx (+ x (/ (- y x) 2)) #s(approx (/ (- y x) 2) (-.f64 y x))) |
(+ (* 1/2 x) (* 1/2 y)) |
#s(approx (/ (- y x) 2) (-.f64 y x)) |
(+ (* -1/2 x) (* 1/2 y)) |
(-.f64 y x) |
y |
(+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))))) |
(+ y (* -1 x)) |
#s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))))) |
(* 1/2 x) |
#s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))) |
(* x (+ 1/2 (* 1/2 (/ y x)))) |
(+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))) |
| Inputs |
|---|
#s(approx (+ x (/ (- y x) 2)) #s(approx (/ (- y x) 2) (-.f64 y x))) |
#s(approx (/ (- y x) 2) (-.f64 y x)) |
(-.f64 y x) |
(+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))))) |
#s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))))) |
#s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))) |
(+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))) |
| Outputs |
|---|
#s(approx (+ x (/ (- y x) 2)) #s(approx (/ (- y x) 2) (-.f64 y x))) |
#s(approx (/ (- y x) 2) (-.f64 y x)) |
(-.f64 y x) |
(+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))))) |
#s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))))) |
#s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))) |
(+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))) |
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 |
|---|---|---|
| ✓ | 100.0% | (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) |
| ✓ | 11.1% | (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))) |
| ✓ | 18.8% | (+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))))) |
| ▶ | 18.0% | (+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))))))))))) |
| ✓ | 51.3% | #s(approx (+ x (/ (- y x) 2)) (/.f64 (-.f64 y x) #s(literal 2 binary64))) |
| ✓ | 10.2% | #s(approx (+ x (/ (- y x) 2)) #s(approx (/ (- y x) 2) (-.f64 y x))) |
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 (/ (- y x) 2) #s(approx (- y x) #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))))))) | |
| cost-diff | 0 | #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))))))))) | |
| cost-diff | 0 | #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))))))))) | |
| cost-diff | 0 | (+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))))))))))) |
| Inputs |
|---|
(+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))))))))))) |
x |
#s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))))))))) |
#s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))))))))) |
(+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))))))) |
#s(approx (/ (- y x) 2) #s(approx (- y x) #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))))))) |
#s(approx (- y x) #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))))) |
#s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))))) |
#s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))) |
(+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))) |
#s(approx (/ (- y x) 2) (-.f64 y x)) |
(-.f64 y x) |
y |
| Outputs |
|---|
(+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))))))))))) |
x |
#s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))))))))) |
#s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))))))))) |
(+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))))))) |
#s(approx (/ (- y x) 2) #s(approx (- y x) #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))))))) |
#s(approx (- y x) #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))))) |
#s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))))) |
#s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))) |
(+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))) |
#s(approx (/ (- y x) 2) (-.f64 y x)) |
(-.f64 y x) |
y |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 52.0 | #s(approx (/ (- y x) 2) #s(approx (- y x) #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))))))) | |
| accuracy | 52.0 | #s(approx (- y x) #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))))) | |
| accuracy | 57.45954264864917 | #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))) | |
| accuracy | 57.45954264864917 | #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))))))))) |
| 13.0ms | 256× | 0 | valid |
Compiled 332 to 24 computations (92.8% saved)
ival-div: 2.0ms (40.1% of total)ival-sub: 1.0ms (20.1% of total)ival-add: 1.0ms (20.1% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
(+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))))))))))) |
#s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))))))))) |
#s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))))))))) |
(+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))))))) |
#s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))) |
#s(approx (- y x) #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))))) |
#s(approx (/ (- y x) 2) #s(approx (- y x) #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))))))) |
| Outputs |
|---|
(* 1/2 y) |
(+ (* 1/2 x) (* 1/2 y)) |
(+ (* -1/2 x) (* 1/2 y)) |
y |
(+ y (* -1 x)) |
(* 1/2 x) |
(* x (+ 1/2 (* 1/2 (/ y x)))) |
(* -1/2 x) |
(* x (- (* 1/2 (/ y x)) 1/2)) |
(* -1 x) |
(* x (- (/ y x) 1)) |
(* -1 (* x (- (* -1/2 (/ y x)) 1/2))) |
(* -1 (* x (+ 1/2 (* -1/2 (/ y x))))) |
(* -1 (* x (+ 1 (* -1 (/ y x))))) |
(+ x (* -1/2 x)) |
(+ x (+ (* -1/2 x) (* 1/2 y))) |
(- y x) |
(* y (+ 1/2 (+ (* -1/2 (/ x y)) (/ x y)))) |
(* y (+ 1/2 (* -1/2 (/ x y)))) |
(* y (+ 1 (* -1 (/ x y)))) |
(* -1 (* y (- (* -1 (/ (+ x (* -1/2 x)) y)) 1/2))) |
(* -1 (* y (- (* 1/2 (/ x y)) 1/2))) |
(* -1 (* y (- (/ x y) 1))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | y | @ | -inf | ((+ x (/ (- y x) 2)) (/ (- y x) 2) (- y x) (+ x (/ (- y x) 2)) (- y x) (- y x) (/ (- y x) 2)) |
| 0.0ms | x | @ | inf | ((+ x (/ (- y x) 2)) (/ (- y x) 2) (- y x) (+ x (/ (- y x) 2)) (- y x) (- y x) (/ (- y x) 2)) |
| 0.0ms | y | @ | inf | ((+ x (/ (- y x) 2)) (/ (- y x) 2) (- y x) (+ x (/ (- y x) 2)) (- y x) (- y x) (/ (- y x) 2)) |
| 0.0ms | x | @ | -inf | ((+ x (/ (- y x) 2)) (/ (- y x) 2) (- y x) (+ x (/ (- y x) 2)) (- y x) (- y x) (/ (- y x) 2)) |
| 0.0ms | x | @ | 0 | ((+ x (/ (- y x) 2)) (/ (- y x) 2) (- y x) (+ x (/ (- y x) 2)) (- y x) (- y x) (/ (- y x) 2)) |
| 1× | egg-herbie |
| Inputs |
|---|
(* 1/2 y) |
(+ (* 1/2 x) (* 1/2 y)) |
(+ (* -1/2 x) (* 1/2 y)) |
y |
(+ y (* -1 x)) |
(* 1/2 x) |
(* x (+ 1/2 (* 1/2 (/ y x)))) |
(* -1/2 x) |
(* x (- (* 1/2 (/ y x)) 1/2)) |
(* -1 x) |
(* x (- (/ y x) 1)) |
(* -1 (* x (- (* -1/2 (/ y x)) 1/2))) |
(* -1 (* x (+ 1/2 (* -1/2 (/ y x))))) |
(* -1 (* x (+ 1 (* -1 (/ y x))))) |
(+ x (* -1/2 x)) |
(+ x (+ (* -1/2 x) (* 1/2 y))) |
(- y x) |
(* y (+ 1/2 (+ (* -1/2 (/ x y)) (/ x y)))) |
(* y (+ 1/2 (* -1/2 (/ x y)))) |
(* y (+ 1 (* -1 (/ x y)))) |
(* -1 (* y (- (* -1 (/ (+ x (* -1/2 x)) y)) 1/2))) |
(* -1 (* y (- (* 1/2 (/ x y)) 1/2))) |
(* -1 (* y (- (/ x y) 1))) |
| Outputs |
|---|
(* 1/2 y) |
(+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))))))))))) |
(+ (* 1/2 x) (* 1/2 y)) |
#s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))))))))) |
(+ (* -1/2 x) (* 1/2 y)) |
#s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))))))))) |
y |
(+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))))))) |
(+ y (* -1 x)) |
#s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))) |
(* 1/2 x) |
#s(approx (- y x) #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))))) |
(* x (+ 1/2 (* 1/2 (/ y x)))) |
#s(approx (/ (- y x) 2) #s(approx (- y x) #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))))))) |
| Inputs |
|---|
(+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))))))))))) |
#s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))))))))) |
#s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))))))))) |
(+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))))))) |
#s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))) |
#s(approx (- y x) #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))))) |
#s(approx (/ (- y x) 2) #s(approx (- y x) #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))))))) |
| Outputs |
|---|
(+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))))))))))) |
#s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))))))))) |
#s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))))))))) |
(+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))))))) |
#s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))) |
#s(approx (- y x) #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))))) |
#s(approx (/ (- y x) 2) #s(approx (- y x) #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))))))) |
Compiled 518 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 |
|---|---|---|
| ✓ | 100.0% | (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) |
| ✓ | 11.1% | (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))) |
| ✓ | 18.8% | (+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))))) |
| ✓ | 18.0% | (+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))))))))))) |
| ✓ | 51.3% | #s(approx (+ x (/ (- y x) 2)) (/.f64 (-.f64 y x) #s(literal 2 binary64))) |
| ✓ | 10.2% | #s(approx (+ x (/ (- y x) 2)) #s(approx (/ (- y x) 2) (-.f64 y x))) |
Compiled 232 to 83 computations (64.2% saved)
| Inputs |
|---|
#s(approx (+ x (/ (- y x) 2)) #s(approx (/ (- y x) 2) (-.f64 y x))) |
(+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))) |
(+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))))) |
(+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))))))))))) |
#s(approx (+ x (/ (- y x) 2)) (/.f64 (-.f64 y x) #s(literal 2 binary64))) |
(+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) |
| Outputs |
|---|
(+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) |
3 calls:
| 5.0ms | x |
| 3.0ms | y |
| 3.0ms | (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | x |
| 100.0% | 1 | y |
| 100.0% | 1 | (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) |
Compiled 9 to 10 computations (-11.1% saved)
| Inputs |
|---|
#s(approx (+ x (/ (- y x) 2)) #s(approx (/ (- y x) 2) (-.f64 y x))) |
(+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))) |
(+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))))) |
(+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))))))))))) |
#s(approx (+ x (/ (- y x) 2)) (/.f64 (-.f64 y x) #s(literal 2 binary64))) |
| Outputs |
|---|
(+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))))) |
#s(approx (+ x (/ (- y x) 2)) (/.f64 (-.f64 y x) #s(literal 2 binary64))) |
3 calls:
| 2.0ms | (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) |
| 2.0ms | y |
| 2.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 53.6% | 2 | x |
| 51.3% | 1 | y |
| 51.3% | 1 | (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) |
Compiled 9 to 10 computations (-11.1% saved)
| Inputs |
|---|
#s(approx (+ x (/ (- y x) 2)) #s(approx (/ (- y x) 2) (-.f64 y x))) |
(+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))) |
(+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))))) |
(+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))))))))))) |
| Outputs |
|---|
(+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))))) |
3 calls:
| 2.0ms | (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) |
| 2.0ms | y |
| 2.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 18.8% | 1 | (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) |
| 18.8% | 1 | y |
| 18.8% | 1 | x |
Compiled 9 to 10 computations (-11.1% saved)
| Inputs |
|---|
#s(approx (+ x (/ (- y x) 2)) #s(approx (/ (- y x) 2) (-.f64 y x))) |
(+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))) |
| Outputs |
|---|
(+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))) |
3 calls:
| 7.0ms | x |
| 1.0ms | (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) |
| 1.0ms | y |
| Accuracy | Segments | Branch |
|---|---|---|
| 11.1% | 1 | x |
| 11.1% | 1 | y |
| 11.1% | 1 | (+.f64 x (/.f64 (-.f64 y x) #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 (/ (- y x) 2)) #s(approx (/ (- y x) 2) (-.f64 y x))) |
| Outputs |
|---|
#s(approx (+ x (/ (- y x) 2)) #s(approx (/ (- y x) 2) (-.f64 y x))) |
3 calls:
| 1.0ms | (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) |
| 1.0ms | y |
| 1.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 10.2% | 1 | (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) |
| 10.2% | 1 | x |
| 10.2% | 1 | y |
Compiled 9 to 10 computations (-11.1% saved)
| 1× | binary-search |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 11.0ms | -2.1701245215673352e+187 | -2.6815627201388485e+178 |
| 6.0ms | 144× | 0 | valid |
Compiled 334 to 218 computations (34.7% saved)
ival-sub: 1.0ms (37.1% of total)ival-div: 1.0ms (37.1% of total)ival-add: 1.0ms (37.1% 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 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) |
(if (<=.f64 x #s(literal -289999999999999983333149898197184545732636985224817739986387836310804831015624766210460856554390607227333561547245088421291348992356592311494313290891163924195161951349989671115423744 binary64)) (+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))))) #s(approx (+ x (/ (- y x) 2)) (/.f64 (-.f64 y x) #s(literal 2 binary64)))) |
(+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))))) |
(+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))) |
#s(approx (+ x (/ (- y x) 2)) #s(approx (/ (- y x) 2) (-.f64 y x))) |
| Outputs |
|---|
(+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) |
(if (<=.f64 x #s(literal -289999999999999983333149898197184545732636985224817739986387836310804831015624766210460856554390607227333561547245088421291348992356592311494313290891163924195161951349989671115423744 binary64)) (+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))))) #s(approx (+ x (/ (- y x) 2)) (/.f64 (-.f64 y x) #s(literal 2 binary64)))) |
(+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))))) |
(+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))) |
#s(approx (+ x (/ (- y x) 2)) #s(approx (/ (- y x) 2) (-.f64 y x))) |
| 1× | done |
Compiled 98 to 20 computations (79.6% saved)
Compiled 220 to 62 computations (71.8% saved)
Loading profile data...