
Time bar (total: 1.4s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 99.7% | 0.3% | 0% | 0% | 0% | 0 |
| 100% | 99.7% | 0% | 0.3% | 0% | 0% | 0% | 1 |
Compiled 13 to 13 computations (0% saved)
| 527.0ms | 8 256× | 0 | valid |
ival-mult: 177.0ms (66.8% of total)ival-add: 78.0ms (29.4% of total)ival-true: 7.0ms (2.6% of total)ival-assert: 3.0ms (1.1% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 4 | 0 | - | 0 | - | (+.f64 (+.f64 (*.f64 x y) (*.f64 z t)) (*.f64 a b)) |
| 0 | 0 | - | 0 | - | a |
| 0 | 0 | - | 0 | - | t |
| 0 | 0 | - | 0 | - | (*.f64 z t) |
| 0 | 0 | - | 0 | - | z |
| 0 | 0 | - | 0 | - | (*.f64 x y) |
| 0 | 0 | - | 0 | - | y |
| 0 | 0 | - | 0 | - | (+.f64 (*.f64 x y) (*.f64 z t)) |
| 0 | 0 | - | 0 | - | b |
| 0 | 0 | - | 0 | - | (*.f64 a b) |
| 0 | 0 | - | 0 | - | x |
| Operator | Subexpression | Explanation | Count | |
|---|---|---|---|---|
+.f64 | (+.f64 (+.f64 (*.f64 x y) (*.f64 z t)) (*.f64 a b)) | nan-rescue | 4 | 0 |
| ↳ | (*.f64 x y) | overflow | 29 | |
| ↳ | (+.f64 (*.f64 x y) (*.f64 z t)) | overflow | 57 | |
| ↳ | (*.f64 z t) | overflow | 33 | |
| ↳ | (*.f64 a b) | overflow | 23 |
| Predicted + | Predicted - | |
|---|---|---|
| + | 4 | 0 |
| - | 0 | 252 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 4 | 0 | 0 |
| - | 0 | 0 | 252 |
| number | freq |
|---|---|
| 0 | 252 |
| 1 | 4 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 1 | 0 | 0 |
| - | 0 | 0 | 0 |
| 41.0ms | 512× | 0 | valid |
Compiled 114 to 48 computations (57.9% saved)
ival-mult: 16.0ms (77.2% of total)ival-add: 4.0ms (19.3% 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) (*.f64 z t)) (*.f64 a b)) |
| Outputs |
|---|
(+.f64 (+.f64 (*.f64 x y) (*.f64 z t)) (*.f64 a b)) |
Compiled 11 to 11 computations (0% saved)
Compiled 0 to 6 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 98.4% | (+.f64 (+.f64 (*.f64 x y) (*.f64 z t)) (*.f64 a b)) |
Compiled 11 to 11 computations (0% saved)
| 1× | egg-herbie |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 z t) | |
| cost-diff | 0 | (*.f64 x y) | |
| cost-diff | 0 | (+.f64 (*.f64 x y) (*.f64 z t)) | |
| cost-diff | 0 | (+.f64 (+.f64 (*.f64 x y) (*.f64 z t)) (*.f64 a b)) |
| Inputs |
|---|
(+.f64 (+.f64 (*.f64 x y) (*.f64 z t)) (*.f64 a b)) |
(+.f64 (*.f64 x y) (*.f64 z t)) |
(*.f64 x y) |
x |
y |
(*.f64 z t) |
z |
t |
(*.f64 a b) |
a |
b |
| Outputs |
|---|
(+.f64 (+.f64 (*.f64 x y) (*.f64 z t)) (*.f64 a b)) |
(+.f64 (*.f64 x y) (*.f64 z t)) |
(*.f64 x y) |
x |
y |
(*.f64 z t) |
z |
t |
(*.f64 a b) |
a |
b |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (*.f64 x y) | |
| accuracy | 0.0 | (*.f64 a b) | |
| accuracy | 0.0078125 | (+.f64 (*.f64 x y) (*.f64 z t)) | |
| accuracy | 0.9062458716604117 | (+.f64 (+.f64 (*.f64 x y) (*.f64 z t)) (*.f64 a b)) |
| 17.0ms | 256× | 0 | valid |
Compiled 68 to 24 computations (64.7% saved)
ival-mult: 5.0ms (65.6% of total)ival-add: 2.0ms (26.2% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
(+.f64 (+.f64 (*.f64 x y) (*.f64 z t)) (*.f64 a b)) |
(+.f64 (*.f64 x y) (*.f64 z t)) |
(*.f64 x y) |
(*.f64 z t) |
(*.f64 a b) |
| Outputs |
|---|
(+ (* a b) (* t z)) |
(+ (* a b) (+ (* t z) (* x y))) |
(* t z) |
(+ (* t z) (* x y)) |
(* x y) |
(* x (+ y (+ (/ (* a b) x) (/ (* t z) x)))) |
(* x (+ y (/ (* t z) x))) |
(* -1 (* x (+ (* -1 y) (* -1 (/ (+ (* a b) (* t z)) x))))) |
(* -1 (* x (+ (* -1 y) (* -1 (/ (* t z) x))))) |
(* y (+ x (+ (/ (* a b) y) (/ (* t z) y)))) |
(* y (+ x (/ (* t z) y))) |
(* -1 (* y (+ (* -1 x) (* -1 (/ (+ (* a b) (* t z)) y))))) |
(* -1 (* y (+ (* -1 x) (* -1 (/ (* t z) y))))) |
(+ (* a b) (* x y)) |
(* z (+ t (+ (/ (* a b) z) (/ (* x y) z)))) |
(* z (+ t (/ (* x y) z))) |
(* -1 (* z (+ (* -1 t) (* -1 (/ (+ (* a b) (* x y)) z))))) |
(* -1 (* z (+ (* -1 t) (* -1 (/ (* x y) z))))) |
(* t (+ z (+ (/ (* a b) t) (/ (* x y) t)))) |
(* t (+ z (/ (* x y) t))) |
(* -1 (* t (+ (* -1 z) (* -1 (/ (+ (* a b) (* x y)) t))))) |
(* -1 (* t (+ (* -1 z) (* -1 (/ (* x y) t))))) |
(* a b) |
(* a (+ b (+ (/ (* t z) a) (/ (* x y) a)))) |
(* -1 (* a (+ (* -1 b) (* -1 (/ (+ (* t z) (* x y)) a))))) |
(* b (+ a (+ (/ (* t z) b) (/ (* x y) b)))) |
(* -1 (* b (+ (* -1 a) (* -1 (/ (+ (* t z) (* x y)) b))))) |
18 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | z | @ | -inf | ((+ (+ (* x y) (* z t)) (* a b)) (+ (* x y) (* z t)) (* x y) (* z t) (* a b)) |
| 1.0ms | x | @ | 0 | ((+ (+ (* x y) (* z t)) (* a b)) (+ (* x y) (* z t)) (* x y) (* z t) (* a b)) |
| 1.0ms | y | @ | -inf | ((+ (+ (* x y) (* z t)) (* a b)) (+ (* x y) (* z t)) (* x y) (* z t) (* a b)) |
| 1.0ms | y | @ | 0 | ((+ (+ (* x y) (* z t)) (* a b)) (+ (* x y) (* z t)) (* x y) (* z t) (* a b)) |
| 1.0ms | x | @ | -inf | ((+ (+ (* x y) (* z t)) (* a b)) (+ (* x y) (* z t)) (* x y) (* z t) (* a b)) |
| 1× | egg-herbie |
| Inputs |
|---|
(+ (* a b) (* t z)) |
(+ (* a b) (+ (* t z) (* x y))) |
(* t z) |
(+ (* t z) (* x y)) |
(* x y) |
(* x (+ y (+ (/ (* a b) x) (/ (* t z) x)))) |
(* x (+ y (/ (* t z) x))) |
(* -1 (* x (+ (* -1 y) (* -1 (/ (+ (* a b) (* t z)) x))))) |
(* -1 (* x (+ (* -1 y) (* -1 (/ (* t z) x))))) |
(* y (+ x (+ (/ (* a b) y) (/ (* t z) y)))) |
(* y (+ x (/ (* t z) y))) |
(* -1 (* y (+ (* -1 x) (* -1 (/ (+ (* a b) (* t z)) y))))) |
(* -1 (* y (+ (* -1 x) (* -1 (/ (* t z) y))))) |
(+ (* a b) (* x y)) |
(* z (+ t (+ (/ (* a b) z) (/ (* x y) z)))) |
(* z (+ t (/ (* x y) z))) |
(* -1 (* z (+ (* -1 t) (* -1 (/ (+ (* a b) (* x y)) z))))) |
(* -1 (* z (+ (* -1 t) (* -1 (/ (* x y) z))))) |
(* t (+ z (+ (/ (* a b) t) (/ (* x y) t)))) |
(* t (+ z (/ (* x y) t))) |
(* -1 (* t (+ (* -1 z) (* -1 (/ (+ (* a b) (* x y)) t))))) |
(* -1 (* t (+ (* -1 z) (* -1 (/ (* x y) t))))) |
(* a b) |
(* a (+ b (+ (/ (* t z) a) (/ (* x y) a)))) |
(* -1 (* a (+ (* -1 b) (* -1 (/ (+ (* t z) (* x y)) a))))) |
(* b (+ a (+ (/ (* t z) b) (/ (* x y) b)))) |
(* -1 (* b (+ (* -1 a) (* -1 (/ (+ (* t z) (* x y)) b))))) |
| Outputs |
|---|
(+ (* a b) (* t z)) |
(+.f64 (+.f64 (*.f64 x y) (*.f64 z t)) (*.f64 a b)) |
(+ (* a b) (+ (* t z) (* x y))) |
(+.f64 (*.f64 x y) (*.f64 z t)) |
(* t z) |
(*.f64 x y) |
(+ (* t z) (* x y)) |
(*.f64 z t) |
(* x y) |
(*.f64 a b) |
| Inputs |
|---|
(+.f64 (+.f64 (*.f64 x y) (*.f64 z t)) (*.f64 a b)) |
(+.f64 (*.f64 x y) (*.f64 z t)) |
(*.f64 x y) |
(*.f64 z t) |
(*.f64 a b) |
| Outputs |
|---|
(+.f64 (+.f64 (*.f64 x y) (*.f64 z t)) (*.f64 a b)) |
(+.f64 (*.f64 x y) (*.f64 z t)) |
(*.f64 x y) |
(*.f64 z t) |
(*.f64 a b) |
Compiled 142 to 25 computations (82.4% saved)
4 alts after pruning (3 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 7 | 3 | 10 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 7 | 4 | 11 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 98.4% | (+.f64 (+.f64 (*.f64 x y) (*.f64 z t)) (*.f64 a b)) |
| ▶ | 67.1% | (+.f64 #s(approx (+ (* x y) (* z t)) (*.f64 z t)) (*.f64 a b)) |
| ▶ | 66.4% | (+.f64 #s(approx (+ (* x y) (* z t)) (*.f64 x y)) (*.f64 a b)) |
| ▶ | 69.7% | #s(approx (+ (+ (* x y) (* z t)) (* a b)) (+.f64 (*.f64 x y) (*.f64 z t))) |
Compiled 60 to 52 computations (13.3% saved)
| 1× | egg-herbie |
Found 12 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 a b) | |
| cost-diff | 0 | (*.f64 z t) | |
| cost-diff | 0 | #s(approx (+ (* x y) (* z t)) (*.f64 z t)) | |
| cost-diff | 0 | (+.f64 #s(approx (+ (* x y) (* z t)) (*.f64 z t)) (*.f64 a b)) | |
| cost-diff | 0 | (*.f64 a b) | |
| cost-diff | 0 | (*.f64 x y) | |
| cost-diff | 0 | #s(approx (+ (* x y) (* z t)) (*.f64 x y)) | |
| cost-diff | 0 | (+.f64 #s(approx (+ (* x y) (* z t)) (*.f64 x y)) (*.f64 a b)) | |
| cost-diff | 0 | (*.f64 z t) | |
| cost-diff | 0 | (*.f64 x y) | |
| cost-diff | 0 | (+.f64 (*.f64 x y) (*.f64 z t)) | |
| cost-diff | 0 | #s(approx (+ (+ (* x y) (* z t)) (* a b)) (+.f64 (*.f64 x y) (*.f64 z t))) |
| Inputs |
|---|
#s(approx (+ (+ (* x y) (* z t)) (* a b)) (+.f64 (*.f64 x y) (*.f64 z t))) |
(+.f64 (*.f64 x y) (*.f64 z t)) |
(*.f64 x y) |
x |
y |
(*.f64 z t) |
z |
t |
(+.f64 #s(approx (+ (* x y) (* z t)) (*.f64 x y)) (*.f64 a b)) |
#s(approx (+ (* x y) (* z t)) (*.f64 x y)) |
(*.f64 x y) |
x |
y |
(*.f64 a b) |
a |
b |
(+.f64 #s(approx (+ (* x y) (* z t)) (*.f64 z t)) (*.f64 a b)) |
#s(approx (+ (* x y) (* z t)) (*.f64 z t)) |
(*.f64 z t) |
z |
t |
(*.f64 a b) |
a |
b |
| Outputs |
|---|
#s(approx (+ (+ (* x y) (* z t)) (* a b)) (+.f64 (*.f64 x y) (*.f64 z t))) |
(+.f64 (*.f64 x y) (*.f64 z t)) |
(*.f64 x y) |
x |
y |
(*.f64 z t) |
z |
t |
(+.f64 #s(approx (+ (* x y) (* z t)) (*.f64 x y)) (*.f64 a b)) |
#s(approx (+ (* x y) (* z t)) (*.f64 x y)) |
(*.f64 x y) |
x |
y |
(*.f64 a b) |
a |
b |
(+.f64 #s(approx (+ (* x y) (* z t)) (*.f64 z t)) (*.f64 a b)) |
#s(approx (+ (* x y) (* z t)) (*.f64 z t)) |
(*.f64 z t) |
z |
t |
(*.f64 a b) |
a |
b |
Found 12 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (*.f64 z t) | |
| accuracy | 0.0 | (*.f64 a b) | |
| accuracy | 0.9062458716604117 | (+.f64 #s(approx (+ (* x y) (* z t)) (*.f64 z t)) (*.f64 a b)) | |
| accuracy | 30.506818632396524 | #s(approx (+ (* x y) (* z t)) (*.f64 z t)) | |
| accuracy | 0.0 | (*.f64 x y) | |
| accuracy | 0.0 | (*.f64 a b) | |
| accuracy | 0.9062458716604117 | (+.f64 #s(approx (+ (* x y) (* z t)) (*.f64 x y)) (*.f64 a b)) | |
| accuracy | 30.829472361865438 | #s(approx (+ (* x y) (* z t)) (*.f64 x y)) | |
| accuracy | 0.0 | (*.f64 z t) | |
| accuracy | 0.0 | (*.f64 x y) | |
| accuracy | 0.0078125 | (+.f64 (*.f64 x y) (*.f64 z t)) | |
| accuracy | 19.381204706185855 | #s(approx (+ (+ (* x y) (* z t)) (* a b)) (+.f64 (*.f64 x y) (*.f64 z t))) |
| 23.0ms | 256× | 0 | valid |
Compiled 194 to 33 computations (83% saved)
ival-mult: 5.0ms (66% of total)ival-add: 2.0ms (26.4% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(approx (+ (+ (* x y) (* z t)) (* a b)) (+.f64 (*.f64 x y) (*.f64 z t))) |
(+.f64 (*.f64 x y) (*.f64 z t)) |
(*.f64 x y) |
(*.f64 z t) |
(+.f64 #s(approx (+ (* x y) (* z t)) (*.f64 x y)) (*.f64 a b)) |
#s(approx (+ (* x y) (* z t)) (*.f64 x y)) |
(*.f64 a b) |
(+.f64 #s(approx (+ (* x y) (* z t)) (*.f64 z t)) (*.f64 a b)) |
#s(approx (+ (* x y) (* z t)) (*.f64 z t)) |
| Outputs |
|---|
(+ (* a b) (* t z)) |
(+ (* a b) (+ (* t z) (* x y))) |
(* t z) |
(+ (* t z) (* x y)) |
(* x y) |
(* x (+ y (+ (/ (* a b) x) (/ (* t z) x)))) |
(* x (+ y (/ (* t z) x))) |
(* -1 (* x (+ (* -1 y) (* -1 (/ (+ (* a b) (* t z)) x))))) |
(* -1 (* x (+ (* -1 y) (* -1 (/ (* t z) x))))) |
(* y (+ x (+ (/ (* a b) y) (/ (* t z) y)))) |
(* y (+ x (/ (* t z) y))) |
(* -1 (* y (+ (* -1 x) (* -1 (/ (+ (* a b) (* t z)) y))))) |
(* -1 (* y (+ (* -1 x) (* -1 (/ (* t z) y))))) |
(+ (* a b) (* x y)) |
(* z (+ t (+ (/ (* a b) z) (/ (* x y) z)))) |
(* z (+ t (/ (* x y) z))) |
(* -1 (* z (+ (* -1 t) (* -1 (/ (+ (* a b) (* x y)) z))))) |
(* -1 (* z (+ (* -1 t) (* -1 (/ (* x y) z))))) |
(* t (+ z (+ (/ (* a b) t) (/ (* x y) t)))) |
(* t (+ z (/ (* x y) t))) |
(* -1 (* t (+ (* -1 z) (* -1 (/ (+ (* a b) (* x y)) t))))) |
(* -1 (* t (+ (* -1 z) (* -1 (/ (* x y) t))))) |
(* a b) |
(* a (+ b (+ (/ (* t z) a) (/ (* x y) a)))) |
(* -1 (* a (+ (* -1 b) (* -1 (/ (+ (* t z) (* x y)) a))))) |
(* b (+ a (+ (/ (* t z) b) (/ (* x y) b)))) |
(* -1 (* b (+ (* -1 a) (* -1 (/ (+ (* t z) (* x y)) b))))) |
18 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 3.0ms | z | @ | 0 | ((+ (+ (* x y) (* z t)) (* a b)) (+ (* x y) (* z t)) (* x y) (* z t) (+ (+ (* x y) (* z t)) (* a b)) (+ (* x y) (* z t)) (* a b) (+ (+ (* x y) (* z t)) (* a b)) (+ (* x y) (* z t))) |
| 1.0ms | z | @ | -inf | ((+ (+ (* x y) (* z t)) (* a b)) (+ (* x y) (* z t)) (* x y) (* z t) (+ (+ (* x y) (* z t)) (* a b)) (+ (* x y) (* z t)) (* a b) (+ (+ (* x y) (* z t)) (* a b)) (+ (* x y) (* z t))) |
| 1.0ms | x | @ | -inf | ((+ (+ (* x y) (* z t)) (* a b)) (+ (* x y) (* z t)) (* x y) (* z t) (+ (+ (* x y) (* z t)) (* a b)) (+ (* x y) (* z t)) (* a b) (+ (+ (* x y) (* z t)) (* a b)) (+ (* x y) (* z t))) |
| 1.0ms | y | @ | -inf | ((+ (+ (* x y) (* z t)) (* a b)) (+ (* x y) (* z t)) (* x y) (* z t) (+ (+ (* x y) (* z t)) (* a b)) (+ (* x y) (* z t)) (* a b) (+ (+ (* x y) (* z t)) (* a b)) (+ (* x y) (* z t))) |
| 1.0ms | t | @ | -inf | ((+ (+ (* x y) (* z t)) (* a b)) (+ (* x y) (* z t)) (* x y) (* z t) (+ (+ (* x y) (* z t)) (* a b)) (+ (* x y) (* z t)) (* a b) (+ (+ (* x y) (* z t)) (* a b)) (+ (* x y) (* z t))) |
| 1× | egg-herbie |
| Inputs |
|---|
(+ (* a b) (* t z)) |
(+ (* a b) (+ (* t z) (* x y))) |
(* t z) |
(+ (* t z) (* x y)) |
(* x y) |
(* x (+ y (+ (/ (* a b) x) (/ (* t z) x)))) |
(* x (+ y (/ (* t z) x))) |
(* -1 (* x (+ (* -1 y) (* -1 (/ (+ (* a b) (* t z)) x))))) |
(* -1 (* x (+ (* -1 y) (* -1 (/ (* t z) x))))) |
(* y (+ x (+ (/ (* a b) y) (/ (* t z) y)))) |
(* y (+ x (/ (* t z) y))) |
(* -1 (* y (+ (* -1 x) (* -1 (/ (+ (* a b) (* t z)) y))))) |
(* -1 (* y (+ (* -1 x) (* -1 (/ (* t z) y))))) |
(+ (* a b) (* x y)) |
(* z (+ t (+ (/ (* a b) z) (/ (* x y) z)))) |
(* z (+ t (/ (* x y) z))) |
(* -1 (* z (+ (* -1 t) (* -1 (/ (+ (* a b) (* x y)) z))))) |
(* -1 (* z (+ (* -1 t) (* -1 (/ (* x y) z))))) |
(* t (+ z (+ (/ (* a b) t) (/ (* x y) t)))) |
(* t (+ z (/ (* x y) t))) |
(* -1 (* t (+ (* -1 z) (* -1 (/ (+ (* a b) (* x y)) t))))) |
(* -1 (* t (+ (* -1 z) (* -1 (/ (* x y) t))))) |
(* a b) |
(* a (+ b (+ (/ (* t z) a) (/ (* x y) a)))) |
(* -1 (* a (+ (* -1 b) (* -1 (/ (+ (* t z) (* x y)) a))))) |
(* b (+ a (+ (/ (* t z) b) (/ (* x y) b)))) |
(* -1 (* b (+ (* -1 a) (* -1 (/ (+ (* t z) (* x y)) b))))) |
| Outputs |
|---|
(+ (* a b) (* t z)) |
#s(approx (+ (+ (* x y) (* z t)) (* a b)) (+.f64 (*.f64 x y) (*.f64 z t))) |
(+ (* a b) (+ (* t z) (* x y))) |
(+.f64 (*.f64 x y) (*.f64 z t)) |
(* t z) |
(*.f64 x y) |
(+ (* t z) (* x y)) |
(*.f64 z t) |
(* x y) |
(+.f64 #s(approx (+ (* x y) (* z t)) (*.f64 x y)) (*.f64 a b)) |
(* x (+ y (+ (/ (* a b) x) (/ (* t z) x)))) |
#s(approx (+ (* x y) (* z t)) (*.f64 x y)) |
(* x (+ y (/ (* t z) x))) |
(*.f64 a b) |
(* -1 (* x (+ (* -1 y) (* -1 (/ (+ (* a b) (* t z)) x))))) |
(+.f64 #s(approx (+ (* x y) (* z t)) (*.f64 z t)) (*.f64 a b)) |
(* -1 (* x (+ (* -1 y) (* -1 (/ (* t z) x))))) |
#s(approx (+ (* x y) (* z t)) (*.f64 z t)) |
| Inputs |
|---|
#s(approx (+ (+ (* x y) (* z t)) (* a b)) (+.f64 (*.f64 x y) (*.f64 z t))) |
(+.f64 (*.f64 x y) (*.f64 z t)) |
(*.f64 x y) |
(*.f64 z t) |
(+.f64 #s(approx (+ (* x y) (* z t)) (*.f64 x y)) (*.f64 a b)) |
#s(approx (+ (* x y) (* z t)) (*.f64 x y)) |
(*.f64 a b) |
(+.f64 #s(approx (+ (* x y) (* z t)) (*.f64 z t)) (*.f64 a b)) |
#s(approx (+ (* x y) (* z t)) (*.f64 z t)) |
| Outputs |
|---|
#s(approx (+ (+ (* x y) (* z t)) (* a b)) (+.f64 (*.f64 x y) (*.f64 z t))) |
(+.f64 (*.f64 x y) (*.f64 z t)) |
(*.f64 x y) |
(*.f64 z t) |
(+.f64 #s(approx (+ (* x y) (* z t)) (*.f64 x y)) (*.f64 a b)) |
#s(approx (+ (* x y) (* z t)) (*.f64 x y)) |
(*.f64 a b) |
(+.f64 #s(approx (+ (* x y) (* z t)) (*.f64 z t)) (*.f64 a b)) |
#s(approx (+ (* x y) (* z t)) (*.f64 z t)) |
Compiled 413 to 33 computations (92% saved)
7 alts after pruning (3 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 16 | 3 | 19 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 3 | 3 |
| Done | 0 | 1 | 1 |
| Total | 16 | 7 | 23 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 98.4% | (+.f64 (+.f64 (*.f64 x y) (*.f64 z t)) (*.f64 a b)) |
| ✓ | 67.1% | (+.f64 #s(approx (+ (* x y) (* z t)) (*.f64 z t)) (*.f64 a b)) |
| ✓ | 66.4% | (+.f64 #s(approx (+ (* x y) (* z t)) (*.f64 x y)) (*.f64 a b)) |
| ✓ | 69.7% | #s(approx (+ (+ (* x y) (* z t)) (* a b)) (+.f64 (*.f64 x y) (*.f64 z t))) |
| ▶ | 37.5% | #s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 z t))) |
| ▶ | 35.9% | #s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 x y))) |
| ▶ | 34.1% | #s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 a b))) |
Compiled 129 to 94 computations (27.1% saved)
| 1× | egg-herbie |
Found 9 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 z t) | |
| cost-diff | 0 | #s(approx (+ (* x y) (* z t)) (*.f64 z t)) | |
| cost-diff | 0 | #s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 z t))) | |
| cost-diff | 0 | (*.f64 x y) | |
| cost-diff | 0 | #s(approx (+ (* x y) (* z t)) (*.f64 x y)) | |
| cost-diff | 0 | #s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 x y))) | |
| cost-diff | 0 | (*.f64 a b) | |
| cost-diff | 0 | #s(approx (+ (* x y) (* z t)) (*.f64 a b)) | |
| cost-diff | 0 | #s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 a b))) |
| Inputs |
|---|
#s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 a b))) |
#s(approx (+ (* x y) (* z t)) (*.f64 a b)) |
(*.f64 a b) |
a |
b |
#s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 x y))) |
#s(approx (+ (* x y) (* z t)) (*.f64 x y)) |
(*.f64 x y) |
x |
y |
#s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 z t))) |
#s(approx (+ (* x y) (* z t)) (*.f64 z t)) |
(*.f64 z t) |
z |
t |
| Outputs |
|---|
#s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 a b))) |
#s(approx (+ (* x y) (* z t)) (*.f64 a b)) |
(*.f64 a b) |
a |
b |
#s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 x y))) |
#s(approx (+ (* x y) (* z t)) (*.f64 x y)) |
(*.f64 x y) |
x |
y |
#s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 z t))) |
#s(approx (+ (* x y) (* z t)) (*.f64 z t)) |
(*.f64 z t) |
z |
t |
Found 9 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (*.f64 z t) | |
| accuracy | 19.381204706185855 | #s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 z t))) | |
| accuracy | 30.506818632396524 | #s(approx (+ (* x y) (* z t)) (*.f64 z t)) | |
| accuracy | 0.0 | (*.f64 x y) | |
| accuracy | 19.381204706185855 | #s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 x y))) | |
| accuracy | 30.829472361865438 | #s(approx (+ (* x y) (* z t)) (*.f64 x y)) | |
| accuracy | 0.0 | (*.f64 a b) | |
| accuracy | 19.381204706185855 | #s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 a b))) | |
| accuracy | 61.24938076443504 | #s(approx (+ (* x y) (* z t)) (*.f64 a b)) |
| 20.0ms | 256× | 0 | valid |
Compiled 188 to 33 computations (82.4% saved)
ival-mult: 7.0ms (73.1% of total)ival-add: 2.0ms (20.9% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 a b))) |
#s(approx (+ (* x y) (* z t)) (*.f64 a b)) |
(*.f64 a b) |
#s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 x y))) |
#s(approx (+ (* x y) (* z t)) (*.f64 x y)) |
(*.f64 x y) |
#s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 z t))) |
#s(approx (+ (* x y) (* z t)) (*.f64 z t)) |
(*.f64 z t) |
| Outputs |
|---|
(+ (* a b) (* t z)) |
(+ (* a b) (+ (* t z) (* x y))) |
(* t z) |
(+ (* t z) (* x y)) |
(* x y) |
(* x (+ y (+ (/ (* a b) x) (/ (* t z) x)))) |
(* x (+ y (/ (* t z) x))) |
(* -1 (* x (+ (* -1 y) (* -1 (/ (+ (* a b) (* t z)) x))))) |
(* -1 (* x (+ (* -1 y) (* -1 (/ (* t z) x))))) |
(* y (+ x (+ (/ (* a b) y) (/ (* t z) y)))) |
(* y (+ x (/ (* t z) y))) |
(* -1 (* y (+ (* -1 x) (* -1 (/ (+ (* a b) (* t z)) y))))) |
(* -1 (* y (+ (* -1 x) (* -1 (/ (* t z) y))))) |
(+ (* a b) (* x y)) |
(* z (+ t (+ (/ (* a b) z) (/ (* x y) z)))) |
(* z (+ t (/ (* x y) z))) |
(* -1 (* z (+ (* -1 t) (* -1 (/ (+ (* a b) (* x y)) z))))) |
(* -1 (* z (+ (* -1 t) (* -1 (/ (* x y) z))))) |
(* t (+ z (+ (/ (* a b) t) (/ (* x y) t)))) |
(* t (+ z (/ (* x y) t))) |
(* -1 (* t (+ (* -1 z) (* -1 (/ (+ (* a b) (* x y)) t))))) |
(* -1 (* t (+ (* -1 z) (* -1 (/ (* x y) t))))) |
(* a b) |
(* a (+ b (+ (/ (* t z) a) (/ (* x y) a)))) |
(* -1 (* a (+ (* -1 b) (* -1 (/ (+ (* t z) (* x y)) a))))) |
(* b (+ a (+ (/ (* t z) b) (/ (* x y) b)))) |
(* -1 (* b (+ (* -1 a) (* -1 (/ (+ (* t z) (* x y)) b))))) |
18 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | ((+ (+ (* x y) (* z t)) (* a b)) (+ (* x y) (* z t)) (* a b) (+ (+ (* x y) (* z t)) (* a b)) (+ (* x y) (* z t)) (* x y) (+ (+ (* x y) (* z t)) (* a b)) (+ (* x y) (* z t)) (* z t)) |
| 1.0ms | y | @ | -inf | ((+ (+ (* x y) (* z t)) (* a b)) (+ (* x y) (* z t)) (* a b) (+ (+ (* x y) (* z t)) (* a b)) (+ (* x y) (* z t)) (* x y) (+ (+ (* x y) (* z t)) (* a b)) (+ (* x y) (* z t)) (* z t)) |
| 1.0ms | z | @ | -inf | ((+ (+ (* x y) (* z t)) (* a b)) (+ (* x y) (* z t)) (* a b) (+ (+ (* x y) (* z t)) (* a b)) (+ (* x y) (* z t)) (* x y) (+ (+ (* x y) (* z t)) (* a b)) (+ (* x y) (* z t)) (* z t)) |
| 1.0ms | t | @ | -inf | ((+ (+ (* x y) (* z t)) (* a b)) (+ (* x y) (* z t)) (* a b) (+ (+ (* x y) (* z t)) (* a b)) (+ (* x y) (* z t)) (* x y) (+ (+ (* x y) (* z t)) (* a b)) (+ (* x y) (* z t)) (* z t)) |
| 0.0ms | b | @ | -inf | ((+ (+ (* x y) (* z t)) (* a b)) (+ (* x y) (* z t)) (* a b) (+ (+ (* x y) (* z t)) (* a b)) (+ (* x y) (* z t)) (* x y) (+ (+ (* x y) (* z t)) (* a b)) (+ (* x y) (* z t)) (* z t)) |
| 1× | egg-herbie |
| Inputs |
|---|
(+ (* a b) (* t z)) |
(+ (* a b) (+ (* t z) (* x y))) |
(* t z) |
(+ (* t z) (* x y)) |
(* x y) |
(* x (+ y (+ (/ (* a b) x) (/ (* t z) x)))) |
(* x (+ y (/ (* t z) x))) |
(* -1 (* x (+ (* -1 y) (* -1 (/ (+ (* a b) (* t z)) x))))) |
(* -1 (* x (+ (* -1 y) (* -1 (/ (* t z) x))))) |
(* y (+ x (+ (/ (* a b) y) (/ (* t z) y)))) |
(* y (+ x (/ (* t z) y))) |
(* -1 (* y (+ (* -1 x) (* -1 (/ (+ (* a b) (* t z)) y))))) |
(* -1 (* y (+ (* -1 x) (* -1 (/ (* t z) y))))) |
(+ (* a b) (* x y)) |
(* z (+ t (+ (/ (* a b) z) (/ (* x y) z)))) |
(* z (+ t (/ (* x y) z))) |
(* -1 (* z (+ (* -1 t) (* -1 (/ (+ (* a b) (* x y)) z))))) |
(* -1 (* z (+ (* -1 t) (* -1 (/ (* x y) z))))) |
(* t (+ z (+ (/ (* a b) t) (/ (* x y) t)))) |
(* t (+ z (/ (* x y) t))) |
(* -1 (* t (+ (* -1 z) (* -1 (/ (+ (* a b) (* x y)) t))))) |
(* -1 (* t (+ (* -1 z) (* -1 (/ (* x y) t))))) |
(* a b) |
(* a (+ b (+ (/ (* t z) a) (/ (* x y) a)))) |
(* -1 (* a (+ (* -1 b) (* -1 (/ (+ (* t z) (* x y)) a))))) |
(* b (+ a (+ (/ (* t z) b) (/ (* x y) b)))) |
(* -1 (* b (+ (* -1 a) (* -1 (/ (+ (* t z) (* x y)) b))))) |
| Outputs |
|---|
(+ (* a b) (* t z)) |
#s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 a b))) |
(+ (* a b) (+ (* t z) (* x y))) |
#s(approx (+ (* x y) (* z t)) (*.f64 a b)) |
(* t z) |
(*.f64 a b) |
(+ (* t z) (* x y)) |
#s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 x y))) |
(* x y) |
#s(approx (+ (* x y) (* z t)) (*.f64 x y)) |
(* x (+ y (+ (/ (* a b) x) (/ (* t z) x)))) |
(*.f64 x y) |
(* x (+ y (/ (* t z) x))) |
#s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 z t))) |
(* -1 (* x (+ (* -1 y) (* -1 (/ (+ (* a b) (* t z)) x))))) |
#s(approx (+ (* x y) (* z t)) (*.f64 z t)) |
(* -1 (* x (+ (* -1 y) (* -1 (/ (* t z) x))))) |
(*.f64 z t) |
| Inputs |
|---|
#s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 a b))) |
#s(approx (+ (* x y) (* z t)) (*.f64 a b)) |
(*.f64 a b) |
#s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 x y))) |
#s(approx (+ (* x y) (* z t)) (*.f64 x y)) |
(*.f64 x y) |
#s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 z t))) |
#s(approx (+ (* x y) (* z t)) (*.f64 z t)) |
(*.f64 z t) |
| Outputs |
|---|
#s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 a b))) |
#s(approx (+ (* x y) (* z t)) (*.f64 a b)) |
(*.f64 a b) |
#s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 x y))) |
#s(approx (+ (* x y) (* z t)) (*.f64 x y)) |
(*.f64 x y) |
#s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 z t))) |
#s(approx (+ (* x y) (* z t)) (*.f64 z t)) |
(*.f64 z t) |
Compiled 378 to 29 computations (92.3% saved)
7 alts after pruning (0 fresh and 7 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 14 | 0 | 14 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 3 | 3 |
| Done | 0 | 4 | 4 |
| Total | 14 | 7 | 21 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 98.4% | (+.f64 (+.f64 (*.f64 x y) (*.f64 z t)) (*.f64 a b)) |
| ✓ | 67.1% | (+.f64 #s(approx (+ (* x y) (* z t)) (*.f64 z t)) (*.f64 a b)) |
| ✓ | 66.4% | (+.f64 #s(approx (+ (* x y) (* z t)) (*.f64 x y)) (*.f64 a b)) |
| ✓ | 69.7% | #s(approx (+ (+ (* x y) (* z t)) (* a b)) (+.f64 (*.f64 x y) (*.f64 z t))) |
| ✓ | 37.5% | #s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 z t))) |
| ✓ | 35.9% | #s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 x y))) |
| ✓ | 34.1% | #s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 a b))) |
Compiled 258 to 119 computations (53.9% saved)
| Inputs |
|---|
#s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 a b))) |
#s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 x y))) |
#s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 z t))) |
#s(approx (+ (+ (* x y) (* z t)) (* a b)) (+.f64 (*.f64 x y) (*.f64 z t))) |
(+.f64 #s(approx (+ (* x y) (* z t)) (*.f64 x y)) (*.f64 a b)) |
(+.f64 #s(approx (+ (* x y) (* z t)) (*.f64 z t)) (*.f64 a b)) |
(+.f64 (+.f64 (*.f64 x y) (*.f64 z t)) (*.f64 a b)) |
| Outputs |
|---|
(+.f64 (+.f64 (*.f64 x y) (*.f64 z t)) (*.f64 a b)) |
11 calls:
| 4.0ms | (+.f64 (+.f64 (*.f64 x y) (*.f64 z t)) (*.f64 a b)) |
| 3.0ms | z |
| 3.0ms | y |
| 3.0ms | b |
| 3.0ms | t |
| Accuracy | Segments | Branch |
|---|---|---|
| 98.4% | 1 | x |
| 98.4% | 1 | y |
| 98.4% | 1 | z |
| 98.4% | 1 | t |
| 98.4% | 1 | a |
| 98.4% | 1 | b |
| 98.4% | 1 | (+.f64 (+.f64 (*.f64 x y) (*.f64 z t)) (*.f64 a b)) |
| 98.4% | 1 | (+.f64 (*.f64 x y) (*.f64 z t)) |
| 98.4% | 1 | (*.f64 x y) |
| 98.4% | 1 | (*.f64 z t) |
| 98.4% | 1 | (*.f64 a b) |
Compiled 33 to 77 computations (-133.3% saved)
| Inputs |
|---|
#s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 a b))) |
#s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 x y))) |
#s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 z t))) |
#s(approx (+ (+ (* x y) (* z t)) (* a b)) (+.f64 (*.f64 x y) (*.f64 z t))) |
(+.f64 #s(approx (+ (* x y) (* z t)) (*.f64 x y)) (*.f64 a b)) |
(+.f64 #s(approx (+ (* x y) (* z t)) (*.f64 z t)) (*.f64 a b)) |
| Outputs |
|---|
#s(approx (+ (+ (* x y) (* z t)) (* a b)) (+.f64 (*.f64 x y) (*.f64 z t))) |
(+.f64 #s(approx (+ (* x y) (* z t)) (*.f64 z t)) (*.f64 a b)) |
(+.f64 #s(approx (+ (* x y) (* z t)) (*.f64 x y)) (*.f64 a b)) |
#s(approx (+ (+ (* x y) (* z t)) (* a b)) (+.f64 (*.f64 x y) (*.f64 z t))) |
11 calls:
| 3.0ms | z |
| 3.0ms | (*.f64 x y) |
| 3.0ms | y |
| 3.0ms | x |
| 3.0ms | a |
| Accuracy | Segments | Branch |
|---|---|---|
| 85.3% | 3 | x |
| 83.9% | 3 | y |
| 85.8% | 4 | z |
| 80.6% | 3 | t |
| 86.8% | 4 | a |
| 81.8% | 3 | b |
| 77.4% | 4 | (+.f64 (+.f64 (*.f64 x y) (*.f64 z t)) (*.f64 a b)) |
| 85.1% | 3 | (+.f64 (*.f64 x y) (*.f64 z t)) |
| 87.2% | 3 | (*.f64 x y) |
| 90.0% | 4 | (*.f64 z t) |
| 88.4% | 3 | (*.f64 a b) |
Compiled 33 to 77 computations (-133.3% saved)
| Inputs |
|---|
#s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 a b))) |
#s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 x y))) |
#s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 z t))) |
#s(approx (+ (+ (* x y) (* z t)) (* a b)) (+.f64 (*.f64 x y) (*.f64 z t))) |
(+.f64 #s(approx (+ (* x y) (* z t)) (*.f64 x y)) (*.f64 a b)) |
| Outputs |
|---|
#s(approx (+ (+ (* x y) (* z t)) (* a b)) (+.f64 (*.f64 x y) (*.f64 z t))) |
(+.f64 #s(approx (+ (* x y) (* z t)) (*.f64 x y)) (*.f64 a b)) |
#s(approx (+ (+ (* x y) (* z t)) (* a b)) (+.f64 (*.f64 x y) (*.f64 z t))) |
2 calls:
| 2.0ms | (*.f64 z t) |
| 2.0ms | (*.f64 a b) |
| Accuracy | Segments | Branch |
|---|---|---|
| 85.7% | 3 | (*.f64 a b) |
| 88.1% | 3 | (*.f64 z t) |
Compiled 6 to 14 computations (-133.3% saved)
| Inputs |
|---|
#s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 a b))) |
#s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 x y))) |
#s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 z t))) |
#s(approx (+ (+ (* x y) (* z t)) (* a b)) (+.f64 (*.f64 x y) (*.f64 z t))) |
| Outputs |
|---|
#s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 a b))) |
#s(approx (+ (+ (* x y) (* z t)) (* a b)) (+.f64 (*.f64 x y) (*.f64 z t))) |
#s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 a b))) |
6 calls:
| 3.0ms | (*.f64 x y) |
| 2.0ms | a |
| 2.0ms | x |
| 2.0ms | (*.f64 a b) |
| 2.0ms | (*.f64 z t) |
| Accuracy | Segments | Branch |
|---|---|---|
| 80.9% | 3 | (+.f64 (*.f64 x y) (*.f64 z t)) |
| 78.2% | 3 | a |
| 69.7% | 1 | x |
| 84.7% | 3 | (*.f64 a b) |
| 73.1% | 3 | (*.f64 x y) |
| 69.7% | 1 | (*.f64 z t) |
Compiled 18 to 42 computations (-133.3% saved)
| Inputs |
|---|
#s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 a b))) |
#s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 x y))) |
#s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 z t))) |
| Outputs |
|---|
#s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 x y))) |
#s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 a b))) |
#s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 z t))) |
#s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 a b))) |
#s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 x y))) |
11 calls:
| 2.0ms | (+.f64 (*.f64 x y) (*.f64 z t)) |
| 2.0ms | b |
| 2.0ms | t |
| 2.0ms | a |
| 2.0ms | y |
| Accuracy | Segments | Branch |
|---|---|---|
| 60.2% | 4 | (*.f64 z t) |
| 56.2% | 4 | x |
| 62.3% | 5 | (*.f64 x y) |
| 49.8% | 6 | (+.f64 (+.f64 (*.f64 x y) (*.f64 z t)) (*.f64 a b)) |
| 55.2% | 4 | a |
| 52.4% | 4 | t |
| 58.4% | 5 | (+.f64 (*.f64 x y) (*.f64 z t)) |
| 49.7% | 3 | b |
| 52.9% | 3 | y |
| 56.4% | 5 | z |
| 56.6% | 3 | (*.f64 a b) |
Compiled 33 to 77 computations (-133.3% saved)
| Inputs |
|---|
#s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 a b))) |
#s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 x y))) |
| Outputs |
|---|
#s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 a b))) |
#s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 x y))) |
#s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 a b))) |
3 calls:
| 1.0ms | (*.f64 a b) |
| 1.0ms | (*.f64 z t) |
| 1.0ms | (*.f64 x y) |
| Accuracy | Segments | Branch |
|---|---|---|
| 56.6% | 3 | (*.f64 a b) |
| 39.1% | 2 | (*.f64 z t) |
| 54.9% | 3 | (*.f64 x y) |
Compiled 9 to 21 computations (-133.3% saved)
Total -0.0b remaining (-0%)
Threshold costs -0b (-0%)
| Inputs |
|---|
#s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 a b))) |
| Outputs |
|---|
#s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 a b))) |
11 calls:
| 1.0ms | b |
| 1.0ms | (+.f64 (+.f64 (*.f64 x y) (*.f64 z t)) (*.f64 a b)) |
| 1.0ms | y |
| 1.0ms | x |
| 1.0ms | a |
| Accuracy | Segments | Branch |
|---|---|---|
| 34.1% | 1 | (*.f64 z t) |
| 34.1% | 1 | (+.f64 (+.f64 (*.f64 x y) (*.f64 z t)) (*.f64 a b)) |
| 34.1% | 1 | b |
| 34.1% | 1 | t |
| 34.1% | 1 | y |
| 34.1% | 1 | z |
| 34.1% | 1 | a |
| 34.1% | 1 | x |
| 34.1% | 1 | (*.f64 x y) |
| 34.1% | 1 | (+.f64 (*.f64 x y) (*.f64 z t)) |
| 34.1% | 1 | (*.f64 a b) |
Compiled 33 to 77 computations (-133.3% saved)
| 3× | binary-search |
| 1× | narrow-enough |
| 1× | narrow-enough |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 9.0ms | 5.068130631931494e+107 | 2.0826364457599178e+108 |
| 28.0ms | -2.132918809734103e-30 | -1.766654061343391e-33 |
| 11.0ms | -1.9516046658351003e+63 | -7.81787771829877e+60 |
| 18.0ms | 336× | 0 | valid |
Compiled 640 to 606 computations (5.3% saved)
ival-mult: 5.0ms (62.8% of total)ival-add: 3.0ms (37.7% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 2× | binary-search |
| 1× | narrow-enough |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 1.0ms | 5.068130631931494e+107 | 2.0826364457599178e+108 |
| 11.0ms | -1.5799294469390145e+45 | -3.810708018364309e+41 |
| 7.0ms | 128× | 0 | valid |
Compiled 462 to 426 computations (7.8% saved)
ival-mult: 2.0ms (65.3% of total)ival-add: 1.0ms (32.6% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 2× | binary-search |
| 1× | narrow-enough |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 11.0ms | 4.573018134481203e+170 | 2.36879852948085e+174 |
| 15.0ms | -5.239929437603687e+200 | -1.8772834210919903e+185 |
| 15.0ms | 288× | 0 | valid |
Compiled 734 to 560 computations (23.7% saved)
ival-mult: 4.0ms (58.8% of total)ival-add: 2.0ms (29.4% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 4× | binary-search |
| 1× | narrow-enough |
| 1× | narrow-enough |
| 1× | narrow-enough |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 13.0ms | 1.8102963722210006e+45 | 2.913793669474965e+50 |
| 13.0ms | 1.4341029734164639e-39 | 2.03512426463279e-35 |
| 13.0ms | -4.698792097542679e-179 | -8.031714332900104e-186 |
| 14.0ms | -1.7170271326273146e+56 | -1.7641349334797871e+50 |
| 31.0ms | 560× | 0 | valid |
Compiled 1 588 to 1 052 computations (33.8% saved)
ival-mult: 8.0ms (55.3% of total)ival-add: 6.0ms (41.5% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 2× | binary-search |
| 1× | narrow-enough |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 12.0ms | 4.1191344564810615e-24 | 3.6552763850529334e-22 |
| 8.0ms | -2.37057548956602e+105 | -2.6852805019911404e+104 |
| 11.0ms | 208× | 0 | valid |
Compiled 586 to 397 computations (32.3% saved)
ival-mult: 3.0ms (61.4% of total)ival-add: 2.0ms (40.9% 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) (*.f64 z t)) (*.f64 a b)) |
(if (<=.f64 (*.f64 z t) #s(literal -299999999999999999088617516181804470671953197798974385752637440 binary64)) #s(approx (+ (+ (* x y) (* z t)) (* a b)) (+.f64 (*.f64 x y) (*.f64 z t))) (if (<=.f64 (*.f64 z t) #s(literal -2374940160662717/45671926166590716193865151022383844364247891968 binary64)) (+.f64 #s(approx (+ (* x y) (* z t)) (*.f64 z t)) (*.f64 a b)) (if (<=.f64 (*.f64 z t) #s(literal 1399999999999999891154225415715423007504935737757814498046030367229121331556894656193354441108767789404913664 binary64)) (+.f64 #s(approx (+ (* x y) (* z t)) (*.f64 x y)) (*.f64 a b)) #s(approx (+ (+ (* x y) (* z t)) (* a b)) (+.f64 (*.f64 x y) (*.f64 z t)))))) |
(if (<=.f64 (*.f64 z t) #s(literal -819999999999999929724470997836857985376190464 binary64)) #s(approx (+ (+ (* x y) (* z t)) (* a b)) (+.f64 (*.f64 x y) (*.f64 z t))) (if (<=.f64 (*.f64 z t) #s(literal 1399999999999999891154225415715423007504935737757814498046030367229121331556894656193354441108767789404913664 binary64)) (+.f64 #s(approx (+ (* x y) (* z t)) (*.f64 x y)) (*.f64 a b)) #s(approx (+ (+ (* x y) (* z t)) (* a b)) (+.f64 (*.f64 x y) (*.f64 z t))))) |
(if (<=.f64 (*.f64 a b) #s(literal -189999999999999990088898512348739718923867266273469688425776149935610521007326530513873914933537073827131716880155590636238466804937760410055654600305146809036523880146662003085374652416 binary64)) #s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 a b))) (if (<=.f64 (*.f64 a b) #s(literal 6800000000000000287680801023095067500700636373047791337924631324274000172353184208551730195696836164865305370457638468985419989788157523950763872493806701652812513337671680 binary64)) #s(approx (+ (+ (* x y) (* z t)) (* a b)) (+.f64 (*.f64 x y) (*.f64 z t))) #s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 a b))))) |
(if (<=.f64 (*.f64 x y) #s(literal -549999999999999975003873838340241420593026678583721984 binary64)) #s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 x y))) (if (<=.f64 (*.f64 x y) #s(literal -5606327030934153/1167984798111281975972139931059274579172666497855631342228273284582214442805421410945513679697247078343332431250840168271536308408672112127552681297848886832192510636636227827221215793215130566656 binary64)) #s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 a b))) (if (<=.f64 (*.f64 x y) #s(literal 2244866514940267/187072209578355573530071658587684226515959365500928 binary64)) #s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 z t))) (if (<=.f64 (*.f64 x y) #s(literal 3300000000000000225820920463358132966081362395136 binary64)) #s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 a b))) #s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 x y))))))) |
(if (<=.f64 (*.f64 a b) #s(literal -880000000000000001685794075446508487870040511993368969814467092847453805299510105245887807695198684708864 binary64)) #s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 a b))) (if (<=.f64 (*.f64 a b) #s(literal 2445779512244245/21267647932558653966460912964485513216 binary64)) #s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 x y))) #s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 a b))))) |
#s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 a b))) |
| Outputs |
|---|
(+.f64 (+.f64 (*.f64 x y) (*.f64 z t)) (*.f64 a b)) |
(if (<=.f64 (*.f64 z t) #s(literal -299999999999999999088617516181804470671953197798974385752637440 binary64)) #s(approx (+ (+ (* x y) (* z t)) (* a b)) (+.f64 (*.f64 x y) (*.f64 z t))) (if (<=.f64 (*.f64 z t) #s(literal -2374940160662717/45671926166590716193865151022383844364247891968 binary64)) (+.f64 #s(approx (+ (* x y) (* z t)) (*.f64 z t)) (*.f64 a b)) (if (<=.f64 (*.f64 z t) #s(literal 1399999999999999891154225415715423007504935737757814498046030367229121331556894656193354441108767789404913664 binary64)) (+.f64 #s(approx (+ (* x y) (* z t)) (*.f64 x y)) (*.f64 a b)) #s(approx (+ (+ (* x y) (* z t)) (* a b)) (+.f64 (*.f64 x y) (*.f64 z t)))))) |
(if (<=.f64 (*.f64 z t) #s(literal -819999999999999929724470997836857985376190464 binary64)) #s(approx (+ (+ (* x y) (* z t)) (* a b)) (+.f64 (*.f64 x y) (*.f64 z t))) (if (<=.f64 (*.f64 z t) #s(literal 1399999999999999891154225415715423007504935737757814498046030367229121331556894656193354441108767789404913664 binary64)) (+.f64 #s(approx (+ (* x y) (* z t)) (*.f64 x y)) (*.f64 a b)) #s(approx (+ (+ (* x y) (* z t)) (* a b)) (+.f64 (*.f64 x y) (*.f64 z t))))) |
(if (<=.f64 (*.f64 a b) #s(literal -189999999999999990088898512348739718923867266273469688425776149935610521007326530513873914933537073827131716880155590636238466804937760410055654600305146809036523880146662003085374652416 binary64)) #s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 a b))) (if (<=.f64 (*.f64 a b) #s(literal 6800000000000000287680801023095067500700636373047791337924631324274000172353184208551730195696836164865305370457638468985419989788157523950763872493806701652812513337671680 binary64)) #s(approx (+ (+ (* x y) (* z t)) (* a b)) (+.f64 (*.f64 x y) (*.f64 z t))) #s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 a b))))) |
(if (<=.f64 (*.f64 x y) #s(literal -549999999999999975003873838340241420593026678583721984 binary64)) #s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 x y))) (if (<=.f64 (*.f64 x y) #s(literal -5606327030934153/1167984798111281975972139931059274579172666497855631342228273284582214442805421410945513679697247078343332431250840168271536308408672112127552681297848886832192510636636227827221215793215130566656 binary64)) #s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 a b))) (if (<=.f64 (*.f64 x y) #s(literal 2244866514940267/187072209578355573530071658587684226515959365500928 binary64)) #s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 z t))) (if (<=.f64 (*.f64 x y) #s(literal 3300000000000000225820920463358132966081362395136 binary64)) #s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 a b))) #s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 x y))))))) |
(if (<=.f64 (*.f64 a b) #s(literal -880000000000000001685794075446508487870040511993368969814467092847453805299510105245887807695198684708864 binary64)) #s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 a b))) (if (<=.f64 (*.f64 a b) #s(literal 2445779512244245/21267647932558653966460912964485513216 binary64)) #s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 x y))) #s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 a b))))) |
#s(approx (+ (+ (* x y) (* z t)) (* a b)) #s(approx (+ (* x y) (* z t)) (*.f64 a b))) |
| 1× | done |
Compiled 482 to 61 computations (87.3% saved)
Compiled 986 to 144 computations (85.4% saved)
Loading profile data...