
Time bar (total: 1.4s)
| 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 |
| 100% | 50% | 0% | 0.1% | 0% | 50% | 0% | 2 |
Compiled 16 to 14 computations (12.5% saved)
| 599.0ms | 8 256× | 0 | valid |
ival-mult: 135.0ms (33.2% of total)ival-div: 112.0ms (27.5% of total)ival-sub: 76.0ms (18.7% of total)ival-sqrt: 63.0ms (15.5% of total)exact: 11.0ms (2.7% of total)ival-true: 6.0ms (1.5% of total)ival-assert: 4.0ms (1% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | (*.f64 #s(literal 3 binary64) (sqrt.f64 x)) |
| 0 | 0 | - | 0 | - | (sqrt.f64 x) |
| 0 | 0 | - | 0 | - | (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64))) |
| 0 | 0 | - | 0 | - | #s(literal 3 binary64) |
| 0 | 0 | - | 0 | - | #s(literal 1 binary64) |
| 0 | 0 | - | 0 | - | #s(literal 9 binary64) |
| 0 | 0 | - | 0 | - | (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) |
| 0 | 0 | - | 0 | - | (-.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) |
| 0 | 0 | - | 0 | - | y |
| 0 | 0 | - | 0 | - | (*.f64 x #s(literal 9 binary64)) |
| 0 | 0 | - | 0 | - | (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x))) |
| 0 | 0 | - | 0 | - | x |
| Predicted + | Predicted - | |
|---|---|---|
| + | 0 | 0 |
| - | 0 | 256 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 0 | 0 | 0 |
| - | 0 | 0 | 256 |
| number | freq |
|---|---|
| 0 | 256 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 0 | 0 | 0 |
| - | 0 | 0 | 1 |
| 44.0ms | 512× | 0 | valid |
Compiled 156 to 52 computations (66.7% saved)
ival-mult: 8.0ms (29.6% of total)ival-div: 7.0ms (25.9% of total)ival-sqrt: 6.0ms (22.2% of total)ival-sub: 4.0ms (14.8% of total)exact: 1.0ms (3.7% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 1× | egg-herbie |
| Inputs |
|---|
(-.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) |
| Outputs |
|---|
(-.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) |
Compiled 14 to 12 computations (14.3% saved)
Compiled 0 to 2 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 99.7% | (-.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) |
Compiled 14 to 12 computations (14.3% saved)
| 1× | egg-herbie |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 x #s(literal 9 binary64)) | |
| cost-diff | 0 | (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64))) | |
| cost-diff | 0 | (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) | |
| cost-diff | 0 | (-.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) |
| Inputs |
|---|
(-.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) |
(-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) |
#s(literal 1 binary64) |
(/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64))) |
(*.f64 x #s(literal 9 binary64)) |
x |
#s(literal 9 binary64) |
(/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x))) |
y |
(*.f64 #s(literal 3 binary64) (sqrt.f64 x)) |
#s(literal 3 binary64) |
(sqrt.f64 x) |
| Outputs |
|---|
(-.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) |
(-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) |
#s(literal 1 binary64) |
(/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64))) |
(*.f64 x #s(literal 9 binary64)) |
x |
#s(literal 9 binary64) |
(/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x))) |
y |
(*.f64 #s(literal 3 binary64) (sqrt.f64 x)) |
#s(literal 3 binary64) |
(sqrt.f64 x) |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0078125 | (-.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) | |
| accuracy | 0.23828125 | (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x))) | |
| accuracy | 0.26953125 | (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64))) | |
| accuracy | 0.26953125 | (*.f64 #s(literal 3 binary64) (sqrt.f64 x)) |
| 20.0ms | 256× | 0 | valid |
Compiled 94 to 26 computations (72.3% saved)
ival-div: 3.0ms (26.6% of total)ival-mult: 3.0ms (26.6% of total)ival-sub: 2.0ms (17.7% of total)ival-sqrt: 2.0ms (17.7% 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 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) |
(-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) |
(/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64))) |
(*.f64 x #s(literal 9 binary64)) |
(*.f64 #s(literal 3 binary64) (sqrt.f64 x)) |
(/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x))) |
| Outputs |
|---|
(* -1 (/ (+ 1/9 (* 1/3 (* (sqrt x) y))) x)) |
(/ (- x (+ 1/9 (* 1/3 (* (sqrt x) y)))) x) |
(/ -1/9 x) |
(/ (- x 1/9) x) |
(/ 1/9 x) |
(* 9 x) |
(* 3 (sqrt x)) |
(* 1/3 (* (sqrt (/ 1 x)) y)) |
(- 1 (* 1/3 (* (sqrt (/ 1 x)) y))) |
(- 1 (+ (* 1/3 (* (sqrt (/ 1 x)) y)) (* 1/9 (/ 1 x)))) |
1 |
(- 1 (* 1/9 (/ 1 x))) |
(* -3 (* (sqrt x) (pow (sqrt -1) 2))) |
(- (+ 1 (* -1/3 (* (sqrt (/ 1 x)) y))) (* 1/9 (/ 1 x))) |
(* -1/3 (* (sqrt (/ 1 x)) y)) |
(* y (- (/ 1 y) (+ (* 1/3 (sqrt (/ 1 x))) (/ 1/9 (* x y))))) |
(* -1 (* y (- (* -1 (/ (- 1 (* 1/9 (/ 1 x))) y)) (* -1/3 (sqrt (/ 1 x)))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 3.0ms | x | @ | -inf | ((- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (- 1 (/ 1 (* x 9))) (/ 1 (* x 9)) (* x 9) (* 3 (sqrt x)) (/ y (* 3 (sqrt x)))) |
| 2.0ms | x | @ | 0 | ((- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (- 1 (/ 1 (* x 9))) (/ 1 (* x 9)) (* x 9) (* 3 (sqrt x)) (/ y (* 3 (sqrt x)))) |
| 1.0ms | x | @ | inf | ((- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (- 1 (/ 1 (* x 9))) (/ 1 (* x 9)) (* x 9) (* 3 (sqrt x)) (/ y (* 3 (sqrt x)))) |
| 1.0ms | y | @ | 0 | ((- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (- 1 (/ 1 (* x 9))) (/ 1 (* x 9)) (* x 9) (* 3 (sqrt x)) (/ y (* 3 (sqrt x)))) |
| 1.0ms | y | @ | inf | ((- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (- 1 (/ 1 (* x 9))) (/ 1 (* x 9)) (* x 9) (* 3 (sqrt x)) (/ y (* 3 (sqrt x)))) |
| 1× | egg-herbie |
| Inputs |
|---|
(* -1 (/ (+ 1/9 (* 1/3 (* (sqrt x) y))) x)) |
(/ (- x (+ 1/9 (* 1/3 (* (sqrt x) y)))) x) |
(/ -1/9 x) |
(/ (- x 1/9) x) |
(/ 1/9 x) |
(* 9 x) |
(* 3 (sqrt x)) |
(* 1/3 (* (sqrt (/ 1 x)) y)) |
(- 1 (* 1/3 (* (sqrt (/ 1 x)) y))) |
(- 1 (+ (* 1/3 (* (sqrt (/ 1 x)) y)) (* 1/9 (/ 1 x)))) |
1 |
(- 1 (* 1/9 (/ 1 x))) |
(* -3 (* (sqrt x) (pow (sqrt -1) 2))) |
(- (+ 1 (* -1/3 (* (sqrt (/ 1 x)) y))) (* 1/9 (/ 1 x))) |
(* -1/3 (* (sqrt (/ 1 x)) y)) |
(* y (- (/ 1 y) (+ (* 1/3 (sqrt (/ 1 x))) (/ 1/9 (* x y))))) |
(* -1 (* y (- (* -1 (/ (- 1 (* 1/9 (/ 1 x))) y)) (* -1/3 (sqrt (/ 1 x)))))) |
| Outputs |
|---|
(* -1 (/ (+ 1/9 (* 1/3 (* (sqrt x) y))) x)) |
(-.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) |
(/ (- x (+ 1/9 (* 1/3 (* (sqrt x) y)))) x) |
(-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) |
(/ -1/9 x) |
(/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64))) |
(/ (- x 1/9) x) |
(*.f64 x #s(literal 9 binary64)) |
(/ 1/9 x) |
(*.f64 #s(literal 3 binary64) (sqrt.f64 x)) |
(* 9 x) |
(/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x))) |
| Inputs |
|---|
(-.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) |
(-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) |
(/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64))) |
(*.f64 x #s(literal 9 binary64)) |
(*.f64 #s(literal 3 binary64) (sqrt.f64 x)) |
(/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x))) |
| Outputs |
|---|
(-.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) |
(-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) |
(/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64))) |
(*.f64 x #s(literal 9 binary64)) |
(*.f64 #s(literal 3 binary64) (sqrt.f64 x)) |
(/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x))) |
Compiled 213 to 35 computations (83.6% saved)
4 alts after pruning (3 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 9 | 3 | 12 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 9 | 4 | 13 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 99.7% | (-.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) |
| ▶ | 38.3% | (-.f64 #s(approx (- 1 (/ 1 (* x 9))) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) |
| ▶ | 28.3% | (-.f64 #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) |
| ▶ | 62.2% | #s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64))))) |
Compiled 74 to 62 computations (16.2% saved)
| 1× | egg-herbie |
Found 12 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 x #s(literal 9 binary64)) | |
| cost-diff | 0 | (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64))) | |
| cost-diff | 0 | #s(approx (- 1 (/ 1 (* x 9))) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) | |
| cost-diff | 0 | (-.f64 #s(approx (- 1 (/ 1 (* x 9))) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) | |
| cost-diff | 0 | (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x))) | |
| cost-diff | 0 | (*.f64 x #s(literal 9 binary64)) | |
| cost-diff | 0 | #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) | |
| cost-diff | 0 | (-.f64 #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) | |
| cost-diff | 0 | (*.f64 x #s(literal 9 binary64)) | |
| cost-diff | 0 | (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64))) | |
| cost-diff | 0 | (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) | |
| cost-diff | 0 | #s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64))))) |
| Inputs |
|---|
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64))))) |
(-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) |
#s(literal 1 binary64) |
(/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64))) |
(*.f64 x #s(literal 9 binary64)) |
x |
#s(literal 9 binary64) |
(-.f64 #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) |
#s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) |
(*.f64 x #s(literal 9 binary64)) |
x |
#s(literal 9 binary64) |
(/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x))) |
y |
(*.f64 #s(literal 3 binary64) (sqrt.f64 x)) |
#s(literal 3 binary64) |
(sqrt.f64 x) |
(-.f64 #s(approx (- 1 (/ 1 (* x 9))) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) |
#s(approx (- 1 (/ 1 (* x 9))) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) |
(/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64))) |
#s(literal 1 binary64) |
(*.f64 x #s(literal 9 binary64)) |
x |
#s(literal 9 binary64) |
(/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x))) |
y |
(*.f64 #s(literal 3 binary64) (sqrt.f64 x)) |
#s(literal 3 binary64) |
(sqrt.f64 x) |
| Outputs |
|---|
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64))))) |
(-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) |
#s(literal 1 binary64) |
(/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64))) |
(*.f64 x #s(literal 9 binary64)) |
x |
#s(literal 9 binary64) |
(-.f64 #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) |
#s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) |
(*.f64 x #s(literal 9 binary64)) |
x |
#s(literal 9 binary64) |
(/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x))) |
y |
(*.f64 #s(literal 3 binary64) (sqrt.f64 x)) |
#s(literal 3 binary64) |
(sqrt.f64 x) |
(-.f64 #s(approx (- 1 (/ 1 (* x 9))) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) |
#s(approx (- 1 (/ 1 (* x 9))) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) |
(/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64))) |
#s(literal 1 binary64) |
(*.f64 x #s(literal 9 binary64)) |
x |
#s(literal 9 binary64) |
(/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x))) |
y |
(*.f64 #s(literal 3 binary64) (sqrt.f64 x)) |
#s(literal 3 binary64) |
(sqrt.f64 x) |
Found 12 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.23828125 | (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x))) | |
| accuracy | 0.26953125 | (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64))) | |
| accuracy | 0.26953125 | (*.f64 #s(literal 3 binary64) (sqrt.f64 x)) | |
| accuracy | 62.178755457304156 | #s(approx (- 1 (/ 1 (* x 9))) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) | |
| accuracy | 0.0078125 | (-.f64 #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) | |
| accuracy | 0.23828125 | (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x))) | |
| accuracy | 0.26953125 | (*.f64 #s(literal 3 binary64) (sqrt.f64 x)) | |
| accuracy | 61.87742127490121 | #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) | |
| accuracy | 0.0 | (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) | |
| accuracy | 0.0 | (*.f64 x #s(literal 9 binary64)) | |
| accuracy | 0.26953125 | (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64))) | |
| accuracy | 24.11681597269053 | #s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64))))) |
| 26.0ms | 256× | 0 | valid |
Compiled 266 to 40 computations (85% saved)
ival-div: 3.0ms (26% of total)ival-mult: 3.0ms (26% of total)ival-sub: 2.0ms (17.4% of total)ival-sqrt: 2.0ms (17.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 (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64))))) |
(-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) |
(/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64))) |
(*.f64 x #s(literal 9 binary64)) |
(-.f64 #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) |
#s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) |
(/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x))) |
(-.f64 #s(approx (- 1 (/ 1 (* x 9))) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) |
#s(approx (- 1 (/ 1 (* x 9))) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) |
(*.f64 #s(literal 3 binary64) (sqrt.f64 x)) |
| Outputs |
|---|
(* -1 (/ (+ 1/9 (* 1/3 (* (sqrt x) y))) x)) |
(/ (- x (+ 1/9 (* 1/3 (* (sqrt x) y)))) x) |
(/ -1/9 x) |
(/ (- x 1/9) x) |
(/ 1/9 x) |
(* 9 x) |
(* 1/3 (* (sqrt (/ 1 x)) y)) |
(* 3 (sqrt x)) |
(- 1 (* 1/3 (* (sqrt (/ 1 x)) y))) |
(- 1 (+ (* 1/3 (* (sqrt (/ 1 x)) y)) (* 1/9 (/ 1 x)))) |
1 |
(- 1 (* 1/9 (/ 1 x))) |
(* -3 (* (sqrt x) (pow (sqrt -1) 2))) |
(- (+ 1 (* -1/3 (* (sqrt (/ 1 x)) y))) (* 1/9 (/ 1 x))) |
(* -1/3 (* (sqrt (/ 1 x)) y)) |
(* y (- (/ 1 y) (+ (* 1/3 (sqrt (/ 1 x))) (/ 1/9 (* x y))))) |
(* -1 (* y (- (* -1 (/ (- 1 (* 1/9 (/ 1 x))) y)) (* -1/3 (sqrt (/ 1 x)))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | ((- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (- 1 (/ 1 (* x 9))) (/ 1 (* x 9)) (* x 9) (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x))) (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (- 1 (/ 1 (* x 9))) (* 3 (sqrt x))) |
| 1.0ms | x | @ | 0 | ((- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (- 1 (/ 1 (* x 9))) (/ 1 (* x 9)) (* x 9) (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x))) (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (- 1 (/ 1 (* x 9))) (* 3 (sqrt x))) |
| 1.0ms | x | @ | inf | ((- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (- 1 (/ 1 (* x 9))) (/ 1 (* x 9)) (* x 9) (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x))) (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (- 1 (/ 1 (* x 9))) (* 3 (sqrt x))) |
| 1.0ms | y | @ | -inf | ((- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (- 1 (/ 1 (* x 9))) (/ 1 (* x 9)) (* x 9) (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x))) (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (- 1 (/ 1 (* x 9))) (* 3 (sqrt x))) |
| 1.0ms | y | @ | inf | ((- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (- 1 (/ 1 (* x 9))) (/ 1 (* x 9)) (* x 9) (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x))) (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (- 1 (/ 1 (* x 9))) (* 3 (sqrt x))) |
| 1× | egg-herbie |
| Inputs |
|---|
(* -1 (/ (+ 1/9 (* 1/3 (* (sqrt x) y))) x)) |
(/ (- x (+ 1/9 (* 1/3 (* (sqrt x) y)))) x) |
(/ -1/9 x) |
(/ (- x 1/9) x) |
(/ 1/9 x) |
(* 9 x) |
(* 1/3 (* (sqrt (/ 1 x)) y)) |
(* 3 (sqrt x)) |
(- 1 (* 1/3 (* (sqrt (/ 1 x)) y))) |
(- 1 (+ (* 1/3 (* (sqrt (/ 1 x)) y)) (* 1/9 (/ 1 x)))) |
1 |
(- 1 (* 1/9 (/ 1 x))) |
(* -3 (* (sqrt x) (pow (sqrt -1) 2))) |
(- (+ 1 (* -1/3 (* (sqrt (/ 1 x)) y))) (* 1/9 (/ 1 x))) |
(* -1/3 (* (sqrt (/ 1 x)) y)) |
(* y (- (/ 1 y) (+ (* 1/3 (sqrt (/ 1 x))) (/ 1/9 (* x y))))) |
(* -1 (* y (- (* -1 (/ (- 1 (* 1/9 (/ 1 x))) y)) (* -1/3 (sqrt (/ 1 x)))))) |
| Outputs |
|---|
(* -1 (/ (+ 1/9 (* 1/3 (* (sqrt x) y))) x)) |
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64))))) |
(/ (- x (+ 1/9 (* 1/3 (* (sqrt x) y)))) x) |
(-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) |
(/ -1/9 x) |
(/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64))) |
(/ (- x 1/9) x) |
(*.f64 x #s(literal 9 binary64)) |
(/ 1/9 x) |
(-.f64 #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) |
(* 9 x) |
#s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) |
(* 1/3 (* (sqrt (/ 1 x)) y)) |
(/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x))) |
(* 3 (sqrt x)) |
(-.f64 #s(approx (- 1 (/ 1 (* x 9))) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) |
(- 1 (* 1/3 (* (sqrt (/ 1 x)) y))) |
#s(approx (- 1 (/ 1 (* x 9))) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) |
(- 1 (+ (* 1/3 (* (sqrt (/ 1 x)) y)) (* 1/9 (/ 1 x)))) |
(*.f64 #s(literal 3 binary64) (sqrt.f64 x)) |
| Inputs |
|---|
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64))))) |
(-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) |
(/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64))) |
(*.f64 x #s(literal 9 binary64)) |
(-.f64 #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) |
#s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) |
(/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x))) |
(-.f64 #s(approx (- 1 (/ 1 (* x 9))) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) |
#s(approx (- 1 (/ 1 (* x 9))) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) |
(*.f64 #s(literal 3 binary64) (sqrt.f64 x)) |
| Outputs |
|---|
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64))))) |
(-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) |
(/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64))) |
(*.f64 x #s(literal 9 binary64)) |
(-.f64 #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) |
#s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) |
(/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x))) |
(-.f64 #s(approx (- 1 (/ 1 (* x 9))) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) |
#s(approx (- 1 (/ 1 (* x 9))) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) |
(*.f64 #s(literal 3 binary64) (sqrt.f64 x)) |
Compiled 706 to 50 computations (92.9% saved)
8 alts after pruning (4 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 23 | 4 | 27 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 3 | 3 |
| Done | 0 | 1 | 1 |
| Total | 23 | 8 | 31 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 99.7% | (-.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) |
| ✓ | 38.3% | (-.f64 #s(approx (- 1 (/ 1 (* x 9))) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) |
| ✓ | 28.3% | (-.f64 #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) |
| ✓ | 62.2% | #s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64))))) |
| ▶ | 1.6% | #s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (-.f64 #s(literal 1 binary64) #s(approx (/ 1 (* x 9)) (-.f64 #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x))))))) |
| ▶ | 3.5% | #s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (*.f64 #s(literal 3 binary64) (sqrt.f64 x))) |
| ▶ | 2.9% | #s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) #s(approx (- 1 (/ 1 (* x 9))) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64))))) |
| ▶ | 3.0% | #s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64)))) |
Compiled 188 to 136 computations (27.7% saved)
| 1× | egg-herbie |
Found 14 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (-.f64 #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) | |
| cost-diff | 0 | #s(approx (/ 1 (* x 9)) (-.f64 #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x))))) | |
| cost-diff | 0 | (-.f64 #s(literal 1 binary64) #s(approx (/ 1 (* x 9)) (-.f64 #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))))) | |
| cost-diff | 0 | #s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (-.f64 #s(literal 1 binary64) #s(approx (/ 1 (* x 9)) (-.f64 #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x))))))) | |
| cost-diff | 0 | (sqrt.f64 x) | |
| cost-diff | 0 | (*.f64 #s(literal 3 binary64) (sqrt.f64 x)) | |
| cost-diff | 0 | #s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (*.f64 #s(literal 3 binary64) (sqrt.f64 x))) | |
| cost-diff | 0 | (*.f64 x #s(literal 9 binary64)) | |
| cost-diff | 0 | (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64))) | |
| cost-diff | 0 | #s(approx (- 1 (/ 1 (* x 9))) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) | |
| cost-diff | 0 | #s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) #s(approx (- 1 (/ 1 (* x 9))) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64))))) | |
| cost-diff | 0 | (*.f64 x #s(literal 9 binary64)) | |
| cost-diff | 0 | #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) | |
| cost-diff | 0 | #s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64)))) |
| Inputs |
|---|
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64)))) |
#s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) |
(*.f64 x #s(literal 9 binary64)) |
x |
#s(literal 9 binary64) |
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) #s(approx (- 1 (/ 1 (* x 9))) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64))))) |
#s(approx (- 1 (/ 1 (* x 9))) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) |
(/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64))) |
#s(literal 1 binary64) |
(*.f64 x #s(literal 9 binary64)) |
x |
#s(literal 9 binary64) |
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (*.f64 #s(literal 3 binary64) (sqrt.f64 x))) |
(*.f64 #s(literal 3 binary64) (sqrt.f64 x)) |
#s(literal 3 binary64) |
(sqrt.f64 x) |
x |
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (-.f64 #s(literal 1 binary64) #s(approx (/ 1 (* x 9)) (-.f64 #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x))))))) |
(-.f64 #s(literal 1 binary64) #s(approx (/ 1 (* x 9)) (-.f64 #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))))) |
#s(literal 1 binary64) |
#s(approx (/ 1 (* x 9)) (-.f64 #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x))))) |
(-.f64 #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) |
#s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) |
(*.f64 x #s(literal 9 binary64)) |
x |
#s(literal 9 binary64) |
(/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x))) |
y |
(*.f64 #s(literal 3 binary64) (sqrt.f64 x)) |
#s(literal 3 binary64) |
(sqrt.f64 x) |
| Outputs |
|---|
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64)))) |
#s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) |
(*.f64 x #s(literal 9 binary64)) |
x |
#s(literal 9 binary64) |
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) #s(approx (- 1 (/ 1 (* x 9))) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64))))) |
#s(approx (- 1 (/ 1 (* x 9))) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) |
(/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64))) |
#s(literal 1 binary64) |
(*.f64 x #s(literal 9 binary64)) |
x |
#s(literal 9 binary64) |
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (*.f64 #s(literal 3 binary64) (sqrt.f64 x))) |
(*.f64 #s(literal 3 binary64) (sqrt.f64 x)) |
#s(literal 3 binary64) |
(sqrt.f64 x) |
x |
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (-.f64 #s(literal 1 binary64) #s(approx (/ 1 (* x 9)) (-.f64 #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x))))))) |
(-.f64 #s(literal 1 binary64) #s(approx (/ 1 (* x 9)) (-.f64 #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))))) |
#s(literal 1 binary64) |
#s(approx (/ 1 (* x 9)) (-.f64 #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x))))) |
(-.f64 #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) |
#s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) |
(*.f64 x #s(literal 9 binary64)) |
x |
#s(literal 9 binary64) |
(/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x))) |
y |
(*.f64 #s(literal 3 binary64) (sqrt.f64 x)) |
#s(literal 3 binary64) |
(sqrt.f64 x) |
Found 14 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.26953125 | (*.f64 #s(literal 3 binary64) (sqrt.f64 x)) | |
| accuracy | 24.11681597269053 | #s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (-.f64 #s(literal 1 binary64) #s(approx (/ 1 (* x 9)) (-.f64 #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x))))))) | |
| accuracy | 61.87742127490121 | #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) | |
| accuracy | 62.131276175608896 | #s(approx (/ 1 (* x 9)) (-.f64 #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x))))) | |
| accuracy | 0.0 | (sqrt.f64 x) | |
| accuracy | 0.26953125 | (*.f64 #s(literal 3 binary64) (sqrt.f64 x)) | |
| accuracy | 61.74653496459154 | #s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (*.f64 #s(literal 3 binary64) (sqrt.f64 x))) | |
| accuracy | 0.0 | (*.f64 x #s(literal 9 binary64)) | |
| accuracy | 0.26953125 | (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64))) | |
| accuracy | 24.11681597269053 | #s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) #s(approx (- 1 (/ 1 (* x 9))) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64))))) | |
| accuracy | 62.178755457304156 | #s(approx (- 1 (/ 1 (* x 9))) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) | |
| accuracy | 0.0 | (*.f64 x #s(literal 9 binary64)) | |
| accuracy | 24.11681597269053 | #s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64)))) | |
| accuracy | 61.87742127490121 | #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) |
| 28.0ms | 256× | 0 | valid |
Compiled 410 to 43 computations (89.5% saved)
ival-sqrt: 5.0ms (33.7% of total)ival-div: 3.0ms (20.2% of total)ival-mult: 3.0ms (20.2% of total)ival-sub: 2.0ms (13.5% 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 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64)))) |
#s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) |
(*.f64 x #s(literal 9 binary64)) |
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) #s(approx (- 1 (/ 1 (* x 9))) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64))))) |
#s(approx (- 1 (/ 1 (* x 9))) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) |
(/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64))) |
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (*.f64 #s(literal 3 binary64) (sqrt.f64 x))) |
(*.f64 #s(literal 3 binary64) (sqrt.f64 x)) |
(sqrt.f64 x) |
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (-.f64 #s(literal 1 binary64) #s(approx (/ 1 (* x 9)) (-.f64 #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x))))))) |
(-.f64 #s(literal 1 binary64) #s(approx (/ 1 (* x 9)) (-.f64 #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))))) |
#s(approx (/ 1 (* x 9)) (-.f64 #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x))))) |
(-.f64 #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) |
| Outputs |
|---|
(* -1 (/ (+ 1/9 (* 1/3 (* (sqrt x) y))) x)) |
(/ (- x (+ 1/9 (* 1/3 (* (sqrt x) y)))) x) |
(/ -1/9 x) |
(/ (- x 1/9) x) |
(* 9 x) |
(/ 1/9 x) |
(* 3 (sqrt x)) |
(sqrt x) |
(- 1 (* 1/3 (* (sqrt (/ 1 x)) y))) |
(- 1 (+ (* 1/3 (* (sqrt (/ 1 x)) y)) (* 1/9 (/ 1 x)))) |
1 |
(- 1 (* 1/9 (/ 1 x))) |
(* -3 (* (sqrt x) (pow (sqrt -1) 2))) |
(* -1 (* (sqrt x) (pow (sqrt -1) 2))) |
(- (+ 1 (* -1/3 (* (sqrt (/ 1 x)) y))) (* 1/9 (/ 1 x))) |
(* -1/3 (* (sqrt (/ 1 x)) y)) |
(* y (- (/ 1 y) (+ (* 1/3 (sqrt (/ 1 x))) (/ 1/9 (* x y))))) |
(* -1 (* y (- (* -1 (/ (- 1 (* 1/9 (/ 1 x))) y)) (* -1/3 (sqrt (/ 1 x)))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 4.0ms | y | @ | -inf | ((- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (- 1 (/ 1 (* x 9))) (* x 9) (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (- 1 (/ 1 (* x 9))) (/ 1 (* x 9)) (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (* 3 (sqrt x)) (sqrt x) (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (- 1 (/ 1 (* x 9))) (/ 1 (* x 9)) (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x))))) |
| 1.0ms | x | @ | -inf | ((- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (- 1 (/ 1 (* x 9))) (* x 9) (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (- 1 (/ 1 (* x 9))) (/ 1 (* x 9)) (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (* 3 (sqrt x)) (sqrt x) (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (- 1 (/ 1 (* x 9))) (/ 1 (* x 9)) (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x))))) |
| 1.0ms | x | @ | 0 | ((- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (- 1 (/ 1 (* x 9))) (* x 9) (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (- 1 (/ 1 (* x 9))) (/ 1 (* x 9)) (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (* 3 (sqrt x)) (sqrt x) (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (- 1 (/ 1 (* x 9))) (/ 1 (* x 9)) (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x))))) |
| 1.0ms | x | @ | inf | ((- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (- 1 (/ 1 (* x 9))) (* x 9) (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (- 1 (/ 1 (* x 9))) (/ 1 (* x 9)) (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (* 3 (sqrt x)) (sqrt x) (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (- 1 (/ 1 (* x 9))) (/ 1 (* x 9)) (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x))))) |
| 1.0ms | y | @ | inf | ((- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (- 1 (/ 1 (* x 9))) (* x 9) (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (- 1 (/ 1 (* x 9))) (/ 1 (* x 9)) (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (* 3 (sqrt x)) (sqrt x) (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (- 1 (/ 1 (* x 9))) (/ 1 (* x 9)) (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x))))) |
| 1× | egg-herbie |
| Inputs |
|---|
(* -1 (/ (+ 1/9 (* 1/3 (* (sqrt x) y))) x)) |
(/ (- x (+ 1/9 (* 1/3 (* (sqrt x) y)))) x) |
(/ -1/9 x) |
(/ (- x 1/9) x) |
(* 9 x) |
(/ 1/9 x) |
(* 3 (sqrt x)) |
(sqrt x) |
(- 1 (* 1/3 (* (sqrt (/ 1 x)) y))) |
(- 1 (+ (* 1/3 (* (sqrt (/ 1 x)) y)) (* 1/9 (/ 1 x)))) |
1 |
(- 1 (* 1/9 (/ 1 x))) |
(* -3 (* (sqrt x) (pow (sqrt -1) 2))) |
(* -1 (* (sqrt x) (pow (sqrt -1) 2))) |
(- (+ 1 (* -1/3 (* (sqrt (/ 1 x)) y))) (* 1/9 (/ 1 x))) |
(* -1/3 (* (sqrt (/ 1 x)) y)) |
(* y (- (/ 1 y) (+ (* 1/3 (sqrt (/ 1 x))) (/ 1/9 (* x y))))) |
(* -1 (* y (- (* -1 (/ (- 1 (* 1/9 (/ 1 x))) y)) (* -1/3 (sqrt (/ 1 x)))))) |
| Outputs |
|---|
(* -1 (/ (+ 1/9 (* 1/3 (* (sqrt x) y))) x)) |
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64)))) |
(/ (- x (+ 1/9 (* 1/3 (* (sqrt x) y)))) x) |
#s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) |
(/ -1/9 x) |
(*.f64 x #s(literal 9 binary64)) |
(/ (- x 1/9) x) |
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) #s(approx (- 1 (/ 1 (* x 9))) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64))))) |
(* 9 x) |
#s(approx (- 1 (/ 1 (* x 9))) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) |
(/ 1/9 x) |
(/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64))) |
(* 3 (sqrt x)) |
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (*.f64 #s(literal 3 binary64) (sqrt.f64 x))) |
(sqrt x) |
(*.f64 #s(literal 3 binary64) (sqrt.f64 x)) |
(- 1 (* 1/3 (* (sqrt (/ 1 x)) y))) |
(sqrt.f64 x) |
(- 1 (+ (* 1/3 (* (sqrt (/ 1 x)) y)) (* 1/9 (/ 1 x)))) |
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (-.f64 #s(literal 1 binary64) #s(approx (/ 1 (* x 9)) (-.f64 #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x))))))) |
1 |
(-.f64 #s(literal 1 binary64) #s(approx (/ 1 (* x 9)) (-.f64 #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))))) |
(- 1 (* 1/9 (/ 1 x))) |
#s(approx (/ 1 (* x 9)) (-.f64 #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x))))) |
(* -3 (* (sqrt x) (pow (sqrt -1) 2))) |
(-.f64 #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) |
| Inputs |
|---|
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64)))) |
#s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) |
(*.f64 x #s(literal 9 binary64)) |
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) #s(approx (- 1 (/ 1 (* x 9))) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64))))) |
#s(approx (- 1 (/ 1 (* x 9))) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) |
(/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64))) |
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (*.f64 #s(literal 3 binary64) (sqrt.f64 x))) |
(*.f64 #s(literal 3 binary64) (sqrt.f64 x)) |
(sqrt.f64 x) |
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (-.f64 #s(literal 1 binary64) #s(approx (/ 1 (* x 9)) (-.f64 #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x))))))) |
(-.f64 #s(literal 1 binary64) #s(approx (/ 1 (* x 9)) (-.f64 #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))))) |
#s(approx (/ 1 (* x 9)) (-.f64 #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x))))) |
(-.f64 #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) |
| Outputs |
|---|
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64)))) |
#s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) |
(*.f64 x #s(literal 9 binary64)) |
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) #s(approx (- 1 (/ 1 (* x 9))) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64))))) |
#s(approx (- 1 (/ 1 (* x 9))) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) |
(/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64))) |
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (*.f64 #s(literal 3 binary64) (sqrt.f64 x))) |
(*.f64 #s(literal 3 binary64) (sqrt.f64 x)) |
(sqrt.f64 x) |
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (-.f64 #s(literal 1 binary64) #s(approx (/ 1 (* x 9)) (-.f64 #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x))))))) |
(-.f64 #s(literal 1 binary64) #s(approx (/ 1 (* x 9)) (-.f64 #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))))) |
#s(approx (/ 1 (* x 9)) (-.f64 #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x))))) |
(-.f64 #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) |
Compiled 1 467 to 85 computations (94.2% saved)
10 alts after pruning (2 fresh and 8 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 35 | 2 | 37 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 4 | 4 |
| Done | 0 | 4 | 4 |
| Total | 35 | 10 | 45 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 99.7% | (-.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) |
| ✓ | 38.3% | (-.f64 #s(approx (- 1 (/ 1 (* x 9))) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) |
| ✓ | 28.3% | (-.f64 #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) |
| ✓ | 62.2% | #s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64))))) |
| ✓ | 1.6% | #s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (-.f64 #s(literal 1 binary64) #s(approx (/ 1 (* x 9)) (-.f64 #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x))))))) |
| ✓ | 3.5% | #s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (*.f64 #s(literal 3 binary64) (sqrt.f64 x))) |
| ▶ | 3.5% | #s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (*.f64 #s(literal 3 binary64) #s(approx (sqrt x) (*.f64 #s(literal 3 binary64) (sqrt.f64 x))))) |
| ▶ | 3.5% | #s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (sqrt.f64 x)) |
| ✓ | 2.9% | #s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) #s(approx (- 1 (/ 1 (* x 9))) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64))))) |
| ✓ | 3.0% | #s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64)))) |
Compiled 229 to 168 computations (26.6% saved)
| 1× | egg-herbie |
Found 6 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 #s(literal 3 binary64) (sqrt.f64 x)) | |
| cost-diff | 0 | #s(approx (sqrt x) (*.f64 #s(literal 3 binary64) (sqrt.f64 x))) | |
| cost-diff | 0 | (*.f64 #s(literal 3 binary64) #s(approx (sqrt x) (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) | |
| cost-diff | 0 | #s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (*.f64 #s(literal 3 binary64) #s(approx (sqrt x) (*.f64 #s(literal 3 binary64) (sqrt.f64 x))))) | |
| cost-diff | 0 | (sqrt.f64 x) | |
| cost-diff | 0 | #s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (sqrt.f64 x)) |
| Inputs |
|---|
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (sqrt.f64 x)) |
(sqrt.f64 x) |
x |
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (*.f64 #s(literal 3 binary64) #s(approx (sqrt x) (*.f64 #s(literal 3 binary64) (sqrt.f64 x))))) |
(*.f64 #s(literal 3 binary64) #s(approx (sqrt x) (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) |
#s(literal 3 binary64) |
#s(approx (sqrt x) (*.f64 #s(literal 3 binary64) (sqrt.f64 x))) |
(*.f64 #s(literal 3 binary64) (sqrt.f64 x)) |
(sqrt.f64 x) |
x |
| Outputs |
|---|
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (sqrt.f64 x)) |
(sqrt.f64 x) |
x |
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (*.f64 #s(literal 3 binary64) #s(approx (sqrt x) (*.f64 #s(literal 3 binary64) (sqrt.f64 x))))) |
(*.f64 #s(literal 3 binary64) #s(approx (sqrt x) (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) |
#s(literal 3 binary64) |
#s(approx (sqrt x) (*.f64 #s(literal 3 binary64) (sqrt.f64 x))) |
(*.f64 #s(literal 3 binary64) (sqrt.f64 x)) |
(sqrt.f64 x) |
x |
Found 6 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.26953125 | (*.f64 #s(literal 3 binary64) (sqrt.f64 x)) | |
| accuracy | 0.26953125 | (*.f64 #s(literal 3 binary64) #s(approx (sqrt x) (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) | |
| accuracy | 52.66657313358449 | #s(approx (sqrt x) (*.f64 #s(literal 3 binary64) (sqrt.f64 x))) | |
| accuracy | 61.74653496459154 | #s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (*.f64 #s(literal 3 binary64) #s(approx (sqrt x) (*.f64 #s(literal 3 binary64) (sqrt.f64 x))))) | |
| accuracy | 0.0 | (sqrt.f64 x) | |
| accuracy | 61.73220856330916 | #s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (sqrt.f64 x)) |
| 19.0ms | 256× | 0 | valid |
Compiled 115 to 33 computations (71.3% saved)
ival-div: 3.0ms (26.4% of total)ival-mult: 3.0ms (26.4% of total)ival-sub: 2.0ms (17.6% of total)ival-sqrt: 2.0ms (17.6% 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 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (sqrt.f64 x)) |
(sqrt.f64 x) |
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (*.f64 #s(literal 3 binary64) #s(approx (sqrt x) (*.f64 #s(literal 3 binary64) (sqrt.f64 x))))) |
(*.f64 #s(literal 3 binary64) #s(approx (sqrt x) (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) |
#s(approx (sqrt x) (*.f64 #s(literal 3 binary64) (sqrt.f64 x))) |
(*.f64 #s(literal 3 binary64) (sqrt.f64 x)) |
| Outputs |
|---|
(* -1 (/ (+ 1/9 (* 1/3 (* (sqrt x) y))) x)) |
(/ (- x (+ 1/9 (* 1/3 (* (sqrt x) y)))) x) |
(sqrt x) |
(* 3 (sqrt x)) |
(- 1 (* 1/3 (* (sqrt (/ 1 x)) y))) |
(- 1 (+ (* 1/3 (* (sqrt (/ 1 x)) y)) (* 1/9 (/ 1 x)))) |
(* -1 (* (sqrt x) (pow (sqrt -1) 2))) |
(* -3 (* (sqrt x) (pow (sqrt -1) 2))) |
(- 1 (* 1/9 (/ 1 x))) |
(- (+ 1 (* -1/3 (* (sqrt (/ 1 x)) y))) (* 1/9 (/ 1 x))) |
(* -1/3 (* (sqrt (/ 1 x)) y)) |
(* y (- (/ 1 y) (+ (* 1/3 (sqrt (/ 1 x))) (/ 1/9 (* x y))))) |
(* -1 (* y (- (* -1 (/ (- 1 (* 1/9 (/ 1 x))) y)) (* -1/3 (sqrt (/ 1 x)))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | ((- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (sqrt x) (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (* 3 (sqrt x)) (sqrt x) (* 3 (sqrt x))) |
| 1.0ms | x | @ | 0 | ((- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (sqrt x) (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (* 3 (sqrt x)) (sqrt x) (* 3 (sqrt x))) |
| 1.0ms | x | @ | inf | ((- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (sqrt x) (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (* 3 (sqrt x)) (sqrt x) (* 3 (sqrt x))) |
| 0.0ms | y | @ | -inf | ((- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (sqrt x) (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (* 3 (sqrt x)) (sqrt x) (* 3 (sqrt x))) |
| 0.0ms | y | @ | inf | ((- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (sqrt x) (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (* 3 (sqrt x)) (sqrt x) (* 3 (sqrt x))) |
| 1× | egg-herbie |
| Inputs |
|---|
(* -1 (/ (+ 1/9 (* 1/3 (* (sqrt x) y))) x)) |
(/ (- x (+ 1/9 (* 1/3 (* (sqrt x) y)))) x) |
(sqrt x) |
(* 3 (sqrt x)) |
(- 1 (* 1/3 (* (sqrt (/ 1 x)) y))) |
(- 1 (+ (* 1/3 (* (sqrt (/ 1 x)) y)) (* 1/9 (/ 1 x)))) |
(* -1 (* (sqrt x) (pow (sqrt -1) 2))) |
(* -3 (* (sqrt x) (pow (sqrt -1) 2))) |
(- 1 (* 1/9 (/ 1 x))) |
(- (+ 1 (* -1/3 (* (sqrt (/ 1 x)) y))) (* 1/9 (/ 1 x))) |
(* -1/3 (* (sqrt (/ 1 x)) y)) |
(* y (- (/ 1 y) (+ (* 1/3 (sqrt (/ 1 x))) (/ 1/9 (* x y))))) |
(* -1 (* y (- (* -1 (/ (- 1 (* 1/9 (/ 1 x))) y)) (* -1/3 (sqrt (/ 1 x)))))) |
| Outputs |
|---|
(* -1 (/ (+ 1/9 (* 1/3 (* (sqrt x) y))) x)) |
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (sqrt.f64 x)) |
(/ (- x (+ 1/9 (* 1/3 (* (sqrt x) y)))) x) |
(sqrt.f64 x) |
(sqrt x) |
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (*.f64 #s(literal 3 binary64) #s(approx (sqrt x) (*.f64 #s(literal 3 binary64) (sqrt.f64 x))))) |
(* 3 (sqrt x)) |
(*.f64 #s(literal 3 binary64) #s(approx (sqrt x) (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) |
(- 1 (* 1/3 (* (sqrt (/ 1 x)) y))) |
#s(approx (sqrt x) (*.f64 #s(literal 3 binary64) (sqrt.f64 x))) |
(- 1 (+ (* 1/3 (* (sqrt (/ 1 x)) y)) (* 1/9 (/ 1 x)))) |
(*.f64 #s(literal 3 binary64) (sqrt.f64 x)) |
| Inputs |
|---|
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (sqrt.f64 x)) |
(sqrt.f64 x) |
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (*.f64 #s(literal 3 binary64) #s(approx (sqrt x) (*.f64 #s(literal 3 binary64) (sqrt.f64 x))))) |
(*.f64 #s(literal 3 binary64) #s(approx (sqrt x) (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) |
#s(approx (sqrt x) (*.f64 #s(literal 3 binary64) (sqrt.f64 x))) |
(*.f64 #s(literal 3 binary64) (sqrt.f64 x)) |
| Outputs |
|---|
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (sqrt.f64 x)) |
(sqrt.f64 x) |
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (*.f64 #s(literal 3 binary64) #s(approx (sqrt x) (*.f64 #s(literal 3 binary64) (sqrt.f64 x))))) |
(*.f64 #s(literal 3 binary64) #s(approx (sqrt x) (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) |
#s(approx (sqrt x) (*.f64 #s(literal 3 binary64) (sqrt.f64 x))) |
(*.f64 #s(literal 3 binary64) (sqrt.f64 x)) |
Compiled 347 to 30 computations (91.4% saved)
11 alts after pruning (1 fresh and 10 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 12 | 1 | 13 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 2 | 2 |
| Done | 0 | 8 | 8 |
| Total | 12 | 11 | 23 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 99.7% | (-.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) |
| ✓ | 38.3% | (-.f64 #s(approx (- 1 (/ 1 (* x 9))) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) |
| ✓ | 28.3% | (-.f64 #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) |
| ✓ | 62.2% | #s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64))))) |
| ✓ | 1.6% | #s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (-.f64 #s(literal 1 binary64) #s(approx (/ 1 (* x 9)) (-.f64 #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x))))))) |
| ✓ | 3.5% | #s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (*.f64 #s(literal 3 binary64) (sqrt.f64 x))) |
| ✓ | 3.5% | #s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (*.f64 #s(literal 3 binary64) #s(approx (sqrt x) (*.f64 #s(literal 3 binary64) (sqrt.f64 x))))) |
| 3.5% | #s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (*.f64 #s(literal 3 binary64) #s(approx (sqrt x) (*.f64 #s(literal 3 binary64) #s(approx (sqrt x) #s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (*.f64 #s(literal 3 binary64) #s(approx (sqrt x) (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))))))))) | |
| ✓ | 3.5% | #s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (sqrt.f64 x)) |
| ✓ | 2.9% | #s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) #s(approx (- 1 (/ 1 (* x 9))) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64))))) |
| ✓ | 3.0% | #s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64)))) |
Compiled 556 to 233 computations (58.1% saved)
| Inputs |
|---|
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64)))) |
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (sqrt.f64 x)) |
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (*.f64 #s(literal 3 binary64) (sqrt.f64 x))) |
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) #s(approx (- 1 (/ 1 (* x 9))) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64))))) |
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64))))) |
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (*.f64 #s(literal 3 binary64) #s(approx (sqrt x) (*.f64 #s(literal 3 binary64) (sqrt.f64 x))))) |
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (*.f64 #s(literal 3 binary64) #s(approx (sqrt x) (*.f64 #s(literal 3 binary64) #s(approx (sqrt x) #s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (*.f64 #s(literal 3 binary64) #s(approx (sqrt x) (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))))))))) |
(-.f64 #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) |
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (-.f64 #s(literal 1 binary64) #s(approx (/ 1 (* x 9)) (-.f64 #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x))))))) |
(-.f64 #s(approx (- 1 (/ 1 (* x 9))) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) |
(-.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) |
| Outputs |
|---|
(-.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) |
3 calls:
| 4.0ms | (-.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) |
| 4.0ms | y |
| 4.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.7% | 1 | x |
| 99.7% | 1 | y |
| 99.7% | 1 | (-.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) |
Compiled 16 to 16 computations (0% saved)
| Inputs |
|---|
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64)))) |
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (sqrt.f64 x)) |
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (*.f64 #s(literal 3 binary64) (sqrt.f64 x))) |
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) #s(approx (- 1 (/ 1 (* x 9))) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64))))) |
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64))))) |
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (*.f64 #s(literal 3 binary64) #s(approx (sqrt x) (*.f64 #s(literal 3 binary64) (sqrt.f64 x))))) |
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (*.f64 #s(literal 3 binary64) #s(approx (sqrt x) (*.f64 #s(literal 3 binary64) #s(approx (sqrt x) #s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (*.f64 #s(literal 3 binary64) #s(approx (sqrt x) (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))))))))) |
(-.f64 #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) |
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (-.f64 #s(literal 1 binary64) #s(approx (/ 1 (* x 9)) (-.f64 #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x))))))) |
(-.f64 #s(approx (- 1 (/ 1 (* x 9))) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) |
| Outputs |
|---|
(-.f64 #s(approx (- 1 (/ 1 (* x 9))) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) |
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64))))) |
(-.f64 #s(approx (- 1 (/ 1 (* x 9))) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) |
3 calls:
| 5.0ms | x |
| 3.0ms | y |
| 3.0ms | (-.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 62.2% | 1 | x |
| 92.5% | 3 | y |
| 80.9% | 3 | (-.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) |
Compiled 16 to 16 computations (0% saved)
| Inputs |
|---|
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64)))) |
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (sqrt.f64 x)) |
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (*.f64 #s(literal 3 binary64) (sqrt.f64 x))) |
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) #s(approx (- 1 (/ 1 (* x 9))) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64))))) |
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64))))) |
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (*.f64 #s(literal 3 binary64) #s(approx (sqrt x) (*.f64 #s(literal 3 binary64) (sqrt.f64 x))))) |
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (*.f64 #s(literal 3 binary64) #s(approx (sqrt x) (*.f64 #s(literal 3 binary64) #s(approx (sqrt x) #s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (*.f64 #s(literal 3 binary64) #s(approx (sqrt x) (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))))))))) |
(-.f64 #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) |
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (-.f64 #s(literal 1 binary64) #s(approx (/ 1 (* x 9)) (-.f64 #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x))))))) |
| Outputs |
|---|
(-.f64 #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) |
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64))))) |
(-.f64 #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) |
1 calls:
| 3.0ms | y |
| Accuracy | Segments | Branch |
|---|---|---|
| 84.0% | 3 | y |
Compiled 1 to 2 computations (-100% saved)
| Inputs |
|---|
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64)))) |
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (sqrt.f64 x)) |
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (*.f64 #s(literal 3 binary64) (sqrt.f64 x))) |
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) #s(approx (- 1 (/ 1 (* x 9))) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64))))) |
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64))))) |
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (*.f64 #s(literal 3 binary64) #s(approx (sqrt x) (*.f64 #s(literal 3 binary64) (sqrt.f64 x))))) |
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (*.f64 #s(literal 3 binary64) #s(approx (sqrt x) (*.f64 #s(literal 3 binary64) #s(approx (sqrt x) #s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (*.f64 #s(literal 3 binary64) #s(approx (sqrt x) (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))))))))) |
| Outputs |
|---|
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64))))) |
2 calls:
| 3.0ms | (-.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) |
| 3.0ms | y |
| Accuracy | Segments | Branch |
|---|---|---|
| 62.2% | 1 | (-.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) |
| 62.2% | 1 | y |
Compiled 15 to 14 computations (6.7% saved)
| Inputs |
|---|
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64)))) |
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (sqrt.f64 x)) |
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (*.f64 #s(literal 3 binary64) (sqrt.f64 x))) |
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) #s(approx (- 1 (/ 1 (* x 9))) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64))))) |
| Outputs |
|---|
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (sqrt.f64 x)) |
3 calls:
| 2.0ms | (-.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) |
| 2.0ms | y |
| 2.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 3.5% | 1 | y |
| 3.5% | 1 | x |
| 3.5% | 1 | (-.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) |
Compiled 16 to 16 computations (0% saved)
Total -0.0b remaining (-0%)
Threshold costs -0b (-0%)
| Inputs |
|---|
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64)))) |
| Outputs |
|---|
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64)))) |
3 calls:
| 4.0ms | y |
| 1.0ms | (-.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) |
| 1.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 3.0% | 1 | (-.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) |
| 3.0% | 1 | x |
| 3.0% | 1 | y |
Compiled 16 to 16 computations (0% saved)
| 2× | binary-search |
| 1× | narrow-enough |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 16.0ms | 4.579132145579248e+92 | 1.3922398984178139e+96 |
| 15.0ms | -5.188634750851549e+75 | -2.5896285248194866e+70 |
| 21.0ms | 272× | 0 | valid |
Compiled 731 to 646 computations (11.6% saved)
ival-mult: 6.0ms (40.7% of total)ival-div: 4.0ms (27.1% of total)ival-sub: 3.0ms (20.3% of total)ival-sqrt: 2.0ms (13.6% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 2× | binary-search |
| 1× | narrow-enough |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 16.0ms | 1.3922398984178139e+96 | 3.167209982339531e+98 |
| 10.0ms | -9.139169570961988e+119 | -7.4456166213721985e+118 |
| 18.0ms | 208× | 0 | valid |
Compiled 537 to 472 computations (12.1% saved)
ival-mult: 7.0ms (53.1% of total)ival-div: 3.0ms (22.7% of total)ival-sub: 2.0ms (15.2% of total)ival-sqrt: 1.0ms (7.6% 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 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) |
(if (<=.f64 y #s(literal -679999999999999982185812085187020778825228033158890213782659441106503073792 binary64)) (-.f64 #s(approx (- 1 (/ 1 (* x 9))) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) (if (<=.f64 y #s(literal 649999999999999999247220724173422091745944409046783589347156796658334918513896720133578031104 binary64)) #s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64))))) (-.f64 #s(approx (- 1 (/ 1 (* x 9))) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))))) |
(if (<=.f64 y #s(literal -75000000000000000292055919796808457071114213922031061361465021175027559017048435180892704563878189286310200255866470400 binary64)) (-.f64 #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) (if (<=.f64 y #s(literal 119999999999999993652004141211841614212616598767388023447146864721381099945841831339418427708145664 binary64)) #s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64))))) (-.f64 #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))))) |
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64))))) |
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (sqrt.f64 x)) |
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64)))) |
| Outputs |
|---|
(-.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) |
(if (<=.f64 y #s(literal -679999999999999982185812085187020778825228033158890213782659441106503073792 binary64)) (-.f64 #s(approx (- 1 (/ 1 (* x 9))) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) (if (<=.f64 y #s(literal 649999999999999999247220724173422091745944409046783589347156796658334918513896720133578031104 binary64)) #s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64))))) (-.f64 #s(approx (- 1 (/ 1 (* x 9))) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64)))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))))) |
(if (<=.f64 y #s(literal -75000000000000000292055919796808457071114213922031061361465021175027559017048435180892704563878189286310200255866470400 binary64)) (-.f64 #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))) (if (<=.f64 y #s(literal 119999999999999993652004141211841614212616598767388023447146864721381099945841831339418427708145664 binary64)) #s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64))))) (-.f64 #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64))) (/.f64 y (*.f64 #s(literal 3 binary64) (sqrt.f64 x)))))) |
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x #s(literal 9 binary64))))) |
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) (sqrt.f64 x)) |
#s(approx (- (- 1 (/ 1 (* x 9))) (/ y (* 3 (sqrt x)))) #s(approx (- 1 (/ 1 (* x 9))) (*.f64 x #s(literal 9 binary64)))) |
| 1× | fuel |
Compiled 215 to 41 computations (80.9% saved)
Compiled 486 to 130 computations (73.3% saved)
Loading profile data...