
Time bar (total: 977.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)
| 341.0ms | 8 255× | 0 | valid |
| 0.0ms | 1× | 1 | valid |
ival-mult: 59.0ms (35.3% of total)ival-add: 51.0ms (30.5% of total)ival-sub: 42.0ms (25.1% of total)ival-true: 7.0ms (4.2% of total)exact: 5.0ms (3% of total)ival-assert: 4.0ms (2.4% of total)adjust: 0.0ms (0% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | (+.f64 x #s(literal 1 binary64)) |
| 0 | 0 | - | 0 | - | (*.f64 (+.f64 x #s(literal 1 binary64)) y) |
| 0 | 0 | - | 0 | - | y |
| 0 | 0 | - | 0 | - | (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) |
| 0 | 0 | - | 0 | - | #s(literal 1 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 |
| 37.0ms | 512× | 0 | valid |
Compiled 65 to 28 computations (56.9% saved)
ival-add: 3.0ms (30.3% of total)ival-mult: 3.0ms (30.3% of total)ival-sub: 2.0ms (20.2% 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 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) |
| Outputs |
|---|
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) |
Compiled 7 to 6 computations (14.3% saved)
Compiled 0 to 2 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) |
Compiled 7 to 6 computations (14.3% saved)
| 1× | egg-herbie |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (+.f64 x #s(literal 1 binary64)) | |
| cost-diff | 0 | (*.f64 (+.f64 x #s(literal 1 binary64)) y) | |
| cost-diff | 0 | (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) |
| Inputs |
|---|
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) |
(*.f64 (+.f64 x #s(literal 1 binary64)) y) |
(+.f64 x #s(literal 1 binary64)) |
x |
#s(literal 1 binary64) |
y |
| Outputs |
|---|
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) |
(*.f64 (+.f64 x #s(literal 1 binary64)) y) |
(+.f64 x #s(literal 1 binary64)) |
x |
#s(literal 1 binary64) |
y |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (+.f64 x #s(literal 1 binary64)) | |
| accuracy | 0.00390625 | (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) | |
| accuracy | 0.0078125 | (*.f64 (+.f64 x #s(literal 1 binary64)) y) |
| 17.0ms | 256× | 0 | valid |
Compiled 38 to 14 computations (63.2% saved)
ival-add: 8.0ms (72.3% of total)ival-mult: 2.0ms (18.1% of total)ival-sub: 1.0ms (9% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) |
(*.f64 (+.f64 x #s(literal 1 binary64)) y) |
(+.f64 x #s(literal 1 binary64)) |
| Outputs |
|---|
y |
(+ y (* x (- y 1))) |
(+ y (* x y)) |
1 |
(+ 1 x) |
(* x (- y 1)) |
(* x (- (+ y (/ y x)) 1)) |
(* x y) |
(* x (+ y (/ y x))) |
x |
(* x (+ 1 (/ 1 x))) |
(* -1 (* x (+ 1 (* -1 y)))) |
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) |
(* -1 (* x (+ (* -1 y) (* -1 (/ y x))))) |
(* -1 x) |
(- (* y (+ 1 x)) x) |
(* y (+ 1 x)) |
(* y (+ 1 (+ x (* -1 (/ x y))))) |
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | y | @ | inf | ((- (* (+ x 1) y) x) (* (+ x 1) y) (+ x 1)) |
| 0.0ms | x | @ | -inf | ((- (* (+ x 1) y) x) (* (+ x 1) y) (+ x 1)) |
| 0.0ms | y | @ | -inf | ((- (* (+ x 1) y) x) (* (+ x 1) y) (+ x 1)) |
| 0.0ms | x | @ | inf | ((- (* (+ x 1) y) x) (* (+ x 1) y) (+ x 1)) |
| 0.0ms | y | @ | 0 | ((- (* (+ x 1) y) x) (* (+ x 1) y) (+ x 1)) |
| 1× | egg-herbie |
| Inputs |
|---|
y |
(+ y (* x (- y 1))) |
(+ y (* x y)) |
1 |
(+ 1 x) |
(* x (- y 1)) |
(* x (- (+ y (/ y x)) 1)) |
(* x y) |
(* x (+ y (/ y x))) |
x |
(* x (+ 1 (/ 1 x))) |
(* -1 (* x (+ 1 (* -1 y)))) |
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) |
(* -1 (* x (+ (* -1 y) (* -1 (/ y x))))) |
(* -1 x) |
(- (* y (+ 1 x)) x) |
(* y (+ 1 x)) |
(* y (+ 1 (+ x (* -1 (/ x y))))) |
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) |
| Outputs |
|---|
y |
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) |
(+ y (* x (- y 1))) |
(*.f64 (+.f64 x #s(literal 1 binary64)) y) |
(+ y (* x y)) |
(+.f64 x #s(literal 1 binary64)) |
| Inputs |
|---|
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) |
(*.f64 (+.f64 x #s(literal 1 binary64)) y) |
(+.f64 x #s(literal 1 binary64)) |
| Outputs |
|---|
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) |
(*.f64 (+.f64 x #s(literal 1 binary64)) y) |
(+.f64 x #s(literal 1 binary64)) |
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 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) |
| ▶ | 3.0% | (-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x) |
| ▶ | 63.8% | #s(approx (- (* (+ x 1) y) x) (*.f64 (+.f64 x #s(literal 1 binary64)) y)) |
Compiled 31 to 25 computations (19.4% saved)
| 1× | egg-herbie |
Found 6 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (+.f64 x #s(literal 1 binary64)) | |
| cost-diff | 0 | #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) | |
| cost-diff | 0 | (-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x) | |
| cost-diff | 0 | (+.f64 x #s(literal 1 binary64)) | |
| cost-diff | 0 | (*.f64 (+.f64 x #s(literal 1 binary64)) y) | |
| cost-diff | 0 | #s(approx (- (* (+ x 1) y) x) (*.f64 (+.f64 x #s(literal 1 binary64)) y)) |
| Inputs |
|---|
#s(approx (- (* (+ x 1) y) x) (*.f64 (+.f64 x #s(literal 1 binary64)) y)) |
(*.f64 (+.f64 x #s(literal 1 binary64)) y) |
(+.f64 x #s(literal 1 binary64)) |
x |
#s(literal 1 binary64) |
y |
(-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x) |
#s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) |
(+.f64 x #s(literal 1 binary64)) |
x |
#s(literal 1 binary64) |
| Outputs |
|---|
#s(approx (- (* (+ x 1) y) x) (*.f64 (+.f64 x #s(literal 1 binary64)) y)) |
(*.f64 (+.f64 x #s(literal 1 binary64)) y) |
(+.f64 x #s(literal 1 binary64)) |
x |
#s(literal 1 binary64) |
y |
(-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x) |
#s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) |
(+.f64 x #s(literal 1 binary64)) |
x |
#s(literal 1 binary64) |
Found 6 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (+.f64 x #s(literal 1 binary64)) | |
| accuracy | 0.00390625 | (-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x) | |
| accuracy | 61.75320046498368 | #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) | |
| accuracy | 0.0 | (+.f64 x #s(literal 1 binary64)) | |
| accuracy | 0.0078125 | (*.f64 (+.f64 x #s(literal 1 binary64)) y) | |
| accuracy | 23.192685240213308 | #s(approx (- (* (+ x 1) y) x) (*.f64 (+.f64 x #s(literal 1 binary64)) y)) |
| 16.0ms | 256× | 0 | valid |
Compiled 86 to 20 computations (76.7% saved)
ival-sub: 5.0ms (58.5% of total)ival-add: 2.0ms (23.4% of total)ival-mult: 2.0ms (23.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 1) y) x) (*.f64 (+.f64 x #s(literal 1 binary64)) y)) |
(*.f64 (+.f64 x #s(literal 1 binary64)) y) |
(+.f64 x #s(literal 1 binary64)) |
(-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x) |
#s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) |
| Outputs |
|---|
y |
(+ y (* x (- y 1))) |
(+ y (* x y)) |
1 |
(+ 1 x) |
(* x (- y 1)) |
(* x (- (+ y (/ y x)) 1)) |
(* x y) |
(* x (+ y (/ y x))) |
x |
(* x (+ 1 (/ 1 x))) |
(* -1 (* x (+ 1 (* -1 y)))) |
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) |
(* -1 (* x (+ (* -1 y) (* -1 (/ y x))))) |
(* -1 x) |
(- (* y (+ 1 x)) x) |
(* y (+ 1 x)) |
(* y (+ 1 (+ x (* -1 (/ x y))))) |
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | y | @ | inf | ((- (* (+ x 1) y) x) (* (+ x 1) y) (+ x 1) (- (* (+ x 1) y) x) (* (+ x 1) y)) |
| 0.0ms | y | @ | -inf | ((- (* (+ x 1) y) x) (* (+ x 1) y) (+ x 1) (- (* (+ x 1) y) x) (* (+ x 1) y)) |
| 0.0ms | x | @ | -inf | ((- (* (+ x 1) y) x) (* (+ x 1) y) (+ x 1) (- (* (+ x 1) y) x) (* (+ x 1) y)) |
| 0.0ms | x | @ | inf | ((- (* (+ x 1) y) x) (* (+ x 1) y) (+ x 1) (- (* (+ x 1) y) x) (* (+ x 1) y)) |
| 0.0ms | y | @ | 0 | ((- (* (+ x 1) y) x) (* (+ x 1) y) (+ x 1) (- (* (+ x 1) y) x) (* (+ x 1) y)) |
| 1× | egg-herbie |
| Inputs |
|---|
y |
(+ y (* x (- y 1))) |
(+ y (* x y)) |
1 |
(+ 1 x) |
(* x (- y 1)) |
(* x (- (+ y (/ y x)) 1)) |
(* x y) |
(* x (+ y (/ y x))) |
x |
(* x (+ 1 (/ 1 x))) |
(* -1 (* x (+ 1 (* -1 y)))) |
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) |
(* -1 (* x (+ (* -1 y) (* -1 (/ y x))))) |
(* -1 x) |
(- (* y (+ 1 x)) x) |
(* y (+ 1 x)) |
(* y (+ 1 (+ x (* -1 (/ x y))))) |
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) |
| Outputs |
|---|
y |
#s(approx (- (* (+ x 1) y) x) (*.f64 (+.f64 x #s(literal 1 binary64)) y)) |
(+ y (* x (- y 1))) |
(*.f64 (+.f64 x #s(literal 1 binary64)) y) |
(+ y (* x y)) |
(+.f64 x #s(literal 1 binary64)) |
1 |
(-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x) |
(+ 1 x) |
#s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) |
| Inputs |
|---|
#s(approx (- (* (+ x 1) y) x) (*.f64 (+.f64 x #s(literal 1 binary64)) y)) |
(*.f64 (+.f64 x #s(literal 1 binary64)) y) |
(+.f64 x #s(literal 1 binary64)) |
(-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x) |
#s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) |
| Outputs |
|---|
#s(approx (- (* (+ x 1) y) x) (*.f64 (+.f64 x #s(literal 1 binary64)) y)) |
(*.f64 (+.f64 x #s(literal 1 binary64)) y) |
(+.f64 x #s(literal 1 binary64)) |
(-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x) |
#s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) |
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 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) |
| ✓ | 3.0% | (-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x) |
| ▶ | 27.1% | (-.f64 #s(approx (* (+ x 1) y) #s(approx (+ x 1) (-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x))) x) |
| ✓ | 63.8% | #s(approx (- (* (+ x 1) y) x) (*.f64 (+.f64 x #s(literal 1 binary64)) y)) |
| ▶ | 3.0% | #s(approx (- (* (+ x 1) y) x) #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64)))) |
Compiled 71 to 47 computations (33.8% saved)
| 1× | egg-herbie |
Found 7 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x) | |
| cost-diff | 0 | #s(approx (+ x 1) (-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x)) | |
| cost-diff | 0 | #s(approx (* (+ x 1) y) #s(approx (+ x 1) (-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x))) | |
| cost-diff | 0 | (-.f64 #s(approx (* (+ x 1) y) #s(approx (+ x 1) (-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x))) x) | |
| cost-diff | 0 | (+.f64 x #s(literal 1 binary64)) | |
| cost-diff | 0 | #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) | |
| cost-diff | 0 | #s(approx (- (* (+ x 1) y) x) #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64)))) |
| Inputs |
|---|
#s(approx (- (* (+ x 1) y) x) #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64)))) |
#s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) |
(+.f64 x #s(literal 1 binary64)) |
x |
#s(literal 1 binary64) |
(-.f64 #s(approx (* (+ x 1) y) #s(approx (+ x 1) (-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x))) x) |
#s(approx (* (+ x 1) y) #s(approx (+ x 1) (-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x))) |
#s(approx (+ x 1) (-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x)) |
(-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x) |
#s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) |
(+.f64 x #s(literal 1 binary64)) |
x |
#s(literal 1 binary64) |
| Outputs |
|---|
#s(approx (- (* (+ x 1) y) x) #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64)))) |
#s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) |
(+.f64 x #s(literal 1 binary64)) |
x |
#s(literal 1 binary64) |
(-.f64 #s(approx (* (+ x 1) y) #s(approx (+ x 1) (-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x))) x) |
#s(approx (* (+ x 1) y) #s(approx (+ x 1) (-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x))) |
#s(approx (+ x 1) (-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x)) |
(-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x) |
#s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) |
(+.f64 x #s(literal 1 binary64)) |
x |
#s(literal 1 binary64) |
Found 7 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.00390625 | (-.f64 #s(approx (* (+ x 1) y) #s(approx (+ x 1) (-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x))) x) | |
| accuracy | 61.75320046498368 | #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) | |
| accuracy | 61.75320046498368 | #s(approx (* (+ x 1) y) #s(approx (+ x 1) (-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x))) | |
| accuracy | 62.05781974203986 | #s(approx (+ x 1) (-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x)) | |
| accuracy | 0.0 | (+.f64 x #s(literal 1 binary64)) | |
| accuracy | 23.192685240213308 | #s(approx (- (* (+ x 1) y) x) #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64)))) | |
| accuracy | 61.75320046498368 | #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) |
| 13.0ms | 256× | 0 | valid |
Compiled 166 to 22 computations (86.7% saved)
ival-add: 2.0ms (39.6% of total)ival-mult: 2.0ms (39.6% of total)ival-sub: 1.0ms (19.8% 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 1) y) x) #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64)))) |
#s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) |
(+.f64 x #s(literal 1 binary64)) |
(-.f64 #s(approx (* (+ x 1) y) #s(approx (+ x 1) (-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x))) x) |
#s(approx (* (+ x 1) y) #s(approx (+ x 1) (-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x))) |
#s(approx (+ x 1) (-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x)) |
(-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x) |
| Outputs |
|---|
y |
(+ y (* x (- y 1))) |
(+ y (* x y)) |
1 |
(+ 1 x) |
(* x (- y 1)) |
(* x (- (+ y (/ y x)) 1)) |
(* x y) |
(* x (+ y (/ y x))) |
x |
(* x (+ 1 (/ 1 x))) |
(* -1 (* x (+ 1 (* -1 y)))) |
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) |
(* -1 (* x (+ (* -1 y) (* -1 (/ y x))))) |
(* -1 x) |
(- (* y (+ 1 x)) x) |
(* y (+ 1 x)) |
(* y (+ 1 (+ x (* -1 (/ x y))))) |
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | y | @ | inf | ((- (* (+ x 1) y) x) (* (+ x 1) y) (+ x 1) (- (* (+ x 1) y) x) (* (+ x 1) y) (+ x 1) (- (* (+ x 1) y) x)) |
| 0.0ms | y | @ | -inf | ((- (* (+ x 1) y) x) (* (+ x 1) y) (+ x 1) (- (* (+ x 1) y) x) (* (+ x 1) y) (+ x 1) (- (* (+ x 1) y) x)) |
| 0.0ms | x | @ | -inf | ((- (* (+ x 1) y) x) (* (+ x 1) y) (+ x 1) (- (* (+ x 1) y) x) (* (+ x 1) y) (+ x 1) (- (* (+ x 1) y) x)) |
| 0.0ms | x | @ | inf | ((- (* (+ x 1) y) x) (* (+ x 1) y) (+ x 1) (- (* (+ x 1) y) x) (* (+ x 1) y) (+ x 1) (- (* (+ x 1) y) x)) |
| 0.0ms | y | @ | 0 | ((- (* (+ x 1) y) x) (* (+ x 1) y) (+ x 1) (- (* (+ x 1) y) x) (* (+ x 1) y) (+ x 1) (- (* (+ x 1) y) x)) |
| 1× | egg-herbie |
| Inputs |
|---|
y |
(+ y (* x (- y 1))) |
(+ y (* x y)) |
1 |
(+ 1 x) |
(* x (- y 1)) |
(* x (- (+ y (/ y x)) 1)) |
(* x y) |
(* x (+ y (/ y x))) |
x |
(* x (+ 1 (/ 1 x))) |
(* -1 (* x (+ 1 (* -1 y)))) |
(* -1 (* x (+ 1 (+ (* -1 y) (* -1 (/ y x)))))) |
(* -1 (* x (+ (* -1 y) (* -1 (/ y x))))) |
(* -1 x) |
(- (* y (+ 1 x)) x) |
(* y (+ 1 x)) |
(* y (+ 1 (+ x (* -1 (/ x y))))) |
(* -1 (* y (+ (* -1 (+ 1 x)) (/ x y)))) |
| Outputs |
|---|
y |
#s(approx (- (* (+ x 1) y) x) #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64)))) |
(+ y (* x (- y 1))) |
#s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) |
(+ y (* x y)) |
(+.f64 x #s(literal 1 binary64)) |
1 |
(-.f64 #s(approx (* (+ x 1) y) #s(approx (+ x 1) (-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x))) x) |
(+ 1 x) |
#s(approx (* (+ x 1) y) #s(approx (+ x 1) (-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x))) |
(* x (- y 1)) |
#s(approx (+ x 1) (-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x)) |
(* x (- (+ y (/ y x)) 1)) |
(-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x) |
| Inputs |
|---|
#s(approx (- (* (+ x 1) y) x) #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64)))) |
#s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) |
(+.f64 x #s(literal 1 binary64)) |
(-.f64 #s(approx (* (+ x 1) y) #s(approx (+ x 1) (-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x))) x) |
#s(approx (* (+ x 1) y) #s(approx (+ x 1) (-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x))) |
#s(approx (+ x 1) (-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x)) |
(-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x) |
| Outputs |
|---|
#s(approx (- (* (+ x 1) y) x) #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64)))) |
#s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) |
(+.f64 x #s(literal 1 binary64)) |
(-.f64 #s(approx (* (+ x 1) y) #s(approx (+ x 1) (-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x))) x) |
#s(approx (* (+ x 1) y) #s(approx (+ x 1) (-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x))) |
#s(approx (+ x 1) (-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x)) |
(-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x) |
Compiled 428 to 31 computations (92.8% saved)
5 alts after pruning (0 fresh and 5 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 16 | 0 | 16 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 2 | 2 |
| Done | 0 | 3 | 3 |
| Total | 16 | 5 | 21 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) |
| ✓ | 3.0% | (-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x) |
| ✓ | 27.1% | (-.f64 #s(approx (* (+ x 1) y) #s(approx (+ x 1) (-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x))) x) |
| ✓ | 63.8% | #s(approx (- (* (+ x 1) y) x) (*.f64 (+.f64 x #s(literal 1 binary64)) y)) |
| ✓ | 3.0% | #s(approx (- (* (+ x 1) y) x) #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64)))) |
Compiled 142 to 64 computations (54.9% saved)
| Inputs |
|---|
#s(approx (- (* (+ x 1) y) x) #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64)))) |
(-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x) |
#s(approx (- (* (+ x 1) y) x) (*.f64 (+.f64 x #s(literal 1 binary64)) y)) |
(-.f64 #s(approx (* (+ x 1) y) #s(approx (+ x 1) (-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x))) x) |
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) |
| Outputs |
|---|
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) |
3 calls:
| 2.0ms | y |
| 2.0ms | x |
| 2.0ms | (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | x |
| 100.0% | 1 | y |
| 100.0% | 1 | (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) |
Compiled 9 to 10 computations (-11.1% saved)
| Inputs |
|---|
#s(approx (- (* (+ x 1) y) x) #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64)))) |
(-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x) |
#s(approx (- (* (+ x 1) y) x) (*.f64 (+.f64 x #s(literal 1 binary64)) y)) |
(-.f64 #s(approx (* (+ x 1) y) #s(approx (+ x 1) (-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x))) x) |
| Outputs |
|---|
#s(approx (- (* (+ x 1) y) x) (*.f64 (+.f64 x #s(literal 1 binary64)) y)) |
(-.f64 #s(approx (* (+ x 1) y) #s(approx (+ x 1) (-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x))) x) |
#s(approx (- (* (+ x 1) y) x) (*.f64 (+.f64 x #s(literal 1 binary64)) y)) |
3 calls:
| 4.0ms | x |
| 2.0ms | y |
| 2.0ms | (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 70.1% | 4 | x |
| 78.6% | 3 | y |
| 63.8% | 1 | (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) |
Compiled 9 to 10 computations (-11.1% saved)
| Inputs |
|---|
#s(approx (- (* (+ x 1) y) x) #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64)))) |
(-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x) |
#s(approx (- (* (+ x 1) y) x) (*.f64 (+.f64 x #s(literal 1 binary64)) y)) |
| Outputs |
|---|
#s(approx (- (* (+ x 1) y) x) (*.f64 (+.f64 x #s(literal 1 binary64)) y)) |
3 calls:
| 2.0ms | x |
| 2.0ms | (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) |
| 2.0ms | y |
| Accuracy | Segments | Branch |
|---|---|---|
| 63.8% | 1 | (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) |
| 63.8% | 1 | x |
| 63.8% | 1 | y |
Compiled 9 to 10 computations (-11.1% saved)
Total -0.4b remaining (-0.7%)
Threshold costs -0.4b (-0.7%)
| Inputs |
|---|
#s(approx (- (* (+ x 1) y) x) #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64)))) |
(-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x) |
| Outputs |
|---|
#s(approx (- (* (+ x 1) y) x) #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64)))) |
3 calls:
| 1.0ms | y |
| 1.0ms | (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) |
| 1.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 3.0% | 1 | y |
| 3.0% | 1 | x |
| 3.0% | 1 | (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) |
Compiled 9 to 10 computations (-11.1% saved)
| 2× | binary-search |
| 1× | narrow-enough |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 11.0ms | 1.3877443645697932e-136 | 6.120261513489261e-129 |
| 9.0ms | -1.0903023710187812e-44 | -8.942615519375627e-46 |
| 9.0ms | 240× | 0 | valid |
Compiled 550 to 371 computations (32.5% saved)
ival-mult: 2.0ms (44.6% of total)ival-sub: 1.0ms (22.3% of total)ival-add: 1.0ms (22.3% 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 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) |
(if (<=.f64 y #s(literal -8436424732359699/803469022129495137770981046170581301261101496891396417650688 binary64)) #s(approx (- (* (+ x 1) y) x) (*.f64 (+.f64 x #s(literal 1 binary64)) y)) (if (<=.f64 y #s(literal 1170655706368497/195109284394749514461349826862072894109287383916560696928697309976585733676235351257519131441468248197489183195087913930965498479955517831643136 binary64)) (-.f64 #s(approx (* (+ x 1) y) #s(approx (+ x 1) (-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x))) x) #s(approx (- (* (+ x 1) y) x) (*.f64 (+.f64 x #s(literal 1 binary64)) y)))) |
#s(approx (- (* (+ x 1) y) x) (*.f64 (+.f64 x #s(literal 1 binary64)) y)) |
#s(approx (- (* (+ x 1) y) x) #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64)))) |
| Outputs |
|---|
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) |
(if (<=.f64 y #s(literal -8436424732359699/803469022129495137770981046170581301261101496891396417650688 binary64)) #s(approx (- (* (+ x 1) y) x) (*.f64 (+.f64 x #s(literal 1 binary64)) y)) (if (<=.f64 y #s(literal 1170655706368497/195109284394749514461349826862072894109287383916560696928697309976585733676235351257519131441468248197489183195087913930965498479955517831643136 binary64)) (-.f64 #s(approx (* (+ x 1) y) #s(approx (+ x 1) (-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x))) x) #s(approx (- (* (+ x 1) y) x) (*.f64 (+.f64 x #s(literal 1 binary64)) y)))) |
#s(approx (- (* (+ x 1) y) x) (*.f64 (+.f64 x #s(literal 1 binary64)) y)) |
#s(approx (- (* (+ x 1) y) x) #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64)))) |
| 1× | done |
Compiled 94 to 23 computations (75.5% saved)
Compiled 202 to 58 computations (71.3% saved)
Loading profile data...