
Time bar (total: 1.2s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 99.8% | 0.2% | 0% | 0% | 0% | 0 |
| 0% | 0% | 99.8% | 0.2% | 0% | 0% | 0% | 1 |
| 0% | 0% | 99.8% | 0.2% | 0% | 0% | 0% | 2 |
| 0% | 0% | 99.8% | 0.2% | 0% | 0% | 0% | 3 |
| 0% | 0% | 99.8% | 0.2% | 0% | 0% | 0% | 4 |
| 50% | 49.9% | 49.9% | 0.2% | 0% | 0% | 0% | 5 |
| 50% | 49.9% | 49.9% | 0.2% | 0% | 0% | 0% | 6 |
| 50% | 49.9% | 49.9% | 0.2% | 0% | 0% | 0% | 7 |
| 50% | 49.9% | 49.9% | 0.2% | 0% | 0% | 0% | 8 |
| 75% | 74.9% | 25% | 0.2% | 0% | 0% | 0% | 9 |
| 75% | 74.9% | 25% | 0.2% | 0% | 0% | 0% | 10 |
| 75% | 74.9% | 25% | 0.2% | 0% | 0% | 0% | 11 |
| 75% | 74.9% | 25% | 0.2% | 0% | 0% | 0% | 12 |
Compiled 11 to 11 computations (0% saved)
| 518.0ms | 8 256× | 0 | valid |
ival-div: 72.0ms (27.5% of total)ival-add: 61.0ms (23.3% of total)ival-mult: 60.0ms (22.9% of total)ival-sub: 51.0ms (19.5% of total)ival-true: 8.0ms (3.1% of total)exact: 6.0ms (2.3% of total)ival-assert: 4.0ms (1.5% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 1 | 0 | - | 0 | - | (/.f64 (-.f64 (+.f64 x y) z) (*.f64 t #s(literal 2 binary64))) |
| 0 | 0 | - | 0 | - | (*.f64 t #s(literal 2 binary64)) |
| 0 | 0 | - | 0 | - | (-.f64 (+.f64 x y) z) |
| 0 | 0 | - | 0 | - | t |
| 0 | 0 | - | 0 | - | z |
| 0 | 0 | - | 0 | - | #s(literal 2 binary64) |
| 0 | 0 | - | 0 | - | y |
| 0 | 0 | - | 0 | - | (+.f64 x y) |
| 0 | 0 | - | 0 | - | x |
| Operator | Subexpression | Explanation | Count | |
|---|---|---|---|---|
/.f64 | (/.f64 (-.f64 (+.f64 x y) z) (*.f64 t #s(literal 2 binary64))) | n/o | 1 | 0 |
| ↳ | (*.f64 t #s(literal 2 binary64)) | overflow | 1 |
| Predicted + | Predicted - | |
|---|---|---|
| + | 1 | 0 |
| - | 0 | 255 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 1 | 0 | 0 |
| - | 0 | 0 | 255 |
| number | freq |
|---|---|
| 0 | 255 |
| 1 | 1 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 1 | 0 | 0 |
| - | 0 | 0 | 0 |
| 30.0ms | 512× | 0 | valid |
Compiled 88 to 40 computations (54.5% saved)
ival-div: 4.0ms (30.4% of total)ival-add: 3.0ms (22.8% of total)ival-mult: 3.0ms (22.8% of total)ival-sub: 2.0ms (15.2% 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) z) (*.f64 t #s(literal 2 binary64))) |
| Outputs |
|---|
(/.f64 (-.f64 (+.f64 x y) z) (*.f64 t #s(literal 2 binary64))) |
Compiled 9 to 9 computations (0% saved)
Compiled 0 to 4 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 99.6% | (/.f64 (-.f64 (+.f64 x y) z) (*.f64 t #s(literal 2 binary64))) |
Compiled 9 to 9 computations (0% saved)
| 1× | egg-herbie |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 t #s(literal 2 binary64)) | |
| cost-diff | 0 | (+.f64 x y) | |
| cost-diff | 0 | (-.f64 (+.f64 x y) z) | |
| cost-diff | 0 | (/.f64 (-.f64 (+.f64 x y) z) (*.f64 t #s(literal 2 binary64))) |
| Inputs |
|---|
(/.f64 (-.f64 (+.f64 x y) z) (*.f64 t #s(literal 2 binary64))) |
(-.f64 (+.f64 x y) z) |
(+.f64 x y) |
x |
y |
z |
(*.f64 t #s(literal 2 binary64)) |
t |
#s(literal 2 binary64) |
| Outputs |
|---|
(/.f64 (-.f64 (+.f64 x y) z) (*.f64 t #s(literal 2 binary64))) |
(-.f64 (+.f64 x y) z) |
(+.f64 x y) |
x |
y |
z |
(*.f64 t #s(literal 2 binary64)) |
t |
#s(literal 2 binary64) |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (-.f64 (+.f64 x y) z) | |
| accuracy | 0.0 | (+.f64 x y) | |
| accuracy | 0.0 | (*.f64 t #s(literal 2 binary64)) | |
| accuracy | 0.2530387577865643 | (/.f64 (-.f64 (+.f64 x y) z) (*.f64 t #s(literal 2 binary64))) |
| 15.0ms | 256× | 0 | valid |
Compiled 52 to 20 computations (61.5% saved)
ival-div: 2.0ms (31.3% of total)ival-add: 2.0ms (31.3% of total)ival-mult: 2.0ms (31.3% of total)ival-sub: 1.0ms (15.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) z) (*.f64 t #s(literal 2 binary64))) |
(-.f64 (+.f64 x y) z) |
(+.f64 x y) |
(*.f64 t #s(literal 2 binary64)) |
| Outputs |
|---|
(* 1/2 (/ (- y z) t)) |
(+ (* 1/2 (/ x t)) (* 1/2 (/ (- y z) t))) |
(- y z) |
(- (+ x y) z) |
y |
(+ x y) |
(* 1/2 (/ x t)) |
(* x (+ (* 1/2 (/ (- (/ y t) (/ z t)) x)) (* 1/2 (/ 1 t)))) |
x |
(* x (- (+ 1 (/ y x)) (/ z x))) |
(* x (+ 1 (/ y x))) |
(* -1 (* x (- (* -1/2 (/ (- (/ y t) (/ z t)) x)) (* 1/2 (/ 1 t))))) |
(* -1 (* x (- (* -1 (/ (- y z) x)) 1))) |
(* -1 (* x (- (* -1 (/ y x)) 1))) |
(* 1/2 (/ (- x z) t)) |
(+ (* 1/2 (/ y t)) (* 1/2 (/ (- x z) t))) |
(- x z) |
(* 1/2 (/ y t)) |
(* y (+ (* 1/2 (/ (- (/ x t) (/ z t)) y)) (* 1/2 (/ 1 t)))) |
(* y (- (+ 1 (/ x y)) (/ z y))) |
(* y (+ 1 (/ x y))) |
(* -1 (* y (- (* -1/2 (/ (- (/ x t) (/ z t)) y)) (* 1/2 (/ 1 t))))) |
(* -1 (* y (- (* -1 (/ (- x z) y)) 1))) |
(* -1 (* y (- (* -1 (/ x y)) 1))) |
(* 1/2 (/ (+ x y) t)) |
(+ (* -1/2 (/ z t)) (* 1/2 (/ (+ x y) t))) |
(+ x (+ y (* -1 z))) |
(* -1/2 (/ z t)) |
(* z (- (* 1/2 (/ (+ (/ x t) (/ y t)) z)) (* 1/2 (/ 1 t)))) |
(* -1 z) |
(* z (- (+ (/ x z) (/ y z)) 1)) |
(* -1 (* z (+ (* -1/2 (/ (+ (/ x t) (/ y t)) z)) (* 1/2 (/ 1 t))))) |
(* -1 (* z (+ 1 (* -1 (/ (+ x y) z))))) |
(* 1/2 (/ (- (+ x y) z) t)) |
(* 2 t) |
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | z | @ | 0 | ((/ (- (+ x y) z) (* t 2)) (- (+ x y) z) (+ x y) (* t 2)) |
| 1.0ms | x | @ | -inf | ((/ (- (+ x y) z) (* t 2)) (- (+ x y) z) (+ x y) (* t 2)) |
| 1.0ms | t | @ | inf | ((/ (- (+ x y) z) (* t 2)) (- (+ x y) z) (+ x y) (* t 2)) |
| 1.0ms | t | @ | 0 | ((/ (- (+ x y) z) (* t 2)) (- (+ x y) z) (+ x y) (* t 2)) |
| 1.0ms | x | @ | inf | ((/ (- (+ x y) z) (* t 2)) (- (+ x y) z) (+ x y) (* t 2)) |
| 1× | egg-herbie |
| Inputs |
|---|
(* 1/2 (/ (- y z) t)) |
(+ (* 1/2 (/ x t)) (* 1/2 (/ (- y z) t))) |
(- y z) |
(- (+ x y) z) |
y |
(+ x y) |
(* 1/2 (/ x t)) |
(* x (+ (* 1/2 (/ (- (/ y t) (/ z t)) x)) (* 1/2 (/ 1 t)))) |
x |
(* x (- (+ 1 (/ y x)) (/ z x))) |
(* x (+ 1 (/ y x))) |
(* -1 (* x (- (* -1/2 (/ (- (/ y t) (/ z t)) x)) (* 1/2 (/ 1 t))))) |
(* -1 (* x (- (* -1 (/ (- y z) x)) 1))) |
(* -1 (* x (- (* -1 (/ y x)) 1))) |
(* 1/2 (/ (- x z) t)) |
(+ (* 1/2 (/ y t)) (* 1/2 (/ (- x z) t))) |
(- x z) |
(* 1/2 (/ y t)) |
(* y (+ (* 1/2 (/ (- (/ x t) (/ z t)) y)) (* 1/2 (/ 1 t)))) |
(* y (- (+ 1 (/ x y)) (/ z y))) |
(* y (+ 1 (/ x y))) |
(* -1 (* y (- (* -1/2 (/ (- (/ x t) (/ z t)) y)) (* 1/2 (/ 1 t))))) |
(* -1 (* y (- (* -1 (/ (- x z) y)) 1))) |
(* -1 (* y (- (* -1 (/ x y)) 1))) |
(* 1/2 (/ (+ x y) t)) |
(+ (* -1/2 (/ z t)) (* 1/2 (/ (+ x y) t))) |
(+ x (+ y (* -1 z))) |
(* -1/2 (/ z t)) |
(* z (- (* 1/2 (/ (+ (/ x t) (/ y t)) z)) (* 1/2 (/ 1 t)))) |
(* -1 z) |
(* z (- (+ (/ x z) (/ y z)) 1)) |
(* -1 (* z (+ (* -1/2 (/ (+ (/ x t) (/ y t)) z)) (* 1/2 (/ 1 t))))) |
(* -1 (* z (+ 1 (* -1 (/ (+ x y) z))))) |
(* 1/2 (/ (- (+ x y) z) t)) |
(* 2 t) |
| Outputs |
|---|
(* 1/2 (/ (- y z) t)) |
(/.f64 (-.f64 (+.f64 x y) z) (*.f64 t #s(literal 2 binary64))) |
(+ (* 1/2 (/ x t)) (* 1/2 (/ (- y z) t))) |
(-.f64 (+.f64 x y) z) |
(- y z) |
(+.f64 x y) |
(- (+ x y) z) |
(*.f64 t #s(literal 2 binary64)) |
| Inputs |
|---|
(/.f64 (-.f64 (+.f64 x y) z) (*.f64 t #s(literal 2 binary64))) |
(-.f64 (+.f64 x y) z) |
(+.f64 x y) |
(*.f64 t #s(literal 2 binary64)) |
| Outputs |
|---|
(/.f64 (-.f64 (+.f64 x y) z) (*.f64 t #s(literal 2 binary64))) |
(-.f64 (+.f64 x y) z) |
(+.f64 x y) |
(*.f64 t #s(literal 2 binary64)) |
Compiled 96 to 20 computations (79.2% saved)
4 alts after pruning (3 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 5 | 3 | 8 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 5 | 4 | 9 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 99.6% | (/.f64 (-.f64 (+.f64 x y) z) (*.f64 t #s(literal 2 binary64))) |
| ▶ | 70.2% | (/.f64 #s(approx (- (+ x y) z) (+.f64 x y)) (*.f64 t #s(literal 2 binary64))) |
| ▶ | 3.4% | (/.f64 #s(approx (- (+ x y) z) (*.f64 t #s(literal 2 binary64))) (*.f64 t #s(literal 2 binary64))) |
| ▶ | 3.4% | #s(approx (/ (- (+ x y) z) (* t 2)) (-.f64 (+.f64 x y) z)) |
Compiled 50 to 42 computations (16% saved)
| 1× | egg-herbie |
Found 10 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 t #s(literal 2 binary64)) | |
| cost-diff | 0 | (+.f64 x y) | |
| cost-diff | 0 | #s(approx (- (+ x y) z) (+.f64 x y)) | |
| cost-diff | 0 | (/.f64 #s(approx (- (+ x y) z) (+.f64 x y)) (*.f64 t #s(literal 2 binary64))) | |
| cost-diff | 0 | (*.f64 t #s(literal 2 binary64)) | |
| cost-diff | 0 | #s(approx (- (+ x y) z) (*.f64 t #s(literal 2 binary64))) | |
| cost-diff | 0 | (/.f64 #s(approx (- (+ x y) z) (*.f64 t #s(literal 2 binary64))) (*.f64 t #s(literal 2 binary64))) | |
| cost-diff | 0 | (+.f64 x y) | |
| cost-diff | 0 | (-.f64 (+.f64 x y) z) | |
| cost-diff | 0 | #s(approx (/ (- (+ x y) z) (* t 2)) (-.f64 (+.f64 x y) z)) |
| Inputs |
|---|
#s(approx (/ (- (+ x y) z) (* t 2)) (-.f64 (+.f64 x y) z)) |
(-.f64 (+.f64 x y) z) |
(+.f64 x y) |
x |
y |
z |
(/.f64 #s(approx (- (+ x y) z) (*.f64 t #s(literal 2 binary64))) (*.f64 t #s(literal 2 binary64))) |
#s(approx (- (+ x y) z) (*.f64 t #s(literal 2 binary64))) |
(*.f64 t #s(literal 2 binary64)) |
t |
#s(literal 2 binary64) |
(/.f64 #s(approx (- (+ x y) z) (+.f64 x y)) (*.f64 t #s(literal 2 binary64))) |
#s(approx (- (+ x y) z) (+.f64 x y)) |
(+.f64 x y) |
x |
y |
(*.f64 t #s(literal 2 binary64)) |
t |
#s(literal 2 binary64) |
| Outputs |
|---|
#s(approx (/ (- (+ x y) z) (* t 2)) (-.f64 (+.f64 x y) z)) |
(-.f64 (+.f64 x y) z) |
(+.f64 x y) |
x |
y |
z |
(/.f64 #s(approx (- (+ x y) z) (*.f64 t #s(literal 2 binary64))) (*.f64 t #s(literal 2 binary64))) |
#s(approx (- (+ x y) z) (*.f64 t #s(literal 2 binary64))) |
(*.f64 t #s(literal 2 binary64)) |
t |
#s(literal 2 binary64) |
(/.f64 #s(approx (- (+ x y) z) (+.f64 x y)) (*.f64 t #s(literal 2 binary64))) |
#s(approx (- (+ x y) z) (+.f64 x y)) |
(+.f64 x y) |
x |
y |
(*.f64 t #s(literal 2 binary64)) |
t |
#s(literal 2 binary64) |
Found 10 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (+.f64 x y) | |
| accuracy | 0.0 | (*.f64 t #s(literal 2 binary64)) | |
| accuracy | 0.2530387577865643 | (/.f64 #s(approx (- (+ x y) z) (+.f64 x y)) (*.f64 t #s(literal 2 binary64))) | |
| accuracy | 19.88867629861316 | #s(approx (- (+ x y) z) (+.f64 x y)) | |
| accuracy | 0.0 | (*.f64 t #s(literal 2 binary64)) | |
| accuracy | 0.2530387577865643 | (/.f64 #s(approx (- (+ x y) z) (*.f64 t #s(literal 2 binary64))) (*.f64 t #s(literal 2 binary64))) | |
| accuracy | 61.90726218019745 | #s(approx (- (+ x y) z) (*.f64 t #s(literal 2 binary64))) | |
| accuracy | 0.0 | (-.f64 (+.f64 x y) z) | |
| accuracy | 0.0 | (+.f64 x y) | |
| accuracy | 61.850431669684504 | #s(approx (/ (- (+ x y) z) (* t 2)) (-.f64 (+.f64 x y) z)) |
| 20.0ms | 256× | 0 | valid |
Compiled 150 to 29 computations (80.7% saved)
ival-div: 2.0ms (30.7% of total)ival-add: 2.0ms (30.7% of total)ival-mult: 2.0ms (30.7% of total)ival-sub: 1.0ms (15.4% 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) z) (* t 2)) (-.f64 (+.f64 x y) z)) |
(-.f64 (+.f64 x y) z) |
(+.f64 x y) |
(/.f64 #s(approx (- (+ x y) z) (*.f64 t #s(literal 2 binary64))) (*.f64 t #s(literal 2 binary64))) |
#s(approx (- (+ x y) z) (*.f64 t #s(literal 2 binary64))) |
(*.f64 t #s(literal 2 binary64)) |
(/.f64 #s(approx (- (+ x y) z) (+.f64 x y)) (*.f64 t #s(literal 2 binary64))) |
#s(approx (- (+ x y) z) (+.f64 x y)) |
| Outputs |
|---|
(* 1/2 (/ (- y z) t)) |
(+ (* 1/2 (/ x t)) (* 1/2 (/ (- y z) t))) |
(- y z) |
(- (+ x y) z) |
y |
(+ x y) |
(* 1/2 (/ x t)) |
(* x (+ (* 1/2 (/ (- (/ y t) (/ z t)) x)) (* 1/2 (/ 1 t)))) |
x |
(* x (- (+ 1 (/ y x)) (/ z x))) |
(* x (+ 1 (/ y x))) |
(* -1 (* x (- (* -1/2 (/ (- (/ y t) (/ z t)) x)) (* 1/2 (/ 1 t))))) |
(* -1 (* x (- (* -1 (/ (- y z) x)) 1))) |
(* -1 (* x (- (* -1 (/ y x)) 1))) |
(* 1/2 (/ (- x z) t)) |
(+ (* 1/2 (/ y t)) (* 1/2 (/ (- x z) t))) |
(- x z) |
(* 1/2 (/ y t)) |
(* y (+ (* 1/2 (/ (- (/ x t) (/ z t)) y)) (* 1/2 (/ 1 t)))) |
(* y (- (+ 1 (/ x y)) (/ z y))) |
(* y (+ 1 (/ x y))) |
(* -1 (* y (- (* -1/2 (/ (- (/ x t) (/ z t)) y)) (* 1/2 (/ 1 t))))) |
(* -1 (* y (- (* -1 (/ (- x z) y)) 1))) |
(* -1 (* y (- (* -1 (/ x y)) 1))) |
(* 1/2 (/ (+ x y) t)) |
(+ (* -1/2 (/ z t)) (* 1/2 (/ (+ x y) t))) |
(+ x (+ y (* -1 z))) |
(* -1/2 (/ z t)) |
(* z (- (* 1/2 (/ (+ (/ x t) (/ y t)) z)) (* 1/2 (/ 1 t)))) |
(* -1 z) |
(* z (- (+ (/ x z) (/ y z)) 1)) |
(* -1 (* z (+ (* -1/2 (/ (+ (/ x t) (/ y t)) z)) (* 1/2 (/ 1 t))))) |
(* -1 (* z (+ 1 (* -1 (/ (+ x y) z))))) |
(* 1/2 (/ (- (+ x y) z) t)) |
(* 2 t) |
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | z | @ | 0 | ((/ (- (+ x y) z) (* t 2)) (- (+ x y) z) (+ x y) (/ (- (+ x y) z) (* t 2)) (- (+ x y) z) (* t 2) (/ (- (+ x y) z) (* t 2)) (- (+ x y) z)) |
| 0.0ms | t | @ | -inf | ((/ (- (+ x y) z) (* t 2)) (- (+ x y) z) (+ x y) (/ (- (+ x y) z) (* t 2)) (- (+ x y) z) (* t 2) (/ (- (+ x y) z) (* t 2)) (- (+ x y) z)) |
| 0.0ms | t | @ | inf | ((/ (- (+ x y) z) (* t 2)) (- (+ x y) z) (+ x y) (/ (- (+ x y) z) (* t 2)) (- (+ x y) z) (* t 2) (/ (- (+ x y) z) (* t 2)) (- (+ x y) z)) |
| 0.0ms | t | @ | 0 | ((/ (- (+ x y) z) (* t 2)) (- (+ x y) z) (+ x y) (/ (- (+ x y) z) (* t 2)) (- (+ x y) z) (* t 2) (/ (- (+ x y) z) (* t 2)) (- (+ x y) z)) |
| 0.0ms | x | @ | -inf | ((/ (- (+ x y) z) (* t 2)) (- (+ x y) z) (+ x y) (/ (- (+ x y) z) (* t 2)) (- (+ x y) z) (* t 2) (/ (- (+ x y) z) (* t 2)) (- (+ x y) z)) |
| 1× | egg-herbie |
| Inputs |
|---|
(* 1/2 (/ (- y z) t)) |
(+ (* 1/2 (/ x t)) (* 1/2 (/ (- y z) t))) |
(- y z) |
(- (+ x y) z) |
y |
(+ x y) |
(* 1/2 (/ x t)) |
(* x (+ (* 1/2 (/ (- (/ y t) (/ z t)) x)) (* 1/2 (/ 1 t)))) |
x |
(* x (- (+ 1 (/ y x)) (/ z x))) |
(* x (+ 1 (/ y x))) |
(* -1 (* x (- (* -1/2 (/ (- (/ y t) (/ z t)) x)) (* 1/2 (/ 1 t))))) |
(* -1 (* x (- (* -1 (/ (- y z) x)) 1))) |
(* -1 (* x (- (* -1 (/ y x)) 1))) |
(* 1/2 (/ (- x z) t)) |
(+ (* 1/2 (/ y t)) (* 1/2 (/ (- x z) t))) |
(- x z) |
(* 1/2 (/ y t)) |
(* y (+ (* 1/2 (/ (- (/ x t) (/ z t)) y)) (* 1/2 (/ 1 t)))) |
(* y (- (+ 1 (/ x y)) (/ z y))) |
(* y (+ 1 (/ x y))) |
(* -1 (* y (- (* -1/2 (/ (- (/ x t) (/ z t)) y)) (* 1/2 (/ 1 t))))) |
(* -1 (* y (- (* -1 (/ (- x z) y)) 1))) |
(* -1 (* y (- (* -1 (/ x y)) 1))) |
(* 1/2 (/ (+ x y) t)) |
(+ (* -1/2 (/ z t)) (* 1/2 (/ (+ x y) t))) |
(+ x (+ y (* -1 z))) |
(* -1/2 (/ z t)) |
(* z (- (* 1/2 (/ (+ (/ x t) (/ y t)) z)) (* 1/2 (/ 1 t)))) |
(* -1 z) |
(* z (- (+ (/ x z) (/ y z)) 1)) |
(* -1 (* z (+ (* -1/2 (/ (+ (/ x t) (/ y t)) z)) (* 1/2 (/ 1 t))))) |
(* -1 (* z (+ 1 (* -1 (/ (+ x y) z))))) |
(* 1/2 (/ (- (+ x y) z) t)) |
(* 2 t) |
| Outputs |
|---|
(* 1/2 (/ (- y z) t)) |
#s(approx (/ (- (+ x y) z) (* t 2)) (-.f64 (+.f64 x y) z)) |
(+ (* 1/2 (/ x t)) (* 1/2 (/ (- y z) t))) |
(-.f64 (+.f64 x y) z) |
(- y z) |
(+.f64 x y) |
(- (+ x y) z) |
(/.f64 #s(approx (- (+ x y) z) (*.f64 t #s(literal 2 binary64))) (*.f64 t #s(literal 2 binary64))) |
y |
#s(approx (- (+ x y) z) (*.f64 t #s(literal 2 binary64))) |
(+ x y) |
(*.f64 t #s(literal 2 binary64)) |
(* 1/2 (/ x t)) |
(/.f64 #s(approx (- (+ x y) z) (+.f64 x y)) (*.f64 t #s(literal 2 binary64))) |
(* x (+ (* 1/2 (/ (- (/ y t) (/ z t)) x)) (* 1/2 (/ 1 t)))) |
#s(approx (- (+ x y) z) (+.f64 x y)) |
| Inputs |
|---|
#s(approx (/ (- (+ x y) z) (* t 2)) (-.f64 (+.f64 x y) z)) |
(-.f64 (+.f64 x y) z) |
(+.f64 x y) |
(/.f64 #s(approx (- (+ x y) z) (*.f64 t #s(literal 2 binary64))) (*.f64 t #s(literal 2 binary64))) |
#s(approx (- (+ x y) z) (*.f64 t #s(literal 2 binary64))) |
(*.f64 t #s(literal 2 binary64)) |
(/.f64 #s(approx (- (+ x y) z) (+.f64 x y)) (*.f64 t #s(literal 2 binary64))) |
#s(approx (- (+ x y) z) (+.f64 x y)) |
| Outputs |
|---|
#s(approx (/ (- (+ x y) z) (* t 2)) (-.f64 (+.f64 x y) z)) |
(-.f64 (+.f64 x y) z) |
(+.f64 x y) |
(/.f64 #s(approx (- (+ x y) z) (*.f64 t #s(literal 2 binary64))) (*.f64 t #s(literal 2 binary64))) |
#s(approx (- (+ x y) z) (*.f64 t #s(literal 2 binary64))) |
(*.f64 t #s(literal 2 binary64)) |
(/.f64 #s(approx (- (+ x y) z) (+.f64 x y)) (*.f64 t #s(literal 2 binary64))) |
#s(approx (- (+ x y) z) (+.f64 x y)) |
Compiled 335 to 33 computations (90.1% saved)
6 alts after pruning (2 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 17 | 2 | 19 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 3 | 3 |
| Done | 0 | 1 | 1 |
| Total | 17 | 6 | 23 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 99.6% | (/.f64 (-.f64 (+.f64 x y) z) (*.f64 t #s(literal 2 binary64))) |
| ✓ | 70.2% | (/.f64 #s(approx (- (+ x y) z) (+.f64 x y)) (*.f64 t #s(literal 2 binary64))) |
| ✓ | 3.4% | (/.f64 #s(approx (- (+ x y) z) (*.f64 t #s(literal 2 binary64))) (*.f64 t #s(literal 2 binary64))) |
| ✓ | 3.4% | #s(approx (/ (- (+ x y) z) (* t 2)) (-.f64 (+.f64 x y) z)) |
| ▶ | 2.9% | #s(approx (/ (- (+ x y) z) (* t 2)) (-.f64 #s(approx (+ x y) (*.f64 t #s(literal 2 binary64))) z)) |
| ▶ | 3.4% | #s(approx (/ (- (+ x y) z) (* t 2)) #s(approx (- (+ x y) z) (+.f64 x y))) |
Compiled 88 to 68 computations (22.7% saved)
| 1× | egg-herbie |
Found 7 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 t #s(literal 2 binary64)) | |
| cost-diff | 0 | #s(approx (+ x y) (*.f64 t #s(literal 2 binary64))) | |
| cost-diff | 0 | (-.f64 #s(approx (+ x y) (*.f64 t #s(literal 2 binary64))) z) | |
| cost-diff | 0 | #s(approx (/ (- (+ x y) z) (* t 2)) (-.f64 #s(approx (+ x y) (*.f64 t #s(literal 2 binary64))) z)) | |
| cost-diff | 0 | (+.f64 x y) | |
| cost-diff | 0 | #s(approx (- (+ x y) z) (+.f64 x y)) | |
| cost-diff | 0 | #s(approx (/ (- (+ x y) z) (* t 2)) #s(approx (- (+ x y) z) (+.f64 x y))) |
| Inputs |
|---|
#s(approx (/ (- (+ x y) z) (* t 2)) #s(approx (- (+ x y) z) (+.f64 x y))) |
#s(approx (- (+ x y) z) (+.f64 x y)) |
(+.f64 x y) |
x |
y |
#s(approx (/ (- (+ x y) z) (* t 2)) (-.f64 #s(approx (+ x y) (*.f64 t #s(literal 2 binary64))) z)) |
(-.f64 #s(approx (+ x y) (*.f64 t #s(literal 2 binary64))) z) |
#s(approx (+ x y) (*.f64 t #s(literal 2 binary64))) |
(*.f64 t #s(literal 2 binary64)) |
t |
#s(literal 2 binary64) |
z |
| Outputs |
|---|
#s(approx (/ (- (+ x y) z) (* t 2)) #s(approx (- (+ x y) z) (+.f64 x y))) |
#s(approx (- (+ x y) z) (+.f64 x y)) |
(+.f64 x y) |
x |
y |
#s(approx (/ (- (+ x y) z) (* t 2)) (-.f64 #s(approx (+ x y) (*.f64 t #s(literal 2 binary64))) z)) |
(-.f64 #s(approx (+ x y) (*.f64 t #s(literal 2 binary64))) z) |
#s(approx (+ x y) (*.f64 t #s(literal 2 binary64))) |
(*.f64 t #s(literal 2 binary64)) |
t |
#s(literal 2 binary64) |
z |
Found 7 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (-.f64 #s(approx (+ x y) (*.f64 t #s(literal 2 binary64))) z) | |
| accuracy | 0.0 | (*.f64 t #s(literal 2 binary64)) | |
| accuracy | 61.84153350196667 | #s(approx (+ x y) (*.f64 t #s(literal 2 binary64))) | |
| accuracy | 61.850431669684504 | #s(approx (/ (- (+ x y) z) (* t 2)) (-.f64 #s(approx (+ x y) (*.f64 t #s(literal 2 binary64))) z)) | |
| accuracy | 0.0 | (+.f64 x y) | |
| accuracy | 19.88867629861316 | #s(approx (- (+ x y) z) (+.f64 x y)) | |
| accuracy | 61.850431669684504 | #s(approx (/ (- (+ x y) z) (* t 2)) #s(approx (- (+ x y) z) (+.f64 x y))) |
| 17.0ms | 256× | 0 | valid |
Compiled 118 to 28 computations (76.3% saved)
ival-div: 3.0ms (39.5% of total)ival-add: 2.0ms (26.3% of total)ival-mult: 2.0ms (26.3% of total)ival-sub: 1.0ms (13.2% 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) z) (* t 2)) #s(approx (- (+ x y) z) (+.f64 x y))) |
#s(approx (- (+ x y) z) (+.f64 x y)) |
(+.f64 x y) |
#s(approx (/ (- (+ x y) z) (* t 2)) (-.f64 #s(approx (+ x y) (*.f64 t #s(literal 2 binary64))) z)) |
(-.f64 #s(approx (+ x y) (*.f64 t #s(literal 2 binary64))) z) |
#s(approx (+ x y) (*.f64 t #s(literal 2 binary64))) |
(*.f64 t #s(literal 2 binary64)) |
| Outputs |
|---|
(* 1/2 (/ (- y z) t)) |
(+ (* 1/2 (/ x t)) (* 1/2 (/ (- y z) t))) |
(- y z) |
(- (+ x y) z) |
y |
(+ x y) |
(* 1/2 (/ x t)) |
(* x (+ (* 1/2 (/ (- (/ y t) (/ z t)) x)) (* 1/2 (/ 1 t)))) |
x |
(* x (- (+ 1 (/ y x)) (/ z x))) |
(* x (+ 1 (/ y x))) |
(* -1 (* x (- (* -1/2 (/ (- (/ y t) (/ z t)) x)) (* 1/2 (/ 1 t))))) |
(* -1 (* x (- (* -1 (/ (- y z) x)) 1))) |
(* -1 (* x (- (* -1 (/ y x)) 1))) |
(* 1/2 (/ (- x z) t)) |
(+ (* 1/2 (/ y t)) (* 1/2 (/ (- x z) t))) |
(- x z) |
(* 1/2 (/ y t)) |
(* y (+ (* 1/2 (/ (- (/ x t) (/ z t)) y)) (* 1/2 (/ 1 t)))) |
(* y (- (+ 1 (/ x y)) (/ z y))) |
(* y (+ 1 (/ x y))) |
(* -1 (* y (- (* -1/2 (/ (- (/ x t) (/ z t)) y)) (* 1/2 (/ 1 t))))) |
(* -1 (* y (- (* -1 (/ (- x z) y)) 1))) |
(* -1 (* y (- (* -1 (/ x y)) 1))) |
(* 1/2 (/ (+ x y) t)) |
(+ (* -1/2 (/ z t)) (* 1/2 (/ (+ x y) t))) |
(+ x (+ y (* -1 z))) |
(* -1/2 (/ z t)) |
(* z (- (* 1/2 (/ (+ (/ x t) (/ y t)) z)) (* 1/2 (/ 1 t)))) |
(* -1 z) |
(* z (- (+ (/ x z) (/ y z)) 1)) |
(* -1 (* z (+ (* -1/2 (/ (+ (/ x t) (/ y t)) z)) (* 1/2 (/ 1 t))))) |
(* -1 (* z (+ 1 (* -1 (/ (+ x y) z))))) |
(* 1/2 (/ (- (+ x y) z) t)) |
(* 2 t) |
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | t | @ | -inf | ((/ (- (+ x y) z) (* t 2)) (- (+ x y) z) (+ x y) (/ (- (+ x y) z) (* t 2)) (- (+ x y) z) (+ x y) (* t 2)) |
| 0.0ms | t | @ | inf | ((/ (- (+ x y) z) (* t 2)) (- (+ x y) z) (+ x y) (/ (- (+ x y) z) (* t 2)) (- (+ x y) z) (+ x y) (* t 2)) |
| 0.0ms | t | @ | 0 | ((/ (- (+ x y) z) (* t 2)) (- (+ x y) z) (+ x y) (/ (- (+ x y) z) (* t 2)) (- (+ x y) z) (+ x y) (* t 2)) |
| 0.0ms | x | @ | inf | ((/ (- (+ x y) z) (* t 2)) (- (+ x y) z) (+ x y) (/ (- (+ x y) z) (* t 2)) (- (+ x y) z) (+ x y) (* t 2)) |
| 0.0ms | x | @ | -inf | ((/ (- (+ x y) z) (* t 2)) (- (+ x y) z) (+ x y) (/ (- (+ x y) z) (* t 2)) (- (+ x y) z) (+ x y) (* t 2)) |
| 1× | egg-herbie |
| Inputs |
|---|
(* 1/2 (/ (- y z) t)) |
(+ (* 1/2 (/ x t)) (* 1/2 (/ (- y z) t))) |
(- y z) |
(- (+ x y) z) |
y |
(+ x y) |
(* 1/2 (/ x t)) |
(* x (+ (* 1/2 (/ (- (/ y t) (/ z t)) x)) (* 1/2 (/ 1 t)))) |
x |
(* x (- (+ 1 (/ y x)) (/ z x))) |
(* x (+ 1 (/ y x))) |
(* -1 (* x (- (* -1/2 (/ (- (/ y t) (/ z t)) x)) (* 1/2 (/ 1 t))))) |
(* -1 (* x (- (* -1 (/ (- y z) x)) 1))) |
(* -1 (* x (- (* -1 (/ y x)) 1))) |
(* 1/2 (/ (- x z) t)) |
(+ (* 1/2 (/ y t)) (* 1/2 (/ (- x z) t))) |
(- x z) |
(* 1/2 (/ y t)) |
(* y (+ (* 1/2 (/ (- (/ x t) (/ z t)) y)) (* 1/2 (/ 1 t)))) |
(* y (- (+ 1 (/ x y)) (/ z y))) |
(* y (+ 1 (/ x y))) |
(* -1 (* y (- (* -1/2 (/ (- (/ x t) (/ z t)) y)) (* 1/2 (/ 1 t))))) |
(* -1 (* y (- (* -1 (/ (- x z) y)) 1))) |
(* -1 (* y (- (* -1 (/ x y)) 1))) |
(* 1/2 (/ (+ x y) t)) |
(+ (* -1/2 (/ z t)) (* 1/2 (/ (+ x y) t))) |
(+ x (+ y (* -1 z))) |
(* -1/2 (/ z t)) |
(* z (- (* 1/2 (/ (+ (/ x t) (/ y t)) z)) (* 1/2 (/ 1 t)))) |
(* -1 z) |
(* z (- (+ (/ x z) (/ y z)) 1)) |
(* -1 (* z (+ (* -1/2 (/ (+ (/ x t) (/ y t)) z)) (* 1/2 (/ 1 t))))) |
(* -1 (* z (+ 1 (* -1 (/ (+ x y) z))))) |
(* 1/2 (/ (- (+ x y) z) t)) |
(* 2 t) |
| Outputs |
|---|
(* 1/2 (/ (- y z) t)) |
#s(approx (/ (- (+ x y) z) (* t 2)) #s(approx (- (+ x y) z) (+.f64 x y))) |
(+ (* 1/2 (/ x t)) (* 1/2 (/ (- y z) t))) |
#s(approx (- (+ x y) z) (+.f64 x y)) |
(- y z) |
(+.f64 x y) |
(- (+ x y) z) |
#s(approx (/ (- (+ x y) z) (* t 2)) (-.f64 #s(approx (+ x y) (*.f64 t #s(literal 2 binary64))) z)) |
y |
(-.f64 #s(approx (+ x y) (*.f64 t #s(literal 2 binary64))) z) |
(+ x y) |
#s(approx (+ x y) (*.f64 t #s(literal 2 binary64))) |
(* 1/2 (/ x t)) |
(*.f64 t #s(literal 2 binary64)) |
| Inputs |
|---|
#s(approx (/ (- (+ x y) z) (* t 2)) #s(approx (- (+ x y) z) (+.f64 x y))) |
#s(approx (- (+ x y) z) (+.f64 x y)) |
(+.f64 x y) |
#s(approx (/ (- (+ x y) z) (* t 2)) (-.f64 #s(approx (+ x y) (*.f64 t #s(literal 2 binary64))) z)) |
(-.f64 #s(approx (+ x y) (*.f64 t #s(literal 2 binary64))) z) |
#s(approx (+ x y) (*.f64 t #s(literal 2 binary64))) |
(*.f64 t #s(literal 2 binary64)) |
| Outputs |
|---|
#s(approx (/ (- (+ x y) z) (* t 2)) #s(approx (- (+ x y) z) (+.f64 x y))) |
#s(approx (- (+ x y) z) (+.f64 x y)) |
(+.f64 x y) |
#s(approx (/ (- (+ x y) z) (* t 2)) (-.f64 #s(approx (+ x y) (*.f64 t #s(literal 2 binary64))) z)) |
(-.f64 #s(approx (+ x y) (*.f64 t #s(literal 2 binary64))) z) |
#s(approx (+ x y) (*.f64 t #s(literal 2 binary64))) |
(*.f64 t #s(literal 2 binary64)) |
Compiled 266 to 27 computations (89.8% saved)
7 alts after pruning (1 fresh and 6 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 11 | 1 | 12 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 2 | 2 |
| Done | 0 | 4 | 4 |
| Total | 11 | 7 | 18 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 99.6% | (/.f64 (-.f64 (+.f64 x y) z) (*.f64 t #s(literal 2 binary64))) |
| ✓ | 70.2% | (/.f64 #s(approx (- (+ x y) z) (+.f64 x y)) (*.f64 t #s(literal 2 binary64))) |
| ✓ | 3.4% | (/.f64 #s(approx (- (+ x y) z) (*.f64 t #s(literal 2 binary64))) (*.f64 t #s(literal 2 binary64))) |
| ✓ | 3.4% | #s(approx (/ (- (+ x y) z) (* t 2)) (-.f64 (+.f64 x y) z)) |
| ✓ | 2.9% | #s(approx (/ (- (+ x y) z) (* t 2)) (-.f64 #s(approx (+ x y) (*.f64 t #s(literal 2 binary64))) z)) |
| ▶ | 2.5% | #s(approx (/ (- (+ x y) z) (* t 2)) (*.f64 t #s(literal 2 binary64))) |
| ✓ | 3.4% | #s(approx (/ (- (+ x y) z) (* t 2)) #s(approx (- (+ x y) z) (+.f64 x y))) |
Compiled 101 to 80 computations (20.8% saved)
| 1× | egg-herbie |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 t #s(literal 2 binary64)) | |
| cost-diff | 0 | #s(approx (/ (- (+ x y) z) (* t 2)) (*.f64 t #s(literal 2 binary64))) |
| Inputs |
|---|
#s(approx (/ (- (+ x y) z) (* t 2)) (*.f64 t #s(literal 2 binary64))) |
(*.f64 t #s(literal 2 binary64)) |
t |
#s(literal 2 binary64) |
| Outputs |
|---|
#s(approx (/ (- (+ x y) z) (* t 2)) (*.f64 t #s(literal 2 binary64))) |
(*.f64 t #s(literal 2 binary64)) |
t |
#s(literal 2 binary64) |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (*.f64 t #s(literal 2 binary64)) | |
| accuracy | 62.42913241142365 | #s(approx (/ (- (+ x y) z) (* t 2)) (*.f64 t #s(literal 2 binary64))) |
| 14.0ms | 256× | 0 | valid |
Compiled 34 to 23 computations (32.4% saved)
ival-div: 2.0ms (31.5% of total)ival-mult: 2.0ms (31.5% of total)ival-sub: 1.0ms (15.7% of total)ival-add: 1.0ms (15.7% 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) z) (* t 2)) (*.f64 t #s(literal 2 binary64))) |
(*.f64 t #s(literal 2 binary64)) |
| Outputs |
|---|
(* 1/2 (/ (- y z) t)) |
(+ (* 1/2 (/ x t)) (* 1/2 (/ (- y z) t))) |
(* 1/2 (/ x t)) |
(* x (+ (* 1/2 (/ (- (/ y t) (/ z t)) x)) (* 1/2 (/ 1 t)))) |
(* -1 (* x (- (* -1/2 (/ (- (/ y t) (/ z t)) x)) (* 1/2 (/ 1 t))))) |
(* 1/2 (/ (- x z) t)) |
(+ (* 1/2 (/ y t)) (* 1/2 (/ (- x z) t))) |
(* 1/2 (/ y t)) |
(* y (+ (* 1/2 (/ (- (/ x t) (/ z t)) y)) (* 1/2 (/ 1 t)))) |
(* -1 (* y (- (* -1/2 (/ (- (/ x t) (/ z t)) y)) (* 1/2 (/ 1 t))))) |
(* 1/2 (/ (+ x y) t)) |
(+ (* -1/2 (/ z t)) (* 1/2 (/ (+ x y) t))) |
(* -1/2 (/ z t)) |
(* z (- (* 1/2 (/ (+ (/ x t) (/ y t)) z)) (* 1/2 (/ 1 t)))) |
(* -1 (* z (+ (* -1/2 (/ (+ (/ x t) (/ y t)) z)) (* 1/2 (/ 1 t))))) |
(* 1/2 (/ (- (+ x y) z) t)) |
(* 2 t) |
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | t | @ | 0 | ((/ (- (+ x y) z) (* t 2)) (* t 2)) |
| 0.0ms | t | @ | -inf | ((/ (- (+ x y) z) (* t 2)) (* t 2)) |
| 0.0ms | t | @ | inf | ((/ (- (+ x y) z) (* t 2)) (* t 2)) |
| 0.0ms | y | @ | -inf | ((/ (- (+ x y) z) (* t 2)) (* t 2)) |
| 0.0ms | x | @ | inf | ((/ (- (+ x y) z) (* t 2)) (* t 2)) |
| 1× | egg-herbie |
| Inputs |
|---|
(* 1/2 (/ (- y z) t)) |
(+ (* 1/2 (/ x t)) (* 1/2 (/ (- y z) t))) |
(* 1/2 (/ x t)) |
(* x (+ (* 1/2 (/ (- (/ y t) (/ z t)) x)) (* 1/2 (/ 1 t)))) |
(* -1 (* x (- (* -1/2 (/ (- (/ y t) (/ z t)) x)) (* 1/2 (/ 1 t))))) |
(* 1/2 (/ (- x z) t)) |
(+ (* 1/2 (/ y t)) (* 1/2 (/ (- x z) t))) |
(* 1/2 (/ y t)) |
(* y (+ (* 1/2 (/ (- (/ x t) (/ z t)) y)) (* 1/2 (/ 1 t)))) |
(* -1 (* y (- (* -1/2 (/ (- (/ x t) (/ z t)) y)) (* 1/2 (/ 1 t))))) |
(* 1/2 (/ (+ x y) t)) |
(+ (* -1/2 (/ z t)) (* 1/2 (/ (+ x y) t))) |
(* -1/2 (/ z t)) |
(* z (- (* 1/2 (/ (+ (/ x t) (/ y t)) z)) (* 1/2 (/ 1 t)))) |
(* -1 (* z (+ (* -1/2 (/ (+ (/ x t) (/ y t)) z)) (* 1/2 (/ 1 t))))) |
(* 1/2 (/ (- (+ x y) z) t)) |
(* 2 t) |
| Outputs |
|---|
(* 1/2 (/ (- y z) t)) |
#s(approx (/ (- (+ x y) z) (* t 2)) (*.f64 t #s(literal 2 binary64))) |
(+ (* 1/2 (/ x t)) (* 1/2 (/ (- y z) t))) |
(*.f64 t #s(literal 2 binary64)) |
| Inputs |
|---|
#s(approx (/ (- (+ x y) z) (* t 2)) (*.f64 t #s(literal 2 binary64))) |
(*.f64 t #s(literal 2 binary64)) |
| Outputs |
|---|
#s(approx (/ (- (+ x y) z) (* t 2)) (*.f64 t #s(literal 2 binary64))) |
(*.f64 t #s(literal 2 binary64)) |
Compiled 49 to 13 computations (73.5% saved)
7 alts after pruning (0 fresh and 7 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 3 | 0 | 3 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 6 | 6 |
| Total | 3 | 7 | 10 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 99.6% | (/.f64 (-.f64 (+.f64 x y) z) (*.f64 t #s(literal 2 binary64))) |
| ✓ | 70.2% | (/.f64 #s(approx (- (+ x y) z) (+.f64 x y)) (*.f64 t #s(literal 2 binary64))) |
| ✓ | 3.4% | (/.f64 #s(approx (- (+ x y) z) (*.f64 t #s(literal 2 binary64))) (*.f64 t #s(literal 2 binary64))) |
| ✓ | 3.4% | #s(approx (/ (- (+ x y) z) (* t 2)) (-.f64 (+.f64 x y) z)) |
| ✓ | 2.9% | #s(approx (/ (- (+ x y) z) (* t 2)) (-.f64 #s(approx (+ x y) (*.f64 t #s(literal 2 binary64))) z)) |
| ✓ | 2.5% | #s(approx (/ (- (+ x y) z) (* t 2)) (*.f64 t #s(literal 2 binary64))) |
| ✓ | 3.4% | #s(approx (/ (- (+ x y) z) (* t 2)) #s(approx (- (+ x y) z) (+.f64 x y))) |
Compiled 202 to 104 computations (48.5% saved)
| Inputs |
|---|
#s(approx (/ (- (+ x y) z) (* t 2)) #s(approx (- (+ x y) z) (+.f64 x y))) |
#s(approx (/ (- (+ x y) z) (* t 2)) (*.f64 t #s(literal 2 binary64))) |
#s(approx (/ (- (+ x y) z) (* t 2)) (-.f64 (+.f64 x y) z)) |
#s(approx (/ (- (+ x y) z) (* t 2)) (-.f64 #s(approx (+ x y) (*.f64 t #s(literal 2 binary64))) z)) |
(/.f64 #s(approx (- (+ x y) z) (+.f64 x y)) (*.f64 t #s(literal 2 binary64))) |
(/.f64 #s(approx (- (+ x y) z) (*.f64 t #s(literal 2 binary64))) (*.f64 t #s(literal 2 binary64))) |
(/.f64 (-.f64 (+.f64 x y) z) (*.f64 t #s(literal 2 binary64))) |
| Outputs |
|---|
(/.f64 (-.f64 (+.f64 x y) z) (*.f64 t #s(literal 2 binary64))) |
8 calls:
| 5.0ms | x |
| 3.0ms | (*.f64 t #s(literal 2 binary64)) |
| 3.0ms | (-.f64 (+.f64 x y) z) |
| 3.0ms | t |
| 3.0ms | (+.f64 x y) |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.6% | 1 | x |
| 99.6% | 1 | y |
| 99.6% | 1 | z |
| 99.6% | 1 | t |
| 99.6% | 1 | (/.f64 (-.f64 (+.f64 x y) z) (*.f64 t #s(literal 2 binary64))) |
| 99.6% | 1 | (-.f64 (+.f64 x y) z) |
| 99.6% | 1 | (+.f64 x y) |
| 99.6% | 1 | (*.f64 t #s(literal 2 binary64)) |
Compiled 24 to 42 computations (-75% saved)
| Inputs |
|---|
#s(approx (/ (- (+ x y) z) (* t 2)) #s(approx (- (+ x y) z) (+.f64 x y))) |
#s(approx (/ (- (+ x y) z) (* t 2)) (*.f64 t #s(literal 2 binary64))) |
#s(approx (/ (- (+ x y) z) (* t 2)) (-.f64 (+.f64 x y) z)) |
#s(approx (/ (- (+ x y) z) (* t 2)) (-.f64 #s(approx (+ x y) (*.f64 t #s(literal 2 binary64))) z)) |
(/.f64 #s(approx (- (+ x y) z) (+.f64 x y)) (*.f64 t #s(literal 2 binary64))) |
(/.f64 #s(approx (- (+ x y) z) (*.f64 t #s(literal 2 binary64))) (*.f64 t #s(literal 2 binary64))) |
| Outputs |
|---|
(/.f64 #s(approx (- (+ x y) z) (+.f64 x y)) (*.f64 t #s(literal 2 binary64))) |
8 calls:
| 2.0ms | (*.f64 t #s(literal 2 binary64)) |
| 2.0ms | y |
| 2.0ms | t |
| 2.0ms | (-.f64 (+.f64 x y) z) |
| 2.0ms | (+.f64 x y) |
| Accuracy | Segments | Branch |
|---|---|---|
| 70.2% | 1 | x |
| 70.2% | 1 | y |
| 70.2% | 1 | z |
| 70.2% | 1 | t |
| 70.2% | 1 | (/.f64 (-.f64 (+.f64 x y) z) (*.f64 t #s(literal 2 binary64))) |
| 70.2% | 1 | (-.f64 (+.f64 x y) z) |
| 70.2% | 1 | (+.f64 x y) |
| 70.2% | 1 | (*.f64 t #s(literal 2 binary64)) |
Compiled 24 to 42 computations (-75% saved)
Total -1.3b remaining (-2.1%)
Threshold costs -1.3b (-2.1%)
| Inputs |
|---|
#s(approx (/ (- (+ x y) z) (* t 2)) #s(approx (- (+ x y) z) (+.f64 x y))) |
#s(approx (/ (- (+ x y) z) (* t 2)) (*.f64 t #s(literal 2 binary64))) |
#s(approx (/ (- (+ x y) z) (* t 2)) (-.f64 (+.f64 x y) z)) |
#s(approx (/ (- (+ x y) z) (* t 2)) (-.f64 #s(approx (+ x y) (*.f64 t #s(literal 2 binary64))) z)) |
| Outputs |
|---|
#s(approx (/ (- (+ x y) z) (* t 2)) #s(approx (- (+ x y) z) (+.f64 x y))) |
8 calls:
| 4.0ms | (-.f64 (+.f64 x y) z) |
| 2.0ms | x |
| 2.0ms | (*.f64 t #s(literal 2 binary64)) |
| 2.0ms | y |
| 2.0ms | (+.f64 x y) |
| Accuracy | Segments | Branch |
|---|---|---|
| 3.4% | 1 | (/.f64 (-.f64 (+.f64 x y) z) (*.f64 t #s(literal 2 binary64))) |
| 3.4% | 1 | y |
| 3.4% | 1 | t |
| 3.4% | 1 | (*.f64 t #s(literal 2 binary64)) |
| 3.4% | 1 | z |
| 3.4% | 1 | (+.f64 x y) |
| 3.4% | 1 | x |
| 3.4% | 1 | (-.f64 (+.f64 x y) z) |
Compiled 24 to 42 computations (-75% saved)
| 1× | egg-herbie |
| Inputs |
|---|
(/.f64 (-.f64 (+.f64 x y) z) (*.f64 t #s(literal 2 binary64))) |
(/.f64 #s(approx (- (+ x y) z) (+.f64 x y)) (*.f64 t #s(literal 2 binary64))) |
#s(approx (/ (- (+ x y) z) (* t 2)) #s(approx (- (+ x y) z) (+.f64 x y))) |
| Outputs |
|---|
(/.f64 (-.f64 (+.f64 x y) z) (*.f64 t #s(literal 2 binary64))) |
(/.f64 #s(approx (- (+ x y) z) (+.f64 x y)) (*.f64 t #s(literal 2 binary64))) |
#s(approx (/ (- (+ x y) z) (* t 2)) #s(approx (- (+ x y) z) (+.f64 x y))) |
| 1× | done |
Compiled 41 to 17 computations (58.5% saved)
Compiled 100 to 52 computations (48% saved)
Loading profile data...