
Time bar (total: 1.0s)
| 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 11 computations (0% saved)
| 485.0ms | 8 256× | 0 | valid |
ival-div: 121.0ms (45.7% of total)ival-mult: 85.0ms (32.1% of total)ival-sub: 40.0ms (15.1% of total)exact: 9.0ms (3.4% of total)ival-true: 6.0ms (2.3% of total)ival-assert: 4.0ms (1.5% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | #s(literal 8 binary64) |
| 0 | 0 | - | 0 | - | (/.f64 (*.f64 x y) #s(literal 2 binary64)) |
| 0 | 0 | - | 0 | - | z |
| 0 | 0 | - | 0 | - | (*.f64 x y) |
| 0 | 0 | - | 0 | - | (-.f64 (/.f64 (*.f64 x y) #s(literal 2 binary64)) (/.f64 z #s(literal 8 binary64))) |
| 0 | 0 | - | 0 | - | (/.f64 z #s(literal 8 binary64)) |
| 0 | 0 | - | 0 | - | #s(literal 2 binary64) |
| 0 | 0 | - | 0 | - | y |
| 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 |
| 31.0ms | 512× | 0 | valid |
Compiled 88 to 40 computations (54.5% saved)
ival-div: 7.0ms (50.3% of total)ival-mult: 4.0ms (28.8% of total)ival-sub: 2.0ms (14.4% of total)exact: 1.0ms (7.2% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 1× | egg-herbie |
| Inputs |
|---|
(-.f64 (/.f64 (*.f64 x y) #s(literal 2 binary64)) (/.f64 z #s(literal 8 binary64))) |
| Outputs |
|---|
(-.f64 (/.f64 (*.f64 x y) #s(literal 2 binary64)) (/.f64 z #s(literal 8 binary64))) |
Compiled 9 to 9 computations (0% saved)
Compiled 0 to 3 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (-.f64 (/.f64 (*.f64 x y) #s(literal 2 binary64)) (/.f64 z #s(literal 8 binary64))) |
Compiled 9 to 9 computations (0% saved)
| 1× | egg-herbie |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (/.f64 z #s(literal 8 binary64)) | |
| cost-diff | 0 | (*.f64 x y) | |
| cost-diff | 0 | (/.f64 (*.f64 x y) #s(literal 2 binary64)) | |
| cost-diff | 0 | (-.f64 (/.f64 (*.f64 x y) #s(literal 2 binary64)) (/.f64 z #s(literal 8 binary64))) |
| Inputs |
|---|
(-.f64 (/.f64 (*.f64 x y) #s(literal 2 binary64)) (/.f64 z #s(literal 8 binary64))) |
(/.f64 (*.f64 x y) #s(literal 2 binary64)) |
(*.f64 x y) |
x |
y |
#s(literal 2 binary64) |
(/.f64 z #s(literal 8 binary64)) |
z |
#s(literal 8 binary64) |
| Outputs |
|---|
(-.f64 (/.f64 (*.f64 x y) #s(literal 2 binary64)) (/.f64 z #s(literal 8 binary64))) |
(/.f64 (*.f64 x y) #s(literal 2 binary64)) |
(*.f64 x y) |
x |
y |
#s(literal 2 binary64) |
(/.f64 z #s(literal 8 binary64)) |
z |
#s(literal 8 binary64) |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (/.f64 (*.f64 x y) #s(literal 2 binary64)) | |
| accuracy | 0.0 | (/.f64 z #s(literal 8 binary64)) | |
| accuracy | 0.0 | (*.f64 x y) | |
| accuracy | 0.00390625 | (-.f64 (/.f64 (*.f64 x y) #s(literal 2 binary64)) (/.f64 z #s(literal 8 binary64))) |
| 15.0ms | 256× | 0 | valid |
Compiled 52 to 20 computations (61.5% saved)
ival-div: 3.0ms (43.8% of total)ival-mult: 2.0ms (29.2% of total)ival-sub: 1.0ms (14.6% 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 y) #s(literal 2 binary64)) (/.f64 z #s(literal 8 binary64))) |
(/.f64 (*.f64 x y) #s(literal 2 binary64)) |
(*.f64 x y) |
(/.f64 z #s(literal 8 binary64)) |
| Outputs |
|---|
(* -1/8 z) |
(- (* 1/2 (* x y)) (* 1/8 z)) |
(* 1/2 (* x y)) |
(* x y) |
(* x (+ (* -1/8 (/ z x)) (* 1/2 y))) |
(* -1 (* x (+ (* -1/2 y) (* 1/8 (/ z x))))) |
(* y (+ (* -1/8 (/ z y)) (* 1/2 x))) |
(* -1 (* y (+ (* -1/2 x) (* 1/8 (/ z y))))) |
(+ (* -1/8 z) (* 1/2 (* x y))) |
(* 1/8 z) |
(* z (- (* 1/2 (/ (* x y) z)) 1/8)) |
(* -1 (* z (+ 1/8 (* -1/2 (/ (* x y) z))))) |
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | z | @ | 0 | ((- (/ (* x y) 2) (/ z 8)) (/ (* x y) 2) (* x y) (/ z 8)) |
| 1.0ms | x | @ | -inf | ((- (/ (* x y) 2) (/ z 8)) (/ (* x y) 2) (* x y) (/ z 8)) |
| 1.0ms | x | @ | 0 | ((- (/ (* x y) 2) (/ z 8)) (/ (* x y) 2) (* x y) (/ z 8)) |
| 1.0ms | z | @ | inf | ((- (/ (* x y) 2) (/ z 8)) (/ (* x y) 2) (* x y) (/ z 8)) |
| 1.0ms | y | @ | -inf | ((- (/ (* x y) 2) (/ z 8)) (/ (* x y) 2) (* x y) (/ z 8)) |
| 1× | egg-herbie |
| Inputs |
|---|
(* -1/8 z) |
(- (* 1/2 (* x y)) (* 1/8 z)) |
(* 1/2 (* x y)) |
(* x y) |
(* x (+ (* -1/8 (/ z x)) (* 1/2 y))) |
(* -1 (* x (+ (* -1/2 y) (* 1/8 (/ z x))))) |
(* y (+ (* -1/8 (/ z y)) (* 1/2 x))) |
(* -1 (* y (+ (* -1/2 x) (* 1/8 (/ z y))))) |
(+ (* -1/8 z) (* 1/2 (* x y))) |
(* 1/8 z) |
(* z (- (* 1/2 (/ (* x y) z)) 1/8)) |
(* -1 (* z (+ 1/8 (* -1/2 (/ (* x y) z))))) |
| Outputs |
|---|
(* -1/8 z) |
(-.f64 (/.f64 (*.f64 x y) #s(literal 2 binary64)) (/.f64 z #s(literal 8 binary64))) |
(- (* 1/2 (* x y)) (* 1/8 z)) |
(/.f64 (*.f64 x y) #s(literal 2 binary64)) |
(* 1/2 (* x y)) |
(*.f64 x y) |
(* x y) |
(/.f64 z #s(literal 8 binary64)) |
| Inputs |
|---|
(-.f64 (/.f64 (*.f64 x y) #s(literal 2 binary64)) (/.f64 z #s(literal 8 binary64))) |
(/.f64 (*.f64 x y) #s(literal 2 binary64)) |
(*.f64 x y) |
(/.f64 z #s(literal 8 binary64)) |
| Outputs |
|---|
(-.f64 (/.f64 (*.f64 x y) #s(literal 2 binary64)) (/.f64 z #s(literal 8 binary64))) |
(/.f64 (*.f64 x y) #s(literal 2 binary64)) |
(*.f64 x y) |
(/.f64 z #s(literal 8 binary64)) |
Compiled 96 to 22 computations (77.1% saved)
3 alts after pruning (2 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 6 | 2 | 8 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 6 | 3 | 9 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (-.f64 (/.f64 (*.f64 x y) #s(literal 2 binary64)) (/.f64 z #s(literal 8 binary64))) |
| ▶ | 64.6% | (-.f64 #s(approx (/ (* x y) 2) (*.f64 x y)) (/.f64 z #s(literal 8 binary64))) |
| ▶ | 53.9% | #s(approx (- (/ (* x y) 2) (/ z 8)) (/.f64 (*.f64 x y) #s(literal 2 binary64))) |
Compiled 37 to 33 computations (10.8% saved)
| 1× | egg-herbie |
Found 7 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (/.f64 z #s(literal 8 binary64)) | |
| cost-diff | 0 | (*.f64 x y) | |
| cost-diff | 0 | #s(approx (/ (* x y) 2) (*.f64 x y)) | |
| cost-diff | 0 | (-.f64 #s(approx (/ (* x y) 2) (*.f64 x y)) (/.f64 z #s(literal 8 binary64))) | |
| cost-diff | 0 | (*.f64 x y) | |
| cost-diff | 0 | (/.f64 (*.f64 x y) #s(literal 2 binary64)) | |
| cost-diff | 0 | #s(approx (- (/ (* x y) 2) (/ z 8)) (/.f64 (*.f64 x y) #s(literal 2 binary64))) |
| Inputs |
|---|
#s(approx (- (/ (* x y) 2) (/ z 8)) (/.f64 (*.f64 x y) #s(literal 2 binary64))) |
(/.f64 (*.f64 x y) #s(literal 2 binary64)) |
(*.f64 x y) |
x |
y |
#s(literal 2 binary64) |
(-.f64 #s(approx (/ (* x y) 2) (*.f64 x y)) (/.f64 z #s(literal 8 binary64))) |
#s(approx (/ (* x y) 2) (*.f64 x y)) |
(*.f64 x y) |
x |
y |
(/.f64 z #s(literal 8 binary64)) |
z |
#s(literal 8 binary64) |
| Outputs |
|---|
#s(approx (- (/ (* x y) 2) (/ z 8)) (/.f64 (*.f64 x y) #s(literal 2 binary64))) |
(/.f64 (*.f64 x y) #s(literal 2 binary64)) |
(*.f64 x y) |
x |
y |
#s(literal 2 binary64) |
(-.f64 #s(approx (/ (* x y) 2) (*.f64 x y)) (/.f64 z #s(literal 8 binary64))) |
#s(approx (/ (* x y) 2) (*.f64 x y)) |
(*.f64 x y) |
x |
y |
(/.f64 z #s(literal 8 binary64)) |
z |
#s(literal 8 binary64) |
Found 7 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (/.f64 z #s(literal 8 binary64)) | |
| accuracy | 0.0 | (*.f64 x y) | |
| accuracy | 0.00390625 | (-.f64 #s(approx (/ (* x y) 2) (*.f64 x y)) (/.f64 z #s(literal 8 binary64))) | |
| accuracy | 40.00635559465814 | #s(approx (/ (* x y) 2) (*.f64 x y)) | |
| accuracy | 0.0 | (/.f64 (*.f64 x y) #s(literal 2 binary64)) | |
| accuracy | 0.0 | (*.f64 x y) | |
| accuracy | 29.508246072752506 | #s(approx (- (/ (* x y) 2) (/ z 8)) (/.f64 (*.f64 x y) #s(literal 2 binary64))) |
| 18.0ms | 256× | 0 | valid |
Compiled 104 to 28 computations (73.1% saved)
ival-div: 3.0ms (43.6% of total)ival-mult: 2.0ms (29% of total)ival-sub: 1.0ms (14.5% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(approx (- (/ (* x y) 2) (/ z 8)) (/.f64 (*.f64 x y) #s(literal 2 binary64))) |
(/.f64 (*.f64 x y) #s(literal 2 binary64)) |
(*.f64 x y) |
(-.f64 #s(approx (/ (* x y) 2) (*.f64 x y)) (/.f64 z #s(literal 8 binary64))) |
#s(approx (/ (* x y) 2) (*.f64 x y)) |
(/.f64 z #s(literal 8 binary64)) |
| Outputs |
|---|
(* -1/8 z) |
(- (* 1/2 (* x y)) (* 1/8 z)) |
(* 1/2 (* x y)) |
(* x y) |
(* x (+ (* -1/8 (/ z x)) (* 1/2 y))) |
(* -1 (* x (+ (* -1/2 y) (* 1/8 (/ z x))))) |
(* y (+ (* -1/8 (/ z y)) (* 1/2 x))) |
(* -1 (* y (+ (* -1/2 x) (* 1/8 (/ z y))))) |
(+ (* -1/8 z) (* 1/2 (* x y))) |
(* 1/8 z) |
(* z (- (* 1/2 (/ (* x y) z)) 1/8)) |
(* -1 (* z (+ 1/8 (* -1/2 (/ (* x y) z))))) |
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | ((- (/ (* x y) 2) (/ z 8)) (/ (* x y) 2) (* x y) (- (/ (* x y) 2) (/ z 8)) (/ (* x y) 2) (/ z 8)) |
| 1.0ms | y | @ | -inf | ((- (/ (* x y) 2) (/ z 8)) (/ (* x y) 2) (* x y) (- (/ (* x y) 2) (/ z 8)) (/ (* x y) 2) (/ z 8)) |
| 0.0ms | z | @ | -inf | ((- (/ (* x y) 2) (/ z 8)) (/ (* x y) 2) (* x y) (- (/ (* x y) 2) (/ z 8)) (/ (* x y) 2) (/ z 8)) |
| 0.0ms | z | @ | inf | ((- (/ (* x y) 2) (/ z 8)) (/ (* x y) 2) (* x y) (- (/ (* x y) 2) (/ z 8)) (/ (* x y) 2) (/ z 8)) |
| 0.0ms | x | @ | inf | ((- (/ (* x y) 2) (/ z 8)) (/ (* x y) 2) (* x y) (- (/ (* x y) 2) (/ z 8)) (/ (* x y) 2) (/ z 8)) |
| 1× | egg-herbie |
| Inputs |
|---|
(* -1/8 z) |
(- (* 1/2 (* x y)) (* 1/8 z)) |
(* 1/2 (* x y)) |
(* x y) |
(* x (+ (* -1/8 (/ z x)) (* 1/2 y))) |
(* -1 (* x (+ (* -1/2 y) (* 1/8 (/ z x))))) |
(* y (+ (* -1/8 (/ z y)) (* 1/2 x))) |
(* -1 (* y (+ (* -1/2 x) (* 1/8 (/ z y))))) |
(+ (* -1/8 z) (* 1/2 (* x y))) |
(* 1/8 z) |
(* z (- (* 1/2 (/ (* x y) z)) 1/8)) |
(* -1 (* z (+ 1/8 (* -1/2 (/ (* x y) z))))) |
| Outputs |
|---|
(* -1/8 z) |
#s(approx (- (/ (* x y) 2) (/ z 8)) (/.f64 (*.f64 x y) #s(literal 2 binary64))) |
(- (* 1/2 (* x y)) (* 1/8 z)) |
(/.f64 (*.f64 x y) #s(literal 2 binary64)) |
(* 1/2 (* x y)) |
(*.f64 x y) |
(* x y) |
(-.f64 #s(approx (/ (* x y) 2) (*.f64 x y)) (/.f64 z #s(literal 8 binary64))) |
(* x (+ (* -1/8 (/ z x)) (* 1/2 y))) |
#s(approx (/ (* x y) 2) (*.f64 x y)) |
(* -1 (* x (+ (* -1/2 y) (* 1/8 (/ z x))))) |
(/.f64 z #s(literal 8 binary64)) |
| Inputs |
|---|
#s(approx (- (/ (* x y) 2) (/ z 8)) (/.f64 (*.f64 x y) #s(literal 2 binary64))) |
(/.f64 (*.f64 x y) #s(literal 2 binary64)) |
(*.f64 x y) |
(-.f64 #s(approx (/ (* x y) 2) (*.f64 x y)) (/.f64 z #s(literal 8 binary64))) |
#s(approx (/ (* x y) 2) (*.f64 x y)) |
(/.f64 z #s(literal 8 binary64)) |
| Outputs |
|---|
#s(approx (- (/ (* x y) 2) (/ z 8)) (/.f64 (*.f64 x y) #s(literal 2 binary64))) |
(/.f64 (*.f64 x y) #s(literal 2 binary64)) |
(*.f64 x y) |
(-.f64 #s(approx (/ (* x y) 2) (*.f64 x y)) (/.f64 z #s(literal 8 binary64))) |
#s(approx (/ (* x y) 2) (*.f64 x y)) |
(/.f64 z #s(literal 8 binary64)) |
Compiled 216 to 25 computations (88.4% saved)
4 alts after pruning (1 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 11 | 1 | 12 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 2 | 2 |
| Done | 0 | 1 | 1 |
| Total | 11 | 4 | 15 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (-.f64 (/.f64 (*.f64 x y) #s(literal 2 binary64)) (/.f64 z #s(literal 8 binary64))) |
| ✓ | 64.6% | (-.f64 #s(approx (/ (* x y) 2) (*.f64 x y)) (/.f64 z #s(literal 8 binary64))) |
| ✓ | 53.9% | #s(approx (- (/ (* x y) 2) (/ z 8)) (/.f64 (*.f64 x y) #s(literal 2 binary64))) |
| ▶ | 20.5% | #s(approx (- (/ (* x y) 2) (/ z 8)) #s(approx (/ (* x y) 2) (*.f64 x y))) |
Compiled 56 to 45 computations (19.6% saved)
| 1× | egg-herbie |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 x y) | |
| cost-diff | 0 | #s(approx (/ (* x y) 2) (*.f64 x y)) | |
| cost-diff | 0 | #s(approx (- (/ (* x y) 2) (/ z 8)) #s(approx (/ (* x y) 2) (*.f64 x y))) |
| Inputs |
|---|
#s(approx (- (/ (* x y) 2) (/ z 8)) #s(approx (/ (* x y) 2) (*.f64 x y))) |
#s(approx (/ (* x y) 2) (*.f64 x y)) |
(*.f64 x y) |
x |
y |
| Outputs |
|---|
#s(approx (- (/ (* x y) 2) (/ z 8)) #s(approx (/ (* x y) 2) (*.f64 x y))) |
#s(approx (/ (* x y) 2) (*.f64 x y)) |
(*.f64 x y) |
x |
y |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (*.f64 x y) | |
| accuracy | 29.508246072752506 | #s(approx (- (/ (* x y) 2) (/ z 8)) #s(approx (/ (* x y) 2) (*.f64 x y))) | |
| accuracy | 40.00635559465814 | #s(approx (/ (* x y) 2) (*.f64 x y)) |
| 16.0ms | 256× | 0 | valid |
Compiled 54 to 23 computations (57.4% saved)
ival-sub: 4.0ms (42.2% of total)ival-div: 3.0ms (31.7% of total)ival-mult: 2.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 y) 2) (/ z 8)) #s(approx (/ (* x y) 2) (*.f64 x y))) |
#s(approx (/ (* x y) 2) (*.f64 x y)) |
(*.f64 x y) |
| Outputs |
|---|
(* -1/8 z) |
(- (* 1/2 (* x y)) (* 1/8 z)) |
(* 1/2 (* x y)) |
(* x y) |
(* x (+ (* -1/8 (/ z x)) (* 1/2 y))) |
(* -1 (* x (+ (* -1/2 y) (* 1/8 (/ z x))))) |
(* y (+ (* -1/8 (/ z y)) (* 1/2 x))) |
(* -1 (* y (+ (* -1/2 x) (* 1/8 (/ z y))))) |
(+ (* -1/8 z) (* 1/2 (* x y))) |
(* z (- (* 1/2 (/ (* x y) z)) 1/8)) |
(* -1 (* z (+ 1/8 (* -1/2 (/ (* x y) z))))) |
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | -inf | ((- (/ (* x y) 2) (/ z 8)) (/ (* x y) 2) (* x y)) |
| 0.0ms | y | @ | -inf | ((- (/ (* x y) 2) (/ z 8)) (/ (* x y) 2) (* x y)) |
| 0.0ms | x | @ | 0 | ((- (/ (* x y) 2) (/ z 8)) (/ (* x y) 2) (* x y)) |
| 0.0ms | x | @ | inf | ((- (/ (* x y) 2) (/ z 8)) (/ (* x y) 2) (* x y)) |
| 0.0ms | y | @ | inf | ((- (/ (* x y) 2) (/ z 8)) (/ (* x y) 2) (* x y)) |
| 1× | egg-herbie |
| Inputs |
|---|
(* -1/8 z) |
(- (* 1/2 (* x y)) (* 1/8 z)) |
(* 1/2 (* x y)) |
(* x y) |
(* x (+ (* -1/8 (/ z x)) (* 1/2 y))) |
(* -1 (* x (+ (* -1/2 y) (* 1/8 (/ z x))))) |
(* y (+ (* -1/8 (/ z y)) (* 1/2 x))) |
(* -1 (* y (+ (* -1/2 x) (* 1/8 (/ z y))))) |
(+ (* -1/8 z) (* 1/2 (* x y))) |
(* z (- (* 1/2 (/ (* x y) z)) 1/8)) |
(* -1 (* z (+ 1/8 (* -1/2 (/ (* x y) z))))) |
| Outputs |
|---|
(* -1/8 z) |
#s(approx (- (/ (* x y) 2) (/ z 8)) #s(approx (/ (* x y) 2) (*.f64 x y))) |
(- (* 1/2 (* x y)) (* 1/8 z)) |
#s(approx (/ (* x y) 2) (*.f64 x y)) |
(* 1/2 (* x y)) |
(*.f64 x y) |
| Inputs |
|---|
#s(approx (- (/ (* x y) 2) (/ z 8)) #s(approx (/ (* x y) 2) (*.f64 x y))) |
#s(approx (/ (* x y) 2) (*.f64 x y)) |
(*.f64 x y) |
| Outputs |
|---|
#s(approx (- (/ (* x y) 2) (/ z 8)) #s(approx (/ (* x y) 2) (*.f64 x y))) |
#s(approx (/ (* x y) 2) (*.f64 x y)) |
(*.f64 x y) |
Compiled 86 to 13 computations (84.9% saved)
4 alts after pruning (0 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 4 | 0 | 4 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 3 | 3 |
| Total | 4 | 4 | 8 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (-.f64 (/.f64 (*.f64 x y) #s(literal 2 binary64)) (/.f64 z #s(literal 8 binary64))) |
| ✓ | 64.6% | (-.f64 #s(approx (/ (* x y) 2) (*.f64 x y)) (/.f64 z #s(literal 8 binary64))) |
| ✓ | 53.9% | #s(approx (- (/ (* x y) 2) (/ z 8)) (/.f64 (*.f64 x y) #s(literal 2 binary64))) |
| ✓ | 20.5% | #s(approx (- (/ (* x y) 2) (/ z 8)) #s(approx (/ (* x y) 2) (*.f64 x y))) |
Compiled 112 to 64 computations (42.9% saved)
| Inputs |
|---|
#s(approx (- (/ (* x y) 2) (/ z 8)) #s(approx (/ (* x y) 2) (*.f64 x y))) |
#s(approx (- (/ (* x y) 2) (/ z 8)) (/.f64 (*.f64 x y) #s(literal 2 binary64))) |
(-.f64 #s(approx (/ (* x y) 2) (*.f64 x y)) (/.f64 z #s(literal 8 binary64))) |
(-.f64 (/.f64 (*.f64 x y) #s(literal 2 binary64)) (/.f64 z #s(literal 8 binary64))) |
| Outputs |
|---|
(-.f64 (/.f64 (*.f64 x y) #s(literal 2 binary64)) (/.f64 z #s(literal 8 binary64))) |
7 calls:
| 4.0ms | x |
| 2.0ms | z |
| 2.0ms | (-.f64 (/.f64 (*.f64 x y) #s(literal 2 binary64)) (/.f64 z #s(literal 8 binary64))) |
| 2.0ms | (/.f64 z #s(literal 8 binary64)) |
| 2.0ms | y |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | x |
| 100.0% | 1 | y |
| 100.0% | 1 | z |
| 100.0% | 1 | (-.f64 (/.f64 (*.f64 x y) #s(literal 2 binary64)) (/.f64 z #s(literal 8 binary64))) |
| 100.0% | 1 | (/.f64 (*.f64 x y) #s(literal 2 binary64)) |
| 100.0% | 1 | (*.f64 x y) |
| 100.0% | 1 | (/.f64 z #s(literal 8 binary64)) |
Compiled 23 to 33 computations (-43.5% saved)
| Inputs |
|---|
#s(approx (- (/ (* x y) 2) (/ z 8)) #s(approx (/ (* x y) 2) (*.f64 x y))) |
#s(approx (- (/ (* x y) 2) (/ z 8)) (/.f64 (*.f64 x y) #s(literal 2 binary64))) |
(-.f64 #s(approx (/ (* x y) 2) (*.f64 x y)) (/.f64 z #s(literal 8 binary64))) |
| Outputs |
|---|
#s(approx (- (/ (* x y) 2) (/ z 8)) (/.f64 (*.f64 x y) #s(literal 2 binary64))) |
(-.f64 #s(approx (/ (* x y) 2) (*.f64 x y)) (/.f64 z #s(literal 8 binary64))) |
#s(approx (- (/ (* x y) 2) (/ z 8)) (/.f64 (*.f64 x y) #s(literal 2 binary64))) |
7 calls:
| 2.0ms | (-.f64 (/.f64 (*.f64 x y) #s(literal 2 binary64)) (/.f64 z #s(literal 8 binary64))) |
| 2.0ms | (/.f64 z #s(literal 8 binary64)) |
| 2.0ms | y |
| 2.0ms | x |
| 2.0ms | (/.f64 (*.f64 x y) #s(literal 2 binary64)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 78.2% | 3 | x |
| 73.9% | 3 | y |
| 80.4% | 3 | z |
| 66.4% | 2 | (-.f64 (/.f64 (*.f64 x y) #s(literal 2 binary64)) (/.f64 z #s(literal 8 binary64))) |
| 83.3% | 3 | (/.f64 (*.f64 x y) #s(literal 2 binary64)) |
| 83.3% | 3 | (*.f64 x y) |
| 80.4% | 3 | (/.f64 z #s(literal 8 binary64)) |
Compiled 23 to 33 computations (-43.5% saved)
| Inputs |
|---|
#s(approx (- (/ (* x y) 2) (/ z 8)) #s(approx (/ (* x y) 2) (*.f64 x y))) |
#s(approx (- (/ (* x y) 2) (/ z 8)) (/.f64 (*.f64 x y) #s(literal 2 binary64))) |
| Outputs |
|---|
#s(approx (- (/ (* x y) 2) (/ z 8)) (/.f64 (*.f64 x y) #s(literal 2 binary64))) |
7 calls:
| 1.0ms | x |
| 1.0ms | (-.f64 (/.f64 (*.f64 x y) #s(literal 2 binary64)) (/.f64 z #s(literal 8 binary64))) |
| 1.0ms | (/.f64 z #s(literal 8 binary64)) |
| 1.0ms | y |
| 1.0ms | z |
| Accuracy | Segments | Branch |
|---|---|---|
| 53.9% | 1 | (-.f64 (/.f64 (*.f64 x y) #s(literal 2 binary64)) (/.f64 z #s(literal 8 binary64))) |
| 53.9% | 1 | y |
| 53.9% | 1 | x |
| 53.9% | 1 | z |
| 53.9% | 1 | (/.f64 z #s(literal 8 binary64)) |
| 53.9% | 1 | (/.f64 (*.f64 x y) #s(literal 2 binary64)) |
| 53.9% | 1 | (*.f64 x y) |
Compiled 23 to 33 computations (-43.5% saved)
Total -0.0b remaining (-0%)
Threshold costs -0b (-0%)
| Inputs |
|---|
#s(approx (- (/ (* x y) 2) (/ z 8)) #s(approx (/ (* x y) 2) (*.f64 x y))) |
| Outputs |
|---|
#s(approx (- (/ (* x y) 2) (/ z 8)) #s(approx (/ (* x y) 2) (*.f64 x y))) |
7 calls:
| 1.0ms | (-.f64 (/.f64 (*.f64 x y) #s(literal 2 binary64)) (/.f64 z #s(literal 8 binary64))) |
| 1.0ms | (/.f64 z #s(literal 8 binary64)) |
| 1.0ms | y |
| 1.0ms | (/.f64 (*.f64 x y) #s(literal 2 binary64)) |
| 1.0ms | z |
| Accuracy | Segments | Branch |
|---|---|---|
| 20.5% | 1 | (/.f64 (*.f64 x y) #s(literal 2 binary64)) |
| 20.5% | 1 | (*.f64 x y) |
| 20.5% | 1 | z |
| 20.5% | 1 | (/.f64 z #s(literal 8 binary64)) |
| 20.5% | 1 | x |
| 20.5% | 1 | (-.f64 (/.f64 (*.f64 x y) #s(literal 2 binary64)) (/.f64 z #s(literal 8 binary64))) |
| 20.5% | 1 | y |
Compiled 23 to 33 computations (-43.5% saved)
| 2× | binary-search |
| 1× | narrow-enough |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 11.0ms | 3.012123076288364e+66 | 1.1970569479655456e+76 |
| 17.0ms | -2.1029462587458457e-54 | -9.001316759714246e-65 |
| 13.0ms | 304× | 0 | valid |
Compiled 468 to 471 computations (-0.6% saved)
ival-div: 4.0ms (68.6% of total)ival-sub: 2.0ms (34.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 y) #s(literal 2 binary64)) (/.f64 z #s(literal 8 binary64))) |
(if (<=.f64 (*.f64 x y) #s(literal -1811708416032523/862718293348820473429344482784628181556388621521298319395315527974912 binary64)) #s(approx (- (/ (* x y) 2) (/ z 8)) (/.f64 (*.f64 x y) #s(literal 2 binary64))) (if (<=.f64 (*.f64 x y) #s(literal 12500000000000000523519069552643224487392923333004228539292846397587456 binary64)) (-.f64 #s(approx (/ (* x y) 2) (*.f64 x y)) (/.f64 z #s(literal 8 binary64))) #s(approx (- (/ (* x y) 2) (/ z 8)) (/.f64 (*.f64 x y) #s(literal 2 binary64))))) |
#s(approx (- (/ (* x y) 2) (/ z 8)) (/.f64 (*.f64 x y) #s(literal 2 binary64))) |
#s(approx (- (/ (* x y) 2) (/ z 8)) #s(approx (/ (* x y) 2) (*.f64 x y))) |
| Outputs |
|---|
(-.f64 (/.f64 (*.f64 x y) #s(literal 2 binary64)) (/.f64 z #s(literal 8 binary64))) |
(if (<=.f64 (*.f64 x y) #s(literal -1811708416032523/862718293348820473429344482784628181556388621521298319395315527974912 binary64)) #s(approx (- (/ (* x y) 2) (/ z 8)) (/.f64 (*.f64 x y) #s(literal 2 binary64))) (if (<=.f64 (*.f64 x y) #s(literal 12500000000000000523519069552643224487392923333004228539292846397587456 binary64)) (-.f64 #s(approx (/ (* x y) 2) (*.f64 x y)) (/.f64 z #s(literal 8 binary64))) #s(approx (- (/ (* x y) 2) (/ z 8)) (/.f64 (*.f64 x y) #s(literal 2 binary64))))) |
#s(approx (- (/ (* x y) 2) (/ z 8)) (/.f64 (*.f64 x y) #s(literal 2 binary64))) |
#s(approx (- (/ (* x y) 2) (/ z 8)) #s(approx (/ (* x y) 2) (*.f64 x y))) |
| 1× | done |
Compiled 98 to 25 computations (74.5% saved)
Compiled 214 to 68 computations (68.2% saved)
Loading profile data...