
Time bar (total: 990.0ms)
| 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 |
| 25% | 25% | 74.9% | 0.1% | 0% | 0% | 0% | 3 |
| 28.6% | 25% | 62.4% | 0.1% | 0% | 12.5% | 0% | 4 |
| 46.2% | 37.5% | 43.7% | 0.1% | 0% | 18.7% | 0% | 5 |
| 52.2% | 37.5% | 34.3% | 0.1% | 0% | 28.1% | 0% | 6 |
| 65.1% | 43.7% | 23.4% | 0.1% | 0% | 32.8% | 0% | 7 |
| 70.9% | 43.7% | 18% | 0.1% | 0% | 38.2% | 0% | 8 |
| 79.5% | 46.8% | 12.1% | 0.1% | 0% | 41% | 0% | 9 |
| 83.6% | 46.8% | 9.2% | 0.1% | 0% | 43.9% | 0% | 10 |
| 88.7% | 48.4% | 6.1% | 0.1% | 0% | 45.4% | 0% | 11 |
| 91.3% | 48.4% | 4.6% | 0.1% | 0% | 46.9% | 0% | 12 |
Compiled 6 to 6 computations (0% saved)
| 475.0ms | 8 255× | 0 | valid |
| 20.0ms | 493× | 0 | invalid |
| 3.0ms | 1× | 1 | valid |
ival-add!: 78.0ms (49.1% of total)ival-sqrt: 77.0ms (48.4% of total)adjust: 4.0ms (2.5% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | (sqrt.f64 (+.f64 x y)) |
| 0 | 0 | - | 0 | - | y |
| 0 | 0 | - | 0 | - | (+.f64 x y) |
| 0 | 0 | - | 0 | - | x |
| Predicted + | Predicted - | |
|---|---|---|
| + | 0 | 0 |
| - | 0 | 256 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 0 | 0 | 0 |
| - | 0 | 0 | 256 |
| number | freq |
|---|---|
| 0 | 256 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 0 | 0 | 0 |
| - | 0 | 0 | 1 |
| 17.0ms | 512× | 0 | valid |
Compiled 26 to 16 computations (38.5% saved)
ival-sqrt: 4.0ms (68.6% of total)ival-add!: 2.0ms (34.3% of total)adjust: 0.0ms (0% of total)Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 14 | 30 |
| 1 | 16 | 30 |
| 1× | saturated |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (sqrt.f64 (+.f64 x y)) |
(sort x y)
Compiled 8 to 8 computations (0% saved)
| Inputs |
|---|
(sqrt.f64 (+.f64 x y)) |
(+.f64 x y) |
x |
y |
| Outputs |
|---|
#s(approx (sqrt (+ x y)) #s(hole binary64 (sqrt y))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (+ (sqrt y) (* 1/2 (* x (sqrt (/ 1 y))))))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (+ (sqrt y) (* x (+ (* -1/8 (* x (sqrt (/ 1 (pow y 3))))) (* 1/2 (sqrt (/ 1 y)))))))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (+ (sqrt y) (* x (+ (* 1/2 (sqrt (/ 1 y))) (* x (+ (* -1/8 (sqrt (/ 1 (pow y 3)))) (* 1/16 (* x (sqrt (/ 1 (pow y 5)))))))))))) |
#s(approx (+ x y) #s(hole binary64 y)) |
#s(approx (+ x y) #s(hole binary64 (+ x y))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (sqrt x))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (* x (+ (sqrt (/ 1 x)) (* 1/2 (* (sqrt (/ 1 (pow x 3))) y)))))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (* x (+ (sqrt (/ 1 x)) (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (pow y 2))) (* 1/2 (* (sqrt (/ 1 (pow x 3))) y))))))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (* x (+ (sqrt (/ 1 x)) (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (pow y 2))) (+ (* 1/16 (* (sqrt (/ 1 (pow x 7))) (pow y 3))) (* 1/2 (* (sqrt (/ 1 (pow x 3))) y)))))))) |
#s(approx (+ x y) #s(hole binary64 x)) |
#s(approx (+ x y) #s(hole binary64 (* x (+ 1 (/ y x))))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (* -1 (* (sqrt x) (pow (sqrt -1) 2))))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (* -1 (* x (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) y)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ (pow y 2) (pow (sqrt -1) 2)))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) y)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)))))))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ (pow y 2) (pow (sqrt -1) 2)))) (+ (* 1/16 (* (sqrt (/ 1 (pow x 7))) (/ (pow y 3) (pow (sqrt -1) 4)))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) y)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))))))) |
#s(approx (+ x y) #s(hole binary64 (* -1 (* x (- (* -1 (/ y x)) 1))))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (+ (sqrt x) (* 1/2 (* (sqrt (/ 1 x)) y))))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (+ (sqrt x) (* y (+ (* -1/8 (* (sqrt (/ 1 (pow x 3))) y)) (* 1/2 (sqrt (/ 1 x)))))))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (+ (sqrt x) (* y (+ (* 1/2 (sqrt (/ 1 x))) (* y (+ (* -1/8 (sqrt (/ 1 (pow x 3)))) (* 1/16 (* (sqrt (/ 1 (pow x 5))) y))))))))) |
#s(approx y #s(hole binary64 y)) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (* y (+ (sqrt (/ 1 y)) (* 1/2 (* x (sqrt (/ 1 (pow y 3))))))))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (* y (+ (sqrt (/ 1 y)) (+ (* -1/8 (* (pow x 2) (sqrt (/ 1 (pow y 5))))) (* 1/2 (* x (sqrt (/ 1 (pow y 3)))))))))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (* y (+ (sqrt (/ 1 y)) (+ (* -1/8 (* (pow x 2) (sqrt (/ 1 (pow y 5))))) (+ (* 1/16 (* (pow x 3) (sqrt (/ 1 (pow y 7))))) (* 1/2 (* x (sqrt (/ 1 (pow y 3))))))))))) |
#s(approx (+ x y) #s(hole binary64 (* y (+ 1 (/ x y))))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (* -1 (* (sqrt y) (pow (sqrt -1) 2))))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (* -1 (* y (+ (* 1/2 (* x (sqrt (/ 1 (pow y 3))))) (* (sqrt (/ 1 y)) (pow (sqrt -1) 2))))))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (* -1 (* y (+ (* -1/8 (* (/ (pow x 2) (pow (sqrt -1) 2)) (sqrt (/ 1 (pow y 5))))) (+ (* 1/2 (* x (sqrt (/ 1 (pow y 3))))) (* (sqrt (/ 1 y)) (pow (sqrt -1) 2)))))))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (* -1 (* y (+ (* -1/8 (* (/ (pow x 2) (pow (sqrt -1) 2)) (sqrt (/ 1 (pow y 5))))) (+ (* 1/16 (* (/ (pow x 3) (pow (sqrt -1) 4)) (sqrt (/ 1 (pow y 7))))) (+ (* 1/2 (* x (sqrt (/ 1 (pow y 3))))) (* (sqrt (/ 1 y)) (pow (sqrt -1) 2))))))))) |
#s(approx (+ x y) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) 1))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | y | @ | -inf | ((sqrt (+ x y)) (+ x y) x y) |
| 1.0ms | x | @ | -inf | ((sqrt (+ x y)) (+ x y) x y) |
| 1.0ms | x | @ | inf | ((sqrt (+ x y)) (+ x y) x y) |
| 1.0ms | y | @ | inf | ((sqrt (+ x y)) (+ x y) x y) |
| 0.0ms | x | @ | 0 | ((sqrt (+ x y)) (+ x y) x y) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 190 | 780 |
| 0 | 191 | 666 |
| 0 | 1062 | 634 |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | node-limit |
| 1× | iter-limit |
| Inputs |
|---|
(sqrt.f64 (+.f64 x y)) |
(+.f64 x y) |
x |
y |
#s(approx (sqrt (+ x y)) #s(hole binary64 (sqrt y))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (+ (sqrt y) (* 1/2 (* x (sqrt (/ 1 y))))))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (+ (sqrt y) (* x (+ (* -1/8 (* x (sqrt (/ 1 (pow y 3))))) (* 1/2 (sqrt (/ 1 y)))))))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (+ (sqrt y) (* x (+ (* 1/2 (sqrt (/ 1 y))) (* x (+ (* -1/8 (sqrt (/ 1 (pow y 3)))) (* 1/16 (* x (sqrt (/ 1 (pow y 5)))))))))))) |
#s(approx (+ x y) #s(hole binary64 y)) |
#s(approx (+ x y) #s(hole binary64 (+ x y))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (sqrt x))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (* x (+ (sqrt (/ 1 x)) (* 1/2 (* (sqrt (/ 1 (pow x 3))) y)))))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (* x (+ (sqrt (/ 1 x)) (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (pow y 2))) (* 1/2 (* (sqrt (/ 1 (pow x 3))) y))))))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (* x (+ (sqrt (/ 1 x)) (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (pow y 2))) (+ (* 1/16 (* (sqrt (/ 1 (pow x 7))) (pow y 3))) (* 1/2 (* (sqrt (/ 1 (pow x 3))) y)))))))) |
#s(approx (+ x y) #s(hole binary64 x)) |
#s(approx (+ x y) #s(hole binary64 (* x (+ 1 (/ y x))))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (* -1 (* (sqrt x) (pow (sqrt -1) 2))))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (* -1 (* x (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) y)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ (pow y 2) (pow (sqrt -1) 2)))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) y)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)))))))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ (pow y 2) (pow (sqrt -1) 2)))) (+ (* 1/16 (* (sqrt (/ 1 (pow x 7))) (/ (pow y 3) (pow (sqrt -1) 4)))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) y)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))))))) |
#s(approx (+ x y) #s(hole binary64 (* -1 (* x (- (* -1 (/ y x)) 1))))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (+ (sqrt x) (* 1/2 (* (sqrt (/ 1 x)) y))))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (+ (sqrt x) (* y (+ (* -1/8 (* (sqrt (/ 1 (pow x 3))) y)) (* 1/2 (sqrt (/ 1 x)))))))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (+ (sqrt x) (* y (+ (* 1/2 (sqrt (/ 1 x))) (* y (+ (* -1/8 (sqrt (/ 1 (pow x 3)))) (* 1/16 (* (sqrt (/ 1 (pow x 5))) y))))))))) |
#s(approx y #s(hole binary64 y)) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (* y (+ (sqrt (/ 1 y)) (* 1/2 (* x (sqrt (/ 1 (pow y 3))))))))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (* y (+ (sqrt (/ 1 y)) (+ (* -1/8 (* (pow x 2) (sqrt (/ 1 (pow y 5))))) (* 1/2 (* x (sqrt (/ 1 (pow y 3)))))))))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (* y (+ (sqrt (/ 1 y)) (+ (* -1/8 (* (pow x 2) (sqrt (/ 1 (pow y 5))))) (+ (* 1/16 (* (pow x 3) (sqrt (/ 1 (pow y 7))))) (* 1/2 (* x (sqrt (/ 1 (pow y 3))))))))))) |
#s(approx (+ x y) #s(hole binary64 (* y (+ 1 (/ x y))))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (* -1 (* (sqrt y) (pow (sqrt -1) 2))))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (* -1 (* y (+ (* 1/2 (* x (sqrt (/ 1 (pow y 3))))) (* (sqrt (/ 1 y)) (pow (sqrt -1) 2))))))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (* -1 (* y (+ (* -1/8 (* (/ (pow x 2) (pow (sqrt -1) 2)) (sqrt (/ 1 (pow y 5))))) (+ (* 1/2 (* x (sqrt (/ 1 (pow y 3))))) (* (sqrt (/ 1 y)) (pow (sqrt -1) 2)))))))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (* -1 (* y (+ (* -1/8 (* (/ (pow x 2) (pow (sqrt -1) 2)) (sqrt (/ 1 (pow y 5))))) (+ (* 1/16 (* (/ (pow x 3) (pow (sqrt -1) 4)) (sqrt (/ 1 (pow y 7))))) (+ (* 1/2 (* x (sqrt (/ 1 (pow y 3))))) (* (sqrt (/ 1 y)) (pow (sqrt -1) 2))))))))) |
#s(approx (+ x y) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) 1))))) |
| Outputs |
|---|
(pow.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(sqrt.f64 (+.f64 y x)) |
(/.f64 (-.f64 (*.f64 x x) (*.f64 y y)) (-.f64 x y)) |
(/.f64 (fma.f64 (*.f64 x x) x (*.f64 (*.f64 y y) y)) (fma.f64 x x (-.f64 (*.f64 y y) (*.f64 x y)))) |
(+.f64 y x) |
(+.f64 x y) |
x |
y |
#s(approx (sqrt (+ x y)) (sqrt.f64 y)) |
#s(approx (sqrt (+ x y)) (fma.f64 (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 y)) x) #s(literal 1/2 binary64) (sqrt.f64 y))) |
#s(approx (sqrt (+ x y)) (fma.f64 (fma.f64 (*.f64 #s(literal -1/8 binary64) x) (sqrt.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 y y) y))) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 y)) #s(literal 1/2 binary64))) x (sqrt.f64 y))) |
#s(approx (sqrt (+ x y)) (fma.f64 (fma.f64 (fma.f64 (*.f64 #s(literal 1/16 binary64) 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))) x (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 y)) #s(literal 1/2 binary64))) x (sqrt.f64 y))) |
#s(approx (+ x y) y) |
#s(approx (+ x y) (+.f64 y x)) |
#s(approx x x) |
#s(approx (sqrt (+ x y)) (sqrt.f64 x)) |
#s(approx (sqrt (+ x y)) (*.f64 (fma.f64 (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 x x) x))) y) #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))) x)) |
#s(approx (sqrt (+ x y)) (*.f64 (+.f64 (fma.f64 (*.f64 (*.f64 y y) (sqrt.f64 (pow.f64 x #s(literal -5 binary64)))) #s(literal -1/8 binary64) (*.f64 (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 x x) x))) y) #s(literal 1/2 binary64))) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))) x)) |
#s(approx (sqrt (+ x y)) (*.f64 (+.f64 (fma.f64 (*.f64 #s(literal -1/8 binary64) (sqrt.f64 (pow.f64 x #s(literal -5 binary64)))) (*.f64 y y) (fma.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -7 binary64))) (*.f64 (*.f64 y y) y)) #s(literal 1/16 binary64) (*.f64 (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 x x) x))) y) #s(literal 1/2 binary64)))) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))) x)) |
#s(approx (+ x y) x) |
#s(approx (+ x y) (*.f64 (+.f64 (/.f64 y x) #s(literal 1 binary64)) x)) |
#s(approx (sqrt (+ x y)) (neg.f64 (*.f64 #s(literal -1 binary64) (sqrt.f64 x)))) |
#s(approx (sqrt (+ x y)) (neg.f64 (*.f64 (fma.f64 #s(literal -1 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) (*.f64 (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 x x) x))) y) #s(literal 1/2 binary64))) x))) |
#s(approx (sqrt (+ x y)) (neg.f64 (*.f64 (fma.f64 (/.f64 (*.f64 (*.f64 y y) (sqrt.f64 (pow.f64 x #s(literal -5 binary64)))) #s(literal -1 binary64)) #s(literal -1/8 binary64) (fma.f64 #s(literal -1 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) (*.f64 (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 x x) x))) y) #s(literal 1/2 binary64)))) x))) |
#s(approx (sqrt (+ x y)) (neg.f64 (*.f64 (fma.f64 (/.f64 (*.f64 (*.f64 y y) (sqrt.f64 (pow.f64 x #s(literal -5 binary64)))) #s(literal -1 binary64)) #s(literal -1/8 binary64) (fma.f64 (*.f64 (/.f64 (*.f64 (*.f64 y y) y) #s(literal 1 binary64)) (sqrt.f64 (pow.f64 x #s(literal -7 binary64)))) #s(literal 1/16 binary64) (fma.f64 #s(literal -1 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) (*.f64 (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 x x) x))) y) #s(literal 1/2 binary64))))) x))) |
#s(approx (+ x y) (neg.f64 (*.f64 (-.f64 (neg.f64 (/.f64 y x)) #s(literal 1 binary64)) x))) |
#s(approx (sqrt (+ x y)) (fma.f64 (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) y) #s(literal 1/2 binary64) (sqrt.f64 x))) |
#s(approx (sqrt (+ x y)) (fma.f64 (fma.f64 (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 x x) x))) y) #s(literal -1/8 binary64) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) #s(literal 1/2 binary64))) y (sqrt.f64 x))) |
#s(approx (sqrt (+ x y)) (fma.f64 (fma.f64 (fma.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -5 binary64))) y) #s(literal 1/16 binary64) (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 x x) x))) #s(literal -1/8 binary64))) y (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) #s(literal 1/2 binary64))) y (sqrt.f64 x))) |
#s(approx y y) |
#s(approx (sqrt (+ x y)) (*.f64 (fma.f64 (*.f64 #s(literal 1/2 binary64) x) (sqrt.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 y y) y))) (/.f64 #s(literal 1 binary64) (sqrt.f64 y))) y)) |
#s(approx (sqrt (+ x y)) (*.f64 (+.f64 (fma.f64 (*.f64 #s(literal -1/8 binary64) (*.f64 x x)) (sqrt.f64 (pow.f64 y #s(literal -5 binary64))) (*.f64 (*.f64 #s(literal 1/2 binary64) x) (sqrt.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 y y) y))))) (/.f64 #s(literal 1 binary64) (sqrt.f64 y))) y)) |
#s(approx (sqrt (+ x y)) (*.f64 (+.f64 (fma.f64 (*.f64 #s(literal -1/8 binary64) (*.f64 x x)) (sqrt.f64 (pow.f64 y #s(literal -5 binary64))) (fma.f64 (*.f64 (sqrt.f64 (pow.f64 y #s(literal -7 binary64))) (*.f64 (*.f64 x x) x)) #s(literal 1/16 binary64) (*.f64 (*.f64 #s(literal 1/2 binary64) x) (sqrt.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 y y) y)))))) (/.f64 #s(literal 1 binary64) (sqrt.f64 y))) y)) |
#s(approx (+ x y) (*.f64 (+.f64 (/.f64 x y) #s(literal 1 binary64)) y)) |
#s(approx (sqrt (+ x y)) (neg.f64 (*.f64 #s(literal -1 binary64) (sqrt.f64 y)))) |
#s(approx (sqrt (+ x y)) (neg.f64 (*.f64 (fma.f64 (*.f64 #s(literal 1/2 binary64) x) (sqrt.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 y y) y))) (*.f64 #s(literal -1 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 y)))) y))) |
#s(approx (sqrt (+ x y)) (neg.f64 (*.f64 (fma.f64 (*.f64 #s(literal -1/8 binary64) (/.f64 (*.f64 x x) #s(literal -1 binary64))) (sqrt.f64 (pow.f64 y #s(literal -5 binary64))) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) (sqrt.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 y y) y))) (*.f64 #s(literal -1 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 y))))) y))) |
#s(approx (sqrt (+ x y)) (neg.f64 (*.f64 (fma.f64 (/.f64 (*.f64 (*.f64 x x) (sqrt.f64 (pow.f64 y #s(literal -5 binary64)))) #s(literal -1 binary64)) #s(literal -1/8 binary64) (fma.f64 (*.f64 (/.f64 (*.f64 (*.f64 x x) x) #s(literal 1 binary64)) (sqrt.f64 (pow.f64 y #s(literal -7 binary64)))) #s(literal 1/16 binary64) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) (sqrt.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 y y) y))) (*.f64 #s(literal -1 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 y)))))) y))) |
#s(approx (+ x y) (neg.f64 (*.f64 (-.f64 (neg.f64 (/.f64 x y)) #s(literal 1 binary64)) y))) |
Compiled 753 to 182 computations (75.8% saved)
3 alts after pruning (2 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 33 | 2 | 35 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 33 | 3 | 36 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (sqrt.f64 (+.f64 x y)) |
| ▶ | 97.7% | (sqrt.f64 #s(approx (+ x y) y)) |
| ▶ | 3.4% | (sqrt.f64 #s(approx (+ x y) x)) |
Compiled 16 to 14 computations (12.5% saved)
| Inputs |
|---|
(sqrt.f64 #s(approx (+ x y) x)) |
#s(approx (+ x y) x) |
x |
(sqrt.f64 #s(approx (+ x y) y)) |
#s(approx (+ x y) y) |
y |
| Outputs |
|---|
#s(approx (sqrt (+ x y)) #s(hole binary64 (sqrt y))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (+ (sqrt y) (* 1/2 (* x (sqrt (/ 1 y))))))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (+ (sqrt y) (* x (+ (* -1/8 (* x (sqrt (/ 1 (pow y 3))))) (* 1/2 (sqrt (/ 1 y)))))))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (+ (sqrt y) (* x (+ (* 1/2 (sqrt (/ 1 y))) (* x (+ (* -1/8 (sqrt (/ 1 (pow y 3)))) (* 1/16 (* x (sqrt (/ 1 (pow y 5)))))))))))) |
#s(approx (+ x y) #s(hole binary64 y)) |
#s(approx (+ x y) #s(hole binary64 (+ x y))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (sqrt x))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (* x (+ (sqrt (/ 1 x)) (* 1/2 (* (sqrt (/ 1 (pow x 3))) y)))))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (* x (+ (sqrt (/ 1 x)) (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (pow y 2))) (* 1/2 (* (sqrt (/ 1 (pow x 3))) y))))))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (* x (+ (sqrt (/ 1 x)) (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (pow y 2))) (+ (* 1/16 (* (sqrt (/ 1 (pow x 7))) (pow y 3))) (* 1/2 (* (sqrt (/ 1 (pow x 3))) y)))))))) |
#s(approx (+ x y) #s(hole binary64 x)) |
#s(approx (+ x y) #s(hole binary64 (* x (+ 1 (/ y x))))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (* -1 (* (sqrt x) (pow (sqrt -1) 2))))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (* -1 (* x (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) y)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ (pow y 2) (pow (sqrt -1) 2)))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) y)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)))))))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ (pow y 2) (pow (sqrt -1) 2)))) (+ (* 1/16 (* (sqrt (/ 1 (pow x 7))) (/ (pow y 3) (pow (sqrt -1) 4)))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) y)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))))))) |
#s(approx (+ x y) #s(hole binary64 (* -1 (* x (- (* -1 (/ y x)) 1))))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (+ (sqrt x) (* 1/2 (* (sqrt (/ 1 x)) y))))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (+ (sqrt x) (* y (+ (* -1/8 (* (sqrt (/ 1 (pow x 3))) y)) (* 1/2 (sqrt (/ 1 x)))))))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (+ (sqrt x) (* y (+ (* 1/2 (sqrt (/ 1 x))) (* y (+ (* -1/8 (sqrt (/ 1 (pow x 3)))) (* 1/16 (* (sqrt (/ 1 (pow x 5))) y))))))))) |
#s(approx y #s(hole binary64 y)) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (* y (+ (sqrt (/ 1 y)) (* 1/2 (* x (sqrt (/ 1 (pow y 3))))))))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (* y (+ (sqrt (/ 1 y)) (+ (* -1/8 (* (pow x 2) (sqrt (/ 1 (pow y 5))))) (* 1/2 (* x (sqrt (/ 1 (pow y 3)))))))))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (* y (+ (sqrt (/ 1 y)) (+ (* -1/8 (* (pow x 2) (sqrt (/ 1 (pow y 5))))) (+ (* 1/16 (* (pow x 3) (sqrt (/ 1 (pow y 7))))) (* 1/2 (* x (sqrt (/ 1 (pow y 3))))))))))) |
#s(approx (+ x y) #s(hole binary64 (* y (+ 1 (/ x y))))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (* -1 (* (sqrt y) (pow (sqrt -1) 2))))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (* -1 (* y (+ (* 1/2 (* x (sqrt (/ 1 (pow y 3))))) (* (sqrt (/ 1 y)) (pow (sqrt -1) 2))))))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (* -1 (* y (+ (* -1/8 (* (/ (pow x 2) (pow (sqrt -1) 2)) (sqrt (/ 1 (pow y 5))))) (+ (* 1/2 (* x (sqrt (/ 1 (pow y 3))))) (* (sqrt (/ 1 y)) (pow (sqrt -1) 2)))))))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (* -1 (* y (+ (* -1/8 (* (/ (pow x 2) (pow (sqrt -1) 2)) (sqrt (/ 1 (pow y 5))))) (+ (* 1/16 (* (/ (pow x 3) (pow (sqrt -1) 4)) (sqrt (/ 1 (pow y 7))))) (+ (* 1/2 (* x (sqrt (/ 1 (pow y 3))))) (* (sqrt (/ 1 y)) (pow (sqrt -1) 2))))))))) |
#s(approx (+ x y) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) 1))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | y | @ | -inf | ((sqrt (+ x y)) (+ x y) x (sqrt (+ x y)) (+ x y) y) |
| 0.0ms | x | @ | -inf | ((sqrt (+ x y)) (+ x y) x (sqrt (+ x y)) (+ x y) y) |
| 0.0ms | x | @ | inf | ((sqrt (+ x y)) (+ x y) x (sqrt (+ x y)) (+ x y) y) |
| 0.0ms | y | @ | inf | ((sqrt (+ x y)) (+ x y) x (sqrt (+ x y)) (+ x y) y) |
| 0.0ms | x | @ | 0 | ((sqrt (+ x y)) (+ x y) x (sqrt (+ x y)) (+ x y) y) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 190 | 795 |
| 0 | 192 | 681 |
| 0 | 1065 | 649 |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | node-limit |
| 1× | iter-limit |
| Inputs |
|---|
(sqrt.f64 #s(approx (+ x y) x)) |
#s(approx (+ x y) x) |
x |
(sqrt.f64 #s(approx (+ x y) y)) |
#s(approx (+ x y) y) |
y |
#s(approx (sqrt (+ x y)) #s(hole binary64 (sqrt y))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (+ (sqrt y) (* 1/2 (* x (sqrt (/ 1 y))))))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (+ (sqrt y) (* x (+ (* -1/8 (* x (sqrt (/ 1 (pow y 3))))) (* 1/2 (sqrt (/ 1 y)))))))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (+ (sqrt y) (* x (+ (* 1/2 (sqrt (/ 1 y))) (* x (+ (* -1/8 (sqrt (/ 1 (pow y 3)))) (* 1/16 (* x (sqrt (/ 1 (pow y 5)))))))))))) |
#s(approx (+ x y) #s(hole binary64 y)) |
#s(approx (+ x y) #s(hole binary64 (+ x y))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (sqrt x))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (* x (+ (sqrt (/ 1 x)) (* 1/2 (* (sqrt (/ 1 (pow x 3))) y)))))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (* x (+ (sqrt (/ 1 x)) (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (pow y 2))) (* 1/2 (* (sqrt (/ 1 (pow x 3))) y))))))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (* x (+ (sqrt (/ 1 x)) (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (pow y 2))) (+ (* 1/16 (* (sqrt (/ 1 (pow x 7))) (pow y 3))) (* 1/2 (* (sqrt (/ 1 (pow x 3))) y)))))))) |
#s(approx (+ x y) #s(hole binary64 x)) |
#s(approx (+ x y) #s(hole binary64 (* x (+ 1 (/ y x))))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (* -1 (* (sqrt x) (pow (sqrt -1) 2))))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (* -1 (* x (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) y)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ (pow y 2) (pow (sqrt -1) 2)))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) y)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)))))))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ (pow y 2) (pow (sqrt -1) 2)))) (+ (* 1/16 (* (sqrt (/ 1 (pow x 7))) (/ (pow y 3) (pow (sqrt -1) 4)))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) y)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))))))) |
#s(approx (+ x y) #s(hole binary64 (* -1 (* x (- (* -1 (/ y x)) 1))))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (+ (sqrt x) (* 1/2 (* (sqrt (/ 1 x)) y))))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (+ (sqrt x) (* y (+ (* -1/8 (* (sqrt (/ 1 (pow x 3))) y)) (* 1/2 (sqrt (/ 1 x)))))))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (+ (sqrt x) (* y (+ (* 1/2 (sqrt (/ 1 x))) (* y (+ (* -1/8 (sqrt (/ 1 (pow x 3)))) (* 1/16 (* (sqrt (/ 1 (pow x 5))) y))))))))) |
#s(approx y #s(hole binary64 y)) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (* y (+ (sqrt (/ 1 y)) (* 1/2 (* x (sqrt (/ 1 (pow y 3))))))))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (* y (+ (sqrt (/ 1 y)) (+ (* -1/8 (* (pow x 2) (sqrt (/ 1 (pow y 5))))) (* 1/2 (* x (sqrt (/ 1 (pow y 3)))))))))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (* y (+ (sqrt (/ 1 y)) (+ (* -1/8 (* (pow x 2) (sqrt (/ 1 (pow y 5))))) (+ (* 1/16 (* (pow x 3) (sqrt (/ 1 (pow y 7))))) (* 1/2 (* x (sqrt (/ 1 (pow y 3))))))))))) |
#s(approx (+ x y) #s(hole binary64 (* y (+ 1 (/ x y))))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (* -1 (* (sqrt y) (pow (sqrt -1) 2))))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (* -1 (* y (+ (* 1/2 (* x (sqrt (/ 1 (pow y 3))))) (* (sqrt (/ 1 y)) (pow (sqrt -1) 2))))))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (* -1 (* y (+ (* -1/8 (* (/ (pow x 2) (pow (sqrt -1) 2)) (sqrt (/ 1 (pow y 5))))) (+ (* 1/2 (* x (sqrt (/ 1 (pow y 3))))) (* (sqrt (/ 1 y)) (pow (sqrt -1) 2)))))))) |
#s(approx (sqrt (+ x y)) #s(hole binary64 (* -1 (* y (+ (* -1/8 (* (/ (pow x 2) (pow (sqrt -1) 2)) (sqrt (/ 1 (pow y 5))))) (+ (* 1/16 (* (/ (pow x 3) (pow (sqrt -1) 4)) (sqrt (/ 1 (pow y 7))))) (+ (* 1/2 (* x (sqrt (/ 1 (pow y 3))))) (* (sqrt (/ 1 y)) (pow (sqrt -1) 2))))))))) |
#s(approx (+ x y) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) 1))))) |
| Outputs |
|---|
(pow.f64 #s(approx (+ x y) x) #s(literal 1/2 binary64)) |
(sqrt.f64 #s(approx (+ x y) x)) |
#s(approx (+ x y) x) |
x |
(pow.f64 #s(approx (+ x y) y) #s(literal 1/2 binary64)) |
(sqrt.f64 #s(approx (+ x y) y)) |
#s(approx (+ x y) y) |
y |
#s(approx (sqrt (+ x y)) (sqrt.f64 y)) |
#s(approx (sqrt (+ x y)) (fma.f64 (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 y)) x) #s(literal 1/2 binary64) (sqrt.f64 y))) |
#s(approx (sqrt (+ x y)) (fma.f64 (fma.f64 (*.f64 #s(literal -1/8 binary64) x) (sqrt.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 y y) y))) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 y)) #s(literal 1/2 binary64))) x (sqrt.f64 y))) |
#s(approx (sqrt (+ x y)) (fma.f64 (fma.f64 (fma.f64 (*.f64 #s(literal 1/16 binary64) 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))) x (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 y)) #s(literal 1/2 binary64))) x (sqrt.f64 y))) |
#s(approx (+ x y) y) |
#s(approx (+ x y) (+.f64 y x)) |
#s(approx x x) |
#s(approx (sqrt (+ x y)) (sqrt.f64 x)) |
#s(approx (sqrt (+ x y)) (*.f64 (fma.f64 (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 x x) x))) y) #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))) x)) |
#s(approx (sqrt (+ x y)) (*.f64 (+.f64 (fma.f64 (*.f64 (*.f64 y y) (sqrt.f64 (pow.f64 x #s(literal -5 binary64)))) #s(literal -1/8 binary64) (*.f64 (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 x x) x))) y) #s(literal 1/2 binary64))) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))) x)) |
#s(approx (sqrt (+ x y)) (*.f64 (+.f64 (fma.f64 (*.f64 #s(literal -1/8 binary64) (sqrt.f64 (pow.f64 x #s(literal -5 binary64)))) (*.f64 y y) (fma.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -7 binary64))) (*.f64 (*.f64 y y) y)) #s(literal 1/16 binary64) (*.f64 (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 x x) x))) y) #s(literal 1/2 binary64)))) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))) x)) |
#s(approx (+ x y) x) |
#s(approx (+ x y) (*.f64 (+.f64 (/.f64 y x) #s(literal 1 binary64)) x)) |
#s(approx (sqrt (+ x y)) (neg.f64 (*.f64 #s(literal -1 binary64) (sqrt.f64 x)))) |
#s(approx (sqrt (+ x y)) (neg.f64 (*.f64 (fma.f64 #s(literal -1 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) (*.f64 (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 x x) x))) y) #s(literal 1/2 binary64))) x))) |
#s(approx (sqrt (+ x y)) (neg.f64 (*.f64 (fma.f64 (/.f64 (*.f64 (*.f64 y y) (sqrt.f64 (pow.f64 x #s(literal -5 binary64)))) #s(literal -1 binary64)) #s(literal -1/8 binary64) (fma.f64 #s(literal -1 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) (*.f64 (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 x x) x))) y) #s(literal 1/2 binary64)))) x))) |
#s(approx (sqrt (+ x y)) (neg.f64 (*.f64 (fma.f64 (/.f64 (*.f64 (*.f64 y y) (sqrt.f64 (pow.f64 x #s(literal -5 binary64)))) #s(literal -1 binary64)) #s(literal -1/8 binary64) (fma.f64 (*.f64 (/.f64 (*.f64 (*.f64 y y) y) #s(literal 1 binary64)) (sqrt.f64 (pow.f64 x #s(literal -7 binary64)))) #s(literal 1/16 binary64) (fma.f64 #s(literal -1 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) (*.f64 (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 x x) x))) y) #s(literal 1/2 binary64))))) x))) |
#s(approx (+ x y) (neg.f64 (*.f64 (-.f64 (neg.f64 (/.f64 y x)) #s(literal 1 binary64)) x))) |
#s(approx (sqrt (+ x y)) (fma.f64 (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) y) #s(literal 1/2 binary64) (sqrt.f64 x))) |
#s(approx (sqrt (+ x y)) (fma.f64 (fma.f64 (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 x x) x))) y) #s(literal -1/8 binary64) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) #s(literal 1/2 binary64))) y (sqrt.f64 x))) |
#s(approx (sqrt (+ x y)) (fma.f64 (fma.f64 (fma.f64 (*.f64 (sqrt.f64 (pow.f64 x #s(literal -5 binary64))) y) #s(literal 1/16 binary64) (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 x x) x))) #s(literal -1/8 binary64))) y (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) #s(literal 1/2 binary64))) y (sqrt.f64 x))) |
#s(approx y y) |
#s(approx (sqrt (+ x y)) (*.f64 (fma.f64 (*.f64 #s(literal 1/2 binary64) x) (sqrt.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 y y) y))) (/.f64 #s(literal 1 binary64) (sqrt.f64 y))) y)) |
#s(approx (sqrt (+ x y)) (*.f64 (+.f64 (fma.f64 (*.f64 #s(literal 1/2 binary64) x) (sqrt.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 y y) y))) (*.f64 (*.f64 #s(literal -1/8 binary64) (*.f64 x x)) (sqrt.f64 (pow.f64 y #s(literal -5 binary64))))) (/.f64 #s(literal 1 binary64) (sqrt.f64 y))) y)) |
#s(approx (sqrt (+ x y)) (*.f64 (+.f64 (fma.f64 (*.f64 #s(literal -1/8 binary64) (*.f64 x x)) (sqrt.f64 (pow.f64 y #s(literal -5 binary64))) (fma.f64 (*.f64 (sqrt.f64 (pow.f64 y #s(literal -7 binary64))) (*.f64 (*.f64 x x) x)) #s(literal 1/16 binary64) (*.f64 (*.f64 #s(literal 1/2 binary64) x) (sqrt.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 y y) y)))))) (/.f64 #s(literal 1 binary64) (sqrt.f64 y))) y)) |
#s(approx (+ x y) (*.f64 (+.f64 (/.f64 x y) #s(literal 1 binary64)) y)) |
#s(approx (sqrt (+ x y)) (neg.f64 (*.f64 #s(literal -1 binary64) (sqrt.f64 y)))) |
#s(approx (sqrt (+ x y)) (neg.f64 (*.f64 (fma.f64 (*.f64 #s(literal 1/2 binary64) x) (sqrt.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 y y) y))) (*.f64 #s(literal -1 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 y)))) y))) |
#s(approx (sqrt (+ x y)) (neg.f64 (*.f64 (fma.f64 (*.f64 #s(literal -1/8 binary64) (/.f64 (*.f64 x x) #s(literal -1 binary64))) (sqrt.f64 (pow.f64 y #s(literal -5 binary64))) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) (sqrt.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 y y) y))) (*.f64 #s(literal -1 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 y))))) y))) |
#s(approx (sqrt (+ x y)) (neg.f64 (*.f64 (fma.f64 (/.f64 (*.f64 (*.f64 x x) (sqrt.f64 (pow.f64 y #s(literal -5 binary64)))) #s(literal -1 binary64)) #s(literal -1/8 binary64) (fma.f64 (*.f64 (/.f64 (*.f64 (*.f64 x x) x) #s(literal 1 binary64)) (sqrt.f64 (pow.f64 y #s(literal -7 binary64)))) #s(literal 1/16 binary64) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) (sqrt.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 y y) y))) (*.f64 #s(literal -1 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 y)))))) y))) |
#s(approx (+ x y) (neg.f64 (*.f64 (-.f64 (neg.f64 (/.f64 x y)) #s(literal 1 binary64)) y))) |
Compiled 716 to 171 computations (76.1% saved)
3 alts after pruning (0 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 31 | 0 | 31 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 2 | 2 |
| Done | 0 | 1 | 1 |
| Total | 31 | 3 | 34 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (sqrt.f64 (+.f64 x y)) |
| ✓ | 97.7% | (sqrt.f64 #s(approx (+ x y) y)) |
| ✓ | 3.4% | (sqrt.f64 #s(approx (+ x y) x)) |
Compiled 32 to 23 computations (28.1% saved)
| Inputs |
|---|
(sqrt.f64 #s(approx (+ x y) x)) |
(sqrt.f64 #s(approx (+ x y) y)) |
(sqrt.f64 (+.f64 x y)) |
| Outputs |
|---|
(sqrt.f64 (+.f64 x y)) |
4 calls:
| 2.0ms | (sqrt.f64 (+.f64 x y)) |
| 2.0ms | y |
| 2.0ms | (+.f64 x y) |
| 2.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | (+.f64 x y) |
| 100.0% | 1 | (sqrt.f64 (+.f64 x y)) |
| 100.0% | 1 | x |
| 100.0% | 1 | y |
Compiled 9 to 11 computations (-22.2% saved)
| Inputs |
|---|
(sqrt.f64 #s(approx (+ x y) x)) |
(sqrt.f64 #s(approx (+ x y) y)) |
| Outputs |
|---|
(sqrt.f64 #s(approx (+ x y) y)) |
4 calls:
| 5.0ms | y |
| 1.0ms | x |
| 1.0ms | (+.f64 x y) |
| 1.0ms | (sqrt.f64 (+.f64 x y)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 97.7% | 1 | (+.f64 x y) |
| 97.7% | 1 | (sqrt.f64 (+.f64 x y)) |
| 97.7% | 1 | x |
| 97.7% | 1 | y |
Compiled 9 to 11 computations (-22.2% saved)
Total -0.0b remaining (-0%)
Threshold costs -0b (-0%)
| Inputs |
|---|
(sqrt.f64 #s(approx (+ x y) x)) |
| Outputs |
|---|
(sqrt.f64 #s(approx (+ x y) x)) |
4 calls:
| 1.0ms | (+.f64 x y) |
| 1.0ms | (sqrt.f64 (+.f64 x y)) |
| 1.0ms | y |
| 1.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 3.4% | 1 | x |
| 3.4% | 1 | (+.f64 x y) |
| 3.4% | 1 | (sqrt.f64 (+.f64 x y)) |
| 3.4% | 1 | y |
Compiled 9 to 11 computations (-22.2% saved)
| 1× | done |
Compiled 16 to 9 computations (43.8% saved)
(sort x y)
Compiled 72 to 54 computations (25% saved)
Loading profile data...