
Time bar (total: 777.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)
| 337.0ms | 8 256× | 0 | valid |
ival-add: 55.0ms (34.5% of total)ival-mult: 54.0ms (33.9% of total)ival-sub: 37.0ms (23.2% of total)ival-true: 6.0ms (3.8% of total)exact: 5.0ms (3.1% of total)ival-assert: 3.0ms (1.9% 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 |
| 24.0ms | 512× | 0 | valid |
Compiled 65 to 28 computations (56.9% saved)
ival-add: 3.0ms (30.9% of total)ival-mult: 3.0ms (30.9% of total)ival-sub: 2.0ms (20.6% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 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.01171875 | (*.f64 (+.f64 x #s(literal 1 binary64)) y) |
| 11.0ms | 256× | 0 | valid |
Compiled 38 to 14 computations (63.2% saved)
ival-mult: 2.0ms (42% of total)ival-sub: 1.0ms (21% of total)ival-add: 1.0ms (21% 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) |
| ▶ | 2.9% | (-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x) |
| ▶ | 67.0% | #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.65157842461315 | #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) | |
| accuracy | 0.0 | (+.f64 x #s(literal 1 binary64)) | |
| accuracy | 0.01171875 | (*.f64 (+.f64 x #s(literal 1 binary64)) y) | |
| accuracy | 21.139151363336303 | #s(approx (- (* (+ x 1) y) x) (*.f64 (+.f64 x #s(literal 1 binary64)) y)) |
| 12.0ms | 256× | 0 | valid |
Compiled 86 to 20 computations (76.7% saved)
ival-mult: 2.0ms (42.2% of total)ival-sub: 1.0ms (21.1% of total)ival-add: 1.0ms (21.1% 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) |
| ✓ | 2.9% | (-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x) |
| ▶ | 24.3% | (-.f64 #s(approx (* (+ x 1) y) #s(approx (+ x 1) (-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x))) x) |
| ✓ | 67.0% | #s(approx (- (* (+ x 1) y) x) (*.f64 (+.f64 x #s(literal 1 binary64)) y)) |
| ▶ | 3.1% | #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.65157842461315 | #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) | |
| accuracy | 61.65157842461315 | #s(approx (* (+ x 1) y) #s(approx (+ x 1) (-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x))) | |
| accuracy | 61.9907351661858 | #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 | 21.139151363336303 | #s(approx (- (* (+ x 1) y) x) #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64)))) | |
| accuracy | 61.65157842461315 | #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) |
| 12.0ms | 256× | 0 | valid |
Compiled 166 to 22 computations (86.7% saved)
ival-add: 2.0ms (41.7% of total)ival-mult: 2.0ms (41.7% of total)ival-sub: 1.0ms (20.8% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#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) |
| ✓ | 2.9% | (-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x) |
| ✓ | 24.3% | (-.f64 #s(approx (* (+ x 1) y) #s(approx (+ x 1) (-.f64 #s(approx (* (+ x 1) y) (+.f64 x #s(literal 1 binary64))) x))) x) |
| ✓ | 67.0% | #s(approx (- (* (+ x 1) y) x) (*.f64 (+.f64 x #s(literal 1 binary64)) y)) |
| ✓ | 3.1% | #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 | (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) |
| 2.0ms | y |
| 2.0ms | 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:
| 2.0ms | x |
| 2.0ms | y |
| 2.0ms | (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 68.6% | 2 | x |
| 80.1% | 3 | y |
| 67.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)) |
| Outputs |
|---|
#s(approx (- (* (+ x 1) y) x) (*.f64 (+.f64 x #s(literal 1 binary64)) y)) |
2 calls:
| 4.0ms | x |
| 2.0ms | y |
| Accuracy | Segments | Branch |
|---|---|---|
| 67.0% | 1 | x |
| 67.0% | 1 | y |
Compiled 2 to 4 computations (-100% saved)
Total -0.5b remaining (-0.8%)
Threshold costs -0.5b (-0.8%)
| 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:
| 2.0ms | (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) |
| 1.0ms | y |
| 1.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 3.1% | 1 | (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) |
| 3.1% | 1 | x |
| 3.1% | 1 | y |
Compiled 9 to 10 computations (-11.1% saved)
| 2× | binary-search |
| 1× | narrow-enough |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 9.0ms | 9.713926903933424e-26 | 2.9971598031699905e-23 |
| 12.0ms | -8.822717096308599e-147 | -5.2782494987578534e-160 |
| 11.0ms | 288× | 0 | valid |
Compiled 658 to 443 computations (32.7% saved)
ival-add: 2.0ms (37.9% of total)ival-mult: 2.0ms (37.9% of total)ival-sub: 1.0ms (18.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 |
|---|
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) y) x) |
(if (<=.f64 y #s(literal -3824076725361717/449891379454319638281053850768598185886969711830191663310075557261183758067148787031904068610389085714992091063352089512320826605549429968900851518086516385513472 binary64)) #s(approx (- (* (+ x 1) y) x) (*.f64 (+.f64 x #s(literal 1 binary64)) y)) (if (<=.f64 y #s(literal 2007665964833537/170141183460469231731687303715884105728 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 -3824076725361717/449891379454319638281053850768598185886969711830191663310075557261183758067148787031904068610389085714992091063352089512320826605549429968900851518086516385513472 binary64)) #s(approx (- (* (+ x 1) y) x) (*.f64 (+.f64 x #s(literal 1 binary64)) y)) (if (<=.f64 y #s(literal 2007665964833537/170141183460469231731687303715884105728 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...