
Time bar (total: 2.5s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 0 |
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 1 |
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 2 |
| 50% | 50% | 50% | 0.1% | 0% | 0% | 0% | 3 |
| 50% | 50% | 50% | 0.1% | 0% | 0% | 0% | 4 |
| 62.5% | 62.4% | 37.5% | 0.1% | 0% | 0% | 0% | 5 |
| 66.7% | 62.4% | 31.2% | 0.1% | 0% | 6.2% | 0% | 6 |
| 75% | 65.6% | 21.9% | 0.1% | 0% | 12.5% | 0% | 7 |
| 80% | 68.7% | 17.2% | 0.1% | 0% | 14% | 0% | 8 |
| 85.7% | 70.2% | 11.7% | 0.1% | 0% | 18% | 0% | 9 |
| 88.9% | 71.8% | 9% | 0.1% | 0% | 19.1% | 0% | 10 |
| 92.3% | 72.6% | 6% | 0.1% | 0% | 21.3% | 0% | 11 |
| 94.1% | 73.4% | 4.6% | 0.1% | 0% | 22% | 0% | 12 |
Compiled 8 to 7 computations (12.5% saved)
| 679.0ms | 8 256× | 0 | valid |
| 50.0ms | 315× | 0 | invalid |
ival-mult: 149.0ms (41.9% of total)ival-add: 141.0ms (39.7% of total)ival-sqrt: 55.0ms (15.5% of total)ival-true: 5.0ms (1.4% of total)ival-assert: 3.0ms (0.8% of total)adjust: 2.0ms (0.6% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 81 | 0 | - | 0 | - | (sqrt.f64 (+.f64 (*.f64 x x) y)) |
| 0 | 0 | - | 0 | - | (+.f64 (*.f64 x x) y) |
| 0 | 0 | - | 0 | - | y |
| 0 | 0 | - | 0 | - | (*.f64 x x) |
| 0 | 0 | - | 0 | - | x |
| Operator | Subexpression | Explanation | Count | |
|---|---|---|---|---|
sqrt.f64 | (sqrt.f64 (+.f64 (*.f64 x x) y)) | oflow-rescue | 81 | 0 |
| ↳ | (+.f64 (*.f64 x x) y) | overflow | 81 | |
| ↳ | (*.f64 x x) | overflow | 81 |
| Predicted + | Predicted - | |
|---|---|---|
| + | 81 | 0 |
| - | 0 | 175 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 81 | 0 | 0 |
| - | 0 | 0 | 175 |
| number | freq |
|---|---|
| 0 | 175 |
| 1 | 81 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 1 | 0 | 0 |
| - | 0 | 0 | 0 |
| 27.0ms | 512× | 0 | valid |
Compiled 42 to 19 computations (54.8% saved)
ival-mult: 4.0ms (37.8% of total)ival-sqrt: 3.0ms (28.4% of total)ival-add: 2.0ms (18.9% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 15 | 34 |
| 1 | 32 | 34 |
| 2 | 86 | 34 |
| 3 | 132 | 34 |
| 4 | 178 | 34 |
| 5 | 180 | 34 |
| 0 | 5 | 6 |
| 0 | 8 | 6 |
| 1 | 13 | 6 |
| 2 | 32 | 6 |
| 3 | 59 | 6 |
| 4 | 74 | 6 |
| 0 | 74 | 5 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(sqrt.f64 (+.f64 (*.f64 x x) y)) |
| Outputs |
|---|
(sqrt.f64 (+.f64 (*.f64 x x) y)) |
(sqrt.f64 (fma.f64 x x y)) |
(abs x)
Compiled 6 to 5 computations (16.7% saved)
Compiled 0 to 2 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 70.6% | (sqrt.f64 (+.f64 (*.f64 x x) y)) |
Compiled 6 to 5 computations (16.7% saved)
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 x x) | |
| cost-diff | 0 | (sqrt.f64 (+.f64 (*.f64 x x) y)) | |
| cost-diff | 1 | (+.f64 (*.f64 x x) y) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 16 |
| 0 | 8 | 16 |
| 1 | 13 | 16 |
| 2 | 32 | 16 |
| 3 | 59 | 16 |
| 4 | 74 | 16 |
| 0 | 74 | 14 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
(sqrt.f64 (+.f64 (*.f64 x x) y)) |
(+.f64 (*.f64 x x) y) |
(*.f64 x x) |
x |
y |
| Outputs |
|---|
(sqrt.f64 (+.f64 (*.f64 x x) y)) |
(sqrt.f64 (fma.f64 x x y)) |
(+.f64 (*.f64 x x) y) |
(fma.f64 x x y) |
(*.f64 x x) |
x |
y |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (*.f64 x x) | |
| accuracy | 0.0078125 | (+.f64 (*.f64 x x) y) | |
| accuracy | 18.840298536312535 | (sqrt.f64 (+.f64 (*.f64 x x) y)) |
| 12.0ms | 256× | 0 | valid |
Compiled 18 to 7 computations (61.1% saved)
ival-mult: 2.0ms (39.9% of total)ival-sqrt: 2.0ms (39.9% of total)ival-add: 1.0ms (20% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
(+.f64 (*.f64 x x) y) |
(sqrt.f64 (+.f64 (*.f64 x x) y)) |
(*.f64 x x) |
| Outputs |
|---|
y |
(+ y (pow x 2)) |
(sqrt y) |
(+ (sqrt y) (* 1/2 (* (pow x 2) (sqrt (/ 1 y))))) |
(+ (sqrt y) (* (pow x 2) (+ (* -1/8 (* (pow x 2) (sqrt (/ 1 (pow y 3))))) (* 1/2 (sqrt (/ 1 y)))))) |
(+ (sqrt y) (* (pow x 2) (+ (* 1/2 (sqrt (/ 1 y))) (* (pow x 2) (+ (* -1/8 (sqrt (/ 1 (pow y 3)))) (* 1/16 (* (pow x 2) (sqrt (/ 1 (pow y 5)))))))))) |
(pow x 2) |
(* (pow x 2) (+ 1 (/ y (pow x 2)))) |
x |
(* x (+ 1 (* 1/2 (/ y (pow x 2))))) |
(* x (+ 1 (+ (* -1/8 (/ (pow y 2) (pow x 4))) (* 1/2 (/ y (pow x 2)))))) |
(* x (+ 1 (+ (* -1/8 (/ (pow y 2) (pow x 4))) (+ (* 1/16 (/ (pow y 3) (pow x 6))) (* 1/2 (/ y (pow x 2))))))) |
(* -1 x) |
(* -1 (* x (+ 1 (* 1/2 (/ y (pow x 2)))))) |
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 2) (pow x 4))) (* 1/2 (/ y (pow x 2))))))) |
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 2) (pow x 4))) (+ (* 1/16 (/ (pow y 3) (pow x 6))) (* 1/2 (/ y (pow x 2)))))))) |
(+ x (* 1/2 (/ y x))) |
(+ x (* y (+ (* -1/8 (/ y (pow x 3))) (* 1/2 (/ 1 x))))) |
(+ x (* y (+ (* y (- (* 1/16 (/ y (pow x 5))) (* 1/8 (/ 1 (pow x 3))))) (* 1/2 (/ 1 x))))) |
(* y (+ 1 (/ (pow x 2) y))) |
(* y (+ (sqrt (/ 1 y)) (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3))))))) |
(* y (+ (sqrt (/ 1 y)) (+ (* -1/8 (* (pow x 4) (sqrt (/ 1 (pow y 5))))) (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3)))))))) |
(* y (+ (sqrt (/ 1 y)) (+ (* -1/8 (* (pow x 4) (sqrt (/ 1 (pow y 5))))) (+ (* 1/16 (* (pow x 6) (sqrt (/ 1 (pow y 7))))) (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3))))))))) |
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 1))) |
(* -1 (* (sqrt y) (pow (sqrt -1) 2))) |
(* -1 (* y (+ (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3))))) (* (sqrt (/ 1 y)) (pow (sqrt -1) 2))))) |
(* -1 (* y (+ (* -1/8 (* (/ (pow x 4) (pow (sqrt -1) 2)) (sqrt (/ 1 (pow y 5))))) (+ (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3))))) (* (sqrt (/ 1 y)) (pow (sqrt -1) 2)))))) |
(* -1 (* y (+ (* -1/8 (* (/ (pow x 4) (pow (sqrt -1) 2)) (sqrt (/ 1 (pow y 5))))) (+ (* 1/16 (* (/ (pow x 6) (pow (sqrt -1) 4)) (sqrt (/ 1 (pow y 7))))) (+ (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3))))) (* (sqrt (/ 1 y)) (pow (sqrt -1) 2))))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | y | @ | -inf | ((+ (* x x) y) (sqrt (+ (* x x) y)) (* x x)) |
| 1.0ms | x | @ | inf | ((+ (* x x) y) (sqrt (+ (* x x) y)) (* x x)) |
| 1.0ms | x | @ | 0 | ((+ (* x x) y) (sqrt (+ (* x x) y)) (* x x)) |
| 1.0ms | y | @ | inf | ((+ (* x x) y) (sqrt (+ (* x x) y)) (* x x)) |
| 1.0ms | y | @ | 0 | ((+ (* x x) y) (sqrt (+ (* x x) y)) (* x x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 133 | 524 |
| 1 | 418 | 509 |
| 2 | 1711 | 488 |
| 0 | 6415 | 449 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
y |
(+ y (pow x 2)) |
(sqrt y) |
(+ (sqrt y) (* 1/2 (* (pow x 2) (sqrt (/ 1 y))))) |
(+ (sqrt y) (* (pow x 2) (+ (* -1/8 (* (pow x 2) (sqrt (/ 1 (pow y 3))))) (* 1/2 (sqrt (/ 1 y)))))) |
(+ (sqrt y) (* (pow x 2) (+ (* 1/2 (sqrt (/ 1 y))) (* (pow x 2) (+ (* -1/8 (sqrt (/ 1 (pow y 3)))) (* 1/16 (* (pow x 2) (sqrt (/ 1 (pow y 5)))))))))) |
(pow x 2) |
(* (pow x 2) (+ 1 (/ y (pow x 2)))) |
x |
(* x (+ 1 (* 1/2 (/ y (pow x 2))))) |
(* x (+ 1 (+ (* -1/8 (/ (pow y 2) (pow x 4))) (* 1/2 (/ y (pow x 2)))))) |
(* x (+ 1 (+ (* -1/8 (/ (pow y 2) (pow x 4))) (+ (* 1/16 (/ (pow y 3) (pow x 6))) (* 1/2 (/ y (pow x 2))))))) |
(* -1 x) |
(* -1 (* x (+ 1 (* 1/2 (/ y (pow x 2)))))) |
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 2) (pow x 4))) (* 1/2 (/ y (pow x 2))))))) |
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 2) (pow x 4))) (+ (* 1/16 (/ (pow y 3) (pow x 6))) (* 1/2 (/ y (pow x 2)))))))) |
(+ x (* 1/2 (/ y x))) |
(+ x (* y (+ (* -1/8 (/ y (pow x 3))) (* 1/2 (/ 1 x))))) |
(+ x (* y (+ (* y (- (* 1/16 (/ y (pow x 5))) (* 1/8 (/ 1 (pow x 3))))) (* 1/2 (/ 1 x))))) |
(* y (+ 1 (/ (pow x 2) y))) |
(* y (+ (sqrt (/ 1 y)) (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3))))))) |
(* y (+ (sqrt (/ 1 y)) (+ (* -1/8 (* (pow x 4) (sqrt (/ 1 (pow y 5))))) (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3)))))))) |
(* y (+ (sqrt (/ 1 y)) (+ (* -1/8 (* (pow x 4) (sqrt (/ 1 (pow y 5))))) (+ (* 1/16 (* (pow x 6) (sqrt (/ 1 (pow y 7))))) (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3))))))))) |
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 1))) |
(* -1 (* (sqrt y) (pow (sqrt -1) 2))) |
(* -1 (* y (+ (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3))))) (* (sqrt (/ 1 y)) (pow (sqrt -1) 2))))) |
(* -1 (* y (+ (* -1/8 (* (/ (pow x 4) (pow (sqrt -1) 2)) (sqrt (/ 1 (pow y 5))))) (+ (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3))))) (* (sqrt (/ 1 y)) (pow (sqrt -1) 2)))))) |
(* -1 (* y (+ (* -1/8 (* (/ (pow x 4) (pow (sqrt -1) 2)) (sqrt (/ 1 (pow y 5))))) (+ (* 1/16 (* (/ (pow x 6) (pow (sqrt -1) 4)) (sqrt (/ 1 (pow y 7))))) (+ (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3))))) (* (sqrt (/ 1 y)) (pow (sqrt -1) 2))))))) |
| Outputs |
|---|
y |
(+ y (pow x 2)) |
(fma.f64 x x y) |
(sqrt y) |
(sqrt.f64 y) |
(+ (sqrt y) (* 1/2 (* (pow x 2) (sqrt (/ 1 y))))) |
(fma.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 x x)) (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) (sqrt.f64 y)) |
(+ (sqrt y) (* (pow x 2) (+ (* -1/8 (* (pow x 2) (sqrt (/ 1 (pow y 3))))) (* 1/2 (sqrt (/ 1 y)))))) |
(fma.f64 (fma.f64 (*.f64 #s(literal -1/8 binary64) (*.f64 x x)) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64)))) (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) #s(literal 1/2 binary64))) (*.f64 x x) (sqrt.f64 y)) |
(+ (sqrt y) (* (pow x 2) (+ (* 1/2 (sqrt (/ 1 y))) (* (pow x 2) (+ (* -1/8 (sqrt (/ 1 (pow y 3)))) (* 1/16 (* (pow x 2) (sqrt (/ 1 (pow y 5)))))))))) |
(fma.f64 (pow.f64 x #s(literal 4 binary64)) (fma.f64 (*.f64 #s(literal 1/16 binary64) (*.f64 x x)) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 5 binary64)))) (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64)))) #s(literal -1/8 binary64))) (fma.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 x x)) (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) (sqrt.f64 y))) |
(pow x 2) |
(*.f64 x x) |
(* (pow x 2) (+ 1 (/ y (pow x 2)))) |
(*.f64 (fma.f64 (/.f64 y (*.f64 x x)) x x) x) |
x |
(* x (+ 1 (* 1/2 (/ y (pow x 2))))) |
(*.f64 (fma.f64 (/.f64 y (*.f64 x x)) #s(literal 1/2 binary64) #s(literal 1 binary64)) x) |
(* x (+ 1 (+ (* -1/8 (/ (pow y 2) (pow x 4))) (* 1/2 (/ y (pow x 2)))))) |
(*.f64 (fma.f64 (*.f64 #s(literal -1/8 binary64) y) (/.f64 y (pow.f64 x #s(literal 4 binary64))) (fma.f64 (/.f64 y (*.f64 x x)) #s(literal 1/2 binary64) #s(literal 1 binary64))) x) |
(* x (+ 1 (+ (* -1/8 (/ (pow y 2) (pow x 4))) (+ (* 1/16 (/ (pow y 3) (pow x 6))) (* 1/2 (/ y (pow x 2))))))) |
(*.f64 (fma.f64 (pow.f64 y #s(literal 3 binary64)) (/.f64 #s(literal 1/16 binary64) (pow.f64 x #s(literal 6 binary64))) (fma.f64 (*.f64 #s(literal -1/8 binary64) y) (/.f64 y (pow.f64 x #s(literal 4 binary64))) (fma.f64 (/.f64 y (*.f64 x x)) #s(literal 1/2 binary64) #s(literal 1 binary64)))) x) |
(* -1 x) |
(neg.f64 x) |
(* -1 (* x (+ 1 (* 1/2 (/ y (pow x 2)))))) |
(*.f64 (fma.f64 (/.f64 #s(literal -1/2 binary64) x) (/.f64 y x) #s(literal -1 binary64)) x) |
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 2) (pow x 4))) (* 1/2 (/ y (pow x 2))))))) |
(*.f64 (fma.f64 #s(literal 1/8 binary64) (*.f64 (/.f64 y (pow.f64 x #s(literal 4 binary64))) y) (fma.f64 (/.f64 #s(literal -1/2 binary64) x) (/.f64 y x) #s(literal -1 binary64))) x) |
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 2) (pow x 4))) (+ (* 1/16 (/ (pow y 3) (pow x 6))) (* 1/2 (/ y (pow x 2)))))))) |
(*.f64 (neg.f64 x) (fma.f64 (pow.f64 y #s(literal 3 binary64)) (/.f64 #s(literal 1/16 binary64) (pow.f64 x #s(literal 6 binary64))) (fma.f64 (*.f64 #s(literal -1/8 binary64) y) (/.f64 y (pow.f64 x #s(literal 4 binary64))) (fma.f64 (/.f64 y (*.f64 x x)) #s(literal 1/2 binary64) #s(literal 1 binary64))))) |
(+ x (* 1/2 (/ y x))) |
(fma.f64 (/.f64 #s(literal 1/2 binary64) x) y x) |
(+ x (* y (+ (* -1/8 (/ y (pow x 3))) (* 1/2 (/ 1 x))))) |
(fma.f64 (fma.f64 (/.f64 y (pow.f64 x #s(literal 3 binary64))) #s(literal -1/8 binary64) (/.f64 #s(literal 1/2 binary64) x)) y x) |
(+ x (* y (+ (* y (- (* 1/16 (/ y (pow x 5))) (* 1/8 (/ 1 (pow x 3))))) (* 1/2 (/ 1 x))))) |
(fma.f64 (fma.f64 (fma.f64 (/.f64 y (pow.f64 x #s(literal 5 binary64))) #s(literal 1/16 binary64) (/.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 3 binary64)))) y (/.f64 #s(literal 1/2 binary64) x)) y x) |
(* y (+ 1 (/ (pow x 2) y))) |
(fma.f64 (/.f64 (*.f64 x x) y) y y) |
(* y (+ (sqrt (/ 1 y)) (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3))))))) |
(*.f64 (fma.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 x x)) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64)))) (sqrt.f64 (/.f64 #s(literal 1 binary64) y))) y) |
(* y (+ (sqrt (/ 1 y)) (+ (* -1/8 (* (pow x 4) (sqrt (/ 1 (pow y 5))))) (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3)))))))) |
(*.f64 (fma.f64 (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/8 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 5 binary64)))) (fma.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 x x)) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64)))) (sqrt.f64 (/.f64 #s(literal 1 binary64) y)))) y) |
(* y (+ (sqrt (/ 1 y)) (+ (* -1/8 (* (pow x 4) (sqrt (/ 1 (pow y 5))))) (+ (* 1/16 (* (pow x 6) (sqrt (/ 1 (pow y 7))))) (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3))))))))) |
(*.f64 (fma.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 1/16 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 7 binary64)))) (fma.f64 (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/8 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 5 binary64)))) (fma.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 x x)) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64)))) (sqrt.f64 (/.f64 #s(literal 1 binary64) y))))) y) |
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 1))) |
(*.f64 (neg.f64 y) (fma.f64 (neg.f64 x) (/.f64 x y) #s(literal -1 binary64))) |
(* -1 (* (sqrt y) (pow (sqrt -1) 2))) |
(sqrt.f64 y) |
(* -1 (* y (+ (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3))))) (* (sqrt (/ 1 y)) (pow (sqrt -1) 2))))) |
(*.f64 (fma.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 x x)) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64)))) (sqrt.f64 (/.f64 #s(literal 1 binary64) y))) y) |
(* -1 (* y (+ (* -1/8 (* (/ (pow x 4) (pow (sqrt -1) 2)) (sqrt (/ 1 (pow y 5))))) (+ (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3))))) (* (sqrt (/ 1 y)) (pow (sqrt -1) 2)))))) |
(*.f64 (fma.f64 (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/8 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 5 binary64)))) (fma.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 x x)) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64)))) (sqrt.f64 (/.f64 #s(literal 1 binary64) y)))) y) |
(* -1 (* y (+ (* -1/8 (* (/ (pow x 4) (pow (sqrt -1) 2)) (sqrt (/ 1 (pow y 5))))) (+ (* 1/16 (* (/ (pow x 6) (pow (sqrt -1) 4)) (sqrt (/ 1 (pow y 7))))) (+ (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3))))) (* (sqrt (/ 1 y)) (pow (sqrt -1) 2))))))) |
(*.f64 (fma.f64 (*.f64 #s(literal -1/16 binary64) (pow.f64 x #s(literal 6 binary64))) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 7 binary64)))) (fma.f64 (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/8 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 5 binary64)))) (fma.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 x x)) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64)))) (sqrt.f64 (/.f64 #s(literal 1 binary64) y))))) y) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 14 |
| 0 | 8 | 14 |
| 1 | 30 | 14 |
| 0 | 215 | 12 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
(+.f64 (*.f64 x x) y) |
(sqrt.f64 (+.f64 (*.f64 x x) y)) |
(*.f64 x x) |
| Outputs |
|---|
(/.f64 (-.f64 (*.f64 y y) (pow.f64 x #s(literal 4 binary64))) (-.f64 y (*.f64 x x))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 y y))) (neg.f64 (-.f64 (*.f64 x x) y))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64)))) (neg.f64 (fma.f64 y (-.f64 y (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))))) |
(/.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 y y)) (-.f64 (*.f64 x x) y)) |
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64))) (fma.f64 y y (-.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 y (*.f64 x x))))) |
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64))) (fma.f64 y (-.f64 y (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))) |
(fma.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)) y) |
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) y) |
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) y) |
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) y) |
(fma.f64 (neg.f64 x) (neg.f64 x) y) |
(fma.f64 (fabs.f64 x) (fabs.f64 x) y) |
(fma.f64 x x y) |
(-.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (-.f64 (*.f64 x x) y)) (/.f64 (*.f64 y y) (-.f64 (*.f64 x x) y))) |
(-.f64 y (*.f64 (neg.f64 (neg.f64 x)) (neg.f64 x))) |
(-.f64 y (*.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 x))) |
(-.f64 y (*.f64 (neg.f64 x) x)) |
(-.f64 y (*.f64 x (neg.f64 x))) |
(+.f64 (/.f64 (pow.f64 x #s(literal 6 binary64)) (fma.f64 y (-.f64 y (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y (-.f64 y (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))))) |
(+.f64 y (*.f64 x x)) |
(+.f64 (*.f64 x x) y) |
(*.f64 (pow.f64 (fma.f64 x x y) #s(literal 1/4 binary64)) (pow.f64 (fma.f64 x x y) #s(literal 1/4 binary64))) |
(pow.f64 (fma.f64 x x y) #s(literal 1/2 binary64)) |
(/.f64 (sqrt.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 y y))) (sqrt.f64 (-.f64 (*.f64 x x) y))) |
(/.f64 (hypot.f64 (pow.f64 y #s(literal 3/2 binary64)) (pow.f64 x #s(literal 3 binary64))) (sqrt.f64 (fma.f64 y (-.f64 y (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))))) |
(sqrt.f64 (fma.f64 x x y)) |
(exp.f64 (*.f64 (log.f64 (fma.f64 x x y)) #s(literal 1/2 binary64))) |
(*.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 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 (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))) |
Compiled 1 053 to 255 computations (75.8% saved)
5 alts after pruning (5 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 61 | 5 | 66 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 62 | 5 | 67 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 70.6% | (sqrt.f64 (fma.f64 x x y)) |
| ▶ | 60.8% | (sqrt.f64 #s(approx (+ (* x x) y) (*.f64 (neg.f64 y) (fma.f64 (neg.f64 x) (/.f64 x y) #s(literal -1 binary64))))) |
| ▶ | 71.7% | #s(approx (sqrt (+ (* x x) y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) x) y x)) |
| ▶ | 31.4% | #s(approx (sqrt (+ (* x x) y)) (sqrt.f64 y)) |
| ▶ | 1.2% | #s(approx (sqrt (+ (* x x) y)) (neg.f64 x)) |
Compiled 106 to 78 computations (26.4% saved)
Found 13 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (neg.f64 y) | |
| cost-diff | 0 | #s(approx (+ (* x x) y) (*.f64 (neg.f64 y) (fma.f64 (neg.f64 x) (/.f64 x y) #s(literal -1 binary64)))) | |
| cost-diff | 0 | (sqrt.f64 #s(approx (+ (* x x) y) (*.f64 (neg.f64 y) (fma.f64 (neg.f64 x) (/.f64 x y) #s(literal -1 binary64))))) | |
| cost-diff | 6 | (*.f64 (neg.f64 y) (fma.f64 (neg.f64 x) (/.f64 x y) #s(literal -1 binary64))) | |
| cost-diff | 0 | (fma.f64 x x y) | |
| cost-diff | 0 | (sqrt.f64 (fma.f64 x x y)) | |
| cost-diff | 0 | (sqrt.f64 y) | |
| cost-diff | 0 | #s(approx (sqrt (+ (* x x) y)) (sqrt.f64 y)) | |
| cost-diff | 0 | (neg.f64 x) | |
| cost-diff | 0 | #s(approx (sqrt (+ (* x x) y)) (neg.f64 x)) | |
| cost-diff | 0 | (/.f64 #s(literal 1/2 binary64) x) | |
| cost-diff | 0 | (fma.f64 (/.f64 #s(literal 1/2 binary64) x) y x) | |
| cost-diff | 0 | #s(approx (sqrt (+ (* x x) y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) x) y x)) |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 22 | 115 |
| 0 | 35 | 109 |
| 1 | 58 | 109 |
| 2 | 143 | 107 |
| 3 | 342 | 107 |
| 4 | 1008 | 97 |
| 5 | 2222 | 97 |
| 6 | 5115 | 97 |
| 0 | 8304 | 97 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (sqrt (+ (* x x) y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) x) y x)) |
(fma.f64 (/.f64 #s(literal 1/2 binary64) x) y x) |
(/.f64 #s(literal 1/2 binary64) x) |
#s(literal 1/2 binary64) |
x |
y |
#s(approx (sqrt (+ (* x x) y)) (neg.f64 x)) |
(neg.f64 x) |
x |
#s(approx (sqrt (+ (* x x) y)) (sqrt.f64 y)) |
(sqrt.f64 y) |
y |
(sqrt.f64 (fma.f64 x x y)) |
(fma.f64 x x y) |
x |
y |
(sqrt.f64 #s(approx (+ (* x x) y) (*.f64 (neg.f64 y) (fma.f64 (neg.f64 x) (/.f64 x y) #s(literal -1 binary64))))) |
#s(approx (+ (* x x) y) (*.f64 (neg.f64 y) (fma.f64 (neg.f64 x) (/.f64 x y) #s(literal -1 binary64)))) |
(*.f64 (neg.f64 y) (fma.f64 (neg.f64 x) (/.f64 x y) #s(literal -1 binary64))) |
(neg.f64 y) |
y |
(fma.f64 (neg.f64 x) (/.f64 x y) #s(literal -1 binary64)) |
(neg.f64 x) |
x |
(/.f64 x y) |
#s(literal -1 binary64) |
| Outputs |
|---|
#s(approx (sqrt (+ (* x x) y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) x) y x)) |
(fma.f64 (/.f64 #s(literal 1/2 binary64) x) y x) |
(/.f64 #s(literal 1/2 binary64) x) |
#s(literal 1/2 binary64) |
x |
y |
#s(approx (sqrt (+ (* x x) y)) (neg.f64 x)) |
(neg.f64 x) |
x |
#s(approx (sqrt (+ (* x x) y)) (sqrt.f64 y)) |
(sqrt.f64 y) |
y |
(sqrt.f64 (fma.f64 x x y)) |
(fma.f64 x x y) |
x |
y |
(sqrt.f64 #s(approx (+ (* x x) y) (*.f64 (neg.f64 y) (fma.f64 (neg.f64 x) (/.f64 x y) #s(literal -1 binary64))))) |
(sqrt.f64 #s(approx (+ (* x x) y) (fma.f64 x x y))) |
#s(approx (+ (* x x) y) (*.f64 (neg.f64 y) (fma.f64 (neg.f64 x) (/.f64 x y) #s(literal -1 binary64)))) |
#s(approx (+ (* x x) y) (fma.f64 x x y)) |
(*.f64 (neg.f64 y) (fma.f64 (neg.f64 x) (/.f64 x y) #s(literal -1 binary64))) |
(fma.f64 x x y) |
(neg.f64 y) |
y |
(fma.f64 (neg.f64 x) (/.f64 x y) #s(literal -1 binary64)) |
(fma.f64 (/.f64 x y) (neg.f64 x) #s(literal -1 binary64)) |
(neg.f64 x) |
x |
(/.f64 x y) |
#s(literal -1 binary64) |
Found 13 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | #s(approx (+ (* x x) y) (*.f64 (neg.f64 y) (fma.f64 (neg.f64 x) (/.f64 x y) #s(literal -1 binary64)))) | |
| accuracy | 0.0546875 | (fma.f64 (neg.f64 x) (/.f64 x y) #s(literal -1 binary64)) | |
| accuracy | 2.6491135735657863 | (*.f64 (neg.f64 y) (fma.f64 (neg.f64 x) (/.f64 x y) #s(literal -1 binary64))) | |
| accuracy | 8.850274488527038 | (sqrt.f64 #s(approx (+ (* x x) y) (*.f64 (neg.f64 y) (fma.f64 (neg.f64 x) (/.f64 x y) #s(literal -1 binary64))))) | |
| accuracy | 0.0 | (fma.f64 x x y) | |
| accuracy | 8.850274488527038 | (sqrt.f64 (fma.f64 x x y)) | |
| accuracy | 0.0 | (sqrt.f64 y) | |
| accuracy | 20.125230757785896 | #s(approx (sqrt (+ (* x x) y)) (sqrt.f64 y)) | |
| accuracy | 0.0 | (neg.f64 x) | |
| accuracy | 39.649808592407744 | #s(approx (sqrt (+ (* x x) y)) (neg.f64 x)) | |
| accuracy | 0.0 | (/.f64 #s(literal 1/2 binary64) x) | |
| accuracy | 0.05078125 | (fma.f64 (/.f64 #s(literal 1/2 binary64) x) y x) | |
| accuracy | 18.117463402132667 | #s(approx (sqrt (+ (* x x) y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) x) y x)) |
| 24.0ms | 161× | 0 | valid |
| 12.0ms | 95× | 0 | invalid |
Compiled 92 to 19 computations (79.3% saved)
ival-mult: 9.0ms (38.5% of total)ival-div: 4.0ms (17.1% of total)ival-add: 4.0ms (17.1% of total)ival-sqrt: 4.0ms (17.1% of total)ival-neg: 2.0ms (8.6% of total)adjust: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)| Inputs |
|---|
#s(approx (sqrt (+ (* x x) y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) x) y x)) |
(fma.f64 (/.f64 #s(literal 1/2 binary64) x) y x) |
(/.f64 #s(literal 1/2 binary64) x) |
#s(approx (sqrt (+ (* x x) y)) (neg.f64 x)) |
(neg.f64 x) |
#s(approx (sqrt (+ (* x x) y)) (sqrt.f64 y)) |
(sqrt.f64 y) |
(sqrt.f64 (fma.f64 x x y)) |
(fma.f64 x x y) |
(*.f64 (neg.f64 y) (fma.f64 (neg.f64 x) (/.f64 x y) #s(literal -1 binary64))) |
(sqrt.f64 #s(approx (+ (* x x) y) (*.f64 (neg.f64 y) (fma.f64 (neg.f64 x) (/.f64 x y) #s(literal -1 binary64))))) |
#s(approx (+ (* x x) y) (*.f64 (neg.f64 y) (fma.f64 (neg.f64 x) (/.f64 x y) #s(literal -1 binary64)))) |
(neg.f64 y) |
(fma.f64 (neg.f64 x) (/.f64 x y) #s(literal -1 binary64)) |
| Outputs |
|---|
(sqrt y) |
(+ (sqrt y) (* 1/2 (* (pow x 2) (sqrt (/ 1 y))))) |
(+ (sqrt y) (* (pow x 2) (+ (* -1/8 (* (pow x 2) (sqrt (/ 1 (pow y 3))))) (* 1/2 (sqrt (/ 1 y)))))) |
(+ (sqrt y) (* (pow x 2) (+ (* 1/2 (sqrt (/ 1 y))) (* (pow x 2) (+ (* -1/8 (sqrt (/ 1 (pow y 3)))) (* 1/16 (* (pow x 2) (sqrt (/ 1 (pow y 5)))))))))) |
(* 1/2 (/ y x)) |
(/ (+ (* 1/2 y) (pow x 2)) x) |
(/ 1/2 x) |
(* -1 x) |
y |
(+ y (pow x 2)) |
-1 |
(- (* -1 (/ (pow x 2) y)) 1) |
x |
(* x (+ 1 (* 1/2 (/ y (pow x 2))))) |
(* x (+ 1 (+ (* -1/8 (/ (pow y 2) (pow x 4))) (* 1/2 (/ y (pow x 2)))))) |
(* x (+ 1 (+ (* -1/8 (/ (pow y 2) (pow x 4))) (+ (* 1/16 (/ (pow y 3) (pow x 6))) (* 1/2 (/ y (pow x 2))))))) |
(pow x 2) |
(* (pow x 2) (+ 1 (/ y (pow x 2)))) |
(* -1 (/ (pow x 2) y)) |
(* -1 (* (pow x 2) (+ (/ 1 y) (/ 1 (pow x 2))))) |
(* -1 (* x (+ 1 (* 1/2 (/ y (pow x 2)))))) |
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 2) (pow x 4))) (* 1/2 (/ y (pow x 2))))))) |
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 2) (pow x 4))) (+ (* 1/16 (/ (pow y 3) (pow x 6))) (* 1/2 (/ y (pow x 2)))))))) |
(* -1 (* x (- (* -1/2 (/ y (pow x 2))) 1))) |
(+ x (* 1/2 (/ y x))) |
(+ x (* y (+ (* -1/8 (/ y (pow x 3))) (* 1/2 (/ 1 x))))) |
(+ x (* y (+ (* y (- (* 1/16 (/ y (pow x 5))) (* 1/8 (/ 1 (pow x 3))))) (* 1/2 (/ 1 x))))) |
(* -1 y) |
(/ (+ (* -1 y) (* -1 (pow x 2))) y) |
(* y (+ (sqrt (/ 1 y)) (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3))))))) |
(* y (+ (sqrt (/ 1 y)) (+ (* -1/8 (* (pow x 4) (sqrt (/ 1 (pow y 5))))) (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3)))))))) |
(* y (+ (sqrt (/ 1 y)) (+ (* -1/8 (* (pow x 4) (sqrt (/ 1 (pow y 5))))) (+ (* 1/16 (* (pow x 6) (sqrt (/ 1 (pow y 7))))) (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3))))))))) |
(* y (+ (* 1/2 (/ 1 x)) (/ x y))) |
(* y (+ 1 (/ (pow x 2) y))) |
(* -1 (* (sqrt y) (pow (sqrt -1) 2))) |
(* -1 (* y (+ (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3))))) (* (sqrt (/ 1 y)) (pow (sqrt -1) 2))))) |
(* -1 (* y (+ (* -1/8 (* (/ (pow x 4) (pow (sqrt -1) 2)) (sqrt (/ 1 (pow y 5))))) (+ (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3))))) (* (sqrt (/ 1 y)) (pow (sqrt -1) 2)))))) |
(* -1 (* y (+ (* -1/8 (* (/ (pow x 4) (pow (sqrt -1) 2)) (sqrt (/ 1 (pow y 5))))) (+ (* 1/16 (* (/ (pow x 6) (pow (sqrt -1) 4)) (sqrt (/ 1 (pow y 7))))) (+ (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3))))) (* (sqrt (/ 1 y)) (pow (sqrt -1) 2))))))) |
(* -1 (* y (- (* -1 (/ x y)) (* 1/2 (/ 1 x))))) |
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 1))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 4.0ms | x | @ | 0 | ((sqrt (+ (* x x) y)) (+ (* (/ 1/2 x) y) x) (/ 1/2 x) (sqrt (+ (* x x) y)) (neg x) (sqrt (+ (* x x) y)) (sqrt y) (sqrt (+ (* x x) y)) (+ (* x x) y) (* (neg y) (+ (* (neg x) (/ x y)) -1)) (sqrt (+ (* x x) y)) (+ (* x x) y) (neg y) (+ (* (neg x) (/ x y)) -1)) |
| 2.0ms | y | @ | 0 | ((sqrt (+ (* x x) y)) (+ (* (/ 1/2 x) y) x) (/ 1/2 x) (sqrt (+ (* x x) y)) (neg x) (sqrt (+ (* x x) y)) (sqrt y) (sqrt (+ (* x x) y)) (+ (* x x) y) (* (neg y) (+ (* (neg x) (/ x y)) -1)) (sqrt (+ (* x x) y)) (+ (* x x) y) (neg y) (+ (* (neg x) (/ x y)) -1)) |
| 2.0ms | x | @ | inf | ((sqrt (+ (* x x) y)) (+ (* (/ 1/2 x) y) x) (/ 1/2 x) (sqrt (+ (* x x) y)) (neg x) (sqrt (+ (* x x) y)) (sqrt y) (sqrt (+ (* x x) y)) (+ (* x x) y) (* (neg y) (+ (* (neg x) (/ x y)) -1)) (sqrt (+ (* x x) y)) (+ (* x x) y) (neg y) (+ (* (neg x) (/ x y)) -1)) |
| 2.0ms | y | @ | -inf | ((sqrt (+ (* x x) y)) (+ (* (/ 1/2 x) y) x) (/ 1/2 x) (sqrt (+ (* x x) y)) (neg x) (sqrt (+ (* x x) y)) (sqrt y) (sqrt (+ (* x x) y)) (+ (* x x) y) (* (neg y) (+ (* (neg x) (/ x y)) -1)) (sqrt (+ (* x x) y)) (+ (* x x) y) (neg y) (+ (* (neg x) (/ x y)) -1)) |
| 2.0ms | y | @ | inf | ((sqrt (+ (* x x) y)) (+ (* (/ 1/2 x) y) x) (/ 1/2 x) (sqrt (+ (* x x) y)) (neg x) (sqrt (+ (* x x) y)) (sqrt y) (sqrt (+ (* x x) y)) (+ (* x x) y) (* (neg y) (+ (* (neg x) (/ x y)) -1)) (sqrt (+ (* x x) y)) (+ (* x x) y) (neg y) (+ (* (neg x) (/ x y)) -1)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 157 | 585 |
| 1 | 486 | 570 |
| 2 | 1936 | 524 |
| 0 | 7431 | 481 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(sqrt y) |
(+ (sqrt y) (* 1/2 (* (pow x 2) (sqrt (/ 1 y))))) |
(+ (sqrt y) (* (pow x 2) (+ (* -1/8 (* (pow x 2) (sqrt (/ 1 (pow y 3))))) (* 1/2 (sqrt (/ 1 y)))))) |
(+ (sqrt y) (* (pow x 2) (+ (* 1/2 (sqrt (/ 1 y))) (* (pow x 2) (+ (* -1/8 (sqrt (/ 1 (pow y 3)))) (* 1/16 (* (pow x 2) (sqrt (/ 1 (pow y 5)))))))))) |
(* 1/2 (/ y x)) |
(/ (+ (* 1/2 y) (pow x 2)) x) |
(/ 1/2 x) |
(* -1 x) |
y |
(+ y (pow x 2)) |
-1 |
(- (* -1 (/ (pow x 2) y)) 1) |
x |
(* x (+ 1 (* 1/2 (/ y (pow x 2))))) |
(* x (+ 1 (+ (* -1/8 (/ (pow y 2) (pow x 4))) (* 1/2 (/ y (pow x 2)))))) |
(* x (+ 1 (+ (* -1/8 (/ (pow y 2) (pow x 4))) (+ (* 1/16 (/ (pow y 3) (pow x 6))) (* 1/2 (/ y (pow x 2))))))) |
(pow x 2) |
(* (pow x 2) (+ 1 (/ y (pow x 2)))) |
(* -1 (/ (pow x 2) y)) |
(* -1 (* (pow x 2) (+ (/ 1 y) (/ 1 (pow x 2))))) |
(* -1 (* x (+ 1 (* 1/2 (/ y (pow x 2)))))) |
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 2) (pow x 4))) (* 1/2 (/ y (pow x 2))))))) |
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 2) (pow x 4))) (+ (* 1/16 (/ (pow y 3) (pow x 6))) (* 1/2 (/ y (pow x 2)))))))) |
(* -1 (* x (- (* -1/2 (/ y (pow x 2))) 1))) |
(+ x (* 1/2 (/ y x))) |
(+ x (* y (+ (* -1/8 (/ y (pow x 3))) (* 1/2 (/ 1 x))))) |
(+ x (* y (+ (* y (- (* 1/16 (/ y (pow x 5))) (* 1/8 (/ 1 (pow x 3))))) (* 1/2 (/ 1 x))))) |
(* -1 y) |
(/ (+ (* -1 y) (* -1 (pow x 2))) y) |
(* y (+ (sqrt (/ 1 y)) (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3))))))) |
(* y (+ (sqrt (/ 1 y)) (+ (* -1/8 (* (pow x 4) (sqrt (/ 1 (pow y 5))))) (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3)))))))) |
(* y (+ (sqrt (/ 1 y)) (+ (* -1/8 (* (pow x 4) (sqrt (/ 1 (pow y 5))))) (+ (* 1/16 (* (pow x 6) (sqrt (/ 1 (pow y 7))))) (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3))))))))) |
(* y (+ (* 1/2 (/ 1 x)) (/ x y))) |
(* y (+ 1 (/ (pow x 2) y))) |
(* -1 (* (sqrt y) (pow (sqrt -1) 2))) |
(* -1 (* y (+ (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3))))) (* (sqrt (/ 1 y)) (pow (sqrt -1) 2))))) |
(* -1 (* y (+ (* -1/8 (* (/ (pow x 4) (pow (sqrt -1) 2)) (sqrt (/ 1 (pow y 5))))) (+ (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3))))) (* (sqrt (/ 1 y)) (pow (sqrt -1) 2)))))) |
(* -1 (* y (+ (* -1/8 (* (/ (pow x 4) (pow (sqrt -1) 2)) (sqrt (/ 1 (pow y 5))))) (+ (* 1/16 (* (/ (pow x 6) (pow (sqrt -1) 4)) (sqrt (/ 1 (pow y 7))))) (+ (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3))))) (* (sqrt (/ 1 y)) (pow (sqrt -1) 2))))))) |
(* -1 (* y (- (* -1 (/ x y)) (* 1/2 (/ 1 x))))) |
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 1))) |
| Outputs |
|---|
(sqrt y) |
(sqrt.f64 y) |
(+ (sqrt y) (* 1/2 (* (pow x 2) (sqrt (/ 1 y))))) |
(fma.f64 (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) (sqrt.f64 y)) |
(+ (sqrt y) (* (pow x 2) (+ (* -1/8 (* (pow x 2) (sqrt (/ 1 (pow y 3))))) (* 1/2 (sqrt (/ 1 y)))))) |
(fma.f64 (fma.f64 (*.f64 #s(literal -1/8 binary64) (*.f64 x x)) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64)))) (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) #s(literal 1/2 binary64))) (*.f64 x x) (sqrt.f64 y)) |
(+ (sqrt y) (* (pow x 2) (+ (* 1/2 (sqrt (/ 1 y))) (* (pow x 2) (+ (* -1/8 (sqrt (/ 1 (pow y 3)))) (* 1/16 (* (pow x 2) (sqrt (/ 1 (pow y 5)))))))))) |
(fma.f64 (pow.f64 x #s(literal 4 binary64)) (fma.f64 (*.f64 #s(literal 1/16 binary64) (*.f64 x x)) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 5 binary64)))) (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64)))) #s(literal -1/8 binary64))) (fma.f64 (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) (sqrt.f64 y))) |
(* 1/2 (/ y x)) |
(*.f64 (/.f64 #s(literal 1/2 binary64) x) y) |
(/ (+ (* 1/2 y) (pow x 2)) x) |
(fma.f64 (/.f64 y x) #s(literal 1/2 binary64) x) |
(/ 1/2 x) |
(/.f64 #s(literal 1/2 binary64) x) |
(* -1 x) |
(neg.f64 x) |
y |
(+ y (pow x 2)) |
(fma.f64 x x y) |
-1 |
#s(literal -1 binary64) |
(- (* -1 (/ (pow x 2) y)) 1) |
(-.f64 #s(literal -1 binary64) (/.f64 (*.f64 x x) y)) |
x |
(* x (+ 1 (* 1/2 (/ y (pow x 2))))) |
(fma.f64 (/.f64 y x) #s(literal 1/2 binary64) x) |
(* x (+ 1 (+ (* -1/8 (/ (pow y 2) (pow x 4))) (* 1/2 (/ y (pow x 2)))))) |
(fma.f64 (*.f64 (*.f64 #s(literal -1/8 binary64) y) (/.f64 y (pow.f64 x #s(literal 4 binary64)))) x (fma.f64 (/.f64 y x) #s(literal 1/2 binary64) x)) |
(* x (+ 1 (+ (* -1/8 (/ (pow y 2) (pow x 4))) (+ (* 1/16 (/ (pow y 3) (pow x 6))) (* 1/2 (/ y (pow x 2))))))) |
(fma.f64 (fma.f64 (pow.f64 y #s(literal 3 binary64)) (/.f64 #s(literal 1/16 binary64) (pow.f64 x #s(literal 6 binary64))) (fma.f64 (*.f64 #s(literal -1/8 binary64) y) (/.f64 y (pow.f64 x #s(literal 4 binary64))) #s(literal 1 binary64))) x (*.f64 (/.f64 #s(literal 1/2 binary64) x) y)) |
(pow x 2) |
(*.f64 x x) |
(* (pow x 2) (+ 1 (/ y (pow x 2)))) |
(fma.f64 x x y) |
(* -1 (/ (pow x 2) y)) |
(*.f64 (/.f64 (neg.f64 x) y) x) |
(* -1 (* (pow x 2) (+ (/ 1 y) (/ 1 (pow x 2))))) |
(-.f64 #s(literal -1 binary64) (/.f64 (*.f64 x x) y)) |
(* -1 (* x (+ 1 (* 1/2 (/ y (pow x 2)))))) |
(fma.f64 (/.f64 #s(literal -1/2 binary64) x) y (neg.f64 x)) |
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 2) (pow x 4))) (* 1/2 (/ y (pow x 2))))))) |
(fma.f64 (fma.f64 (*.f64 #s(literal -1/8 binary64) y) (/.f64 y (pow.f64 x #s(literal 4 binary64))) #s(literal 1 binary64)) (neg.f64 x) (*.f64 (/.f64 #s(literal -1/2 binary64) x) y)) |
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 2) (pow x 4))) (+ (* 1/16 (/ (pow y 3) (pow x 6))) (* 1/2 (/ y (pow x 2)))))))) |
(fma.f64 (fma.f64 (pow.f64 y #s(literal 3 binary64)) (/.f64 #s(literal 1/16 binary64) (pow.f64 x #s(literal 6 binary64))) (fma.f64 (*.f64 #s(literal -1/8 binary64) y) (/.f64 y (pow.f64 x #s(literal 4 binary64))) #s(literal 1 binary64))) (neg.f64 x) (*.f64 (/.f64 #s(literal -1/2 binary64) x) y)) |
(* -1 (* x (- (* -1/2 (/ y (pow x 2))) 1))) |
(fma.f64 (/.f64 y x) #s(literal 1/2 binary64) x) |
(+ x (* 1/2 (/ y x))) |
(fma.f64 (/.f64 y x) #s(literal 1/2 binary64) x) |
(+ x (* y (+ (* -1/8 (/ y (pow x 3))) (* 1/2 (/ 1 x))))) |
(fma.f64 (fma.f64 (/.f64 y (pow.f64 x #s(literal 3 binary64))) #s(literal -1/8 binary64) (/.f64 #s(literal 1/2 binary64) x)) y x) |
(+ x (* y (+ (* y (- (* 1/16 (/ y (pow x 5))) (* 1/8 (/ 1 (pow x 3))))) (* 1/2 (/ 1 x))))) |
(fma.f64 (fma.f64 (fma.f64 (/.f64 y (pow.f64 x #s(literal 5 binary64))) #s(literal 1/16 binary64) (/.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 3 binary64)))) y (/.f64 #s(literal 1/2 binary64) x)) y x) |
(* -1 y) |
(neg.f64 y) |
(/ (+ (* -1 y) (* -1 (pow x 2))) y) |
(-.f64 #s(literal -1 binary64) (/.f64 (*.f64 x x) y)) |
(* y (+ (sqrt (/ 1 y)) (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3))))))) |
(*.f64 (fma.f64 (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64)))) (sqrt.f64 (/.f64 #s(literal 1 binary64) y))) y) |
(* y (+ (sqrt (/ 1 y)) (+ (* -1/8 (* (pow x 4) (sqrt (/ 1 (pow y 5))))) (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3)))))))) |
(*.f64 (fma.f64 (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/8 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 5 binary64)))) (fma.f64 (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64)))) (sqrt.f64 (/.f64 #s(literal 1 binary64) y)))) y) |
(* y (+ (sqrt (/ 1 y)) (+ (* -1/8 (* (pow x 4) (sqrt (/ 1 (pow y 5))))) (+ (* 1/16 (* (pow x 6) (sqrt (/ 1 (pow y 7))))) (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3))))))))) |
(*.f64 (fma.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 1/16 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 7 binary64)))) (fma.f64 (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/8 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 5 binary64)))) (fma.f64 (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64)))) (sqrt.f64 (/.f64 #s(literal 1 binary64) y))))) y) |
(* y (+ (* 1/2 (/ 1 x)) (/ x y))) |
(fma.f64 (/.f64 y x) #s(literal 1/2 binary64) x) |
(* y (+ 1 (/ (pow x 2) y))) |
(fma.f64 x x y) |
(* -1 (* (sqrt y) (pow (sqrt -1) 2))) |
(sqrt.f64 y) |
(* -1 (* y (+ (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3))))) (* (sqrt (/ 1 y)) (pow (sqrt -1) 2))))) |
(*.f64 (fma.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 x x)) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64)))) (sqrt.f64 (/.f64 #s(literal 1 binary64) y))) y) |
(* -1 (* y (+ (* -1/8 (* (/ (pow x 4) (pow (sqrt -1) 2)) (sqrt (/ 1 (pow y 5))))) (+ (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3))))) (* (sqrt (/ 1 y)) (pow (sqrt -1) 2)))))) |
(*.f64 (fma.f64 (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/8 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 5 binary64)))) (fma.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 x x)) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64)))) (sqrt.f64 (/.f64 #s(literal 1 binary64) y)))) y) |
(* -1 (* y (+ (* -1/8 (* (/ (pow x 4) (pow (sqrt -1) 2)) (sqrt (/ 1 (pow y 5))))) (+ (* 1/16 (* (/ (pow x 6) (pow (sqrt -1) 4)) (sqrt (/ 1 (pow y 7))))) (+ (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3))))) (* (sqrt (/ 1 y)) (pow (sqrt -1) 2))))))) |
(*.f64 (fma.f64 (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/8 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 5 binary64)))) (fma.f64 (*.f64 #s(literal -1/16 binary64) (pow.f64 x #s(literal 6 binary64))) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 7 binary64)))) (fma.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 x x)) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64)))) (sqrt.f64 (/.f64 #s(literal 1 binary64) y))))) y) |
(* -1 (* y (- (* -1 (/ x y)) (* 1/2 (/ 1 x))))) |
(fma.f64 (/.f64 y x) #s(literal 1/2 binary64) x) |
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 1))) |
(fma.f64 x x y) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 22 | 100 |
| 0 | 35 | 100 |
| 1 | 104 | 100 |
| 0 | 701 | 100 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (sqrt (+ (* x x) y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) x) y x)) |
(fma.f64 (/.f64 #s(literal 1/2 binary64) x) y x) |
(/.f64 #s(literal 1/2 binary64) x) |
#s(approx (sqrt (+ (* x x) y)) (neg.f64 x)) |
(neg.f64 x) |
#s(approx (sqrt (+ (* x x) y)) (sqrt.f64 y)) |
(sqrt.f64 y) |
(sqrt.f64 (fma.f64 x x y)) |
(fma.f64 x x y) |
(*.f64 (neg.f64 y) (fma.f64 (neg.f64 x) (/.f64 x y) #s(literal -1 binary64))) |
(sqrt.f64 #s(approx (+ (* x x) y) (*.f64 (neg.f64 y) (fma.f64 (neg.f64 x) (/.f64 x y) #s(literal -1 binary64))))) |
#s(approx (+ (* x x) y) (*.f64 (neg.f64 y) (fma.f64 (neg.f64 x) (/.f64 x y) #s(literal -1 binary64)))) |
(neg.f64 y) |
(fma.f64 (neg.f64 x) (/.f64 x y) #s(literal -1 binary64)) |
| Outputs |
|---|
#s(approx (sqrt (+ (* x x) y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) x) y x)) |
(/.f64 (-.f64 (*.f64 x x) (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) x) y) #s(literal 2 binary64))) (-.f64 x (*.f64 (/.f64 #s(literal 1/2 binary64) x) y))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) x) y) #s(literal 2 binary64)) (*.f64 x x))) (neg.f64 (-.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) x) y) x))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) x) y) #s(literal 3 binary64)))) (neg.f64 (fma.f64 x (-.f64 x (*.f64 (/.f64 #s(literal 1/2 binary64) x) y)) (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) x) y) #s(literal 2 binary64))))) |
(/.f64 (-.f64 (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) x) y) #s(literal 2 binary64)) (*.f64 x x)) (-.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) x) y) x)) |
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) x) y) #s(literal 3 binary64))) (fma.f64 x x (-.f64 (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) x) y) #s(literal 2 binary64)) (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) x) y) x)))) |
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) x) y) #s(literal 3 binary64))) (fma.f64 x (-.f64 x (*.f64 (/.f64 #s(literal 1/2 binary64) x) y)) (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) x) y) #s(literal 2 binary64)))) |
(fma.f64 (/.f64 #s(literal 1/2 binary64) x) y x) |
(fma.f64 #s(literal 1/2 binary64) (/.f64 y x) x) |
(fma.f64 y (/.f64 #s(literal 1/2 binary64) x) x) |
(-.f64 (/.f64 (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) x) y) #s(literal 2 binary64)) (-.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) x) y) x)) (/.f64 (*.f64 x x) (-.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) x) y) x))) |
(-.f64 x (*.f64 (neg.f64 (/.f64 #s(literal 1/2 binary64) x)) y)) |
(-.f64 x (*.f64 (neg.f64 y) (/.f64 #s(literal 1/2 binary64) x))) |
(+.f64 (/.f64 (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) x) y) #s(literal 3 binary64)) (fma.f64 x (-.f64 x (*.f64 (/.f64 #s(literal 1/2 binary64) x) y)) (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) x) y) #s(literal 2 binary64)))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x (-.f64 x (*.f64 (/.f64 #s(literal 1/2 binary64) x) y)) (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) x) y) #s(literal 2 binary64))))) |
(+.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) x) y) x) |
(+.f64 x (*.f64 (/.f64 #s(literal 1/2 binary64) x) y)) |
(/.f64 #s(literal -1/2 binary64) (neg.f64 x)) |
(/.f64 #s(literal 1/2 binary64) (neg.f64 (neg.f64 x))) |
(/.f64 #s(literal 1/2 binary64) x) |
(neg.f64 (/.f64 #s(literal -1/2 binary64) x)) |
(neg.f64 (/.f64 #s(literal 1/2 binary64) (neg.f64 x))) |
#s(approx (sqrt (+ (* x x) y)) (neg.f64 x)) |
(neg.f64 x) |
#s(approx (sqrt (+ (* x x) y)) (sqrt.f64 y)) |
(*.f64 (pow.f64 y #s(literal 1/4 binary64)) (pow.f64 y #s(literal 1/4 binary64))) |
(pow.f64 y #s(literal 1/2 binary64)) |
(sqrt.f64 y) |
(exp.f64 (*.f64 (log.f64 y) #s(literal 1/2 binary64))) |
(*.f64 (pow.f64 (fma.f64 x x y) #s(literal 1/4 binary64)) (pow.f64 (fma.f64 x x y) #s(literal 1/4 binary64))) |
(pow.f64 (fma.f64 x x y) #s(literal 1/2 binary64)) |
(/.f64 (sqrt.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 y y))) (sqrt.f64 (-.f64 (*.f64 x x) y))) |
(/.f64 (hypot.f64 (pow.f64 y #s(literal 3/2 binary64)) (pow.f64 x #s(literal 3 binary64))) (sqrt.f64 (fma.f64 y (-.f64 y (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))))) |
(sqrt.f64 (fma.f64 x x y)) |
(exp.f64 (*.f64 (log.f64 (fma.f64 x x y)) #s(literal 1/2 binary64))) |
(/.f64 (-.f64 (*.f64 y y) (pow.f64 x #s(literal 4 binary64))) (-.f64 y (*.f64 x x))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 y y))) (neg.f64 (-.f64 (*.f64 x x) y))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64)))) (neg.f64 (fma.f64 y (-.f64 y (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))))) |
(/.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 y y)) (-.f64 (*.f64 x x) y)) |
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64))) (fma.f64 y y (-.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 y (*.f64 x x))))) |
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64))) (fma.f64 y (-.f64 y (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))) |
(fma.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)) y) |
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) y) |
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) y) |
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) y) |
(fma.f64 (fabs.f64 x) (fabs.f64 x) y) |
(fma.f64 (neg.f64 x) (neg.f64 x) y) |
(fma.f64 x x y) |
(-.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (-.f64 (*.f64 x x) y)) (/.f64 (*.f64 y y) (-.f64 (*.f64 x x) y))) |
(-.f64 y (*.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 x))) |
(-.f64 y (*.f64 (neg.f64 (neg.f64 x)) (neg.f64 x))) |
(-.f64 y (*.f64 (neg.f64 x) x)) |
(+.f64 (/.f64 (pow.f64 x #s(literal 6 binary64)) (fma.f64 y (-.f64 y (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y (-.f64 y (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))))) |
(+.f64 y (*.f64 x x)) |
(+.f64 (*.f64 x x) y) |
(*.f64 (fma.f64 (/.f64 x y) (neg.f64 x) #s(literal -1 binary64)) (neg.f64 y)) |
(*.f64 (neg.f64 y) (fma.f64 (/.f64 x y) (neg.f64 x) #s(literal -1 binary64))) |
(*.f64 y (neg.f64 (fma.f64 (/.f64 x y) (neg.f64 x) #s(literal -1 binary64)))) |
(/.f64 (*.f64 (-.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 y y)) #s(literal 1 binary64)) (neg.f64 y)) (-.f64 (*.f64 (/.f64 x y) (neg.f64 x)) #s(literal -1 binary64))) |
(/.f64 (*.f64 (+.f64 (neg.f64 (pow.f64 (*.f64 (/.f64 x y) x) #s(literal 3 binary64))) #s(literal -1 binary64)) (neg.f64 y)) (+.f64 (+.f64 #s(literal 1 binary64) (*.f64 (*.f64 (/.f64 x y) x) #s(literal -1 binary64))) (/.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 y y)))) |
(/.f64 (*.f64 (neg.f64 y) (-.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 y y)) #s(literal 1 binary64))) (-.f64 (*.f64 (/.f64 x y) (neg.f64 x)) #s(literal -1 binary64))) |
(/.f64 (*.f64 (neg.f64 y) (+.f64 (neg.f64 (pow.f64 (*.f64 (/.f64 x y) x) #s(literal 3 binary64))) #s(literal -1 binary64))) (+.f64 (+.f64 #s(literal 1 binary64) (*.f64 (*.f64 (/.f64 x y) x) #s(literal -1 binary64))) (/.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 y y)))) |
(/.f64 (-.f64 (*.f64 (*.f64 (*.f64 (/.f64 x y) (neg.f64 x)) (neg.f64 y)) (*.f64 (*.f64 (/.f64 x y) (neg.f64 x)) (neg.f64 y))) (*.f64 (neg.f64 (neg.f64 y)) (neg.f64 (neg.f64 y)))) (-.f64 (*.f64 (*.f64 (/.f64 x y) (neg.f64 x)) (neg.f64 y)) (neg.f64 (neg.f64 y)))) |
(/.f64 (+.f64 (pow.f64 (*.f64 (*.f64 (/.f64 x y) (neg.f64 x)) (neg.f64 y)) #s(literal 3 binary64)) (pow.f64 (neg.f64 (neg.f64 y)) #s(literal 3 binary64))) (fma.f64 (*.f64 (*.f64 (/.f64 x y) (neg.f64 x)) (neg.f64 y)) (*.f64 (*.f64 (/.f64 x y) (neg.f64 x)) (neg.f64 y)) (-.f64 (*.f64 (neg.f64 (neg.f64 y)) (neg.f64 (neg.f64 y))) (*.f64 (*.f64 (*.f64 (/.f64 x y) (neg.f64 x)) (neg.f64 y)) (neg.f64 (neg.f64 y)))))) |
(neg.f64 (*.f64 (fma.f64 (/.f64 x y) (neg.f64 x) #s(literal -1 binary64)) y)) |
(fma.f64 (*.f64 (neg.f64 y) (/.f64 x y)) (neg.f64 x) (neg.f64 (neg.f64 y))) |
(fma.f64 (*.f64 (neg.f64 y) (neg.f64 x)) (/.f64 x y) (neg.f64 (neg.f64 y))) |
(fma.f64 (*.f64 (/.f64 x y) (neg.f64 x)) (neg.f64 y) (neg.f64 (neg.f64 y))) |
(fma.f64 #s(literal -1 binary64) (neg.f64 y) (*.f64 (*.f64 (/.f64 x y) (neg.f64 x)) (neg.f64 y))) |
(fma.f64 (/.f64 x y) (*.f64 (neg.f64 x) (neg.f64 y)) (neg.f64 (neg.f64 y))) |
(fma.f64 (neg.f64 y) (*.f64 (/.f64 x y) (neg.f64 x)) (neg.f64 (neg.f64 y))) |
(fma.f64 (neg.f64 y) #s(literal -1 binary64) (*.f64 (*.f64 (/.f64 x y) (neg.f64 x)) (neg.f64 y))) |
(fma.f64 (neg.f64 x) (*.f64 (/.f64 x y) (neg.f64 y)) (neg.f64 (neg.f64 y))) |
(-.f64 (*.f64 (*.f64 (/.f64 x y) (neg.f64 x)) (neg.f64 y)) (*.f64 y #s(literal -1 binary64))) |
(-.f64 (*.f64 (*.f64 (/.f64 x y) (neg.f64 x)) (neg.f64 y)) (*.f64 #s(literal 1 binary64) (neg.f64 y))) |
(-.f64 (*.f64 (*.f64 (/.f64 x y) (neg.f64 x)) (neg.f64 y)) (*.f64 (neg.f64 (neg.f64 y)) #s(literal -1 binary64))) |
(+.f64 (neg.f64 (neg.f64 y)) (*.f64 (*.f64 (/.f64 x y) (neg.f64 x)) (neg.f64 y))) |
(+.f64 (*.f64 (*.f64 (/.f64 x y) (neg.f64 x)) (neg.f64 y)) (neg.f64 (neg.f64 y))) |
(*.f64 (pow.f64 #s(approx (+ (* x x) y) (*.f64 (fma.f64 (/.f64 x y) (neg.f64 x) #s(literal -1 binary64)) (neg.f64 y))) #s(literal 1/4 binary64)) (pow.f64 #s(approx (+ (* x x) y) (*.f64 (fma.f64 (/.f64 x y) (neg.f64 x) #s(literal -1 binary64)) (neg.f64 y))) #s(literal 1/4 binary64))) |
(pow.f64 #s(approx (+ (* x x) y) (*.f64 (fma.f64 (/.f64 x y) (neg.f64 x) #s(literal -1 binary64)) (neg.f64 y))) #s(literal 1/2 binary64)) |
(sqrt.f64 #s(approx (+ (* x x) y) (*.f64 (fma.f64 (/.f64 x y) (neg.f64 x) #s(literal -1 binary64)) (neg.f64 y)))) |
(exp.f64 (*.f64 (log.f64 #s(approx (+ (* x x) y) (*.f64 (fma.f64 (/.f64 x y) (neg.f64 x) #s(literal -1 binary64)) (neg.f64 y)))) #s(literal 1/2 binary64))) |
#s(approx (+ (* x x) y) (*.f64 (fma.f64 (/.f64 x y) (neg.f64 x) #s(literal -1 binary64)) (neg.f64 y))) |
(neg.f64 y) |
(/.f64 (-.f64 #s(literal 1 binary64) (/.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 y y))) (-.f64 #s(literal -1 binary64) (*.f64 (/.f64 x y) (neg.f64 x)))) |
(/.f64 (neg.f64 (-.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 y y)) #s(literal 1 binary64))) (neg.f64 (-.f64 (*.f64 (/.f64 x y) (neg.f64 x)) #s(literal -1 binary64)))) |
(/.f64 (neg.f64 (+.f64 (neg.f64 (pow.f64 (*.f64 (/.f64 x y) x) #s(literal 3 binary64))) #s(literal -1 binary64))) (neg.f64 (+.f64 (+.f64 #s(literal 1 binary64) (*.f64 (*.f64 (/.f64 x y) x) #s(literal -1 binary64))) (/.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 y y))))) |
(/.f64 (-.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 y y)) #s(literal 1 binary64)) (-.f64 (*.f64 (/.f64 x y) (neg.f64 x)) #s(literal -1 binary64))) |
(/.f64 (+.f64 (neg.f64 (pow.f64 (*.f64 (/.f64 x y) x) #s(literal 3 binary64))) #s(literal -1 binary64)) (+.f64 #s(literal 1 binary64) (-.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 y y)) (*.f64 (/.f64 x y) (*.f64 (neg.f64 x) #s(literal -1 binary64)))))) |
(/.f64 (+.f64 (neg.f64 (pow.f64 (*.f64 (/.f64 x y) x) #s(literal 3 binary64))) #s(literal -1 binary64)) (+.f64 (+.f64 #s(literal 1 binary64) (*.f64 (*.f64 (/.f64 x y) x) #s(literal -1 binary64))) (/.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 y y)))) |
(fma.f64 (/.f64 x y) (neg.f64 x) #s(literal -1 binary64)) |
(fma.f64 (neg.f64 x) (/.f64 x y) #s(literal -1 binary64)) |
(fma.f64 x (neg.f64 (/.f64 x y)) #s(literal -1 binary64)) |
(-.f64 (/.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 y y)) (-.f64 (*.f64 (/.f64 x y) (neg.f64 x)) #s(literal -1 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 (*.f64 (/.f64 x y) (neg.f64 x)) #s(literal -1 binary64)))) |
(-.f64 #s(literal -1 binary64) (*.f64 (neg.f64 (/.f64 x y)) (neg.f64 x))) |
(-.f64 #s(literal -1 binary64) (*.f64 (neg.f64 (neg.f64 x)) (/.f64 x y))) |
(-.f64 #s(literal -1 binary64) (*.f64 (/.f64 x y) x)) |
(+.f64 (/.f64 (neg.f64 (pow.f64 (*.f64 (/.f64 x y) x) #s(literal 3 binary64))) (+.f64 (+.f64 #s(literal 1 binary64) (*.f64 (*.f64 (/.f64 x y) x) #s(literal -1 binary64))) (/.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 y y)))) (/.f64 #s(literal -1 binary64) (+.f64 (+.f64 #s(literal 1 binary64) (*.f64 (*.f64 (/.f64 x y) x) #s(literal -1 binary64))) (/.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 y y))))) |
(+.f64 (*.f64 (/.f64 x y) (neg.f64 x)) #s(literal -1 binary64)) |
(+.f64 #s(literal -1 binary64) (*.f64 (/.f64 x y) (neg.f64 x))) |
Compiled 2 699 to 500 computations (81.5% saved)
6 alts after pruning (1 fresh and 5 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 127 | 1 | 128 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 5 | 5 |
| Done | 0 | 0 | 0 |
| Total | 127 | 6 | 133 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 70.6% | (sqrt.f64 (fma.f64 x x y)) |
| ✓ | 60.8% | (sqrt.f64 #s(approx (+ (* x x) y) (*.f64 (neg.f64 y) (fma.f64 (neg.f64 x) (/.f64 x y) #s(literal -1 binary64))))) |
| ▶ | 41.9% | (sqrt.f64 #s(approx (+ (* x x) y) (*.f64 x x))) |
| ✓ | 71.7% | #s(approx (sqrt (+ (* x x) y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) x) y x)) |
| ✓ | 31.4% | #s(approx (sqrt (+ (* x x) y)) (sqrt.f64 y)) |
| ✓ | 1.2% | #s(approx (sqrt (+ (* x x) y)) (neg.f64 x)) |
Compiled 63 to 46 computations (27% saved)
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 x x) | |
| cost-diff | 0 | #s(approx (+ (* x x) y) (*.f64 x x)) | |
| cost-diff | 0 | (sqrt.f64 #s(approx (+ (* x x) y) (*.f64 x x))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 23 |
| 0 | 9 | 23 |
| 1 | 14 | 23 |
| 2 | 33 | 23 |
| 3 | 60 | 23 |
| 4 | 75 | 23 |
| 0 | 75 | 21 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
(sqrt.f64 #s(approx (+ (* x x) y) (*.f64 x x))) |
#s(approx (+ (* x x) y) (*.f64 x x)) |
(*.f64 x x) |
x |
| Outputs |
|---|
(sqrt.f64 #s(approx (+ (* x x) y) (*.f64 x x))) |
#s(approx (+ (* x x) y) (*.f64 x x)) |
(*.f64 x x) |
x |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (*.f64 x x) | |
| accuracy | 18.47792948985183 | #s(approx (+ (* x x) y) (*.f64 x x)) | |
| accuracy | 18.840298536312535 | (sqrt.f64 #s(approx (+ (* x x) y) (*.f64 x x))) |
| 15.0ms | 256× | 0 | valid |
Compiled 17 to 7 computations (58.8% saved)
ival-mult: 6.0ms (67.9% of total)ival-sqrt: 2.0ms (22.6% of total)ival-add: 1.0ms (11.3% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
(sqrt.f64 #s(approx (+ (* x x) y) (*.f64 x x))) |
#s(approx (+ (* x x) y) (*.f64 x x)) |
(*.f64 x x) |
| Outputs |
|---|
(sqrt y) |
(+ (sqrt y) (* 1/2 (* (pow x 2) (sqrt (/ 1 y))))) |
(+ (sqrt y) (* (pow x 2) (+ (* -1/8 (* (pow x 2) (sqrt (/ 1 (pow y 3))))) (* 1/2 (sqrt (/ 1 y)))))) |
(+ (sqrt y) (* (pow x 2) (+ (* 1/2 (sqrt (/ 1 y))) (* (pow x 2) (+ (* -1/8 (sqrt (/ 1 (pow y 3)))) (* 1/16 (* (pow x 2) (sqrt (/ 1 (pow y 5)))))))))) |
y |
(+ y (pow x 2)) |
(pow x 2) |
x |
(* x (+ 1 (* 1/2 (/ y (pow x 2))))) |
(* x (+ 1 (+ (* -1/8 (/ (pow y 2) (pow x 4))) (* 1/2 (/ y (pow x 2)))))) |
(* x (+ 1 (+ (* -1/8 (/ (pow y 2) (pow x 4))) (+ (* 1/16 (/ (pow y 3) (pow x 6))) (* 1/2 (/ y (pow x 2))))))) |
(* (pow x 2) (+ 1 (/ y (pow x 2)))) |
(* -1 x) |
(* -1 (* x (+ 1 (* 1/2 (/ y (pow x 2)))))) |
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 2) (pow x 4))) (* 1/2 (/ y (pow x 2))))))) |
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 2) (pow x 4))) (+ (* 1/16 (/ (pow y 3) (pow x 6))) (* 1/2 (/ y (pow x 2)))))))) |
(+ x (* 1/2 (/ y x))) |
(+ x (* y (+ (* -1/8 (/ y (pow x 3))) (* 1/2 (/ 1 x))))) |
(+ x (* y (+ (* y (- (* 1/16 (/ y (pow x 5))) (* 1/8 (/ 1 (pow x 3))))) (* 1/2 (/ 1 x))))) |
(* y (+ (sqrt (/ 1 y)) (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3))))))) |
(* y (+ (sqrt (/ 1 y)) (+ (* -1/8 (* (pow x 4) (sqrt (/ 1 (pow y 5))))) (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3)))))))) |
(* y (+ (sqrt (/ 1 y)) (+ (* -1/8 (* (pow x 4) (sqrt (/ 1 (pow y 5))))) (+ (* 1/16 (* (pow x 6) (sqrt (/ 1 (pow y 7))))) (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3))))))))) |
(* y (+ 1 (/ (pow x 2) y))) |
(* -1 (* (sqrt y) (pow (sqrt -1) 2))) |
(* -1 (* y (+ (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3))))) (* (sqrt (/ 1 y)) (pow (sqrt -1) 2))))) |
(* -1 (* y (+ (* -1/8 (* (/ (pow x 4) (pow (sqrt -1) 2)) (sqrt (/ 1 (pow y 5))))) (+ (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3))))) (* (sqrt (/ 1 y)) (pow (sqrt -1) 2)))))) |
(* -1 (* y (+ (* -1/8 (* (/ (pow x 4) (pow (sqrt -1) 2)) (sqrt (/ 1 (pow y 5))))) (+ (* 1/16 (* (/ (pow x 6) (pow (sqrt -1) 4)) (sqrt (/ 1 (pow y 7))))) (+ (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3))))) (* (sqrt (/ 1 y)) (pow (sqrt -1) 2))))))) |
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 1))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | -inf | ((sqrt (+ (* x x) y)) (+ (* x x) y) (* x x)) |
| 0.0ms | x | @ | inf | ((sqrt (+ (* x x) y)) (+ (* x x) y) (* x x)) |
| 0.0ms | x | @ | 0 | ((sqrt (+ (* x x) y)) (+ (* x x) y) (* x x)) |
| 0.0ms | y | @ | -inf | ((sqrt (+ (* x x) y)) (+ (* x x) y) (* x x)) |
| 0.0ms | y | @ | inf | ((sqrt (+ (* x x) y)) (+ (* x x) y) (* x x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 133 | 524 |
| 1 | 418 | 509 |
| 2 | 1706 | 488 |
| 0 | 6419 | 449 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(sqrt y) |
(+ (sqrt y) (* 1/2 (* (pow x 2) (sqrt (/ 1 y))))) |
(+ (sqrt y) (* (pow x 2) (+ (* -1/8 (* (pow x 2) (sqrt (/ 1 (pow y 3))))) (* 1/2 (sqrt (/ 1 y)))))) |
(+ (sqrt y) (* (pow x 2) (+ (* 1/2 (sqrt (/ 1 y))) (* (pow x 2) (+ (* -1/8 (sqrt (/ 1 (pow y 3)))) (* 1/16 (* (pow x 2) (sqrt (/ 1 (pow y 5)))))))))) |
y |
(+ y (pow x 2)) |
(pow x 2) |
x |
(* x (+ 1 (* 1/2 (/ y (pow x 2))))) |
(* x (+ 1 (+ (* -1/8 (/ (pow y 2) (pow x 4))) (* 1/2 (/ y (pow x 2)))))) |
(* x (+ 1 (+ (* -1/8 (/ (pow y 2) (pow x 4))) (+ (* 1/16 (/ (pow y 3) (pow x 6))) (* 1/2 (/ y (pow x 2))))))) |
(* (pow x 2) (+ 1 (/ y (pow x 2)))) |
(* -1 x) |
(* -1 (* x (+ 1 (* 1/2 (/ y (pow x 2)))))) |
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 2) (pow x 4))) (* 1/2 (/ y (pow x 2))))))) |
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 2) (pow x 4))) (+ (* 1/16 (/ (pow y 3) (pow x 6))) (* 1/2 (/ y (pow x 2)))))))) |
(+ x (* 1/2 (/ y x))) |
(+ x (* y (+ (* -1/8 (/ y (pow x 3))) (* 1/2 (/ 1 x))))) |
(+ x (* y (+ (* y (- (* 1/16 (/ y (pow x 5))) (* 1/8 (/ 1 (pow x 3))))) (* 1/2 (/ 1 x))))) |
(* y (+ (sqrt (/ 1 y)) (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3))))))) |
(* y (+ (sqrt (/ 1 y)) (+ (* -1/8 (* (pow x 4) (sqrt (/ 1 (pow y 5))))) (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3)))))))) |
(* y (+ (sqrt (/ 1 y)) (+ (* -1/8 (* (pow x 4) (sqrt (/ 1 (pow y 5))))) (+ (* 1/16 (* (pow x 6) (sqrt (/ 1 (pow y 7))))) (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3))))))))) |
(* y (+ 1 (/ (pow x 2) y))) |
(* -1 (* (sqrt y) (pow (sqrt -1) 2))) |
(* -1 (* y (+ (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3))))) (* (sqrt (/ 1 y)) (pow (sqrt -1) 2))))) |
(* -1 (* y (+ (* -1/8 (* (/ (pow x 4) (pow (sqrt -1) 2)) (sqrt (/ 1 (pow y 5))))) (+ (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3))))) (* (sqrt (/ 1 y)) (pow (sqrt -1) 2)))))) |
(* -1 (* y (+ (* -1/8 (* (/ (pow x 4) (pow (sqrt -1) 2)) (sqrt (/ 1 (pow y 5))))) (+ (* 1/16 (* (/ (pow x 6) (pow (sqrt -1) 4)) (sqrt (/ 1 (pow y 7))))) (+ (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3))))) (* (sqrt (/ 1 y)) (pow (sqrt -1) 2))))))) |
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 1))) |
| Outputs |
|---|
(sqrt y) |
(sqrt.f64 y) |
(+ (sqrt y) (* 1/2 (* (pow x 2) (sqrt (/ 1 y))))) |
(fma.f64 (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) (sqrt.f64 y)) |
(+ (sqrt y) (* (pow x 2) (+ (* -1/8 (* (pow x 2) (sqrt (/ 1 (pow y 3))))) (* 1/2 (sqrt (/ 1 y)))))) |
(fma.f64 (fma.f64 (*.f64 #s(literal -1/8 binary64) (*.f64 x x)) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64)))) (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) #s(literal 1/2 binary64))) (*.f64 x x) (sqrt.f64 y)) |
(+ (sqrt y) (* (pow x 2) (+ (* 1/2 (sqrt (/ 1 y))) (* (pow x 2) (+ (* -1/8 (sqrt (/ 1 (pow y 3)))) (* 1/16 (* (pow x 2) (sqrt (/ 1 (pow y 5)))))))))) |
(fma.f64 (pow.f64 x #s(literal 4 binary64)) (fma.f64 (*.f64 #s(literal 1/16 binary64) (*.f64 x x)) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 5 binary64)))) (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64)))) #s(literal -1/8 binary64))) (fma.f64 (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) (sqrt.f64 y))) |
y |
(+ y (pow x 2)) |
(fma.f64 x x y) |
(pow x 2) |
(*.f64 x x) |
x |
(* x (+ 1 (* 1/2 (/ y (pow x 2))))) |
(*.f64 (fma.f64 (/.f64 y (*.f64 x x)) #s(literal 1/2 binary64) #s(literal 1 binary64)) x) |
(* x (+ 1 (+ (* -1/8 (/ (pow y 2) (pow x 4))) (* 1/2 (/ y (pow x 2)))))) |
(*.f64 (fma.f64 (*.f64 #s(literal -1/8 binary64) y) (/.f64 y (pow.f64 x #s(literal 4 binary64))) (fma.f64 (/.f64 y (*.f64 x x)) #s(literal 1/2 binary64) #s(literal 1 binary64))) x) |
(* x (+ 1 (+ (* -1/8 (/ (pow y 2) (pow x 4))) (+ (* 1/16 (/ (pow y 3) (pow x 6))) (* 1/2 (/ y (pow x 2))))))) |
(*.f64 (fma.f64 (pow.f64 y #s(literal 3 binary64)) (/.f64 #s(literal 1/16 binary64) (pow.f64 x #s(literal 6 binary64))) (fma.f64 (*.f64 #s(literal -1/8 binary64) y) (/.f64 y (pow.f64 x #s(literal 4 binary64))) (fma.f64 (/.f64 y (*.f64 x x)) #s(literal 1/2 binary64) #s(literal 1 binary64)))) x) |
(* (pow x 2) (+ 1 (/ y (pow x 2)))) |
(*.f64 (fma.f64 (/.f64 y (*.f64 x x)) x x) x) |
(* -1 x) |
(neg.f64 x) |
(* -1 (* x (+ 1 (* 1/2 (/ y (pow x 2)))))) |
(*.f64 (fma.f64 (/.f64 #s(literal -1/2 binary64) x) (/.f64 y x) #s(literal -1 binary64)) x) |
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 2) (pow x 4))) (* 1/2 (/ y (pow x 2))))))) |
(*.f64 (fma.f64 #s(literal 1/8 binary64) (*.f64 (/.f64 y (pow.f64 x #s(literal 4 binary64))) y) (fma.f64 (/.f64 #s(literal -1/2 binary64) x) (/.f64 y x) #s(literal -1 binary64))) x) |
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 2) (pow x 4))) (+ (* 1/16 (/ (pow y 3) (pow x 6))) (* 1/2 (/ y (pow x 2)))))))) |
(*.f64 (neg.f64 x) (fma.f64 (pow.f64 y #s(literal 3 binary64)) (/.f64 #s(literal 1/16 binary64) (pow.f64 x #s(literal 6 binary64))) (fma.f64 (*.f64 #s(literal -1/8 binary64) y) (/.f64 y (pow.f64 x #s(literal 4 binary64))) (fma.f64 (/.f64 y (*.f64 x x)) #s(literal 1/2 binary64) #s(literal 1 binary64))))) |
(+ x (* 1/2 (/ y x))) |
(fma.f64 (/.f64 #s(literal 1/2 binary64) x) y x) |
(+ x (* y (+ (* -1/8 (/ y (pow x 3))) (* 1/2 (/ 1 x))))) |
(fma.f64 (fma.f64 (/.f64 y (pow.f64 x #s(literal 3 binary64))) #s(literal -1/8 binary64) (/.f64 #s(literal 1/2 binary64) x)) y x) |
(+ x (* y (+ (* y (- (* 1/16 (/ y (pow x 5))) (* 1/8 (/ 1 (pow x 3))))) (* 1/2 (/ 1 x))))) |
(fma.f64 (fma.f64 (fma.f64 (/.f64 y (pow.f64 x #s(literal 5 binary64))) #s(literal 1/16 binary64) (/.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 3 binary64)))) y (/.f64 #s(literal 1/2 binary64) x)) y x) |
(* y (+ (sqrt (/ 1 y)) (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3))))))) |
(*.f64 (fma.f64 (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64)))) (sqrt.f64 (/.f64 #s(literal 1 binary64) y))) y) |
(* y (+ (sqrt (/ 1 y)) (+ (* -1/8 (* (pow x 4) (sqrt (/ 1 (pow y 5))))) (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3)))))))) |
(*.f64 (fma.f64 (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/8 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 5 binary64)))) (fma.f64 (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64)))) (sqrt.f64 (/.f64 #s(literal 1 binary64) y)))) y) |
(* y (+ (sqrt (/ 1 y)) (+ (* -1/8 (* (pow x 4) (sqrt (/ 1 (pow y 5))))) (+ (* 1/16 (* (pow x 6) (sqrt (/ 1 (pow y 7))))) (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3))))))))) |
(*.f64 (fma.f64 (*.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 1/16 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 7 binary64)))) (fma.f64 (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/8 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 5 binary64)))) (fma.f64 (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64)))) (sqrt.f64 (/.f64 #s(literal 1 binary64) y))))) y) |
(* y (+ 1 (/ (pow x 2) y))) |
(fma.f64 (/.f64 (*.f64 x x) y) y y) |
(* -1 (* (sqrt y) (pow (sqrt -1) 2))) |
(sqrt.f64 y) |
(* -1 (* y (+ (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3))))) (* (sqrt (/ 1 y)) (pow (sqrt -1) 2))))) |
(*.f64 (fma.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 x x)) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64)))) (sqrt.f64 (/.f64 #s(literal 1 binary64) y))) y) |
(* -1 (* y (+ (* -1/8 (* (/ (pow x 4) (pow (sqrt -1) 2)) (sqrt (/ 1 (pow y 5))))) (+ (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3))))) (* (sqrt (/ 1 y)) (pow (sqrt -1) 2)))))) |
(*.f64 (fma.f64 (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/8 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 5 binary64)))) (fma.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 x x)) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64)))) (sqrt.f64 (/.f64 #s(literal 1 binary64) y)))) y) |
(* -1 (* y (+ (* -1/8 (* (/ (pow x 4) (pow (sqrt -1) 2)) (sqrt (/ 1 (pow y 5))))) (+ (* 1/16 (* (/ (pow x 6) (pow (sqrt -1) 4)) (sqrt (/ 1 (pow y 7))))) (+ (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3))))) (* (sqrt (/ 1 y)) (pow (sqrt -1) 2))))))) |
(*.f64 (fma.f64 (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/8 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 5 binary64)))) (fma.f64 (*.f64 #s(literal -1/16 binary64) (pow.f64 x #s(literal 6 binary64))) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 7 binary64)))) (fma.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 x x)) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64)))) (sqrt.f64 (/.f64 #s(literal 1 binary64) y))))) y) |
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 1))) |
(*.f64 (neg.f64 y) (fma.f64 (neg.f64 x) (/.f64 x y) #s(literal -1 binary64))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 22 |
| 0 | 9 | 22 |
| 1 | 31 | 22 |
| 0 | 210 | 20 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
(sqrt.f64 #s(approx (+ (* x x) y) (*.f64 x x))) |
#s(approx (+ (* x x) y) (*.f64 x x)) |
(*.f64 x x) |
| Outputs |
|---|
(*.f64 (pow.f64 #s(approx (+ (* x x) y) (*.f64 x x)) #s(literal 1/4 binary64)) (pow.f64 #s(approx (+ (* x x) y) (*.f64 x x)) #s(literal 1/4 binary64))) |
(pow.f64 #s(approx (+ (* x x) y) (*.f64 x x)) #s(literal 1/2 binary64)) |
(sqrt.f64 #s(approx (+ (* x x) y) (*.f64 x x))) |
(exp.f64 (*.f64 (log.f64 #s(approx (+ (* x x) y) (*.f64 x x))) #s(literal 1/2 binary64))) |
#s(approx (+ (* x x) y) (*.f64 x x)) |
(*.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 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 (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))) |
Compiled 860 to 189 computations (78% saved)
6 alts after pruning (0 fresh and 6 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 44 | 0 | 44 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 5 | 5 |
| Total | 44 | 6 | 50 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 70.6% | (sqrt.f64 (fma.f64 x x y)) |
| ✓ | 60.8% | (sqrt.f64 #s(approx (+ (* x x) y) (*.f64 (neg.f64 y) (fma.f64 (neg.f64 x) (/.f64 x y) #s(literal -1 binary64))))) |
| ✓ | 41.9% | (sqrt.f64 #s(approx (+ (* x x) y) (*.f64 x x))) |
| ✓ | 71.7% | #s(approx (sqrt (+ (* x x) y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) x) y x)) |
| ✓ | 31.4% | #s(approx (sqrt (+ (* x x) y)) (sqrt.f64 y)) |
| ✓ | 1.2% | #s(approx (sqrt (+ (* x x) y)) (neg.f64 x)) |
Compiled 132 to 73 computations (44.7% saved)
| Inputs |
|---|
#s(approx (sqrt (+ (* x x) y)) (neg.f64 x)) |
#s(approx (sqrt (+ (* x x) y)) (sqrt.f64 y)) |
(sqrt.f64 #s(approx (+ (* x x) y) (*.f64 x x))) |
(sqrt.f64 (fma.f64 x x y)) |
#s(approx (sqrt (+ (* x x) y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) x) y x)) |
(sqrt.f64 (+.f64 (*.f64 x x) y)) |
(sqrt.f64 #s(approx (+ (* x x) y) (*.f64 (neg.f64 y) (fma.f64 (neg.f64 x) (/.f64 x y) #s(literal -1 binary64))))) |
| Outputs |
|---|
(sqrt.f64 (fma.f64 x x y)) |
#s(approx (sqrt (+ (* x x) y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) x) y x)) |
5 calls:
| 37.0ms | (sqrt.f64 (+.f64 (*.f64 x x) y)) |
| 3.0ms | x |
| 3.0ms | y |
| 3.0ms | (+.f64 (*.f64 x x) y) |
| 2.0ms | (*.f64 x x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 2 | (*.f64 x x) |
| 100.0% | 2 | (+.f64 (*.f64 x x) y) |
| 100.0% | 2 | (sqrt.f64 (+.f64 (*.f64 x x) y)) |
| 100.0% | 2 | x |
| 86.2% | 2 | y |
Compiled 16 to 16 computations (0% saved)
| Inputs |
|---|
#s(approx (sqrt (+ (* x x) y)) (neg.f64 x)) |
#s(approx (sqrt (+ (* x x) y)) (sqrt.f64 y)) |
(sqrt.f64 #s(approx (+ (* x x) y) (*.f64 x x))) |
(sqrt.f64 (fma.f64 x x y)) |
| Outputs |
|---|
(sqrt.f64 (fma.f64 x x y)) |
5 calls:
| 2.0ms | x |
| 2.0ms | (sqrt.f64 (+.f64 (*.f64 x x) y)) |
| 2.0ms | (+.f64 (*.f64 x x) y) |
| 2.0ms | y |
| 2.0ms | (*.f64 x x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 70.6% | 1 | y |
| 70.6% | 1 | (*.f64 x x) |
| 70.6% | 1 | (+.f64 (*.f64 x x) y) |
| 70.6% | 1 | (sqrt.f64 (+.f64 (*.f64 x x) y)) |
| 70.6% | 1 | x |
Compiled 16 to 16 computations (0% saved)
| Inputs |
|---|
#s(approx (sqrt (+ (* x x) y)) (neg.f64 x)) |
#s(approx (sqrt (+ (* x x) y)) (sqrt.f64 y)) |
(sqrt.f64 #s(approx (+ (* x x) y) (*.f64 x x))) |
| Outputs |
|---|
#s(approx (sqrt (+ (* x x) y)) (sqrt.f64 y)) |
(sqrt.f64 #s(approx (+ (* x x) y) (*.f64 x x))) |
5 calls:
| 5.0ms | (sqrt.f64 (+.f64 (*.f64 x x) y)) |
| 2.0ms | (+.f64 (*.f64 x x) y) |
| 2.0ms | x |
| 2.0ms | y |
| 1.0ms | (*.f64 x x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 60.0% | 2 | x |
| 58.0% | 2 | y |
| 60.0% | 2 | (*.f64 x x) |
| 45.0% | 2 | (+.f64 (*.f64 x x) y) |
| 45.0% | 2 | (sqrt.f64 (+.f64 (*.f64 x x) y)) |
Compiled 16 to 16 computations (0% saved)
| Inputs |
|---|
#s(approx (sqrt (+ (* x x) y)) (neg.f64 x)) |
#s(approx (sqrt (+ (* x x) y)) (sqrt.f64 y)) |
| Outputs |
|---|
#s(approx (sqrt (+ (* x x) y)) (sqrt.f64 y)) |
5 calls:
| 1.0ms | x |
| 1.0ms | y |
| 1.0ms | (sqrt.f64 (+.f64 (*.f64 x x) y)) |
| 1.0ms | (+.f64 (*.f64 x x) y) |
| 1.0ms | (*.f64 x x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 31.4% | 1 | (+.f64 (*.f64 x x) y) |
| 31.4% | 1 | (sqrt.f64 (+.f64 (*.f64 x x) y)) |
| 31.4% | 1 | y |
| 31.4% | 1 | x |
| 31.4% | 1 | (*.f64 x x) |
Compiled 16 to 16 computations (0% saved)
Total 0.0b remaining (0%)
Threshold costs 0b (0%)
| Inputs |
|---|
#s(approx (sqrt (+ (* x x) y)) (neg.f64 x)) |
| Outputs |
|---|
#s(approx (sqrt (+ (* x x) y)) (neg.f64 x)) |
5 calls:
| 4.0ms | (*.f64 x x) |
| 1.0ms | x |
| 1.0ms | y |
| 1.0ms | (sqrt.f64 (+.f64 (*.f64 x x) y)) |
| 1.0ms | (+.f64 (*.f64 x x) y) |
| Accuracy | Segments | Branch |
|---|---|---|
| 1.2% | 1 | x |
| 1.2% | 1 | y |
| 1.2% | 1 | (*.f64 x x) |
| 1.2% | 1 | (+.f64 (*.f64 x x) y) |
| 1.2% | 1 | (sqrt.f64 (+.f64 (*.f64 x x) y)) |
Compiled 16 to 16 computations (0% saved)
| 1× | binary-search |
| 1× | predicate-same |
| Time | Left | Right |
|---|---|---|
| 1.0ms | 1.336951901645307e+139 | 1.1345771939687099e+141 |
| 1.0ms | 16× | 0 | valid |
Compiled 27 to 25 computations (7.4% saved)
ival-true: 0.0ms (0% of total)ival-add: 0.0ms (0% of total)adjust: 0.0ms (0% of total)ival-mult: 0.0ms (0% of total)ival-sqrt: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 1× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | 5.49521539324436e-164 | 1.3083645849342579e-148 |
Compiled 9 to 10 computations (-11.1% saved)
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 24 | 70 |
| 1 | 33 | 70 |
| 2 | 53 | 70 |
| 3 | 80 | 70 |
| 4 | 95 | 70 |
| 1× | saturated |
| Inputs |
|---|
(if (<=.f64 x #s(literal 20000000000000000656831249784098521579740251327192233910246268525174940137975759910880026312554548253678990095686448711572969812684229836800 binary64)) (sqrt.f64 (fma.f64 x x y)) #s(approx (sqrt (+ (* x x) y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) x) y x))) |
(sqrt.f64 (fma.f64 x x y)) |
(if (<=.f64 (*.f64 x x) #s(literal 6483618076376551/64836180763765514976756372870174392984569472378788076562432145776416450178326689787495422639798496785753091978301574830974924235553308989185732419283030682610330965678148586307584 binary64)) #s(approx (sqrt (+ (* x x) y)) (sqrt.f64 y)) (sqrt.f64 #s(approx (+ (* x x) y) (*.f64 x x)))) |
#s(approx (sqrt (+ (* x x) y)) (sqrt.f64 y)) |
#s(approx (sqrt (+ (* x x) y)) (neg.f64 x)) |
| Outputs |
|---|
(if (<=.f64 x #s(literal 20000000000000000656831249784098521579740251327192233910246268525174940137975759910880026312554548253678990095686448711572969812684229836800 binary64)) (sqrt.f64 (fma.f64 x x y)) #s(approx (sqrt (+ (* x x) y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) x) y x))) |
(sqrt.f64 (fma.f64 x x y)) |
(if (<=.f64 (*.f64 x x) #s(literal 6483618076376551/64836180763765514976756372870174392984569472378788076562432145776416450178326689787495422639798496785753091978301574830974924235553308989185732419283030682610330965678148586307584 binary64)) #s(approx (sqrt (+ (* x x) y)) (sqrt.f64 y)) (sqrt.f64 #s(approx (+ (* x x) y) (*.f64 x x)))) |
#s(approx (sqrt (+ (* x x) y)) (sqrt.f64 y)) |
#s(approx (sqrt (+ (* x x) y)) (neg.f64 x)) |
| 1× | done |
Compiled 70 to 24 computations (65.7% saved)
Compiled 254 to 118 computations (53.5% saved)
Loading profile data...