
Time bar (total: 863.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)
| 346.0ms | 8 256× | 0 | valid |
ival-div: 62.0ms (37.2% of total)ival-sub: 51.0ms (30.6% of total)ival-add: 39.0ms (23.4% of total)ival-true: 6.0ms (3.6% of total)exact: 5.0ms (3% of total)ival-assert: 3.0ms (1.8% 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-sub: 3.0ms (32.5% of total)ival-div: 3.0ms (32.5% of total)ival-add: 2.0ms (21.7% 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))) |
| 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.015625 | (+.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 (43.7% of total)ival-sub: 1.0ms (21.8% of total)ival-add: 1.0ms (21.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 | y | @ | -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 | 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))) |
| ▶ | 10.5% | (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x))) |
| ▶ | 48.7% | #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.015625 | (+.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 | 32.85359652793674 | #s(approx (+ x (/ (- y x) 2)) (/.f64 (-.f64 y x) #s(literal 2 binary64))) |
| 20.0ms | 256× | 0 | valid |
Compiled 86 to 20 computations (76.7% saved)
ival-div: 2.0ms (42.4% of total)ival-sub: 1.0ms (21.2% of total)ival-add: 1.0ms (21.2% 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 | 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 | @ | 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))) |
| ✓ | 10.5% | (+.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)))))) |
| ✓ | 48.7% | #s(approx (+ x (/ (- y x) 2)) (/.f64 (-.f64 y x) #s(literal 2 binary64))) |
| ▶ | 9.7% | #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.015625 | (+.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.78296545866343 | #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))) | |
| accuracy | 0.0 | (-.f64 y x) | |
| accuracy | 32.85359652793674 | #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)) |
| 19.0ms | 256× | 0 | valid |
Compiled 166 to 21 computations (87.3% saved)
ival-add: 7.0ms (64.6% of total)ival-sub: 2.0ms (18.4% of total)ival-div: 2.0ms (18.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 (/ (- 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 | |
|---|---|---|---|---|
| 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 | @ | -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))) |
| ✓ | 10.5% | (+.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))))))))))) |
| ✓ | 48.7% | #s(approx (+ x (/ (- y x) 2)) (/.f64 (-.f64 y x) #s(literal 2 binary64))) |
| ✓ | 9.7% | #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.78296545866343 | #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))) | |
| accuracy | 57.78296545866343 | #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-sub: 2.0ms (41.3% of total)ival-div: 2.0ms (41.3% of total)ival-add: 1.0ms (20.7% 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 | @ | 0 | ((+ 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 | @ | -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)) |
| 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))) |
| ✓ | 10.5% | (+.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))))))))))) |
| ✓ | 48.7% | #s(approx (+ x (/ (- y x) 2)) (/.f64 (-.f64 y x) #s(literal 2 binary64))) |
| ✓ | 9.7% | #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:
| 6.0ms | x |
| 3.0ms | (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) |
| 3.0ms | y |
| 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))) |
(+.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 |
|---|---|---|
| 53.2% | 3 | x |
| 48.7% | 1 | y |
| 48.7% | 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:
| 8.0ms | y |
| 2.0ms | (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) |
| 2.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 18.8% | 1 | y |
| 18.8% | 1 | (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) |
| 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:
| 1.0ms | (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) |
| 1.0ms | x |
| 1.0ms | y |
| Accuracy | Segments | Branch |
|---|---|---|
| 10.5% | 1 | x |
| 10.5% | 1 | y |
| 10.5% | 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 | x |
| 1.0ms | y |
| Accuracy | Segments | Branch |
|---|---|---|
| 9.7% | 1 | y |
| 9.7% | 1 | (+.f64 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) |
| 9.7% | 1 | x |
Compiled 9 to 10 computations (-11.1% saved)
| 2× | binary-search |
| 1× | narrow-enough |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 8.0ms | 1.0726089360282236e+99 | 1.3781136811390848e+101 |
| 11.0ms | -2.868829427510458e+208 | -1.201783961103353e+205 |
| 11.0ms | 240× | 0 | valid |
Compiled 550 to 356 computations (35.3% saved)
ival-add: 3.0ms (51% of total)ival-div: 2.0ms (34% of total)ival-sub: 1.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 x (/.f64 (-.f64 y x) #s(literal 2 binary64))) |
(if (<=.f64 x #s(literal -8499999999999999617714062680783298753429602799421651618848748213066270861598885303100052200313762976373872358175721914352158631095676050445481448498895672703148608625726473286913980874859356978193297917870080 binary64)) (+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))))) (if (<=.f64 x #s(literal 135000000000000003118224745930453471782601869025020752083251341555665584050206349190433987411671252992 binary64)) #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) #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 -8499999999999999617714062680783298753429602799421651618848748213066270861598885303100052200313762976373872358175721914352158631095676050445481448498895672703148608625726473286913980874859356978193297917870080 binary64)) (+.f64 x #s(approx (/ (- y x) 2) #s(approx (- y x) (+.f64 x #s(approx (/ (- y x) 2) (-.f64 y x)))))) (if (<=.f64 x #s(literal 135000000000000003118224745930453471782601869025020752083251341555665584050206349190433987411671252992 binary64)) #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) #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 125 to 23 computations (81.6% saved)
Compiled 274 to 68 computations (75.2% saved)
Loading profile data...