
Time bar (total: 3.7s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 0 |
| 100% | 99.9% | 0% | 0.1% | 0% | 0% | 0% | 1 |
Compiled 11 to 9 computations (18.2% saved)
| 601.0ms | 8 256× | 0 | valid |
ival-mult: 266.0ms (77.6% of total)ival-add: 61.0ms (17.8% of total)ival-true: 5.0ms (1.5% of total)exact: 5.0ms (1.5% of total)adjust: 3.0ms (0.9% of total)ival-assert: 3.0ms (0.9% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 9 | 0 | - | 0 | - | (+.f64 (*.f64 x x) (*.f64 x y)) |
| 0 | 0 | - | 0 | - | #s(literal 2 binary64) |
| 0 | 0 | - | 0 | - | y |
| 0 | 0 | - | 0 | - | (*.f64 #s(literal 2 binary64) (+.f64 (*.f64 x x) (*.f64 x y))) |
| 0 | 0 | - | 0 | - | (*.f64 x x) |
| 0 | 0 | - | 0 | - | (*.f64 x y) |
| 0 | 0 | - | 0 | - | x |
| Operator | Subexpression | Explanation | Count | |
|---|---|---|---|---|
+.f64 | (+.f64 (*.f64 x x) (*.f64 x y)) | nan-rescue | 9 | 0 |
| ↳ | (*.f64 x x) | overflow | 56 | |
| ↳ | (*.f64 x y) | overflow | 28 |
| Predicted + | Predicted - | |
|---|---|---|
| + | 9 | 0 |
| - | 0 | 247 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 9 | 0 | 0 |
| - | 0 | 0 | 247 |
| number | freq |
|---|---|
| 0 | 247 |
| 1 | 9 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 1 | 0 | 0 |
| - | 0 | 0 | 0 |
| 38.0ms | 512× | 0 | valid |
Compiled 63 to 25 computations (60.3% saved)
ival-mult: 21.0ms (86.8% of total)ival-add: 2.0ms (8.3% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 19 | 39 |
| 1 | 83 | 35 |
| 2 | 340 | 35 |
| 3 | 1301 | 35 |
| 4 | 5913 | 35 |
| 0 | 7 | 9 |
| 0 | 11 | 7 |
| 1 | 31 | 7 |
| 2 | 127 | 7 |
| 3 | 529 | 7 |
| 4 | 2020 | 7 |
| 5 | 5331 | 7 |
| 0 | 8021 | 7 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(*.f64 #s(literal 2 binary64) (+.f64 (*.f64 x x) (*.f64 x y))) |
| Outputs |
|---|
(*.f64 #s(literal 2 binary64) (+.f64 (*.f64 x x) (*.f64 x y))) |
(*.f64 (*.f64 x #s(literal 2 binary64)) (+.f64 y x)) |
Compiled 9 to 7 computations (22.2% saved)
Compiled 0 to 2 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 96.5% | (*.f64 #s(literal 2 binary64) (+.f64 (*.f64 x x) (*.f64 x y))) |
Compiled 9 to 7 computations (22.2% saved)
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 x y) | |
| cost-diff | 0 | (*.f64 x x) | |
| cost-diff | 0 | (*.f64 #s(literal 2 binary64) (+.f64 (*.f64 x x) (*.f64 x y))) | |
| cost-diff | 2 | (+.f64 (*.f64 x x) (*.f64 x y)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 25 |
| 0 | 11 | 21 |
| 1 | 31 | 21 |
| 2 | 127 | 21 |
| 3 | 529 | 21 |
| 4 | 2020 | 21 |
| 5 | 5331 | 21 |
| 0 | 8021 | 21 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(*.f64 #s(literal 2 binary64) (+.f64 (*.f64 x x) (*.f64 x y))) |
#s(literal 2 binary64) |
(+.f64 (*.f64 x x) (*.f64 x y)) |
(*.f64 x x) |
x |
(*.f64 x y) |
y |
| Outputs |
|---|
(*.f64 #s(literal 2 binary64) (+.f64 (*.f64 x x) (*.f64 x y))) |
(*.f64 (*.f64 x #s(literal 2 binary64)) (+.f64 y x)) |
#s(literal 2 binary64) |
(+.f64 (*.f64 x x) (*.f64 x y)) |
(*.f64 (+.f64 y x) x) |
(*.f64 x x) |
x |
(*.f64 x y) |
(*.f64 y x) |
y |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (*.f64 x y) | |
| accuracy | 0.0 | (*.f64 x x) | |
| accuracy | 0.0078125 | (*.f64 #s(literal 2 binary64) (+.f64 (*.f64 x x) (*.f64 x y))) | |
| accuracy | 1.9062458716604116 | (+.f64 (*.f64 x x) (*.f64 x y)) |
| 13.0ms | 256× | 0 | valid |
Compiled 27 to 9 computations (66.7% saved)
ival-mult: 5.0ms (79.4% of total)ival-add: 1.0ms (15.9% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
(+.f64 (*.f64 x x) (*.f64 x y)) |
(*.f64 #s(literal 2 binary64) (+.f64 (*.f64 x x) (*.f64 x y))) |
(*.f64 x x) |
(*.f64 x y) |
| Outputs |
|---|
(* x y) |
(* x (+ x y)) |
(* 2 (* x y)) |
(* x (+ (* 2 x) (* 2 y))) |
(pow x 2) |
(* (pow x 2) (+ 1 (/ y x))) |
(* 2 (pow x 2)) |
(* (pow x 2) (+ 2 (* 2 (/ y x)))) |
(+ (* x y) (pow x 2)) |
(+ (* 2 (* x y)) (* 2 (pow x 2))) |
(* y (+ x (/ (pow x 2) y))) |
(* y (+ (* 2 x) (* 2 (/ (pow x 2) y)))) |
(* -1 (* y (+ (* -1 x) (* -1 (/ (pow x 2) y))))) |
(* -1 (* y (+ (* -2 x) (* -2 (/ (pow x 2) y))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | ((+ (* x x) (* x y)) (* 2 (+ (* x x) (* x y))) (* x x) (* x y)) |
| 1.0ms | y | @ | inf | ((+ (* x x) (* x y)) (* 2 (+ (* x x) (* x y))) (* x x) (* x y)) |
| 1.0ms | x | @ | 0 | ((+ (* x x) (* x y)) (* 2 (+ (* x x) (* x y))) (* x x) (* x y)) |
| 1.0ms | x | @ | -inf | ((+ (* x x) (* x y)) (* 2 (+ (* x x) (* x y))) (* x x) (* x y)) |
| 1.0ms | y | @ | -inf | ((+ (* x x) (* x y)) (* 2 (+ (* x x) (* x y))) (* x x) (* x y)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 40 | 84 |
| 1 | 153 | 84 |
| 2 | 562 | 84 |
| 3 | 1890 | 84 |
| 4 | 7232 | 84 |
| 0 | 8404 | 82 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(* x y) |
(* x (+ x y)) |
(* 2 (* x y)) |
(* x (+ (* 2 x) (* 2 y))) |
(pow x 2) |
(* (pow x 2) (+ 1 (/ y x))) |
(* 2 (pow x 2)) |
(* (pow x 2) (+ 2 (* 2 (/ y x)))) |
(+ (* x y) (pow x 2)) |
(+ (* 2 (* x y)) (* 2 (pow x 2))) |
(* y (+ x (/ (pow x 2) y))) |
(* y (+ (* 2 x) (* 2 (/ (pow x 2) y)))) |
(* -1 (* y (+ (* -1 x) (* -1 (/ (pow x 2) y))))) |
(* -1 (* y (+ (* -2 x) (* -2 (/ (pow x 2) y))))) |
| Outputs |
|---|
(* x y) |
(*.f64 y x) |
(* x (+ x y)) |
(*.f64 (+.f64 y x) x) |
(* 2 (* x y)) |
(*.f64 #s(literal 2 binary64) (*.f64 y x)) |
(* x (+ (* 2 x) (* 2 y))) |
(*.f64 (*.f64 (+.f64 y x) x) #s(literal 2 binary64)) |
(pow x 2) |
(*.f64 x x) |
(* (pow x 2) (+ 1 (/ y x))) |
(*.f64 (fma.f64 (/.f64 y x) x x) x) |
(* 2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(* (pow x 2) (+ 2 (* 2 (/ y x)))) |
(*.f64 (*.f64 (fma.f64 (/.f64 y x) x x) x) #s(literal 2 binary64)) |
(+ (* x y) (pow x 2)) |
(*.f64 (+.f64 y x) x) |
(+ (* 2 (* x y)) (* 2 (pow x 2))) |
(*.f64 (*.f64 (+.f64 y x) x) #s(literal 2 binary64)) |
(* y (+ x (/ (pow x 2) y))) |
(*.f64 (+.f64 y x) x) |
(* y (+ (* 2 x) (* 2 (/ (pow x 2) y)))) |
(*.f64 (*.f64 (+.f64 y x) x) #s(literal 2 binary64)) |
(* -1 (* y (+ (* -1 x) (* -1 (/ (pow x 2) y))))) |
(*.f64 (+.f64 y x) x) |
(* -1 (* y (+ (* -2 x) (* -2 (/ (pow x 2) y))))) |
(*.f64 (*.f64 (+.f64 y x) x) #s(literal 2 binary64)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 22 |
| 0 | 11 | 18 |
| 1 | 45 | 18 |
| 0 | 407 | 18 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
(+.f64 (*.f64 x x) (*.f64 x y)) |
(*.f64 #s(literal 2 binary64) (+.f64 (*.f64 x x) (*.f64 x y))) |
(*.f64 x x) |
(*.f64 x y) |
| Outputs |
|---|
(*.f64 (+.f64 y x) x) |
(*.f64 (neg.f64 x) (-.f64 (neg.f64 x) y)) |
(*.f64 x (+.f64 y x)) |
(/.f64 (-.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (pow.f64 x #s(literal 4 binary64))) (-.f64 (*.f64 y x) (*.f64 x x))) |
(/.f64 (-.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 (*.f64 (neg.f64 x) y) #s(literal 3 binary64))) (+.f64 (pow.f64 x #s(literal 4 binary64)) (+.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (*.f64 (*.f64 x x) (*.f64 (neg.f64 x) y))))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64)))) (neg.f64 (*.f64 x (-.f64 x y)))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64)))) (neg.f64 (fma.f64 (*.f64 y x) (-.f64 (*.f64 y x) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))))) |
(/.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))) (*.f64 x (-.f64 x y))) |
(/.f64 (+.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64))) (+.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (-.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 (*.f64 (*.f64 x x) y) x)))) |
(/.f64 (+.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64))) (fma.f64 (*.f64 y x) (-.f64 (*.f64 y x) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))) |
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) (*.f64 (neg.f64 (neg.f64 x)) y)) |
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) (*.f64 y x)) |
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) (*.f64 (neg.f64 (neg.f64 x)) y)) |
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) (*.f64 y x)) |
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) (*.f64 (neg.f64 (neg.f64 x)) y)) |
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) (*.f64 y x)) |
(fma.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)) (*.f64 (neg.f64 (neg.f64 x)) y)) |
(fma.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)) (*.f64 y x)) |
(fma.f64 (pow.f64 x #s(literal 1 binary64)) x (*.f64 (neg.f64 (neg.f64 x)) y)) |
(fma.f64 (pow.f64 x #s(literal 1 binary64)) x (*.f64 y x)) |
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 (neg.f64 (neg.f64 x)) y)) |
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 y x)) |
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 (neg.f64 (neg.f64 x)) y)) |
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 y x)) |
(fma.f64 y x (*.f64 x x)) |
(fma.f64 x y (*.f64 x x)) |
(fma.f64 x x (*.f64 (neg.f64 (neg.f64 x)) y)) |
(fma.f64 x x (*.f64 y x)) |
(-.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 x (-.f64 x y))) (/.f64 (pow.f64 (*.f64 y x) #s(literal 2 binary64)) (*.f64 x (-.f64 x y)))) |
(-.f64 (*.f64 y x) (*.f64 (neg.f64 (neg.f64 x)) (neg.f64 x))) |
(-.f64 (*.f64 y x) (*.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 x))) |
(-.f64 (*.f64 y x) (*.f64 (neg.f64 x) x)) |
(-.f64 (*.f64 y x) (*.f64 x (neg.f64 x))) |
(-.f64 (*.f64 x x) (*.f64 (neg.f64 y) x)) |
(-.f64 (*.f64 x x) (*.f64 (neg.f64 x) y)) |
(+.f64 (/.f64 (pow.f64 x #s(literal 6 binary64)) (fma.f64 (*.f64 y x) (-.f64 (*.f64 y x) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))) (/.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (fma.f64 (*.f64 y x) (-.f64 (*.f64 y x) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))))) |
(+.f64 (*.f64 y x) (*.f64 x x)) |
(+.f64 (*.f64 x x) (*.f64 (neg.f64 (neg.f64 x)) y)) |
(+.f64 (*.f64 x x) (*.f64 y x)) |
(*.f64 (*.f64 #s(literal 2 binary64) x) (+.f64 y x)) |
(*.f64 (+.f64 y x) (+.f64 x x)) |
(*.f64 #s(literal 2 binary64) (*.f64 (+.f64 y x) x)) |
(*.f64 (*.f64 (+.f64 y x) x) #s(literal 2 binary64)) |
(*.f64 x (*.f64 (+.f64 y x) #s(literal 2 binary64))) |
(*.f64 x (+.f64 (+.f64 y x) (+.f64 y x))) |
(/.f64 (*.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))) #s(literal 2 binary64)) (*.f64 x (-.f64 x y))) |
(/.f64 (*.f64 (+.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64))) #s(literal 2 binary64)) (fma.f64 (*.f64 y x) (-.f64 (*.f64 y x) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))) |
(/.f64 (*.f64 #s(literal 2 binary64) (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64)))) (*.f64 x (-.f64 x y))) |
(/.f64 (*.f64 #s(literal 2 binary64) (+.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64)))) (fma.f64 (*.f64 y x) (-.f64 (*.f64 y x) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))) |
(/.f64 (-.f64 (*.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)) (*.f64 #s(literal 2 binary64) (*.f64 x x))) (*.f64 (*.f64 #s(literal 2 binary64) (*.f64 y x)) (*.f64 #s(literal 2 binary64) (*.f64 y x)))) (-.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)) (*.f64 #s(literal 2 binary64) (*.f64 y x)))) |
(/.f64 (+.f64 (pow.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 3 binary64)) (pow.f64 (*.f64 #s(literal 2 binary64) (*.f64 y x)) #s(literal 3 binary64))) (fma.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)) (*.f64 #s(literal 2 binary64) (*.f64 x x)) (-.f64 (*.f64 (*.f64 #s(literal 2 binary64) (*.f64 y x)) (*.f64 #s(literal 2 binary64) (*.f64 y x))) (*.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)) (*.f64 #s(literal 2 binary64) (*.f64 y x)))))) |
(/.f64 (-.f64 (*.f64 (*.f64 (+.f64 y x) x) (*.f64 (+.f64 y x) x)) (*.f64 (*.f64 (+.f64 y x) x) (*.f64 (+.f64 y x) x))) (-.f64 (*.f64 (+.f64 y x) x) (*.f64 (+.f64 y x) x))) |
(/.f64 (+.f64 (pow.f64 (*.f64 (+.f64 y x) x) #s(literal 3 binary64)) (pow.f64 (*.f64 (+.f64 y x) x) #s(literal 3 binary64))) (fma.f64 (*.f64 (+.f64 y x) x) (*.f64 (+.f64 y x) x) (-.f64 (*.f64 (*.f64 (+.f64 y x) x) (*.f64 (+.f64 y x) x)) (*.f64 (*.f64 (+.f64 y x) x) (*.f64 (+.f64 y x) x))))) |
(/.f64 (+.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))) (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64)))) (*.f64 x (-.f64 x y))) |
(/.f64 (+.f64 (+.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64))) (+.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64)))) (fma.f64 (*.f64 y x) (-.f64 (*.f64 y x) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))) |
(/.f64 (fma.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))) (*.f64 x (-.f64 x y)) (*.f64 (*.f64 x (-.f64 x y)) (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))))) (*.f64 (*.f64 x (-.f64 x y)) (*.f64 x (-.f64 x y)))) |
(/.f64 (fma.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))) (fma.f64 (*.f64 y x) (-.f64 (*.f64 y x) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))) (*.f64 (*.f64 x (-.f64 x y)) (+.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64))))) (*.f64 (*.f64 x (-.f64 x y)) (fma.f64 (*.f64 y x) (-.f64 (*.f64 y x) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))))) |
(/.f64 (fma.f64 (+.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64))) (*.f64 x (-.f64 x y)) (*.f64 (fma.f64 (*.f64 y x) (-.f64 (*.f64 y x) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))) (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))))) (*.f64 (fma.f64 (*.f64 y x) (-.f64 (*.f64 y x) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))) (*.f64 x (-.f64 x y)))) |
(/.f64 (fma.f64 (+.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64))) (fma.f64 (*.f64 y x) (-.f64 (*.f64 y x) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))) (*.f64 (fma.f64 (*.f64 y x) (-.f64 (*.f64 y x) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))) (+.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64))))) (*.f64 (fma.f64 (*.f64 y x) (-.f64 (*.f64 y x) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))) (fma.f64 (*.f64 y x) (-.f64 (*.f64 y x) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))))) |
(fma.f64 (*.f64 #s(literal 2 binary64) y) x (*.f64 #s(literal 2 binary64) (*.f64 x x))) |
(fma.f64 (*.f64 #s(literal 2 binary64) (neg.f64 x)) (neg.f64 x) (*.f64 #s(literal 2 binary64) (*.f64 y x))) |
(fma.f64 (*.f64 #s(literal 2 binary64) (fabs.f64 x)) (fabs.f64 x) (*.f64 #s(literal 2 binary64) (*.f64 y x))) |
(fma.f64 (*.f64 #s(literal 2 binary64) x) y (*.f64 #s(literal 2 binary64) (*.f64 x x))) |
(fma.f64 (*.f64 #s(literal 2 binary64) x) x (*.f64 #s(literal 2 binary64) (*.f64 y x))) |
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) (fma.f64 y x (*.f64 (+.f64 y x) x))) |
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) (fma.f64 y x (*.f64 (+.f64 y x) x))) |
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) (fma.f64 y x (*.f64 (+.f64 y x) x))) |
(fma.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)) (fma.f64 y x (*.f64 (+.f64 y x) x))) |
(fma.f64 (pow.f64 x #s(literal 1 binary64)) x (fma.f64 y x (*.f64 (+.f64 y x) x))) |
(fma.f64 #s(literal 1 binary64) (*.f64 (+.f64 y x) x) (*.f64 #s(literal 1 binary64) (*.f64 (+.f64 y x) x))) |
(fma.f64 (+.f64 y x) x (*.f64 (+.f64 y x) x)) |
(fma.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal 2 binary64)) (*.f64 #s(literal 2 binary64) (*.f64 y x))) |
(fma.f64 (neg.f64 x) (-.f64 (neg.f64 x) y) (*.f64 (+.f64 y x) x)) |
(fma.f64 (neg.f64 x) (neg.f64 x) (fma.f64 y x (*.f64 (+.f64 y x) x))) |
(fma.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) #s(literal 2 binary64)) (*.f64 #s(literal 2 binary64) (*.f64 y x))) |
(fma.f64 (fabs.f64 x) (fabs.f64 x) (fma.f64 y x (*.f64 (+.f64 y x) x))) |
(fma.f64 #s(literal 2 binary64) (*.f64 y x) (*.f64 #s(literal 2 binary64) (*.f64 x x))) |
(fma.f64 #s(literal 2 binary64) (*.f64 x x) (*.f64 #s(literal 2 binary64) (*.f64 y x))) |
(fma.f64 (*.f64 (+.f64 y x) x) #s(literal 1 binary64) (*.f64 (*.f64 (+.f64 y x) x) #s(literal 1 binary64))) |
(fma.f64 (*.f64 y x) #s(literal 2 binary64) (*.f64 #s(literal 2 binary64) (*.f64 x x))) |
(fma.f64 y (*.f64 x #s(literal 2 binary64)) (*.f64 #s(literal 2 binary64) (*.f64 x x))) |
(fma.f64 y x (fma.f64 x x (*.f64 (+.f64 y x) x))) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) (*.f64 #s(literal 2 binary64) (*.f64 y x))) |
(fma.f64 x (*.f64 y #s(literal 2 binary64)) (*.f64 #s(literal 2 binary64) (*.f64 x x))) |
(fma.f64 x (*.f64 x #s(literal 2 binary64)) (*.f64 #s(literal 2 binary64) (*.f64 y x))) |
(fma.f64 x (+.f64 y x) (*.f64 (+.f64 y x) x)) |
(fma.f64 x y (fma.f64 x x (*.f64 (+.f64 y x) x))) |
(fma.f64 x x (fma.f64 y x (*.f64 (+.f64 y x) x))) |
(-.f64 (fma.f64 (+.f64 y x) x (*.f64 x x)) (*.f64 (neg.f64 x) y)) |
(-.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)) (*.f64 (*.f64 (neg.f64 x) y) #s(literal 2 binary64))) |
(-.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)) (*.f64 #s(literal -2 binary64) (*.f64 y x))) |
(-.f64 (*.f64 (+.f64 y x) x) (*.f64 (neg.f64 x) (+.f64 y x))) |
(-.f64 (*.f64 x x) (-.f64 (*.f64 (neg.f64 x) y) (*.f64 (+.f64 y x) x))) |
(+.f64 (fma.f64 (+.f64 y x) x (*.f64 y x)) (*.f64 x x)) |
(+.f64 (fma.f64 (+.f64 y x) x (*.f64 x x)) (*.f64 y x)) |
(+.f64 (*.f64 #s(literal 1 binary64) (*.f64 (+.f64 y x) x)) (*.f64 #s(literal 1 binary64) (*.f64 (+.f64 y x) x))) |
(+.f64 (*.f64 (*.f64 (+.f64 y x) x) #s(literal 1 binary64)) (*.f64 (*.f64 (+.f64 y x) x) #s(literal 1 binary64))) |
(+.f64 (*.f64 #s(literal 2 binary64) (*.f64 y x)) (*.f64 #s(literal 2 binary64) (*.f64 x x))) |
(+.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)) (*.f64 #s(literal 2 binary64) (*.f64 y x))) |
(+.f64 (*.f64 (+.f64 y x) x) (*.f64 (+.f64 y x) x)) |
(+.f64 (*.f64 y x) (fma.f64 x x (*.f64 (+.f64 y x) x))) |
(+.f64 (*.f64 x x) (fma.f64 y x (*.f64 (+.f64 y x) x))) |
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x))) |
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x))) |
(*.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x))) |
(*.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64))) |
(*.f64 (pow.f64 x #s(literal 1 binary64)) x) |
(*.f64 (neg.f64 x) (neg.f64 x)) |
(*.f64 (fabs.f64 x) (fabs.f64 x)) |
(*.f64 x x) |
(pow.f64 (neg.f64 x) #s(literal 2 binary64)) |
(pow.f64 (fabs.f64 x) #s(literal 2 binary64)) |
(pow.f64 x #s(literal 2 binary64)) |
(neg.f64 (*.f64 (neg.f64 x) x)) |
(neg.f64 (*.f64 x (neg.f64 x))) |
(fabs.f64 (*.f64 x x)) |
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) |
(*.f64 y x) |
(*.f64 x y) |
Compiled 1 975 to 321 computations (83.7% saved)
3 alts after pruning (3 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 124 | 3 | 127 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 125 | 3 | 128 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (*.f64 (+.f64 y x) (+.f64 x x)) |
| ▶ | 55.8% | (*.f64 #s(literal 2 binary64) #s(approx (+ (* x x) (* x y)) (*.f64 y x))) |
| ▶ | 62.4% | #s(approx (* 2 (+ (* x x) (* x y))) (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
Compiled 35 to 25 computations (28.6% saved)
Found 9 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (+.f64 x x) | |
| cost-diff | 0 | (+.f64 y x) | |
| cost-diff | 0 | (*.f64 (+.f64 y x) (+.f64 x x)) | |
| cost-diff | 0 | (*.f64 y x) | |
| cost-diff | 0 | #s(approx (+ (* x x) (* x y)) (*.f64 y x)) | |
| cost-diff | 0 | (*.f64 #s(literal 2 binary64) #s(approx (+ (* x x) (* x y)) (*.f64 y x))) | |
| cost-diff | 0 | (*.f64 x x) | |
| cost-diff | 0 | (*.f64 (*.f64 x x) #s(literal 2 binary64)) | |
| cost-diff | 0 | #s(approx (* 2 (+ (* x x) (* x y))) (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 16 | 70 |
| 0 | 23 | 64 |
| 1 | 53 | 64 |
| 2 | 161 | 64 |
| 3 | 583 | 64 |
| 4 | 1769 | 64 |
| 5 | 5217 | 64 |
| 0 | 8045 | 64 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (* 2 (+ (* x x) (* x y))) (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 x x) |
x |
#s(literal 2 binary64) |
(*.f64 #s(literal 2 binary64) #s(approx (+ (* x x) (* x y)) (*.f64 y x))) |
#s(literal 2 binary64) |
#s(approx (+ (* x x) (* x y)) (*.f64 y x)) |
(*.f64 y x) |
y |
x |
(*.f64 (+.f64 y x) (+.f64 x x)) |
(+.f64 y x) |
y |
x |
(+.f64 x x) |
| Outputs |
|---|
#s(approx (* 2 (+ (* x x) (* x y))) (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 x x) |
x |
#s(literal 2 binary64) |
(*.f64 #s(literal 2 binary64) #s(approx (+ (* x x) (* x y)) (*.f64 y x))) |
(*.f64 #s(approx (+ (* x x) (* x y)) (*.f64 y x)) #s(literal 2 binary64)) |
#s(literal 2 binary64) |
#s(approx (+ (* x x) (* x y)) (*.f64 y x)) |
(*.f64 y x) |
y |
x |
(*.f64 (+.f64 y x) (+.f64 x x)) |
(*.f64 (*.f64 (+.f64 y x) #s(literal 2 binary64)) x) |
(+.f64 y x) |
y |
x |
(+.f64 x x) |
(*.f64 x #s(literal 2 binary64)) |
Found 9 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (+.f64 y x) | |
| accuracy | 0.0 | (+.f64 x x) | |
| accuracy | 0.0 | (*.f64 (+.f64 y x) (+.f64 x x)) | |
| accuracy | 0.0 | (*.f64 y x) | |
| accuracy | 0.0078125 | (*.f64 #s(literal 2 binary64) #s(approx (+ (* x x) (* x y)) (*.f64 y x))) | |
| accuracy | 28.272452739148406 | #s(approx (+ (* x x) (* x y)) (*.f64 y x)) | |
| accuracy | 0.0 | (*.f64 x x) | |
| accuracy | 0.01171875 | (*.f64 (*.f64 x x) #s(literal 2 binary64)) | |
| accuracy | 24.070222585622233 | #s(approx (* 2 (+ (* x x) (* x y))) (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
| 27.0ms | 256× | 0 | valid |
Compiled 58 to 14 computations (75.9% saved)
ival-mult: 10.0ms (71.4% of total)ival-add: 3.0ms (21.4% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(approx (* 2 (+ (* x x) (* x y))) (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 x x) |
(*.f64 #s(literal 2 binary64) #s(approx (+ (* x x) (* x y)) (*.f64 y x))) |
#s(approx (+ (* x x) (* x y)) (*.f64 y x)) |
(*.f64 y x) |
(*.f64 (+.f64 y x) (+.f64 x x)) |
(+.f64 y x) |
(+.f64 x x) |
| Outputs |
|---|
(* 2 (* x y)) |
(* x (+ (* 2 x) (* 2 y))) |
(* 2 (pow x 2)) |
(pow x 2) |
(* x y) |
(* x (+ x y)) |
y |
(+ x y) |
(* 2 x) |
(* (pow x 2) (+ 2 (* 2 (/ y x)))) |
(* (pow x 2) (+ 1 (/ y x))) |
x |
(* x (+ 1 (/ y x))) |
(* -1 (* x (- (* -1 (/ y x)) 1))) |
(+ (* 2 (* x y)) (* 2 (pow x 2))) |
(+ (* x y) (pow x 2)) |
(* y (+ (* 2 x) (* 2 (/ (pow x 2) y)))) |
(* y (+ x (/ (pow x 2) y))) |
(* y (+ 1 (/ x y))) |
(* -1 (* y (+ (* -2 x) (* -2 (/ (pow x 2) y))))) |
(* -1 (* y (+ (* -1 x) (* -1 (/ (pow x 2) y))))) |
(* -1 (* y (- (* -1 (/ x y)) 1))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | ((* 2 (+ (* x x) (* x y))) (* (* x x) 2) (* x x) (* 2 (+ (* x x) (* x y))) (+ (* x x) (* x y)) (* y x) (* (+ y x) (+ x x)) (+ y x) (+ x x)) |
| 1.0ms | x | @ | inf | ((* 2 (+ (* x x) (* x y))) (* (* x x) 2) (* x x) (* 2 (+ (* x x) (* x y))) (+ (* x x) (* x y)) (* y x) (* (+ y x) (+ x x)) (+ y x) (+ x x)) |
| 1.0ms | x | @ | 0 | ((* 2 (+ (* x x) (* x y))) (* (* x x) 2) (* x x) (* 2 (+ (* x x) (* x y))) (+ (* x x) (* x y)) (* y x) (* (+ y x) (+ x x)) (+ y x) (+ x x)) |
| 1.0ms | y | @ | -inf | ((* 2 (+ (* x x) (* x y))) (* (* x x) 2) (* x x) (* 2 (+ (* x x) (* x y))) (+ (* x x) (* x y)) (* y x) (* (+ y x) (+ x x)) (+ y x) (+ x x)) |
| 1.0ms | y | @ | inf | ((* 2 (+ (* x x) (* x y))) (* (* x x) 2) (* x x) (* 2 (+ (* x x) (* x y))) (+ (* x x) (* x y)) (* y x) (* (+ y x) (+ x x)) (+ y x) (+ x x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 52 | 96 |
| 1 | 194 | 96 |
| 2 | 644 | 96 |
| 3 | 2140 | 96 |
| 4 | 6428 | 96 |
| 0 | 8070 | 96 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(* 2 (* x y)) |
(* x (+ (* 2 x) (* 2 y))) |
(* 2 (pow x 2)) |
(pow x 2) |
(* x y) |
(* x (+ x y)) |
y |
(+ x y) |
(* 2 x) |
(* (pow x 2) (+ 2 (* 2 (/ y x)))) |
(* (pow x 2) (+ 1 (/ y x))) |
x |
(* x (+ 1 (/ y x))) |
(* -1 (* x (- (* -1 (/ y x)) 1))) |
(+ (* 2 (* x y)) (* 2 (pow x 2))) |
(+ (* x y) (pow x 2)) |
(* y (+ (* 2 x) (* 2 (/ (pow x 2) y)))) |
(* y (+ x (/ (pow x 2) y))) |
(* y (+ 1 (/ x y))) |
(* -1 (* y (+ (* -2 x) (* -2 (/ (pow x 2) y))))) |
(* -1 (* y (+ (* -1 x) (* -1 (/ (pow x 2) y))))) |
(* -1 (* y (- (* -1 (/ x y)) 1))) |
| Outputs |
|---|
(* 2 (* x y)) |
(*.f64 (*.f64 y x) #s(literal 2 binary64)) |
(* x (+ (* 2 x) (* 2 y))) |
(*.f64 (*.f64 (+.f64 y x) x) #s(literal 2 binary64)) |
(* 2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(pow x 2) |
(*.f64 x x) |
(* x y) |
(*.f64 y x) |
(* x (+ x y)) |
(*.f64 (+.f64 y x) x) |
y |
(+ x y) |
(+.f64 y x) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* (pow x 2) (+ 2 (* 2 (/ y x)))) |
(*.f64 (*.f64 (+.f64 y x) x) #s(literal 2 binary64)) |
(* (pow x 2) (+ 1 (/ y x))) |
(*.f64 (+.f64 y x) x) |
x |
(* x (+ 1 (/ y x))) |
(+.f64 y x) |
(* -1 (* x (- (* -1 (/ y x)) 1))) |
(+.f64 y x) |
(+ (* 2 (* x y)) (* 2 (pow x 2))) |
(*.f64 (*.f64 (+.f64 y x) x) #s(literal 2 binary64)) |
(+ (* x y) (pow x 2)) |
(*.f64 (+.f64 y x) x) |
(* y (+ (* 2 x) (* 2 (/ (pow x 2) y)))) |
(*.f64 (*.f64 (+.f64 y x) x) #s(literal 2 binary64)) |
(* y (+ x (/ (pow x 2) y))) |
(*.f64 (+.f64 y x) x) |
(* y (+ 1 (/ x y))) |
(+.f64 y x) |
(* -1 (* y (+ (* -2 x) (* -2 (/ (pow x 2) y))))) |
(*.f64 (*.f64 (+.f64 y x) x) #s(literal 2 binary64)) |
(* -1 (* y (+ (* -1 x) (* -1 (/ (pow x 2) y))))) |
(*.f64 (+.f64 y x) x) |
(* -1 (* y (- (* -1 (/ x y)) 1))) |
(+.f64 y x) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 16 | 63 |
| 0 | 23 | 59 |
| 1 | 84 | 43 |
| 0 | 705 | 41 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (* 2 (+ (* x x) (* x y))) (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 x x) |
(*.f64 #s(literal 2 binary64) #s(approx (+ (* x x) (* x y)) (*.f64 y x))) |
#s(approx (+ (* x x) (* x y)) (*.f64 y x)) |
(*.f64 y x) |
(*.f64 (+.f64 y x) (+.f64 x x)) |
(+.f64 y x) |
(+.f64 x x) |
| Outputs |
|---|
#s(approx (* 2 (+ (* x x) (* x y))) #s(literal 2 binary64)) |
#s(literal 2 binary64) |
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x))) |
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x))) |
(*.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x))) |
(*.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64))) |
(*.f64 (pow.f64 x #s(literal 1 binary64)) x) |
(*.f64 (neg.f64 x) (neg.f64 x)) |
(*.f64 (fabs.f64 x) (fabs.f64 x)) |
(*.f64 x x) |
(pow.f64 (neg.f64 x) #s(literal 2 binary64)) |
(pow.f64 (fabs.f64 x) #s(literal 2 binary64)) |
(pow.f64 x #s(literal 2 binary64)) |
(neg.f64 (*.f64 (neg.f64 x) x)) |
(neg.f64 (*.f64 x (neg.f64 x))) |
(fabs.f64 (*.f64 x x)) |
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) |
(*.f64 #s(approx (+ (* x x) (* x y)) (*.f64 y x)) #s(literal 2 binary64)) |
(*.f64 #s(literal 2 binary64) #s(approx (+ (* x x) (* x y)) (*.f64 y x))) |
(/.f64 (-.f64 (*.f64 #s(approx (+ (* x x) (* x y)) (*.f64 y x)) #s(approx (+ (* x x) (* x y)) (*.f64 y x))) (*.f64 #s(approx (+ (* x x) (* x y)) (*.f64 y x)) #s(approx (+ (* x x) (* x y)) (*.f64 y x)))) (-.f64 #s(approx (+ (* x x) (* x y)) (*.f64 y x)) #s(approx (+ (* x x) (* x y)) (*.f64 y x)))) |
(/.f64 (+.f64 (pow.f64 #s(approx (+ (* x x) (* x y)) (*.f64 y x)) #s(literal 3 binary64)) (pow.f64 #s(approx (+ (* x x) (* x y)) (*.f64 y x)) #s(literal 3 binary64))) (fma.f64 #s(approx (+ (* x x) (* x y)) (*.f64 y x)) #s(approx (+ (* x x) (* x y)) (*.f64 y x)) (-.f64 (*.f64 #s(approx (+ (* x x) (* x y)) (*.f64 y x)) #s(approx (+ (* x x) (* x y)) (*.f64 y x))) (*.f64 #s(approx (+ (* x x) (* x y)) (*.f64 y x)) #s(approx (+ (* x x) (* x y)) (*.f64 y x)))))) |
(fma.f64 #s(literal 1 binary64) #s(approx (+ (* x x) (* x y)) (*.f64 y x)) (*.f64 #s(literal 1 binary64) #s(approx (+ (* x x) (* x y)) (*.f64 y x)))) |
(fma.f64 #s(approx (+ (* x x) (* x y)) (*.f64 y x)) #s(literal 1 binary64) (*.f64 #s(approx (+ (* x x) (* x y)) (*.f64 y x)) #s(literal 1 binary64))) |
(+.f64 (*.f64 #s(literal 1 binary64) #s(approx (+ (* x x) (* x y)) (*.f64 y x))) (*.f64 #s(literal 1 binary64) #s(approx (+ (* x x) (* x y)) (*.f64 y x)))) |
(+.f64 (*.f64 #s(approx (+ (* x x) (* x y)) (*.f64 y x)) #s(literal 1 binary64)) (*.f64 #s(approx (+ (* x x) (* x y)) (*.f64 y x)) #s(literal 1 binary64))) |
(+.f64 #s(approx (+ (* x x) (* x y)) (*.f64 y x)) #s(approx (+ (* x x) (* x y)) (*.f64 y x))) |
#s(approx (+ (* x x) (* x y)) (*.f64 y x)) |
(*.f64 y x) |
(*.f64 x y) |
(*.f64 (fma.f64 y #s(literal 2 binary64) #s(literal 2 binary64)) x) |
(*.f64 (+.f64 y x) #s(literal 2 binary64)) |
(*.f64 (*.f64 (+.f64 y x) x) #s(literal 2 binary64)) |
(*.f64 x (fma.f64 y #s(literal 2 binary64) #s(literal 2 binary64))) |
(*.f64 x (+.f64 (+.f64 y x) (+.f64 y x))) |
(*.f64 #s(literal 2 binary64) (+.f64 y x)) |
(*.f64 #s(literal 2 binary64) (*.f64 (+.f64 y x) x)) |
(/.f64 (*.f64 #s(literal 0 binary64) (+.f64 y x)) #s(literal 0 binary64)) |
(/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) (+.f64 y x)) (fma.f64 x x #s(literal 0 binary64))) |
(/.f64 (*.f64 (*.f64 (+.f64 y x) (-.f64 y x)) #s(literal 2 binary64)) (-.f64 y x)) |
(/.f64 (*.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) #s(literal 2 binary64)) (fma.f64 x (-.f64 x y) (*.f64 y y))) |
(/.f64 (*.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))) #s(literal 2 binary64)) (*.f64 x (-.f64 x y))) |
(/.f64 (*.f64 (+.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64))) #s(literal 2 binary64)) (fma.f64 (*.f64 y x) (-.f64 (*.f64 y x) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))) |
(/.f64 (*.f64 #s(literal 2 binary64) (*.f64 (+.f64 y x) (-.f64 y x))) (-.f64 y x)) |
(/.f64 (*.f64 #s(literal 2 binary64) (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (fma.f64 x (-.f64 x y) (*.f64 y y))) |
(/.f64 (*.f64 (+.f64 y x) #s(literal 0 binary64)) #s(literal 0 binary64)) |
(/.f64 (*.f64 (+.f64 y x) (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64)))) (fma.f64 x x #s(literal 0 binary64))) |
(/.f64 (*.f64 #s(literal 2 binary64) (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64)))) (*.f64 x (-.f64 x y))) |
(/.f64 (*.f64 #s(literal 2 binary64) (+.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64)))) (fma.f64 (*.f64 y x) (-.f64 (*.f64 y x) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))) |
(/.f64 (-.f64 #s(literal 4 binary64) (*.f64 (*.f64 y #s(literal 2 binary64)) (*.f64 y #s(literal 2 binary64)))) (-.f64 #s(literal 2 binary64) (*.f64 y #s(literal 2 binary64)))) |
(/.f64 (+.f64 #s(literal 8 binary64) (pow.f64 (*.f64 y #s(literal 2 binary64)) #s(literal 3 binary64))) (+.f64 #s(literal 4 binary64) (-.f64 (*.f64 (*.f64 y #s(literal 2 binary64)) (*.f64 y #s(literal 2 binary64))) (*.f64 #s(literal 2 binary64) (*.f64 y #s(literal 2 binary64)))))) |
(/.f64 (-.f64 (*.f64 (*.f64 (+.f64 y x) x) (*.f64 (+.f64 y x) x)) (*.f64 (*.f64 (+.f64 y x) x) (*.f64 (+.f64 y x) x))) (-.f64 (*.f64 (+.f64 y x) x) (*.f64 (+.f64 y x) x))) |
(/.f64 (+.f64 (pow.f64 (*.f64 (+.f64 y x) x) #s(literal 3 binary64)) (pow.f64 (*.f64 (+.f64 y x) x) #s(literal 3 binary64))) (fma.f64 (*.f64 (+.f64 y x) x) (*.f64 (+.f64 y x) x) (-.f64 (*.f64 (*.f64 (+.f64 y x) x) (*.f64 (+.f64 y x) x)) (*.f64 (*.f64 (+.f64 y x) x) (*.f64 (+.f64 y x) x))))) |
(/.f64 (+.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))) (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64)))) (*.f64 x (-.f64 x y))) |
(/.f64 (+.f64 (+.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64))) (+.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64)))) (fma.f64 (*.f64 y x) (-.f64 (*.f64 y x) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))) |
(/.f64 (*.f64 #s(literal 0 binary64) (*.f64 (+.f64 y x) (-.f64 y x))) (*.f64 #s(literal 0 binary64) (-.f64 y x))) |
(/.f64 (*.f64 #s(literal 0 binary64) (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (*.f64 #s(literal 0 binary64) (fma.f64 x (-.f64 x y) (*.f64 y y)))) |
(/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) (*.f64 (+.f64 y x) (-.f64 y x))) (*.f64 (fma.f64 x x #s(literal 0 binary64)) (-.f64 y x))) |
(/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (*.f64 (fma.f64 x x #s(literal 0 binary64)) (fma.f64 x (-.f64 x y) (*.f64 y y)))) |
(/.f64 (*.f64 (*.f64 (+.f64 y x) (-.f64 y x)) #s(literal 0 binary64)) (*.f64 (-.f64 y x) #s(literal 0 binary64))) |
(/.f64 (*.f64 (*.f64 (+.f64 y x) (-.f64 y x)) (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64)))) (*.f64 (-.f64 y x) (fma.f64 x x #s(literal 0 binary64)))) |
(/.f64 (*.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) #s(literal 0 binary64)) (*.f64 (fma.f64 x (-.f64 x y) (*.f64 y y)) #s(literal 0 binary64))) |
(/.f64 (*.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64)))) (*.f64 (fma.f64 x (-.f64 x y) (*.f64 y y)) (fma.f64 x x #s(literal 0 binary64)))) |
(/.f64 (fma.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))) (*.f64 x (-.f64 x y)) (*.f64 (*.f64 x (-.f64 x y)) (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))))) (*.f64 (*.f64 x (-.f64 x y)) (*.f64 x (-.f64 x y)))) |
(/.f64 (fma.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))) (fma.f64 (*.f64 y x) (-.f64 (*.f64 y x) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))) (*.f64 (*.f64 x (-.f64 x y)) (+.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64))))) (*.f64 (*.f64 x (-.f64 x y)) (fma.f64 (*.f64 y x) (-.f64 (*.f64 y x) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))))) |
(/.f64 (fma.f64 (+.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64))) (*.f64 x (-.f64 x y)) (*.f64 (fma.f64 (*.f64 y x) (-.f64 (*.f64 y x) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))) (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))))) (*.f64 (fma.f64 (*.f64 y x) (-.f64 (*.f64 y x) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))) (*.f64 x (-.f64 x y)))) |
(/.f64 (fma.f64 (+.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64))) (fma.f64 (*.f64 y x) (-.f64 (*.f64 y x) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))) (*.f64 (fma.f64 (*.f64 y x) (-.f64 (*.f64 y x) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))) (+.f64 (pow.f64 (*.f64 y x) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64))))) (*.f64 (fma.f64 (*.f64 y x) (-.f64 (*.f64 y x) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))) (fma.f64 (*.f64 y x) (-.f64 (*.f64 y x) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))))) |
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) (fma.f64 y x (*.f64 (+.f64 y x) x))) |
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) (fma.f64 y x (*.f64 (+.f64 y x) x))) |
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) (fma.f64 y x (*.f64 (+.f64 y x) x))) |
(fma.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)) (fma.f64 y x (*.f64 (+.f64 y x) x))) |
(fma.f64 (pow.f64 x #s(literal 1 binary64)) x (fma.f64 y x (*.f64 (+.f64 y x) x))) |
(fma.f64 #s(literal 1 binary64) (*.f64 (+.f64 y x) x) (*.f64 #s(literal 1 binary64) (*.f64 (+.f64 y x) x))) |
(fma.f64 (*.f64 y #s(literal 2 binary64)) x #s(literal 2 binary64)) |
(fma.f64 (neg.f64 x) (-.f64 (neg.f64 x) y) (*.f64 (+.f64 y x) x)) |
(fma.f64 (neg.f64 x) (neg.f64 x) (fma.f64 y x (*.f64 (+.f64 y x) x))) |
(fma.f64 (fabs.f64 x) (fabs.f64 x) (fma.f64 y x (*.f64 (+.f64 y x) x))) |
(fma.f64 (+.f64 y x) x (*.f64 (+.f64 y x) x)) |
(fma.f64 (*.f64 (+.f64 y x) x) #s(literal 1 binary64) (*.f64 (*.f64 (+.f64 y x) x) #s(literal 1 binary64))) |
(fma.f64 (*.f64 y x) #s(literal 2 binary64) #s(literal 2 binary64)) |
(fma.f64 y x (fma.f64 x x (*.f64 (+.f64 y x) x))) |
(fma.f64 y #s(literal 2 binary64) #s(literal 2 binary64)) |
(fma.f64 x (*.f64 y #s(literal 2 binary64)) #s(literal 2 binary64)) |
(fma.f64 x (+.f64 y x) (*.f64 (+.f64 y x) x)) |
(fma.f64 x y (fma.f64 x x (*.f64 (+.f64 y x) x))) |
(fma.f64 x x (fma.f64 y x (*.f64 (+.f64 y x) x))) |
(fma.f64 #s(literal 2 binary64) (*.f64 y x) #s(literal 2 binary64)) |
(fma.f64 #s(literal 2 binary64) y #s(literal 2 binary64)) |
(-.f64 (fma.f64 (+.f64 y x) x (*.f64 x x)) (*.f64 (neg.f64 x) y)) |
(-.f64 (*.f64 x x) (-.f64 (*.f64 (neg.f64 x) y) (*.f64 (+.f64 y x) x))) |
(-.f64 (*.f64 (+.f64 y x) x) (*.f64 (neg.f64 (+.f64 y x)) x)) |
(-.f64 (*.f64 (+.f64 y x) x) (*.f64 (neg.f64 x) (+.f64 y x))) |
(-.f64 #s(literal 2 binary64) (*.f64 (*.f64 (neg.f64 x) y) #s(literal 2 binary64))) |
(-.f64 #s(literal 2 binary64) (*.f64 #s(literal -2 binary64) (*.f64 y x))) |
(+.f64 (fma.f64 (+.f64 y x) x (*.f64 x x)) (*.f64 y x)) |
(+.f64 (fma.f64 (+.f64 y x) x (*.f64 y x)) (*.f64 x x)) |
(+.f64 (*.f64 #s(literal 1 binary64) (*.f64 (+.f64 y x) x)) (*.f64 #s(literal 1 binary64) (*.f64 (+.f64 y x) x))) |
(+.f64 (*.f64 (*.f64 (+.f64 y x) x) #s(literal 1 binary64)) (*.f64 (*.f64 (+.f64 y x) x) #s(literal 1 binary64))) |
(+.f64 (*.f64 y #s(literal 2 binary64)) #s(literal 2 binary64)) |
(+.f64 (*.f64 x x) (fma.f64 y x (*.f64 (+.f64 y x) x))) |
(+.f64 (*.f64 (+.f64 y x) x) (*.f64 (+.f64 y x) x)) |
(+.f64 (*.f64 y x) (fma.f64 x x (*.f64 (+.f64 y x) x))) |
(+.f64 #s(literal 2 binary64) (*.f64 y #s(literal 2 binary64))) |
(/.f64 (-.f64 (*.f64 x x) (*.f64 y y)) (-.f64 x y)) |
(/.f64 (neg.f64 (*.f64 (+.f64 y x) (-.f64 y x))) (neg.f64 (-.f64 y x))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 x (-.f64 x y) (*.f64 y y)))) |
(/.f64 (*.f64 (+.f64 y x) (-.f64 y x)) (-.f64 y x)) |
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x x (-.f64 (*.f64 y y) (*.f64 y x)))) |
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x (-.f64 x y) (*.f64 y y))) |
(-.f64 (/.f64 (*.f64 y y) (-.f64 y x)) (/.f64 (*.f64 x x) (-.f64 y x))) |
(+.f64 (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 x (-.f64 x y) (*.f64 y y))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x (-.f64 x y) (*.f64 y y)))) |
(+.f64 y x) |
(+.f64 x y) |
#s(literal 2 binary64) |
Compiled 2 137 to 308 computations (85.6% saved)
6 alts after pruning (3 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 116 | 3 | 119 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 3 | 3 |
| Done | 0 | 0 | 0 |
| Total | 116 | 6 | 122 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 4.0% | (fma.f64 y #s(literal 2 binary64) #s(literal 2 binary64)) |
| ✓ | 100.0% | (*.f64 (+.f64 y x) (+.f64 x x)) |
| ▶ | 4.7% | (*.f64 (+.f64 y x) #s(literal 2 binary64)) |
| ✓ | 55.8% | (*.f64 #s(literal 2 binary64) #s(approx (+ (* x x) (* x y)) (*.f64 y x))) |
| ✓ | 62.4% | #s(approx (* 2 (+ (* x x) (* x y))) (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
| ▶ | 4.1% | #s(approx (* 2 (+ (* x x) (* x y))) #s(literal 2 binary64)) |
Compiled 55 to 43 computations (21.8% saved)
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (fma.f64 y #s(literal 2 binary64) #s(literal 2 binary64)) | |
| cost-diff | 0 | (+.f64 y x) | |
| cost-diff | 0 | (*.f64 (+.f64 y x) #s(literal 2 binary64)) | |
| cost-diff | 0 | #s(approx (* 2 (+ (* x x) (* x y))) #s(literal 2 binary64)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 29 |
| 0 | 15 | 27 |
| 1 | 41 | 27 |
| 2 | 158 | 27 |
| 3 | 620 | 27 |
| 4 | 2231 | 27 |
| 5 | 5238 | 27 |
| 0 | 8254 | 27 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (* 2 (+ (* x x) (* x y))) #s(literal 2 binary64)) |
#s(literal 2 binary64) |
(*.f64 (+.f64 y x) #s(literal 2 binary64)) |
(+.f64 y x) |
y |
x |
#s(literal 2 binary64) |
(fma.f64 y #s(literal 2 binary64) #s(literal 2 binary64)) |
y |
#s(literal 2 binary64) |
| Outputs |
|---|
#s(approx (* 2 (+ (* x x) (* x y))) #s(literal 2 binary64)) |
#s(literal 2 binary64) |
(*.f64 (+.f64 y x) #s(literal 2 binary64)) |
(+.f64 y x) |
y |
x |
#s(literal 2 binary64) |
(fma.f64 y #s(literal 2 binary64) #s(literal 2 binary64)) |
y |
#s(literal 2 binary64) |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (fma.f64 y #s(literal 2 binary64) #s(literal 2 binary64)) | |
| accuracy | 0.0 | (+.f64 y x) | |
| accuracy | 0.0 | (*.f64 (+.f64 y x) #s(literal 2 binary64)) | |
| accuracy | 61.347578845974674 | #s(approx (* 2 (+ (* x x) (* x y))) #s(literal 2 binary64)) |
| 27.0ms | 256× | 0 | valid |
Compiled 30 to 13 computations (56.7% saved)
ival-mult: 13.0ms (77.4% of total)ival-add: 3.0ms (17.9% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(approx (* 2 (+ (* x x) (* x y))) #s(literal 2 binary64)) |
(*.f64 (+.f64 y x) #s(literal 2 binary64)) |
(+.f64 y x) |
(fma.f64 y #s(literal 2 binary64) #s(literal 2 binary64)) |
| Outputs |
|---|
(* 2 (* x y)) |
(* x (+ (* 2 x) (* 2 y))) |
(* 2 y) |
(+ (* 2 x) (* 2 y)) |
y |
(+ x y) |
(* 2 (pow x 2)) |
(* (pow x 2) (+ 2 (* 2 (/ y x)))) |
(* 2 x) |
(* x (+ 2 (* 2 (/ y x)))) |
x |
(* x (+ 1 (/ y x))) |
(* -1 (* x (- (* -2 (/ y x)) 2))) |
(* -1 (* x (- (* -1 (/ y x)) 1))) |
(+ (* 2 (* x y)) (* 2 (pow x 2))) |
2 |
(+ 2 (* 2 y)) |
(* y (+ (* 2 x) (* 2 (/ (pow x 2) y)))) |
(* y (+ 2 (* 2 (/ x y)))) |
(* y (+ 1 (/ x y))) |
(* y (+ 2 (* 2 (/ 1 y)))) |
(* -1 (* y (+ (* -2 x) (* -2 (/ (pow x 2) y))))) |
(* -1 (* y (- (* -2 (/ x y)) 2))) |
(* -1 (* y (- (* -1 (/ x y)) 1))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | y | @ | -inf | ((* 2 (+ (* x x) (* x y))) (* (+ y x) 2) (+ y x) (+ (* y 2) 2)) |
| 1.0ms | x | @ | -inf | ((* 2 (+ (* x x) (* x y))) (* (+ y x) 2) (+ y x) (+ (* y 2) 2)) |
| 1.0ms | y | @ | inf | ((* 2 (+ (* x x) (* x y))) (* (+ y x) 2) (+ y x) (+ (* y 2) 2)) |
| 1.0ms | x | @ | inf | ((* 2 (+ (* x x) (* x y))) (* (+ y x) 2) (+ y x) (+ (* y 2) 2)) |
| 0.0ms | x | @ | 0 | ((* 2 (+ (* x x) (* x y))) (* (+ y x) 2) (+ y x) (+ (* y 2) 2)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 59 | 104 |
| 1 | 209 | 104 |
| 2 | 734 | 104 |
| 3 | 2773 | 104 |
| 4 | 7079 | 104 |
| 0 | 8710 | 102 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(* 2 (* x y)) |
(* x (+ (* 2 x) (* 2 y))) |
(* 2 y) |
(+ (* 2 x) (* 2 y)) |
y |
(+ x y) |
(* 2 (pow x 2)) |
(* (pow x 2) (+ 2 (* 2 (/ y x)))) |
(* 2 x) |
(* x (+ 2 (* 2 (/ y x)))) |
x |
(* x (+ 1 (/ y x))) |
(* -1 (* x (- (* -2 (/ y x)) 2))) |
(* -1 (* x (- (* -1 (/ y x)) 1))) |
(+ (* 2 (* x y)) (* 2 (pow x 2))) |
2 |
(+ 2 (* 2 y)) |
(* y (+ (* 2 x) (* 2 (/ (pow x 2) y)))) |
(* y (+ 2 (* 2 (/ x y)))) |
(* y (+ 1 (/ x y))) |
(* y (+ 2 (* 2 (/ 1 y)))) |
(* -1 (* y (+ (* -2 x) (* -2 (/ (pow x 2) y))))) |
(* -1 (* y (- (* -2 (/ x y)) 2))) |
(* -1 (* y (- (* -1 (/ x y)) 1))) |
| Outputs |
|---|
(* 2 (* x y)) |
(*.f64 (*.f64 y x) #s(literal 2 binary64)) |
(* x (+ (* 2 x) (* 2 y))) |
(*.f64 (*.f64 (+.f64 y x) x) #s(literal 2 binary64)) |
(* 2 y) |
(*.f64 y #s(literal 2 binary64)) |
(+ (* 2 x) (* 2 y)) |
(*.f64 (+.f64 y x) #s(literal 2 binary64)) |
y |
(+ x y) |
(+.f64 y x) |
(* 2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(* (pow x 2) (+ 2 (* 2 (/ y x)))) |
(*.f64 (*.f64 (+.f64 y x) x) #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* x (+ 2 (* 2 (/ y x)))) |
(*.f64 (+.f64 y x) #s(literal 2 binary64)) |
x |
(* x (+ 1 (/ y x))) |
(+.f64 y x) |
(* -1 (* x (- (* -2 (/ y x)) 2))) |
(*.f64 (+.f64 y x) #s(literal 2 binary64)) |
(* -1 (* x (- (* -1 (/ y x)) 1))) |
(+.f64 y x) |
(+ (* 2 (* x y)) (* 2 (pow x 2))) |
(*.f64 (*.f64 (+.f64 y x) x) #s(literal 2 binary64)) |
2 |
#s(literal 2 binary64) |
(+ 2 (* 2 y)) |
(fma.f64 y #s(literal 2 binary64) #s(literal 2 binary64)) |
(* y (+ (* 2 x) (* 2 (/ (pow x 2) y)))) |
(*.f64 (*.f64 (+.f64 y x) x) #s(literal 2 binary64)) |
(* y (+ 2 (* 2 (/ x y)))) |
(*.f64 (+.f64 y x) #s(literal 2 binary64)) |
(* y (+ 1 (/ x y))) |
(+.f64 y x) |
(* y (+ 2 (* 2 (/ 1 y)))) |
(fma.f64 y #s(literal 2 binary64) #s(literal 2 binary64)) |
(* -1 (* y (+ (* -2 x) (* -2 (/ (pow x 2) y))))) |
(*.f64 (*.f64 (+.f64 y x) x) #s(literal 2 binary64)) |
(* -1 (* y (- (* -2 (/ x y)) 2))) |
(*.f64 (+.f64 y x) #s(literal 2 binary64)) |
(* -1 (* y (- (* -1 (/ x y)) 1))) |
(+.f64 y x) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 23 |
| 0 | 15 | 21 |
| 1 | 80 | 21 |
| 0 | 672 | 21 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (* 2 (+ (* x x) (* x y))) #s(literal 2 binary64)) |
(*.f64 (+.f64 y x) #s(literal 2 binary64)) |
(+.f64 y x) |
(fma.f64 y #s(literal 2 binary64) #s(literal 2 binary64)) |
| Outputs |
|---|
#s(approx (* 2 (+ (* x x) (* x y))) #s(literal 2 binary64)) |
(*.f64 (+.f64 y x) #s(literal 2 binary64)) |
(*.f64 #s(literal 2 binary64) (+.f64 y x)) |
(/.f64 (*.f64 (*.f64 (+.f64 y x) (-.f64 y x)) #s(literal 2 binary64)) (-.f64 y x)) |
(/.f64 (*.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) #s(literal 2 binary64)) (fma.f64 x (-.f64 x y) (*.f64 y y))) |
(/.f64 (*.f64 #s(literal 2 binary64) (*.f64 (+.f64 y x) (-.f64 y x))) (-.f64 y x)) |
(/.f64 (*.f64 #s(literal 2 binary64) (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64)))) (fma.f64 x (-.f64 x y) (*.f64 y y))) |
(fma.f64 #s(literal 1 binary64) (+.f64 y x) (*.f64 #s(literal 1 binary64) (+.f64 y x))) |
(fma.f64 (+.f64 y x) #s(literal 1 binary64) (*.f64 (+.f64 y x) #s(literal 1 binary64))) |
(fma.f64 y #s(literal 2 binary64) (*.f64 x #s(literal 2 binary64))) |
(fma.f64 y #s(literal 2 binary64) (*.f64 #s(literal 2 binary64) x)) |
(fma.f64 x #s(literal 2 binary64) (*.f64 y #s(literal 2 binary64))) |
(fma.f64 #s(literal 2 binary64) y (*.f64 x #s(literal 2 binary64))) |
(fma.f64 #s(literal 2 binary64) y (*.f64 #s(literal 2 binary64) x)) |
(fma.f64 #s(literal 2 binary64) x (*.f64 y #s(literal 2 binary64))) |
(+.f64 (*.f64 #s(literal 1 binary64) (+.f64 y x)) (*.f64 #s(literal 1 binary64) (+.f64 y x))) |
(+.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 y #s(literal 2 binary64))) |
(+.f64 (*.f64 (+.f64 y x) #s(literal 1 binary64)) (*.f64 (+.f64 y x) #s(literal 1 binary64))) |
(+.f64 (*.f64 #s(literal 2 binary64) x) (*.f64 y #s(literal 2 binary64))) |
(+.f64 (*.f64 y #s(literal 2 binary64)) (*.f64 x #s(literal 2 binary64))) |
(+.f64 (*.f64 y #s(literal 2 binary64)) (*.f64 #s(literal 2 binary64) x)) |
(+.f64 (+.f64 y x) (+.f64 y x)) |
(/.f64 (-.f64 (*.f64 x x) (*.f64 y y)) (-.f64 x y)) |
(/.f64 (neg.f64 (*.f64 (+.f64 y x) (-.f64 y x))) (neg.f64 (-.f64 y x))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64)))) (neg.f64 (fma.f64 x (-.f64 x y) (*.f64 y y)))) |
(/.f64 (*.f64 (+.f64 y x) (-.f64 y x)) (-.f64 y x)) |
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (fma.f64 x x (-.f64 (*.f64 y y) (*.f64 y x)))) |
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (fma.f64 x (-.f64 x y) (*.f64 y y))) |
(-.f64 (/.f64 (*.f64 y y) (-.f64 y x)) (/.f64 (*.f64 x x) (-.f64 y x))) |
(+.f64 (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 x (-.f64 x y) (*.f64 y y))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x (-.f64 x y) (*.f64 y y)))) |
(+.f64 y x) |
(+.f64 x y) |
(*.f64 (+.f64 #s(literal 1 binary64) y) #s(literal 2 binary64)) |
(*.f64 #s(literal 2 binary64) (+.f64 #s(literal 1 binary64) y)) |
(/.f64 (-.f64 #s(literal 4 binary64) (*.f64 #s(literal 4 binary64) (*.f64 y y))) (-.f64 #s(literal 2 binary64) (*.f64 y #s(literal 2 binary64)))) |
(/.f64 (neg.f64 (fma.f64 (*.f64 y #s(literal 4 binary64)) y #s(literal -4 binary64))) (neg.f64 (-.f64 (*.f64 y #s(literal 2 binary64)) #s(literal 2 binary64)))) |
(/.f64 (neg.f64 (fma.f64 #s(literal 8 binary64) (pow.f64 y #s(literal 3 binary64)) #s(literal 8 binary64))) (neg.f64 (fma.f64 (*.f64 y #s(literal 4 binary64)) y (-.f64 #s(literal 4 binary64) (*.f64 y #s(literal 4 binary64)))))) |
(/.f64 (fma.f64 (*.f64 y #s(literal 4 binary64)) y #s(literal -4 binary64)) (-.f64 (*.f64 y #s(literal 2 binary64)) #s(literal 2 binary64))) |
(/.f64 (fma.f64 #s(literal 8 binary64) (pow.f64 y #s(literal 3 binary64)) #s(literal 8 binary64)) (+.f64 #s(literal 4 binary64) (-.f64 (*.f64 #s(literal 4 binary64) (*.f64 y y)) (*.f64 y #s(literal 4 binary64))))) |
(/.f64 (fma.f64 #s(literal 8 binary64) (pow.f64 y #s(literal 3 binary64)) #s(literal 8 binary64)) (fma.f64 (*.f64 y #s(literal 4 binary64)) y (-.f64 #s(literal 4 binary64) (*.f64 y #s(literal 4 binary64))))) |
(fma.f64 (+.f64 #s(literal 1 binary64) y) #s(literal 1 binary64) (*.f64 (+.f64 #s(literal 1 binary64) y) #s(literal 1 binary64))) |
(fma.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) y) (*.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) y))) |
(fma.f64 y #s(literal 2 binary64) #s(literal 2 binary64)) |
(fma.f64 #s(literal 2 binary64) y #s(literal 2 binary64)) |
(-.f64 (/.f64 (*.f64 #s(literal 4 binary64) (*.f64 y y)) (-.f64 (*.f64 y #s(literal 2 binary64)) #s(literal 2 binary64))) (/.f64 #s(literal 4 binary64) (-.f64 (*.f64 y #s(literal 2 binary64)) #s(literal 2 binary64)))) |
(-.f64 #s(literal 2 binary64) (*.f64 (neg.f64 y) #s(literal 2 binary64))) |
(-.f64 #s(literal 2 binary64) (*.f64 #s(literal -2 binary64) y)) |
(+.f64 (fma.f64 y #s(literal 2 binary64) #s(literal 1 binary64)) #s(literal 1 binary64)) |
(+.f64 (*.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) y)) (*.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) y))) |
(+.f64 (*.f64 (+.f64 #s(literal 1 binary64) y) #s(literal 1 binary64)) (*.f64 (+.f64 #s(literal 1 binary64) y) #s(literal 1 binary64))) |
(+.f64 (/.f64 (*.f64 #s(literal 8 binary64) (pow.f64 y #s(literal 3 binary64))) (fma.f64 (*.f64 y #s(literal 4 binary64)) y (-.f64 #s(literal 4 binary64) (*.f64 y #s(literal 4 binary64))))) (/.f64 #s(literal 8 binary64) (fma.f64 (*.f64 y #s(literal 4 binary64)) y (-.f64 #s(literal 4 binary64) (*.f64 y #s(literal 4 binary64)))))) |
(+.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) (*.f64 y #s(literal 2 binary64)))) |
(+.f64 (*.f64 y #s(literal 2 binary64)) #s(literal 2 binary64)) |
(+.f64 #s(literal 2 binary64) (*.f64 y #s(literal 2 binary64))) |
Compiled 686 to 153 computations (77.7% saved)
8 alts after pruning (2 fresh and 6 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 61 | 2 | 63 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 3 | 3 |
| Done | 0 | 3 | 3 |
| Total | 61 | 8 | 69 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 4.0% | (fma.f64 y #s(literal 2 binary64) #s(literal 2 binary64)) |
| ✓ | 100.0% | (*.f64 (+.f64 y x) (+.f64 x x)) |
| ✓ | 4.7% | (*.f64 (+.f64 y x) #s(literal 2 binary64)) |
| ✓ | 55.8% | (*.f64 #s(literal 2 binary64) #s(approx (+ (* x x) (* x y)) (*.f64 y x))) |
| ▶ | 3.9% | #s(approx (* (+ y x) 2) (*.f64 y #s(literal 2 binary64))) |
| ▶ | 4.8% | #s(approx (* (+ y x) 2) (*.f64 x #s(literal 2 binary64))) |
| ✓ | 62.4% | #s(approx (* 2 (+ (* x x) (* x y))) (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
| ✓ | 4.1% | #s(approx (* 2 (+ (* x x) (* x y))) #s(literal 2 binary64)) |
Compiled 73 to 59 computations (19.2% saved)
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 y #s(literal 2 binary64)) | |
| cost-diff | 0 | #s(approx (* (+ y x) 2) (*.f64 y #s(literal 2 binary64))) | |
| cost-diff | 0 | (*.f64 x #s(literal 2 binary64)) | |
| cost-diff | 0 | #s(approx (* (+ y x) 2) (*.f64 x #s(literal 2 binary64))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 28 |
| 0 | 11 | 28 |
| 1 | 17 | 28 |
| 2 | 37 | 28 |
| 3 | 107 | 28 |
| 4 | 311 | 28 |
| 5 | 1208 | 28 |
| 6 | 5735 | 28 |
| 0 | 8027 | 28 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (* (+ y x) 2) (*.f64 x #s(literal 2 binary64))) |
(*.f64 x #s(literal 2 binary64)) |
x |
#s(literal 2 binary64) |
#s(approx (* (+ y x) 2) (*.f64 y #s(literal 2 binary64))) |
(*.f64 y #s(literal 2 binary64)) |
y |
#s(literal 2 binary64) |
| Outputs |
|---|
#s(approx (* (+ y x) 2) (*.f64 x #s(literal 2 binary64))) |
#s(approx (* (+ y x) 2) (*.f64 #s(literal 2 binary64) x)) |
(*.f64 x #s(literal 2 binary64)) |
(*.f64 #s(literal 2 binary64) x) |
x |
#s(literal 2 binary64) |
#s(approx (* (+ y x) 2) (*.f64 y #s(literal 2 binary64))) |
#s(approx (* (+ y x) 2) (*.f64 #s(literal 2 binary64) y)) |
(*.f64 y #s(literal 2 binary64)) |
(*.f64 #s(literal 2 binary64) y) |
y |
#s(literal 2 binary64) |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (*.f64 y #s(literal 2 binary64)) | |
| accuracy | 33.183919031944576 | #s(approx (* (+ y x) 2) (*.f64 y #s(literal 2 binary64))) | |
| accuracy | 0.0 | (*.f64 x #s(literal 2 binary64)) | |
| accuracy | 29.171284818564303 | #s(approx (* (+ y x) 2) (*.f64 x #s(literal 2 binary64))) |
| 44.0ms | 256× | 0 | valid |
Compiled 22 to 9 computations (59.1% saved)
ival-mult: 4.0ms (64.6% of total)ival-add: 1.0ms (16.1% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(approx (* (+ y x) 2) (*.f64 x #s(literal 2 binary64))) |
(*.f64 x #s(literal 2 binary64)) |
#s(approx (* (+ y x) 2) (*.f64 y #s(literal 2 binary64))) |
(*.f64 y #s(literal 2 binary64)) |
| Outputs |
|---|
(* 2 y) |
(+ (* 2 x) (* 2 y)) |
(* 2 x) |
(* x (+ 2 (* 2 (/ y x)))) |
(* -1 (* x (- (* -2 (/ y x)) 2))) |
(* y (+ 2 (* 2 (/ x y)))) |
(* -1 (* y (- (* -2 (/ x y)) 2))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | -inf | ((* (+ y x) 2) (* x 2) (* (+ y x) 2) (* y 2)) |
| 0.0ms | x | @ | inf | ((* (+ y x) 2) (* x 2) (* (+ y x) 2) (* y 2)) |
| 0.0ms | y | @ | inf | ((* (+ y x) 2) (* x 2) (* (+ y x) 2) (* y 2)) |
| 0.0ms | y | @ | -inf | ((* (+ y x) 2) (* x 2) (* (+ y x) 2) (* y 2)) |
| 0.0ms | x | @ | 0 | ((* (+ y x) 2) (* x 2) (* (+ y x) 2) (* y 2)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 24 | 31 |
| 1 | 73 | 31 |
| 2 | 234 | 31 |
| 3 | 793 | 31 |
| 4 | 2234 | 31 |
| 5 | 5957 | 31 |
| 0 | 8277 | 31 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(* 2 y) |
(+ (* 2 x) (* 2 y)) |
(* 2 x) |
(* x (+ 2 (* 2 (/ y x)))) |
(* -1 (* x (- (* -2 (/ y x)) 2))) |
(* y (+ 2 (* 2 (/ x y)))) |
(* -1 (* y (- (* -2 (/ x y)) 2))) |
| Outputs |
|---|
(* 2 y) |
(*.f64 #s(literal 2 binary64) y) |
(+ (* 2 x) (* 2 y)) |
(*.f64 (+.f64 x y) #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 #s(literal 2 binary64) x) |
(* x (+ 2 (* 2 (/ y x)))) |
(*.f64 (+.f64 x y) #s(literal 2 binary64)) |
(* -1 (* x (- (* -2 (/ y x)) 2))) |
(*.f64 (+.f64 x y) #s(literal 2 binary64)) |
(* y (+ 2 (* 2 (/ x y)))) |
(*.f64 (+.f64 x y) #s(literal 2 binary64)) |
(* -1 (* y (- (* -2 (/ x y)) 2))) |
(*.f64 (+.f64 x y) #s(literal 2 binary64)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 24 |
| 0 | 11 | 24 |
| 1 | 30 | 24 |
| 0 | 169 | 24 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (* (+ y x) 2) (*.f64 x #s(literal 2 binary64))) |
(*.f64 x #s(literal 2 binary64)) |
#s(approx (* (+ y x) 2) (*.f64 y #s(literal 2 binary64))) |
(*.f64 y #s(literal 2 binary64)) |
| Outputs |
|---|
#s(approx (* (+ y x) 2) (*.f64 #s(literal 2 binary64) x)) |
(*.f64 #s(literal 2 binary64) x) |
(*.f64 x #s(literal 2 binary64)) |
(fma.f64 #s(literal 1 binary64) x (*.f64 #s(literal 1 binary64) x)) |
(fma.f64 x #s(literal 1 binary64) (*.f64 x #s(literal 1 binary64))) |
(+.f64 (*.f64 #s(literal 1 binary64) x) (*.f64 #s(literal 1 binary64) x)) |
(+.f64 (*.f64 x #s(literal 1 binary64)) (*.f64 x #s(literal 1 binary64))) |
(+.f64 x x) |
#s(approx (* (+ y x) 2) (*.f64 #s(literal 2 binary64) y)) |
(*.f64 #s(literal 2 binary64) y) |
(*.f64 y #s(literal 2 binary64)) |
(fma.f64 #s(literal 1 binary64) y (*.f64 #s(literal 1 binary64) y)) |
(fma.f64 y #s(literal 1 binary64) (*.f64 y #s(literal 1 binary64))) |
(+.f64 (*.f64 #s(literal 1 binary64) y) (*.f64 #s(literal 1 binary64) y)) |
(+.f64 (*.f64 y #s(literal 1 binary64)) (*.f64 y #s(literal 1 binary64))) |
(+.f64 y y) |
Compiled 196 to 45 computations (77% saved)
8 alts after pruning (2 fresh and 6 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 16 | 2 | 18 |
| Fresh | 0 | 0 | 0 |
| Picked | 2 | 0 | 2 |
| Done | 0 | 6 | 6 |
| Total | 18 | 8 | 26 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 4.0% | (fma.f64 y #s(literal 2 binary64) #s(literal 2 binary64)) |
| ✓ | 100.0% | (*.f64 (+.f64 y x) (+.f64 x x)) |
| ✓ | 4.7% | (*.f64 (+.f64 y x) #s(literal 2 binary64)) |
| ✓ | 55.8% | (*.f64 #s(literal 2 binary64) #s(approx (+ (* x x) (* x y)) (*.f64 y x))) |
| 3.9% | #s(approx (* (+ y x) 2) (+.f64 y y)) | |
| 4.8% | #s(approx (* (+ y x) 2) (+.f64 x x)) | |
| ✓ | 62.4% | #s(approx (* 2 (+ (* x x) (* x y))) (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
| ✓ | 4.1% | #s(approx (* 2 (+ (* x x) (* x y))) #s(literal 2 binary64)) |
Compiled 173 to 89 computations (48.6% saved)
| Inputs |
|---|
#s(approx (* 2 (+ (* x x) (* x y))) #s(literal 2 binary64)) |
#s(approx (* (+ y x) 2) (+.f64 x x)) |
#s(approx (* (+ y x) 2) (+.f64 y y)) |
#s(approx (* (+ y x) 2) (*.f64 x #s(literal 2 binary64))) |
#s(approx (* (+ y x) 2) (*.f64 y #s(literal 2 binary64))) |
(fma.f64 y #s(literal 2 binary64) #s(literal 2 binary64)) |
(*.f64 (+.f64 y x) #s(literal 2 binary64)) |
#s(approx (* 2 (+ (* x x) (* x y))) (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
(*.f64 #s(literal 2 binary64) #s(approx (+ (* x x) (* x y)) (*.f64 y x))) |
(*.f64 (+.f64 y x) (+.f64 x x)) |
(*.f64 #s(literal 2 binary64) (+.f64 (*.f64 x x) (*.f64 x y))) |
| Outputs |
|---|
(*.f64 (+.f64 y x) (+.f64 x x)) |
4 calls:
| 5.0ms | (*.f64 #s(literal 2 binary64) (+.f64 (*.f64 x x) (*.f64 x y))) |
| 4.0ms | x |
| 4.0ms | y |
| 3.0ms | (+.f64 (*.f64 x x) (*.f64 x y)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | (+.f64 (*.f64 x x) (*.f64 x y)) |
| 100.0% | 1 | (*.f64 #s(literal 2 binary64) (+.f64 (*.f64 x x) (*.f64 x y))) |
| 100.0% | 1 | x |
| 100.0% | 1 | y |
Compiled 18 to 16 computations (11.1% saved)
| Inputs |
|---|
#s(approx (* 2 (+ (* x x) (* x y))) #s(literal 2 binary64)) |
#s(approx (* (+ y x) 2) (+.f64 x x)) |
#s(approx (* (+ y x) 2) (+.f64 y y)) |
#s(approx (* (+ y x) 2) (*.f64 x #s(literal 2 binary64))) |
#s(approx (* (+ y x) 2) (*.f64 y #s(literal 2 binary64))) |
(fma.f64 y #s(literal 2 binary64) #s(literal 2 binary64)) |
(*.f64 (+.f64 y x) #s(literal 2 binary64)) |
#s(approx (* 2 (+ (* x x) (* x y))) (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
(*.f64 #s(literal 2 binary64) #s(approx (+ (* x x) (* x y)) (*.f64 y x))) |
| Outputs |
|---|
(*.f64 #s(literal 2 binary64) #s(approx (+ (* x x) (* x y)) (*.f64 y x))) |
#s(approx (* 2 (+ (* x x) (* x y))) (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
(*.f64 #s(literal 2 binary64) #s(approx (+ (* x x) (* x y)) (*.f64 y x))) |
4 calls:
| 4.0ms | (*.f64 #s(literal 2 binary64) (+.f64 (*.f64 x x) (*.f64 x y))) |
| 3.0ms | (+.f64 (*.f64 x x) (*.f64 x y)) |
| 3.0ms | y |
| 3.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 81.6% | 4 | (+.f64 (*.f64 x x) (*.f64 x y)) |
| 81.6% | 4 | (*.f64 #s(literal 2 binary64) (+.f64 (*.f64 x x) (*.f64 x y))) |
| 81.2% | 3 | x |
| 85.5% | 3 | y |
Compiled 18 to 16 computations (11.1% saved)
| Inputs |
|---|
#s(approx (* 2 (+ (* x x) (* x y))) #s(literal 2 binary64)) |
#s(approx (* (+ y x) 2) (+.f64 x x)) |
#s(approx (* (+ y x) 2) (+.f64 y y)) |
#s(approx (* (+ y x) 2) (*.f64 x #s(literal 2 binary64))) |
#s(approx (* (+ y x) 2) (*.f64 y #s(literal 2 binary64))) |
(fma.f64 y #s(literal 2 binary64) #s(literal 2 binary64)) |
(*.f64 (+.f64 y x) #s(literal 2 binary64)) |
#s(approx (* 2 (+ (* x x) (* x y))) (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
| Outputs |
|---|
#s(approx (* 2 (+ (* x x) (* x y))) (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
4 calls:
| 3.0ms | x |
| 3.0ms | y |
| 3.0ms | (*.f64 #s(literal 2 binary64) (+.f64 (*.f64 x x) (*.f64 x y))) |
| 3.0ms | (+.f64 (*.f64 x x) (*.f64 x y)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 62.4% | 1 | (+.f64 (*.f64 x x) (*.f64 x y)) |
| 62.4% | 1 | (*.f64 #s(literal 2 binary64) (+.f64 (*.f64 x x) (*.f64 x y))) |
| 62.4% | 1 | x |
| 62.4% | 1 | y |
Compiled 18 to 16 computations (11.1% saved)
| Inputs |
|---|
#s(approx (* 2 (+ (* x x) (* x y))) #s(literal 2 binary64)) |
#s(approx (* (+ y x) 2) (+.f64 x x)) |
#s(approx (* (+ y x) 2) (+.f64 y y)) |
#s(approx (* (+ y x) 2) (*.f64 x #s(literal 2 binary64))) |
#s(approx (* (+ y x) 2) (*.f64 y #s(literal 2 binary64))) |
(fma.f64 y #s(literal 2 binary64) #s(literal 2 binary64)) |
(*.f64 (+.f64 y x) #s(literal 2 binary64)) |
| Outputs |
|---|
#s(approx (* (+ y x) 2) (+.f64 x x)) |
4 calls:
| 36.0ms | (*.f64 #s(literal 2 binary64) (+.f64 (*.f64 x x) (*.f64 x y))) |
| 2.0ms | x |
| 2.0ms | y |
| 2.0ms | (+.f64 (*.f64 x x) (*.f64 x y)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 4.8% | 1 | x |
| 4.8% | 1 | (+.f64 (*.f64 x x) (*.f64 x y)) |
| 4.8% | 1 | (*.f64 #s(literal 2 binary64) (+.f64 (*.f64 x x) (*.f64 x y))) |
| 4.8% | 1 | y |
Compiled 18 to 16 computations (11.1% saved)
Total -0.0b remaining (-0%)
Threshold costs -0b (-0%)
| Inputs |
|---|
#s(approx (* 2 (+ (* x x) (* x y))) #s(literal 2 binary64)) |
| Outputs |
|---|
#s(approx (* 2 (+ (* x x) (* x y))) #s(literal 2 binary64)) |
4 calls:
| 1.0ms | x |
| 1.0ms | (*.f64 #s(literal 2 binary64) (+.f64 (*.f64 x x) (*.f64 x y))) |
| 1.0ms | y |
| 1.0ms | (+.f64 (*.f64 x x) (*.f64 x y)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 4.1% | 1 | y |
| 4.1% | 1 | x |
| 4.1% | 1 | (+.f64 (*.f64 x x) (*.f64 x y)) |
| 4.1% | 1 | (*.f64 #s(literal 2 binary64) (+.f64 (*.f64 x x) (*.f64 x y))) |
Compiled 18 to 16 computations (11.1% saved)
| 2× | binary-search |
| 1× | narrow-enough |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 8.0ms | 3096.1348867288857 | 31288.949553310547 |
| 21.0ms | -4.535793645864619e-71 | -4.552568996280161e-75 |
| 21.0ms | 224× | 0 | valid |
Compiled 404 to 320 computations (20.8% saved)
ival-mult: 4.0ms (73.1% of total)ival-add: 1.0ms (18.3% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 26 | 71 |
| 1 | 51 | 71 |
| 2 | 151 | 71 |
| 3 | 576 | 71 |
| 4 | 2202 | 71 |
| 5 | 5099 | 71 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (+.f64 y x) (+.f64 x x)) |
(if (<=.f64 y #s(literal -1398721602402525/31082702275611665134711390509176302506278509424834232340028998555822468563283335970816 binary64)) (*.f64 #s(literal 2 binary64) #s(approx (+ (* x x) (* x y)) (*.f64 y x))) (if (<=.f64 y #s(literal 8500 binary64)) #s(approx (* 2 (+ (* x x) (* x y))) (*.f64 (*.f64 x x) #s(literal 2 binary64))) (*.f64 #s(literal 2 binary64) #s(approx (+ (* x x) (* x y)) (*.f64 y x))))) |
#s(approx (* 2 (+ (* x x) (* x y))) (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
#s(approx (* (+ y x) 2) (+.f64 x x)) |
#s(approx (* 2 (+ (* x x) (* x y))) #s(literal 2 binary64)) |
| Outputs |
|---|
(*.f64 (+.f64 y x) (+.f64 x x)) |
(if (<=.f64 y #s(literal -1398721602402525/31082702275611665134711390509176302506278509424834232340028998555822468563283335970816 binary64)) (*.f64 #s(literal 2 binary64) #s(approx (+ (* x x) (* x y)) (*.f64 y x))) (if (<=.f64 y #s(literal 8500 binary64)) #s(approx (* 2 (+ (* x x) (* x y))) (*.f64 (*.f64 x x) #s(literal 2 binary64))) (*.f64 #s(literal 2 binary64) #s(approx (+ (* x x) (* x y)) (*.f64 y x))))) |
(if (or (<=.f64 y #s(literal -1398721602402525/31082702275611665134711390509176302506278509424834232340028998555822468563283335970816 binary64)) (not (<=.f64 y #s(literal 8500 binary64)))) (*.f64 #s(literal 2 binary64) #s(approx (+ (* x x) (* x y)) (*.f64 y x))) #s(approx (* 2 (+ (* x x) (* x y))) (*.f64 (*.f64 x x) #s(literal 2 binary64)))) |
#s(approx (* 2 (+ (* x x) (* x y))) (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
#s(approx (* (+ y x) 2) (+.f64 x x)) |
#s(approx (* 2 (+ (* x x) (* x y))) #s(literal 2 binary64)) |
| 1× | fuel |
Compiled 79 to 28 computations (64.6% saved)
Compiled 190 to 82 computations (56.8% saved)
Loading profile data...