
Time bar (total: 1.1s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 0 |
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 1 |
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 2 |
| 50% | 50% | 50% | 0.1% | 0% | 0% | 0% | 3 |
| 50% | 50% | 50% | 0.1% | 0% | 0% | 0% | 4 |
| 75% | 74.9% | 25% | 0.1% | 0% | 0% | 0% | 5 |
| 75% | 74.9% | 25% | 0.1% | 0% | 0% | 0% | 6 |
| 87.5% | 87.4% | 12.5% | 0.1% | 0% | 0% | 0% | 7 |
| 87.5% | 87.4% | 12.5% | 0.1% | 0% | 0% | 0% | 8 |
| 93.8% | 93.7% | 6.2% | 0.1% | 0% | 0% | 0% | 9 |
| 93.8% | 93.7% | 6.2% | 0.1% | 0% | 0% | 0% | 10 |
| 96.9% | 96.8% | 3.1% | 0.1% | 0% | 0% | 0% | 11 |
| 96.9% | 96.8% | 3.1% | 0.1% | 0% | 0% | 0% | 12 |
Compiled 13 to 11 computations (15.4% saved)
| 455.0ms | 8 256× | 0 | valid |
ival-mult: 99.0ms (36.4% of total)ival-sub: 98.0ms (36% of total)ival-div: 57.0ms (21% of total)exact: 9.0ms (3.3% of total)ival-true: 7.0ms (2.6% of total)ival-assert: 4.0ms (1.5% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 17 | 0 | - | 0 | - | (/.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64))) |
| 0 | 0 | - | 0 | - | (*.f64 y #s(literal 3 binary64)) |
| 0 | 0 | - | 0 | - | (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x)) |
| 0 | 0 | - | 0 | - | #s(literal 3 binary64) |
| 0 | 0 | - | 0 | - | #s(literal 1 binary64) |
| 0 | 0 | - | 0 | - | (-.f64 #s(literal 1 binary64) x) |
| 0 | 0 | - | 0 | - | (-.f64 #s(literal 3 binary64) x) |
| 0 | 0 | - | 0 | - | y |
| 0 | 0 | - | 0 | - | x |
| Operator | Subexpression | Explanation | Count | |
|---|---|---|---|---|
/.f64 | (/.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64))) | o/n | 17 | 0 |
| ↳ | (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x)) | overflow | 55 |
| Predicted + | Predicted - | |
|---|---|---|
| + | 17 | 0 |
| - | 0 | 239 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 17 | 0 | 0 |
| - | 0 | 0 | 239 |
| number | freq |
|---|---|
| 0 | 239 |
| 1 | 17 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 1 | 0 | 0 |
| - | 0 | 0 | 0 |
| 36.0ms | 512× | 0 | valid |
Compiled 108 to 40 computations (63% saved)
ival-sub: 7.0ms (39.2% of total)ival-mult: 6.0ms (33.6% of total)ival-div: 3.0ms (16.8% of total)exact: 1.0ms (5.6% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 1× | egg-herbie |
| Inputs |
|---|
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64))) |
| Outputs |
|---|
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64))) |
Compiled 11 to 9 computations (18.2% saved)
Compiled 0 to 2 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 93.5% | (/.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64))) |
Compiled 11 to 9 computations (18.2% saved)
| 1× | egg-herbie |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (-.f64 #s(literal 3 binary64) x) | |
| cost-diff | 0 | (-.f64 #s(literal 1 binary64) x) | |
| cost-diff | 0 | (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x)) | |
| cost-diff | 0 | (/.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64))) |
| Inputs |
|---|
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64))) |
(*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x)) |
(-.f64 #s(literal 1 binary64) x) |
#s(literal 1 binary64) |
x |
(-.f64 #s(literal 3 binary64) x) |
#s(literal 3 binary64) |
(*.f64 y #s(literal 3 binary64)) |
y |
| Outputs |
|---|
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64))) |
(*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x)) |
(-.f64 #s(literal 1 binary64) x) |
#s(literal 1 binary64) |
x |
(-.f64 #s(literal 3 binary64) x) |
#s(literal 3 binary64) |
(*.f64 y #s(literal 3 binary64)) |
y |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (-.f64 #s(literal 1 binary64) x) | |
| accuracy | 0.0 | (*.f64 y #s(literal 3 binary64)) | |
| accuracy | 0.0078125 | (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x)) | |
| accuracy | 4.185813736499053 | (/.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64))) |
| 17.0ms | 256× | 0 | valid |
Compiled 64 to 20 computations (68.8% saved)
ival-sub: 5.0ms (51.2% of total)ival-mult: 3.0ms (30.7% of total)ival-div: 2.0ms (20.5% 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 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64))) |
(*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x)) |
(-.f64 #s(literal 1 binary64) x) |
(-.f64 #s(literal 3 binary64) x) |
(*.f64 y #s(literal 3 binary64)) |
| Outputs |
|---|
(/ 1 y) |
(+ (* -4/3 (/ x y)) (/ 1 y)) |
(+ (* x (- (* 1/3 (/ x y)) (* 4/3 (/ 1 y)))) (/ 1 y)) |
3 |
(+ 3 (* -4 x)) |
(+ 3 (* x (- x 4))) |
1 |
(+ 1 (* -1 x)) |
(+ 3 (* -1 x)) |
(* 1/3 (/ (pow x 2) y)) |
(* (pow x 2) (- (* 1/3 (/ 1 y)) (* 4/3 (/ 1 (* x y))))) |
(* (pow x 2) (- (+ (* 1/3 (/ 1 y)) (/ 1 (* (pow x 2) y))) (/ 4/3 (* x y)))) |
(pow x 2) |
(* (pow x 2) (- 1 (* 4 (/ 1 x)))) |
(* (pow x 2) (- (+ 1 (/ 3 (pow x 2))) (* 4 (/ 1 x)))) |
(* -1 x) |
(* x (- (/ 1 x) 1)) |
(* x (- (* 3 (/ 1 x)) 1)) |
(* (pow x 2) (+ (* -1 (/ (- (* 4/3 (/ 1 y)) (/ 1 (* x y))) x)) (* 1/3 (/ 1 y)))) |
(* (pow x 2) (+ 1 (* -1 (/ (- 4 (* 3 (/ 1 x))) x)))) |
(* -1 (* x (- 1 (/ 1 x)))) |
(* -1 (* x (- 1 (* 3 (/ 1 x))))) |
(* 1/3 (/ (* (- 1 x) (- 3 x)) y)) |
(* 3 y) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | y | @ | inf | ((/ (* (- 1 x) (- 3 x)) (* y 3)) (* (- 1 x) (- 3 x)) (- 1 x) (- 3 x) (* y 3)) |
| 1.0ms | y | @ | 0 | ((/ (* (- 1 x) (- 3 x)) (* y 3)) (* (- 1 x) (- 3 x)) (- 1 x) (- 3 x) (* y 3)) |
| 1.0ms | y | @ | -inf | ((/ (* (- 1 x) (- 3 x)) (* y 3)) (* (- 1 x) (- 3 x)) (- 1 x) (- 3 x) (* y 3)) |
| 1.0ms | x | @ | inf | ((/ (* (- 1 x) (- 3 x)) (* y 3)) (* (- 1 x) (- 3 x)) (- 1 x) (- 3 x) (* y 3)) |
| 1.0ms | x | @ | -inf | ((/ (* (- 1 x) (- 3 x)) (* y 3)) (* (- 1 x) (- 3 x)) (- 1 x) (- 3 x) (* y 3)) |
| 1× | egg-herbie |
| Inputs |
|---|
(/ 1 y) |
(+ (* -4/3 (/ x y)) (/ 1 y)) |
(+ (* x (- (* 1/3 (/ x y)) (* 4/3 (/ 1 y)))) (/ 1 y)) |
3 |
(+ 3 (* -4 x)) |
(+ 3 (* x (- x 4))) |
1 |
(+ 1 (* -1 x)) |
(+ 3 (* -1 x)) |
(* 1/3 (/ (pow x 2) y)) |
(* (pow x 2) (- (* 1/3 (/ 1 y)) (* 4/3 (/ 1 (* x y))))) |
(* (pow x 2) (- (+ (* 1/3 (/ 1 y)) (/ 1 (* (pow x 2) y))) (/ 4/3 (* x y)))) |
(pow x 2) |
(* (pow x 2) (- 1 (* 4 (/ 1 x)))) |
(* (pow x 2) (- (+ 1 (/ 3 (pow x 2))) (* 4 (/ 1 x)))) |
(* -1 x) |
(* x (- (/ 1 x) 1)) |
(* x (- (* 3 (/ 1 x)) 1)) |
(* (pow x 2) (+ (* -1 (/ (- (* 4/3 (/ 1 y)) (/ 1 (* x y))) x)) (* 1/3 (/ 1 y)))) |
(* (pow x 2) (+ 1 (* -1 (/ (- 4 (* 3 (/ 1 x))) x)))) |
(* -1 (* x (- 1 (/ 1 x)))) |
(* -1 (* x (- 1 (* 3 (/ 1 x))))) |
(* 1/3 (/ (* (- 1 x) (- 3 x)) y)) |
(* 3 y) |
| Outputs |
|---|
(/ 1 y) |
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64))) |
(+ (* -4/3 (/ x y)) (/ 1 y)) |
(*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x)) |
(+ (* x (- (* 1/3 (/ x y)) (* 4/3 (/ 1 y)))) (/ 1 y)) |
(-.f64 #s(literal 1 binary64) x) |
3 |
(-.f64 #s(literal 3 binary64) x) |
(+ 3 (* -4 x)) |
(*.f64 y #s(literal 3 binary64)) |
| Inputs |
|---|
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64))) |
(*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x)) |
(-.f64 #s(literal 1 binary64) x) |
(-.f64 #s(literal 3 binary64) x) |
(*.f64 y #s(literal 3 binary64)) |
| Outputs |
|---|
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64))) |
(*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x)) |
(-.f64 #s(literal 1 binary64) x) |
(-.f64 #s(literal 3 binary64) x) |
(*.f64 y #s(literal 3 binary64)) |
Compiled 142 to 23 computations (83.8% saved)
5 alts after pruning (4 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 6 | 4 | 10 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 6 | 5 | 11 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 93.5% | (/.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64))) |
| ▶ | 55.8% | (/.f64 #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64))) |
| ▶ | 3.1% | (/.f64 #s(approx (* (- 1 x) (- 3 x)) (*.f64 y #s(literal 3 binary64))) (*.f64 y #s(literal 3 binary64))) |
| ▶ | 3.8% | #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (-.f64 #s(literal 1 binary64) x)) |
| ▶ | 11.3% | #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x))) |
Compiled 75 to 59 computations (21.3% saved)
| 1× | egg-herbie |
Found 13 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 y #s(literal 3 binary64)) | |
| cost-diff | 0 | (-.f64 #s(literal 3 binary64) x) | |
| cost-diff | 0 | #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) | |
| cost-diff | 0 | (/.f64 #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64))) | |
| cost-diff | 0 | (*.f64 y #s(literal 3 binary64)) | |
| cost-diff | 0 | #s(approx (* (- 1 x) (- 3 x)) (*.f64 y #s(literal 3 binary64))) | |
| cost-diff | 0 | (/.f64 #s(approx (* (- 1 x) (- 3 x)) (*.f64 y #s(literal 3 binary64))) (*.f64 y #s(literal 3 binary64))) | |
| cost-diff | 0 | (-.f64 #s(literal 1 binary64) x) | |
| cost-diff | 0 | #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (-.f64 #s(literal 1 binary64) x)) | |
| cost-diff | 0 | (-.f64 #s(literal 3 binary64) x) | |
| cost-diff | 0 | (-.f64 #s(literal 1 binary64) x) | |
| cost-diff | 0 | (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x)) | |
| cost-diff | 0 | #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x))) |
| Inputs |
|---|
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x))) |
(*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x)) |
(-.f64 #s(literal 1 binary64) x) |
#s(literal 1 binary64) |
x |
(-.f64 #s(literal 3 binary64) x) |
#s(literal 3 binary64) |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (-.f64 #s(literal 1 binary64) x)) |
(-.f64 #s(literal 1 binary64) x) |
#s(literal 1 binary64) |
x |
(/.f64 #s(approx (* (- 1 x) (- 3 x)) (*.f64 y #s(literal 3 binary64))) (*.f64 y #s(literal 3 binary64))) |
#s(approx (* (- 1 x) (- 3 x)) (*.f64 y #s(literal 3 binary64))) |
(*.f64 y #s(literal 3 binary64)) |
y |
#s(literal 3 binary64) |
(/.f64 #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64))) |
#s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) |
(-.f64 #s(literal 3 binary64) x) |
#s(literal 3 binary64) |
x |
(*.f64 y #s(literal 3 binary64)) |
y |
| Outputs |
|---|
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x))) |
(*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x)) |
(-.f64 #s(literal 1 binary64) x) |
#s(literal 1 binary64) |
x |
(-.f64 #s(literal 3 binary64) x) |
#s(literal 3 binary64) |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (-.f64 #s(literal 1 binary64) x)) |
(-.f64 #s(literal 1 binary64) x) |
#s(literal 1 binary64) |
x |
(/.f64 #s(approx (* (- 1 x) (- 3 x)) (*.f64 y #s(literal 3 binary64))) (*.f64 y #s(literal 3 binary64))) |
#s(approx (* (- 1 x) (- 3 x)) (*.f64 y #s(literal 3 binary64))) |
(*.f64 y #s(literal 3 binary64)) |
y |
#s(literal 3 binary64) |
(/.f64 #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64))) |
#s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) |
(-.f64 #s(literal 3 binary64) x) |
#s(literal 3 binary64) |
x |
(*.f64 y #s(literal 3 binary64)) |
y |
Found 13 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (-.f64 #s(literal 3 binary64) x) | |
| accuracy | 0.0 | (*.f64 y #s(literal 3 binary64)) | |
| accuracy | 4.185813736499053 | (/.f64 #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64))) | |
| accuracy | 30.932026693063204 | #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) | |
| accuracy | 0.0 | (*.f64 y #s(literal 3 binary64)) | |
| accuracy | 4.185813736499053 | (/.f64 #s(approx (* (- 1 x) (- 3 x)) (*.f64 y #s(literal 3 binary64))) (*.f64 y #s(literal 3 binary64))) | |
| accuracy | 61.975091115078826 | #s(approx (* (- 1 x) (- 3 x)) (*.f64 y #s(literal 3 binary64))) | |
| accuracy | 0.0 | (-.f64 #s(literal 1 binary64) x) | |
| accuracy | 61.55230364275586 | #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (-.f64 #s(literal 1 binary64) x)) | |
| accuracy | 0.0 | (-.f64 #s(literal 3 binary64) x) | |
| accuracy | 0.0 | (-.f64 #s(literal 1 binary64) x) | |
| accuracy | 0.0078125 | (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x)) | |
| accuracy | 56.793586062765534 | #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x))) |
| 18.0ms | 256× | 0 | valid |
Compiled 216 to 32 computations (85.2% saved)
ival-sub: 3.0ms (37.8% of total)ival-mult: 3.0ms (37.8% of total)ival-div: 2.0ms (25.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 (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x))) |
(*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x)) |
(-.f64 #s(literal 1 binary64) x) |
(-.f64 #s(literal 3 binary64) x) |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (-.f64 #s(literal 1 binary64) x)) |
(/.f64 #s(approx (* (- 1 x) (- 3 x)) (*.f64 y #s(literal 3 binary64))) (*.f64 y #s(literal 3 binary64))) |
#s(approx (* (- 1 x) (- 3 x)) (*.f64 y #s(literal 3 binary64))) |
(*.f64 y #s(literal 3 binary64)) |
(/.f64 #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64))) |
#s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) |
| Outputs |
|---|
(/ 1 y) |
(+ (* -4/3 (/ x y)) (/ 1 y)) |
(+ (* x (- (* 1/3 (/ x y)) (* 4/3 (/ 1 y)))) (/ 1 y)) |
3 |
(+ 3 (* -4 x)) |
(+ 3 (* x (- x 4))) |
1 |
(+ 1 (* -1 x)) |
(+ 3 (* -1 x)) |
(* 1/3 (/ (pow x 2) y)) |
(* (pow x 2) (- (* 1/3 (/ 1 y)) (* 4/3 (/ 1 (* x y))))) |
(* (pow x 2) (- (+ (* 1/3 (/ 1 y)) (/ 1 (* (pow x 2) y))) (/ 4/3 (* x y)))) |
(pow x 2) |
(* (pow x 2) (- 1 (* 4 (/ 1 x)))) |
(* (pow x 2) (- (+ 1 (/ 3 (pow x 2))) (* 4 (/ 1 x)))) |
(* -1 x) |
(* x (- (/ 1 x) 1)) |
(* x (- (* 3 (/ 1 x)) 1)) |
(* (pow x 2) (+ (* -1 (/ (- (* 4/3 (/ 1 y)) (/ 1 (* x y))) x)) (* 1/3 (/ 1 y)))) |
(* (pow x 2) (+ 1 (* -1 (/ (- 4 (* 3 (/ 1 x))) x)))) |
(* -1 (* x (- 1 (/ 1 x)))) |
(* -1 (* x (- 1 (* 3 (/ 1 x))))) |
(* 1/3 (/ (* (- 1 x) (- 3 x)) y)) |
(* 3 y) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | y | @ | 0 | ((/ (* (- 1 x) (- 3 x)) (* y 3)) (* (- 1 x) (- 3 x)) (- 1 x) (- 3 x) (/ (* (- 1 x) (- 3 x)) (* y 3)) (/ (* (- 1 x) (- 3 x)) (* y 3)) (* (- 1 x) (- 3 x)) (* y 3) (/ (* (- 1 x) (- 3 x)) (* y 3)) (* (- 1 x) (- 3 x))) |
| 1.0ms | y | @ | inf | ((/ (* (- 1 x) (- 3 x)) (* y 3)) (* (- 1 x) (- 3 x)) (- 1 x) (- 3 x) (/ (* (- 1 x) (- 3 x)) (* y 3)) (/ (* (- 1 x) (- 3 x)) (* y 3)) (* (- 1 x) (- 3 x)) (* y 3) (/ (* (- 1 x) (- 3 x)) (* y 3)) (* (- 1 x) (- 3 x))) |
| 1.0ms | y | @ | -inf | ((/ (* (- 1 x) (- 3 x)) (* y 3)) (* (- 1 x) (- 3 x)) (- 1 x) (- 3 x) (/ (* (- 1 x) (- 3 x)) (* y 3)) (/ (* (- 1 x) (- 3 x)) (* y 3)) (* (- 1 x) (- 3 x)) (* y 3) (/ (* (- 1 x) (- 3 x)) (* y 3)) (* (- 1 x) (- 3 x))) |
| 0.0ms | x | @ | inf | ((/ (* (- 1 x) (- 3 x)) (* y 3)) (* (- 1 x) (- 3 x)) (- 1 x) (- 3 x) (/ (* (- 1 x) (- 3 x)) (* y 3)) (/ (* (- 1 x) (- 3 x)) (* y 3)) (* (- 1 x) (- 3 x)) (* y 3) (/ (* (- 1 x) (- 3 x)) (* y 3)) (* (- 1 x) (- 3 x))) |
| 0.0ms | x | @ | -inf | ((/ (* (- 1 x) (- 3 x)) (* y 3)) (* (- 1 x) (- 3 x)) (- 1 x) (- 3 x) (/ (* (- 1 x) (- 3 x)) (* y 3)) (/ (* (- 1 x) (- 3 x)) (* y 3)) (* (- 1 x) (- 3 x)) (* y 3) (/ (* (- 1 x) (- 3 x)) (* y 3)) (* (- 1 x) (- 3 x))) |
| 1× | egg-herbie |
| Inputs |
|---|
(/ 1 y) |
(+ (* -4/3 (/ x y)) (/ 1 y)) |
(+ (* x (- (* 1/3 (/ x y)) (* 4/3 (/ 1 y)))) (/ 1 y)) |
3 |
(+ 3 (* -4 x)) |
(+ 3 (* x (- x 4))) |
1 |
(+ 1 (* -1 x)) |
(+ 3 (* -1 x)) |
(* 1/3 (/ (pow x 2) y)) |
(* (pow x 2) (- (* 1/3 (/ 1 y)) (* 4/3 (/ 1 (* x y))))) |
(* (pow x 2) (- (+ (* 1/3 (/ 1 y)) (/ 1 (* (pow x 2) y))) (/ 4/3 (* x y)))) |
(pow x 2) |
(* (pow x 2) (- 1 (* 4 (/ 1 x)))) |
(* (pow x 2) (- (+ 1 (/ 3 (pow x 2))) (* 4 (/ 1 x)))) |
(* -1 x) |
(* x (- (/ 1 x) 1)) |
(* x (- (* 3 (/ 1 x)) 1)) |
(* (pow x 2) (+ (* -1 (/ (- (* 4/3 (/ 1 y)) (/ 1 (* x y))) x)) (* 1/3 (/ 1 y)))) |
(* (pow x 2) (+ 1 (* -1 (/ (- 4 (* 3 (/ 1 x))) x)))) |
(* -1 (* x (- 1 (/ 1 x)))) |
(* -1 (* x (- 1 (* 3 (/ 1 x))))) |
(* 1/3 (/ (* (- 1 x) (- 3 x)) y)) |
(* 3 y) |
| Outputs |
|---|
(/ 1 y) |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x))) |
(+ (* -4/3 (/ x y)) (/ 1 y)) |
(*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x)) |
(+ (* x (- (* 1/3 (/ x y)) (* 4/3 (/ 1 y)))) (/ 1 y)) |
(-.f64 #s(literal 1 binary64) x) |
3 |
(-.f64 #s(literal 3 binary64) x) |
(+ 3 (* -4 x)) |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (-.f64 #s(literal 1 binary64) x)) |
(+ 3 (* x (- x 4))) |
(/.f64 #s(approx (* (- 1 x) (- 3 x)) (*.f64 y #s(literal 3 binary64))) (*.f64 y #s(literal 3 binary64))) |
1 |
#s(approx (* (- 1 x) (- 3 x)) (*.f64 y #s(literal 3 binary64))) |
(+ 1 (* -1 x)) |
(*.f64 y #s(literal 3 binary64)) |
(+ 3 (* -1 x)) |
(/.f64 #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64))) |
(* 1/3 (/ (pow x 2) y)) |
#s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) |
| Inputs |
|---|
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x))) |
(*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x)) |
(-.f64 #s(literal 1 binary64) x) |
(-.f64 #s(literal 3 binary64) x) |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (-.f64 #s(literal 1 binary64) x)) |
(/.f64 #s(approx (* (- 1 x) (- 3 x)) (*.f64 y #s(literal 3 binary64))) (*.f64 y #s(literal 3 binary64))) |
#s(approx (* (- 1 x) (- 3 x)) (*.f64 y #s(literal 3 binary64))) |
(*.f64 y #s(literal 3 binary64)) |
(/.f64 #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64))) |
#s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) |
| Outputs |
|---|
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x))) |
(*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x)) |
(-.f64 #s(literal 1 binary64) x) |
(-.f64 #s(literal 3 binary64) x) |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (-.f64 #s(literal 1 binary64) x)) |
(/.f64 #s(approx (* (- 1 x) (- 3 x)) (*.f64 y #s(literal 3 binary64))) (*.f64 y #s(literal 3 binary64))) |
#s(approx (* (- 1 x) (- 3 x)) (*.f64 y #s(literal 3 binary64))) |
(*.f64 y #s(literal 3 binary64)) |
(/.f64 #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64))) |
#s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) |
Compiled 524 to 40 computations (92.4% saved)
9 alts after pruning (4 fresh and 5 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 20 | 4 | 24 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 4 | 4 |
| Done | 0 | 1 | 1 |
| Total | 20 | 9 | 29 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 93.5% | (/.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64))) |
| ✓ | 55.8% | (/.f64 #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64))) |
| ✓ | 3.1% | (/.f64 #s(approx (* (- 1 x) (- 3 x)) (*.f64 y #s(literal 3 binary64))) (*.f64 y #s(literal 3 binary64))) |
| ✓ | 3.8% | #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (-.f64 #s(literal 1 binary64) x)) |
| ✓ | 11.3% | #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x))) |
| ▶ | 99.6% | #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 (-.f64 #s(literal 1 binary64) x) #s(approx (- 3 x) (/.f64 #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64)))))) |
| ▶ | 5.1% | #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x))) |
| ▶ | 3.9% | #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64)))) |
| ▶ | 3.8% | #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x))) |
Compiled 175 to 119 computations (32% saved)
| 1× | egg-herbie |
Found 14 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | #s(approx (- 3 x) (/.f64 #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64)))) | |
| cost-diff | 0 | (-.f64 #s(literal 1 binary64) x) | |
| cost-diff | 0 | (*.f64 (-.f64 #s(literal 1 binary64) x) #s(approx (- 3 x) (/.f64 #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64))))) | |
| cost-diff | 0 | #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 (-.f64 #s(literal 1 binary64) x) #s(approx (- 3 x) (/.f64 #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64)))))) | |
| cost-diff | 0 | (*.f64 y #s(literal 3 binary64)) | |
| cost-diff | 0 | #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) | |
| cost-diff | 0 | (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x)) | |
| cost-diff | 0 | #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x))) | |
| cost-diff | 0 | (*.f64 y #s(literal 3 binary64)) | |
| cost-diff | 0 | #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) | |
| cost-diff | 0 | #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64)))) | |
| cost-diff | 0 | (-.f64 #s(literal 3 binary64) x) | |
| cost-diff | 0 | #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) | |
| cost-diff | 0 | #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x))) |
| Inputs |
|---|
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x))) |
#s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) |
(-.f64 #s(literal 3 binary64) x) |
#s(literal 3 binary64) |
x |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64)))) |
#s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) |
(*.f64 y #s(literal 3 binary64)) |
y |
#s(literal 3 binary64) |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x))) |
(*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x)) |
#s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) |
(*.f64 y #s(literal 3 binary64)) |
y |
#s(literal 3 binary64) |
(-.f64 #s(literal 3 binary64) x) |
x |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 (-.f64 #s(literal 1 binary64) x) #s(approx (- 3 x) (/.f64 #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64)))))) |
(*.f64 (-.f64 #s(literal 1 binary64) x) #s(approx (- 3 x) (/.f64 #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64))))) |
(-.f64 #s(literal 1 binary64) x) |
#s(literal 1 binary64) |
x |
#s(approx (- 3 x) (/.f64 #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64)))) |
(/.f64 #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64))) |
#s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) |
(-.f64 #s(literal 3 binary64) x) |
#s(literal 3 binary64) |
(*.f64 y #s(literal 3 binary64)) |
y |
| Outputs |
|---|
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x))) |
#s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) |
(-.f64 #s(literal 3 binary64) x) |
#s(literal 3 binary64) |
x |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64)))) |
#s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) |
(*.f64 y #s(literal 3 binary64)) |
y |
#s(literal 3 binary64) |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x))) |
(*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x)) |
#s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) |
(*.f64 y #s(literal 3 binary64)) |
y |
#s(literal 3 binary64) |
(-.f64 #s(literal 3 binary64) x) |
x |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 (-.f64 #s(literal 1 binary64) x) #s(approx (- 3 x) (/.f64 #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64)))))) |
(*.f64 (-.f64 #s(literal 1 binary64) x) #s(approx (- 3 x) (/.f64 #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64))))) |
(-.f64 #s(literal 1 binary64) x) |
#s(literal 1 binary64) |
x |
#s(approx (- 3 x) (/.f64 #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64)))) |
(/.f64 #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64))) |
#s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) |
(-.f64 #s(literal 3 binary64) x) |
#s(literal 3 binary64) |
(*.f64 y #s(literal 3 binary64)) |
y |
Found 14 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 4.185813736499053 | (/.f64 #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64))) | |
| accuracy | 30.932026693063204 | #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) | |
| accuracy | 56.793586062765534 | #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 (-.f64 #s(literal 1 binary64) x) #s(approx (- 3 x) (/.f64 #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64)))))) | |
| accuracy | 61.54831704002261 | #s(approx (- 3 x) (/.f64 #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64)))) | |
| accuracy | 0.0 | (*.f64 y #s(literal 3 binary64)) | |
| accuracy | 0.0078125 | (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x)) | |
| accuracy | 56.793586062765534 | #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x))) | |
| accuracy | 61.758172288651785 | #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) | |
| accuracy | 0.0 | (*.f64 y #s(literal 3 binary64)) | |
| accuracy | 61.55230364275586 | #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64)))) | |
| accuracy | 61.758172288651785 | #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) | |
| accuracy | 0.0 | (-.f64 #s(literal 3 binary64) x) | |
| accuracy | 30.932026693063204 | #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) | |
| accuracy | 56.793586062765534 | #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x))) |
| 23.0ms | 256× | 0 | valid |
Compiled 362 to 35 computations (90.3% saved)
ival-sub: 3.0ms (37.4% of total)ival-mult: 3.0ms (37.4% of total)ival-div: 2.0ms (24.9% 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 (/ (* (- 1 x) (- 3 x)) (* y 3)) #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x))) |
#s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) |
(-.f64 #s(literal 3 binary64) x) |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64)))) |
#s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) |
(*.f64 y #s(literal 3 binary64)) |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x))) |
(*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x)) |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 (-.f64 #s(literal 1 binary64) x) #s(approx (- 3 x) (/.f64 #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64)))))) |
(*.f64 (-.f64 #s(literal 1 binary64) x) #s(approx (- 3 x) (/.f64 #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64))))) |
(-.f64 #s(literal 1 binary64) x) |
#s(approx (- 3 x) (/.f64 #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64)))) |
(/.f64 #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64))) |
| Outputs |
|---|
(/ 1 y) |
(+ (* -4/3 (/ x y)) (/ 1 y)) |
(+ (* x (- (* 1/3 (/ x y)) (* 4/3 (/ 1 y)))) (/ 1 y)) |
3 |
(+ 3 (* -4 x)) |
(+ 3 (* x (- x 4))) |
(+ 3 (* -1 x)) |
1 |
(+ 1 (* -1 x)) |
(* 1/3 (/ (pow x 2) y)) |
(* (pow x 2) (- (* 1/3 (/ 1 y)) (* 4/3 (/ 1 (* x y))))) |
(* (pow x 2) (- (+ (* 1/3 (/ 1 y)) (/ 1 (* (pow x 2) y))) (/ 4/3 (* x y)))) |
(pow x 2) |
(* (pow x 2) (- 1 (* 4 (/ 1 x)))) |
(* (pow x 2) (- (+ 1 (/ 3 (pow x 2))) (* 4 (/ 1 x)))) |
(* -1 x) |
(* x (- (* 3 (/ 1 x)) 1)) |
(* x (- (/ 1 x) 1)) |
(* (pow x 2) (+ (* -1 (/ (- (* 4/3 (/ 1 y)) (/ 1 (* x y))) x)) (* 1/3 (/ 1 y)))) |
(* (pow x 2) (+ 1 (* -1 (/ (- 4 (* 3 (/ 1 x))) x)))) |
(* -1 (* x (- 1 (* 3 (/ 1 x))))) |
(* -1 (* x (- 1 (/ 1 x)))) |
(* 1/3 (/ (* (- 1 x) (- 3 x)) y)) |
(* 3 y) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 5.0ms | y | @ | -inf | ((/ (* (- 1 x) (- 3 x)) (* y 3)) (* (- 1 x) (- 3 x)) (- 3 x) (/ (* (- 1 x) (- 3 x)) (* y 3)) (- 1 x) (* y 3) (/ (* (- 1 x) (- 3 x)) (* y 3)) (* (- 1 x) (- 3 x)) (/ (* (- 1 x) (- 3 x)) (* y 3)) (* (- 1 x) (- 3 x)) (- 1 x) (- 3 x) (/ (* (- 1 x) (- 3 x)) (* y 3))) |
| 1.0ms | y | @ | inf | ((/ (* (- 1 x) (- 3 x)) (* y 3)) (* (- 1 x) (- 3 x)) (- 3 x) (/ (* (- 1 x) (- 3 x)) (* y 3)) (- 1 x) (* y 3) (/ (* (- 1 x) (- 3 x)) (* y 3)) (* (- 1 x) (- 3 x)) (/ (* (- 1 x) (- 3 x)) (* y 3)) (* (- 1 x) (- 3 x)) (- 1 x) (- 3 x) (/ (* (- 1 x) (- 3 x)) (* y 3))) |
| 1.0ms | y | @ | 0 | ((/ (* (- 1 x) (- 3 x)) (* y 3)) (* (- 1 x) (- 3 x)) (- 3 x) (/ (* (- 1 x) (- 3 x)) (* y 3)) (- 1 x) (* y 3) (/ (* (- 1 x) (- 3 x)) (* y 3)) (* (- 1 x) (- 3 x)) (/ (* (- 1 x) (- 3 x)) (* y 3)) (* (- 1 x) (- 3 x)) (- 1 x) (- 3 x) (/ (* (- 1 x) (- 3 x)) (* y 3))) |
| 0.0ms | x | @ | inf | ((/ (* (- 1 x) (- 3 x)) (* y 3)) (* (- 1 x) (- 3 x)) (- 3 x) (/ (* (- 1 x) (- 3 x)) (* y 3)) (- 1 x) (* y 3) (/ (* (- 1 x) (- 3 x)) (* y 3)) (* (- 1 x) (- 3 x)) (/ (* (- 1 x) (- 3 x)) (* y 3)) (* (- 1 x) (- 3 x)) (- 1 x) (- 3 x) (/ (* (- 1 x) (- 3 x)) (* y 3))) |
| 0.0ms | x | @ | -inf | ((/ (* (- 1 x) (- 3 x)) (* y 3)) (* (- 1 x) (- 3 x)) (- 3 x) (/ (* (- 1 x) (- 3 x)) (* y 3)) (- 1 x) (* y 3) (/ (* (- 1 x) (- 3 x)) (* y 3)) (* (- 1 x) (- 3 x)) (/ (* (- 1 x) (- 3 x)) (* y 3)) (* (- 1 x) (- 3 x)) (- 1 x) (- 3 x) (/ (* (- 1 x) (- 3 x)) (* y 3))) |
| 1× | egg-herbie |
| Inputs |
|---|
(/ 1 y) |
(+ (* -4/3 (/ x y)) (/ 1 y)) |
(+ (* x (- (* 1/3 (/ x y)) (* 4/3 (/ 1 y)))) (/ 1 y)) |
3 |
(+ 3 (* -4 x)) |
(+ 3 (* x (- x 4))) |
(+ 3 (* -1 x)) |
1 |
(+ 1 (* -1 x)) |
(* 1/3 (/ (pow x 2) y)) |
(* (pow x 2) (- (* 1/3 (/ 1 y)) (* 4/3 (/ 1 (* x y))))) |
(* (pow x 2) (- (+ (* 1/3 (/ 1 y)) (/ 1 (* (pow x 2) y))) (/ 4/3 (* x y)))) |
(pow x 2) |
(* (pow x 2) (- 1 (* 4 (/ 1 x)))) |
(* (pow x 2) (- (+ 1 (/ 3 (pow x 2))) (* 4 (/ 1 x)))) |
(* -1 x) |
(* x (- (* 3 (/ 1 x)) 1)) |
(* x (- (/ 1 x) 1)) |
(* (pow x 2) (+ (* -1 (/ (- (* 4/3 (/ 1 y)) (/ 1 (* x y))) x)) (* 1/3 (/ 1 y)))) |
(* (pow x 2) (+ 1 (* -1 (/ (- 4 (* 3 (/ 1 x))) x)))) |
(* -1 (* x (- 1 (* 3 (/ 1 x))))) |
(* -1 (* x (- 1 (/ 1 x)))) |
(* 1/3 (/ (* (- 1 x) (- 3 x)) y)) |
(* 3 y) |
| Outputs |
|---|
(/ 1 y) |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x))) |
(+ (* -4/3 (/ x y)) (/ 1 y)) |
#s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) |
(+ (* x (- (* 1/3 (/ x y)) (* 4/3 (/ 1 y)))) (/ 1 y)) |
(-.f64 #s(literal 3 binary64) x) |
3 |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64)))) |
(+ 3 (* -4 x)) |
#s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) |
(+ 3 (* x (- x 4))) |
(*.f64 y #s(literal 3 binary64)) |
(+ 3 (* -1 x)) |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x))) |
1 |
(*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x)) |
(+ 1 (* -1 x)) |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 (-.f64 #s(literal 1 binary64) x) #s(approx (- 3 x) (/.f64 #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64)))))) |
(* 1/3 (/ (pow x 2) y)) |
(*.f64 (-.f64 #s(literal 1 binary64) x) #s(approx (- 3 x) (/.f64 #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64))))) |
(* (pow x 2) (- (* 1/3 (/ 1 y)) (* 4/3 (/ 1 (* x y))))) |
(-.f64 #s(literal 1 binary64) x) |
(* (pow x 2) (- (+ (* 1/3 (/ 1 y)) (/ 1 (* (pow x 2) y))) (/ 4/3 (* x y)))) |
#s(approx (- 3 x) (/.f64 #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64)))) |
(pow x 2) |
(/.f64 #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64))) |
| Inputs |
|---|
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x))) |
#s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) |
(-.f64 #s(literal 3 binary64) x) |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64)))) |
#s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) |
(*.f64 y #s(literal 3 binary64)) |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x))) |
(*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x)) |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 (-.f64 #s(literal 1 binary64) x) #s(approx (- 3 x) (/.f64 #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64)))))) |
(*.f64 (-.f64 #s(literal 1 binary64) x) #s(approx (- 3 x) (/.f64 #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64))))) |
(-.f64 #s(literal 1 binary64) x) |
#s(approx (- 3 x) (/.f64 #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64)))) |
(/.f64 #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64))) |
| Outputs |
|---|
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x))) |
#s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) |
(-.f64 #s(literal 3 binary64) x) |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64)))) |
#s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) |
(*.f64 y #s(literal 3 binary64)) |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x))) |
(*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x)) |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 (-.f64 #s(literal 1 binary64) x) #s(approx (- 3 x) (/.f64 #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64)))))) |
(*.f64 (-.f64 #s(literal 1 binary64) x) #s(approx (- 3 x) (/.f64 #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64))))) |
(-.f64 #s(literal 1 binary64) x) |
#s(approx (- 3 x) (/.f64 #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64)))) |
(/.f64 #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64))) |
Compiled 1 230 to 69 computations (94.4% saved)
11 alts after pruning (2 fresh and 9 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 36 | 2 | 38 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 4 | 4 |
| Done | 0 | 5 | 5 |
| Total | 36 | 11 | 47 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 93.5% | (/.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64))) |
| ✓ | 55.8% | (/.f64 #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64))) |
| ✓ | 3.1% | (/.f64 #s(approx (* (- 1 x) (- 3 x)) (*.f64 y #s(literal 3 binary64))) (*.f64 y #s(literal 3 binary64))) |
| ✓ | 3.8% | #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (-.f64 #s(literal 1 binary64) x)) |
| ✓ | 11.3% | #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x))) |
| ✓ | 99.6% | #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 (-.f64 #s(literal 1 binary64) x) #s(approx (- 3 x) (/.f64 #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64)))))) |
| ▶ | 16.2% | #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x))) (-.f64 #s(literal 3 binary64) x))) |
| ✓ | 5.1% | #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x))) |
| ▶ | 4.7% | #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) #s(approx (- 3 x) #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x)))))) |
| ✓ | 3.9% | #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64)))) |
| ✓ | 3.8% | #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x))) |
Compiled 253 to 154 computations (39.1% saved)
| 1× | egg-herbie |
Found 8 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x)) | |
| cost-diff | 0 | #s(approx (- 1 x) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x))) | |
| cost-diff | 0 | (*.f64 #s(approx (- 1 x) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x))) (-.f64 #s(literal 3 binary64) x)) | |
| cost-diff | 0 | #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x))) (-.f64 #s(literal 3 binary64) x))) | |
| cost-diff | 0 | (*.f64 y #s(literal 3 binary64)) | |
| cost-diff | 0 | #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) | |
| cost-diff | 0 | (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) #s(approx (- 3 x) #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x))))) | |
| cost-diff | 0 | #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) #s(approx (- 3 x) #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x)))))) |
| Inputs |
|---|
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) #s(approx (- 3 x) #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x)))))) |
(*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) #s(approx (- 3 x) #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x))))) |
#s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) |
(*.f64 y #s(literal 3 binary64)) |
y |
#s(literal 3 binary64) |
#s(approx (- 3 x) #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x)))) |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x))) |
(*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x)) |
(-.f64 #s(literal 3 binary64) x) |
x |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x))) (-.f64 #s(literal 3 binary64) x))) |
(*.f64 #s(approx (- 1 x) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x))) (-.f64 #s(literal 3 binary64) x)) |
#s(approx (- 1 x) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x))) |
(*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x)) |
#s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) |
(*.f64 y #s(literal 3 binary64)) |
y |
#s(literal 3 binary64) |
(-.f64 #s(literal 3 binary64) x) |
x |
| Outputs |
|---|
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) #s(approx (- 3 x) #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x)))))) |
(*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) #s(approx (- 3 x) #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x))))) |
#s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) |
(*.f64 y #s(literal 3 binary64)) |
y |
#s(literal 3 binary64) |
#s(approx (- 3 x) #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x)))) |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x))) |
(*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x)) |
(-.f64 #s(literal 3 binary64) x) |
x |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x))) (-.f64 #s(literal 3 binary64) x))) |
(*.f64 #s(approx (- 1 x) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x))) (-.f64 #s(literal 3 binary64) x)) |
#s(approx (- 1 x) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x))) |
(*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x)) |
#s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) |
(*.f64 y #s(literal 3 binary64)) |
y |
#s(literal 3 binary64) |
(-.f64 #s(literal 3 binary64) x) |
x |
Found 8 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0078125 | (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x)) | |
| accuracy | 56.793586062765534 | #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x))) (-.f64 #s(literal 3 binary64) x))) | |
| accuracy | 57.04152517170034 | #s(approx (- 1 x) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x))) | |
| accuracy | 61.758172288651785 | #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) | |
| accuracy | 56.793586062765534 | #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x))) | |
| accuracy | 56.793586062765534 | #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) #s(approx (- 3 x) #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x)))))) | |
| accuracy | 61.54831704002261 | #s(approx (- 3 x) #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x)))) | |
| accuracy | 61.758172288651785 | #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) |
| 18.0ms | 256× | 0 | valid |
Compiled 344 to 32 computations (90.7% saved)
ival-sub: 3.0ms (37.9% of total)ival-mult: 3.0ms (37.9% of total)ival-div: 2.0ms (25.3% 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 (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) #s(approx (- 3 x) #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x)))))) |
(*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) #s(approx (- 3 x) #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x))))) |
#s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) |
(*.f64 y #s(literal 3 binary64)) |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x))) (-.f64 #s(literal 3 binary64) x))) |
(*.f64 #s(approx (- 1 x) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x))) (-.f64 #s(literal 3 binary64) x)) |
#s(approx (- 1 x) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x))) |
(*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x)) |
#s(approx (- 3 x) #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x)))) |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x))) |
| Outputs |
|---|
(/ 1 y) |
(+ (* -4/3 (/ x y)) (/ 1 y)) |
(+ (* x (- (* 1/3 (/ x y)) (* 4/3 (/ 1 y)))) (/ 1 y)) |
3 |
(+ 3 (* -4 x)) |
(+ 3 (* x (- x 4))) |
1 |
(+ 1 (* -1 x)) |
(+ 3 (* -1 x)) |
(* 1/3 (/ (pow x 2) y)) |
(* (pow x 2) (- (* 1/3 (/ 1 y)) (* 4/3 (/ 1 (* x y))))) |
(* (pow x 2) (- (+ (* 1/3 (/ 1 y)) (/ 1 (* (pow x 2) y))) (/ 4/3 (* x y)))) |
(pow x 2) |
(* (pow x 2) (- 1 (* 4 (/ 1 x)))) |
(* (pow x 2) (- (+ 1 (/ 3 (pow x 2))) (* 4 (/ 1 x)))) |
(* -1 x) |
(* x (- (/ 1 x) 1)) |
(* x (- (* 3 (/ 1 x)) 1)) |
(* (pow x 2) (+ (* -1 (/ (- (* 4/3 (/ 1 y)) (/ 1 (* x y))) x)) (* 1/3 (/ 1 y)))) |
(* (pow x 2) (+ 1 (* -1 (/ (- 4 (* 3 (/ 1 x))) x)))) |
(* -1 (* x (- 1 (/ 1 x)))) |
(* -1 (* x (- 1 (* 3 (/ 1 x))))) |
(* 1/3 (/ (* (- 1 x) (- 3 x)) y)) |
(* 3 y) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | y | @ | -inf | ((/ (* (- 1 x) (- 3 x)) (* y 3)) (* (- 1 x) (- 3 x)) (- 1 x) (* y 3) (/ (* (- 1 x) (- 3 x)) (* y 3)) (* (- 1 x) (- 3 x)) (- 1 x) (* (- 1 x) (- 3 x)) (- 3 x) (/ (* (- 1 x) (- 3 x)) (* y 3))) |
| 1.0ms | y | @ | inf | ((/ (* (- 1 x) (- 3 x)) (* y 3)) (* (- 1 x) (- 3 x)) (- 1 x) (* y 3) (/ (* (- 1 x) (- 3 x)) (* y 3)) (* (- 1 x) (- 3 x)) (- 1 x) (* (- 1 x) (- 3 x)) (- 3 x) (/ (* (- 1 x) (- 3 x)) (* y 3))) |
| 1.0ms | y | @ | 0 | ((/ (* (- 1 x) (- 3 x)) (* y 3)) (* (- 1 x) (- 3 x)) (- 1 x) (* y 3) (/ (* (- 1 x) (- 3 x)) (* y 3)) (* (- 1 x) (- 3 x)) (- 1 x) (* (- 1 x) (- 3 x)) (- 3 x) (/ (* (- 1 x) (- 3 x)) (* y 3))) |
| 0.0ms | x | @ | inf | ((/ (* (- 1 x) (- 3 x)) (* y 3)) (* (- 1 x) (- 3 x)) (- 1 x) (* y 3) (/ (* (- 1 x) (- 3 x)) (* y 3)) (* (- 1 x) (- 3 x)) (- 1 x) (* (- 1 x) (- 3 x)) (- 3 x) (/ (* (- 1 x) (- 3 x)) (* y 3))) |
| 0.0ms | x | @ | -inf | ((/ (* (- 1 x) (- 3 x)) (* y 3)) (* (- 1 x) (- 3 x)) (- 1 x) (* y 3) (/ (* (- 1 x) (- 3 x)) (* y 3)) (* (- 1 x) (- 3 x)) (- 1 x) (* (- 1 x) (- 3 x)) (- 3 x) (/ (* (- 1 x) (- 3 x)) (* y 3))) |
| 1× | egg-herbie |
| Inputs |
|---|
(/ 1 y) |
(+ (* -4/3 (/ x y)) (/ 1 y)) |
(+ (* x (- (* 1/3 (/ x y)) (* 4/3 (/ 1 y)))) (/ 1 y)) |
3 |
(+ 3 (* -4 x)) |
(+ 3 (* x (- x 4))) |
1 |
(+ 1 (* -1 x)) |
(+ 3 (* -1 x)) |
(* 1/3 (/ (pow x 2) y)) |
(* (pow x 2) (- (* 1/3 (/ 1 y)) (* 4/3 (/ 1 (* x y))))) |
(* (pow x 2) (- (+ (* 1/3 (/ 1 y)) (/ 1 (* (pow x 2) y))) (/ 4/3 (* x y)))) |
(pow x 2) |
(* (pow x 2) (- 1 (* 4 (/ 1 x)))) |
(* (pow x 2) (- (+ 1 (/ 3 (pow x 2))) (* 4 (/ 1 x)))) |
(* -1 x) |
(* x (- (/ 1 x) 1)) |
(* x (- (* 3 (/ 1 x)) 1)) |
(* (pow x 2) (+ (* -1 (/ (- (* 4/3 (/ 1 y)) (/ 1 (* x y))) x)) (* 1/3 (/ 1 y)))) |
(* (pow x 2) (+ 1 (* -1 (/ (- 4 (* 3 (/ 1 x))) x)))) |
(* -1 (* x (- 1 (/ 1 x)))) |
(* -1 (* x (- 1 (* 3 (/ 1 x))))) |
(* 1/3 (/ (* (- 1 x) (- 3 x)) y)) |
(* 3 y) |
| Outputs |
|---|
(/ 1 y) |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) #s(approx (- 3 x) #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x)))))) |
(+ (* -4/3 (/ x y)) (/ 1 y)) |
(*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) #s(approx (- 3 x) #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x))))) |
(+ (* x (- (* 1/3 (/ x y)) (* 4/3 (/ 1 y)))) (/ 1 y)) |
#s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) |
3 |
(*.f64 y #s(literal 3 binary64)) |
(+ 3 (* -4 x)) |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x))) (-.f64 #s(literal 3 binary64) x))) |
(+ 3 (* x (- x 4))) |
(*.f64 #s(approx (- 1 x) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x))) (-.f64 #s(literal 3 binary64) x)) |
1 |
#s(approx (- 1 x) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x))) |
(+ 1 (* -1 x)) |
(*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x)) |
(+ 3 (* -1 x)) |
#s(approx (- 3 x) #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x)))) |
(* 1/3 (/ (pow x 2) y)) |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x))) |
| Inputs |
|---|
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) #s(approx (- 3 x) #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x)))))) |
(*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) #s(approx (- 3 x) #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x))))) |
#s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) |
(*.f64 y #s(literal 3 binary64)) |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x))) (-.f64 #s(literal 3 binary64) x))) |
(*.f64 #s(approx (- 1 x) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x))) (-.f64 #s(literal 3 binary64) x)) |
#s(approx (- 1 x) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x))) |
(*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x)) |
#s(approx (- 3 x) #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x)))) |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x))) |
| Outputs |
|---|
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) #s(approx (- 3 x) #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x)))))) |
(*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) #s(approx (- 3 x) #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x))))) |
#s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) |
(*.f64 y #s(literal 3 binary64)) |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x))) (-.f64 #s(literal 3 binary64) x))) |
(*.f64 #s(approx (- 1 x) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x))) (-.f64 #s(literal 3 binary64) x)) |
#s(approx (- 1 x) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x))) |
(*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x)) |
#s(approx (- 3 x) #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x)))) |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x))) |
Compiled 1 165 to 52 computations (95.5% saved)
11 alts after pruning (0 fresh and 11 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 27 | 0 | 27 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 2 | 2 |
| Done | 0 | 9 | 9 |
| Total | 27 | 11 | 38 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 93.5% | (/.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64))) |
| ✓ | 55.8% | (/.f64 #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64))) |
| ✓ | 3.1% | (/.f64 #s(approx (* (- 1 x) (- 3 x)) (*.f64 y #s(literal 3 binary64))) (*.f64 y #s(literal 3 binary64))) |
| ✓ | 3.8% | #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (-.f64 #s(literal 1 binary64) x)) |
| ✓ | 11.3% | #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x))) |
| ✓ | 99.6% | #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 (-.f64 #s(literal 1 binary64) x) #s(approx (- 3 x) (/.f64 #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64)))))) |
| ✓ | 16.2% | #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x))) (-.f64 #s(literal 3 binary64) x))) |
| ✓ | 5.1% | #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x))) |
| ✓ | 4.7% | #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) #s(approx (- 3 x) #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x)))))) |
| ✓ | 3.9% | #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64)))) |
| ✓ | 3.8% | #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x))) |
Compiled 506 to 190 computations (62.5% saved)
| Inputs |
|---|
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x))) |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (-.f64 #s(literal 1 binary64) x)) |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64)))) |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x))) |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x))) |
(/.f64 #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64))) |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x))) (-.f64 #s(literal 3 binary64) x))) |
(/.f64 #s(approx (* (- 1 x) (- 3 x)) (*.f64 y #s(literal 3 binary64))) (*.f64 y #s(literal 3 binary64))) |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) #s(approx (- 3 x) #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x)))))) |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 (-.f64 #s(literal 1 binary64) x) #s(approx (- 3 x) (/.f64 #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64)))))) |
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64))) |
| Outputs |
|---|
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 (-.f64 #s(literal 1 binary64) x) #s(approx (- 3 x) (/.f64 #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64)))))) |
5 calls:
| 4.0ms | x |
| 4.0ms | (*.f64 y #s(literal 3 binary64)) |
| 4.0ms | y |
| 4.0ms | (/.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64))) |
| 3.0ms | (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.6% | 1 | x |
| 99.6% | 1 | y |
| 99.6% | 1 | (/.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64))) |
| 99.6% | 1 | (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x)) |
| 99.6% | 1 | (*.f64 y #s(literal 3 binary64)) |
Compiled 23 to 24 computations (-4.3% saved)
| Inputs |
|---|
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x))) |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (-.f64 #s(literal 1 binary64) x)) |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64)))) |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x))) |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x))) |
(/.f64 #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64))) |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x))) (-.f64 #s(literal 3 binary64) x))) |
(/.f64 #s(approx (* (- 1 x) (- 3 x)) (*.f64 y #s(literal 3 binary64))) (*.f64 y #s(literal 3 binary64))) |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) #s(approx (- 3 x) #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x)))))) |
| Outputs |
|---|
(/.f64 #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64))) |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x))) (-.f64 #s(literal 3 binary64) x))) |
5 calls:
| 4.0ms | (/.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64))) |
| 3.0ms | (*.f64 y #s(literal 3 binary64)) |
| 3.0ms | y |
| 3.0ms | x |
| 3.0ms | (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 65.2% | 3 | (/.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64))) |
| 66.6% | 3 | x |
| 55.8% | 1 | y |
| 66.1% | 2 | (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x)) |
| 55.8% | 1 | (*.f64 y #s(literal 3 binary64)) |
Compiled 23 to 24 computations (-4.3% saved)
| Inputs |
|---|
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x))) |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (-.f64 #s(literal 1 binary64) x)) |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64)))) |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x))) |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x))) |
(/.f64 #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64))) |
| Outputs |
|---|
(/.f64 #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64))) |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x))) |
3 calls:
| 2.0ms | x |
| 2.0ms | (/.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64))) |
| 2.0ms | (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 61.0% | 2 | (/.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64))) |
| 61.7% | 3 | x |
| 61.4% | 2 | (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x)) |
Compiled 19 to 18 computations (5.3% saved)
| Inputs |
|---|
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x))) |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (-.f64 #s(literal 1 binary64) x)) |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64)))) |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x))) |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x))) |
| Outputs |
|---|
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x))) |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x))) |
5 calls:
| 2.0ms | y |
| 2.0ms | (*.f64 y #s(literal 3 binary64)) |
| 2.0ms | x |
| 2.0ms | (/.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64))) |
| 2.0ms | (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 13.0% | 2 | y |
| 13.0% | 2 | (*.f64 y #s(literal 3 binary64)) |
| 11.3% | 1 | x |
| 13.0% | 2 | (/.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64))) |
| 11.3% | 1 | (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x)) |
Compiled 23 to 24 computations (-4.3% saved)
| Inputs |
|---|
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x))) |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (-.f64 #s(literal 1 binary64) x)) |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64)))) |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x))) |
| Outputs |
|---|
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x))) |
3 calls:
| 5.0ms | (/.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64))) |
| 2.0ms | (*.f64 y #s(literal 3 binary64)) |
| 2.0ms | y |
| Accuracy | Segments | Branch |
|---|---|---|
| 11.3% | 1 | y |
| 11.3% | 1 | (*.f64 y #s(literal 3 binary64)) |
| 11.3% | 1 | (/.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64))) |
Compiled 15 to 15 computations (0% saved)
| Inputs |
|---|
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x))) |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (-.f64 #s(literal 1 binary64) x)) |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64)))) |
| Outputs |
|---|
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64)))) |
5 calls:
| 2.0ms | (*.f64 y #s(literal 3 binary64)) |
| 2.0ms | x |
| 2.0ms | y |
| 2.0ms | (/.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64))) |
| 1.0ms | (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 3.9% | 1 | (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x)) |
| 3.9% | 1 | x |
| 3.9% | 1 | y |
| 3.9% | 1 | (*.f64 y #s(literal 3 binary64)) |
| 3.9% | 1 | (/.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64))) |
Compiled 23 to 24 computations (-4.3% saved)
Total -0.0b remaining (-0%)
Threshold costs -0b (-0%)
| Inputs |
|---|
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x))) |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (-.f64 #s(literal 1 binary64) x)) |
| Outputs |
|---|
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x))) |
5 calls:
| 1.0ms | y |
| 1.0ms | (*.f64 y #s(literal 3 binary64)) |
| 1.0ms | (/.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64))) |
| 1.0ms | x |
| 1.0ms | (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 3.8% | 1 | y |
| 3.8% | 1 | (/.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64))) |
| 3.8% | 1 | (*.f64 y #s(literal 3 binary64)) |
| 3.8% | 1 | x |
| 3.8% | 1 | (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x)) |
Compiled 23 to 24 computations (-4.3% saved)
| 1× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | 6.738272563075927e+303 | +inf |
Compiled 14 to 15 computations (-7.1% saved)
| 1× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | 6.4611119336716186e+302 | 6.738272563075927e+303 |
Compiled 14 to 15 computations (-7.1% saved)
| 1× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | -5.6066987203387734e-161 | -1.6065719898954568e-163 |
Compiled 14 to 14 computations (0% saved)
| 1× | egg-herbie |
| Inputs |
|---|
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 (-.f64 #s(literal 1 binary64) x) #s(approx (- 3 x) (/.f64 #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64)))))) |
(if (<=.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x)) #s(literal 9999999999999999392535525055364621860040287220117324953190771571323204563013233902843309257440507748436856118056162172578717193742636030530235798840866882774987301441682011041067710253162440905843719802548551599076639682550821832659549112269607949805346034918662572406407604380845959862074904348138143744 binary64)) (/.f64 #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64))) #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x))) (-.f64 #s(literal 3 binary64) x)))) |
(if (<=.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x)) #s(literal 1000000000000000000161765076786456438212668646231659438295495017101117499225738747865260243034213915253779773568180337416027445820567779199643391541606026068611150746122284976177256650044200527276807327067690462112661427500197051226489898260678763391449376088547292320814127957486330655468919122263277568 binary64)) (/.f64 #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64))) #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x)))) |
(if (<=.f64 (/.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64))) #s(literal -1582914569427869/31658291388557380359744322690514840324496812684955115509000071179890844813636078997800499335839109758668501942530065835436974724391264154875845907853042325493325666835033489408 binary64)) #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x))) #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x)))) |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x))) |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64)))) |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x))) |
| Outputs |
|---|
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 (-.f64 #s(literal 1 binary64) x) #s(approx (- 3 x) (/.f64 #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64)))))) |
(if (<=.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x)) #s(literal 9999999999999999392535525055364621860040287220117324953190771571323204563013233902843309257440507748436856118056162172578717193742636030530235798840866882774987301441682011041067710253162440905843719802548551599076639682550821832659549112269607949805346034918662572406407604380845959862074904348138143744 binary64)) (/.f64 #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64))) #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x))) (-.f64 #s(literal 3 binary64) x)))) |
(if (<=.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x)) #s(literal 1000000000000000000161765076786456438212668646231659438295495017101117499225738747865260243034213915253779773568180337416027445820567779199643391541606026068611150746122284976177256650044200527276807327067690462112661427500197051226489898260678763391449376088547292320814127957486330655468919122263277568 binary64)) (/.f64 #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64))) #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x)))) |
(if (<=.f64 (/.f64 (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x)) (*.f64 y #s(literal 3 binary64))) #s(literal -1582914569427869/31658291388557380359744322690514840324496812684955115509000071179890844813636078997800499335839109758668501942530065835436974724391264154875845907853042325493325666835033489408 binary64)) #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64))) (-.f64 #s(literal 3 binary64) x))) #s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x)))) |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) (*.f64 (-.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 3 binary64) x))) |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) #s(approx (- 1 x) (*.f64 y #s(literal 3 binary64)))) |
#s(approx (/ (* (- 1 x) (- 3 x)) (* y 3)) #s(approx (* (- 1 x) (- 3 x)) (-.f64 #s(literal 3 binary64) x))) |
| 1× | done |
Compiled 252 to 39 computations (84.5% saved)
Compiled 548 to 114 computations (79.2% saved)
Loading profile data...