
Time bar (total: 835.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 10 to 9 computations (10% saved)
| 376.0ms | 7 941× | 0 | valid |
| 13.0ms | 154× | 1 | valid |
| 13.0ms | 98× | 2 | valid |
| 11.0ms | 63× | 3 | valid |
ival-sub: 60.0ms (25% of total)ival-fabs: 59.0ms (24.6% of total)ival-div: 55.0ms (22.9% of total)ival-add: 44.0ms (18.3% of total)adjust: 9.0ms (3.8% of total)ival-true: 5.0ms (2.1% of total)exact: 4.0ms (1.7% of total)ival-assert: 3.0ms (1.3% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | (+.f64 x (/.f64 (fabs.f64 (-.f64 y x)) #s(literal 2 binary64))) |
| 0 | 0 | - | 0 | - | (/.f64 (fabs.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 | - | (fabs.f64 (-.f64 y x)) |
| 0 | 0 | - | 0 | - | x |
| Predicted + | Predicted - | |
|---|---|---|
| + | 0 | 0 |
| - | 0 | 256 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 0 | 0 | 0 |
| - | 0 | 0 | 256 |
| number | freq |
|---|---|
| 0 | 256 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 0 | 0 | 0 |
| - | 0 | 0 | 1 |
| 24.0ms | 492× | 0 | valid |
| 5.0ms | 10× | 1 | valid |
| 1.0ms | 6× | 2 | valid |
| 1.0ms | 4× | 3 | valid |
Compiled 84 to 32 computations (61.9% saved)
ival-add: 7.0ms (39.9% of total)ival-div: 3.0ms (17.1% of total)ival-sub: 3.0ms (17.1% of total)ival-fabs: 3.0ms (17.1% of total)adjust: 1.0ms (5.7% 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 (fabs.f64 (-.f64 y x)) #s(literal 2 binary64))) |
| Outputs |
|---|
(+.f64 x (/.f64 (fabs.f64 (-.f64 y x)) #s(literal 2 binary64))) |
Compiled 8 to 7 computations (12.5% saved)
Compiled 0 to 2 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 99.9% | (+.f64 x (/.f64 (fabs.f64 (-.f64 y x)) #s(literal 2 binary64))) |
Compiled 8 to 7 computations (12.5% saved)
| 1× | egg-herbie |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (-.f64 y x) | |
| cost-diff | 0 | (fabs.f64 (-.f64 y x)) | |
| cost-diff | 0 | (/.f64 (fabs.f64 (-.f64 y x)) #s(literal 2 binary64)) | |
| cost-diff | 0 | (+.f64 x (/.f64 (fabs.f64 (-.f64 y x)) #s(literal 2 binary64))) |
| Inputs |
|---|
(+.f64 x (/.f64 (fabs.f64 (-.f64 y x)) #s(literal 2 binary64))) |
x |
(/.f64 (fabs.f64 (-.f64 y x)) #s(literal 2 binary64)) |
(fabs.f64 (-.f64 y x)) |
(-.f64 y x) |
y |
#s(literal 2 binary64) |
| Outputs |
|---|
(+.f64 x (/.f64 (fabs.f64 (-.f64 y x)) #s(literal 2 binary64))) |
x |
(/.f64 (fabs.f64 (-.f64 y x)) #s(literal 2 binary64)) |
(fabs.f64 (-.f64 y x)) |
(-.f64 y x) |
y |
#s(literal 2 binary64) |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (/.f64 (fabs.f64 (-.f64 y x)) #s(literal 2 binary64)) | |
| accuracy | 0.0 | (-.f64 y x) | |
| accuracy | 0.0 | (fabs.f64 (-.f64 y x)) | |
| accuracy | 0.05859375 | (+.f64 x (/.f64 (fabs.f64 (-.f64 y x)) #s(literal 2 binary64))) |
| 12.0ms | 246× | 0 | valid |
| 1.0ms | 5× | 1 | valid |
| 0.0ms | 3× | 2 | valid |
| 0.0ms | 2× | 3 | valid |
Compiled 50 to 16 computations (68% saved)
ival-div: 2.0ms (30.4% of total)ival-sub: 2.0ms (30.4% of total)ival-fabs: 1.0ms (15.2% of total)ival-add: 1.0ms (15.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 (/.f64 (fabs.f64 (-.f64 y x)) #s(literal 2 binary64))) |
(/.f64 (fabs.f64 (-.f64 y x)) #s(literal 2 binary64)) |
(fabs.f64 (-.f64 y x)) |
(-.f64 y x) |
| Outputs |
|---|
(* 1/2 (fabs (- y x))) |
(+ x (* 1/2 (fabs (- y x)))) |
(fabs (- y x)) |
y |
(+ y (* -1 x)) |
x |
(* x (+ 1 (* 1/2 (/ (fabs (- y x)) x)))) |
(* -1 x) |
(* x (- (/ y x) 1)) |
(* -1 (* x (- (* -1/2 (/ (fabs (+ y (* -1 x))) x)) 1))) |
(* 1/2 (fabs (+ y (* -1 x)))) |
(fabs (+ y (* -1 x))) |
(* -1 (* x (+ 1 (* -1 (/ y x))))) |
(- y x) |
(* y (+ 1 (* -1 (/ x y)))) |
(+ x (* 1/2 (fabs (neg (+ x (* -1 y)))))) |
(* 1/2 (fabs (neg (+ x (* -1 y))))) |
(fabs (neg (+ x (* -1 y)))) |
(* -1 (* y (- (/ x y) 1))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | y | @ | inf | ((+ x (/ (fabs (- y x)) 2)) (/ (fabs (- y x)) 2) (fabs (- y x)) (- y x)) |
| 1.0ms | x | @ | inf | ((+ x (/ (fabs (- y x)) 2)) (/ (fabs (- y x)) 2) (fabs (- y x)) (- y x)) |
| 1.0ms | y | @ | -inf | ((+ x (/ (fabs (- y x)) 2)) (/ (fabs (- y x)) 2) (fabs (- y x)) (- y x)) |
| 1.0ms | x | @ | -inf | ((+ x (/ (fabs (- y x)) 2)) (/ (fabs (- y x)) 2) (fabs (- y x)) (- y x)) |
| 1.0ms | x | @ | 0 | ((+ x (/ (fabs (- y x)) 2)) (/ (fabs (- y x)) 2) (fabs (- y x)) (- y x)) |
| 1× | egg-herbie |
| Inputs |
|---|
(* 1/2 (fabs (- y x))) |
(+ x (* 1/2 (fabs (- y x)))) |
(fabs (- y x)) |
y |
(+ y (* -1 x)) |
x |
(* x (+ 1 (* 1/2 (/ (fabs (- y x)) x)))) |
(* -1 x) |
(* x (- (/ y x) 1)) |
(* -1 (* x (- (* -1/2 (/ (fabs (+ y (* -1 x))) x)) 1))) |
(* 1/2 (fabs (+ y (* -1 x)))) |
(fabs (+ y (* -1 x))) |
(* -1 (* x (+ 1 (* -1 (/ y x))))) |
(- y x) |
(* y (+ 1 (* -1 (/ x y)))) |
(+ x (* 1/2 (fabs (neg (+ x (* -1 y)))))) |
(* 1/2 (fabs (neg (+ x (* -1 y))))) |
(fabs (neg (+ x (* -1 y)))) |
(* -1 (* y (- (/ x y) 1))) |
| Outputs |
|---|
(* 1/2 (fabs (- y x))) |
(+.f64 x (/.f64 (fabs.f64 (-.f64 y x)) #s(literal 2 binary64))) |
(+ x (* 1/2 (fabs (- y x)))) |
(/.f64 (fabs.f64 (-.f64 y x)) #s(literal 2 binary64)) |
(fabs (- y x)) |
(fabs.f64 (-.f64 y x)) |
y |
(-.f64 y x) |
| Inputs |
|---|
(+.f64 x (/.f64 (fabs.f64 (-.f64 y x)) #s(literal 2 binary64))) |
(/.f64 (fabs.f64 (-.f64 y x)) #s(literal 2 binary64)) |
(fabs.f64 (-.f64 y x)) |
(-.f64 y x) |
| Outputs |
|---|
(+.f64 x (/.f64 (fabs.f64 (-.f64 y x)) #s(literal 2 binary64))) |
(/.f64 (fabs.f64 (-.f64 y x)) #s(literal 2 binary64)) |
(fabs.f64 (-.f64 y x)) |
(-.f64 y x) |
Compiled 89 to 21 computations (76.4% saved)
2 alts after pruning (1 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 7 | 1 | 8 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 7 | 2 | 9 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 99.9% | (+.f64 x (/.f64 (fabs.f64 (-.f64 y x)) #s(literal 2 binary64))) |
| ▶ | 54.8% | #s(approx (+ x (/ (fabs (- y x)) 2)) (/.f64 (fabs.f64 (-.f64 y x)) #s(literal 2 binary64))) |
Compiled 23 to 19 computations (17.4% saved)
| 1× | egg-herbie |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (-.f64 y x) | |
| cost-diff | 0 | (fabs.f64 (-.f64 y x)) | |
| cost-diff | 0 | (/.f64 (fabs.f64 (-.f64 y x)) #s(literal 2 binary64)) | |
| cost-diff | 0 | #s(approx (+ x (/ (fabs (- y x)) 2)) (/.f64 (fabs.f64 (-.f64 y x)) #s(literal 2 binary64))) |
| Inputs |
|---|
#s(approx (+ x (/ (fabs (- y x)) 2)) (/.f64 (fabs.f64 (-.f64 y x)) #s(literal 2 binary64))) |
(/.f64 (fabs.f64 (-.f64 y x)) #s(literal 2 binary64)) |
(fabs.f64 (-.f64 y x)) |
(-.f64 y x) |
y |
x |
#s(literal 2 binary64) |
| Outputs |
|---|
#s(approx (+ x (/ (fabs (- y x)) 2)) (/.f64 (fabs.f64 (-.f64 y x)) #s(literal 2 binary64))) |
(/.f64 (fabs.f64 (-.f64 y x)) #s(literal 2 binary64)) |
(fabs.f64 (-.f64 y x)) |
(-.f64 y x) |
y |
x |
#s(literal 2 binary64) |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (/.f64 (fabs.f64 (-.f64 y x)) #s(literal 2 binary64)) | |
| accuracy | 0.0 | (-.f64 y x) | |
| accuracy | 0.0 | (fabs.f64 (-.f64 y x)) | |
| accuracy | 28.900363125345734 | #s(approx (+ x (/ (fabs (- y x)) 2)) (/.f64 (fabs.f64 (-.f64 y x)) #s(literal 2 binary64))) |
| 12.0ms | 246× | 0 | valid |
| 0.0ms | 5× | 1 | valid |
| 0.0ms | 3× | 2 | valid |
| 0.0ms | 2× | 3 | valid |
Compiled 57 to 21 computations (63.2% saved)
ival-div: 2.0ms (30.4% of total)ival-sub: 2.0ms (30.4% of total)ival-fabs: 1.0ms (15.2% of total)ival-add: 1.0ms (15.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 |
|---|
#s(approx (+ x (/ (fabs (- y x)) 2)) (/.f64 (fabs.f64 (-.f64 y x)) #s(literal 2 binary64))) |
(/.f64 (fabs.f64 (-.f64 y x)) #s(literal 2 binary64)) |
(fabs.f64 (-.f64 y x)) |
(-.f64 y x) |
| Outputs |
|---|
(* 1/2 (fabs (- y x))) |
(+ x (* 1/2 (fabs (- y x)))) |
(fabs (- y x)) |
y |
(+ y (* -1 x)) |
x |
(* x (+ 1 (* 1/2 (/ (fabs (- y x)) x)))) |
(* -1 x) |
(* x (- (/ y x) 1)) |
(* -1 (* x (- (* -1/2 (/ (fabs (+ y (* -1 x))) x)) 1))) |
(* 1/2 (fabs (+ y (* -1 x)))) |
(fabs (+ y (* -1 x))) |
(* -1 (* x (+ 1 (* -1 (/ y x))))) |
(- y x) |
(* y (+ 1 (* -1 (/ x y)))) |
(+ x (* 1/2 (fabs (neg (+ x (* -1 y)))))) |
(* 1/2 (fabs (neg (+ x (* -1 y))))) |
(fabs (neg (+ x (* -1 y)))) |
(* -1 (* y (- (/ x y) 1))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | -inf | ((+ x (/ (fabs (- y x)) 2)) (/ (fabs (- y x)) 2) (fabs (- y x)) (- y x)) |
| 0.0ms | x | @ | inf | ((+ x (/ (fabs (- y x)) 2)) (/ (fabs (- y x)) 2) (fabs (- y x)) (- y x)) |
| 0.0ms | y | @ | -inf | ((+ x (/ (fabs (- y x)) 2)) (/ (fabs (- y x)) 2) (fabs (- y x)) (- y x)) |
| 0.0ms | y | @ | inf | ((+ x (/ (fabs (- y x)) 2)) (/ (fabs (- y x)) 2) (fabs (- y x)) (- y x)) |
| 0.0ms | x | @ | 0 | ((+ x (/ (fabs (- y x)) 2)) (/ (fabs (- y x)) 2) (fabs (- y x)) (- y x)) |
| 1× | egg-herbie |
| Inputs |
|---|
(* 1/2 (fabs (- y x))) |
(+ x (* 1/2 (fabs (- y x)))) |
(fabs (- y x)) |
y |
(+ y (* -1 x)) |
x |
(* x (+ 1 (* 1/2 (/ (fabs (- y x)) x)))) |
(* -1 x) |
(* x (- (/ y x) 1)) |
(* -1 (* x (- (* -1/2 (/ (fabs (+ y (* -1 x))) x)) 1))) |
(* 1/2 (fabs (+ y (* -1 x)))) |
(fabs (+ y (* -1 x))) |
(* -1 (* x (+ 1 (* -1 (/ y x))))) |
(- y x) |
(* y (+ 1 (* -1 (/ x y)))) |
(+ x (* 1/2 (fabs (neg (+ x (* -1 y)))))) |
(* 1/2 (fabs (neg (+ x (* -1 y))))) |
(fabs (neg (+ x (* -1 y)))) |
(* -1 (* y (- (/ x y) 1))) |
| Outputs |
|---|
(* 1/2 (fabs (- y x))) |
#s(approx (+ x (/ (fabs (- y x)) 2)) (/.f64 (fabs.f64 (-.f64 y x)) #s(literal 2 binary64))) |
(+ x (* 1/2 (fabs (- y x)))) |
(/.f64 (fabs.f64 (-.f64 y x)) #s(literal 2 binary64)) |
(fabs (- y x)) |
(fabs.f64 (-.f64 y x)) |
y |
(-.f64 y x) |
| Inputs |
|---|
#s(approx (+ x (/ (fabs (- y x)) 2)) (/.f64 (fabs.f64 (-.f64 y x)) #s(literal 2 binary64))) |
(/.f64 (fabs.f64 (-.f64 y x)) #s(literal 2 binary64)) |
(fabs.f64 (-.f64 y x)) |
(-.f64 y x) |
| Outputs |
|---|
#s(approx (+ x (/ (fabs (- y x)) 2)) (/.f64 (fabs.f64 (-.f64 y x)) #s(literal 2 binary64))) |
(/.f64 (fabs.f64 (-.f64 y x)) #s(literal 2 binary64)) |
(fabs.f64 (-.f64 y x)) |
(-.f64 y x) |
Compiled 123 to 20 computations (83.7% saved)
2 alts after pruning (0 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 7 | 0 | 7 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 7 | 2 | 9 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 99.9% | (+.f64 x (/.f64 (fabs.f64 (-.f64 y x)) #s(literal 2 binary64))) |
| ✓ | 54.8% | #s(approx (+ x (/ (fabs (- y x)) 2)) (/.f64 (fabs.f64 (-.f64 y x)) #s(literal 2 binary64))) |
Compiled 46 to 32 computations (30.4% saved)
| Inputs |
|---|
#s(approx (+ x (/ (fabs (- y x)) 2)) (/.f64 (fabs.f64 (-.f64 y x)) #s(literal 2 binary64))) |
(+.f64 x (/.f64 (fabs.f64 (-.f64 y x)) #s(literal 2 binary64))) |
| Outputs |
|---|
(+.f64 x (/.f64 (fabs.f64 (-.f64 y x)) #s(literal 2 binary64))) |
3 calls:
| 2.0ms | (+.f64 x (/.f64 (fabs.f64 (-.f64 y x)) #s(literal 2 binary64))) |
| 1.0ms | y |
| 1.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.9% | 1 | x |
| 99.9% | 1 | y |
| 99.9% | 1 | (+.f64 x (/.f64 (fabs.f64 (-.f64 y x)) #s(literal 2 binary64))) |
Compiled 10 to 11 computations (-10% saved)
Total 0.0b remaining (0%)
Threshold costs 0b (0%)
| Inputs |
|---|
#s(approx (+ x (/ (fabs (- y x)) 2)) (/.f64 (fabs.f64 (-.f64 y x)) #s(literal 2 binary64))) |
| Outputs |
|---|
#s(approx (+ x (/ (fabs (- y x)) 2)) (/.f64 (fabs.f64 (-.f64 y x)) #s(literal 2 binary64))) |
3 calls:
| 1.0ms | (+.f64 x (/.f64 (fabs.f64 (-.f64 y x)) #s(literal 2 binary64))) |
| 1.0ms | y |
| 1.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 54.8% | 1 | x |
| 54.8% | 1 | y |
| 54.8% | 1 | (+.f64 x (/.f64 (fabs.f64 (-.f64 y x)) #s(literal 2 binary64))) |
Compiled 10 to 11 computations (-10% saved)
| 1× | egg-herbie |
| Inputs |
|---|
(+.f64 x (/.f64 (fabs.f64 (-.f64 y x)) #s(literal 2 binary64))) |
#s(approx (+ x (/ (fabs (- y x)) 2)) (/.f64 (fabs.f64 (-.f64 y x)) #s(literal 2 binary64))) |
| Outputs |
|---|
(+.f64 x (/.f64 (fabs.f64 (-.f64 y x)) #s(literal 2 binary64))) |
#s(approx (+ x (/ (fabs (- y x)) 2)) (/.f64 (fabs.f64 (-.f64 y x)) #s(literal 2 binary64))) |
| 1× | done |
Compiled 23 to 13 computations (43.5% saved)
Compiled 62 to 40 computations (35.5% saved)
Loading profile data...