
Time bar (total: 1.0s)
| 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)
| 477.0ms | 8 256× | 0 | valid |
| 55.0ms | 309× | 0 | invalid |
ival-mult!: 115.0ms (49.2% of total)ival-sqrt: 96.0ms (41.1% of total)ival-add!: 21.0ms (9% of total)adjust: 2.0ms (0.9% of total)Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 17 | 38 |
| 1 | 34 | 38 |
| 2 | 90 | 38 |
| 3 | 146 | 38 |
| 4 | 193 | 38 |
| 5 | 194 | 38 |
| 1× | saturated |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 69.0% | (sqrt.f64 (+.f64 (*.f64 x x) y)) |
(abs x)
Compiled 10 to 10 computations (0% 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 | @ | 0 | ((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) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 170 | 765 |
| 0 | 173 | 698 |
| 0 | 938 | 637 |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | node-limit |
| 1× | iter-limit |
| Inputs |
|---|
(sqrt.f64 (+.f64 (*.f64 x x) y)) |
(+.f64 (*.f64 x x) y) |
(*.f64 x x) |
x |
y |
#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 |
|---|
(pow.f64 (fma.f64 x x y) #s(literal 1/2 binary64)) |
(sqrt.f64 (fma.f64 x x y)) |
(/.f64 (-.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (*.f64 y y)) (-.f64 (*.f64 x x) y)) |
(/.f64 (-.f64 (*.f64 y y) (*.f64 (*.f64 x x) (*.f64 x x))) (-.f64 y (*.f64 x x))) |
(/.f64 (+.f64 (pow.f64 (*.f64 x x) #s(literal 3 binary64)) (*.f64 (*.f64 y y) y)) (fma.f64 (*.f64 x x) (*.f64 x x) (-.f64 (*.f64 y y) (*.f64 (*.f64 x x) y)))) |
(/.f64 (fma.f64 (*.f64 y y) y (pow.f64 (*.f64 x x) #s(literal 3 binary64))) (fma.f64 y y (-.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (*.f64 y (*.f64 x x))))) |
(fma.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)) 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 x x) y) |
(+.f64 y (*.f64 x x)) |
(*.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64))) |
(*.f64 (neg.f64 x) (neg.f64 x)) |
(*.f64 (fabs.f64 x) (fabs.f64 x)) |
(*.f64 x x) |
(pow.f64 x #s(literal 2 binary64)) |
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) |
x |
y |
#s(approx (sqrt (+ (* x x) y)) (sqrt.f64 y)) |
#s(approx (sqrt (+ (* x x) y)) (fma.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 x x)) (/.f64 #s(literal 1 binary64) (sqrt.f64 y)) (sqrt.f64 y))) |
#s(approx (sqrt (+ (* x x) y)) (fma.f64 (fma.f64 (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 y y) y))) (*.f64 x x)) #s(literal -1/8 binary64) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 y)) #s(literal 1/2 binary64))) (*.f64 x x) (sqrt.f64 y))) |
#s(approx (sqrt (+ (* x x) y)) (fma.f64 (fma.f64 (fma.f64 (*.f64 #s(literal 1/16 binary64) (*.f64 x x)) (sqrt.f64 (pow.f64 y #s(literal -5 binary64))) (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 y y) y))) #s(literal -1/8 binary64))) (*.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 y)) #s(literal 1/2 binary64))) (*.f64 x x) (sqrt.f64 y))) |
#s(approx (+ (* x x) y) y) |
#s(approx (+ (* x x) y) (fma.f64 x x y)) |
#s(approx (* x x) (*.f64 x x)) |
#s(approx x x) |
#s(approx (sqrt (+ (* x x) y)) x) |
#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)) (*.f64 (+.f64 (fma.f64 (/.f64 (*.f64 y y) (*.f64 (*.f64 x x) (*.f64 x x))) #s(literal -1/8 binary64) (*.f64 (/.f64 y (*.f64 x x)) #s(literal 1/2 binary64))) #s(literal 1 binary64)) x)) |
#s(approx (sqrt (+ (* x x) y)) (*.f64 x (+.f64 (fma.f64 (/.f64 (*.f64 y y) (*.f64 (*.f64 x x) (*.f64 x x))) #s(literal -1/8 binary64) (fma.f64 (/.f64 (*.f64 (*.f64 y y) y) (*.f64 (*.f64 (*.f64 x x) x) (*.f64 (*.f64 x x) x))) #s(literal 1/16 binary64) (*.f64 (/.f64 y (*.f64 x x)) #s(literal 1/2 binary64)))) #s(literal 1 binary64)))) |
#s(approx (+ (* x x) y) (*.f64 x x)) |
#s(approx (+ (* x x) y) (*.f64 (+.f64 (/.f64 y (*.f64 x x)) #s(literal 1 binary64)) (*.f64 x x))) |
#s(approx (sqrt (+ (* x x) y)) (neg.f64 x)) |
#s(approx (sqrt (+ (* x x) y)) (*.f64 (neg.f64 x) (fma.f64 (/.f64 y (*.f64 x x)) #s(literal 1/2 binary64) #s(literal 1 binary64)))) |
#s(approx (sqrt (+ (* x x) y)) (*.f64 (neg.f64 x) (+.f64 (fma.f64 (/.f64 (*.f64 y y) (*.f64 (*.f64 x x) (*.f64 x x))) #s(literal -1/8 binary64) (*.f64 (/.f64 y (*.f64 x x)) #s(literal 1/2 binary64))) #s(literal 1 binary64)))) |
#s(approx (sqrt (+ (* x x) y)) (neg.f64 (*.f64 x (+.f64 (fma.f64 (/.f64 (*.f64 y y) (*.f64 (*.f64 x x) (*.f64 x x))) #s(literal -1/8 binary64) (fma.f64 (/.f64 (*.f64 (*.f64 y y) y) (*.f64 (*.f64 (*.f64 x x) x) (*.f64 (*.f64 x x) x))) #s(literal 1/16 binary64) (*.f64 (/.f64 y (*.f64 x x)) #s(literal 1/2 binary64)))) #s(literal 1 binary64))))) |
#s(approx (sqrt (+ (* x x) y)) (fma.f64 (/.f64 y x) #s(literal 1/2 binary64) x)) |
#s(approx (sqrt (+ (* x x) y)) (fma.f64 (fma.f64 (/.f64 y (*.f64 (*.f64 x x) x)) #s(literal -1/8 binary64) (/.f64 #s(literal 1/2 binary64) x)) y x)) |
#s(approx (sqrt (+ (* x x) y)) (fma.f64 (fma.f64 (-.f64 (*.f64 (/.f64 y (pow.f64 x #s(literal 5 binary64))) #s(literal 1/16 binary64)) (/.f64 #s(literal 1/8 binary64) (*.f64 (*.f64 x x) x))) y (/.f64 #s(literal 1/2 binary64) x)) y x)) |
#s(approx y y) |
#s(approx (sqrt (+ (* x x) y)) (*.f64 (fma.f64 (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 y y) y))) (*.f64 x x)) #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 y))) y)) |
#s(approx (sqrt (+ (* x x) y)) (*.f64 y (+.f64 (fma.f64 (*.f64 #s(literal -1/8 binary64) (*.f64 (*.f64 x x) (*.f64 x x))) (sqrt.f64 (pow.f64 y #s(literal -5 binary64))) (*.f64 (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 y y) y))) (*.f64 x x)) #s(literal 1/2 binary64))) (/.f64 #s(literal 1 binary64) (sqrt.f64 y))))) |
#s(approx (sqrt (+ (* x x) y)) (*.f64 (+.f64 (fma.f64 (*.f64 #s(literal -1/8 binary64) (*.f64 (*.f64 x x) (*.f64 x x))) (sqrt.f64 (pow.f64 y #s(literal -5 binary64))) (fma.f64 (*.f64 #s(literal 1/16 binary64) (*.f64 (*.f64 (*.f64 x x) x) (*.f64 (*.f64 x x) x))) (sqrt.f64 (pow.f64 y #s(literal -7 binary64))) (*.f64 (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 y y) y))) (*.f64 x x)) #s(literal 1/2 binary64)))) (/.f64 #s(literal 1 binary64) (sqrt.f64 y))) y)) |
#s(approx (+ (* x x) y) (*.f64 (+.f64 (/.f64 (*.f64 x x) y) #s(literal 1 binary64)) y)) |
#s(approx (sqrt (+ (* x x) y)) (neg.f64 (*.f64 #s(literal -1 binary64) (sqrt.f64 y)))) |
#s(approx (sqrt (+ (* x x) y)) (neg.f64 (*.f64 (fma.f64 (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 y y) y))) (*.f64 x x)) #s(literal 1/2 binary64) (*.f64 #s(literal -1 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 y)))) y))) |
#s(approx (sqrt (+ (* x x) y)) (neg.f64 (*.f64 (fma.f64 (*.f64 #s(literal -1/8 binary64) (/.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1 binary64))) (sqrt.f64 (pow.f64 y #s(literal -5 binary64))) (fma.f64 (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 y y) y))) (*.f64 x x)) #s(literal 1/2 binary64) (*.f64 #s(literal -1 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 y))))) y))) |
#s(approx (sqrt (+ (* x x) y)) (neg.f64 (*.f64 (fma.f64 (*.f64 #s(literal -1/8 binary64) (/.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1 binary64))) (sqrt.f64 (pow.f64 y #s(literal -5 binary64))) (fma.f64 (/.f64 (*.f64 (*.f64 (*.f64 (*.f64 x x) x) (*.f64 (*.f64 x x) x)) (sqrt.f64 (pow.f64 y #s(literal -7 binary64)))) #s(literal 1 binary64)) #s(literal 1/16 binary64) (fma.f64 (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 y y) y))) (*.f64 x x)) #s(literal 1/2 binary64) (*.f64 #s(literal -1 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 y)))))) y))) |
#s(approx (+ (* x x) y) (neg.f64 (*.f64 (-.f64 (neg.f64 (/.f64 (*.f64 x x) y)) #s(literal 1 binary64)) y))) |
Compiled 498 to 207 computations (58.4% saved)
5 alts after pruning (5 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 43 | 5 | 48 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 44 | 5 | 49 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 69.0% | (sqrt.f64 (fma.f64 x x y)) |
| ▶ | 38.7% | (sqrt.f64 #s(approx (+ (* x x) y) y)) |
| ▶ | 63.9% | #s(approx (sqrt (+ (* x x) y)) (fma.f64 (/.f64 y x) #s(literal 1/2 binary64) x)) |
| ▶ | 1.3% | #s(approx (sqrt (+ (* x x) y)) (neg.f64 x)) |
| ▶ | 63.4% | #s(approx (sqrt (+ (* x x) y)) x) |
Compiled 64 to 64 computations (0% saved)
| Inputs |
|---|
(sqrt.f64 (fma.f64 x x y)) |
(fma.f64 x x y) |
x |
y |
#s(approx (sqrt (+ (* x x) y)) x) |
#s(approx (sqrt (+ (* x x) y)) (neg.f64 x)) |
(neg.f64 x) |
(sqrt.f64 #s(approx (+ (* x x) y) y)) |
#s(approx (+ (* x x) y) y) |
#s(approx (sqrt (+ (* x x) y)) (fma.f64 (/.f64 y x) #s(literal 1/2 binary64) x)) |
(fma.f64 (/.f64 y x) #s(literal 1/2 binary64) x) |
(/.f64 y x) |
#s(literal 1/2 binary64) |
| 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 #s(hole binary64 x)) |
#s(approx (neg x) #s(hole binary64 (* -1 x))) |
#s(approx (+ (* (/ y x) 1/2) x) #s(hole binary64 (* 1/2 (/ y x)))) |
#s(approx (+ (* (/ y x) 1/2) x) #s(hole binary64 (/ (+ (* 1/2 y) (pow x 2)) x))) |
#s(approx (/ y x) #s(hole binary64 (/ y 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 (+ (* (/ y x) 1/2) x) #s(hole binary64 x)) |
#s(approx (+ (* (/ y x) 1/2) x) #s(hole binary64 (* x (+ 1 (* 1/2 (/ 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 (+ (* (/ y x) 1/2) 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 y #s(hole binary64 y)) |
#s(approx (+ (* (/ y x) 1/2) x) #s(hole binary64 (+ x (* 1/2 (/ y x))))) |
#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 (+ (* (/ y x) 1/2) x) #s(hole binary64 (* y (+ (* 1/2 (/ 1 x)) (/ x 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))))) |
#s(approx (+ (* (/ y x) 1/2) x) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) (* 1/2 (/ 1 x))))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | y | @ | -inf | ((sqrt (+ (* x x) y)) (+ (* x x) y) x y (sqrt (+ (* x x) y)) (sqrt (+ (* x x) y)) (neg x) (sqrt (+ (* x x) y)) (+ (* x x) y) (sqrt (+ (* x x) y)) (+ (* (/ y x) 1/2) x) (/ y x) 1/2) |
| 1.0ms | x | @ | -inf | ((sqrt (+ (* x x) y)) (+ (* x x) y) x y (sqrt (+ (* x x) y)) (sqrt (+ (* x x) y)) (neg x) (sqrt (+ (* x x) y)) (+ (* x x) y) (sqrt (+ (* x x) y)) (+ (* (/ y x) 1/2) x) (/ y x) 1/2) |
| 1.0ms | x | @ | inf | ((sqrt (+ (* x x) y)) (+ (* x x) y) x y (sqrt (+ (* x x) y)) (sqrt (+ (* x x) y)) (neg x) (sqrt (+ (* x x) y)) (+ (* x x) y) (sqrt (+ (* x x) y)) (+ (* (/ y x) 1/2) x) (/ y x) 1/2) |
| 1.0ms | y | @ | inf | ((sqrt (+ (* x x) y)) (+ (* x x) y) x y (sqrt (+ (* x x) y)) (sqrt (+ (* x x) y)) (neg x) (sqrt (+ (* x x) y)) (+ (* x x) y) (sqrt (+ (* x x) y)) (+ (* (/ y x) 1/2) x) (/ y x) 1/2) |
| 1.0ms | x | @ | 0 | ((sqrt (+ (* x x) y)) (+ (* x x) y) x y (sqrt (+ (* x x) y)) (sqrt (+ (* x x) y)) (neg x) (sqrt (+ (* x x) y)) (+ (* x x) y) (sqrt (+ (* x x) y)) (+ (* (/ y x) 1/2) x) (/ y x) 1/2) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 202 | 918 |
| 0 | 207 | 840 |
| 0 | 1062 | 808 |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | node-limit |
| 1× | iter-limit |
| Inputs |
|---|
(sqrt.f64 (fma.f64 x x y)) |
(fma.f64 x x y) |
x |
y |
#s(approx (sqrt (+ (* x x) y)) x) |
#s(approx (sqrt (+ (* x x) y)) (neg.f64 x)) |
(neg.f64 x) |
(sqrt.f64 #s(approx (+ (* x x) y) y)) |
#s(approx (+ (* x x) y) y) |
#s(approx (sqrt (+ (* x x) y)) (fma.f64 (/.f64 y x) #s(literal 1/2 binary64) x)) |
(fma.f64 (/.f64 y x) #s(literal 1/2 binary64) x) |
(/.f64 y x) |
#s(literal 1/2 binary64) |
#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 #s(hole binary64 x)) |
#s(approx (neg x) #s(hole binary64 (* -1 x))) |
#s(approx (+ (* (/ y x) 1/2) x) #s(hole binary64 (* 1/2 (/ y x)))) |
#s(approx (+ (* (/ y x) 1/2) x) #s(hole binary64 (/ (+ (* 1/2 y) (pow x 2)) x))) |
#s(approx (/ y x) #s(hole binary64 (/ y 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 (+ (* (/ y x) 1/2) x) #s(hole binary64 x)) |
#s(approx (+ (* (/ y x) 1/2) x) #s(hole binary64 (* x (+ 1 (* 1/2 (/ 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 (+ (* (/ y x) 1/2) 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 y #s(hole binary64 y)) |
#s(approx (+ (* (/ y x) 1/2) x) #s(hole binary64 (+ x (* 1/2 (/ y x))))) |
#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 (+ (* (/ y x) 1/2) x) #s(hole binary64 (* y (+ (* 1/2 (/ 1 x)) (/ x 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))))) |
#s(approx (+ (* (/ y x) 1/2) x) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) (* 1/2 (/ 1 x))))))) |
| Outputs |
|---|
(pow.f64 (fma.f64 x x y) #s(literal 1/2 binary64)) |
(sqrt.f64 (fma.f64 x x y)) |
(/.f64 (-.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (*.f64 y y)) (-.f64 (*.f64 x x) y)) |
(/.f64 (-.f64 (*.f64 y y) (*.f64 (*.f64 x x) (*.f64 x x))) (-.f64 y (*.f64 x x))) |
(/.f64 (+.f64 (pow.f64 (*.f64 x x) #s(literal 3 binary64)) (*.f64 (*.f64 y y) y)) (fma.f64 (*.f64 x x) (*.f64 x x) (-.f64 (*.f64 y y) (*.f64 (*.f64 x x) y)))) |
(/.f64 (fma.f64 (*.f64 y y) y (pow.f64 (*.f64 x x) #s(literal 3 binary64))) (fma.f64 y y (-.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (*.f64 y (*.f64 x x))))) |
(fma.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)) 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 x x) y) |
(+.f64 y (*.f64 x x)) |
x |
y |
#s(approx (sqrt (+ (* x x) y)) x) |
#s(approx (sqrt (+ (* x x) y)) (neg.f64 x)) |
(*.f64 #s(literal -1 binary64) x) |
(*.f64 x #s(literal -1 binary64)) |
(neg.f64 x) |
(pow.f64 #s(approx (+ (* x x) y) y) #s(literal 1/2 binary64)) |
(sqrt.f64 #s(approx (+ (* x x) y) y)) |
#s(approx (+ (* x x) y) y) |
#s(approx (sqrt (+ (* x x) y)) (fma.f64 (/.f64 y x) #s(literal 1/2 binary64) x)) |
(/.f64 (-.f64 (*.f64 x x) (*.f64 (*.f64 (/.f64 y x) #s(literal 1/2 binary64)) (*.f64 (/.f64 y x) #s(literal 1/2 binary64)))) (-.f64 x (*.f64 (/.f64 y x) #s(literal 1/2 binary64)))) |
(/.f64 (-.f64 (*.f64 (*.f64 (/.f64 y x) #s(literal 1/2 binary64)) (*.f64 (/.f64 y x) #s(literal 1/2 binary64))) (*.f64 x x)) (-.f64 (*.f64 (/.f64 y x) #s(literal 1/2 binary64)) x)) |
(/.f64 (fma.f64 (*.f64 x x) x (pow.f64 (*.f64 (/.f64 y x) #s(literal 1/2 binary64)) #s(literal 3 binary64))) (fma.f64 x x (-.f64 (*.f64 (*.f64 (/.f64 y x) #s(literal 1/2 binary64)) (*.f64 (/.f64 y x) #s(literal 1/2 binary64))) (*.f64 x (*.f64 (/.f64 y x) #s(literal 1/2 binary64)))))) |
(/.f64 (+.f64 (pow.f64 (*.f64 (/.f64 y x) #s(literal 1/2 binary64)) #s(literal 3 binary64)) (*.f64 (*.f64 x x) x)) (fma.f64 (*.f64 (/.f64 y x) #s(literal 1/2 binary64)) (*.f64 (/.f64 y x) #s(literal 1/2 binary64)) (-.f64 (*.f64 x x) (*.f64 (*.f64 (/.f64 y x) #s(literal 1/2 binary64)) x)))) |
(fma.f64 (/.f64 y x) #s(literal 1/2 binary64) x) |
(fma.f64 #s(literal 1/2 binary64) (/.f64 y x) x) |
(-.f64 x (*.f64 #s(literal -1/2 binary64) (/.f64 y x))) |
(+.f64 (*.f64 (/.f64 y x) #s(literal 1/2 binary64)) x) |
(+.f64 x (*.f64 (/.f64 y x) #s(literal 1/2 binary64))) |
(/.f64 (neg.f64 y) (neg.f64 x)) |
(/.f64 y x) |
#s(literal 1/2 binary64) |
#s(approx (sqrt (+ (* x x) y)) (sqrt.f64 y)) |
#s(approx (sqrt (+ (* x x) y)) (fma.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 x x)) (/.f64 #s(literal 1 binary64) (sqrt.f64 y)) (sqrt.f64 y))) |
#s(approx (sqrt (+ (* x x) y)) (fma.f64 (fma.f64 (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 y y) y))) (*.f64 x x)) #s(literal -1/8 binary64) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 y)) #s(literal 1/2 binary64))) (*.f64 x x) (sqrt.f64 y))) |
#s(approx (sqrt (+ (* x x) y)) (fma.f64 (fma.f64 (fma.f64 (*.f64 #s(literal 1/16 binary64) (*.f64 x x)) (sqrt.f64 (pow.f64 y #s(literal -5 binary64))) (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 y y) y))) #s(literal -1/8 binary64))) (*.f64 x x) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 y)) #s(literal 1/2 binary64))) (*.f64 x x) (sqrt.f64 y))) |
#s(approx (+ (* x x) y) y) |
#s(approx (+ (* x x) y) (fma.f64 x x y)) |
#s(approx x x) |
#s(approx (neg x) (neg.f64 x)) |
#s(approx (+ (* (/ y x) 1/2) x) (*.f64 (/.f64 y x) #s(literal 1/2 binary64))) |
#s(approx (+ (* (/ y x) 1/2) x) (/.f64 (fma.f64 #s(literal 1/2 binary64) y (*.f64 x x)) x)) |
#s(approx (/ y x) (/.f64 y x)) |
#s(approx (sqrt (+ (* x x) y)) x) |
#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)) (*.f64 (+.f64 (fma.f64 (/.f64 (*.f64 y y) (*.f64 (*.f64 x x) (*.f64 x x))) #s(literal -1/8 binary64) (*.f64 (/.f64 y (*.f64 x x)) #s(literal 1/2 binary64))) #s(literal 1 binary64)) x)) |
#s(approx (sqrt (+ (* x x) y)) (*.f64 x (+.f64 (fma.f64 (/.f64 (*.f64 y y) (*.f64 (*.f64 x x) (*.f64 x x))) #s(literal -1/8 binary64) (fma.f64 (/.f64 (*.f64 (*.f64 y y) y) (*.f64 (*.f64 (*.f64 x x) x) (*.f64 (*.f64 x x) x))) #s(literal 1/16 binary64) (*.f64 (/.f64 y (*.f64 x x)) #s(literal 1/2 binary64)))) #s(literal 1 binary64)))) |
#s(approx (+ (* x x) y) (*.f64 x x)) |
#s(approx (+ (* x x) y) (*.f64 (+.f64 (/.f64 y (*.f64 x x)) #s(literal 1 binary64)) (*.f64 x x))) |
#s(approx (+ (* (/ y x) 1/2) x) x) |
#s(approx (+ (* (/ y x) 1/2) x) (*.f64 (fma.f64 (/.f64 y (*.f64 x x)) #s(literal 1/2 binary64) #s(literal 1 binary64)) x)) |
#s(approx (sqrt (+ (* x x) y)) (neg.f64 x)) |
#s(approx (sqrt (+ (* x x) y)) (*.f64 (neg.f64 x) (fma.f64 (/.f64 y (*.f64 x x)) #s(literal 1/2 binary64) #s(literal 1 binary64)))) |
#s(approx (sqrt (+ (* x x) y)) (*.f64 (neg.f64 x) (+.f64 (fma.f64 (/.f64 (*.f64 y y) (*.f64 (*.f64 x x) (*.f64 x x))) #s(literal -1/8 binary64) (*.f64 (/.f64 y (*.f64 x x)) #s(literal 1/2 binary64))) #s(literal 1 binary64)))) |
#s(approx (sqrt (+ (* x x) y)) (neg.f64 (*.f64 x (+.f64 (fma.f64 (/.f64 (*.f64 y y) (*.f64 (*.f64 x x) (*.f64 x x))) #s(literal -1/8 binary64) (fma.f64 (/.f64 (*.f64 (*.f64 y y) y) (*.f64 (*.f64 (*.f64 x x) x) (*.f64 (*.f64 x x) x))) #s(literal 1/16 binary64) (*.f64 (/.f64 y (*.f64 x x)) #s(literal 1/2 binary64)))) #s(literal 1 binary64))))) |
#s(approx (+ (* (/ y x) 1/2) x) (*.f64 (neg.f64 x) (fma.f64 #s(literal -1/2 binary64) (/.f64 y (*.f64 x x)) #s(literal -1 binary64)))) |
#s(approx (sqrt (+ (* x x) y)) (fma.f64 (/.f64 y x) #s(literal 1/2 binary64) x)) |
#s(approx (sqrt (+ (* x x) y)) (fma.f64 (fma.f64 (/.f64 y (*.f64 (*.f64 x x) x)) #s(literal -1/8 binary64) (/.f64 #s(literal 1/2 binary64) x)) y x)) |
#s(approx (sqrt (+ (* x x) y)) (fma.f64 (fma.f64 (-.f64 (*.f64 (/.f64 y (pow.f64 x #s(literal 5 binary64))) #s(literal 1/16 binary64)) (/.f64 #s(literal 1/8 binary64) (*.f64 (*.f64 x x) x))) y (/.f64 #s(literal 1/2 binary64) x)) y x)) |
#s(approx y y) |
#s(approx (+ (* (/ y x) 1/2) x) (fma.f64 (/.f64 y x) #s(literal 1/2 binary64) x)) |
#s(approx (sqrt (+ (* x x) y)) (*.f64 (fma.f64 (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 y y) y))) (*.f64 x x)) #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 y))) y)) |
#s(approx (sqrt (+ (* x x) y)) (*.f64 y (+.f64 (fma.f64 (*.f64 #s(literal -1/8 binary64) (*.f64 (*.f64 x x) (*.f64 x x))) (sqrt.f64 (pow.f64 y #s(literal -5 binary64))) (*.f64 (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 y y) y))) (*.f64 x x)) #s(literal 1/2 binary64))) (/.f64 #s(literal 1 binary64) (sqrt.f64 y))))) |
#s(approx (sqrt (+ (* x x) y)) (*.f64 (+.f64 (fma.f64 (*.f64 #s(literal -1/8 binary64) (*.f64 (*.f64 x x) (*.f64 x x))) (sqrt.f64 (pow.f64 y #s(literal -5 binary64))) (fma.f64 (*.f64 #s(literal 1/16 binary64) (*.f64 (*.f64 (*.f64 x x) x) (*.f64 (*.f64 x x) x))) (sqrt.f64 (pow.f64 y #s(literal -7 binary64))) (*.f64 (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 y y) y))) (*.f64 x x)) #s(literal 1/2 binary64)))) (/.f64 #s(literal 1 binary64) (sqrt.f64 y))) y)) |
#s(approx (+ (* x x) y) (*.f64 (+.f64 (/.f64 (*.f64 x x) y) #s(literal 1 binary64)) y)) |
#s(approx (+ (* (/ y x) 1/2) x) (*.f64 (+.f64 (/.f64 x y) (/.f64 #s(literal 1/2 binary64) x)) y)) |
#s(approx (sqrt (+ (* x x) y)) (neg.f64 (*.f64 #s(literal -1 binary64) (sqrt.f64 y)))) |
#s(approx (sqrt (+ (* x x) y)) (neg.f64 (*.f64 (fma.f64 (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 y y) y))) (*.f64 x x)) #s(literal 1/2 binary64) (*.f64 #s(literal -1 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 y)))) y))) |
#s(approx (sqrt (+ (* x x) y)) (neg.f64 (*.f64 (fma.f64 (*.f64 (/.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1 binary64)) (sqrt.f64 (pow.f64 y #s(literal -5 binary64)))) #s(literal -1/8 binary64) (fma.f64 (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 y y) y))) (*.f64 x x)) #s(literal 1/2 binary64) (*.f64 #s(literal -1 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 y))))) y))) |
#s(approx (sqrt (+ (* x x) y)) (neg.f64 (*.f64 (fma.f64 (*.f64 (/.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal -1 binary64)) (sqrt.f64 (pow.f64 y #s(literal -5 binary64)))) #s(literal -1/8 binary64) (fma.f64 (/.f64 (*.f64 (*.f64 (*.f64 (*.f64 x x) x) (*.f64 (*.f64 x x) x)) (sqrt.f64 (pow.f64 y #s(literal -7 binary64)))) #s(literal 1 binary64)) #s(literal 1/16 binary64) (fma.f64 (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 y y) y))) (*.f64 x x)) #s(literal 1/2 binary64) (*.f64 #s(literal -1 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 y)))))) y))) |
#s(approx (+ (* x x) y) (neg.f64 (*.f64 (-.f64 (neg.f64 (/.f64 (*.f64 x x) y)) #s(literal 1 binary64)) y))) |
#s(approx (+ (* (/ y x) 1/2) x) (neg.f64 (*.f64 (-.f64 (/.f64 (neg.f64 x) y) (/.f64 #s(literal 1/2 binary64) x)) y))) |
Compiled 641 to 273 computations (57.4% saved)
5 alts after pruning (0 fresh and 5 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 65 | 0 | 65 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 5 | 5 |
| Done | 0 | 0 | 0 |
| Total | 65 | 5 | 70 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 69.0% | (sqrt.f64 (fma.f64 x x y)) |
| ✓ | 38.7% | (sqrt.f64 #s(approx (+ (* x x) y) y)) |
| ✓ | 63.9% | #s(approx (sqrt (+ (* x x) y)) (fma.f64 (/.f64 y x) #s(literal 1/2 binary64) x)) |
| ✓ | 1.3% | #s(approx (sqrt (+ (* x x) y)) (neg.f64 x)) |
| ✓ | 63.4% | #s(approx (sqrt (+ (* x x) y)) x) |
Compiled 59 to 51 computations (13.6% saved)
| Inputs |
|---|
#s(approx (sqrt (+ (* x x) y)) x) |
#s(approx (sqrt (+ (* x x) y)) (neg.f64 x)) |
(sqrt.f64 #s(approx (+ (* x x) y) y)) |
(sqrt.f64 (fma.f64 x x y)) |
(sqrt.f64 (+.f64 (*.f64 x x) y)) |
#s(approx (sqrt (+ (* x x) y)) (fma.f64 (/.f64 y x) #s(literal 1/2 binary64) x)) |
| Outputs |
|---|
(sqrt.f64 (fma.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 |
| 85.9% | 2 | y |
Compiled 13 to 16 computations (-23.1% saved)
| Inputs |
|---|
#s(approx (sqrt (+ (* x x) y)) x) |
#s(approx (sqrt (+ (* x x) y)) (neg.f64 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:
| 2.0ms | (+.f64 (*.f64 x x) y) |
| 1.0ms | x |
| 1.0ms | (sqrt.f64 (+.f64 (*.f64 x x) y)) |
| 1.0ms | (*.f64 x x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 86.6% | 2 | (*.f64 x x) |
| 72.9% | 2 | (+.f64 (*.f64 x x) y) |
| 72.9% | 2 | (sqrt.f64 (+.f64 (*.f64 x x) y)) |
| 86.6% | 2 | x |
Compiled 12 to 14 computations (-16.7% saved)
Total -39.8b remaining (-170.1%)
Threshold costs -39.8b (-170.1%)
| Inputs |
|---|
#s(approx (sqrt (+ (* x x) y)) x) |
#s(approx (sqrt (+ (* x x) y)) (neg.f64 x)) |
| Outputs |
|---|
#s(approx (sqrt (+ (* x x) y)) x) |
5 calls:
| 1.0ms | y |
| 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 |
|---|---|---|
| 63.4% | 1 | (+.f64 (*.f64 x x) y) |
| 63.4% | 1 | (sqrt.f64 (+.f64 (*.f64 x x) y)) |
| 63.4% | 1 | y |
| 63.4% | 1 | (*.f64 x x) |
| 63.4% | 1 | x |
Compiled 13 to 16 computations (-23.1% saved)
| 1× | binary-search |
| 1× | predicate-same |
| Time | Left | Right |
|---|---|---|
| 1.0ms | 2.4843867162123366e+108 | 5.304180560709818e+109 |
| 1.0ms | 16× | 0 | valid |
| 0.0ms | 1× | 0 | invalid |
Compiled 19 to 22 computations (-15.8% saved)
adjust: 0.0ms (0% of total)ival-add!: 0.0ms (0% of total)ival-sqrt: 0.0ms (0% of total)ival-mult!: 0.0ms (0% of total)| 1× | binary-search |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 8.0ms | 7.050815294191085e-53 | 9.437211794493404e-52 |
| 3.0ms | 96× | 0 | valid |
| 1.0ms | 27× | 0 | invalid |
Compiled 81 to 94 computations (-16% saved)
ival-sqrt: 1.0ms (52.7% of total)ival-mult!: 1.0ms (52.7% of total)adjust: 0.0ms (0% of total)ival-add!: 0.0ms (0% of total)| 1× | done |
Compiled 18 to 16 computations (11.1% saved)
Compiled 83 to 77 computations (7.2% saved)
Loading profile data...