
Time bar (total: 1.1s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 0 |
| 100% | 99.9% | 0% | 0.1% | 0% | 0% | 0% | 1 |
Compiled 11 to 9 computations (18.2% saved)
| 310.0ms | 6 357× | 0 | valid |
| 197.0ms | 1 897× | 1 | valid |
| 0.0ms | 2× | 2 | valid |
ival-sub: 122.0ms (41.3% of total)ival-mult: 68.0ms (23% of total)ival-add: 53.0ms (17.9% of total)adjust: 38.0ms (12.9% of total)ival-true: 6.0ms (2% of total)exact: 5.0ms (1.7% of total)ival-assert: 3.0ms (1% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 56 | 1 | (5735732.060747375 -1.556842028478204e-142) | 0 | - | (+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) |
| 0 | 0 | - | 0 | - | (-.f64 #s(literal 1 binary64) y) |
| 0 | 0 | - | 0 | - | (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y)) |
| 0 | 0 | - | 0 | - | y |
| 0 | 0 | - | 0 | - | (-.f64 #s(literal 1 binary64) x) |
| 0 | 0 | - | 0 | - | #s(literal 1 binary64) |
| 0 | 0 | - | 0 | - | x |
| Operator | Subexpression | Explanation | Count | |
|---|---|---|---|---|
+.f64 | (+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) | cancellation | 57 | 0 |
| Predicted + | Predicted - | |
|---|---|---|
| + | 56 | 0 |
| - | 1 | 199 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 56 | 0 | 0 |
| - | 1 | 0 | 199 |
| number | freq |
|---|---|
| 0 | 199 |
| 1 | 57 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 1 | 0 | 0 |
| - | 0 | 0 | 0 |
| 22.0ms | 404× | 0 | valid |
| 11.0ms | 108× | 1 | valid |
Compiled 88 to 32 computations (63.6% saved)
ival-sub: 6.0ms (32.1% of total)ival-add: 5.0ms (26.8% of total)ival-mult: 4.0ms (21.4% of total)adjust: 2.0ms (10.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 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) |
| Outputs |
|---|
(+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) |
Compiled 9 to 7 computations (22.2% saved)
Compiled 0 to 2 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 79.3% | (+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) |
Compiled 9 to 7 computations (22.2% saved)
| 1× | egg-herbie |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (-.f64 #s(literal 1 binary64) y) | |
| cost-diff | 0 | (-.f64 #s(literal 1 binary64) x) | |
| cost-diff | 0 | (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y)) | |
| cost-diff | 0 | (+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) |
| Inputs |
|---|
(+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) |
x |
(*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y)) |
(-.f64 #s(literal 1 binary64) x) |
#s(literal 1 binary64) |
(-.f64 #s(literal 1 binary64) y) |
y |
| Outputs |
|---|
(+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) |
x |
(*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y)) |
(-.f64 #s(literal 1 binary64) x) |
#s(literal 1 binary64) |
(-.f64 #s(literal 1 binary64) y) |
y |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (-.f64 #s(literal 1 binary64) y) | |
| accuracy | 0.0 | (-.f64 #s(literal 1 binary64) x) | |
| accuracy | 0.0078125 | (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y)) | |
| accuracy | 13.233067823061551 | (+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) |
| 11.0ms | 202× | 0 | valid |
| 6.0ms | 54× | 1 | valid |
Compiled 52 to 16 computations (69.2% saved)
ival-sub: 3.0ms (37.4% of total)ival-mult: 2.0ms (24.9% of total)adjust: 1.0ms (12.5% of total)ival-add: 1.0ms (12.5% 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 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) |
(*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y)) |
(-.f64 #s(literal 1 binary64) x) |
(-.f64 #s(literal 1 binary64) y) |
| Outputs |
|---|
(- 1 y) |
(- (+ 1 (* x (+ 1 (* -1 (- 1 y))))) y) |
(- (+ 1 (* -1 (* x (- 1 y)))) y) |
1 |
(+ 1 (* -1 x)) |
(* x (+ 1 (* -1 (- 1 y)))) |
(* x (- (+ 1 (+ (* -1 (- 1 y)) (/ 1 x))) (/ y x))) |
(* -1 (* x (- 1 y))) |
(* x (- (+ (* -1 (- 1 y)) (/ 1 x)) (/ y x))) |
(* -1 x) |
(* x (- (/ 1 x) 1)) |
(* x y) |
(* -1 (* x (- (* -1 (/ (- 1 y) x)) y))) |
(* -1 (* x (- (+ 1 (* -1 (/ (- 1 y) x))) y))) |
(* -1 (* x (- 1 (/ 1 x)))) |
(+ 1 (* -1 (* y (- 1 x)))) |
(- 1 x) |
(- (+ 1 (* -1 (* y (- 1 x)))) x) |
(+ 1 (* -1 y)) |
(* -1 (* y (- 1 x))) |
(* y (+ (* -1 (- 1 x)) (/ 1 y))) |
(* y (- (+ (* -1 (- 1 x)) (/ 1 y)) (/ x y))) |
(* -1 y) |
(* y (- (/ 1 y) 1)) |
(* -1 (* y (- 1 (+ x (/ 1 y))))) |
(* -1 (* y (- (+ 1 (* -1 (/ (- 1 x) y))) x))) |
(* -1 (* y (- 1 (/ 1 y)))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | ((+ x (* (- 1 x) (- 1 y))) (* (- 1 x) (- 1 y)) (- 1 x) (- 1 y)) |
| 1.0ms | y | @ | inf | ((+ x (* (- 1 x) (- 1 y))) (* (- 1 x) (- 1 y)) (- 1 x) (- 1 y)) |
| 0.0ms | y | @ | -inf | ((+ x (* (- 1 x) (- 1 y))) (* (- 1 x) (- 1 y)) (- 1 x) (- 1 y)) |
| 0.0ms | x | @ | 0 | ((+ x (* (- 1 x) (- 1 y))) (* (- 1 x) (- 1 y)) (- 1 x) (- 1 y)) |
| 0.0ms | x | @ | -inf | ((+ x (* (- 1 x) (- 1 y))) (* (- 1 x) (- 1 y)) (- 1 x) (- 1 y)) |
| 1× | egg-herbie |
| Inputs |
|---|
(- 1 y) |
(- (+ 1 (* x (+ 1 (* -1 (- 1 y))))) y) |
(- (+ 1 (* -1 (* x (- 1 y)))) y) |
1 |
(+ 1 (* -1 x)) |
(* x (+ 1 (* -1 (- 1 y)))) |
(* x (- (+ 1 (+ (* -1 (- 1 y)) (/ 1 x))) (/ y x))) |
(* -1 (* x (- 1 y))) |
(* x (- (+ (* -1 (- 1 y)) (/ 1 x)) (/ y x))) |
(* -1 x) |
(* x (- (/ 1 x) 1)) |
(* x y) |
(* -1 (* x (- (* -1 (/ (- 1 y) x)) y))) |
(* -1 (* x (- (+ 1 (* -1 (/ (- 1 y) x))) y))) |
(* -1 (* x (- 1 (/ 1 x)))) |
(+ 1 (* -1 (* y (- 1 x)))) |
(- 1 x) |
(- (+ 1 (* -1 (* y (- 1 x)))) x) |
(+ 1 (* -1 y)) |
(* -1 (* y (- 1 x))) |
(* y (+ (* -1 (- 1 x)) (/ 1 y))) |
(* y (- (+ (* -1 (- 1 x)) (/ 1 y)) (/ x y))) |
(* -1 y) |
(* y (- (/ 1 y) 1)) |
(* -1 (* y (- 1 (+ x (/ 1 y))))) |
(* -1 (* y (- (+ 1 (* -1 (/ (- 1 x) y))) x))) |
(* -1 (* y (- 1 (/ 1 y)))) |
| Outputs |
|---|
(- 1 y) |
(+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) |
(- (+ 1 (* x (+ 1 (* -1 (- 1 y))))) y) |
(*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y)) |
(- (+ 1 (* -1 (* x (- 1 y)))) y) |
(-.f64 #s(literal 1 binary64) x) |
1 |
(-.f64 #s(literal 1 binary64) y) |
| Inputs |
|---|
(+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) |
(*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y)) |
(-.f64 #s(literal 1 binary64) x) |
(-.f64 #s(literal 1 binary64) y) |
| Outputs |
|---|
(+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) |
(*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y)) |
(-.f64 #s(literal 1 binary64) x) |
(-.f64 #s(literal 1 binary64) y) |
Compiled 98 to 19 computations (80.6% saved)
4 alts after pruning (3 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 5 | 3 | 8 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 5 | 4 | 9 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 79.3% | (+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) |
| ▶ | 31.9% | (+.f64 x (*.f64 #s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y)) (-.f64 #s(literal 1 binary64) y))) |
| ▶ | 26.3% | (+.f64 x #s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x))) |
| ▶ | 77.8% | #s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) |
Compiled 52 to 38 computations (26.9% saved)
| 1× | egg-herbie |
Found 11 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (-.f64 #s(literal 1 binary64) y) | |
| cost-diff | 0 | #s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y)) | |
| cost-diff | 0 | (*.f64 #s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y)) (-.f64 #s(literal 1 binary64) y)) | |
| cost-diff | 0 | (+.f64 x (*.f64 #s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y)) (-.f64 #s(literal 1 binary64) y))) | |
| cost-diff | 0 | (-.f64 #s(literal 1 binary64) x) | |
| cost-diff | 0 | #s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x)) | |
| cost-diff | 0 | (+.f64 x #s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x))) | |
| cost-diff | 0 | (-.f64 #s(literal 1 binary64) y) | |
| cost-diff | 0 | (-.f64 #s(literal 1 binary64) x) | |
| cost-diff | 0 | (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y)) | |
| cost-diff | 0 | #s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) |
| Inputs |
|---|
#s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) |
(*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y)) |
(-.f64 #s(literal 1 binary64) x) |
#s(literal 1 binary64) |
x |
(-.f64 #s(literal 1 binary64) y) |
y |
(+.f64 x #s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x))) |
x |
#s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x)) |
(-.f64 #s(literal 1 binary64) x) |
#s(literal 1 binary64) |
(+.f64 x (*.f64 #s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y)) (-.f64 #s(literal 1 binary64) y))) |
x |
(*.f64 #s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y)) (-.f64 #s(literal 1 binary64) y)) |
#s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y)) |
(-.f64 #s(literal 1 binary64) y) |
#s(literal 1 binary64) |
y |
| Outputs |
|---|
#s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) |
(*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y)) |
(-.f64 #s(literal 1 binary64) x) |
#s(literal 1 binary64) |
x |
(-.f64 #s(literal 1 binary64) y) |
y |
(+.f64 x #s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x))) |
x |
#s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x)) |
(-.f64 #s(literal 1 binary64) x) |
#s(literal 1 binary64) |
(+.f64 x (*.f64 #s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y)) (-.f64 #s(literal 1 binary64) y))) |
x |
(*.f64 #s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y)) (-.f64 #s(literal 1 binary64) y)) |
#s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y)) |
(-.f64 #s(literal 1 binary64) y) |
#s(literal 1 binary64) |
y |
Found 11 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (-.f64 #s(literal 1 binary64) y) | |
| accuracy | 0.0078125 | (*.f64 #s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y)) (-.f64 #s(literal 1 binary64) y)) | |
| accuracy | 13.233067823061551 | (+.f64 x (*.f64 #s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y)) (-.f64 #s(literal 1 binary64) y))) | |
| accuracy | 47.20952811988829 | #s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y)) | |
| accuracy | 0.0 | (-.f64 #s(literal 1 binary64) x) | |
| accuracy | 13.233067823061551 | (+.f64 x #s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x))) | |
| accuracy | 33.67102384455967 | #s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x)) | |
| accuracy | 0.0 | (-.f64 #s(literal 1 binary64) y) | |
| accuracy | 0.0 | (-.f64 #s(literal 1 binary64) x) | |
| accuracy | 0.0078125 | (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y)) | |
| accuracy | 14.182272040104941 | #s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) |
| 12.0ms | 202× | 0 | valid |
| 7.0ms | 54× | 1 | valid |
Compiled 172 to 26 computations (84.9% saved)
ival-sub: 3.0ms (36.9% of total)ival-mult: 2.0ms (24.6% of total)adjust: 1.0ms (12.3% of total)ival-add: 1.0ms (12.3% 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 (* (- 1 x) (- 1 y))) (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) |
(*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y)) |
(-.f64 #s(literal 1 binary64) x) |
(-.f64 #s(literal 1 binary64) y) |
(+.f64 x #s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x))) |
#s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x)) |
(+.f64 x (*.f64 #s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y)) (-.f64 #s(literal 1 binary64) y))) |
(*.f64 #s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y)) (-.f64 #s(literal 1 binary64) y)) |
#s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y)) |
| Outputs |
|---|
(- 1 y) |
(- (+ 1 (* x (+ 1 (* -1 (- 1 y))))) y) |
(- (+ 1 (* -1 (* x (- 1 y)))) y) |
1 |
(+ 1 (* -1 x)) |
(* x (+ 1 (* -1 (- 1 y)))) |
(* x (- (+ 1 (+ (* -1 (- 1 y)) (/ 1 x))) (/ y x))) |
(* -1 (* x (- 1 y))) |
(* x (- (+ (* -1 (- 1 y)) (/ 1 x)) (/ y x))) |
(* -1 x) |
(* x (- (/ 1 x) 1)) |
(* x y) |
(* -1 (* x (- (* -1 (/ (- 1 y) x)) y))) |
(* -1 (* x (- (+ 1 (* -1 (/ (- 1 y) x))) y))) |
(* -1 (* x (- 1 (/ 1 x)))) |
(+ 1 (* -1 (* y (- 1 x)))) |
(- 1 x) |
(- (+ 1 (* -1 (* y (- 1 x)))) x) |
(+ 1 (* -1 y)) |
(* -1 (* y (- 1 x))) |
(* y (+ (* -1 (- 1 x)) (/ 1 y))) |
(* y (- (+ (* -1 (- 1 x)) (/ 1 y)) (/ x y))) |
(* -1 y) |
(* y (- (/ 1 y) 1)) |
(* -1 (* y (- 1 (+ x (/ 1 y))))) |
(* -1 (* y (- (+ 1 (* -1 (/ (- 1 x) y))) x))) |
(* -1 (* y (- 1 (/ 1 y)))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | inf | ((+ x (* (- 1 x) (- 1 y))) (* (- 1 x) (- 1 y)) (- 1 x) (- 1 y) (+ x (* (- 1 x) (- 1 y))) (* (- 1 x) (- 1 y)) (+ x (* (- 1 x) (- 1 y))) (* (- 1 x) (- 1 y)) (- 1 x)) |
| 0.0ms | x | @ | -inf | ((+ x (* (- 1 x) (- 1 y))) (* (- 1 x) (- 1 y)) (- 1 x) (- 1 y) (+ x (* (- 1 x) (- 1 y))) (* (- 1 x) (- 1 y)) (+ x (* (- 1 x) (- 1 y))) (* (- 1 x) (- 1 y)) (- 1 x)) |
| 0.0ms | y | @ | -inf | ((+ x (* (- 1 x) (- 1 y))) (* (- 1 x) (- 1 y)) (- 1 x) (- 1 y) (+ x (* (- 1 x) (- 1 y))) (* (- 1 x) (- 1 y)) (+ x (* (- 1 x) (- 1 y))) (* (- 1 x) (- 1 y)) (- 1 x)) |
| 0.0ms | y | @ | inf | ((+ x (* (- 1 x) (- 1 y))) (* (- 1 x) (- 1 y)) (- 1 x) (- 1 y) (+ x (* (- 1 x) (- 1 y))) (* (- 1 x) (- 1 y)) (+ x (* (- 1 x) (- 1 y))) (* (- 1 x) (- 1 y)) (- 1 x)) |
| 0.0ms | x | @ | 0 | ((+ x (* (- 1 x) (- 1 y))) (* (- 1 x) (- 1 y)) (- 1 x) (- 1 y) (+ x (* (- 1 x) (- 1 y))) (* (- 1 x) (- 1 y)) (+ x (* (- 1 x) (- 1 y))) (* (- 1 x) (- 1 y)) (- 1 x)) |
| 1× | egg-herbie |
| Inputs |
|---|
(- 1 y) |
(- (+ 1 (* x (+ 1 (* -1 (- 1 y))))) y) |
(- (+ 1 (* -1 (* x (- 1 y)))) y) |
1 |
(+ 1 (* -1 x)) |
(* x (+ 1 (* -1 (- 1 y)))) |
(* x (- (+ 1 (+ (* -1 (- 1 y)) (/ 1 x))) (/ y x))) |
(* -1 (* x (- 1 y))) |
(* x (- (+ (* -1 (- 1 y)) (/ 1 x)) (/ y x))) |
(* -1 x) |
(* x (- (/ 1 x) 1)) |
(* x y) |
(* -1 (* x (- (* -1 (/ (- 1 y) x)) y))) |
(* -1 (* x (- (+ 1 (* -1 (/ (- 1 y) x))) y))) |
(* -1 (* x (- 1 (/ 1 x)))) |
(+ 1 (* -1 (* y (- 1 x)))) |
(- 1 x) |
(- (+ 1 (* -1 (* y (- 1 x)))) x) |
(+ 1 (* -1 y)) |
(* -1 (* y (- 1 x))) |
(* y (+ (* -1 (- 1 x)) (/ 1 y))) |
(* y (- (+ (* -1 (- 1 x)) (/ 1 y)) (/ x y))) |
(* -1 y) |
(* y (- (/ 1 y) 1)) |
(* -1 (* y (- 1 (+ x (/ 1 y))))) |
(* -1 (* y (- (+ 1 (* -1 (/ (- 1 x) y))) x))) |
(* -1 (* y (- 1 (/ 1 y)))) |
| Outputs |
|---|
(- 1 y) |
#s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) |
(- (+ 1 (* x (+ 1 (* -1 (- 1 y))))) y) |
(*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y)) |
(- (+ 1 (* -1 (* x (- 1 y)))) y) |
(-.f64 #s(literal 1 binary64) x) |
1 |
(-.f64 #s(literal 1 binary64) y) |
(+ 1 (* -1 x)) |
(+.f64 x #s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x))) |
(* x (+ 1 (* -1 (- 1 y)))) |
#s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x)) |
(* x (- (+ 1 (+ (* -1 (- 1 y)) (/ 1 x))) (/ y x))) |
(+.f64 x (*.f64 #s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y)) (-.f64 #s(literal 1 binary64) y))) |
(* -1 (* x (- 1 y))) |
(*.f64 #s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y)) (-.f64 #s(literal 1 binary64) y)) |
(* x (- (+ (* -1 (- 1 y)) (/ 1 x)) (/ y x))) |
#s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y)) |
| Inputs |
|---|
#s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) |
(*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y)) |
(-.f64 #s(literal 1 binary64) x) |
(-.f64 #s(literal 1 binary64) y) |
(+.f64 x #s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x))) |
#s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x)) |
(+.f64 x (*.f64 #s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y)) (-.f64 #s(literal 1 binary64) y))) |
(*.f64 #s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y)) (-.f64 #s(literal 1 binary64) y)) |
#s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y)) |
| Outputs |
|---|
#s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) |
(*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y)) |
(-.f64 #s(literal 1 binary64) x) |
(-.f64 #s(literal 1 binary64) y) |
(+.f64 x #s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x))) |
#s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x)) |
(+.f64 x (*.f64 #s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y)) (-.f64 #s(literal 1 binary64) y))) |
(*.f64 #s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y)) (-.f64 #s(literal 1 binary64) y)) |
#s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y)) |
Compiled 388 to 31 computations (92% saved)
7 alts after pruning (4 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 16 | 4 | 20 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 2 | 3 |
| Done | 0 | 1 | 1 |
| Total | 17 | 7 | 24 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 79.3% | (+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) |
| ✓ | 26.3% | (+.f64 x #s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x))) |
| ▶ | 51.8% | (+.f64 x #s(approx (* (- 1 x) (- 1 y)) #s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y)))) |
| ▶ | 26.4% | (+.f64 x #s(approx (* (- 1 x) (- 1 y)) #s(approx (- 1 x) (+.f64 x #s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x)))))) |
| ✓ | 77.8% | #s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) |
| ▶ | 26.0% | #s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x))) |
| ▶ | 61.7% | #s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (* (- 1 x) (- 1 y)) #s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y)))) |
Compiled 129 to 76 computations (41.1% saved)
| 1× | egg-herbie |
Found 15 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (-.f64 #s(literal 1 binary64) y) | |
| cost-diff | 0 | #s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y)) | |
| cost-diff | 0 | #s(approx (* (- 1 x) (- 1 y)) #s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y))) | |
| cost-diff | 0 | (+.f64 x #s(approx (* (- 1 x) (- 1 y)) #s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y)))) | |
| cost-diff | 0 | (+.f64 x #s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x))) | |
| cost-diff | 0 | #s(approx (- 1 x) (+.f64 x #s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x)))) | |
| cost-diff | 0 | #s(approx (* (- 1 x) (- 1 y)) #s(approx (- 1 x) (+.f64 x #s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x))))) | |
| cost-diff | 0 | (+.f64 x #s(approx (* (- 1 x) (- 1 y)) #s(approx (- 1 x) (+.f64 x #s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x)))))) | |
| cost-diff | 0 | (-.f64 #s(literal 1 binary64) x) | |
| cost-diff | 0 | #s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x)) | |
| cost-diff | 0 | #s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x))) | |
| cost-diff | 0 | (-.f64 #s(literal 1 binary64) y) | |
| cost-diff | 0 | #s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y)) | |
| cost-diff | 0 | #s(approx (* (- 1 x) (- 1 y)) #s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y))) | |
| cost-diff | 0 | #s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (* (- 1 x) (- 1 y)) #s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y)))) |
| Inputs |
|---|
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (* (- 1 x) (- 1 y)) #s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y)))) |
#s(approx (* (- 1 x) (- 1 y)) #s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y))) |
#s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y)) |
(-.f64 #s(literal 1 binary64) y) |
#s(literal 1 binary64) |
y |
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x))) |
#s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x)) |
(-.f64 #s(literal 1 binary64) x) |
#s(literal 1 binary64) |
x |
(+.f64 x #s(approx (* (- 1 x) (- 1 y)) #s(approx (- 1 x) (+.f64 x #s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x)))))) |
x |
#s(approx (* (- 1 x) (- 1 y)) #s(approx (- 1 x) (+.f64 x #s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x))))) |
#s(approx (- 1 x) (+.f64 x #s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x)))) |
(+.f64 x #s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x))) |
#s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x)) |
(-.f64 #s(literal 1 binary64) x) |
#s(literal 1 binary64) |
(+.f64 x #s(approx (* (- 1 x) (- 1 y)) #s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y)))) |
x |
#s(approx (* (- 1 x) (- 1 y)) #s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y))) |
#s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y)) |
(-.f64 #s(literal 1 binary64) y) |
#s(literal 1 binary64) |
y |
| Outputs |
|---|
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (* (- 1 x) (- 1 y)) #s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y)))) |
#s(approx (* (- 1 x) (- 1 y)) #s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y))) |
#s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y)) |
(-.f64 #s(literal 1 binary64) y) |
#s(literal 1 binary64) |
y |
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x))) |
#s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x)) |
(-.f64 #s(literal 1 binary64) x) |
#s(literal 1 binary64) |
x |
(+.f64 x #s(approx (* (- 1 x) (- 1 y)) #s(approx (- 1 x) (+.f64 x #s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x)))))) |
x |
#s(approx (* (- 1 x) (- 1 y)) #s(approx (- 1 x) (+.f64 x #s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x))))) |
#s(approx (- 1 x) (+.f64 x #s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x)))) |
(+.f64 x #s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x))) |
#s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x)) |
(-.f64 #s(literal 1 binary64) x) |
#s(literal 1 binary64) |
(+.f64 x #s(approx (* (- 1 x) (- 1 y)) #s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y)))) |
x |
#s(approx (* (- 1 x) (- 1 y)) #s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y))) |
#s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y)) |
(-.f64 #s(literal 1 binary64) y) |
#s(literal 1 binary64) |
y |
Found 15 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (-.f64 #s(literal 1 binary64) y) | |
| accuracy | 13.233067823061551 | (+.f64 x #s(approx (* (- 1 x) (- 1 y)) #s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y)))) | |
| accuracy | 33.67102384455967 | #s(approx (* (- 1 x) (- 1 y)) #s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y))) | |
| accuracy | 47.20952811988829 | #s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y)) | |
| accuracy | 13.233067823061551 | (+.f64 x #s(approx (* (- 1 x) (- 1 y)) #s(approx (- 1 x) (+.f64 x #s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x)))))) | |
| accuracy | 33.67102384455967 | #s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x)) | |
| accuracy | 33.67102384455967 | #s(approx (* (- 1 x) (- 1 y)) #s(approx (- 1 x) (+.f64 x #s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x))))) | |
| accuracy | 47.34659806455751 | #s(approx (- 1 x) (+.f64 x #s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x)))) | |
| accuracy | 0.0 | (-.f64 #s(literal 1 binary64) x) | |
| accuracy | 14.182272040104941 | #s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x))) | |
| accuracy | 33.67102384455967 | #s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x)) | |
| accuracy | 0.0 | (-.f64 #s(literal 1 binary64) y) | |
| accuracy | 14.182272040104941 | #s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (* (- 1 x) (- 1 y)) #s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y)))) | |
| accuracy | 33.67102384455967 | #s(approx (* (- 1 x) (- 1 y)) #s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y))) | |
| accuracy | 47.20952811988829 | #s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y)) |
| 14.0ms | 202× | 0 | valid |
| 7.0ms | 54× | 1 | valid |
Compiled 344 to 29 computations (91.6% saved)
ival-sub: 3.0ms (36.8% of total)ival-mult: 2.0ms (24.5% of total)adjust: 1.0ms (12.3% of total)ival-add: 1.0ms (12.3% 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 (* (- 1 x) (- 1 y))) #s(approx (* (- 1 x) (- 1 y)) #s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y)))) |
#s(approx (* (- 1 x) (- 1 y)) #s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y))) |
#s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y)) |
(-.f64 #s(literal 1 binary64) y) |
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x))) |
#s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x)) |
(-.f64 #s(literal 1 binary64) x) |
(+.f64 x #s(approx (* (- 1 x) (- 1 y)) #s(approx (- 1 x) (+.f64 x #s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x)))))) |
#s(approx (* (- 1 x) (- 1 y)) #s(approx (- 1 x) (+.f64 x #s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x))))) |
#s(approx (- 1 x) (+.f64 x #s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x)))) |
(+.f64 x #s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x))) |
(+.f64 x #s(approx (* (- 1 x) (- 1 y)) #s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y)))) |
| Outputs |
|---|
(- 1 y) |
(- (+ 1 (* x (+ 1 (* -1 (- 1 y))))) y) |
(- (+ 1 (* -1 (* x (- 1 y)))) y) |
1 |
(+ 1 (* -1 x)) |
(* x (+ 1 (* -1 (- 1 y)))) |
(* x (- (+ 1 (+ (* -1 (- 1 y)) (/ 1 x))) (/ y x))) |
(* -1 (* x (- 1 y))) |
(* x (- (+ (* -1 (- 1 y)) (/ 1 x)) (/ y x))) |
(* -1 x) |
(* x (- (/ 1 x) 1)) |
(* x y) |
(* -1 (* x (- (* -1 (/ (- 1 y) x)) y))) |
(* -1 (* x (- (+ 1 (* -1 (/ (- 1 y) x))) y))) |
(* -1 (* x (- 1 (/ 1 x)))) |
(+ 1 (* -1 (* y (- 1 x)))) |
(- 1 x) |
(- (+ 1 (* -1 (* y (- 1 x)))) x) |
(+ 1 (* -1 y)) |
(* -1 (* y (- 1 x))) |
(* y (+ (* -1 (- 1 x)) (/ 1 y))) |
(* y (- (+ (* -1 (- 1 x)) (/ 1 y)) (/ x y))) |
(* -1 y) |
(* y (- (/ 1 y) 1)) |
(* -1 (* y (- 1 (+ x (/ 1 y))))) |
(* -1 (* y (- (+ 1 (* -1 (/ (- 1 x) y))) x))) |
(* -1 (* y (- 1 (/ 1 y)))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | inf | ((+ x (* (- 1 x) (- 1 y))) (* (- 1 x) (- 1 y)) (- 1 x) (- 1 y) (+ x (* (- 1 x) (- 1 y))) (* (- 1 x) (- 1 y)) (- 1 x) (+ x (* (- 1 x) (- 1 y))) (* (- 1 x) (- 1 y)) (- 1 x) (+ x (* (- 1 x) (- 1 y))) (+ x (* (- 1 x) (- 1 y)))) |
| 0.0ms | x | @ | -inf | ((+ x (* (- 1 x) (- 1 y))) (* (- 1 x) (- 1 y)) (- 1 x) (- 1 y) (+ x (* (- 1 x) (- 1 y))) (* (- 1 x) (- 1 y)) (- 1 x) (+ x (* (- 1 x) (- 1 y))) (* (- 1 x) (- 1 y)) (- 1 x) (+ x (* (- 1 x) (- 1 y))) (+ x (* (- 1 x) (- 1 y)))) |
| 0.0ms | y | @ | inf | ((+ x (* (- 1 x) (- 1 y))) (* (- 1 x) (- 1 y)) (- 1 x) (- 1 y) (+ x (* (- 1 x) (- 1 y))) (* (- 1 x) (- 1 y)) (- 1 x) (+ x (* (- 1 x) (- 1 y))) (* (- 1 x) (- 1 y)) (- 1 x) (+ x (* (- 1 x) (- 1 y))) (+ x (* (- 1 x) (- 1 y)))) |
| 0.0ms | y | @ | -inf | ((+ x (* (- 1 x) (- 1 y))) (* (- 1 x) (- 1 y)) (- 1 x) (- 1 y) (+ x (* (- 1 x) (- 1 y))) (* (- 1 x) (- 1 y)) (- 1 x) (+ x (* (- 1 x) (- 1 y))) (* (- 1 x) (- 1 y)) (- 1 x) (+ x (* (- 1 x) (- 1 y))) (+ x (* (- 1 x) (- 1 y)))) |
| 0.0ms | x | @ | 0 | ((+ x (* (- 1 x) (- 1 y))) (* (- 1 x) (- 1 y)) (- 1 x) (- 1 y) (+ x (* (- 1 x) (- 1 y))) (* (- 1 x) (- 1 y)) (- 1 x) (+ x (* (- 1 x) (- 1 y))) (* (- 1 x) (- 1 y)) (- 1 x) (+ x (* (- 1 x) (- 1 y))) (+ x (* (- 1 x) (- 1 y)))) |
| 1× | egg-herbie |
| Inputs |
|---|
(- 1 y) |
(- (+ 1 (* x (+ 1 (* -1 (- 1 y))))) y) |
(- (+ 1 (* -1 (* x (- 1 y)))) y) |
1 |
(+ 1 (* -1 x)) |
(* x (+ 1 (* -1 (- 1 y)))) |
(* x (- (+ 1 (+ (* -1 (- 1 y)) (/ 1 x))) (/ y x))) |
(* -1 (* x (- 1 y))) |
(* x (- (+ (* -1 (- 1 y)) (/ 1 x)) (/ y x))) |
(* -1 x) |
(* x (- (/ 1 x) 1)) |
(* x y) |
(* -1 (* x (- (* -1 (/ (- 1 y) x)) y))) |
(* -1 (* x (- (+ 1 (* -1 (/ (- 1 y) x))) y))) |
(* -1 (* x (- 1 (/ 1 x)))) |
(+ 1 (* -1 (* y (- 1 x)))) |
(- 1 x) |
(- (+ 1 (* -1 (* y (- 1 x)))) x) |
(+ 1 (* -1 y)) |
(* -1 (* y (- 1 x))) |
(* y (+ (* -1 (- 1 x)) (/ 1 y))) |
(* y (- (+ (* -1 (- 1 x)) (/ 1 y)) (/ x y))) |
(* -1 y) |
(* y (- (/ 1 y) 1)) |
(* -1 (* y (- 1 (+ x (/ 1 y))))) |
(* -1 (* y (- (+ 1 (* -1 (/ (- 1 x) y))) x))) |
(* -1 (* y (- 1 (/ 1 y)))) |
| Outputs |
|---|
(- 1 y) |
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (* (- 1 x) (- 1 y)) #s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y)))) |
(- (+ 1 (* x (+ 1 (* -1 (- 1 y))))) y) |
#s(approx (* (- 1 x) (- 1 y)) #s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y))) |
(- (+ 1 (* -1 (* x (- 1 y)))) y) |
#s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y)) |
1 |
(-.f64 #s(literal 1 binary64) y) |
(+ 1 (* -1 x)) |
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x))) |
(* x (+ 1 (* -1 (- 1 y)))) |
#s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x)) |
(* x (- (+ 1 (+ (* -1 (- 1 y)) (/ 1 x))) (/ y x))) |
(-.f64 #s(literal 1 binary64) x) |
(* -1 (* x (- 1 y))) |
(+.f64 x #s(approx (* (- 1 x) (- 1 y)) #s(approx (- 1 x) (+.f64 x #s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x)))))) |
(* x (- (+ (* -1 (- 1 y)) (/ 1 x)) (/ y x))) |
#s(approx (* (- 1 x) (- 1 y)) #s(approx (- 1 x) (+.f64 x #s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x))))) |
(* -1 x) |
#s(approx (- 1 x) (+.f64 x #s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x)))) |
(* x (- (/ 1 x) 1)) |
(+.f64 x #s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x))) |
(* x y) |
(+.f64 x #s(approx (* (- 1 x) (- 1 y)) #s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y)))) |
| Inputs |
|---|
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (* (- 1 x) (- 1 y)) #s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y)))) |
#s(approx (* (- 1 x) (- 1 y)) #s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y))) |
#s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y)) |
(-.f64 #s(literal 1 binary64) y) |
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x))) |
#s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x)) |
(-.f64 #s(literal 1 binary64) x) |
(+.f64 x #s(approx (* (- 1 x) (- 1 y)) #s(approx (- 1 x) (+.f64 x #s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x)))))) |
#s(approx (* (- 1 x) (- 1 y)) #s(approx (- 1 x) (+.f64 x #s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x))))) |
#s(approx (- 1 x) (+.f64 x #s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x)))) |
(+.f64 x #s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x))) |
(+.f64 x #s(approx (* (- 1 x) (- 1 y)) #s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y)))) |
| Outputs |
|---|
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (* (- 1 x) (- 1 y)) #s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y)))) |
#s(approx (* (- 1 x) (- 1 y)) #s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y))) |
#s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y)) |
(-.f64 #s(literal 1 binary64) y) |
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x))) |
#s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x)) |
(-.f64 #s(literal 1 binary64) x) |
(+.f64 x #s(approx (* (- 1 x) (- 1 y)) #s(approx (- 1 x) (+.f64 x #s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x)))))) |
#s(approx (* (- 1 x) (- 1 y)) #s(approx (- 1 x) (+.f64 x #s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x))))) |
#s(approx (- 1 x) (+.f64 x #s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x)))) |
(+.f64 x #s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x))) |
(+.f64 x #s(approx (* (- 1 x) (- 1 y)) #s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y)))) |
Compiled 811 to 38 computations (95.3% saved)
7 alts after pruning (0 fresh and 7 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 29 | 0 | 29 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 4 | 4 |
| Done | 0 | 3 | 3 |
| Total | 29 | 7 | 36 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 79.3% | (+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) |
| ✓ | 26.3% | (+.f64 x #s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x))) |
| ✓ | 51.8% | (+.f64 x #s(approx (* (- 1 x) (- 1 y)) #s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y)))) |
| ✓ | 26.4% | (+.f64 x #s(approx (* (- 1 x) (- 1 y)) #s(approx (- 1 x) (+.f64 x #s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x)))))) |
| ✓ | 77.8% | #s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) |
| ✓ | 26.0% | #s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x))) |
| ✓ | 61.7% | #s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (* (- 1 x) (- 1 y)) #s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y)))) |
Compiled 271 to 101 computations (62.7% saved)
| Inputs |
|---|
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (* (- 1 x) (- 1 y)) #s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y)))) |
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x))) |
(+.f64 x #s(approx (* (- 1 x) (- 1 y)) #s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y)))) |
(+.f64 x #s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x))) |
(+.f64 x #s(approx (* (- 1 x) (- 1 y)) #s(approx (- 1 x) (+.f64 x #s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x)))))) |
#s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) |
(+.f64 x (*.f64 #s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y)) (-.f64 #s(literal 1 binary64) y))) |
(+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) |
| Outputs |
|---|
#s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) |
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (* (- 1 x) (- 1 y)) #s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y)))) |
(+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) |
4 calls:
| 5.0ms | (+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) |
| 3.0ms | x |
| 3.0ms | y |
| 3.0ms | (-.f64 #s(literal 1 binary64) y) |
| Accuracy | Segments | Branch |
|---|---|---|
| 79.3% | 1 | x |
| 89.0% | 3 | y |
| 89.0% | 3 | (+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) |
| 89.0% | 3 | (-.f64 #s(literal 1 binary64) y) |
Compiled 14 to 15 computations (-7.1% saved)
| Inputs |
|---|
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (* (- 1 x) (- 1 y)) #s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y)))) |
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x))) |
(+.f64 x #s(approx (* (- 1 x) (- 1 y)) #s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y)))) |
(+.f64 x #s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x))) |
(+.f64 x #s(approx (* (- 1 x) (- 1 y)) #s(approx (- 1 x) (+.f64 x #s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x)))))) |
#s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) |
(+.f64 x (*.f64 #s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y)) (-.f64 #s(literal 1 binary64) y))) |
| Outputs |
|---|
#s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) |
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (* (- 1 x) (- 1 y)) #s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y)))) |
#s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) |
3 calls:
| 3.0ms | y |
| 2.0ms | (+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) |
| 2.0ms | (-.f64 #s(literal 1 binary64) y) |
| Accuracy | Segments | Branch |
|---|---|---|
| 88.1% | 3 | (+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) |
| 88.1% | 3 | (-.f64 #s(literal 1 binary64) y) |
| 88.1% | 3 | y |
Compiled 13 to 13 computations (0% saved)
Total -23.6b remaining (-96.3%)
Threshold costs -23.6b (-96.3%)
| Inputs |
|---|
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (* (- 1 x) (- 1 y)) #s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y)))) |
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x))) |
(+.f64 x #s(approx (* (- 1 x) (- 1 y)) #s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y)))) |
(+.f64 x #s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x))) |
(+.f64 x #s(approx (* (- 1 x) (- 1 y)) #s(approx (- 1 x) (+.f64 x #s(approx (* (- 1 x) (- 1 y)) (-.f64 #s(literal 1 binary64) x)))))) |
| Outputs |
|---|
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (* (- 1 x) (- 1 y)) #s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y)))) |
4 calls:
| 5.0ms | (-.f64 #s(literal 1 binary64) y) |
| 2.0ms | y |
| 2.0ms | x |
| 2.0ms | (+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 61.7% | 1 | x |
| 61.7% | 1 | (+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) |
| 61.7% | 1 | (-.f64 #s(literal 1 binary64) y) |
| 61.7% | 1 | y |
Compiled 14 to 15 computations (-7.1% saved)
| 2× | binary-search |
| 1× | narrow-enough |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 20.0ms | 1.4524991837331852e-52 | 4.908383357269943e-46 |
| 17.0ms | -6.797968800036711e-106 | -4.4668389207444534e-119 |
| 19.0ms | 146× | 1 | valid |
| 7.0ms | 158× | 0 | valid |
Compiled 738 to 461 computations (37.5% saved)
ival-sub: 10.0ms (56% of total)adjust: 3.0ms (16.8% of total)ival-mult: 3.0ms (16.8% of total)ival-add: 2.0ms (11.2% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)| 2× | binary-search |
| 1× | narrow-enough |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 17.0ms | 0.00010675886616444465 | 15.752297787390575 |
| 1.0ms | -6.797968800036711e-106 | -4.4668389207444534e-119 |
| 11.0ms | 144× | 0 | valid |
Compiled 810 to 506 computations (37.5% saved)
ival-sub: 1.0ms (30.9% of total)ival-add: 1.0ms (30.9% of total)ival-mult: 1.0ms (30.9% 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 |
|---|
(if (<=.f64 y #s(literal -8097935617680545/82631996098781074868989413504096379978550585370535152410581099409300723904538918228148651304964410605948901503127919788032 binary64)) #s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) (if (<=.f64 y #s(literal 6170642089954523/12855504354071922204335696738729300820177623950262342682411008 binary64)) #s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (* (- 1 x) (- 1 y)) #s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y)))) (+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))))) |
(if (<=.f64 y #s(literal -8097935617680545/82631996098781074868989413504096379978550585370535152410581099409300723904538918228148651304964410605948901503127919788032 binary64)) #s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) (if (<=.f64 y #s(literal 1 binary64)) #s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (* (- 1 x) (- 1 y)) #s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y)))) #s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))))) |
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (* (- 1 x) (- 1 y)) #s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y)))) |
| Outputs |
|---|
(if (<=.f64 y #s(literal -8097935617680545/82631996098781074868989413504096379978550585370535152410581099409300723904538918228148651304964410605948901503127919788032 binary64)) #s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) (if (<=.f64 y #s(literal 6170642089954523/12855504354071922204335696738729300820177623950262342682411008 binary64)) #s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (* (- 1 x) (- 1 y)) #s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y)))) (+.f64 x (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))))) |
(if (<=.f64 y #s(literal -8097935617680545/82631996098781074868989413504096379978550585370535152410581099409300723904538918228148651304964410605948901503127919788032 binary64)) #s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))) (if (<=.f64 y #s(literal 1 binary64)) #s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (* (- 1 x) (- 1 y)) #s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y)))) #s(approx (+ x (* (- 1 x) (- 1 y))) (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) y))))) |
#s(approx (+ x (* (- 1 x) (- 1 y))) #s(approx (* (- 1 x) (- 1 y)) #s(approx (- 1 x) (-.f64 #s(literal 1 binary64) y)))) |
| 1× | done |
Compiled 151 to 25 computations (83.4% saved)
Compiled 334 to 76 computations (77.2% saved)
Loading profile data...