
Time bar (total: 957.0ms)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 99.8% | 0.2% | 0% | 0% | 0% | 0 |
| 100% | 99.8% | 0% | 0.2% | 0% | 0% | 0% | 1 |
Compiled 11 to 10 computations (9.1% saved)
| 413.0ms | 8 256× | 0 | valid |
ival-sub: 90.0ms (45.9% of total)ival-mult: 58.0ms (29.6% of total)ival-add: 39.0ms (19.9% of total)ival-true: 7.0ms (3.6% of total)ival-assert: 3.0ms (1.5% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | (+.f64 x (*.f64 (-.f64 y z) (-.f64 t x))) |
| 0 | 0 | - | 0 | - | (-.f64 t x) |
| 0 | 0 | - | 0 | - | y |
| 0 | 0 | - | 0 | - | (*.f64 (-.f64 y z) (-.f64 t x)) |
| 0 | 0 | - | 0 | - | t |
| 0 | 0 | - | 0 | - | (-.f64 y z) |
| 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 |
| 31.0ms | 512× | 0 | valid |
Compiled 91 to 36 computations (60.4% saved)
ival-sub: 5.0ms (42% of total)ival-mult: 3.0ms (25.2% of total)ival-add: 2.0ms (16.8% of total)ival-true: 1.0ms (8.4% of total)ival-assert: 0.0ms (0% of total)| 1× | egg-herbie |
| Inputs |
|---|
(+.f64 x (*.f64 (-.f64 y z) (-.f64 t x))) |
| Outputs |
|---|
(+.f64 x (*.f64 (-.f64 y z) (-.f64 t x))) |
Compiled 9 to 8 computations (11.1% saved)
Compiled 0 to 4 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (+.f64 x (*.f64 (-.f64 y z) (-.f64 t x))) |
Compiled 9 to 8 computations (11.1% saved)
| 1× | egg-herbie |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (-.f64 t x) | |
| cost-diff | 0 | (-.f64 y z) | |
| cost-diff | 0 | (*.f64 (-.f64 y z) (-.f64 t x)) | |
| cost-diff | 0 | (+.f64 x (*.f64 (-.f64 y z) (-.f64 t x))) |
| Inputs |
|---|
(+.f64 x (*.f64 (-.f64 y z) (-.f64 t x))) |
x |
(*.f64 (-.f64 y z) (-.f64 t x)) |
(-.f64 y z) |
y |
z |
(-.f64 t x) |
t |
| Outputs |
|---|
(+.f64 x (*.f64 (-.f64 y z) (-.f64 t x))) |
x |
(*.f64 (-.f64 y z) (-.f64 t x)) |
(-.f64 y z) |
y |
z |
(-.f64 t x) |
t |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (-.f64 y z) | |
| accuracy | 0.0 | (-.f64 t x) | |
| accuracy | 0.00390625 | (+.f64 x (*.f64 (-.f64 y z) (-.f64 t x))) | |
| accuracy | 0.0234375 | (*.f64 (-.f64 y z) (-.f64 t x)) |
| 18.0ms | 256× | 0 | valid |
Compiled 54 to 18 computations (66.7% saved)
ival-sub: 3.0ms (51.5% of total)ival-mult: 2.0ms (34.3% of total)ival-add: 1.0ms (17.2% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
(+.f64 x (*.f64 (-.f64 y z) (-.f64 t x))) |
(*.f64 (-.f64 y z) (-.f64 t x)) |
(-.f64 y z) |
(-.f64 t x) |
| Outputs |
|---|
(* t (- y z)) |
(+ (* t (- y z)) (* x (+ 1 (* -1 (- y z))))) |
(+ (* -1 (* x (- y z))) (* t (- y z))) |
t |
(+ t (* -1 x)) |
(* x (+ 1 (* -1 (- y z)))) |
(* x (+ 1 (+ (* -1 (- y z)) (/ (* t (- y z)) x)))) |
(* -1 (* x (- y z))) |
(* x (+ (* -1 (- y z)) (/ (* t (- y z)) x))) |
(* -1 x) |
(* x (- (/ t x) 1)) |
(* -1 (* x (- y (+ 1 z)))) |
(* -1 (* x (- (+ y (* -1 (/ (* t (- y z)) x))) (+ 1 z)))) |
(* -1 (* x (- (+ y (* -1 (/ (* t (- y z)) x))) z))) |
(* -1 (* x (+ 1 (* -1 (/ t x))))) |
(+ x (* -1 (* z (- t x)))) |
(+ x (+ (* -1 (* z (- t x))) (* y (- t x)))) |
(* -1 (* z (- t x))) |
(+ (* -1 (* z (- t x))) (* y (- t x))) |
(* -1 z) |
(- y z) |
(* y (- t x)) |
(* y (- (+ t (+ (* -1 (/ (* z (- t x)) y)) (/ x y))) x)) |
(* y (- (+ t (* -1 (/ (* z (- t x)) y))) x)) |
y |
(* y (+ 1 (* -1 (/ z y)))) |
(* -1 (* y (+ (* -1 (- t x)) (* -1 (/ (+ x (* -1 (* z (- t x)))) y))))) |
(* -1 (* y (+ (* -1 (- t x)) (/ (* z (- t x)) y)))) |
(* -1 (* y (- (/ z y) 1))) |
(+ x (* y (- t x))) |
(+ y (* -1 z)) |
(* z (+ (* -1 (- t x)) (+ (/ x z) (/ (* y (- t x)) z)))) |
(* z (+ (* -1 (- t x)) (/ (* y (- t x)) z))) |
(* z (- (/ y z) 1)) |
(* -1 (* z (- (+ t (* -1 (/ (+ x (* y (- t x))) z))) x))) |
(* -1 (* z (- (+ t (* -1 (/ (* y (- t x)) z))) x))) |
(* -1 (* z (+ 1 (* -1 (/ y z))))) |
(+ x (* -1 (* x (- y z)))) |
(+ x (+ (* -1 (* x (- y z))) (* t (- y z)))) |
(- t x) |
(* t (- (+ y (+ (* -1 (/ (* x (- y z)) t)) (/ x t))) z)) |
(* t (- (+ y (* -1 (/ (* x (- y z)) t))) z)) |
(* t (+ 1 (* -1 (/ x t)))) |
(* -1 (* t (+ (* -1 (- y z)) (* -1 (/ (+ x (* -1 (* x (- y z)))) t))))) |
(* -1 (* t (+ (* -1 (- y z)) (/ (* x (- y z)) t)))) |
(* -1 (* t (- (/ x t) 1))) |
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | t | @ | 0 | ((+ x (* (- y z) (- t x))) (* (- y z) (- t x)) (- y z) (- t x)) |
| 1.0ms | y | @ | -inf | ((+ x (* (- y z) (- t x))) (* (- y z) (- t x)) (- y z) (- t x)) |
| 1.0ms | y | @ | inf | ((+ x (* (- y z) (- t x))) (* (- y z) (- t x)) (- y z) (- t x)) |
| 1.0ms | t | @ | -inf | ((+ x (* (- y z) (- t x))) (* (- y z) (- t x)) (- y z) (- t x)) |
| 1.0ms | x | @ | inf | ((+ x (* (- y z) (- t x))) (* (- y z) (- t x)) (- y z) (- t x)) |
| 1× | egg-herbie |
| Inputs |
|---|
(* t (- y z)) |
(+ (* t (- y z)) (* x (+ 1 (* -1 (- y z))))) |
(+ (* -1 (* x (- y z))) (* t (- y z))) |
t |
(+ t (* -1 x)) |
(* x (+ 1 (* -1 (- y z)))) |
(* x (+ 1 (+ (* -1 (- y z)) (/ (* t (- y z)) x)))) |
(* -1 (* x (- y z))) |
(* x (+ (* -1 (- y z)) (/ (* t (- y z)) x))) |
(* -1 x) |
(* x (- (/ t x) 1)) |
(* -1 (* x (- y (+ 1 z)))) |
(* -1 (* x (- (+ y (* -1 (/ (* t (- y z)) x))) (+ 1 z)))) |
(* -1 (* x (- (+ y (* -1 (/ (* t (- y z)) x))) z))) |
(* -1 (* x (+ 1 (* -1 (/ t x))))) |
(+ x (* -1 (* z (- t x)))) |
(+ x (+ (* -1 (* z (- t x))) (* y (- t x)))) |
(* -1 (* z (- t x))) |
(+ (* -1 (* z (- t x))) (* y (- t x))) |
(* -1 z) |
(- y z) |
(* y (- t x)) |
(* y (- (+ t (+ (* -1 (/ (* z (- t x)) y)) (/ x y))) x)) |
(* y (- (+ t (* -1 (/ (* z (- t x)) y))) x)) |
y |
(* y (+ 1 (* -1 (/ z y)))) |
(* -1 (* y (+ (* -1 (- t x)) (* -1 (/ (+ x (* -1 (* z (- t x)))) y))))) |
(* -1 (* y (+ (* -1 (- t x)) (/ (* z (- t x)) y)))) |
(* -1 (* y (- (/ z y) 1))) |
(+ x (* y (- t x))) |
(+ y (* -1 z)) |
(* z (+ (* -1 (- t x)) (+ (/ x z) (/ (* y (- t x)) z)))) |
(* z (+ (* -1 (- t x)) (/ (* y (- t x)) z))) |
(* z (- (/ y z) 1)) |
(* -1 (* z (- (+ t (* -1 (/ (+ x (* y (- t x))) z))) x))) |
(* -1 (* z (- (+ t (* -1 (/ (* y (- t x)) z))) x))) |
(* -1 (* z (+ 1 (* -1 (/ y z))))) |
(+ x (* -1 (* x (- y z)))) |
(+ x (+ (* -1 (* x (- y z))) (* t (- y z)))) |
(- t x) |
(* t (- (+ y (+ (* -1 (/ (* x (- y z)) t)) (/ x t))) z)) |
(* t (- (+ y (* -1 (/ (* x (- y z)) t))) z)) |
(* t (+ 1 (* -1 (/ x t)))) |
(* -1 (* t (+ (* -1 (- y z)) (* -1 (/ (+ x (* -1 (* x (- y z)))) t))))) |
(* -1 (* t (+ (* -1 (- y z)) (/ (* x (- y z)) t)))) |
(* -1 (* t (- (/ x t) 1))) |
| Outputs |
|---|
(* t (- y z)) |
(+.f64 x (*.f64 (-.f64 y z) (-.f64 t x))) |
(+ (* t (- y z)) (* x (+ 1 (* -1 (- y z))))) |
(*.f64 (-.f64 y z) (-.f64 t x)) |
(+ (* -1 (* x (- y z))) (* t (- y z))) |
(-.f64 y z) |
t |
(-.f64 t x) |
| Inputs |
|---|
(+.f64 x (*.f64 (-.f64 y z) (-.f64 t x))) |
(*.f64 (-.f64 y z) (-.f64 t x)) |
(-.f64 y z) |
(-.f64 t x) |
| Outputs |
|---|
(+.f64 x (*.f64 (-.f64 y z) (-.f64 t x))) |
(*.f64 (-.f64 y z) (-.f64 t x)) |
(-.f64 y z) |
(-.f64 t x) |
Compiled 98 to 19 computations (80.6% 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 x (*.f64 (-.f64 y z) (-.f64 t x))) |
| ▶ | 14.9% | (+.f64 x #s(approx (* (- y z) (- t x)) (-.f64 y z))) |
| ▶ | 83.9% | #s(approx (+ x (* (- y z) (- t x))) (*.f64 (-.f64 y z) (-.f64 t x))) |
Compiled 39 to 30 computations (23.1% saved)
| 1× | egg-herbie |
Found 7 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (-.f64 y z) | |
| cost-diff | 0 | #s(approx (* (- y z) (- t x)) (-.f64 y z)) | |
| cost-diff | 0 | (+.f64 x #s(approx (* (- y z) (- t x)) (-.f64 y z))) | |
| cost-diff | 0 | (-.f64 t x) | |
| cost-diff | 0 | (-.f64 y z) | |
| cost-diff | 0 | (*.f64 (-.f64 y z) (-.f64 t x)) | |
| cost-diff | 0 | #s(approx (+ x (* (- y z) (- t x))) (*.f64 (-.f64 y z) (-.f64 t x))) |
| Inputs |
|---|
#s(approx (+ x (* (- y z) (- t x))) (*.f64 (-.f64 y z) (-.f64 t x))) |
(*.f64 (-.f64 y z) (-.f64 t x)) |
(-.f64 y z) |
y |
z |
(-.f64 t x) |
t |
x |
(+.f64 x #s(approx (* (- y z) (- t x)) (-.f64 y z))) |
x |
#s(approx (* (- y z) (- t x)) (-.f64 y z)) |
(-.f64 y z) |
y |
z |
| Outputs |
|---|
#s(approx (+ x (* (- y z) (- t x))) (*.f64 (-.f64 y z) (-.f64 t x))) |
(*.f64 (-.f64 y z) (-.f64 t x)) |
(-.f64 y z) |
y |
z |
(-.f64 t x) |
t |
x |
(+.f64 x #s(approx (* (- y z) (- t x)) (-.f64 y z))) |
x |
#s(approx (* (- y z) (- t x)) (-.f64 y z)) |
(-.f64 y z) |
y |
z |
Found 7 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (-.f64 y z) | |
| accuracy | 0.00390625 | (+.f64 x #s(approx (* (- y z) (- t x)) (-.f64 y z))) | |
| accuracy | 61.81058070701931 | #s(approx (* (- y z) (- t x)) (-.f64 y z)) | |
| accuracy | 0.0 | (-.f64 y z) | |
| accuracy | 0.0 | (-.f64 t x) | |
| accuracy | 0.0234375 | (*.f64 (-.f64 y z) (-.f64 t x)) | |
| accuracy | 10.260800750391057 | #s(approx (+ x (* (- y z) (- t x))) (*.f64 (-.f64 y z) (-.f64 t x))) |
| 18.0ms | 256× | 0 | valid |
Compiled 114 to 24 computations (78.9% saved)
ival-sub: 3.0ms (51% of total)ival-mult: 2.0ms (34% of total)ival-add: 1.0ms (17% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(approx (+ x (* (- y z) (- t x))) (*.f64 (-.f64 y z) (-.f64 t x))) |
(*.f64 (-.f64 y z) (-.f64 t x)) |
(-.f64 y z) |
(-.f64 t x) |
(+.f64 x #s(approx (* (- y z) (- t x)) (-.f64 y z))) |
#s(approx (* (- y z) (- t x)) (-.f64 y z)) |
| Outputs |
|---|
(* t (- y z)) |
(+ (* t (- y z)) (* x (+ 1 (* -1 (- y z))))) |
(+ (* -1 (* x (- y z))) (* t (- y z))) |
t |
(+ t (* -1 x)) |
(* x (+ 1 (* -1 (- y z)))) |
(* x (+ 1 (+ (* -1 (- y z)) (/ (* t (- y z)) x)))) |
(* -1 (* x (- y z))) |
(* x (+ (* -1 (- y z)) (/ (* t (- y z)) x))) |
(* -1 x) |
(* x (- (/ t x) 1)) |
(* -1 (* x (- y (+ 1 z)))) |
(* -1 (* x (- (+ y (* -1 (/ (* t (- y z)) x))) (+ 1 z)))) |
(* -1 (* x (- (+ y (* -1 (/ (* t (- y z)) x))) z))) |
(* -1 (* x (+ 1 (* -1 (/ t x))))) |
(+ x (* -1 (* z (- t x)))) |
(+ x (+ (* -1 (* z (- t x))) (* y (- t x)))) |
(* -1 (* z (- t x))) |
(+ (* -1 (* z (- t x))) (* y (- t x))) |
(* -1 z) |
(- y z) |
(* y (- t x)) |
(* y (- (+ t (+ (* -1 (/ (* z (- t x)) y)) (/ x y))) x)) |
(* y (- (+ t (* -1 (/ (* z (- t x)) y))) x)) |
y |
(* y (+ 1 (* -1 (/ z y)))) |
(* -1 (* y (+ (* -1 (- t x)) (* -1 (/ (+ x (* -1 (* z (- t x)))) y))))) |
(* -1 (* y (+ (* -1 (- t x)) (/ (* z (- t x)) y)))) |
(* -1 (* y (- (/ z y) 1))) |
(+ x (* y (- t x))) |
(+ y (* -1 z)) |
(* z (+ (* -1 (- t x)) (+ (/ x z) (/ (* y (- t x)) z)))) |
(* z (+ (* -1 (- t x)) (/ (* y (- t x)) z))) |
(* z (- (/ y z) 1)) |
(* -1 (* z (- (+ t (* -1 (/ (+ x (* y (- t x))) z))) x))) |
(* -1 (* z (- (+ t (* -1 (/ (* y (- t x)) z))) x))) |
(* -1 (* z (+ 1 (* -1 (/ y z))))) |
(+ x (* -1 (* x (- y z)))) |
(+ x (+ (* -1 (* x (- y z))) (* t (- y z)))) |
(- t x) |
(* t (- (+ y (+ (* -1 (/ (* x (- y z)) t)) (/ x t))) z)) |
(* t (- (+ y (* -1 (/ (* x (- y z)) t))) z)) |
(* t (+ 1 (* -1 (/ x t)))) |
(* -1 (* t (+ (* -1 (- y z)) (* -1 (/ (+ x (* -1 (* x (- y z)))) t))))) |
(* -1 (* t (+ (* -1 (- y z)) (/ (* x (- y z)) t)))) |
(* -1 (* t (- (/ x t) 1))) |
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | t | @ | -inf | ((+ x (* (- y z) (- t x))) (* (- y z) (- t x)) (- y z) (- t x) (+ x (* (- y z) (- t x))) (* (- y z) (- t x))) |
| 0.0ms | y | @ | -inf | ((+ x (* (- y z) (- t x))) (* (- y z) (- t x)) (- y z) (- t x) (+ x (* (- y z) (- t x))) (* (- y z) (- t x))) |
| 0.0ms | y | @ | inf | ((+ x (* (- y z) (- t x))) (* (- y z) (- t x)) (- y z) (- t x) (+ x (* (- y z) (- t x))) (* (- y z) (- t x))) |
| 0.0ms | x | @ | inf | ((+ x (* (- y z) (- t x))) (* (- y z) (- t x)) (- y z) (- t x) (+ x (* (- y z) (- t x))) (* (- y z) (- t x))) |
| 0.0ms | x | @ | -inf | ((+ x (* (- y z) (- t x))) (* (- y z) (- t x)) (- y z) (- t x) (+ x (* (- y z) (- t x))) (* (- y z) (- t x))) |
| 1× | egg-herbie |
| Inputs |
|---|
(* t (- y z)) |
(+ (* t (- y z)) (* x (+ 1 (* -1 (- y z))))) |
(+ (* -1 (* x (- y z))) (* t (- y z))) |
t |
(+ t (* -1 x)) |
(* x (+ 1 (* -1 (- y z)))) |
(* x (+ 1 (+ (* -1 (- y z)) (/ (* t (- y z)) x)))) |
(* -1 (* x (- y z))) |
(* x (+ (* -1 (- y z)) (/ (* t (- y z)) x))) |
(* -1 x) |
(* x (- (/ t x) 1)) |
(* -1 (* x (- y (+ 1 z)))) |
(* -1 (* x (- (+ y (* -1 (/ (* t (- y z)) x))) (+ 1 z)))) |
(* -1 (* x (- (+ y (* -1 (/ (* t (- y z)) x))) z))) |
(* -1 (* x (+ 1 (* -1 (/ t x))))) |
(+ x (* -1 (* z (- t x)))) |
(+ x (+ (* -1 (* z (- t x))) (* y (- t x)))) |
(* -1 (* z (- t x))) |
(+ (* -1 (* z (- t x))) (* y (- t x))) |
(* -1 z) |
(- y z) |
(* y (- t x)) |
(* y (- (+ t (+ (* -1 (/ (* z (- t x)) y)) (/ x y))) x)) |
(* y (- (+ t (* -1 (/ (* z (- t x)) y))) x)) |
y |
(* y (+ 1 (* -1 (/ z y)))) |
(* -1 (* y (+ (* -1 (- t x)) (* -1 (/ (+ x (* -1 (* z (- t x)))) y))))) |
(* -1 (* y (+ (* -1 (- t x)) (/ (* z (- t x)) y)))) |
(* -1 (* y (- (/ z y) 1))) |
(+ x (* y (- t x))) |
(+ y (* -1 z)) |
(* z (+ (* -1 (- t x)) (+ (/ x z) (/ (* y (- t x)) z)))) |
(* z (+ (* -1 (- t x)) (/ (* y (- t x)) z))) |
(* z (- (/ y z) 1)) |
(* -1 (* z (- (+ t (* -1 (/ (+ x (* y (- t x))) z))) x))) |
(* -1 (* z (- (+ t (* -1 (/ (* y (- t x)) z))) x))) |
(* -1 (* z (+ 1 (* -1 (/ y z))))) |
(+ x (* -1 (* x (- y z)))) |
(+ x (+ (* -1 (* x (- y z))) (* t (- y z)))) |
(- t x) |
(* t (- (+ y (+ (* -1 (/ (* x (- y z)) t)) (/ x t))) z)) |
(* t (- (+ y (* -1 (/ (* x (- y z)) t))) z)) |
(* t (+ 1 (* -1 (/ x t)))) |
(* -1 (* t (+ (* -1 (- y z)) (* -1 (/ (+ x (* -1 (* x (- y z)))) t))))) |
(* -1 (* t (+ (* -1 (- y z)) (/ (* x (- y z)) t)))) |
(* -1 (* t (- (/ x t) 1))) |
| Outputs |
|---|
(* t (- y z)) |
#s(approx (+ x (* (- y z) (- t x))) (*.f64 (-.f64 y z) (-.f64 t x))) |
(+ (* t (- y z)) (* x (+ 1 (* -1 (- y z))))) |
(*.f64 (-.f64 y z) (-.f64 t x)) |
(+ (* -1 (* x (- y z))) (* t (- y z))) |
(-.f64 y z) |
t |
(-.f64 t x) |
(+ t (* -1 x)) |
(+.f64 x #s(approx (* (- y z) (- t x)) (-.f64 y z))) |
(* x (+ 1 (* -1 (- y z)))) |
#s(approx (* (- y z) (- t x)) (-.f64 y z)) |
| Inputs |
|---|
#s(approx (+ x (* (- y z) (- t x))) (*.f64 (-.f64 y z) (-.f64 t x))) |
(*.f64 (-.f64 y z) (-.f64 t x)) |
(-.f64 y z) |
(-.f64 t x) |
(+.f64 x #s(approx (* (- y z) (- t x)) (-.f64 y z))) |
#s(approx (* (- y z) (- t x)) (-.f64 y z)) |
| Outputs |
|---|
#s(approx (+ x (* (- y z) (- t x))) (*.f64 (-.f64 y z) (-.f64 t x))) |
(*.f64 (-.f64 y z) (-.f64 t x)) |
(-.f64 y z) |
(-.f64 t x) |
(+.f64 x #s(approx (* (- y z) (- t x)) (-.f64 y z))) |
#s(approx (* (- y z) (- t x)) (-.f64 y z)) |
Compiled 215 to 22 computations (89.8% 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 (-.f64 y z) (-.f64 t x))) |
| ✓ | 14.9% | (+.f64 x #s(approx (* (- y z) (- t x)) (-.f64 y z))) |
| ✓ | 83.9% | #s(approx (+ x (* (- y z) (- t x))) (*.f64 (-.f64 y z) (-.f64 t x))) |
| ▶ | 3.3% | #s(approx (+ x (* (- y z) (- t x))) #s(approx (* (- y z) (- t x)) (-.f64 y z))) |
Compiled 60 to 41 computations (31.7% saved)
| 1× | egg-herbie |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (-.f64 y z) | |
| cost-diff | 0 | #s(approx (* (- y z) (- t x)) (-.f64 y z)) | |
| cost-diff | 0 | #s(approx (+ x (* (- y z) (- t x))) #s(approx (* (- y z) (- t x)) (-.f64 y z))) |
| Inputs |
|---|
#s(approx (+ x (* (- y z) (- t x))) #s(approx (* (- y z) (- t x)) (-.f64 y z))) |
#s(approx (* (- y z) (- t x)) (-.f64 y z)) |
(-.f64 y z) |
y |
z |
| Outputs |
|---|
#s(approx (+ x (* (- y z) (- t x))) #s(approx (* (- y z) (- t x)) (-.f64 y z))) |
#s(approx (* (- y z) (- t x)) (-.f64 y z)) |
(-.f64 y z) |
y |
z |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (-.f64 y z) | |
| accuracy | 10.260800750391057 | #s(approx (+ x (* (- y z) (- t x))) #s(approx (* (- y z) (- t x)) (-.f64 y z))) | |
| accuracy | 61.81058070701931 | #s(approx (* (- y z) (- t x)) (-.f64 y z)) |
| 16.0ms | 256× | 0 | valid |
Compiled 60 to 21 computations (65% saved)
ival-sub: 3.0ms (52.1% of total)ival-mult: 2.0ms (34.8% of total)ival-add: 1.0ms (17.4% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(approx (+ x (* (- y z) (- t x))) #s(approx (* (- y z) (- t x)) (-.f64 y z))) |
#s(approx (* (- y z) (- t x)) (-.f64 y z)) |
(-.f64 y z) |
| Outputs |
|---|
(* t (- y z)) |
(+ (* t (- y z)) (* x (+ 1 (* -1 (- y z))))) |
(+ (* -1 (* x (- y z))) (* t (- y z))) |
(* x (+ 1 (* -1 (- y z)))) |
(* x (+ 1 (+ (* -1 (- y z)) (/ (* t (- y z)) x)))) |
(* -1 (* x (- y z))) |
(* x (+ (* -1 (- y z)) (/ (* t (- y z)) x))) |
(* -1 (* x (- y (+ 1 z)))) |
(* -1 (* x (- (+ y (* -1 (/ (* t (- y z)) x))) (+ 1 z)))) |
(* -1 (* x (- (+ y (* -1 (/ (* t (- y z)) x))) z))) |
(+ x (* -1 (* z (- t x)))) |
(+ x (+ (* -1 (* z (- t x))) (* y (- t x)))) |
(* -1 (* z (- t x))) |
(+ (* -1 (* z (- t x))) (* y (- t x))) |
(* -1 z) |
(- y z) |
(* y (- t x)) |
(* y (- (+ t (+ (* -1 (/ (* z (- t x)) y)) (/ x y))) x)) |
(* y (- (+ t (* -1 (/ (* z (- t x)) y))) x)) |
y |
(* y (+ 1 (* -1 (/ z y)))) |
(* -1 (* y (+ (* -1 (- t x)) (* -1 (/ (+ x (* -1 (* z (- t x)))) y))))) |
(* -1 (* y (+ (* -1 (- t x)) (/ (* z (- t x)) y)))) |
(* -1 (* y (- (/ z y) 1))) |
(+ x (* y (- t x))) |
(+ y (* -1 z)) |
(* z (+ (* -1 (- t x)) (+ (/ x z) (/ (* y (- t x)) z)))) |
(* z (+ (* -1 (- t x)) (/ (* y (- t x)) z))) |
(* z (- (/ y z) 1)) |
(* -1 (* z (- (+ t (* -1 (/ (+ x (* y (- t x))) z))) x))) |
(* -1 (* z (- (+ t (* -1 (/ (* y (- t x)) z))) x))) |
(* -1 (* z (+ 1 (* -1 (/ y z))))) |
(+ x (* -1 (* x (- y z)))) |
(+ x (+ (* -1 (* x (- y z))) (* t (- y z)))) |
(* t (- (+ y (+ (* -1 (/ (* x (- y z)) t)) (/ x t))) z)) |
(* t (- (+ y (* -1 (/ (* x (- y z)) t))) z)) |
(* -1 (* t (+ (* -1 (- y z)) (* -1 (/ (+ x (* -1 (* x (- y z)))) t))))) |
(* -1 (* t (+ (* -1 (- y z)) (/ (* x (- y z)) t)))) |
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | y | @ | -inf | ((+ x (* (- y z) (- t x))) (* (- y z) (- t x)) (- y z)) |
| 0.0ms | x | @ | inf | ((+ x (* (- y z) (- t x))) (* (- y z) (- t x)) (- y z)) |
| 0.0ms | t | @ | -inf | ((+ x (* (- y z) (- t x))) (* (- y z) (- t x)) (- y z)) |
| 0.0ms | y | @ | inf | ((+ x (* (- y z) (- t x))) (* (- y z) (- t x)) (- y z)) |
| 0.0ms | x | @ | -inf | ((+ x (* (- y z) (- t x))) (* (- y z) (- t x)) (- y z)) |
| 1× | egg-herbie |
| Inputs |
|---|
(* t (- y z)) |
(+ (* t (- y z)) (* x (+ 1 (* -1 (- y z))))) |
(+ (* -1 (* x (- y z))) (* t (- y z))) |
(* x (+ 1 (* -1 (- y z)))) |
(* x (+ 1 (+ (* -1 (- y z)) (/ (* t (- y z)) x)))) |
(* -1 (* x (- y z))) |
(* x (+ (* -1 (- y z)) (/ (* t (- y z)) x))) |
(* -1 (* x (- y (+ 1 z)))) |
(* -1 (* x (- (+ y (* -1 (/ (* t (- y z)) x))) (+ 1 z)))) |
(* -1 (* x (- (+ y (* -1 (/ (* t (- y z)) x))) z))) |
(+ x (* -1 (* z (- t x)))) |
(+ x (+ (* -1 (* z (- t x))) (* y (- t x)))) |
(* -1 (* z (- t x))) |
(+ (* -1 (* z (- t x))) (* y (- t x))) |
(* -1 z) |
(- y z) |
(* y (- t x)) |
(* y (- (+ t (+ (* -1 (/ (* z (- t x)) y)) (/ x y))) x)) |
(* y (- (+ t (* -1 (/ (* z (- t x)) y))) x)) |
y |
(* y (+ 1 (* -1 (/ z y)))) |
(* -1 (* y (+ (* -1 (- t x)) (* -1 (/ (+ x (* -1 (* z (- t x)))) y))))) |
(* -1 (* y (+ (* -1 (- t x)) (/ (* z (- t x)) y)))) |
(* -1 (* y (- (/ z y) 1))) |
(+ x (* y (- t x))) |
(+ y (* -1 z)) |
(* z (+ (* -1 (- t x)) (+ (/ x z) (/ (* y (- t x)) z)))) |
(* z (+ (* -1 (- t x)) (/ (* y (- t x)) z))) |
(* z (- (/ y z) 1)) |
(* -1 (* z (- (+ t (* -1 (/ (+ x (* y (- t x))) z))) x))) |
(* -1 (* z (- (+ t (* -1 (/ (* y (- t x)) z))) x))) |
(* -1 (* z (+ 1 (* -1 (/ y z))))) |
(+ x (* -1 (* x (- y z)))) |
(+ x (+ (* -1 (* x (- y z))) (* t (- y z)))) |
(* t (- (+ y (+ (* -1 (/ (* x (- y z)) t)) (/ x t))) z)) |
(* t (- (+ y (* -1 (/ (* x (- y z)) t))) z)) |
(* -1 (* t (+ (* -1 (- y z)) (* -1 (/ (+ x (* -1 (* x (- y z)))) t))))) |
(* -1 (* t (+ (* -1 (- y z)) (/ (* x (- y z)) t)))) |
| Outputs |
|---|
(* t (- y z)) |
#s(approx (+ x (* (- y z) (- t x))) #s(approx (* (- y z) (- t x)) (-.f64 y z))) |
(+ (* t (- y z)) (* x (+ 1 (* -1 (- y z))))) |
#s(approx (* (- y z) (- t x)) (-.f64 y z)) |
(+ (* -1 (* x (- y z))) (* t (- y z))) |
(-.f64 y z) |
| Inputs |
|---|
#s(approx (+ x (* (- y z) (- t x))) #s(approx (* (- y z) (- t x)) (-.f64 y z))) |
#s(approx (* (- y z) (- t x)) (-.f64 y z)) |
(-.f64 y z) |
| Outputs |
|---|
#s(approx (+ x (* (- y z) (- t x))) #s(approx (* (- y z) (- t x)) (-.f64 y z))) |
#s(approx (* (- y z) (- t x)) (-.f64 y z)) |
(-.f64 y z) |
Compiled 94 to 12 computations (87.2% 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 (-.f64 y z) (-.f64 t x))) |
| ✓ | 14.9% | (+.f64 x #s(approx (* (- y z) (- t x)) (-.f64 y z))) |
| ✓ | 83.9% | #s(approx (+ x (* (- y z) (- t x))) (*.f64 (-.f64 y z) (-.f64 t x))) |
| ✓ | 3.3% | #s(approx (+ x (* (- y z) (- t x))) #s(approx (* (- y z) (- t x)) (-.f64 y z))) |
Compiled 120 to 57 computations (52.5% saved)
| Inputs |
|---|
#s(approx (+ x (* (- y z) (- t x))) #s(approx (* (- y z) (- t x)) (-.f64 y z))) |
(+.f64 x #s(approx (* (- y z) (- t x)) (-.f64 y z))) |
#s(approx (+ x (* (- y z) (- t x))) (*.f64 (-.f64 y z) (-.f64 t x))) |
(+.f64 x (*.f64 (-.f64 y z) (-.f64 t x))) |
| Outputs |
|---|
(+.f64 x (*.f64 (-.f64 y z) (-.f64 t x))) |
6 calls:
| 4.0ms | t |
| 2.0ms | x |
| 2.0ms | (-.f64 y z) |
| 2.0ms | z |
| 2.0ms | y |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | x |
| 100.0% | 1 | y |
| 100.0% | 1 | z |
| 100.0% | 1 | t |
| 100.0% | 1 | (+.f64 x (*.f64 (-.f64 y z) (-.f64 t x))) |
| 100.0% | 1 | (-.f64 y z) |
Compiled 16 to 29 computations (-81.3% saved)
| Inputs |
|---|
#s(approx (+ x (* (- y z) (- t x))) #s(approx (* (- y z) (- t x)) (-.f64 y z))) |
(+.f64 x #s(approx (* (- y z) (- t x)) (-.f64 y z))) |
#s(approx (+ x (* (- y z) (- t x))) (*.f64 (-.f64 y z) (-.f64 t x))) |
| Outputs |
|---|
#s(approx (+ x (* (- y z) (- t x))) (*.f64 (-.f64 y z) (-.f64 t x))) |
(+.f64 x #s(approx (* (- y z) (- t x)) (-.f64 y z))) |
#s(approx (+ x (* (- y z) (- t x))) (*.f64 (-.f64 y z) (-.f64 t x))) |
6 calls:
| 2.0ms | x |
| 2.0ms | y |
| 2.0ms | t |
| 2.0ms | (-.f64 y z) |
| 2.0ms | z |
| Accuracy | Segments | Branch |
|---|---|---|
| 83.9% | 1 | x |
| 83.9% | 1 | y |
| 83.9% | 1 | z |
| 83.9% | 1 | t |
| 83.9% | 1 | (+.f64 x (*.f64 (-.f64 y z) (-.f64 t x))) |
| 90.3% | 3 | (-.f64 y z) |
Compiled 16 to 29 computations (-81.3% saved)
| Inputs |
|---|
#s(approx (+ x (* (- y z) (- t x))) #s(approx (* (- y z) (- t x)) (-.f64 y z))) |
(+.f64 x #s(approx (* (- y z) (- t x)) (-.f64 y z))) |
| Outputs |
|---|
(+.f64 x #s(approx (* (- y z) (- t x)) (-.f64 y z))) |
6 calls:
| 3.0ms | (+.f64 x (*.f64 (-.f64 y z) (-.f64 t x))) |
| 1.0ms | z |
| 1.0ms | (-.f64 y z) |
| 1.0ms | t |
| 1.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 14.9% | 1 | t |
| 14.9% | 1 | y |
| 14.9% | 1 | x |
| 14.9% | 1 | z |
| 14.9% | 1 | (+.f64 x (*.f64 (-.f64 y z) (-.f64 t x))) |
| 14.9% | 1 | (-.f64 y z) |
Compiled 16 to 29 computations (-81.3% saved)
Total 0.0b remaining (0%)
Threshold costs 0b (0%)
| Inputs |
|---|
#s(approx (+ x (* (- y z) (- t x))) #s(approx (* (- y z) (- t x)) (-.f64 y z))) |
| Outputs |
|---|
#s(approx (+ x (* (- y z) (- t x))) #s(approx (* (- y z) (- t x)) (-.f64 y z))) |
6 calls:
| 1.0ms | y |
| 1.0ms | (-.f64 y z) |
| 1.0ms | x |
| 1.0ms | t |
| 1.0ms | z |
| Accuracy | Segments | Branch |
|---|---|---|
| 3.3% | 1 | (+.f64 x (*.f64 (-.f64 y z) (-.f64 t x))) |
| 3.3% | 1 | (-.f64 y z) |
| 3.3% | 1 | x |
| 3.3% | 1 | y |
| 3.3% | 1 | t |
| 3.3% | 1 | z |
Compiled 16 to 29 computations (-81.3% saved)
| 2× | binary-search |
| 1× | narrow-enough |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 10.0ms | 1.2880674905300645e-37 | 6.138529340399442e-33 |
| 11.0ms | -5.584447195449386e-26 | -9.184319564616535e-27 |
| 10.0ms | 224× | 0 | valid |
Compiled 376 to 323 computations (14.1% saved)
ival-sub: 1.0ms (24.4% of total)ival-add: 1.0ms (24.4% of total)ival-mult: 1.0ms (24.4% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 1× | egg-herbie |
| Inputs |
|---|
(+.f64 x (*.f64 (-.f64 y z) (-.f64 t x))) |
(if (<=.f64 (-.f64 y z) #s(literal -7387121847013269/696898287454081973172991196020261297061888 binary64)) #s(approx (+ x (* (- y z) (- t x))) (*.f64 (-.f64 y z) (-.f64 t x))) (if (<=.f64 (-.f64 y z) #s(literal 2244866514940267/748288838313422294120286634350736906063837462003712 binary64)) (+.f64 x #s(approx (* (- y z) (- t x)) (-.f64 y z))) #s(approx (+ x (* (- y z) (- t x))) (*.f64 (-.f64 y z) (-.f64 t x))))) |
(+.f64 x #s(approx (* (- y z) (- t x)) (-.f64 y z))) |
#s(approx (+ x (* (- y z) (- t x))) #s(approx (* (- y z) (- t x)) (-.f64 y z))) |
| Outputs |
|---|
(+.f64 x (*.f64 (-.f64 y z) (-.f64 t x))) |
(if (<=.f64 (-.f64 y z) #s(literal -7387121847013269/696898287454081973172991196020261297061888 binary64)) #s(approx (+ x (* (- y z) (- t x))) (*.f64 (-.f64 y z) (-.f64 t x))) (if (<=.f64 (-.f64 y z) #s(literal 2244866514940267/748288838313422294120286634350736906063837462003712 binary64)) (+.f64 x #s(approx (* (- y z) (- t x)) (-.f64 y z))) #s(approx (+ x (* (- y z) (- t x))) (*.f64 (-.f64 y z) (-.f64 t x))))) |
(+.f64 x #s(approx (* (- y z) (- t x)) (-.f64 y z))) |
#s(approx (+ x (* (- y z) (- t x))) #s(approx (* (- y z) (- t x)) (-.f64 y z))) |
| 1× | done |
Compiled 102 to 22 computations (78.4% saved)
Compiled 250 to 80 computations (68% saved)
Loading profile data...