
Time bar (total: 818.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)
| 366.0ms | 8 256× | 0 | valid |
ival-add: 106.0ms (61.1% of total)ival-mult: 58.0ms (33.4% of total)ival-true: 6.0ms (3.5% of total)ival-assert: 3.0ms (1.7% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | (+.f64 z x) |
| 0 | 0 | - | 0 | - | y |
| 0 | 0 | - | 0 | - | (*.f64 y (+.f64 z x)) |
| 0 | 0 | - | 0 | - | (+.f64 x (*.f64 y (+.f64 z x))) |
| 0 | 0 | - | 0 | - | z |
| 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 |
| 25.0ms | 512× | 0 | valid |
Compiled 65 to 28 computations (56.9% saved)
ival-add: 5.0ms (53% of total)ival-mult: 4.0ms (42.4% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 1× | egg-herbie |
| Inputs |
|---|
(+.f64 x (*.f64 y (+.f64 z x))) |
| Outputs |
|---|
(+.f64 x (*.f64 y (+.f64 z x))) |
Compiled 7 to 6 computations (14.3% saved)
Compiled 0 to 3 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (+.f64 x (*.f64 y (+.f64 z 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 z x) | |
| cost-diff | 0 | (*.f64 y (+.f64 z x)) | |
| cost-diff | 0 | (+.f64 x (*.f64 y (+.f64 z x))) |
| Inputs |
|---|
(+.f64 x (*.f64 y (+.f64 z x))) |
x |
(*.f64 y (+.f64 z x)) |
y |
(+.f64 z x) |
z |
| Outputs |
|---|
(+.f64 x (*.f64 y (+.f64 z x))) |
x |
(*.f64 y (+.f64 z x)) |
y |
(+.f64 z x) |
z |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (+.f64 z x) | |
| accuracy | 0.0 | (*.f64 y (+.f64 z x)) | |
| accuracy | 0.00390625 | (+.f64 x (*.f64 y (+.f64 z x))) |
| 13.0ms | 256× | 0 | valid |
Compiled 38 to 14 computations (63.2% saved)
ival-add: 3.0ms (47.2% of total)ival-mult: 3.0ms (47.2% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
(+.f64 x (*.f64 y (+.f64 z x))) |
(*.f64 y (+.f64 z x)) |
(+.f64 z x) |
| Outputs |
|---|
(* y z) |
(+ (* x (+ 1 y)) (* y z)) |
(+ (* x y) (* y z)) |
z |
(+ x z) |
(* x (+ 1 y)) |
(* x (+ 1 (+ y (/ (* y z) x)))) |
(* x y) |
(* x (+ y (/ (* y z) x))) |
x |
(* x (+ 1 (/ z x))) |
(* -1 (* x (- (* -1 y) 1))) |
(* -1 (* x (- (+ (* -1 y) (* -1 (/ (* y z) x))) 1))) |
(* -1 (* x (+ (* -1 y) (* -1 (/ (* y z) x))))) |
(* -1 (* x (- (* -1 (/ z x)) 1))) |
(+ x (* y (+ x z))) |
(* y (+ x z)) |
(* y (+ x (+ z (/ x y)))) |
(* -1 (* y (+ (* -1 (+ x z)) (* -1 (/ x y))))) |
(+ x (* x y)) |
(+ x (+ (* x y) (* y z))) |
(* z (+ y (+ (/ x z) (/ (* x y) z)))) |
(* z (+ y (/ (* x y) z))) |
(* z (+ 1 (/ x z))) |
(* -1 (* z (+ (* -1 y) (* -1 (/ (+ x (* x y)) z))))) |
(* -1 (* z (+ (* -1 y) (* -1 (/ (* x y) z))))) |
(* -1 (* z (- (* -1 (/ x z)) 1))) |
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | y | @ | inf | ((+ x (* y (+ z x))) (* y (+ z x)) (+ z x)) |
| 1.0ms | x | @ | inf | ((+ x (* y (+ z x))) (* y (+ z x)) (+ z x)) |
| 0.0ms | y | @ | -inf | ((+ x (* y (+ z x))) (* y (+ z x)) (+ z x)) |
| 0.0ms | z | @ | -inf | ((+ x (* y (+ z x))) (* y (+ z x)) (+ z x)) |
| 0.0ms | x | @ | -inf | ((+ x (* y (+ z x))) (* y (+ z x)) (+ z x)) |
| 1× | egg-herbie |
| Inputs |
|---|
(* y z) |
(+ (* x (+ 1 y)) (* y z)) |
(+ (* x y) (* y z)) |
z |
(+ x z) |
(* x (+ 1 y)) |
(* x (+ 1 (+ y (/ (* y z) x)))) |
(* x y) |
(* x (+ y (/ (* y z) x))) |
x |
(* x (+ 1 (/ z x))) |
(* -1 (* x (- (* -1 y) 1))) |
(* -1 (* x (- (+ (* -1 y) (* -1 (/ (* y z) x))) 1))) |
(* -1 (* x (+ (* -1 y) (* -1 (/ (* y z) x))))) |
(* -1 (* x (- (* -1 (/ z x)) 1))) |
(+ x (* y (+ x z))) |
(* y (+ x z)) |
(* y (+ x (+ z (/ x y)))) |
(* -1 (* y (+ (* -1 (+ x z)) (* -1 (/ x y))))) |
(+ x (* x y)) |
(+ x (+ (* x y) (* y z))) |
(* z (+ y (+ (/ x z) (/ (* x y) z)))) |
(* z (+ y (/ (* x y) z))) |
(* z (+ 1 (/ x z))) |
(* -1 (* z (+ (* -1 y) (* -1 (/ (+ x (* x y)) z))))) |
(* -1 (* z (+ (* -1 y) (* -1 (/ (* x y) z))))) |
(* -1 (* z (- (* -1 (/ x z)) 1))) |
| Outputs |
|---|
(* y z) |
(+.f64 x (*.f64 y (+.f64 z x))) |
(+ (* x (+ 1 y)) (* y z)) |
(*.f64 y (+.f64 z x)) |
(+ (* x y) (* y z)) |
(+.f64 z x) |
| Inputs |
|---|
(+.f64 x (*.f64 y (+.f64 z x))) |
(*.f64 y (+.f64 z x)) |
(+.f64 z x) |
| Outputs |
|---|
(+.f64 x (*.f64 y (+.f64 z x))) |
(*.f64 y (+.f64 z x)) |
(+.f64 z x) |
Compiled 60 to 13 computations (78.3% 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 x (*.f64 y (+.f64 z x))) |
| ▶ | 7.8% | (+.f64 x #s(approx (* y (+ z x)) (+.f64 z x))) |
| ▶ | 65.3% | #s(approx (+ x (* y (+ z x))) (*.f64 y (+.f64 z x))) |
Compiled 31 to 23 computations (25.8% saved)
| 1× | egg-herbie |
Found 6 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (+.f64 z x) | |
| cost-diff | 0 | #s(approx (* y (+ z x)) (+.f64 z x)) | |
| cost-diff | 0 | (+.f64 x #s(approx (* y (+ z x)) (+.f64 z x))) | |
| cost-diff | 0 | (+.f64 z x) | |
| cost-diff | 0 | (*.f64 y (+.f64 z x)) | |
| cost-diff | 0 | #s(approx (+ x (* y (+ z x))) (*.f64 y (+.f64 z x))) |
| Inputs |
|---|
#s(approx (+ x (* y (+ z x))) (*.f64 y (+.f64 z x))) |
(*.f64 y (+.f64 z x)) |
y |
(+.f64 z x) |
z |
x |
(+.f64 x #s(approx (* y (+ z x)) (+.f64 z x))) |
x |
#s(approx (* y (+ z x)) (+.f64 z x)) |
(+.f64 z x) |
z |
| Outputs |
|---|
#s(approx (+ x (* y (+ z x))) (*.f64 y (+.f64 z x))) |
(*.f64 y (+.f64 z x)) |
y |
(+.f64 z x) |
z |
x |
(+.f64 x #s(approx (* y (+ z x)) (+.f64 z x))) |
x |
#s(approx (* y (+ z x)) (+.f64 z x)) |
(+.f64 z x) |
z |
Found 6 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (+.f64 z x) | |
| accuracy | 0.00390625 | (+.f64 x #s(approx (* y (+ z x)) (+.f64 z x))) | |
| accuracy | 61.57631824156104 | #s(approx (* y (+ z x)) (+.f64 z x)) | |
| accuracy | 0.0 | (+.f64 z x) | |
| accuracy | 0.0 | (*.f64 y (+.f64 z x)) | |
| accuracy | 22.18557149101372 | #s(approx (+ x (* y (+ z x))) (*.f64 y (+.f64 z x))) |
| 15.0ms | 256× | 0 | valid |
Compiled 86 to 19 computations (77.9% saved)
ival-add: 3.0ms (61% of total)ival-mult: 2.0ms (40.7% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(approx (+ x (* y (+ z x))) (*.f64 y (+.f64 z x))) |
(*.f64 y (+.f64 z x)) |
(+.f64 z x) |
(+.f64 x #s(approx (* y (+ z x)) (+.f64 z x))) |
#s(approx (* y (+ z x)) (+.f64 z x)) |
| Outputs |
|---|
(* y z) |
(+ (* x (+ 1 y)) (* y z)) |
(+ (* x y) (* y z)) |
z |
(+ x z) |
(* x (+ 1 y)) |
(* x (+ 1 (+ y (/ (* y z) x)))) |
(* x y) |
(* x (+ y (/ (* y z) x))) |
x |
(* x (+ 1 (/ z x))) |
(* -1 (* x (- (* -1 y) 1))) |
(* -1 (* x (- (+ (* -1 y) (* -1 (/ (* y z) x))) 1))) |
(* -1 (* x (+ (* -1 y) (* -1 (/ (* y z) x))))) |
(* -1 (* x (- (* -1 (/ z x)) 1))) |
(+ x (* y (+ x z))) |
(* y (+ x z)) |
(* y (+ x (+ z (/ x y)))) |
(* -1 (* y (+ (* -1 (+ x z)) (* -1 (/ x y))))) |
(+ x (* x y)) |
(+ x (+ (* x y) (* y z))) |
(* z (+ y (+ (/ x z) (/ (* x y) z)))) |
(* z (+ y (/ (* x y) z))) |
(* z (+ 1 (/ x z))) |
(* -1 (* z (+ (* -1 y) (* -1 (/ (+ x (* x y)) z))))) |
(* -1 (* z (+ (* -1 y) (* -1 (/ (* x y) z))))) |
(* -1 (* z (- (* -1 (/ x z)) 1))) |
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | y | @ | inf | ((+ x (* y (+ z x))) (* y (+ z x)) (+ z x) (+ x (* y (+ z x))) (* y (+ z x))) |
| 0.0ms | y | @ | -inf | ((+ x (* y (+ z x))) (* y (+ z x)) (+ z x) (+ x (* y (+ z x))) (* y (+ z x))) |
| 0.0ms | x | @ | -inf | ((+ x (* y (+ z x))) (* y (+ z x)) (+ z x) (+ x (* y (+ z x))) (* y (+ z x))) |
| 0.0ms | z | @ | -inf | ((+ x (* y (+ z x))) (* y (+ z x)) (+ z x) (+ x (* y (+ z x))) (* y (+ z x))) |
| 0.0ms | x | @ | inf | ((+ x (* y (+ z x))) (* y (+ z x)) (+ z x) (+ x (* y (+ z x))) (* y (+ z x))) |
| 1× | egg-herbie |
| Inputs |
|---|
(* y z) |
(+ (* x (+ 1 y)) (* y z)) |
(+ (* x y) (* y z)) |
z |
(+ x z) |
(* x (+ 1 y)) |
(* x (+ 1 (+ y (/ (* y z) x)))) |
(* x y) |
(* x (+ y (/ (* y z) x))) |
x |
(* x (+ 1 (/ z x))) |
(* -1 (* x (- (* -1 y) 1))) |
(* -1 (* x (- (+ (* -1 y) (* -1 (/ (* y z) x))) 1))) |
(* -1 (* x (+ (* -1 y) (* -1 (/ (* y z) x))))) |
(* -1 (* x (- (* -1 (/ z x)) 1))) |
(+ x (* y (+ x z))) |
(* y (+ x z)) |
(* y (+ x (+ z (/ x y)))) |
(* -1 (* y (+ (* -1 (+ x z)) (* -1 (/ x y))))) |
(+ x (* x y)) |
(+ x (+ (* x y) (* y z))) |
(* z (+ y (+ (/ x z) (/ (* x y) z)))) |
(* z (+ y (/ (* x y) z))) |
(* z (+ 1 (/ x z))) |
(* -1 (* z (+ (* -1 y) (* -1 (/ (+ x (* x y)) z))))) |
(* -1 (* z (+ (* -1 y) (* -1 (/ (* x y) z))))) |
(* -1 (* z (- (* -1 (/ x z)) 1))) |
| Outputs |
|---|
(* y z) |
#s(approx (+ x (* y (+ z x))) (*.f64 y (+.f64 z x))) |
(+ (* x (+ 1 y)) (* y z)) |
(*.f64 y (+.f64 z x)) |
(+ (* x y) (* y z)) |
(+.f64 z x) |
z |
(+.f64 x #s(approx (* y (+ z x)) (+.f64 z x))) |
(+ x z) |
#s(approx (* y (+ z x)) (+.f64 z x)) |
| Inputs |
|---|
#s(approx (+ x (* y (+ z x))) (*.f64 y (+.f64 z x))) |
(*.f64 y (+.f64 z x)) |
(+.f64 z x) |
(+.f64 x #s(approx (* y (+ z x)) (+.f64 z x))) |
#s(approx (* y (+ z x)) (+.f64 z x)) |
| Outputs |
|---|
#s(approx (+ x (* y (+ z x))) (*.f64 y (+.f64 z x))) |
(*.f64 y (+.f64 z x)) |
(+.f64 z x) |
(+.f64 x #s(approx (* y (+ z x)) (+.f64 z x))) |
#s(approx (* y (+ z x)) (+.f64 z x)) |
Compiled 191 to 23 computations (88% saved)
4 alts after pruning (1 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 10 | 1 | 11 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 2 | 2 |
| Done | 0 | 1 | 1 |
| Total | 10 | 4 | 14 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (+.f64 x (*.f64 y (+.f64 z x))) |
| ✓ | 7.8% | (+.f64 x #s(approx (* y (+ z x)) (+.f64 z x))) |
| ✓ | 65.3% | #s(approx (+ x (* y (+ z x))) (*.f64 y (+.f64 z x))) |
| ▶ | 28.3% | #s(approx (+ x (* y (+ z x))) #s(approx (* y (+ z x)) (+.f64 z x))) |
Compiled 48 to 32 computations (33.3% saved)
| 1× | egg-herbie |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (+.f64 z x) | |
| cost-diff | 0 | #s(approx (* y (+ z x)) (+.f64 z x)) | |
| cost-diff | 0 | #s(approx (+ x (* y (+ z x))) #s(approx (* y (+ z x)) (+.f64 z x))) |
| Inputs |
|---|
#s(approx (+ x (* y (+ z x))) #s(approx (* y (+ z x)) (+.f64 z x))) |
#s(approx (* y (+ z x)) (+.f64 z x)) |
(+.f64 z x) |
z |
x |
| Outputs |
|---|
#s(approx (+ x (* y (+ z x))) #s(approx (* y (+ z x)) (+.f64 z x))) |
#s(approx (* y (+ z x)) (+.f64 z x)) |
(+.f64 z x) |
z |
x |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (+.f64 z x) | |
| accuracy | 22.18557149101372 | #s(approx (+ x (* y (+ z x))) #s(approx (* y (+ z x)) (+.f64 z x))) | |
| accuracy | 61.57631824156104 | #s(approx (* y (+ z x)) (+.f64 z x)) |
| 11.0ms | 256× | 0 | valid |
Compiled 50 to 17 computations (66% saved)
ival-add: 3.0ms (65.8% of total)ival-mult: 2.0ms (43.9% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(approx (+ x (* y (+ z x))) #s(approx (* y (+ z x)) (+.f64 z x))) |
#s(approx (* y (+ z x)) (+.f64 z x)) |
(+.f64 z x) |
| Outputs |
|---|
(* y z) |
(+ (* x (+ 1 y)) (* y z)) |
(+ (* x y) (* y z)) |
z |
(+ x z) |
(* x (+ 1 y)) |
(* x (+ 1 (+ y (/ (* y z) x)))) |
(* x y) |
(* x (+ y (/ (* y z) x))) |
x |
(* x (+ 1 (/ z x))) |
(* -1 (* x (- (* -1 y) 1))) |
(* -1 (* x (- (+ (* -1 y) (* -1 (/ (* y z) x))) 1))) |
(* -1 (* x (+ (* -1 y) (* -1 (/ (* y z) x))))) |
(* -1 (* x (- (* -1 (/ z x)) 1))) |
(+ x (* y (+ x z))) |
(* y (+ x z)) |
(* y (+ x (+ z (/ x y)))) |
(* -1 (* y (+ (* -1 (+ x z)) (* -1 (/ x y))))) |
(+ x (* x y)) |
(+ x (+ (* x y) (* y z))) |
(* z (+ y (+ (/ x z) (/ (* x y) z)))) |
(* z (+ y (/ (* x y) z))) |
(* z (+ 1 (/ x z))) |
(* -1 (* z (+ (* -1 y) (* -1 (/ (+ x (* x y)) z))))) |
(* -1 (* z (+ (* -1 y) (* -1 (/ (* x y) z))))) |
(* -1 (* z (- (* -1 (/ x z)) 1))) |
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | y | @ | inf | ((+ x (* y (+ z x))) (* y (+ z x)) (+ z x)) |
| 0.0ms | y | @ | -inf | ((+ x (* y (+ z x))) (* y (+ z x)) (+ z x)) |
| 0.0ms | z | @ | -inf | ((+ x (* y (+ z x))) (* y (+ z x)) (+ z x)) |
| 0.0ms | x | @ | -inf | ((+ x (* y (+ z x))) (* y (+ z x)) (+ z x)) |
| 0.0ms | x | @ | inf | ((+ x (* y (+ z x))) (* y (+ z x)) (+ z x)) |
| 1× | egg-herbie |
| Inputs |
|---|
(* y z) |
(+ (* x (+ 1 y)) (* y z)) |
(+ (* x y) (* y z)) |
z |
(+ x z) |
(* x (+ 1 y)) |
(* x (+ 1 (+ y (/ (* y z) x)))) |
(* x y) |
(* x (+ y (/ (* y z) x))) |
x |
(* x (+ 1 (/ z x))) |
(* -1 (* x (- (* -1 y) 1))) |
(* -1 (* x (- (+ (* -1 y) (* -1 (/ (* y z) x))) 1))) |
(* -1 (* x (+ (* -1 y) (* -1 (/ (* y z) x))))) |
(* -1 (* x (- (* -1 (/ z x)) 1))) |
(+ x (* y (+ x z))) |
(* y (+ x z)) |
(* y (+ x (+ z (/ x y)))) |
(* -1 (* y (+ (* -1 (+ x z)) (* -1 (/ x y))))) |
(+ x (* x y)) |
(+ x (+ (* x y) (* y z))) |
(* z (+ y (+ (/ x z) (/ (* x y) z)))) |
(* z (+ y (/ (* x y) z))) |
(* z (+ 1 (/ x z))) |
(* -1 (* z (+ (* -1 y) (* -1 (/ (+ x (* x y)) z))))) |
(* -1 (* z (+ (* -1 y) (* -1 (/ (* x y) z))))) |
(* -1 (* z (- (* -1 (/ x z)) 1))) |
| Outputs |
|---|
(* y z) |
#s(approx (+ x (* y (+ z x))) #s(approx (* y (+ z x)) (+.f64 z x))) |
(+ (* x (+ 1 y)) (* y z)) |
#s(approx (* y (+ z x)) (+.f64 z x)) |
(+ (* x y) (* y z)) |
(+.f64 z x) |
| Inputs |
|---|
#s(approx (+ x (* y (+ z x))) #s(approx (* y (+ z x)) (+.f64 z x))) |
#s(approx (* y (+ z x)) (+.f64 z x)) |
(+.f64 z x) |
| Outputs |
|---|
#s(approx (+ x (* y (+ z x))) #s(approx (* y (+ z x)) (+.f64 z x))) |
#s(approx (* y (+ z x)) (+.f64 z x)) |
(+.f64 z x) |
Compiled 76 to 10 computations (86.8% 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 x (*.f64 y (+.f64 z x))) |
| ✓ | 7.8% | (+.f64 x #s(approx (* y (+ z x)) (+.f64 z x))) |
| ✓ | 65.3% | #s(approx (+ x (* y (+ z x))) (*.f64 y (+.f64 z x))) |
| ✓ | 28.3% | #s(approx (+ x (* y (+ z x))) #s(approx (* y (+ z x)) (+.f64 z x))) |
Compiled 96 to 45 computations (53.1% saved)
| Inputs |
|---|
#s(approx (+ x (* y (+ z x))) #s(approx (* y (+ z x)) (+.f64 z x))) |
(+.f64 x #s(approx (* y (+ z x)) (+.f64 z x))) |
#s(approx (+ x (* y (+ z x))) (*.f64 y (+.f64 z x))) |
(+.f64 x (*.f64 y (+.f64 z x))) |
| Outputs |
|---|
(+.f64 x (*.f64 y (+.f64 z x))) |
4 calls:
| 2.0ms | z |
| 2.0ms | x |
| 2.0ms | y |
| 2.0ms | (+.f64 x (*.f64 y (+.f64 z x))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | x |
| 100.0% | 1 | y |
| 100.0% | 1 | z |
| 100.0% | 1 | (+.f64 x (*.f64 y (+.f64 z x))) |
Compiled 10 to 15 computations (-50% saved)
| Inputs |
|---|
#s(approx (+ x (* y (+ z x))) #s(approx (* y (+ z x)) (+.f64 z x))) |
(+.f64 x #s(approx (* y (+ z x)) (+.f64 z x))) |
#s(approx (+ x (* y (+ z x))) (*.f64 y (+.f64 z x))) |
| Outputs |
|---|
#s(approx (+ x (* y (+ z x))) (*.f64 y (+.f64 z x))) |
#s(approx (+ x (* y (+ z x))) #s(approx (* y (+ z x)) (+.f64 z x))) |
#s(approx (+ x (* y (+ z x))) (*.f64 y (+.f64 z x))) |
4 calls:
| 2.0ms | z |
| 2.0ms | y |
| 2.0ms | x |
| 2.0ms | (+.f64 x (*.f64 y (+.f64 z x))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 67.5% | 2 | x |
| 76.7% | 3 | y |
| 65.3% | 1 | z |
| 65.3% | 1 | (+.f64 x (*.f64 y (+.f64 z x))) |
Compiled 10 to 15 computations (-50% saved)
Total -13.1b remaining (-28.5%)
Threshold costs -13.1b (-28.5%)
| Inputs |
|---|
#s(approx (+ x (* y (+ z x))) #s(approx (* y (+ z x)) (+.f64 z x))) |
(+.f64 x #s(approx (* y (+ z x)) (+.f64 z x))) |
| Outputs |
|---|
#s(approx (+ x (* y (+ z x))) #s(approx (* y (+ z x)) (+.f64 z x))) |
4 calls:
| 4.0ms | (+.f64 x (*.f64 y (+.f64 z x))) |
| 1.0ms | y |
| 1.0ms | z |
| 1.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 28.3% | 1 | (+.f64 x (*.f64 y (+.f64 z x))) |
| 28.3% | 1 | z |
| 28.3% | 1 | x |
| 28.3% | 1 | y |
Compiled 10 to 15 computations (-50% saved)
| 2× | binary-search |
| 1× | narrow-enough |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 6.0ms | 1.3057415618101103e-11 | 3.912574116237967e-11 |
| 11.0ms | -1.8545280709795258e-16 | -2.3659089034217667e-21 |
| 9.0ms | 224× | 0 | valid |
Compiled 430 to 292 computations (32.1% saved)
ival-add: 2.0ms (48.8% of total)ival-mult: 2.0ms (48.8% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 1× | egg-herbie |
| Inputs |
|---|
(+.f64 x (*.f64 y (+.f64 z x))) |
(if (<=.f64 y #s(literal -571152654438831/10384593717069655257060992658440192 binary64)) #s(approx (+ x (* y (+ z x))) (*.f64 y (+.f64 z x))) (if (<=.f64 y #s(literal 4332790137498831/309485009821345068724781056 binary64)) #s(approx (+ x (* y (+ z x))) #s(approx (* y (+ z x)) (+.f64 z x))) #s(approx (+ x (* y (+ z x))) (*.f64 y (+.f64 z x))))) |
#s(approx (+ x (* y (+ z x))) #s(approx (* y (+ z x)) (+.f64 z x))) |
| Outputs |
|---|
(+.f64 x (*.f64 y (+.f64 z x))) |
(if (<=.f64 y #s(literal -571152654438831/10384593717069655257060992658440192 binary64)) #s(approx (+ x (* y (+ z x))) (*.f64 y (+.f64 z x))) (if (<=.f64 y #s(literal 4332790137498831/309485009821345068724781056 binary64)) #s(approx (+ x (* y (+ z x))) #s(approx (* y (+ z x)) (+.f64 z x))) #s(approx (+ x (* y (+ z x))) (*.f64 y (+.f64 z x))))) |
#s(approx (+ x (* y (+ z x))) #s(approx (* y (+ z x)) (+.f64 z x))) |
| 1× | done |
Compiled 75 to 18 computations (76% saved)
Compiled 164 to 48 computations (70.7% saved)
Loading profile data...