
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 |
| 75% | 74.9% | 25% | 0.1% | 0% | 0% | 0% | 3 |
| 87.5% | 87.4% | 12.5% | 0.1% | 0% | 0% | 0% | 4 |
| 93.8% | 93.7% | 6.2% | 0.1% | 0% | 0% | 0% | 5 |
| 96.9% | 96.8% | 3.1% | 0.1% | 0% | 0% | 0% | 6 |
| 98.4% | 98.3% | 1.6% | 0.1% | 0% | 0% | 0% | 7 |
| 99.2% | 99.1% | 0.8% | 0.1% | 0% | 0% | 0% | 8 |
| 99.6% | 99.5% | 0.4% | 0.1% | 0% | 0% | 0% | 9 |
| 99.8% | 99.7% | 0.2% | 0.1% | 0% | 0% | 0% | 10 |
| 99.9% | 99.8% | 0.1% | 0.1% | 0% | 0% | 0% | 11 |
| 100% | 99.9% | 0% | 0.1% | 0% | 0% | 0% | 12 |
Compiled 21 to 11 computations (47.6% saved)
| 484.0ms | 8 256× | 0 | valid |
ival-mult: 163.0ms (52.9% of total)ival-div: 58.0ms (18.8% of total)ival-add: 39.0ms (12.7% of total)ival-sub: 36.0ms (11.7% of total)ival-true: 6.0ms (1.9% of total)exact: 5.0ms (1.6% of total)ival-assert: 3.0ms (1% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 129 | 0 | - | 0 | - | (/.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) (+.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y))) |
| 19 | 0 | - | 0 | - | (-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) |
| 0 | 0 | - | 0 | - | (*.f64 (*.f64 y #s(literal 4 binary64)) y) |
| 0 | 0 | - | 0 | - | (*.f64 y #s(literal 4 binary64)) |
| 0 | 0 | - | 0 | - | #s(literal 4 binary64) |
| 0 | 0 | - | 0 | - | (*.f64 x x) |
| 0 | 0 | - | 0 | - | (+.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) |
| 0 | 0 | - | 0 | - | y |
| 0 | 0 | - | 0 | - | x |
| Operator | Subexpression | Explanation | Count | |
|---|---|---|---|---|
/.f64 | (/.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) (+.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y))) | o/o | 120 | 0 |
| ↳ | (*.f64 (*.f64 y #s(literal 4 binary64)) y) | overflow | 75 | |
| ↳ | (-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) | overflow | 120 | |
| ↳ | (*.f64 x x) | overflow | 64 | |
| ↳ | (*.f64 (*.f64 y #s(literal 4 binary64)) y) | overflow | 75 | |
| ↳ | (+.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) | overflow | 120 | |
| ↳ | (*.f64 x x) | overflow | 64 | |
-.f64 | (-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) | nan-rescue | 19 | 0 |
| ↳ | (*.f64 x x) | overflow | 64 | |
| ↳ | (*.f64 (*.f64 y #s(literal 4 binary64)) y) | overflow | 75 | |
/.f64 | (/.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) (+.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y))) | u/u | 9 | 0 |
| ↳ | (*.f64 (*.f64 y #s(literal 4 binary64)) y) | underflow | 59 | |
| ↳ | (-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) | underflow | 9 | |
| ↳ | (*.f64 x x) | underflow | 58 | |
| ↳ | (*.f64 (*.f64 y #s(literal 4 binary64)) y) | underflow | 59 | |
| ↳ | (+.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) | underflow | 9 | |
| ↳ | (*.f64 x x) | underflow | 58 |
| Predicted + | Predicted - | |
|---|---|---|
| + | 129 | 0 |
| - | 0 | 127 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 129 | 0 | 0 |
| - | 0 | 0 | 127 |
| number | freq |
|---|---|
| 0 | 127 |
| 1 | 110 |
| 2 | 19 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 1 | 0 | 0 |
| - | 0 | 0 | 0 |
| 34.0ms | 512× | 0 | valid |
Compiled 176 to 40 computations (77.3% saved)
ival-mult: 10.0ms (56.5% of total)ival-div: 3.0ms (16.9% of total)ival-sub: 2.0ms (11.3% of total)ival-add: 2.0ms (11.3% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 1× | egg-herbie |
| Inputs |
|---|
(/.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) (+.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y))) |
| Outputs |
|---|
(/.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) (+.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y))) |
Compiled 19 to 9 computations (52.6% saved)
Compiled 0 to 2 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 49.6% | (/.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) (+.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y))) |
Compiled 19 to 9 computations (52.6% saved)
| 1× | egg-herbie |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 (*.f64 y #s(literal 4 binary64)) y) | |
| cost-diff | 0 | (*.f64 x x) | |
| cost-diff | 0 | (-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) | |
| cost-diff | 0 | (/.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) (+.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y))) |
| Inputs |
|---|
(/.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) (+.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y))) |
(-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) |
(*.f64 x x) |
x |
(*.f64 (*.f64 y #s(literal 4 binary64)) y) |
(*.f64 y #s(literal 4 binary64)) |
y |
#s(literal 4 binary64) |
(+.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) |
| Outputs |
|---|
(/.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) (+.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y))) |
(-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) |
(*.f64 x x) |
x |
(*.f64 (*.f64 y #s(literal 4 binary64)) y) |
(*.f64 y #s(literal 4 binary64)) |
y |
#s(literal 4 binary64) |
(+.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (*.f64 x x) | |
| accuracy | 0.00390625 | (+.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) | |
| accuracy | 4.195295986641647 | (-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) | |
| accuracy | 31.664800559209326 | (/.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) (+.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y))) |
| 19.0ms | 256× | 0 | valid |
Compiled 104 to 20 computations (80.8% saved)
ival-mult: 5.0ms (57.6% of total)ival-sub: 1.0ms (11.5% of total)ival-div: 1.0ms (11.5% of total)ival-add: 1.0ms (11.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 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) (+.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y))) |
(-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) |
(*.f64 x x) |
(*.f64 (*.f64 y #s(literal 4 binary64)) y) |
(+.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) |
| Outputs |
|---|
-1 |
(- (* 1/2 (/ (pow x 2) (pow y 2))) 1) |
(- (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow y 4))) (* 1/2 (/ 1 (pow y 2))))) 1) |
(- (* (pow x 2) (+ (* (pow x 2) (- (* 1/32 (/ (pow x 2) (pow y 6))) (* 1/8 (/ 1 (pow y 4))))) (* 1/2 (/ 1 (pow y 2))))) 1) |
(* -4 (pow y 2)) |
(- (pow x 2) (* 4 (pow y 2))) |
(pow x 2) |
(* 4 (pow y 2)) |
(+ (* 4 (pow y 2)) (pow x 2)) |
1 |
(- (+ 1 (* -4 (/ (pow y 2) (pow x 2)))) (* 4 (/ (pow y 2) (pow x 2)))) |
(- (+ 1 (+ (* -4 (/ (* (pow y 2) (- (* -4 (pow y 2)) (* 4 (pow y 2)))) (pow x 4))) (* -4 (/ (pow y 2) (pow x 2))))) (* 4 (/ (pow y 2) (pow x 2)))) |
(- (+ 1 (+ (* -4 (/ (pow y 2) (pow x 2))) (* 16 (/ (* (pow y 4) (- (* -4 (pow y 2)) (* 4 (pow y 2)))) (pow x 6))))) (+ (* 4 (/ (* (pow y 2) (- (* -4 (pow y 2)) (* 4 (pow y 2)))) (pow x 4))) (* 4 (/ (pow y 2) (pow x 2))))) |
(* (pow x 2) (+ 1 (* -4 (/ (pow y 2) (pow x 2))))) |
(* (pow x 2) (+ 1 (* 4 (/ (pow y 2) (pow x 2))))) |
(+ 1 (* -8 (/ (pow y 2) (pow x 2)))) |
(+ 1 (* (pow y 2) (- (* 32 (/ (pow y 2) (pow x 4))) (* 8 (/ 1 (pow x 2)))))) |
(+ 1 (* (pow y 2) (- (* (pow y 2) (+ (* -128 (/ (pow y 2) (pow x 6))) (* 32 (/ 1 (pow x 4))))) (* 8 (/ 1 (pow x 2)))))) |
(+ (* -4 (pow y 2)) (pow x 2)) |
(- (* 1/4 (/ (pow x 2) (pow y 2))) (+ 1 (* -1/4 (/ (pow x 2) (pow y 2))))) |
(- (+ (* -1/4 (/ (* (pow x 2) (- (* 1/4 (pow x 2)) (* -1/4 (pow x 2)))) (pow y 4))) (* 1/4 (/ (pow x 2) (pow y 2)))) (+ 1 (* -1/4 (/ (pow x 2) (pow y 2))))) |
(- (+ (* 1/16 (/ (* (pow x 4) (- (* 1/4 (pow x 2)) (* -1/4 (pow x 2)))) (pow y 6))) (* 1/4 (/ (pow x 2) (pow y 2)))) (+ 1 (+ (* -1/4 (/ (pow x 2) (pow y 2))) (* 1/4 (/ (* (pow x 2) (- (* 1/4 (pow x 2)) (* -1/4 (pow x 2)))) (pow y 4)))))) |
(* (pow y 2) (- (/ (pow x 2) (pow y 2)) 4)) |
(* (pow y 2) (+ 4 (/ (pow x 2) (pow y 2)))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | y | @ | inf | ((/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (- (* x x) (* (* y 4) y)) (* x x) (* (* y 4) y) (+ (* x x) (* (* y 4) y))) |
| 1.0ms | x | @ | inf | ((/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (- (* x x) (* (* y 4) y)) (* x x) (* (* y 4) y) (+ (* x x) (* (* y 4) y))) |
| 1.0ms | x | @ | 0 | ((/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (- (* x x) (* (* y 4) y)) (* x x) (* (* y 4) y) (+ (* x x) (* (* y 4) y))) |
| 1.0ms | y | @ | 0 | ((/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (- (* x x) (* (* y 4) y)) (* x x) (* (* y 4) y) (+ (* x x) (* (* y 4) y))) |
| 1.0ms | y | @ | -inf | ((/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (- (* x x) (* (* y 4) y)) (* x x) (* (* y 4) y) (+ (* x x) (* (* y 4) y))) |
| 1× | egg-herbie |
| Inputs |
|---|
-1 |
(- (* 1/2 (/ (pow x 2) (pow y 2))) 1) |
(- (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow y 4))) (* 1/2 (/ 1 (pow y 2))))) 1) |
(- (* (pow x 2) (+ (* (pow x 2) (- (* 1/32 (/ (pow x 2) (pow y 6))) (* 1/8 (/ 1 (pow y 4))))) (* 1/2 (/ 1 (pow y 2))))) 1) |
(* -4 (pow y 2)) |
(- (pow x 2) (* 4 (pow y 2))) |
(pow x 2) |
(* 4 (pow y 2)) |
(+ (* 4 (pow y 2)) (pow x 2)) |
1 |
(- (+ 1 (* -4 (/ (pow y 2) (pow x 2)))) (* 4 (/ (pow y 2) (pow x 2)))) |
(- (+ 1 (+ (* -4 (/ (* (pow y 2) (- (* -4 (pow y 2)) (* 4 (pow y 2)))) (pow x 4))) (* -4 (/ (pow y 2) (pow x 2))))) (* 4 (/ (pow y 2) (pow x 2)))) |
(- (+ 1 (+ (* -4 (/ (pow y 2) (pow x 2))) (* 16 (/ (* (pow y 4) (- (* -4 (pow y 2)) (* 4 (pow y 2)))) (pow x 6))))) (+ (* 4 (/ (* (pow y 2) (- (* -4 (pow y 2)) (* 4 (pow y 2)))) (pow x 4))) (* 4 (/ (pow y 2) (pow x 2))))) |
(* (pow x 2) (+ 1 (* -4 (/ (pow y 2) (pow x 2))))) |
(* (pow x 2) (+ 1 (* 4 (/ (pow y 2) (pow x 2))))) |
(+ 1 (* -8 (/ (pow y 2) (pow x 2)))) |
(+ 1 (* (pow y 2) (- (* 32 (/ (pow y 2) (pow x 4))) (* 8 (/ 1 (pow x 2)))))) |
(+ 1 (* (pow y 2) (- (* (pow y 2) (+ (* -128 (/ (pow y 2) (pow x 6))) (* 32 (/ 1 (pow x 4))))) (* 8 (/ 1 (pow x 2)))))) |
(+ (* -4 (pow y 2)) (pow x 2)) |
(- (* 1/4 (/ (pow x 2) (pow y 2))) (+ 1 (* -1/4 (/ (pow x 2) (pow y 2))))) |
(- (+ (* -1/4 (/ (* (pow x 2) (- (* 1/4 (pow x 2)) (* -1/4 (pow x 2)))) (pow y 4))) (* 1/4 (/ (pow x 2) (pow y 2)))) (+ 1 (* -1/4 (/ (pow x 2) (pow y 2))))) |
(- (+ (* 1/16 (/ (* (pow x 4) (- (* 1/4 (pow x 2)) (* -1/4 (pow x 2)))) (pow y 6))) (* 1/4 (/ (pow x 2) (pow y 2)))) (+ 1 (+ (* -1/4 (/ (pow x 2) (pow y 2))) (* 1/4 (/ (* (pow x 2) (- (* 1/4 (pow x 2)) (* -1/4 (pow x 2)))) (pow y 4)))))) |
(* (pow y 2) (- (/ (pow x 2) (pow y 2)) 4)) |
(* (pow y 2) (+ 4 (/ (pow x 2) (pow y 2)))) |
| Outputs |
|---|
-1 |
(/.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) (+.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y))) |
(- (* 1/2 (/ (pow x 2) (pow y 2))) 1) |
(-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) |
(- (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow y 4))) (* 1/2 (/ 1 (pow y 2))))) 1) |
(*.f64 x x) |
(- (* (pow x 2) (+ (* (pow x 2) (- (* 1/32 (/ (pow x 2) (pow y 6))) (* 1/8 (/ 1 (pow y 4))))) (* 1/2 (/ 1 (pow y 2))))) 1) |
(*.f64 (*.f64 y #s(literal 4 binary64)) y) |
(* -4 (pow y 2)) |
(+.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) |
| Inputs |
|---|
(/.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) (+.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y))) |
(-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) |
(*.f64 x x) |
(*.f64 (*.f64 y #s(literal 4 binary64)) y) |
(+.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) |
| Outputs |
|---|
(/.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) (+.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y))) |
(-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) |
(*.f64 x x) |
(*.f64 (*.f64 y #s(literal 4 binary64)) y) |
(+.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) |
Compiled 278 to 22 computations (92.1% 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 |
|---|---|---|
| ✓ | 49.6% | (/.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) (+.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y))) |
| ▶ | 4.1% | #s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y))) |
| ▶ | 2.7% | #s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) |
| ▶ | 3.4% | #s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (*.f64 x x)) |
Compiled 96 to 48 computations (50% saved)
| 1× | egg-herbie |
Found 9 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 (*.f64 y #s(literal 4 binary64)) y) | |
| cost-diff | 0 | (*.f64 x x) | |
| cost-diff | 0 | (-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) | |
| cost-diff | 0 | #s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y))) | |
| cost-diff | 0 | (*.f64 y #s(literal 4 binary64)) | |
| cost-diff | 0 | (*.f64 (*.f64 y #s(literal 4 binary64)) y) | |
| cost-diff | 0 | #s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) | |
| cost-diff | 0 | (*.f64 x x) | |
| cost-diff | 0 | #s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (*.f64 x x)) |
| Inputs |
|---|
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (*.f64 x x)) |
(*.f64 x x) |
x |
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) |
(*.f64 (*.f64 y #s(literal 4 binary64)) y) |
(*.f64 y #s(literal 4 binary64)) |
y |
#s(literal 4 binary64) |
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y))) |
(-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) |
(*.f64 x x) |
x |
(*.f64 (*.f64 y #s(literal 4 binary64)) y) |
(*.f64 y #s(literal 4 binary64)) |
y |
#s(literal 4 binary64) |
| Outputs |
|---|
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (*.f64 x x)) |
(*.f64 x x) |
x |
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) |
(*.f64 (*.f64 y #s(literal 4 binary64)) y) |
(*.f64 y #s(literal 4 binary64)) |
y |
#s(literal 4 binary64) |
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y))) |
(-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) |
(*.f64 x x) |
x |
(*.f64 (*.f64 y #s(literal 4 binary64)) y) |
(*.f64 y #s(literal 4 binary64)) |
y |
#s(literal 4 binary64) |
Found 9 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (*.f64 y #s(literal 4 binary64)) | |
| accuracy | 0.0 | (*.f64 x x) | |
| accuracy | 4.195295986641647 | (-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) | |
| accuracy | 61.208486713229085 | #s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y))) | |
| accuracy | 0.0 | (*.f64 (*.f64 y #s(literal 4 binary64)) y) | |
| accuracy | 0.0 | (*.f64 y #s(literal 4 binary64)) | |
| accuracy | 62.28709594887124 | #s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) | |
| accuracy | 0.0 | (*.f64 x x) | |
| accuracy | 61.815985798131415 | #s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (*.f64 x x)) |
| 21.0ms | 256× | 0 | valid |
Compiled 210 to 28 computations (86.7% saved)
ival-mult: 8.0ms (64.1% of total)ival-div: 2.0ms (16% of total)ival-sub: 1.0ms (8% of total)ival-add: 1.0ms (8% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (*.f64 x x)) |
(*.f64 x x) |
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) |
(*.f64 (*.f64 y #s(literal 4 binary64)) y) |
(*.f64 y #s(literal 4 binary64)) |
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y))) |
(-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) |
| Outputs |
|---|
-1 |
(- (* 1/2 (/ (pow x 2) (pow y 2))) 1) |
(- (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow y 4))) (* 1/2 (/ 1 (pow y 2))))) 1) |
(- (* (pow x 2) (+ (* (pow x 2) (- (* 1/32 (/ (pow x 2) (pow y 6))) (* 1/8 (/ 1 (pow y 4))))) (* 1/2 (/ 1 (pow y 2))))) 1) |
(pow x 2) |
(* -4 (pow y 2)) |
(- (pow x 2) (* 4 (pow y 2))) |
1 |
(- (+ 1 (* -4 (/ (pow y 2) (pow x 2)))) (* 4 (/ (pow y 2) (pow x 2)))) |
(- (+ 1 (+ (* -4 (/ (* (pow y 2) (- (* -4 (pow y 2)) (* 4 (pow y 2)))) (pow x 4))) (* -4 (/ (pow y 2) (pow x 2))))) (* 4 (/ (pow y 2) (pow x 2)))) |
(- (+ 1 (+ (* -4 (/ (pow y 2) (pow x 2))) (* 16 (/ (* (pow y 4) (- (* -4 (pow y 2)) (* 4 (pow y 2)))) (pow x 6))))) (+ (* 4 (/ (* (pow y 2) (- (* -4 (pow y 2)) (* 4 (pow y 2)))) (pow x 4))) (* 4 (/ (pow y 2) (pow x 2))))) |
(* (pow x 2) (+ 1 (* -4 (/ (pow y 2) (pow x 2))))) |
(+ 1 (* -8 (/ (pow y 2) (pow x 2)))) |
(+ 1 (* (pow y 2) (- (* 32 (/ (pow y 2) (pow x 4))) (* 8 (/ 1 (pow x 2)))))) |
(+ 1 (* (pow y 2) (- (* (pow y 2) (+ (* -128 (/ (pow y 2) (pow x 6))) (* 32 (/ 1 (pow x 4))))) (* 8 (/ 1 (pow x 2)))))) |
(* 4 (pow y 2)) |
(* 4 y) |
(+ (* -4 (pow y 2)) (pow x 2)) |
(- (* 1/4 (/ (pow x 2) (pow y 2))) (+ 1 (* -1/4 (/ (pow x 2) (pow y 2))))) |
(- (+ (* -1/4 (/ (* (pow x 2) (- (* 1/4 (pow x 2)) (* -1/4 (pow x 2)))) (pow y 4))) (* 1/4 (/ (pow x 2) (pow y 2)))) (+ 1 (* -1/4 (/ (pow x 2) (pow y 2))))) |
(- (+ (* 1/16 (/ (* (pow x 4) (- (* 1/4 (pow x 2)) (* -1/4 (pow x 2)))) (pow y 6))) (* 1/4 (/ (pow x 2) (pow y 2)))) (+ 1 (+ (* -1/4 (/ (pow x 2) (pow y 2))) (* 1/4 (/ (* (pow x 2) (- (* 1/4 (pow x 2)) (* -1/4 (pow x 2)))) (pow y 4)))))) |
(* (pow y 2) (- (/ (pow x 2) (pow y 2)) 4)) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | y | @ | -inf | ((/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (* x x) (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (* (* y 4) y) (* y 4) (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (- (* x x) (* (* y 4) y))) |
| 1.0ms | y | @ | inf | ((/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (* x x) (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (* (* y 4) y) (* y 4) (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (- (* x x) (* (* y 4) y))) |
| 1.0ms | y | @ | 0 | ((/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (* x x) (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (* (* y 4) y) (* y 4) (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (- (* x x) (* (* y 4) y))) |
| 1.0ms | x | @ | inf | ((/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (* x x) (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (* (* y 4) y) (* y 4) (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (- (* x x) (* (* y 4) y))) |
| 1.0ms | x | @ | -inf | ((/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (* x x) (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (* (* y 4) y) (* y 4) (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (- (* x x) (* (* y 4) y))) |
| 1× | egg-herbie |
| Inputs |
|---|
-1 |
(- (* 1/2 (/ (pow x 2) (pow y 2))) 1) |
(- (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow y 4))) (* 1/2 (/ 1 (pow y 2))))) 1) |
(- (* (pow x 2) (+ (* (pow x 2) (- (* 1/32 (/ (pow x 2) (pow y 6))) (* 1/8 (/ 1 (pow y 4))))) (* 1/2 (/ 1 (pow y 2))))) 1) |
(pow x 2) |
(* -4 (pow y 2)) |
(- (pow x 2) (* 4 (pow y 2))) |
1 |
(- (+ 1 (* -4 (/ (pow y 2) (pow x 2)))) (* 4 (/ (pow y 2) (pow x 2)))) |
(- (+ 1 (+ (* -4 (/ (* (pow y 2) (- (* -4 (pow y 2)) (* 4 (pow y 2)))) (pow x 4))) (* -4 (/ (pow y 2) (pow x 2))))) (* 4 (/ (pow y 2) (pow x 2)))) |
(- (+ 1 (+ (* -4 (/ (pow y 2) (pow x 2))) (* 16 (/ (* (pow y 4) (- (* -4 (pow y 2)) (* 4 (pow y 2)))) (pow x 6))))) (+ (* 4 (/ (* (pow y 2) (- (* -4 (pow y 2)) (* 4 (pow y 2)))) (pow x 4))) (* 4 (/ (pow y 2) (pow x 2))))) |
(* (pow x 2) (+ 1 (* -4 (/ (pow y 2) (pow x 2))))) |
(+ 1 (* -8 (/ (pow y 2) (pow x 2)))) |
(+ 1 (* (pow y 2) (- (* 32 (/ (pow y 2) (pow x 4))) (* 8 (/ 1 (pow x 2)))))) |
(+ 1 (* (pow y 2) (- (* (pow y 2) (+ (* -128 (/ (pow y 2) (pow x 6))) (* 32 (/ 1 (pow x 4))))) (* 8 (/ 1 (pow x 2)))))) |
(* 4 (pow y 2)) |
(* 4 y) |
(+ (* -4 (pow y 2)) (pow x 2)) |
(- (* 1/4 (/ (pow x 2) (pow y 2))) (+ 1 (* -1/4 (/ (pow x 2) (pow y 2))))) |
(- (+ (* -1/4 (/ (* (pow x 2) (- (* 1/4 (pow x 2)) (* -1/4 (pow x 2)))) (pow y 4))) (* 1/4 (/ (pow x 2) (pow y 2)))) (+ 1 (* -1/4 (/ (pow x 2) (pow y 2))))) |
(- (+ (* 1/16 (/ (* (pow x 4) (- (* 1/4 (pow x 2)) (* -1/4 (pow x 2)))) (pow y 6))) (* 1/4 (/ (pow x 2) (pow y 2)))) (+ 1 (+ (* -1/4 (/ (pow x 2) (pow y 2))) (* 1/4 (/ (* (pow x 2) (- (* 1/4 (pow x 2)) (* -1/4 (pow x 2)))) (pow y 4)))))) |
(* (pow y 2) (- (/ (pow x 2) (pow y 2)) 4)) |
| Outputs |
|---|
-1 |
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (*.f64 x x)) |
(- (* 1/2 (/ (pow x 2) (pow y 2))) 1) |
(*.f64 x x) |
(- (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow y 4))) (* 1/2 (/ 1 (pow y 2))))) 1) |
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) |
(- (* (pow x 2) (+ (* (pow x 2) (- (* 1/32 (/ (pow x 2) (pow y 6))) (* 1/8 (/ 1 (pow y 4))))) (* 1/2 (/ 1 (pow y 2))))) 1) |
(*.f64 (*.f64 y #s(literal 4 binary64)) y) |
(pow x 2) |
(*.f64 y #s(literal 4 binary64)) |
(* -4 (pow y 2)) |
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y))) |
(- (pow x 2) (* 4 (pow y 2))) |
(-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) |
| Inputs |
|---|
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (*.f64 x x)) |
(*.f64 x x) |
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) |
(*.f64 (*.f64 y #s(literal 4 binary64)) y) |
(*.f64 y #s(literal 4 binary64)) |
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y))) |
(-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) |
| Outputs |
|---|
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (*.f64 x x)) |
(*.f64 x x) |
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) |
(*.f64 (*.f64 y #s(literal 4 binary64)) y) |
(*.f64 y #s(literal 4 binary64)) |
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y))) |
(-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) |
Compiled 512 to 27 computations (94.7% saved)
6 alts after pruning (2 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 14 | 2 | 16 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 3 | 3 |
| Done | 0 | 1 | 1 |
| Total | 14 | 6 | 20 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 49.6% | (/.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) (+.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y))) |
| ✓ | 4.1% | #s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y))) |
| ▶ | 3.4% | #s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (-.f64 #s(approx (* x x) (*.f64 y #s(literal 4 binary64))) (*.f64 (*.f64 y #s(literal 4 binary64)) y))) |
| ✓ | 2.7% | #s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) |
| ✓ | 3.4% | #s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (*.f64 x x)) |
| ▶ | 3.3% | #s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(approx (* x x) (*.f64 y #s(literal 4 binary64)))) |
Compiled 156 to 76 computations (51.3% saved)
| 1× | egg-herbie |
Found 7 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 y #s(literal 4 binary64)) | |
| cost-diff | 0 | #s(approx (* x x) (*.f64 y #s(literal 4 binary64))) | |
| cost-diff | 0 | (-.f64 #s(approx (* x x) (*.f64 y #s(literal 4 binary64))) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) | |
| cost-diff | 0 | #s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (-.f64 #s(approx (* x x) (*.f64 y #s(literal 4 binary64))) (*.f64 (*.f64 y #s(literal 4 binary64)) y))) | |
| cost-diff | 0 | (*.f64 y #s(literal 4 binary64)) | |
| cost-diff | 0 | #s(approx (* x x) (*.f64 y #s(literal 4 binary64))) | |
| cost-diff | 0 | #s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(approx (* x x) (*.f64 y #s(literal 4 binary64)))) |
| Inputs |
|---|
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(approx (* x x) (*.f64 y #s(literal 4 binary64)))) |
#s(approx (* x x) (*.f64 y #s(literal 4 binary64))) |
(*.f64 y #s(literal 4 binary64)) |
y |
#s(literal 4 binary64) |
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (-.f64 #s(approx (* x x) (*.f64 y #s(literal 4 binary64))) (*.f64 (*.f64 y #s(literal 4 binary64)) y))) |
(-.f64 #s(approx (* x x) (*.f64 y #s(literal 4 binary64))) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) |
#s(approx (* x x) (*.f64 y #s(literal 4 binary64))) |
(*.f64 y #s(literal 4 binary64)) |
y |
#s(literal 4 binary64) |
(*.f64 (*.f64 y #s(literal 4 binary64)) y) |
| Outputs |
|---|
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(approx (* x x) (*.f64 y #s(literal 4 binary64)))) |
#s(approx (* x x) (*.f64 y #s(literal 4 binary64))) |
(*.f64 y #s(literal 4 binary64)) |
y |
#s(literal 4 binary64) |
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (-.f64 #s(approx (* x x) (*.f64 y #s(literal 4 binary64))) (*.f64 (*.f64 y #s(literal 4 binary64)) y))) |
(-.f64 #s(approx (* x x) (*.f64 y #s(literal 4 binary64))) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) |
#s(approx (* x x) (*.f64 y #s(literal 4 binary64))) |
(*.f64 y #s(literal 4 binary64)) |
y |
#s(literal 4 binary64) |
(*.f64 (*.f64 y #s(literal 4 binary64)) y) |
Found 7 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (*.f64 y #s(literal 4 binary64)) | |
| accuracy | 4.195295986641647 | (-.f64 #s(approx (* x x) (*.f64 y #s(literal 4 binary64))) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) | |
| accuracy | 61.208486713229085 | #s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (-.f64 #s(approx (* x x) (*.f64 y #s(literal 4 binary64))) (*.f64 (*.f64 y #s(literal 4 binary64)) y))) | |
| accuracy | 61.86722116127646 | #s(approx (* x x) (*.f64 y #s(literal 4 binary64))) | |
| accuracy | 0.0 | (*.f64 y #s(literal 4 binary64)) | |
| accuracy | 61.815985798131415 | #s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(approx (* x x) (*.f64 y #s(literal 4 binary64)))) | |
| accuracy | 61.86722116127646 | #s(approx (* x x) (*.f64 y #s(literal 4 binary64))) |
| 19.0ms | 256× | 0 | valid |
Compiled 172 to 27 computations (84.3% saved)
ival-mult: 8.0ms (68.8% of total)ival-sub: 1.0ms (8.6% of total)ival-div: 1.0ms (8.6% of total)ival-add: 1.0ms (8.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 (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(approx (* x x) (*.f64 y #s(literal 4 binary64)))) |
#s(approx (* x x) (*.f64 y #s(literal 4 binary64))) |
(*.f64 y #s(literal 4 binary64)) |
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (-.f64 #s(approx (* x x) (*.f64 y #s(literal 4 binary64))) (*.f64 (*.f64 y #s(literal 4 binary64)) y))) |
(-.f64 #s(approx (* x x) (*.f64 y #s(literal 4 binary64))) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) |
| Outputs |
|---|
-1 |
(- (* 1/2 (/ (pow x 2) (pow y 2))) 1) |
(- (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow y 4))) (* 1/2 (/ 1 (pow y 2))))) 1) |
(- (* (pow x 2) (+ (* (pow x 2) (- (* 1/32 (/ (pow x 2) (pow y 6))) (* 1/8 (/ 1 (pow y 4))))) (* 1/2 (/ 1 (pow y 2))))) 1) |
(pow x 2) |
(* -4 (pow y 2)) |
(- (pow x 2) (* 4 (pow y 2))) |
1 |
(- (+ 1 (* -4 (/ (pow y 2) (pow x 2)))) (* 4 (/ (pow y 2) (pow x 2)))) |
(- (+ 1 (+ (* -4 (/ (* (pow y 2) (- (* -4 (pow y 2)) (* 4 (pow y 2)))) (pow x 4))) (* -4 (/ (pow y 2) (pow x 2))))) (* 4 (/ (pow y 2) (pow x 2)))) |
(- (+ 1 (+ (* -4 (/ (pow y 2) (pow x 2))) (* 16 (/ (* (pow y 4) (- (* -4 (pow y 2)) (* 4 (pow y 2)))) (pow x 6))))) (+ (* 4 (/ (* (pow y 2) (- (* -4 (pow y 2)) (* 4 (pow y 2)))) (pow x 4))) (* 4 (/ (pow y 2) (pow x 2))))) |
(* (pow x 2) (+ 1 (* -4 (/ (pow y 2) (pow x 2))))) |
(+ 1 (* -8 (/ (pow y 2) (pow x 2)))) |
(+ 1 (* (pow y 2) (- (* 32 (/ (pow y 2) (pow x 4))) (* 8 (/ 1 (pow x 2)))))) |
(+ 1 (* (pow y 2) (- (* (pow y 2) (+ (* -128 (/ (pow y 2) (pow x 6))) (* 32 (/ 1 (pow x 4))))) (* 8 (/ 1 (pow x 2)))))) |
(* 4 y) |
(+ (* -4 (pow y 2)) (pow x 2)) |
(- (* 1/4 (/ (pow x 2) (pow y 2))) (+ 1 (* -1/4 (/ (pow x 2) (pow y 2))))) |
(- (+ (* -1/4 (/ (* (pow x 2) (- (* 1/4 (pow x 2)) (* -1/4 (pow x 2)))) (pow y 4))) (* 1/4 (/ (pow x 2) (pow y 2)))) (+ 1 (* -1/4 (/ (pow x 2) (pow y 2))))) |
(- (+ (* 1/16 (/ (* (pow x 4) (- (* 1/4 (pow x 2)) (* -1/4 (pow x 2)))) (pow y 6))) (* 1/4 (/ (pow x 2) (pow y 2)))) (+ 1 (+ (* -1/4 (/ (pow x 2) (pow y 2))) (* 1/4 (/ (* (pow x 2) (- (* 1/4 (pow x 2)) (* -1/4 (pow x 2)))) (pow y 4)))))) |
(* (pow y 2) (- (/ (pow x 2) (pow y 2)) 4)) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 3.0ms | y | @ | inf | ((/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (* x x) (* y 4) (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (- (* x x) (* (* y 4) y))) |
| 1.0ms | y | @ | -inf | ((/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (* x x) (* y 4) (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (- (* x x) (* (* y 4) y))) |
| 1.0ms | x | @ | -inf | ((/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (* x x) (* y 4) (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (- (* x x) (* (* y 4) y))) |
| 1.0ms | x | @ | inf | ((/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (* x x) (* y 4) (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (- (* x x) (* (* y 4) y))) |
| 0.0ms | x | @ | 0 | ((/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (* x x) (* y 4) (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (- (* x x) (* (* y 4) y))) |
| 1× | egg-herbie |
| Inputs |
|---|
-1 |
(- (* 1/2 (/ (pow x 2) (pow y 2))) 1) |
(- (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow y 4))) (* 1/2 (/ 1 (pow y 2))))) 1) |
(- (* (pow x 2) (+ (* (pow x 2) (- (* 1/32 (/ (pow x 2) (pow y 6))) (* 1/8 (/ 1 (pow y 4))))) (* 1/2 (/ 1 (pow y 2))))) 1) |
(pow x 2) |
(* -4 (pow y 2)) |
(- (pow x 2) (* 4 (pow y 2))) |
1 |
(- (+ 1 (* -4 (/ (pow y 2) (pow x 2)))) (* 4 (/ (pow y 2) (pow x 2)))) |
(- (+ 1 (+ (* -4 (/ (* (pow y 2) (- (* -4 (pow y 2)) (* 4 (pow y 2)))) (pow x 4))) (* -4 (/ (pow y 2) (pow x 2))))) (* 4 (/ (pow y 2) (pow x 2)))) |
(- (+ 1 (+ (* -4 (/ (pow y 2) (pow x 2))) (* 16 (/ (* (pow y 4) (- (* -4 (pow y 2)) (* 4 (pow y 2)))) (pow x 6))))) (+ (* 4 (/ (* (pow y 2) (- (* -4 (pow y 2)) (* 4 (pow y 2)))) (pow x 4))) (* 4 (/ (pow y 2) (pow x 2))))) |
(* (pow x 2) (+ 1 (* -4 (/ (pow y 2) (pow x 2))))) |
(+ 1 (* -8 (/ (pow y 2) (pow x 2)))) |
(+ 1 (* (pow y 2) (- (* 32 (/ (pow y 2) (pow x 4))) (* 8 (/ 1 (pow x 2)))))) |
(+ 1 (* (pow y 2) (- (* (pow y 2) (+ (* -128 (/ (pow y 2) (pow x 6))) (* 32 (/ 1 (pow x 4))))) (* 8 (/ 1 (pow x 2)))))) |
(* 4 y) |
(+ (* -4 (pow y 2)) (pow x 2)) |
(- (* 1/4 (/ (pow x 2) (pow y 2))) (+ 1 (* -1/4 (/ (pow x 2) (pow y 2))))) |
(- (+ (* -1/4 (/ (* (pow x 2) (- (* 1/4 (pow x 2)) (* -1/4 (pow x 2)))) (pow y 4))) (* 1/4 (/ (pow x 2) (pow y 2)))) (+ 1 (* -1/4 (/ (pow x 2) (pow y 2))))) |
(- (+ (* 1/16 (/ (* (pow x 4) (- (* 1/4 (pow x 2)) (* -1/4 (pow x 2)))) (pow y 6))) (* 1/4 (/ (pow x 2) (pow y 2)))) (+ 1 (+ (* -1/4 (/ (pow x 2) (pow y 2))) (* 1/4 (/ (* (pow x 2) (- (* 1/4 (pow x 2)) (* -1/4 (pow x 2)))) (pow y 4)))))) |
(* (pow y 2) (- (/ (pow x 2) (pow y 2)) 4)) |
| Outputs |
|---|
-1 |
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(approx (* x x) (*.f64 y #s(literal 4 binary64)))) |
(- (* 1/2 (/ (pow x 2) (pow y 2))) 1) |
#s(approx (* x x) (*.f64 y #s(literal 4 binary64))) |
(- (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow y 4))) (* 1/2 (/ 1 (pow y 2))))) 1) |
(*.f64 y #s(literal 4 binary64)) |
(- (* (pow x 2) (+ (* (pow x 2) (- (* 1/32 (/ (pow x 2) (pow y 6))) (* 1/8 (/ 1 (pow y 4))))) (* 1/2 (/ 1 (pow y 2))))) 1) |
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (-.f64 #s(approx (* x x) (*.f64 y #s(literal 4 binary64))) (*.f64 (*.f64 y #s(literal 4 binary64)) y))) |
(pow x 2) |
(-.f64 #s(approx (* x x) (*.f64 y #s(literal 4 binary64))) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) |
| Inputs |
|---|
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(approx (* x x) (*.f64 y #s(literal 4 binary64)))) |
#s(approx (* x x) (*.f64 y #s(literal 4 binary64))) |
(*.f64 y #s(literal 4 binary64)) |
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (-.f64 #s(approx (* x x) (*.f64 y #s(literal 4 binary64))) (*.f64 (*.f64 y #s(literal 4 binary64)) y))) |
(-.f64 #s(approx (* x x) (*.f64 y #s(literal 4 binary64))) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) |
| Outputs |
|---|
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(approx (* x x) (*.f64 y #s(literal 4 binary64)))) |
#s(approx (* x x) (*.f64 y #s(literal 4 binary64))) |
(*.f64 y #s(literal 4 binary64)) |
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (-.f64 #s(approx (* x x) (*.f64 y #s(literal 4 binary64))) (*.f64 (*.f64 y #s(literal 4 binary64)) y))) |
(-.f64 #s(approx (* x x) (*.f64 y #s(literal 4 binary64))) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) |
Compiled 449 to 23 computations (94.9% saved)
6 alts after pruning (0 fresh and 6 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 13 | 0 | 13 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 2 | 2 |
| Done | 0 | 4 | 4 |
| Total | 13 | 6 | 19 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 49.6% | (/.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) (+.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y))) |
| ✓ | 4.1% | #s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y))) |
| ✓ | 3.4% | #s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (-.f64 #s(approx (* x x) (*.f64 y #s(literal 4 binary64))) (*.f64 (*.f64 y #s(literal 4 binary64)) y))) |
| ✓ | 2.7% | #s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) |
| ✓ | 3.4% | #s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (*.f64 x x)) |
| ✓ | 3.3% | #s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(approx (* x x) (*.f64 y #s(literal 4 binary64)))) |
Compiled 312 to 99 computations (68.3% saved)
| Inputs |
|---|
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(approx (* x x) (*.f64 y #s(literal 4 binary64)))) |
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (*.f64 x x)) |
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) |
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (-.f64 #s(approx (* x x) (*.f64 y #s(literal 4 binary64))) (*.f64 (*.f64 y #s(literal 4 binary64)) y))) |
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y))) |
(/.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) (+.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y))) |
| Outputs |
|---|
(/.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) (+.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y))) |
5 calls:
| 4.0ms | x |
| 3.0ms | y |
| 2.0ms | (*.f64 (*.f64 y #s(literal 4 binary64)) y) |
| 2.0ms | (*.f64 x x) |
| 2.0ms | (/.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) (+.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 49.6% | 1 | x |
| 49.6% | 1 | y |
| 49.6% | 1 | (/.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) (+.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y))) |
| 49.6% | 1 | (*.f64 x x) |
| 49.6% | 1 | (*.f64 (*.f64 y #s(literal 4 binary64)) y) |
Compiled 29 to 21 computations (27.6% saved)
| Inputs |
|---|
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(approx (* x x) (*.f64 y #s(literal 4 binary64)))) |
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (*.f64 x x)) |
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) |
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (-.f64 #s(approx (* x x) (*.f64 y #s(literal 4 binary64))) (*.f64 (*.f64 y #s(literal 4 binary64)) y))) |
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y))) |
| Outputs |
|---|
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y))) |
5 calls:
| 2.0ms | x |
| 2.0ms | y |
| 2.0ms | (*.f64 (*.f64 y #s(literal 4 binary64)) y) |
| 2.0ms | (*.f64 x x) |
| 2.0ms | (/.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) (+.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 4.1% | 1 | x |
| 4.1% | 1 | y |
| 4.1% | 1 | (/.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) (+.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y))) |
| 4.1% | 1 | (*.f64 x x) |
| 4.1% | 1 | (*.f64 (*.f64 y #s(literal 4 binary64)) y) |
Compiled 29 to 21 computations (27.6% saved)
| Inputs |
|---|
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(approx (* x x) (*.f64 y #s(literal 4 binary64)))) |
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (*.f64 x x)) |
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) |
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (-.f64 #s(approx (* x x) (*.f64 y #s(literal 4 binary64))) (*.f64 (*.f64 y #s(literal 4 binary64)) y))) |
| Outputs |
|---|
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (*.f64 x x)) |
5 calls:
| 6.0ms | (/.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) (+.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y))) |
| 2.0ms | x |
| 2.0ms | y |
| 2.0ms | (*.f64 (*.f64 y #s(literal 4 binary64)) y) |
| 2.0ms | (*.f64 x x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 3.4% | 1 | x |
| 3.4% | 1 | (*.f64 (*.f64 y #s(literal 4 binary64)) y) |
| 3.4% | 1 | y |
| 3.4% | 1 | (/.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) (+.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y))) |
| 3.4% | 1 | (*.f64 x x) |
Compiled 29 to 21 computations (27.6% saved)
Total -0.0b remaining (-0%)
Threshold costs -0b (-0%)
| Inputs |
|---|
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(approx (* x x) (*.f64 y #s(literal 4 binary64)))) |
| Outputs |
|---|
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(approx (* x x) (*.f64 y #s(literal 4 binary64)))) |
5 calls:
| 5.0ms | x |
| 1.0ms | y |
| 1.0ms | (*.f64 (*.f64 y #s(literal 4 binary64)) y) |
| 1.0ms | (*.f64 x x) |
| 1.0ms | (/.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) (+.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 3.3% | 1 | (*.f64 x x) |
| 3.3% | 1 | (/.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) (+.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y))) |
| 3.3% | 1 | x |
| 3.3% | 1 | (*.f64 (*.f64 y #s(literal 4 binary64)) y) |
| 3.3% | 1 | y |
Compiled 29 to 21 computations (27.6% saved)
| 1× | egg-herbie |
| Inputs |
|---|
(/.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) (+.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y))) |
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y))) |
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (*.f64 x x)) |
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(approx (* x x) (*.f64 y #s(literal 4 binary64)))) |
| Outputs |
|---|
(/.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y)) (+.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y))) |
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (-.f64 (*.f64 x x) (*.f64 (*.f64 y #s(literal 4 binary64)) y))) |
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) (*.f64 x x)) |
#s(approx (/ (- (* x x) (* (* y 4) y)) (+ (* x x) (* (* y 4) y))) #s(approx (* x x) (*.f64 y #s(literal 4 binary64)))) |
| 1× | done |
Compiled 98 to 20 computations (79.6% saved)
Compiled 396 to 104 computations (73.7% saved)
Loading profile data...