
Time bar (total: 3.8s)
| 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)
| 520.0ms | 8 256× | 0 | valid |
| 13.0ms | 313× | 0 | invalid |
ival-sqrt: 80.0ms (38.2% of total)ival-mult: 74.0ms (35.3% of total)ival-add: 43.0ms (20.5% of total)ival-true: 7.0ms (3.3% of total)ival-assert: 3.0ms (1.4% of total)adjust: 2.0ms (1% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 88 | 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 | 88 | 0 |
| ↳ | (+.f64 (*.f64 x x) y) | overflow | 88 | |
| ↳ | (*.f64 x x) | overflow | 88 |
| Predicted + | Predicted - | |
|---|---|---|
| + | 88 | 0 |
| - | 0 | 168 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 88 | 0 | 0 |
| - | 0 | 0 | 168 |
| number | freq |
|---|---|
| 0 | 168 |
| 1 | 88 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 1 | 0 | 0 |
| - | 0 | 0 | 0 |
| 26.0ms | 512× | 0 | valid |
Compiled 42 to 19 computations (54.8% saved)
ival-sqrt: 7.0ms (48.9% of total)ival-mult: 4.0ms (28% of total)ival-add: 2.0ms (14% 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 |
|---|---|---|
| ▶ | 67.8% | (sqrt.f64 (+.f64 (*.f64 x x) y)) |
Compiled 6 to 5 computations (16.7% saved)
| Inputs |
|---|
(sqrt.f64 (+.f64 (*.f64 x x) y)) |
(+.f64 (*.f64 x x) y) |
(*.f64 x x) |
x |
y |
| Outputs |
|---|
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (sqrt y))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (+ (sqrt y) (* 1/2 (* (pow x 2) (sqrt (/ 1 y))))))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (+ (sqrt y) (* (pow x 2) (+ (* -1/8 (* (pow x 2) (sqrt (/ 1 (pow y 3))))) (* 1/2 (sqrt (/ 1 y)))))))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (+ (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)))))))))))) |
#s(approx (+ (* x x) y) #s(hole binary64 y)) |
#s(approx (+ (* x x) y) #s(hole binary64 (+ y (pow x 2)))) |
#s(approx (* x x) #s(hole binary64 (pow x 2))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 x)) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* x (+ 1 (* 1/2 (/ y (pow x 2))))))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* x (+ 1 (+ (* -1/8 (/ (pow y 2) (pow x 4))) (* 1/2 (/ y (pow x 2)))))))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* x (+ 1 (+ (* -1/8 (/ (pow y 2) (pow x 4))) (+ (* 1/16 (/ (pow y 3) (pow x 6))) (* 1/2 (/ y (pow x 2))))))))) |
#s(approx (+ (* x x) y) #s(hole binary64 (pow x 2))) |
#s(approx (+ (* x x) y) #s(hole binary64 (* (pow x 2) (+ 1 (/ y (pow x 2)))))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* -1 x))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* -1 (* x (+ 1 (* 1/2 (/ y (pow x 2)))))))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 2) (pow x 4))) (* 1/2 (/ y (pow x 2))))))))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* -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)))))))))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (+ x (* 1/2 (/ y x))))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (+ x (* y (+ (* -1/8 (/ y (pow x 3))) (* 1/2 (/ 1 x))))))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (+ x (* y (+ (* y (- (* 1/16 (/ y (pow x 5))) (* 1/8 (/ 1 (pow x 3))))) (* 1/2 (/ 1 x))))))) |
#s(approx y #s(hole binary64 y)) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* y (+ (sqrt (/ 1 y)) (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3))))))))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* y (+ (sqrt (/ 1 y)) (+ (* -1/8 (* (pow x 4) (sqrt (/ 1 (pow y 5))))) (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3)))))))))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* 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))))))))))) |
#s(approx (+ (* x x) y) #s(hole binary64 (* y (+ 1 (/ (pow x 2) y))))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* -1 (* (sqrt y) (pow (sqrt -1) 2))))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* -1 (* y (+ (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3))))) (* (sqrt (/ 1 y)) (pow (sqrt -1) 2))))))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* -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)))))))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* -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))))))))) |
#s(approx (+ (* x x) y) #s(hole binary64 (* -1 (* y (- (* -1 (/ (pow x 2) y)) 1))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | y | @ | -inf | ((sqrt (+ (* x x) y)) (+ (* x x) y) (* x x) x y) |
| 1.0ms | x | @ | inf | ((sqrt (+ (* x x) y)) (+ (* x x) y) (* x x) x y) |
| 1.0ms | x | @ | -inf | ((sqrt (+ (* x x) y)) (+ (* x x) y) (* x x) x y) |
| 1.0ms | y | @ | inf | ((sqrt (+ (* x x) y)) (+ (* x x) y) (* x x) x y) |
| 1.0ms | x | @ | 0 | ((sqrt (+ (* x x) y)) (+ (* x x) y) (* x x) x y) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 167 | 727 |
| 1 | 457 | 712 |
| 2 | 1913 | 691 |
| 0 | 7007 | 624 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (sqrt y))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (+ (sqrt y) (* 1/2 (* (pow x 2) (sqrt (/ 1 y))))))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (+ (sqrt y) (* (pow x 2) (+ (* -1/8 (* (pow x 2) (sqrt (/ 1 (pow y 3))))) (* 1/2 (sqrt (/ 1 y)))))))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (+ (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)))))))))))) |
#s(approx (+ (* x x) y) #s(hole binary64 y)) |
#s(approx (+ (* x x) y) #s(hole binary64 (+ y (pow x 2)))) |
#s(approx (* x x) #s(hole binary64 (pow x 2))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 x)) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* x (+ 1 (* 1/2 (/ y (pow x 2))))))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* x (+ 1 (+ (* -1/8 (/ (pow y 2) (pow x 4))) (* 1/2 (/ y (pow x 2)))))))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* x (+ 1 (+ (* -1/8 (/ (pow y 2) (pow x 4))) (+ (* 1/16 (/ (pow y 3) (pow x 6))) (* 1/2 (/ y (pow x 2))))))))) |
#s(approx (+ (* x x) y) #s(hole binary64 (pow x 2))) |
#s(approx (+ (* x x) y) #s(hole binary64 (* (pow x 2) (+ 1 (/ y (pow x 2)))))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* -1 x))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* -1 (* x (+ 1 (* 1/2 (/ y (pow x 2)))))))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 2) (pow x 4))) (* 1/2 (/ y (pow x 2))))))))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* -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)))))))))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (+ x (* 1/2 (/ y x))))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (+ x (* y (+ (* -1/8 (/ y (pow x 3))) (* 1/2 (/ 1 x))))))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (+ x (* y (+ (* y (- (* 1/16 (/ y (pow x 5))) (* 1/8 (/ 1 (pow x 3))))) (* 1/2 (/ 1 x))))))) |
#s(approx y #s(hole binary64 y)) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* y (+ (sqrt (/ 1 y)) (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3))))))))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* y (+ (sqrt (/ 1 y)) (+ (* -1/8 (* (pow x 4) (sqrt (/ 1 (pow y 5))))) (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3)))))))))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* 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))))))))))) |
#s(approx (+ (* x x) y) #s(hole binary64 (* y (+ 1 (/ (pow x 2) y))))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* -1 (* (sqrt y) (pow (sqrt -1) 2))))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* -1 (* y (+ (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3))))) (* (sqrt (/ 1 y)) (pow (sqrt -1) 2))))))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* -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)))))))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* -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))))))))) |
#s(approx (+ (* x x) y) #s(hole binary64 (* -1 (* y (- (* -1 (/ (pow x 2) y)) 1))))) |
| Outputs |
|---|
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (sqrt y))) |
#s(approx (sqrt (+ (* x x) y)) (sqrt.f64 y)) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (+ (sqrt y) (* 1/2 (* (pow x 2) (sqrt (/ 1 y))))))) |
#s(approx (sqrt (+ (* x x) y)) (fma.f64 (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) (sqrt.f64 y))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (+ (sqrt y) (* (pow x 2) (+ (* -1/8 (* (pow x 2) (sqrt (/ 1 (pow y 3))))) (* 1/2 (sqrt (/ 1 y)))))))) |
#s(approx (sqrt (+ (* x x) 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))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (+ (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)))))))))))) |
#s(approx (sqrt (+ (* x x) y)) (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)))) |
#s(approx (+ (* x x) y) #s(hole binary64 y)) |
#s(approx (+ (* x x) y) y) |
#s(approx (+ (* x x) y) #s(hole binary64 (+ y (pow x 2)))) |
#s(approx (+ (* x x) y) (fma.f64 x x y)) |
#s(approx (* x x) #s(hole binary64 (pow x 2))) |
#s(approx (* x x) (*.f64 x x)) |
#s(approx x #s(hole binary64 x)) |
#s(approx x x) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 x)) |
#s(approx (sqrt (+ (* x x) y)) x) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* x (+ 1 (* 1/2 (/ y (pow x 2))))))) |
#s(approx (sqrt (+ (* x x) y)) (*.f64 (fma.f64 (/.f64 y (*.f64 x x)) #s(literal 1/2 binary64) #s(literal 1 binary64)) x)) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* x (+ 1 (+ (* -1/8 (/ (pow y 2) (pow x 4))) (* 1/2 (/ y (pow x 2)))))))) |
#s(approx (sqrt (+ (* x x) y)) (*.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)) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* x (+ 1 (+ (* -1/8 (/ (pow y 2) (pow x 4))) (+ (* 1/16 (/ (pow y 3) (pow x 6))) (* 1/2 (/ y (pow x 2))))))))) |
#s(approx (sqrt (+ (* x x) y)) (*.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)) |
#s(approx (+ (* x x) y) #s(hole binary64 (pow x 2))) |
#s(approx (+ (* x x) y) (*.f64 x x)) |
#s(approx (+ (* x x) y) #s(hole binary64 (* (pow x 2) (+ 1 (/ y (pow x 2)))))) |
#s(approx (+ (* x x) y) (*.f64 (fma.f64 (/.f64 y (*.f64 x x)) x x) x)) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* -1 x))) |
#s(approx (sqrt (+ (* x x) y)) (neg.f64 x)) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* -1 (* x (+ 1 (* 1/2 (/ y (pow x 2)))))))) |
#s(approx (sqrt (+ (* x x) y)) (*.f64 (fma.f64 (/.f64 #s(literal -1/2 binary64) x) (/.f64 y x) #s(literal -1 binary64)) x)) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 2) (pow x 4))) (* 1/2 (/ y (pow x 2))))))))) |
#s(approx (sqrt (+ (* x x) y)) (*.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)) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* -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)))))))))) |
#s(approx (sqrt (+ (* x x) y)) (*.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)))))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (+ x (* 1/2 (/ y x))))) |
#s(approx (sqrt (+ (* x x) y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) x) y x)) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (+ x (* y (+ (* -1/8 (/ y (pow x 3))) (* 1/2 (/ 1 x))))))) |
#s(approx (sqrt (+ (* x x) y)) (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)) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (+ x (* y (+ (* y (- (* 1/16 (/ y (pow x 5))) (* 1/8 (/ 1 (pow x 3))))) (* 1/2 (/ 1 x))))))) |
#s(approx (sqrt (+ (* x x) y)) (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)) |
#s(approx y #s(hole binary64 y)) |
#s(approx y y) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* y (+ (sqrt (/ 1 y)) (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3))))))))) |
#s(approx (sqrt (+ (* x x) y)) (*.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)) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* y (+ (sqrt (/ 1 y)) (+ (* -1/8 (* (pow x 4) (sqrt (/ 1 (pow y 5))))) (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3)))))))))) |
#s(approx (sqrt (+ (* x x) y)) (*.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)) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* 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))))))))))) |
#s(approx (sqrt (+ (* x x) y)) (*.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)) |
#s(approx (+ (* x x) y) #s(hole binary64 (* y (+ 1 (/ (pow x 2) y))))) |
#s(approx (+ (* x x) y) (fma.f64 (/.f64 (*.f64 x x) y) y y)) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* -1 (* (sqrt y) (pow (sqrt -1) 2))))) |
#s(approx (sqrt (+ (* x x) y)) (sqrt.f64 y)) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* -1 (* y (+ (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3))))) (* (sqrt (/ 1 y)) (pow (sqrt -1) 2))))))) |
#s(approx (sqrt (+ (* x x) y)) (*.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)) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* -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)))))))) |
#s(approx (sqrt (+ (* x x) y)) (*.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)) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* -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))))))))) |
#s(approx (sqrt (+ (* x x) y)) (*.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)) |
#s(approx (+ (* x x) y) #s(hole binary64 (* -1 (* y (- (* -1 (/ (pow x 2) y)) 1))))) |
#s(approx (+ (* x x) y) (*.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 | 5 | 16 |
| 0 | 8 | 16 |
| 1 | 30 | 16 |
| 0 | 215 | 14 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
(sqrt.f64 (+.f64 (*.f64 x x) y)) |
(+.f64 (*.f64 x x) y) |
(*.f64 x x) |
x |
y |
| Outputs |
|---|
(*.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 (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 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))) |
x |
y |
Compiled 1 121 to 270 computations (75.9% saved)
4 alts after pruning (4 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 71 | 4 | 75 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 72 | 4 | 76 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 67.8% | (sqrt.f64 (fma.f64 x x y)) |
| ▶ | 33.0% | (sqrt.f64 #s(approx (+ (* x x) y) y)) |
| ▶ | 69.4% | #s(approx (sqrt (+ (* x x) y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) x) y x)) |
| ▶ | 69.2% | #s(approx (sqrt (+ (* x x) y)) x) |
Compiled 34 to 25 computations (26.5% saved)
| Inputs |
|---|
#s(approx (sqrt (+ (* x x) y)) x) |
x |
#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) |
y |
(sqrt.f64 #s(approx (+ (* x x) y) y)) |
#s(approx (+ (* x x) y) y) |
(sqrt.f64 (fma.f64 x x y)) |
(fma.f64 x x y) |
| Outputs |
|---|
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (sqrt y))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (+ (sqrt y) (* 1/2 (* (pow x 2) (sqrt (/ 1 y))))))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (+ (sqrt y) (* (pow x 2) (+ (* -1/8 (* (pow x 2) (sqrt (/ 1 (pow y 3))))) (* 1/2 (sqrt (/ 1 y)))))))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (+ (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)))))))))))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (+ (* (/ 1/2 x) y) x) #s(hole binary64 (* 1/2 (/ y x)))) |
#s(approx (+ (* (/ 1/2 x) y) x) #s(hole binary64 (/ (+ (* 1/2 y) (pow x 2)) x))) |
#s(approx (/ 1/2 x) #s(hole binary64 (/ 1/2 x))) |
#s(approx (+ (* x x) y) #s(hole binary64 y)) |
#s(approx (+ (* x x) y) #s(hole binary64 (+ y (pow x 2)))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 x)) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* x (+ 1 (* 1/2 (/ y (pow x 2))))))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* x (+ 1 (+ (* -1/8 (/ (pow y 2) (pow x 4))) (* 1/2 (/ y (pow x 2)))))))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* x (+ 1 (+ (* -1/8 (/ (pow y 2) (pow x 4))) (+ (* 1/16 (/ (pow y 3) (pow x 6))) (* 1/2 (/ y (pow x 2))))))))) |
#s(approx (+ (* (/ 1/2 x) y) x) #s(hole binary64 x)) |
#s(approx (+ (* (/ 1/2 x) y) x) #s(hole binary64 (* x (+ 1 (* 1/2 (/ y (pow x 2))))))) |
#s(approx (+ (* x x) y) #s(hole binary64 (pow x 2))) |
#s(approx (+ (* x x) y) #s(hole binary64 (* (pow x 2) (+ 1 (/ y (pow x 2)))))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* -1 x))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* -1 (* x (+ 1 (* 1/2 (/ y (pow x 2)))))))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 2) (pow x 4))) (* 1/2 (/ y (pow x 2))))))))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* -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)))))))))) |
#s(approx (+ (* (/ 1/2 x) y) x) #s(hole binary64 (* -1 (* x (- (* -1/2 (/ y (pow x 2))) 1))))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (+ x (* 1/2 (/ y x))))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (+ x (* y (+ (* -1/8 (/ y (pow x 3))) (* 1/2 (/ 1 x))))))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (+ x (* y (+ (* y (- (* 1/16 (/ y (pow x 5))) (* 1/8 (/ 1 (pow x 3))))) (* 1/2 (/ 1 x))))))) |
#s(approx (+ (* (/ 1/2 x) y) x) #s(hole binary64 (+ x (* 1/2 (/ y x))))) |
#s(approx y #s(hole binary64 y)) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* y (+ (sqrt (/ 1 y)) (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3))))))))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* y (+ (sqrt (/ 1 y)) (+ (* -1/8 (* (pow x 4) (sqrt (/ 1 (pow y 5))))) (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3)))))))))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* 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))))))))))) |
#s(approx (+ (* (/ 1/2 x) y) x) #s(hole binary64 (* y (+ (* 1/2 (/ 1 x)) (/ x y))))) |
#s(approx (+ (* x x) y) #s(hole binary64 (* y (+ 1 (/ (pow x 2) y))))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* -1 (* (sqrt y) (pow (sqrt -1) 2))))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* -1 (* y (+ (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3))))) (* (sqrt (/ 1 y)) (pow (sqrt -1) 2))))))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* -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)))))))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* -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))))))))) |
#s(approx (+ (* (/ 1/2 x) y) x) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) (* 1/2 (/ 1 x))))))) |
#s(approx (+ (* x x) y) #s(hole binary64 (* -1 (* y (- (* -1 (/ (pow x 2) y)) 1))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | ((sqrt (+ (* x x) y)) x (sqrt (+ (* x x) y)) (+ (* (/ 1/2 x) y) x) (/ 1/2 x) 1/2 y (sqrt (+ (* x x) y)) (+ (* x x) y) (sqrt (+ (* x x) y)) (+ (* x x) y)) |
| 1.0ms | x | @ | inf | ((sqrt (+ (* x x) y)) x (sqrt (+ (* x x) y)) (+ (* (/ 1/2 x) y) x) (/ 1/2 x) 1/2 y (sqrt (+ (* x x) y)) (+ (* x x) y) (sqrt (+ (* x x) y)) (+ (* x x) y)) |
| 1.0ms | x | @ | 0 | ((sqrt (+ (* x x) y)) x (sqrt (+ (* x x) y)) (+ (* (/ 1/2 x) y) x) (/ 1/2 x) 1/2 y (sqrt (+ (* x x) y)) (+ (* x x) y) (sqrt (+ (* x x) y)) (+ (* x x) y)) |
| 1.0ms | y | @ | -inf | ((sqrt (+ (* x x) y)) x (sqrt (+ (* x x) y)) (+ (* (/ 1/2 x) y) x) (/ 1/2 x) 1/2 y (sqrt (+ (* x x) y)) (+ (* x x) y) (sqrt (+ (* x x) y)) (+ (* x x) y)) |
| 1.0ms | y | @ | inf | ((sqrt (+ (* x x) y)) x (sqrt (+ (* x x) y)) (+ (* (/ 1/2 x) y) x) (/ 1/2 x) 1/2 y (sqrt (+ (* x x) y)) (+ (* x x) y) (sqrt (+ (* x x) y)) (+ (* x x) y)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 193 | 860 |
| 1 | 514 | 845 |
| 2 | 2051 | 793 |
| 0 | 7479 | 715 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (sqrt y))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (+ (sqrt y) (* 1/2 (* (pow x 2) (sqrt (/ 1 y))))))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (+ (sqrt y) (* (pow x 2) (+ (* -1/8 (* (pow x 2) (sqrt (/ 1 (pow y 3))))) (* 1/2 (sqrt (/ 1 y)))))))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (+ (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)))))))))))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (+ (* (/ 1/2 x) y) x) #s(hole binary64 (* 1/2 (/ y x)))) |
#s(approx (+ (* (/ 1/2 x) y) x) #s(hole binary64 (/ (+ (* 1/2 y) (pow x 2)) x))) |
#s(approx (/ 1/2 x) #s(hole binary64 (/ 1/2 x))) |
#s(approx (+ (* x x) y) #s(hole binary64 y)) |
#s(approx (+ (* x x) y) #s(hole binary64 (+ y (pow x 2)))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 x)) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* x (+ 1 (* 1/2 (/ y (pow x 2))))))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* x (+ 1 (+ (* -1/8 (/ (pow y 2) (pow x 4))) (* 1/2 (/ y (pow x 2)))))))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* x (+ 1 (+ (* -1/8 (/ (pow y 2) (pow x 4))) (+ (* 1/16 (/ (pow y 3) (pow x 6))) (* 1/2 (/ y (pow x 2))))))))) |
#s(approx (+ (* (/ 1/2 x) y) x) #s(hole binary64 x)) |
#s(approx (+ (* (/ 1/2 x) y) x) #s(hole binary64 (* x (+ 1 (* 1/2 (/ y (pow x 2))))))) |
#s(approx (+ (* x x) y) #s(hole binary64 (pow x 2))) |
#s(approx (+ (* x x) y) #s(hole binary64 (* (pow x 2) (+ 1 (/ y (pow x 2)))))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* -1 x))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* -1 (* x (+ 1 (* 1/2 (/ y (pow x 2)))))))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 2) (pow x 4))) (* 1/2 (/ y (pow x 2))))))))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* -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)))))))))) |
#s(approx (+ (* (/ 1/2 x) y) x) #s(hole binary64 (* -1 (* x (- (* -1/2 (/ y (pow x 2))) 1))))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (+ x (* 1/2 (/ y x))))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (+ x (* y (+ (* -1/8 (/ y (pow x 3))) (* 1/2 (/ 1 x))))))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (+ x (* y (+ (* y (- (* 1/16 (/ y (pow x 5))) (* 1/8 (/ 1 (pow x 3))))) (* 1/2 (/ 1 x))))))) |
#s(approx (+ (* (/ 1/2 x) y) x) #s(hole binary64 (+ x (* 1/2 (/ y x))))) |
#s(approx y #s(hole binary64 y)) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* y (+ (sqrt (/ 1 y)) (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3))))))))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* y (+ (sqrt (/ 1 y)) (+ (* -1/8 (* (pow x 4) (sqrt (/ 1 (pow y 5))))) (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3)))))))))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* 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))))))))))) |
#s(approx (+ (* (/ 1/2 x) y) x) #s(hole binary64 (* y (+ (* 1/2 (/ 1 x)) (/ x y))))) |
#s(approx (+ (* x x) y) #s(hole binary64 (* y (+ 1 (/ (pow x 2) y))))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* -1 (* (sqrt y) (pow (sqrt -1) 2))))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* -1 (* y (+ (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3))))) (* (sqrt (/ 1 y)) (pow (sqrt -1) 2))))))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* -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)))))))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* -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))))))))) |
#s(approx (+ (* (/ 1/2 x) y) x) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) (* 1/2 (/ 1 x))))))) |
#s(approx (+ (* x x) y) #s(hole binary64 (* -1 (* y (- (* -1 (/ (pow x 2) y)) 1))))) |
| Outputs |
|---|
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (sqrt y))) |
#s(approx (sqrt (+ (* x x) y)) (sqrt.f64 y)) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (+ (sqrt y) (* 1/2 (* (pow x 2) (sqrt (/ 1 y))))))) |
#s(approx (sqrt (+ (* x x) y)) (fma.f64 (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) (sqrt.f64 y))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (+ (sqrt y) (* (pow x 2) (+ (* -1/8 (* (pow x 2) (sqrt (/ 1 (pow y 3))))) (* 1/2 (sqrt (/ 1 y)))))))) |
#s(approx (sqrt (+ (* x x) 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))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (+ (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)))))))))))) |
#s(approx (sqrt (+ (* x x) y)) (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)))) |
#s(approx x #s(hole binary64 x)) |
#s(approx x x) |
#s(approx (+ (* (/ 1/2 x) y) x) #s(hole binary64 (* 1/2 (/ y x)))) |
#s(approx (+ (* (/ 1/2 x) y) x) (*.f64 (/.f64 #s(literal 1/2 binary64) x) y)) |
#s(approx (+ (* (/ 1/2 x) y) x) #s(hole binary64 (/ (+ (* 1/2 y) (pow x 2)) x))) |
#s(approx (+ (* (/ 1/2 x) y) x) (fma.f64 (/.f64 #s(literal 1/2 binary64) x) y x)) |
#s(approx (/ 1/2 x) #s(hole binary64 (/ 1/2 x))) |
#s(approx (/ 1/2 x) (/.f64 #s(literal 1/2 binary64) x)) |
#s(approx (+ (* x x) y) #s(hole binary64 y)) |
#s(approx (+ (* x x) y) y) |
#s(approx (+ (* x x) y) #s(hole binary64 (+ y (pow x 2)))) |
#s(approx (+ (* x x) y) (fma.f64 x x y)) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 x)) |
#s(approx (sqrt (+ (* x x) y)) x) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* x (+ 1 (* 1/2 (/ y (pow x 2))))))) |
#s(approx (sqrt (+ (* x x) y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) x) y x)) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* x (+ 1 (+ (* -1/8 (/ (pow y 2) (pow x 4))) (* 1/2 (/ y (pow x 2)))))))) |
#s(approx (sqrt (+ (* x x) y)) (fma.f64 (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))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* x (+ 1 (+ (* -1/8 (/ (pow y 2) (pow x 4))) (+ (* 1/16 (/ (pow y 3) (pow x 6))) (* 1/2 (/ y (pow x 2))))))))) |
#s(approx (sqrt (+ (* x x) y)) (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))) |
#s(approx (+ (* (/ 1/2 x) y) x) #s(hole binary64 x)) |
#s(approx (+ (* (/ 1/2 x) y) x) x) |
#s(approx (+ (* (/ 1/2 x) y) x) #s(hole binary64 (* x (+ 1 (* 1/2 (/ y (pow x 2))))))) |
#s(approx (+ (* (/ 1/2 x) y) x) (fma.f64 (/.f64 #s(literal 1/2 binary64) x) y x)) |
#s(approx (+ (* x x) y) #s(hole binary64 (pow x 2))) |
#s(approx (+ (* x x) y) (*.f64 x x)) |
#s(approx (+ (* x x) y) #s(hole binary64 (* (pow x 2) (+ 1 (/ y (pow x 2)))))) |
#s(approx (+ (* x x) y) (fma.f64 (/.f64 y x) x (*.f64 x x))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* -1 x))) |
#s(approx (sqrt (+ (* x x) y)) (neg.f64 x)) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* -1 (* x (+ 1 (* 1/2 (/ y (pow x 2)))))))) |
#s(approx (sqrt (+ (* x x) y)) (fma.f64 (/.f64 #s(literal -1/2 binary64) x) y (neg.f64 x))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 2) (pow x 4))) (* 1/2 (/ y (pow x 2))))))))) |
#s(approx (sqrt (+ (* x x) y)) (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))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* -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)))))))))) |
#s(approx (sqrt (+ (* x x) y)) (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))) |
#s(approx (+ (* (/ 1/2 x) y) x) #s(hole binary64 (* -1 (* x (- (* -1/2 (/ y (pow x 2))) 1))))) |
#s(approx (+ (* (/ 1/2 x) y) x) (neg.f64 (fma.f64 (/.f64 #s(literal -1/2 binary64) x) y (neg.f64 x)))) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (+ x (* 1/2 (/ y x))))) |
#s(approx (sqrt (+ (* x x) y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) x) y x)) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (+ x (* y (+ (* -1/8 (/ y (pow x 3))) (* 1/2 (/ 1 x))))))) |
#s(approx (sqrt (+ (* x x) y)) (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)) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (+ x (* y (+ (* y (- (* 1/16 (/ y (pow x 5))) (* 1/8 (/ 1 (pow x 3))))) (* 1/2 (/ 1 x))))))) |
#s(approx (sqrt (+ (* x x) y)) (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)) |
#s(approx (+ (* (/ 1/2 x) y) x) #s(hole binary64 (+ x (* 1/2 (/ y x))))) |
#s(approx (+ (* (/ 1/2 x) y) x) (fma.f64 (/.f64 #s(literal 1/2 binary64) x) y x)) |
#s(approx y #s(hole binary64 y)) |
#s(approx y y) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* y (+ (sqrt (/ 1 y)) (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3))))))))) |
#s(approx (sqrt (+ (* x x) y)) (*.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)) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* y (+ (sqrt (/ 1 y)) (+ (* -1/8 (* (pow x 4) (sqrt (/ 1 (pow y 5))))) (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3)))))))))) |
#s(approx (sqrt (+ (* x x) y)) (*.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)) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* 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))))))))))) |
#s(approx (sqrt (+ (* x x) y)) (*.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)) |
#s(approx (+ (* (/ 1/2 x) y) x) #s(hole binary64 (* y (+ (* 1/2 (/ 1 x)) (/ x y))))) |
#s(approx (+ (* (/ 1/2 x) y) x) (*.f64 (-.f64 (/.f64 x y) (/.f64 #s(literal -1/2 binary64) x)) y)) |
#s(approx (+ (* x x) y) #s(hole binary64 (* y (+ 1 (/ (pow x 2) y))))) |
#s(approx (+ (* x x) y) (*.f64 (fma.f64 (/.f64 x y) x #s(literal 1 binary64)) y)) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* -1 (* (sqrt y) (pow (sqrt -1) 2))))) |
#s(approx (sqrt (+ (* x x) y)) (sqrt.f64 y)) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* -1 (* y (+ (* 1/2 (* (pow x 2) (sqrt (/ 1 (pow y 3))))) (* (sqrt (/ 1 y)) (pow (sqrt -1) 2))))))) |
#s(approx (sqrt (+ (* x x) y)) (*.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)) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* -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)))))))) |
#s(approx (sqrt (+ (* x x) y)) (*.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)) |
#s(approx (sqrt (+ (* x x) y)) #s(hole binary64 (* -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))))))))) |
#s(approx (sqrt (+ (* x x) y)) (*.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)) |
#s(approx (+ (* (/ 1/2 x) y) x) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) (* 1/2 (/ 1 x))))))) |
#s(approx (+ (* (/ 1/2 x) y) x) (*.f64 (neg.f64 y) (-.f64 (/.f64 #s(literal -1/2 binary64) x) (/.f64 x y)))) |
#s(approx (+ (* x x) y) #s(hole binary64 (* -1 (* y (- (* -1 (/ (pow x 2) y)) 1))))) |
#s(approx (+ (* x x) y) (*.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 | 14 | 53 |
| 0 | 20 | 53 |
| 1 | 60 | 53 |
| 0 | 397 | 53 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (sqrt (+ (* x x) y)) x) |
x |
#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) |
y |
(sqrt.f64 #s(approx (+ (* x x) y) y)) |
#s(approx (+ (* x x) y) y) |
(sqrt.f64 (fma.f64 x x y)) |
(fma.f64 x x y) |
| Outputs |
|---|
#s(approx (sqrt (+ (* x x) y)) x) |
x |
#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(literal 1/2 binary64) |
y |
(*.f64 (pow.f64 #s(approx (+ (* x x) y) y) #s(literal 1/4 binary64)) (pow.f64 #s(approx (+ (* x x) y) y) #s(literal 1/4 binary64))) |
(pow.f64 #s(approx (+ (* x x) y) y) #s(literal 1/2 binary64)) |
(sqrt.f64 #s(approx (+ (* x x) y) y)) |
(exp.f64 (*.f64 (log.f64 #s(approx (+ (* x x) y) y)) #s(literal 1/2 binary64))) |
#s(approx (+ (* x x) y) 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 (-.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) |
Compiled 1 732 to 321 computations (81.5% saved)
4 alts after pruning (0 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 101 | 0 | 101 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 4 | 4 |
| Done | 0 | 0 | 0 |
| Total | 101 | 4 | 105 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 67.8% | (sqrt.f64 (fma.f64 x x y)) |
| ✓ | 33.0% | (sqrt.f64 #s(approx (+ (* x x) y) y)) |
| ✓ | 69.4% | #s(approx (sqrt (+ (* x x) y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) x) y x)) |
| ✓ | 69.2% | #s(approx (sqrt (+ (* x x) y)) x) |
Compiled 74 to 42 computations (43.2% saved)
| Inputs |
|---|
#s(approx (sqrt (+ (* x x) y)) x) |
(sqrt.f64 #s(approx (+ (* x x) y) y)) |
(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)) |
| Outputs |
|---|
(sqrt.f64 (+.f64 (*.f64 x x) y)) |
#s(approx (sqrt (+ (* x x) y)) x) |
5 calls:
| 2.0ms | y |
| 2.0ms | x |
| 2.0ms | (sqrt.f64 (+.f64 (*.f64 x x) y)) |
| 2.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 |
| 84.7% | 2 | y |
Compiled 16 to 16 computations (0% saved)
| Inputs |
|---|
#s(approx (sqrt (+ (* x x) y)) x) |
(sqrt.f64 #s(approx (+ (* x x) y) y)) |
(sqrt.f64 (fma.f64 x x y)) |
#s(approx (sqrt (+ (* x x) y)) (fma.f64 (/.f64 #s(literal 1/2 binary64) x) y x)) |
| Outputs |
|---|
(sqrt.f64 (fma.f64 x x y)) |
#s(approx (sqrt (+ (* x x) y)) x) |
4 calls:
| 18.0ms | (sqrt.f64 (+.f64 (*.f64 x x) y)) |
| 2.0ms | x |
| 2.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 |
Compiled 15 to 14 computations (6.7% saved)
| Inputs |
|---|
#s(approx (sqrt (+ (* x x) y)) x) |
(sqrt.f64 #s(approx (+ (* x x) y) y)) |
| Outputs |
|---|
(sqrt.f64 #s(approx (+ (* x x) y) y)) |
#s(approx (sqrt (+ (* x x) y)) x) |
4 calls:
| 1.0ms | x |
| 1.0ms | (sqrt.f64 (+.f64 (*.f64 x x) y)) |
| 1.0ms | (+.f64 (*.f64 x x) y) |
| 1.0ms | (*.f64 x x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 93.1% | 2 | (*.f64 x x) |
| 74.0% | 2 | (+.f64 (*.f64 x x) y) |
| 74.0% | 2 | (sqrt.f64 (+.f64 (*.f64 x x) y)) |
| 93.1% | 2 | x |
Compiled 15 to 14 computations (6.7% saved)
Total -0.0b remaining (-0%)
Threshold costs -0b (-0%)
| Inputs |
|---|
#s(approx (sqrt (+ (* x x) y)) x) |
| Outputs |
|---|
#s(approx (sqrt (+ (* x x) y)) x) |
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 |
|---|---|---|
| 69.2% | 1 | (+.f64 (*.f64 x x) y) |
| 69.2% | 1 | (sqrt.f64 (+.f64 (*.f64 x x) y)) |
| 69.2% | 1 | y |
| 69.2% | 1 | (*.f64 x x) |
| 69.2% | 1 | x |
Compiled 16 to 16 computations (0% saved)
| 1× | binary-search |
| 1× | predicate-same |
| Time | Left | Right |
|---|---|---|
| 1.0ms | 2.711074683617067e+146 | 4.893058138059611e+147 |
| 1.0ms | 16× | 0 | valid |
Compiled 23 to 23 computations (0% 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× | binary-search |
| 1× | predicate-same |
| Time | Left | Right |
|---|---|---|
| 0.0ms | 2.711074683617067e+146 | 4.893058138059611e+147 |
Compiled 22 to 22 computations (0% saved)
| 1× | binary-search |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 27.0ms | 4.230998621721818e-64 | 1.5924908486526198e-62 |
| 16.0ms | 25× | 0 | invalid |
| 7.0ms | 112× | 0 | valid |
Compiled 121 to 108 computations (10.7% saved)
ival-add: 1.0ms (32.9% of total)ival-mult: 1.0ms (32.9% of total)ival-sqrt: 1.0ms (32.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 | 20 | 63 |
| 1 | 25 | 63 |
| 2 | 44 | 63 |
| 3 | 71 | 63 |
| 4 | 86 | 63 |
| 1× | saturated |
| Inputs |
|---|
(if (<=.f64 x #s(literal 499999999999999988998191202828830087182411944733900540386126622484631969614553746213463024711630256984884134207768538734419216153365573197681917952 binary64)) (sqrt.f64 (+.f64 (*.f64 x x) y)) #s(approx (sqrt (+ (* x x) y)) x)) |
(if (<=.f64 x #s(literal 499999999999999988998191202828830087182411944733900540386126622484631969614553746213463024711630256984884134207768538734419216153365573197681917952 binary64)) (sqrt.f64 (fma.f64 x x y)) #s(approx (sqrt (+ (* x x) y)) x)) |
(if (<=.f64 x #s(literal 6715941175764339/463168356949264781694283940034751631413079938662562256157830336031652518559744 binary64)) (sqrt.f64 #s(approx (+ (* x x) y) y)) #s(approx (sqrt (+ (* x x) y)) x)) |
#s(approx (sqrt (+ (* x x) y)) x) |
| Outputs |
|---|
(if (<=.f64 x #s(literal 499999999999999988998191202828830087182411944733900540386126622484631969614553746213463024711630256984884134207768538734419216153365573197681917952 binary64)) (sqrt.f64 (+.f64 (*.f64 x x) y)) #s(approx (sqrt (+ (* x x) y)) x)) |
(if (<=.f64 x #s(literal 499999999999999988998191202828830087182411944733900540386126622484631969614553746213463024711630256984884134207768538734419216153365573197681917952 binary64)) (sqrt.f64 (fma.f64 x x y)) #s(approx (sqrt (+ (* x x) y)) x)) |
(if (<=.f64 x #s(literal 6715941175764339/463168356949264781694283940034751631413079938662562256157830336031652518559744 binary64)) (sqrt.f64 #s(approx (+ (* x x) y) y)) #s(approx (sqrt (+ (* x x) y)) x)) |
#s(approx (sqrt (+ (* x x) y)) x) |
| 1× | done |
Compiled 63 to 20 computations (68.3% saved)
Compiled 232 to 106 computations (54.3% saved)
Loading profile data...