
Time bar (total: 2.4s)
| 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)
| 592.0ms | 8 256× | 0 | valid |
| 24.0ms | 491× | 0 | invalid |
ival-add: 126.0ms (62.7% of total)ival-sqrt: 63.0ms (31.4% of total)ival-true: 6.0ms (3% of total)ival-assert: 4.0ms (2% of total)adjust: 3.0ms (1.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 |
| 19.0ms | 512× | 0 | valid |
Compiled 26 to 16 computations (38.5% saved)
ival-sqrt: 4.0ms (53.3% of total)ival-add: 3.0ms (40% 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 | 12 | 26 |
| 1 | 15 | 26 |
| 0 | 4 | 4 |
| 0 | 6 | 4 |
| 1 | 7 | 4 |
| 0 | 7 | 4 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(sqrt.f64 (+.f64 x y)) |
| Outputs |
|---|
(sqrt.f64 (+.f64 x y)) |
(sqrt.f64 (+.f64 y x)) |
(sort x y)
Compiled 4 to 4 computations (0% saved)
Compiled 0 to 2 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (sqrt.f64 (+.f64 x y)) |
Compiled 4 to 4 computations (0% saved)
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (+.f64 x y) | |
| cost-diff | 0 | (sqrt.f64 (+.f64 x y)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 4 | 9 |
| 0 | 6 | 9 |
| 1 | 7 | 9 |
| 0 | 7 | 9 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
(sqrt.f64 (+.f64 x y)) |
(+.f64 x y) |
x |
y |
| Outputs |
|---|
(sqrt.f64 (+.f64 x y)) |
(sqrt.f64 (+.f64 y x)) |
(+.f64 x y) |
(+.f64 y x) |
x |
y |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (+.f64 x y) | |
| accuracy | 0.0078125 | (sqrt.f64 (+.f64 x y)) |
| 11.0ms | 256× | 0 | valid |
Compiled 11 to 6 computations (45.5% saved)
ival-add: 2.0ms (52.6% of total)ival-sqrt: 2.0ms (52.6% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
(sqrt.f64 (+.f64 x y)) |
(+.f64 x y) |
| Outputs |
|---|
(sqrt y) |
(+ (sqrt y) (* 1/2 (* x (sqrt (/ 1 y))))) |
(+ (sqrt y) (* x (+ (* -1/8 (* x (sqrt (/ 1 (pow y 3))))) (* 1/2 (sqrt (/ 1 y)))))) |
(+ (sqrt y) (* x (+ (* 1/2 (sqrt (/ 1 y))) (* x (+ (* -1/8 (sqrt (/ 1 (pow y 3)))) (* 1/16 (* x (sqrt (/ 1 (pow y 5)))))))))) |
y |
(+ x y) |
(sqrt x) |
(* x (+ (sqrt (/ 1 x)) (* 1/2 (* (sqrt (/ 1 (pow x 3))) y)))) |
(* x (+ (sqrt (/ 1 x)) (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (pow y 2))) (* 1/2 (* (sqrt (/ 1 (pow x 3))) y))))) |
(* 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)))))) |
x |
(* x (+ 1 (/ y x))) |
(* -1 (* (sqrt x) (pow (sqrt -1) 2))) |
(* -1 (* x (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) y)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))) |
(* -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)))))) |
(* -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))))))) |
(* -1 (* x (- (* -1 (/ y x)) 1))) |
(+ (sqrt x) (* 1/2 (* (sqrt (/ 1 x)) y))) |
(+ (sqrt x) (* y (+ (* -1/8 (* (sqrt (/ 1 (pow x 3))) y)) (* 1/2 (sqrt (/ 1 x)))))) |
(+ (sqrt x) (* y (+ (* 1/2 (sqrt (/ 1 x))) (* y (+ (* -1/8 (sqrt (/ 1 (pow x 3)))) (* 1/16 (* (sqrt (/ 1 (pow x 5))) y))))))) |
(* y (+ (sqrt (/ 1 y)) (* 1/2 (* x (sqrt (/ 1 (pow y 3))))))) |
(* y (+ (sqrt (/ 1 y)) (+ (* -1/8 (* (pow x 2) (sqrt (/ 1 (pow y 5))))) (* 1/2 (* x (sqrt (/ 1 (pow y 3)))))))) |
(* 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))))))))) |
(* y (+ 1 (/ x y))) |
(* -1 (* (sqrt y) (pow (sqrt -1) 2))) |
(* -1 (* y (+ (* 1/2 (* x (sqrt (/ 1 (pow y 3))))) (* (sqrt (/ 1 y)) (pow (sqrt -1) 2))))) |
(* -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)))))) |
(* -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))))))) |
(* -1 (* y (- (* -1 (/ x y)) 1))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | ((sqrt (+ x y)) (+ x y)) |
| 1.0ms | y | @ | -inf | ((sqrt (+ x y)) (+ x y)) |
| 1.0ms | x | @ | inf | ((sqrt (+ x y)) (+ x y)) |
| 1.0ms | y | @ | inf | ((sqrt (+ x y)) (+ x y)) |
| 0.0ms | x | @ | 0 | ((sqrt (+ x y)) (+ x y)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 156 | 603 |
| 1 | 496 | 573 |
| 2 | 2002 | 533 |
| 0 | 5838 | 495 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(sqrt y) |
(+ (sqrt y) (* 1/2 (* x (sqrt (/ 1 y))))) |
(+ (sqrt y) (* x (+ (* -1/8 (* x (sqrt (/ 1 (pow y 3))))) (* 1/2 (sqrt (/ 1 y)))))) |
(+ (sqrt y) (* x (+ (* 1/2 (sqrt (/ 1 y))) (* x (+ (* -1/8 (sqrt (/ 1 (pow y 3)))) (* 1/16 (* x (sqrt (/ 1 (pow y 5)))))))))) |
y |
(+ x y) |
(sqrt x) |
(* x (+ (sqrt (/ 1 x)) (* 1/2 (* (sqrt (/ 1 (pow x 3))) y)))) |
(* x (+ (sqrt (/ 1 x)) (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (pow y 2))) (* 1/2 (* (sqrt (/ 1 (pow x 3))) y))))) |
(* 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)))))) |
x |
(* x (+ 1 (/ y x))) |
(* -1 (* (sqrt x) (pow (sqrt -1) 2))) |
(* -1 (* x (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) y)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))) |
(* -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)))))) |
(* -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))))))) |
(* -1 (* x (- (* -1 (/ y x)) 1))) |
(+ (sqrt x) (* 1/2 (* (sqrt (/ 1 x)) y))) |
(+ (sqrt x) (* y (+ (* -1/8 (* (sqrt (/ 1 (pow x 3))) y)) (* 1/2 (sqrt (/ 1 x)))))) |
(+ (sqrt x) (* y (+ (* 1/2 (sqrt (/ 1 x))) (* y (+ (* -1/8 (sqrt (/ 1 (pow x 3)))) (* 1/16 (* (sqrt (/ 1 (pow x 5))) y))))))) |
(* y (+ (sqrt (/ 1 y)) (* 1/2 (* x (sqrt (/ 1 (pow y 3))))))) |
(* y (+ (sqrt (/ 1 y)) (+ (* -1/8 (* (pow x 2) (sqrt (/ 1 (pow y 5))))) (* 1/2 (* x (sqrt (/ 1 (pow y 3)))))))) |
(* 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))))))))) |
(* y (+ 1 (/ x y))) |
(* -1 (* (sqrt y) (pow (sqrt -1) 2))) |
(* -1 (* y (+ (* 1/2 (* x (sqrt (/ 1 (pow y 3))))) (* (sqrt (/ 1 y)) (pow (sqrt -1) 2))))) |
(* -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)))))) |
(* -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))))))) |
(* -1 (* y (- (* -1 (/ x y)) 1))) |
| Outputs |
|---|
(sqrt y) |
(sqrt.f64 y) |
(+ (sqrt y) (* 1/2 (* x (sqrt (/ 1 y))))) |
(fma.f64 (*.f64 #s(literal 1/2 binary64) x) (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) (sqrt.f64 y)) |
(+ (sqrt y) (* x (+ (* -1/8 (* x (sqrt (/ 1 (pow y 3))))) (* 1/2 (sqrt (/ 1 y)))))) |
(fma.f64 (fma.f64 (*.f64 #s(literal -1/8 binary64) 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))) x (sqrt.f64 y)) |
(+ (sqrt y) (* x (+ (* 1/2 (sqrt (/ 1 y))) (* x (+ (* -1/8 (sqrt (/ 1 (pow y 3)))) (* 1/16 (* x (sqrt (/ 1 (pow y 5)))))))))) |
(fma.f64 (fma.f64 (fma.f64 (*.f64 #s(literal 1/16 binary64) 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))) x (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) #s(literal 1/2 binary64))) x (sqrt.f64 y)) |
y |
(+ x y) |
(+.f64 y x) |
(sqrt x) |
(sqrt.f64 x) |
(* x (+ (sqrt (/ 1 x)) (* 1/2 (* (sqrt (/ 1 (pow x 3))) y)))) |
(*.f64 (fma.f64 (*.f64 #s(literal 1/2 binary64) y) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))) x) |
(* x (+ (sqrt (/ 1 x)) (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (pow y 2))) (* 1/2 (* (sqrt (/ 1 (pow x 3))) y))))) |
(*.f64 (fma.f64 y (fma.f64 (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) #s(literal -1/8 binary64)) y (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) #s(literal 1/2 binary64))) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))) x) |
(* 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)))))) |
(*.f64 (fma.f64 (*.f64 y y) (fma.f64 (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 7 binary64)))) #s(literal 1/16 binary64)) y (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) #s(literal -1/8 binary64))) (fma.f64 (*.f64 #s(literal 1/2 binary64) y) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)))) x) |
x |
(* x (+ 1 (/ y x))) |
(fma.f64 (/.f64 y x) x x) |
(* -1 (* (sqrt x) (pow (sqrt -1) 2))) |
(sqrt.f64 x) |
(* -1 (* x (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) y)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))) |
(*.f64 (fma.f64 (*.f64 #s(literal -1/2 binary64) y) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))) x) |
(* -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)))))) |
(*.f64 (fma.f64 (*.f64 (*.f64 y y) #s(literal -1/8 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) (fma.f64 (*.f64 #s(literal -1/2 binary64) y) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)))) x) |
(* -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))))))) |
(*.f64 (fma.f64 (*.f64 (*.f64 y y) #s(literal -1/8 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) (fma.f64 (*.f64 #s(literal -1/16 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 7 binary64))))) (pow.f64 y #s(literal 3 binary64)) (fma.f64 (*.f64 #s(literal -1/2 binary64) y) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))))) x) |
(* -1 (* x (- (* -1 (/ y x)) 1))) |
(*.f64 (neg.f64 x) (fma.f64 #s(literal -1 binary64) (/.f64 y x) #s(literal -1 binary64))) |
(+ (sqrt x) (* 1/2 (* (sqrt (/ 1 x)) y))) |
(fma.f64 (*.f64 #s(literal 1/2 binary64) y) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (sqrt.f64 x)) |
(+ (sqrt x) (* y (+ (* -1/8 (* (sqrt (/ 1 (pow x 3))) y)) (* 1/2 (sqrt (/ 1 x)))))) |
(fma.f64 (fma.f64 (*.f64 #s(literal -1/8 binary64) y) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal 1/2 binary64))) y (sqrt.f64 x)) |
(+ (sqrt x) (* y (+ (* 1/2 (sqrt (/ 1 x))) (* y (+ (* -1/8 (sqrt (/ 1 (pow x 3)))) (* 1/16 (* (sqrt (/ 1 (pow x 5))) y))))))) |
(fma.f64 (fma.f64 (fma.f64 (*.f64 #s(literal 1/16 binary64) y) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) #s(literal -1/8 binary64))) y (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal 1/2 binary64))) y (sqrt.f64 x)) |
(* y (+ (sqrt (/ 1 y)) (* 1/2 (* x (sqrt (/ 1 (pow y 3))))))) |
(*.f64 (fma.f64 (*.f64 #s(literal 1/2 binary64) x) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64)))) (sqrt.f64 (/.f64 #s(literal 1 binary64) y))) y) |
(* y (+ (sqrt (/ 1 y)) (+ (* -1/8 (* (pow x 2) (sqrt (/ 1 (pow y 5))))) (* 1/2 (* x (sqrt (/ 1 (pow y 3)))))))) |
(*.f64 (fma.f64 (*.f64 (*.f64 x x) #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) x) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64)))) (sqrt.f64 (/.f64 #s(literal 1 binary64) y)))) y) |
(* y (+ (sqrt (/ 1 y)) (+ (* -1/8 (* (pow x 2) (sqrt (/ 1 (pow y 5))))) (+ (* 1/16 (* (pow x 3) (sqrt (/ 1 (pow y 7))))) (* 1/2 (* x (sqrt (/ 1 (pow y 3))))))))) |
(*.f64 (fma.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/16 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 7 binary64)))) (fma.f64 (*.f64 (*.f64 x x) #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) x) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64)))) (sqrt.f64 (/.f64 #s(literal 1 binary64) y))))) y) |
(* y (+ 1 (/ x y))) |
(fma.f64 (/.f64 x y) y y) |
(* -1 (* (sqrt y) (pow (sqrt -1) 2))) |
(sqrt.f64 y) |
(* -1 (* y (+ (* 1/2 (* x (sqrt (/ 1 (pow y 3))))) (* (sqrt (/ 1 y)) (pow (sqrt -1) 2))))) |
(*.f64 (fma.f64 (*.f64 #s(literal -1/2 binary64) x) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64)))) (sqrt.f64 (/.f64 #s(literal 1 binary64) y))) y) |
(* -1 (* y (+ (* -1/8 (* (/ (pow x 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)))))) |
(*.f64 (fma.f64 (*.f64 (*.f64 x x) #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) x) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64)))) (sqrt.f64 (/.f64 #s(literal 1 binary64) y)))) y) |
(* -1 (* y (+ (* -1/8 (* (/ (pow x 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))))))) |
(*.f64 (fma.f64 (*.f64 (*.f64 x x) #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 3 binary64))) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 7 binary64)))) (fma.f64 (*.f64 #s(literal -1/2 binary64) x) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64)))) (sqrt.f64 (/.f64 #s(literal 1 binary64) y))))) y) |
(* -1 (* y (- (* -1 (/ x y)) 1))) |
(*.f64 (neg.f64 y) (fma.f64 (/.f64 x y) #s(literal -1 binary64) #s(literal -1 binary64))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 4 | 7 |
| 0 | 6 | 7 |
| 1 | 22 | 7 |
| 2 | 140 | 7 |
| 0 | 1367 | 7 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(sqrt.f64 (+.f64 x y)) |
(+.f64 x y) |
| Outputs |
|---|
(*.f64 (neg.f64 (pow.f64 (+.f64 y x) #s(literal 1/4 binary64))) (neg.f64 (pow.f64 (+.f64 y x) #s(literal 1/4 binary64)))) |
(*.f64 (fabs.f64 (pow.f64 (+.f64 y x) #s(literal 1/4 binary64))) (fabs.f64 (pow.f64 (+.f64 y x) #s(literal 1/4 binary64)))) |
(*.f64 (pow.f64 (+.f64 y x) #s(literal 1/4 binary64)) (pow.f64 (+.f64 y x) #s(literal 1/4 binary64))) |
(pow.f64 (exp.f64 (log.f64 (+.f64 y x))) #s(literal 1/2 binary64)) |
(pow.f64 (*.f64 (+.f64 y x) (+.f64 y x)) #s(literal 1/4 binary64)) |
(pow.f64 (pow.f64 (+.f64 y x) #s(literal 1/4 binary64)) #s(literal 2 binary64)) |
(pow.f64 (+.f64 y x) #s(literal 1/2 binary64)) |
(/.f64 (neg.f64 (sqrt.f64 (*.f64 (-.f64 x y) (+.f64 y x)))) (neg.f64 (sqrt.f64 (-.f64 x y)))) |
(/.f64 (neg.f64 (hypot.f64 (pow.f64 y #s(literal 3/2 binary64)) (pow.f64 x #s(literal 3/2 binary64)))) (neg.f64 (sqrt.f64 (fma.f64 (-.f64 y x) y (*.f64 x x))))) |
(/.f64 (sqrt.f64 (*.f64 (+.f64 y x) (-.f64 y x))) (sqrt.f64 (-.f64 y x))) |
(/.f64 (sqrt.f64 (*.f64 (neg.f64 (+.f64 y x)) (-.f64 x y))) (sqrt.f64 (neg.f64 (-.f64 x y)))) |
(/.f64 (sqrt.f64 (neg.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))))) (sqrt.f64 (neg.f64 (fma.f64 (-.f64 y x) y (*.f64 x x))))) |
(/.f64 (sqrt.f64 (*.f64 (-.f64 x y) (+.f64 y x))) (sqrt.f64 (-.f64 x y))) |
(/.f64 (hypot.f64 (pow.f64 y #s(literal 3/2 binary64)) (pow.f64 x #s(literal 3/2 binary64))) (sqrt.f64 (fma.f64 (-.f64 y x) y (*.f64 x x)))) |
(sqrt.f64 (+.f64 y x)) |
(exp.f64 (*.f64 (log.f64 (+.f64 y x)) #s(literal 1/2 binary64))) |
(+.f64 (cosh.f64 (*.f64 (log.f64 (+.f64 y x)) #s(literal 1/2 binary64))) (sinh.f64 (*.f64 (log.f64 (+.f64 y x)) #s(literal 1/2 binary64)))) |
(*.f64 (/.f64 (*.f64 (-.f64 x y) (+.f64 y x)) (-.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64)))) (fma.f64 y (+.f64 y x) (*.f64 x x))) |
(*.f64 (/.f64 (*.f64 (-.f64 x y) (+.f64 y x)) (*.f64 (-.f64 x y) (+.f64 y x))) (+.f64 y x)) |
(*.f64 (/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (*.f64 (-.f64 y x) y) #s(literal 2 binary64)))) (-.f64 (*.f64 x x) (*.f64 (-.f64 y x) y))) |
(*.f64 (/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (+.f64 (pow.f64 (*.f64 (-.f64 y x) y) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64)))) (fma.f64 (*.f64 (-.f64 y x) y) (-.f64 (*.f64 (-.f64 y x) y) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))) |
(*.f64 (fma.f64 (-.f64 y x) y (*.f64 x x)) (/.f64 (+.f64 y x) (fma.f64 (-.f64 y x) y (*.f64 x x)))) |
(*.f64 (+.f64 y x) (/.f64 (-.f64 x y) (-.f64 x y))) |
(/.f64 (-.f64 (*.f64 (*.f64 x (/.f64 x (-.f64 x y))) (*.f64 x (/.f64 x (-.f64 x y)))) (*.f64 (*.f64 y (/.f64 y (-.f64 x y))) (*.f64 y (/.f64 y (-.f64 x y))))) (fma.f64 x (/.f64 x (-.f64 x y)) (*.f64 y (/.f64 y (-.f64 x y))))) |
(/.f64 (-.f64 (*.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (-.f64 y x) y (*.f64 x x))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (-.f64 y x) y (*.f64 x x)))) (*.f64 (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 (-.f64 y x) y (*.f64 x x))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 (-.f64 y x) y (*.f64 x x))))) (-.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (-.f64 y x) y (*.f64 x x))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 (-.f64 y x) y (*.f64 x x))))) |
(/.f64 (-.f64 (pow.f64 (*.f64 x (/.f64 x (-.f64 x y))) #s(literal 3 binary64)) (pow.f64 (*.f64 y (/.f64 y (-.f64 x y))) #s(literal 3 binary64))) (fma.f64 (*.f64 x (/.f64 x (-.f64 x y))) (*.f64 x (/.f64 x (-.f64 x y))) (fma.f64 (*.f64 y (/.f64 y (-.f64 x y))) (*.f64 y (/.f64 y (-.f64 x y))) (*.f64 (*.f64 x (/.f64 x (-.f64 x y))) (*.f64 y (/.f64 y (-.f64 x y))))))) |
(/.f64 (+.f64 (pow.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (-.f64 y x) y (*.f64 x x))) #s(literal 3 binary64)) (pow.f64 (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 (-.f64 y x) y (*.f64 x x))) #s(literal 3 binary64))) (fma.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (-.f64 y x) y (*.f64 x x))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (-.f64 y x) y (*.f64 x x))) (-.f64 (*.f64 (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 (-.f64 y x) y (*.f64 x x))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 (-.f64 y x) y (*.f64 x x)))) (*.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (-.f64 y x) y (*.f64 x x))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 (-.f64 y x) y (*.f64 x x))))))) |
(/.f64 (neg.f64 (*.f64 (+.f64 y x) (-.f64 y x))) (neg.f64 (-.f64 y x))) |
(/.f64 (neg.f64 (*.f64 (neg.f64 (+.f64 y x)) (-.f64 x y))) (neg.f64 (neg.f64 (-.f64 x y)))) |
(/.f64 (neg.f64 (neg.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))))) (neg.f64 (neg.f64 (fma.f64 (-.f64 y x) y (*.f64 x x))))) |
(/.f64 (-.f64 (*.f64 (*.f64 x x) (-.f64 x y)) (*.f64 (-.f64 x y) (*.f64 y y))) (*.f64 (-.f64 x y) (-.f64 x y))) |
(/.f64 (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (-.f64 y x) y (*.f64 x x)) (*.f64 (fma.f64 (-.f64 y x) y (*.f64 x x)) (pow.f64 y #s(literal 3 binary64)))) (*.f64 (fma.f64 (-.f64 y x) y (*.f64 x x)) (fma.f64 (-.f64 y x) y (*.f64 x x)))) |
(/.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) (*.f64 (fma.f64 y y (*.f64 x x)) (-.f64 x y))) |
(/.f64 (-.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 y #s(literal 6 binary64))) (*.f64 (fma.f64 (*.f64 y y) (fma.f64 y y (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))) (-.f64 x y))) |
(/.f64 (-.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 y #s(literal 6 binary64))) (*.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (fma.f64 (-.f64 y x) y (*.f64 x x)))) |
(/.f64 (*.f64 (+.f64 y x) (-.f64 y x)) (-.f64 y x)) |
(/.f64 (+.f64 (pow.f64 y #s(literal 9 binary64)) (pow.f64 x #s(literal 9 binary64))) (*.f64 (-.f64 (+.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 y #s(literal 6 binary64))) (pow.f64 (*.f64 y x) #s(literal 3 binary64))) (fma.f64 (-.f64 y x) y (*.f64 x x)))) |
(/.f64 (*.f64 (neg.f64 (+.f64 y x)) (-.f64 x y)) (neg.f64 (-.f64 x y))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 (-.f64 y x) y (*.f64 x x)))) |
(/.f64 (*.f64 (-.f64 x y) (+.f64 y x)) (-.f64 x y)) |
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 (-.f64 y x) y (*.f64 x x))) |
(neg.f64 (/.f64 (*.f64 (neg.f64 (+.f64 y x)) (-.f64 x y)) (-.f64 x y))) |
(neg.f64 (/.f64 (neg.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (fma.f64 (-.f64 y x) y (*.f64 x x)))) |
(neg.f64 (/.f64 (*.f64 (-.f64 x y) (+.f64 y x)) (neg.f64 (-.f64 x y)))) |
(neg.f64 (/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (neg.f64 (fma.f64 (-.f64 y x) y (*.f64 x x))))) |
(fma.f64 (/.f64 (*.f64 x x) (-.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64)))) (fma.f64 y (+.f64 y x) (*.f64 x x)) (/.f64 (*.f64 (neg.f64 y) y) (-.f64 x y))) |
(fma.f64 (/.f64 (*.f64 x x) (*.f64 (-.f64 x y) (+.f64 y x))) (+.f64 y x) (/.f64 (*.f64 (neg.f64 y) y) (-.f64 x y))) |
(fma.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (*.f64 (-.f64 y x) y) #s(literal 2 binary64)))) (-.f64 (*.f64 x x) (*.f64 (-.f64 y x) y)) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 (-.f64 y x) y (*.f64 x x)))) |
(fma.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (+.f64 (pow.f64 (*.f64 (-.f64 y x) y) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64)))) (fma.f64 (*.f64 (-.f64 y x) y) (-.f64 (*.f64 (-.f64 y x) y) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 (-.f64 y x) y (*.f64 x x)))) |
(fma.f64 (/.f64 (pow.f64 y #s(literal 3 binary64)) (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (*.f64 (-.f64 y x) y) #s(literal 2 binary64)))) (-.f64 (*.f64 x x) (*.f64 (-.f64 y x) y)) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (-.f64 y x) y (*.f64 x x)))) |
(fma.f64 (/.f64 (pow.f64 y #s(literal 3 binary64)) (+.f64 (pow.f64 (*.f64 (-.f64 y x) y) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64)))) (fma.f64 (*.f64 (-.f64 y x) y) (-.f64 (*.f64 (-.f64 y x) y) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (-.f64 y x) y (*.f64 x x)))) |
(fma.f64 (pow.f64 y #s(literal 3/2 binary64)) (/.f64 (pow.f64 y #s(literal 3/2 binary64)) (fma.f64 (-.f64 y x) y (*.f64 x x))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (-.f64 y x) y (*.f64 x x)))) |
(fma.f64 (pow.f64 x #s(literal 3/2 binary64)) (/.f64 (pow.f64 x #s(literal 3/2 binary64)) (fma.f64 (-.f64 y x) y (*.f64 x x))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 (-.f64 y x) y (*.f64 x x)))) |
(fma.f64 (neg.f64 x) (/.f64 (neg.f64 x) (-.f64 x y)) (/.f64 (*.f64 (neg.f64 y) y) (-.f64 x y))) |
(fma.f64 (fabs.f64 x) (/.f64 (fabs.f64 x) (-.f64 x y)) (/.f64 (*.f64 (neg.f64 y) y) (-.f64 x y))) |
(fma.f64 (*.f64 y y) (/.f64 y (fma.f64 (-.f64 y x) y (*.f64 x x))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (-.f64 y x) y (*.f64 x x)))) |
(fma.f64 (*.f64 x x) (/.f64 x (fma.f64 (-.f64 y x) y (*.f64 x x))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 (-.f64 y x) y (*.f64 x x)))) |
(fma.f64 y (/.f64 (*.f64 y y) (fma.f64 (-.f64 y x) y (*.f64 x x))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (-.f64 y x) y (*.f64 x x)))) |
(fma.f64 x (/.f64 x (-.f64 x y)) (/.f64 (*.f64 (neg.f64 y) y) (-.f64 x y))) |
(fma.f64 x (/.f64 (*.f64 x x) (fma.f64 (-.f64 y x) y (*.f64 x x))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 (-.f64 y x) y (*.f64 x x)))) |
(-.f64 (/.f64 (*.f64 y y) (-.f64 y x)) (/.f64 (*.f64 x x) (-.f64 y x))) |
(-.f64 (*.f64 x (/.f64 x (-.f64 x y))) (*.f64 y (/.f64 y (-.f64 x y)))) |
(+.f64 (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 (-.f64 y x) y (*.f64 x x))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (-.f64 y x) y (*.f64 x x)))) |
(+.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (-.f64 y x) y (*.f64 x x))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 (-.f64 y x) y (*.f64 x x)))) |
(+.f64 (*.f64 x (/.f64 x (-.f64 x y))) (/.f64 (*.f64 (neg.f64 y) y) (-.f64 x y))) |
(+.f64 y x) |
(+.f64 x y) |
Compiled 2 172 to 395 computations (81.8% saved)
4 alts after pruning (3 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 89 | 3 | 92 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 89 | 4 | 93 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (sqrt.f64 (+.f64 x y)) |
| ▶ | 74.1% | (sqrt.f64 #s(approx (+ x y) (fma.f64 (/.f64 y x) x x))) |
| ▶ | 100.0% | (sqrt.f64 #s(approx (+ x y) (*.f64 (neg.f64 y) (fma.f64 (/.f64 x y) #s(literal -1 binary64) #s(literal -1 binary64))))) |
| ▶ | 98.1% | #s(approx (sqrt (+ x y)) (sqrt.f64 y)) |
Compiled 36 to 27 computations (25% saved)
Found 10 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (/.f64 y x) | |
| cost-diff | 0 | #s(approx (+ x y) (fma.f64 (/.f64 y x) x x)) | |
| cost-diff | 0 | (sqrt.f64 #s(approx (+ x y) (fma.f64 (/.f64 y x) x x))) | |
| cost-diff | 3 | (fma.f64 (/.f64 y x) x x) | |
| cost-diff | 0 | #s(approx (+ x y) (*.f64 (neg.f64 y) (fma.f64 (/.f64 x y) #s(literal -1 binary64) #s(literal -1 binary64)))) | |
| cost-diff | 0 | (sqrt.f64 #s(approx (+ x y) (*.f64 (neg.f64 y) (fma.f64 (/.f64 x y) #s(literal -1 binary64) #s(literal -1 binary64))))) | |
| cost-diff | 1 | (fma.f64 (/.f64 x y) #s(literal -1 binary64) #s(literal -1 binary64)) | |
| cost-diff | 5 | (*.f64 (neg.f64 y) (fma.f64 (/.f64 x y) #s(literal -1 binary64) #s(literal -1 binary64))) | |
| cost-diff | 0 | (sqrt.f64 y) | |
| cost-diff | 0 | #s(approx (sqrt (+ x y)) (sqrt.f64 y)) |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 17 | 92 |
| 0 | 28 | 101 |
| 1 | 51 | 101 |
| 2 | 122 | 88 |
| 3 | 336 | 88 |
| 4 | 1041 | 64 |
| 5 | 4393 | 64 |
| 0 | 8069 | 64 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (sqrt (+ x y)) (sqrt.f64 y)) |
(sqrt.f64 y) |
y |
(sqrt.f64 #s(approx (+ x y) (*.f64 (neg.f64 y) (fma.f64 (/.f64 x y) #s(literal -1 binary64) #s(literal -1 binary64))))) |
#s(approx (+ x y) (*.f64 (neg.f64 y) (fma.f64 (/.f64 x y) #s(literal -1 binary64) #s(literal -1 binary64)))) |
(*.f64 (neg.f64 y) (fma.f64 (/.f64 x y) #s(literal -1 binary64) #s(literal -1 binary64))) |
(neg.f64 y) |
y |
(fma.f64 (/.f64 x y) #s(literal -1 binary64) #s(literal -1 binary64)) |
(/.f64 x y) |
x |
#s(literal -1 binary64) |
(sqrt.f64 #s(approx (+ x y) (fma.f64 (/.f64 y x) x x))) |
#s(approx (+ x y) (fma.f64 (/.f64 y x) x x)) |
(fma.f64 (/.f64 y x) x x) |
(/.f64 y x) |
y |
x |
| Outputs |
|---|
#s(approx (sqrt (+ x y)) (sqrt.f64 y)) |
(sqrt.f64 y) |
y |
(sqrt.f64 #s(approx (+ x y) (*.f64 (neg.f64 y) (fma.f64 (/.f64 x y) #s(literal -1 binary64) #s(literal -1 binary64))))) |
(sqrt.f64 #s(approx (+ x y) (+.f64 y x))) |
#s(approx (+ x y) (*.f64 (neg.f64 y) (fma.f64 (/.f64 x y) #s(literal -1 binary64) #s(literal -1 binary64)))) |
#s(approx (+ x y) (+.f64 y x)) |
(*.f64 (neg.f64 y) (fma.f64 (/.f64 x y) #s(literal -1 binary64) #s(literal -1 binary64))) |
(+.f64 y x) |
(neg.f64 y) |
y |
(fma.f64 (/.f64 x y) #s(literal -1 binary64) #s(literal -1 binary64)) |
(-.f64 #s(literal -1 binary64) (/.f64 x y)) |
(/.f64 x y) |
x |
#s(literal -1 binary64) |
(sqrt.f64 #s(approx (+ x y) (fma.f64 (/.f64 y x) x x))) |
(sqrt.f64 #s(approx (+ x y) (+.f64 y x))) |
#s(approx (+ x y) (fma.f64 (/.f64 y x) x x)) |
#s(approx (+ x y) (+.f64 y x)) |
(fma.f64 (/.f64 y x) x x) |
(+.f64 y x) |
(/.f64 y x) |
y |
x |
Found 10 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (/.f64 y x) | |
| accuracy | 0.0 | #s(approx (+ x y) (fma.f64 (/.f64 y x) x x)) | |
| accuracy | 0.0078125 | (sqrt.f64 #s(approx (+ x y) (fma.f64 (/.f64 y x) x x))) | |
| accuracy | 16.14128039863488 | (fma.f64 (/.f64 y x) x x) | |
| accuracy | 0.0 | (neg.f64 y) | |
| accuracy | 0.0 | #s(approx (+ x y) (*.f64 (neg.f64 y) (fma.f64 (/.f64 x y) #s(literal -1 binary64) #s(literal -1 binary64)))) | |
| accuracy | 0.0078125 | (sqrt.f64 #s(approx (+ x y) (*.f64 (neg.f64 y) (fma.f64 (/.f64 x y) #s(literal -1 binary64) #s(literal -1 binary64))))) | |
| accuracy | 0.0234375 | (*.f64 (neg.f64 y) (fma.f64 (/.f64 x y) #s(literal -1 binary64) #s(literal -1 binary64))) | |
| accuracy | 0.0 | (sqrt.f64 y) | |
| accuracy | 1.0480348665727162 | #s(approx (sqrt (+ x y)) (sqrt.f64 y)) |
| 44.0ms | 255× | 0 | valid |
| 1.0ms | 1× | 5 | exit |
Compiled 60 to 16 computations (73.3% saved)
ival-mult: 5.0ms (23.3% of total)ival-neg: 5.0ms (23.3% of total)ival-div: 4.0ms (18.7% of total)ival-sqrt: 4.0ms (18.7% of total)ival-add: 4.0ms (18.7% of total)adjust: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)| Inputs |
|---|
#s(approx (sqrt (+ x y)) (sqrt.f64 y)) |
(sqrt.f64 y) |
(*.f64 (neg.f64 y) (fma.f64 (/.f64 x y) #s(literal -1 binary64) #s(literal -1 binary64))) |
(fma.f64 (/.f64 x y) #s(literal -1 binary64) #s(literal -1 binary64)) |
(sqrt.f64 #s(approx (+ x y) (*.f64 (neg.f64 y) (fma.f64 (/.f64 x y) #s(literal -1 binary64) #s(literal -1 binary64))))) |
#s(approx (+ x y) (*.f64 (neg.f64 y) (fma.f64 (/.f64 x y) #s(literal -1 binary64) #s(literal -1 binary64)))) |
(fma.f64 (/.f64 y x) x x) |
(sqrt.f64 #s(approx (+ x y) (fma.f64 (/.f64 y x) x x))) |
#s(approx (+ x y) (fma.f64 (/.f64 y x) x x)) |
(/.f64 y x) |
(neg.f64 y) |
| Outputs |
|---|
(sqrt y) |
(+ (sqrt y) (* 1/2 (* x (sqrt (/ 1 y))))) |
(+ (sqrt y) (* x (+ (* -1/8 (* x (sqrt (/ 1 (pow y 3))))) (* 1/2 (sqrt (/ 1 y)))))) |
(+ (sqrt y) (* x (+ (* 1/2 (sqrt (/ 1 y))) (* x (+ (* -1/8 (sqrt (/ 1 (pow y 3)))) (* 1/16 (* x (sqrt (/ 1 (pow y 5)))))))))) |
y |
(+ x y) |
-1 |
(- (* -1 (/ x y)) 1) |
(/ y x) |
(sqrt x) |
(* x (+ (sqrt (/ 1 x)) (* 1/2 (* (sqrt (/ 1 (pow x 3))) y)))) |
(* x (+ (sqrt (/ 1 x)) (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (pow y 2))) (* 1/2 (* (sqrt (/ 1 (pow x 3))) y))))) |
(* 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)))))) |
x |
(* x (+ 1 (/ y x))) |
(* -1 (/ x y)) |
(* -1 (* x (+ (/ 1 x) (/ 1 y)))) |
(* -1 (* (sqrt x) (pow (sqrt -1) 2))) |
(* -1 (* x (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) y)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))) |
(* -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)))))) |
(* -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))))))) |
(* -1 (* x (- (* -1 (/ y x)) 1))) |
(+ (sqrt x) (* 1/2 (* (sqrt (/ 1 x)) y))) |
(+ (sqrt x) (* y (+ (* -1/8 (* (sqrt (/ 1 (pow x 3))) y)) (* 1/2 (sqrt (/ 1 x)))))) |
(+ (sqrt x) (* y (+ (* 1/2 (sqrt (/ 1 x))) (* y (+ (* -1/8 (sqrt (/ 1 (pow x 3)))) (* 1/16 (* (sqrt (/ 1 (pow x 5))) y))))))) |
(/ (+ (* -1 x) (* -1 y)) y) |
(* -1 y) |
(* y (+ (sqrt (/ 1 y)) (* 1/2 (* x (sqrt (/ 1 (pow y 3))))))) |
(* y (+ (sqrt (/ 1 y)) (+ (* -1/8 (* (pow x 2) (sqrt (/ 1 (pow y 5))))) (* 1/2 (* x (sqrt (/ 1 (pow y 3)))))))) |
(* 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))))))))) |
(* y (+ 1 (/ x y))) |
(* -1 (* (sqrt y) (pow (sqrt -1) 2))) |
(* -1 (* y (+ (* 1/2 (* x (sqrt (/ 1 (pow y 3))))) (* (sqrt (/ 1 y)) (pow (sqrt -1) 2))))) |
(* -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)))))) |
(* -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))))))) |
(* -1 (* y (- (* -1 (/ x y)) 1))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | y | @ | 0 | ((sqrt (+ x y)) (sqrt y) (* (neg y) (+ (* (/ x y) -1) -1)) (+ (* (/ x y) -1) -1) (sqrt (+ x y)) (+ x y) (+ (* (/ y x) x) x) (sqrt (+ x y)) (+ x y) (/ y x) (neg y)) |
| 2.0ms | y | @ | -inf | ((sqrt (+ x y)) (sqrt y) (* (neg y) (+ (* (/ x y) -1) -1)) (+ (* (/ x y) -1) -1) (sqrt (+ x y)) (+ x y) (+ (* (/ y x) x) x) (sqrt (+ x y)) (+ x y) (/ y x) (neg y)) |
| 1.0ms | y | @ | inf | ((sqrt (+ x y)) (sqrt y) (* (neg y) (+ (* (/ x y) -1) -1)) (+ (* (/ x y) -1) -1) (sqrt (+ x y)) (+ x y) (+ (* (/ y x) x) x) (sqrt (+ x y)) (+ x y) (/ y x) (neg y)) |
| 1.0ms | x | @ | 0 | ((sqrt (+ x y)) (sqrt y) (* (neg y) (+ (* (/ x y) -1) -1)) (+ (* (/ x y) -1) -1) (sqrt (+ x y)) (+ x y) (+ (* (/ y x) x) x) (sqrt (+ x y)) (+ x y) (/ y x) (neg y)) |
| 1.0ms | x | @ | -inf | ((sqrt (+ x y)) (sqrt y) (* (neg y) (+ (* (/ x y) -1) -1)) (+ (* (/ x y) -1) -1) (sqrt (+ x y)) (+ x y) (+ (* (/ y x) x) x) (sqrt (+ x y)) (+ x y) (/ y x) (neg y)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 163 | 617 |
| 1 | 526 | 587 |
| 2 | 2108 | 544 |
| 0 | 7150 | 508 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(sqrt y) |
(+ (sqrt y) (* 1/2 (* x (sqrt (/ 1 y))))) |
(+ (sqrt y) (* x (+ (* -1/8 (* x (sqrt (/ 1 (pow y 3))))) (* 1/2 (sqrt (/ 1 y)))))) |
(+ (sqrt y) (* x (+ (* 1/2 (sqrt (/ 1 y))) (* x (+ (* -1/8 (sqrt (/ 1 (pow y 3)))) (* 1/16 (* x (sqrt (/ 1 (pow y 5)))))))))) |
y |
(+ x y) |
-1 |
(- (* -1 (/ x y)) 1) |
(/ y x) |
(sqrt x) |
(* x (+ (sqrt (/ 1 x)) (* 1/2 (* (sqrt (/ 1 (pow x 3))) y)))) |
(* x (+ (sqrt (/ 1 x)) (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (pow y 2))) (* 1/2 (* (sqrt (/ 1 (pow x 3))) y))))) |
(* 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)))))) |
x |
(* x (+ 1 (/ y x))) |
(* -1 (/ x y)) |
(* -1 (* x (+ (/ 1 x) (/ 1 y)))) |
(* -1 (* (sqrt x) (pow (sqrt -1) 2))) |
(* -1 (* x (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) y)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))) |
(* -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)))))) |
(* -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))))))) |
(* -1 (* x (- (* -1 (/ y x)) 1))) |
(+ (sqrt x) (* 1/2 (* (sqrt (/ 1 x)) y))) |
(+ (sqrt x) (* y (+ (* -1/8 (* (sqrt (/ 1 (pow x 3))) y)) (* 1/2 (sqrt (/ 1 x)))))) |
(+ (sqrt x) (* y (+ (* 1/2 (sqrt (/ 1 x))) (* y (+ (* -1/8 (sqrt (/ 1 (pow x 3)))) (* 1/16 (* (sqrt (/ 1 (pow x 5))) y))))))) |
(/ (+ (* -1 x) (* -1 y)) y) |
(* -1 y) |
(* y (+ (sqrt (/ 1 y)) (* 1/2 (* x (sqrt (/ 1 (pow y 3))))))) |
(* y (+ (sqrt (/ 1 y)) (+ (* -1/8 (* (pow x 2) (sqrt (/ 1 (pow y 5))))) (* 1/2 (* x (sqrt (/ 1 (pow y 3)))))))) |
(* 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))))))))) |
(* y (+ 1 (/ x y))) |
(* -1 (* (sqrt y) (pow (sqrt -1) 2))) |
(* -1 (* y (+ (* 1/2 (* x (sqrt (/ 1 (pow y 3))))) (* (sqrt (/ 1 y)) (pow (sqrt -1) 2))))) |
(* -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)))))) |
(* -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))))))) |
(* -1 (* y (- (* -1 (/ x y)) 1))) |
| Outputs |
|---|
(sqrt y) |
(sqrt.f64 y) |
(+ (sqrt y) (* 1/2 (* x (sqrt (/ 1 y))))) |
(fma.f64 (*.f64 #s(literal 1/2 binary64) x) (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) (sqrt.f64 y)) |
(+ (sqrt y) (* x (+ (* -1/8 (* x (sqrt (/ 1 (pow y 3))))) (* 1/2 (sqrt (/ 1 y)))))) |
(fma.f64 (fma.f64 (*.f64 #s(literal -1/8 binary64) 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))) x (sqrt.f64 y)) |
(+ (sqrt y) (* x (+ (* 1/2 (sqrt (/ 1 y))) (* x (+ (* -1/8 (sqrt (/ 1 (pow y 3)))) (* 1/16 (* x (sqrt (/ 1 (pow y 5)))))))))) |
(fma.f64 (fma.f64 (fma.f64 (*.f64 #s(literal 1/16 binary64) 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))) x (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) #s(literal 1/2 binary64))) x (sqrt.f64 y)) |
y |
(+ x y) |
(+.f64 y x) |
-1 |
#s(literal -1 binary64) |
(- (* -1 (/ x y)) 1) |
(-.f64 #s(literal -1 binary64) (/.f64 x y)) |
(/ y x) |
(/.f64 y x) |
(sqrt x) |
(sqrt.f64 x) |
(* x (+ (sqrt (/ 1 x)) (* 1/2 (* (sqrt (/ 1 (pow x 3))) y)))) |
(*.f64 (fma.f64 (*.f64 #s(literal 1/2 binary64) y) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))) x) |
(* x (+ (sqrt (/ 1 x)) (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (pow y 2))) (* 1/2 (* (sqrt (/ 1 (pow x 3))) y))))) |
(*.f64 (fma.f64 y (fma.f64 (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) #s(literal -1/8 binary64)) y (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) #s(literal 1/2 binary64))) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))) x) |
(* 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)))))) |
(*.f64 (fma.f64 (*.f64 y y) (fma.f64 (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 7 binary64)))) #s(literal 1/16 binary64)) y (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) #s(literal -1/8 binary64))) (fma.f64 (*.f64 #s(literal 1/2 binary64) y) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)))) x) |
x |
(* x (+ 1 (/ y x))) |
(+.f64 y x) |
(* -1 (/ x y)) |
(/.f64 (neg.f64 x) y) |
(* -1 (* x (+ (/ 1 x) (/ 1 y)))) |
(-.f64 #s(literal -1 binary64) (/.f64 x y)) |
(* -1 (* (sqrt x) (pow (sqrt -1) 2))) |
(sqrt.f64 x) |
(* -1 (* x (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) y)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))) |
(*.f64 (fma.f64 (*.f64 #s(literal -1/2 binary64) y) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))) x) |
(* -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)))))) |
(*.f64 (fma.f64 (*.f64 (*.f64 y y) #s(literal -1/8 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) (fma.f64 (*.f64 #s(literal -1/2 binary64) y) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)))) x) |
(* -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))))))) |
(*.f64 (fma.f64 (*.f64 (*.f64 y y) #s(literal -1/8 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) (fma.f64 (*.f64 #s(literal -1/16 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 7 binary64))))) (pow.f64 y #s(literal 3 binary64)) (fma.f64 (*.f64 #s(literal -1/2 binary64) y) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))))) x) |
(* -1 (* x (- (* -1 (/ y x)) 1))) |
(*.f64 (neg.f64 x) (fma.f64 (/.f64 y x) #s(literal -1 binary64) #s(literal -1 binary64))) |
(+ (sqrt x) (* 1/2 (* (sqrt (/ 1 x)) y))) |
(fma.f64 (*.f64 #s(literal 1/2 binary64) y) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (sqrt.f64 x)) |
(+ (sqrt x) (* y (+ (* -1/8 (* (sqrt (/ 1 (pow x 3))) y)) (* 1/2 (sqrt (/ 1 x)))))) |
(fma.f64 (fma.f64 (*.f64 #s(literal -1/8 binary64) y) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal 1/2 binary64))) y (sqrt.f64 x)) |
(+ (sqrt x) (* y (+ (* 1/2 (sqrt (/ 1 x))) (* y (+ (* -1/8 (sqrt (/ 1 (pow x 3)))) (* 1/16 (* (sqrt (/ 1 (pow x 5))) y))))))) |
(fma.f64 (fma.f64 (fma.f64 (*.f64 #s(literal 1/16 binary64) y) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) #s(literal -1/8 binary64))) y (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal 1/2 binary64))) y (sqrt.f64 x)) |
(/ (+ (* -1 x) (* -1 y)) y) |
(-.f64 #s(literal -1 binary64) (/.f64 x y)) |
(* -1 y) |
(neg.f64 y) |
(* y (+ (sqrt (/ 1 y)) (* 1/2 (* x (sqrt (/ 1 (pow y 3))))))) |
(*.f64 (fma.f64 (*.f64 #s(literal 1/2 binary64) x) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64)))) (sqrt.f64 (/.f64 #s(literal 1 binary64) y))) y) |
(* y (+ (sqrt (/ 1 y)) (+ (* -1/8 (* (pow x 2) (sqrt (/ 1 (pow y 5))))) (* 1/2 (* x (sqrt (/ 1 (pow y 3)))))))) |
(*.f64 (fma.f64 (*.f64 (*.f64 #s(literal -1/8 binary64) x) x) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 5 binary64)))) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64)))) (sqrt.f64 (/.f64 #s(literal 1 binary64) y)))) y) |
(* y (+ (sqrt (/ 1 y)) (+ (* -1/8 (* (pow x 2) (sqrt (/ 1 (pow y 5))))) (+ (* 1/16 (* (pow x 3) (sqrt (/ 1 (pow y 7))))) (* 1/2 (* x (sqrt (/ 1 (pow y 3))))))))) |
(*.f64 (fma.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/16 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 7 binary64)))) (fma.f64 (*.f64 (*.f64 #s(literal -1/8 binary64) x) x) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 5 binary64)))) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64)))) (sqrt.f64 (/.f64 #s(literal 1 binary64) y))))) y) |
(* y (+ 1 (/ x y))) |
(+.f64 y x) |
(* -1 (* (sqrt y) (pow (sqrt -1) 2))) |
(sqrt.f64 y) |
(* -1 (* y (+ (* 1/2 (* x (sqrt (/ 1 (pow y 3))))) (* (sqrt (/ 1 y)) (pow (sqrt -1) 2))))) |
(*.f64 (fma.f64 (*.f64 #s(literal -1/2 binary64) x) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64)))) (sqrt.f64 (/.f64 #s(literal 1 binary64) y))) y) |
(* -1 (* y (+ (* -1/8 (* (/ (pow x 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)))))) |
(*.f64 (fma.f64 (*.f64 (*.f64 #s(literal -1/8 binary64) x) x) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 5 binary64)))) (fma.f64 (*.f64 #s(literal -1/2 binary64) x) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64)))) (sqrt.f64 (/.f64 #s(literal 1 binary64) y)))) y) |
(* -1 (* y (+ (* -1/8 (* (/ (pow x 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))))))) |
(*.f64 (fma.f64 (*.f64 #s(literal -1/16 binary64) (pow.f64 x #s(literal 3 binary64))) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 7 binary64)))) (fma.f64 (*.f64 (*.f64 #s(literal -1/8 binary64) x) x) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 5 binary64)))) (fma.f64 (*.f64 #s(literal -1/2 binary64) x) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64)))) (sqrt.f64 (/.f64 #s(literal 1 binary64) y))))) y) |
(* -1 (* y (- (* -1 (/ x y)) 1))) |
(+.f64 y x) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 17 | 83 |
| 0 | 28 | 83 |
| 1 | 94 | 83 |
| 0 | 626 | 83 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (sqrt (+ x y)) (sqrt.f64 y)) |
(sqrt.f64 y) |
(*.f64 (neg.f64 y) (fma.f64 (/.f64 x y) #s(literal -1 binary64) #s(literal -1 binary64))) |
(fma.f64 (/.f64 x y) #s(literal -1 binary64) #s(literal -1 binary64)) |
(sqrt.f64 #s(approx (+ x y) (*.f64 (neg.f64 y) (fma.f64 (/.f64 x y) #s(literal -1 binary64) #s(literal -1 binary64))))) |
#s(approx (+ x y) (*.f64 (neg.f64 y) (fma.f64 (/.f64 x y) #s(literal -1 binary64) #s(literal -1 binary64)))) |
(fma.f64 (/.f64 y x) x x) |
(sqrt.f64 #s(approx (+ x y) (fma.f64 (/.f64 y x) x x))) |
#s(approx (+ x y) (fma.f64 (/.f64 y x) x x)) |
(/.f64 y x) |
(neg.f64 y) |
| Outputs |
|---|
#s(approx (sqrt (+ x y)) (sqrt.f64 y)) |
(*.f64 (pow.f64 y #s(literal 1/4 binary64)) (pow.f64 y #s(literal 1/4 binary64))) |
(pow.f64 y #s(literal 1/2 binary64)) |
(sqrt.f64 y) |
(exp.f64 (*.f64 (log.f64 y) #s(literal 1/2 binary64))) |
(*.f64 (*.f64 (neg.f64 y) (-.f64 (/.f64 x y) #s(literal -1 binary64))) #s(literal -1 binary64)) |
(*.f64 (-.f64 (/.f64 x y) #s(literal -1 binary64)) (neg.f64 (neg.f64 y))) |
(*.f64 (fma.f64 #s(literal -1 binary64) (/.f64 x y) #s(literal -1 binary64)) (neg.f64 y)) |
(*.f64 (neg.f64 y) (fma.f64 #s(literal -1 binary64) (/.f64 x y) #s(literal -1 binary64))) |
(*.f64 y (neg.f64 (fma.f64 #s(literal -1 binary64) (/.f64 x y) #s(literal -1 binary64)))) |
(/.f64 (*.f64 (-.f64 (pow.f64 (neg.f64 (/.f64 x y)) #s(literal 2 binary64)) #s(literal 1 binary64)) (neg.f64 y)) (-.f64 (neg.f64 (/.f64 x y)) #s(literal -1 binary64))) |
(/.f64 (*.f64 (fma.f64 (pow.f64 (/.f64 x y) #s(literal 3 binary64)) #s(literal -1 binary64) #s(literal -1 binary64)) (neg.f64 y)) (+.f64 (-.f64 #s(literal 1 binary64) (*.f64 (/.f64 x y) #s(literal 1 binary64))) (pow.f64 (neg.f64 (/.f64 x y)) #s(literal 2 binary64)))) |
(/.f64 (*.f64 (neg.f64 y) (-.f64 (pow.f64 (neg.f64 (/.f64 x y)) #s(literal 2 binary64)) #s(literal 1 binary64))) (-.f64 (neg.f64 (/.f64 x y)) #s(literal -1 binary64))) |
(/.f64 (*.f64 (neg.f64 y) (fma.f64 (pow.f64 (/.f64 x y) #s(literal 3 binary64)) #s(literal -1 binary64) #s(literal -1 binary64))) (+.f64 (-.f64 #s(literal 1 binary64) (*.f64 (/.f64 x y) #s(literal 1 binary64))) (pow.f64 (neg.f64 (/.f64 x y)) #s(literal 2 binary64)))) |
(/.f64 (-.f64 (*.f64 (*.f64 (neg.f64 (/.f64 x y)) (neg.f64 y)) (*.f64 (neg.f64 (/.f64 x y)) (neg.f64 y))) (*.f64 (neg.f64 (neg.f64 y)) (neg.f64 (neg.f64 y)))) (-.f64 (*.f64 (neg.f64 (/.f64 x y)) (neg.f64 y)) (neg.f64 (neg.f64 y)))) |
(/.f64 (+.f64 (pow.f64 (*.f64 (neg.f64 (/.f64 x y)) (neg.f64 y)) #s(literal 3 binary64)) (pow.f64 (neg.f64 (neg.f64 y)) #s(literal 3 binary64))) (fma.f64 (*.f64 (neg.f64 (/.f64 x y)) (neg.f64 y)) (*.f64 (neg.f64 (/.f64 x y)) (neg.f64 y)) (-.f64 (*.f64 (neg.f64 (neg.f64 y)) (neg.f64 (neg.f64 y))) (*.f64 (*.f64 (neg.f64 (/.f64 x y)) (neg.f64 y)) (neg.f64 (neg.f64 y)))))) |
(neg.f64 (*.f64 (fma.f64 #s(literal -1 binary64) (/.f64 x y) #s(literal -1 binary64)) y)) |
(fma.f64 (*.f64 (neg.f64 y) (/.f64 x y)) #s(literal -1 binary64) (neg.f64 (neg.f64 y))) |
(fma.f64 (neg.f64 (neg.f64 y)) (/.f64 x y) (neg.f64 (neg.f64 y))) |
(fma.f64 (neg.f64 (/.f64 x y)) (neg.f64 y) (neg.f64 (neg.f64 y))) |
(fma.f64 #s(literal -1 binary64) (*.f64 (/.f64 x y) (neg.f64 y)) (neg.f64 (neg.f64 y))) |
(fma.f64 #s(literal -1 binary64) (neg.f64 y) (*.f64 (neg.f64 (/.f64 x y)) (neg.f64 y))) |
(fma.f64 (/.f64 x y) (neg.f64 (neg.f64 y)) (neg.f64 (neg.f64 y))) |
(fma.f64 (neg.f64 y) (neg.f64 (/.f64 x y)) (neg.f64 (neg.f64 y))) |
(fma.f64 (neg.f64 y) #s(literal -1 binary64) (*.f64 (neg.f64 (/.f64 x y)) (neg.f64 y))) |
(-.f64 (*.f64 (neg.f64 (/.f64 x y)) (neg.f64 y)) (*.f64 y #s(literal -1 binary64))) |
(-.f64 (*.f64 (neg.f64 (/.f64 x y)) (neg.f64 y)) (*.f64 #s(literal 1 binary64) (neg.f64 y))) |
(-.f64 (*.f64 (neg.f64 (/.f64 x y)) (neg.f64 y)) (*.f64 (neg.f64 (neg.f64 y)) #s(literal -1 binary64))) |
(+.f64 (neg.f64 (neg.f64 y)) (*.f64 (neg.f64 (/.f64 x y)) (neg.f64 y))) |
(+.f64 (*.f64 (neg.f64 (/.f64 x y)) (neg.f64 y)) (neg.f64 (neg.f64 y))) |
(*.f64 (-.f64 (/.f64 x y) #s(literal -1 binary64)) #s(literal -1 binary64)) |
(*.f64 #s(literal -1 binary64) (-.f64 (/.f64 x y) #s(literal -1 binary64))) |
(/.f64 (-.f64 #s(literal 1 binary64) (pow.f64 (neg.f64 (/.f64 x y)) #s(literal 2 binary64))) (-.f64 #s(literal -1 binary64) (neg.f64 (/.f64 x y)))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 (neg.f64 (/.f64 x y)) #s(literal 2 binary64)) #s(literal 1 binary64))) (neg.f64 (-.f64 (neg.f64 (/.f64 x y)) #s(literal -1 binary64)))) |
(/.f64 (neg.f64 (fma.f64 (pow.f64 (/.f64 x y) #s(literal 3 binary64)) #s(literal -1 binary64) #s(literal -1 binary64))) (neg.f64 (+.f64 (-.f64 #s(literal 1 binary64) (*.f64 (/.f64 x y) #s(literal 1 binary64))) (pow.f64 (neg.f64 (/.f64 x y)) #s(literal 2 binary64))))) |
(/.f64 (-.f64 (pow.f64 (neg.f64 (/.f64 x y)) #s(literal 2 binary64)) #s(literal 1 binary64)) (-.f64 (neg.f64 (/.f64 x y)) #s(literal -1 binary64))) |
(/.f64 (fma.f64 (pow.f64 (/.f64 x y) #s(literal 3 binary64)) #s(literal -1 binary64) #s(literal -1 binary64)) (+.f64 #s(literal 1 binary64) (-.f64 (pow.f64 (neg.f64 (/.f64 x y)) #s(literal 2 binary64)) (*.f64 (/.f64 x y) #s(literal 1 binary64))))) |
(/.f64 (fma.f64 (pow.f64 (/.f64 x y) #s(literal 3 binary64)) #s(literal -1 binary64) #s(literal -1 binary64)) (+.f64 (-.f64 #s(literal 1 binary64) (*.f64 (/.f64 x y) #s(literal 1 binary64))) (pow.f64 (neg.f64 (/.f64 x y)) #s(literal 2 binary64)))) |
(fma.f64 #s(literal -1 binary64) (/.f64 x y) #s(literal -1 binary64)) |
(fma.f64 (/.f64 x y) #s(literal -1 binary64) #s(literal -1 binary64)) |
(fma.f64 x (/.f64 #s(literal -1 binary64) y) #s(literal -1 binary64)) |
(-.f64 (/.f64 (pow.f64 (neg.f64 (/.f64 x y)) #s(literal 2 binary64)) (-.f64 (neg.f64 (/.f64 x y)) #s(literal -1 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 (neg.f64 (/.f64 x y)) #s(literal -1 binary64)))) |
(-.f64 #s(literal -1 binary64) (*.f64 #s(literal 1 binary64) (/.f64 x y))) |
(-.f64 #s(literal -1 binary64) (*.f64 (/.f64 x y) #s(literal 1 binary64))) |
(+.f64 (/.f64 (pow.f64 (neg.f64 (/.f64 x y)) #s(literal 3 binary64)) (+.f64 (-.f64 #s(literal 1 binary64) (*.f64 (/.f64 x y) #s(literal 1 binary64))) (pow.f64 (neg.f64 (/.f64 x y)) #s(literal 2 binary64)))) (/.f64 #s(literal -1 binary64) (+.f64 (-.f64 #s(literal 1 binary64) (*.f64 (/.f64 x y) #s(literal 1 binary64))) (pow.f64 (neg.f64 (/.f64 x y)) #s(literal 2 binary64))))) |
(+.f64 (neg.f64 (/.f64 x y)) #s(literal -1 binary64)) |
(+.f64 #s(literal -1 binary64) (neg.f64 (/.f64 x y))) |
(*.f64 (pow.f64 #s(approx (+ x y) (*.f64 (fma.f64 #s(literal -1 binary64) (/.f64 x y) #s(literal -1 binary64)) (neg.f64 y))) #s(literal 1/4 binary64)) (pow.f64 #s(approx (+ x y) (*.f64 (fma.f64 #s(literal -1 binary64) (/.f64 x y) #s(literal -1 binary64)) (neg.f64 y))) #s(literal 1/4 binary64))) |
(pow.f64 #s(approx (+ x y) (*.f64 (fma.f64 #s(literal -1 binary64) (/.f64 x y) #s(literal -1 binary64)) (neg.f64 y))) #s(literal 1/2 binary64)) |
(sqrt.f64 #s(approx (+ x y) (*.f64 (fma.f64 #s(literal -1 binary64) (/.f64 x y) #s(literal -1 binary64)) (neg.f64 y)))) |
(exp.f64 (*.f64 (log.f64 #s(approx (+ x y) (*.f64 (fma.f64 #s(literal -1 binary64) (/.f64 x y) #s(literal -1 binary64)) (neg.f64 y)))) #s(literal 1/2 binary64))) |
#s(approx (+ x y) (*.f64 (fma.f64 #s(literal -1 binary64) (/.f64 x y) #s(literal -1 binary64)) (neg.f64 y))) |
(*.f64 (-.f64 (/.f64 y x) #s(literal -1 binary64)) x) |
(*.f64 x (-.f64 (/.f64 y x) #s(literal -1 binary64))) |
(/.f64 (-.f64 (*.f64 x x) (pow.f64 (*.f64 (/.f64 y x) x) #s(literal 2 binary64))) (-.f64 x (*.f64 (/.f64 y x) x))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (/.f64 y x) x) #s(literal 2 binary64)) (*.f64 x x))) (neg.f64 (-.f64 (*.f64 (/.f64 y x) x) x))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 (*.f64 (/.f64 y x) x) #s(literal 3 binary64)))) (neg.f64 (fma.f64 x (-.f64 x (*.f64 (/.f64 y x) x)) (pow.f64 (*.f64 (/.f64 y x) x) #s(literal 2 binary64))))) |
(/.f64 (-.f64 (pow.f64 (*.f64 (/.f64 y x) x) #s(literal 2 binary64)) (*.f64 x x)) (-.f64 (*.f64 (/.f64 y x) x) x)) |
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 (*.f64 (/.f64 y x) x) #s(literal 3 binary64))) (fma.f64 x x (-.f64 (pow.f64 (*.f64 (/.f64 y x) x) #s(literal 2 binary64)) (*.f64 (*.f64 (/.f64 y x) x) x)))) |
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 (*.f64 (/.f64 y x) x) #s(literal 3 binary64))) (fma.f64 x (-.f64 x (*.f64 (/.f64 y x) x)) (pow.f64 (*.f64 (/.f64 y x) x) #s(literal 2 binary64)))) |
(fma.f64 (/.f64 y x) x x) |
(fma.f64 y (/.f64 x x) x) |
(fma.f64 x (/.f64 y x) x) |
(-.f64 (/.f64 (pow.f64 (*.f64 (/.f64 y x) x) #s(literal 2 binary64)) (-.f64 (*.f64 (/.f64 y x) x) x)) (/.f64 (*.f64 x x) (-.f64 (*.f64 (/.f64 y x) x) x))) |
(-.f64 x (*.f64 (neg.f64 (/.f64 y x)) x)) |
(-.f64 x (*.f64 (neg.f64 x) (/.f64 y x))) |
(+.f64 (/.f64 (pow.f64 (*.f64 (/.f64 y x) x) #s(literal 3 binary64)) (fma.f64 x (-.f64 x (*.f64 (/.f64 y x) x)) (pow.f64 (*.f64 (/.f64 y x) x) #s(literal 2 binary64)))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x (-.f64 x (*.f64 (/.f64 y x) x)) (pow.f64 (*.f64 (/.f64 y x) x) #s(literal 2 binary64))))) |
(+.f64 (*.f64 (/.f64 y x) x) x) |
(+.f64 x (*.f64 (/.f64 y x) x)) |
(*.f64 (pow.f64 #s(approx (+ x y) (fma.f64 (/.f64 y x) x x)) #s(literal 1/4 binary64)) (pow.f64 #s(approx (+ x y) (fma.f64 (/.f64 y x) x x)) #s(literal 1/4 binary64))) |
(pow.f64 #s(approx (+ x y) (fma.f64 (/.f64 y x) x x)) #s(literal 1/2 binary64)) |
(sqrt.f64 #s(approx (+ x y) (fma.f64 (/.f64 y x) x x))) |
(exp.f64 (*.f64 (log.f64 #s(approx (+ x y) (fma.f64 (/.f64 y x) x x))) #s(literal 1/2 binary64))) |
#s(approx (+ x y) (fma.f64 (/.f64 y x) x x)) |
(/.f64 (neg.f64 (neg.f64 y)) (neg.f64 (neg.f64 x))) |
(/.f64 (neg.f64 y) (neg.f64 x)) |
(/.f64 y x) |
(neg.f64 (/.f64 (neg.f64 y) x)) |
(neg.f64 (/.f64 y (neg.f64 x))) |
(neg.f64 y) |
Compiled 2 203 to 468 computations (78.8% saved)
4 alts after pruning (1 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 105 | 1 | 106 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 2 | 3 |
| Done | 0 | 1 | 1 |
| Total | 106 | 4 | 110 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (sqrt.f64 (+.f64 x y)) |
| ✓ | 74.1% | (sqrt.f64 #s(approx (+ x y) (fma.f64 (/.f64 y x) x x))) |
| ▶ | 100.0% | (sqrt.f64 #s(approx (+ x y) (*.f64 (neg.f64 y) #s(approx (+ (* (/ x y) -1) -1) (-.f64 #s(literal -1 binary64) (/.f64 x y)))))) |
| ✓ | 98.1% | #s(approx (sqrt (+ x y)) (sqrt.f64 y)) |
Compiled 43 to 32 computations (25.6% saved)
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (neg.f64 y) | |
| cost-diff | 0 | (*.f64 (neg.f64 y) #s(approx (+ (* (/ x y) -1) -1) (-.f64 #s(literal -1 binary64) (/.f64 x y)))) | |
| cost-diff | 0 | #s(approx (+ x y) (*.f64 (neg.f64 y) #s(approx (+ (* (/ x y) -1) -1) (-.f64 #s(literal -1 binary64) (/.f64 x y))))) | |
| cost-diff | 0 | (sqrt.f64 #s(approx (+ x y) (*.f64 (neg.f64 y) #s(approx (+ (* (/ x y) -1) -1) (-.f64 #s(literal -1 binary64) (/.f64 x y)))))) |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 14 | 83 |
| 0 | 19 | 83 |
| 1 | 30 | 79 |
| 2 | 49 | 75 |
| 3 | 79 | 75 |
| 4 | 160 | 75 |
| 5 | 433 | 75 |
| 6 | 2450 | 75 |
| 7 | 7803 | 75 |
| 0 | 8011 | 75 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(sqrt.f64 #s(approx (+ x y) (*.f64 (neg.f64 y) #s(approx (+ (* (/ x y) -1) -1) (-.f64 #s(literal -1 binary64) (/.f64 x y)))))) |
#s(approx (+ x y) (*.f64 (neg.f64 y) #s(approx (+ (* (/ x y) -1) -1) (-.f64 #s(literal -1 binary64) (/.f64 x y))))) |
(*.f64 (neg.f64 y) #s(approx (+ (* (/ x y) -1) -1) (-.f64 #s(literal -1 binary64) (/.f64 x y)))) |
(neg.f64 y) |
y |
#s(approx (+ (* (/ x y) -1) -1) (-.f64 #s(literal -1 binary64) (/.f64 x y))) |
(-.f64 #s(literal -1 binary64) (/.f64 x y)) |
#s(literal -1 binary64) |
(/.f64 x y) |
x |
| Outputs |
|---|
(sqrt.f64 #s(approx (+ x y) (*.f64 (neg.f64 y) #s(approx (+ (* (/ x y) -1) -1) (-.f64 #s(literal -1 binary64) (/.f64 x y)))))) |
(sqrt.f64 #s(approx (+ x y) (*.f64 #s(approx (+ (* (/ x y) -1) -1) (-.f64 #s(literal -1 binary64) (/.f64 x y))) (neg.f64 y)))) |
#s(approx (+ x y) (*.f64 (neg.f64 y) #s(approx (+ (* (/ x y) -1) -1) (-.f64 #s(literal -1 binary64) (/.f64 x y))))) |
#s(approx (+ x y) (*.f64 #s(approx (+ (* (/ x y) -1) -1) (-.f64 #s(literal -1 binary64) (/.f64 x y))) (neg.f64 y))) |
(*.f64 (neg.f64 y) #s(approx (+ (* (/ x y) -1) -1) (-.f64 #s(literal -1 binary64) (/.f64 x y)))) |
(*.f64 #s(approx (+ (* (/ x y) -1) -1) (-.f64 #s(literal -1 binary64) (/.f64 x y))) (neg.f64 y)) |
(neg.f64 y) |
y |
#s(approx (+ (* (/ x y) -1) -1) (-.f64 #s(literal -1 binary64) (/.f64 x y))) |
(-.f64 #s(literal -1 binary64) (/.f64 x y)) |
#s(literal -1 binary64) |
(/.f64 x y) |
x |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | #s(approx (+ (* (/ x y) -1) -1) (-.f64 #s(literal -1 binary64) (/.f64 x y))) | |
| accuracy | 0.0 | #s(approx (+ x y) (*.f64 (neg.f64 y) #s(approx (+ (* (/ x y) -1) -1) (-.f64 #s(literal -1 binary64) (/.f64 x y))))) | |
| accuracy | 0.0078125 | (sqrt.f64 #s(approx (+ x y) (*.f64 (neg.f64 y) #s(approx (+ (* (/ x y) -1) -1) (-.f64 #s(literal -1 binary64) (/.f64 x y)))))) | |
| accuracy | 0.0234375 | (*.f64 (neg.f64 y) #s(approx (+ (* (/ x y) -1) -1) (-.f64 #s(literal -1 binary64) (/.f64 x y)))) |
| 22.0ms | 255× | 0 | valid |
| 0.0ms | 1× | 5 | exit |
Compiled 39 to 13 computations (66.7% saved)
ival-mult: 3.0ms (23.3% of total)ival-add: 3.0ms (23.3% of total)ival-div: 2.0ms (15.5% of total)ival-sqrt: 2.0ms (15.5% of total)ival-sub: 1.0ms (7.8% of total)ival-neg: 1.0ms (7.8% of total)adjust: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)| Inputs |
|---|
(sqrt.f64 #s(approx (+ x y) (*.f64 (neg.f64 y) #s(approx (+ (* (/ x y) -1) -1) (-.f64 #s(literal -1 binary64) (/.f64 x y)))))) |
#s(approx (+ x y) (*.f64 (neg.f64 y) #s(approx (+ (* (/ x y) -1) -1) (-.f64 #s(literal -1 binary64) (/.f64 x y))))) |
(*.f64 (neg.f64 y) #s(approx (+ (* (/ x y) -1) -1) (-.f64 #s(literal -1 binary64) (/.f64 x y)))) |
(neg.f64 y) |
#s(approx (+ (* (/ x y) -1) -1) (-.f64 #s(literal -1 binary64) (/.f64 x y))) |
| Outputs |
|---|
(sqrt y) |
(+ (sqrt y) (* 1/2 (* x (sqrt (/ 1 y))))) |
(+ (sqrt y) (* x (+ (* -1/8 (* x (sqrt (/ 1 (pow y 3))))) (* 1/2 (sqrt (/ 1 y)))))) |
(+ (sqrt y) (* x (+ (* 1/2 (sqrt (/ 1 y))) (* x (+ (* -1/8 (sqrt (/ 1 (pow y 3)))) (* 1/16 (* x (sqrt (/ 1 (pow y 5)))))))))) |
y |
(+ x y) |
-1 |
(- (* -1 (/ x y)) 1) |
(sqrt x) |
(* x (+ (sqrt (/ 1 x)) (* 1/2 (* (sqrt (/ 1 (pow x 3))) y)))) |
(* x (+ (sqrt (/ 1 x)) (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (pow y 2))) (* 1/2 (* (sqrt (/ 1 (pow x 3))) y))))) |
(* 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)))))) |
x |
(* x (+ 1 (/ y x))) |
(* -1 (/ x y)) |
(* -1 (* x (+ (/ 1 x) (/ 1 y)))) |
(* -1 (* (sqrt x) (pow (sqrt -1) 2))) |
(* -1 (* x (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) y)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))) |
(* -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)))))) |
(* -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))))))) |
(* -1 (* x (- (* -1 (/ y x)) 1))) |
(+ (sqrt x) (* 1/2 (* (sqrt (/ 1 x)) y))) |
(+ (sqrt x) (* y (+ (* -1/8 (* (sqrt (/ 1 (pow x 3))) y)) (* 1/2 (sqrt (/ 1 x)))))) |
(+ (sqrt x) (* y (+ (* 1/2 (sqrt (/ 1 x))) (* y (+ (* -1/8 (sqrt (/ 1 (pow x 3)))) (* 1/16 (* (sqrt (/ 1 (pow x 5))) y))))))) |
(* -1 y) |
(/ (+ (* -1 x) (* -1 y)) y) |
(* y (+ (sqrt (/ 1 y)) (* 1/2 (* x (sqrt (/ 1 (pow y 3))))))) |
(* y (+ (sqrt (/ 1 y)) (+ (* -1/8 (* (pow x 2) (sqrt (/ 1 (pow y 5))))) (* 1/2 (* x (sqrt (/ 1 (pow y 3)))))))) |
(* 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))))))))) |
(* y (+ 1 (/ x y))) |
(* -1 (* (sqrt y) (pow (sqrt -1) 2))) |
(* -1 (* y (+ (* 1/2 (* x (sqrt (/ 1 (pow y 3))))) (* (sqrt (/ 1 y)) (pow (sqrt -1) 2))))) |
(* -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)))))) |
(* -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))))))) |
(* -1 (* y (- (* -1 (/ x y)) 1))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | y | @ | inf | ((sqrt (+ x y)) (+ x y) (* (neg y) (+ (* (/ x y) -1) -1)) (neg y) (+ (* (/ x y) -1) -1)) |
| 1.0ms | x | @ | 0 | ((sqrt (+ x y)) (+ x y) (* (neg y) (+ (* (/ x y) -1) -1)) (neg y) (+ (* (/ x y) -1) -1)) |
| 1.0ms | x | @ | inf | ((sqrt (+ x y)) (+ x y) (* (neg y) (+ (* (/ x y) -1) -1)) (neg y) (+ (* (/ x y) -1) -1)) |
| 1.0ms | x | @ | -inf | ((sqrt (+ x y)) (+ x y) (* (neg y) (+ (* (/ x y) -1) -1)) (neg y) (+ (* (/ x y) -1) -1)) |
| 0.0ms | y | @ | -inf | ((sqrt (+ x y)) (+ x y) (* (neg y) (+ (* (/ x y) -1) -1)) (neg y) (+ (* (/ x y) -1) -1)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 163 | 614 |
| 1 | 526 | 584 |
| 2 | 2106 | 541 |
| 0 | 7164 | 505 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(sqrt y) |
(+ (sqrt y) (* 1/2 (* x (sqrt (/ 1 y))))) |
(+ (sqrt y) (* x (+ (* -1/8 (* x (sqrt (/ 1 (pow y 3))))) (* 1/2 (sqrt (/ 1 y)))))) |
(+ (sqrt y) (* x (+ (* 1/2 (sqrt (/ 1 y))) (* x (+ (* -1/8 (sqrt (/ 1 (pow y 3)))) (* 1/16 (* x (sqrt (/ 1 (pow y 5)))))))))) |
y |
(+ x y) |
-1 |
(- (* -1 (/ x y)) 1) |
(sqrt x) |
(* x (+ (sqrt (/ 1 x)) (* 1/2 (* (sqrt (/ 1 (pow x 3))) y)))) |
(* x (+ (sqrt (/ 1 x)) (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (pow y 2))) (* 1/2 (* (sqrt (/ 1 (pow x 3))) y))))) |
(* 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)))))) |
x |
(* x (+ 1 (/ y x))) |
(* -1 (/ x y)) |
(* -1 (* x (+ (/ 1 x) (/ 1 y)))) |
(* -1 (* (sqrt x) (pow (sqrt -1) 2))) |
(* -1 (* x (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) y)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))) |
(* -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)))))) |
(* -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))))))) |
(* -1 (* x (- (* -1 (/ y x)) 1))) |
(+ (sqrt x) (* 1/2 (* (sqrt (/ 1 x)) y))) |
(+ (sqrt x) (* y (+ (* -1/8 (* (sqrt (/ 1 (pow x 3))) y)) (* 1/2 (sqrt (/ 1 x)))))) |
(+ (sqrt x) (* y (+ (* 1/2 (sqrt (/ 1 x))) (* y (+ (* -1/8 (sqrt (/ 1 (pow x 3)))) (* 1/16 (* (sqrt (/ 1 (pow x 5))) y))))))) |
(* -1 y) |
(/ (+ (* -1 x) (* -1 y)) y) |
(* y (+ (sqrt (/ 1 y)) (* 1/2 (* x (sqrt (/ 1 (pow y 3))))))) |
(* y (+ (sqrt (/ 1 y)) (+ (* -1/8 (* (pow x 2) (sqrt (/ 1 (pow y 5))))) (* 1/2 (* x (sqrt (/ 1 (pow y 3)))))))) |
(* 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))))))))) |
(* y (+ 1 (/ x y))) |
(* -1 (* (sqrt y) (pow (sqrt -1) 2))) |
(* -1 (* y (+ (* 1/2 (* x (sqrt (/ 1 (pow y 3))))) (* (sqrt (/ 1 y)) (pow (sqrt -1) 2))))) |
(* -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)))))) |
(* -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))))))) |
(* -1 (* y (- (* -1 (/ x y)) 1))) |
| Outputs |
|---|
(sqrt y) |
(sqrt.f64 y) |
(+ (sqrt y) (* 1/2 (* x (sqrt (/ 1 y))))) |
(fma.f64 (*.f64 #s(literal 1/2 binary64) x) (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) (sqrt.f64 y)) |
(+ (sqrt y) (* x (+ (* -1/8 (* x (sqrt (/ 1 (pow y 3))))) (* 1/2 (sqrt (/ 1 y)))))) |
(fma.f64 (fma.f64 (*.f64 #s(literal -1/8 binary64) 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))) x (sqrt.f64 y)) |
(+ (sqrt y) (* x (+ (* 1/2 (sqrt (/ 1 y))) (* x (+ (* -1/8 (sqrt (/ 1 (pow y 3)))) (* 1/16 (* x (sqrt (/ 1 (pow y 5)))))))))) |
(fma.f64 (fma.f64 (fma.f64 (*.f64 #s(literal 1/16 binary64) 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))) x (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) #s(literal 1/2 binary64))) x (sqrt.f64 y)) |
y |
(+ x y) |
(+.f64 y x) |
-1 |
#s(literal -1 binary64) |
(- (* -1 (/ x y)) 1) |
(-.f64 #s(literal -1 binary64) (/.f64 x y)) |
(sqrt x) |
(sqrt.f64 x) |
(* x (+ (sqrt (/ 1 x)) (* 1/2 (* (sqrt (/ 1 (pow x 3))) y)))) |
(*.f64 (fma.f64 (*.f64 #s(literal 1/2 binary64) y) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))) x) |
(* x (+ (sqrt (/ 1 x)) (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (pow y 2))) (* 1/2 (* (sqrt (/ 1 (pow x 3))) y))))) |
(*.f64 (fma.f64 y (fma.f64 (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) #s(literal -1/8 binary64)) y (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) #s(literal 1/2 binary64))) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))) x) |
(* 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)))))) |
(*.f64 (fma.f64 (*.f64 y y) (fma.f64 (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 7 binary64)))) #s(literal 1/16 binary64)) y (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) #s(literal -1/8 binary64))) (fma.f64 (*.f64 #s(literal 1/2 binary64) y) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)))) x) |
x |
(* x (+ 1 (/ y x))) |
(+.f64 y x) |
(* -1 (/ x y)) |
(/.f64 (neg.f64 x) y) |
(* -1 (* x (+ (/ 1 x) (/ 1 y)))) |
(-.f64 #s(literal -1 binary64) (/.f64 x y)) |
(* -1 (* (sqrt x) (pow (sqrt -1) 2))) |
(sqrt.f64 x) |
(* -1 (* x (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) y)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))) |
(*.f64 (fma.f64 (*.f64 #s(literal -1/2 binary64) y) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))) x) |
(* -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)))))) |
(*.f64 (fma.f64 (*.f64 (*.f64 y y) #s(literal -1/8 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) (fma.f64 (*.f64 #s(literal -1/2 binary64) y) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)))) x) |
(* -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))))))) |
(*.f64 (fma.f64 (*.f64 (*.f64 y y) #s(literal -1/8 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) (fma.f64 (*.f64 #s(literal -1/16 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 7 binary64))))) (pow.f64 y #s(literal 3 binary64)) (fma.f64 (*.f64 #s(literal -1/2 binary64) y) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))))) x) |
(* -1 (* x (- (* -1 (/ y x)) 1))) |
(*.f64 (neg.f64 x) (fma.f64 (/.f64 y x) #s(literal -1 binary64) #s(literal -1 binary64))) |
(+ (sqrt x) (* 1/2 (* (sqrt (/ 1 x)) y))) |
(fma.f64 (*.f64 #s(literal 1/2 binary64) y) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (sqrt.f64 x)) |
(+ (sqrt x) (* y (+ (* -1/8 (* (sqrt (/ 1 (pow x 3))) y)) (* 1/2 (sqrt (/ 1 x)))))) |
(fma.f64 (fma.f64 (*.f64 #s(literal -1/8 binary64) y) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal 1/2 binary64))) y (sqrt.f64 x)) |
(+ (sqrt x) (* y (+ (* 1/2 (sqrt (/ 1 x))) (* y (+ (* -1/8 (sqrt (/ 1 (pow x 3)))) (* 1/16 (* (sqrt (/ 1 (pow x 5))) y))))))) |
(fma.f64 (fma.f64 (fma.f64 (*.f64 #s(literal 1/16 binary64) y) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) #s(literal -1/8 binary64))) y (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal 1/2 binary64))) y (sqrt.f64 x)) |
(* -1 y) |
(neg.f64 y) |
(/ (+ (* -1 x) (* -1 y)) y) |
(-.f64 #s(literal -1 binary64) (/.f64 x y)) |
(* y (+ (sqrt (/ 1 y)) (* 1/2 (* x (sqrt (/ 1 (pow y 3))))))) |
(*.f64 (fma.f64 (*.f64 #s(literal 1/2 binary64) x) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64)))) (sqrt.f64 (/.f64 #s(literal 1 binary64) y))) y) |
(* y (+ (sqrt (/ 1 y)) (+ (* -1/8 (* (pow x 2) (sqrt (/ 1 (pow y 5))))) (* 1/2 (* x (sqrt (/ 1 (pow y 3)))))))) |
(*.f64 (fma.f64 (*.f64 (*.f64 #s(literal -1/8 binary64) x) x) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 5 binary64)))) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64)))) (sqrt.f64 (/.f64 #s(literal 1 binary64) y)))) y) |
(* y (+ (sqrt (/ 1 y)) (+ (* -1/8 (* (pow x 2) (sqrt (/ 1 (pow y 5))))) (+ (* 1/16 (* (pow x 3) (sqrt (/ 1 (pow y 7))))) (* 1/2 (* x (sqrt (/ 1 (pow y 3))))))))) |
(*.f64 (fma.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/16 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 7 binary64)))) (fma.f64 (*.f64 (*.f64 #s(literal -1/8 binary64) x) x) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 5 binary64)))) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64)))) (sqrt.f64 (/.f64 #s(literal 1 binary64) y))))) y) |
(* y (+ 1 (/ x y))) |
(+.f64 y x) |
(* -1 (* (sqrt y) (pow (sqrt -1) 2))) |
(sqrt.f64 y) |
(* -1 (* y (+ (* 1/2 (* x (sqrt (/ 1 (pow y 3))))) (* (sqrt (/ 1 y)) (pow (sqrt -1) 2))))) |
(*.f64 (fma.f64 (*.f64 #s(literal -1/2 binary64) x) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64)))) (sqrt.f64 (/.f64 #s(literal 1 binary64) y))) y) |
(* -1 (* y (+ (* -1/8 (* (/ (pow x 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)))))) |
(*.f64 (fma.f64 (*.f64 (*.f64 #s(literal -1/8 binary64) x) x) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 5 binary64)))) (fma.f64 (*.f64 #s(literal -1/2 binary64) x) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64)))) (sqrt.f64 (/.f64 #s(literal 1 binary64) y)))) y) |
(* -1 (* y (+ (* -1/8 (* (/ (pow x 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))))))) |
(*.f64 (fma.f64 (*.f64 #s(literal -1/16 binary64) (pow.f64 x #s(literal 3 binary64))) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 7 binary64)))) (fma.f64 (*.f64 (*.f64 #s(literal -1/8 binary64) x) x) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 5 binary64)))) (fma.f64 (*.f64 #s(literal -1/2 binary64) x) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 binary64)))) (sqrt.f64 (/.f64 #s(literal 1 binary64) y))))) y) |
(* -1 (* y (- (* -1 (/ x y)) 1))) |
(+.f64 y x) |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 14 | 72 |
| 0 | 19 | 72 |
| 1 | 69 | 68 |
| 0 | 466 | 68 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
(sqrt.f64 #s(approx (+ x y) (*.f64 (neg.f64 y) #s(approx (+ (* (/ x y) -1) -1) (-.f64 #s(literal -1 binary64) (/.f64 x y)))))) |
#s(approx (+ x y) (*.f64 (neg.f64 y) #s(approx (+ (* (/ x y) -1) -1) (-.f64 #s(literal -1 binary64) (/.f64 x y))))) |
(*.f64 (neg.f64 y) #s(approx (+ (* (/ x y) -1) -1) (-.f64 #s(literal -1 binary64) (/.f64 x y)))) |
(neg.f64 y) |
#s(approx (+ (* (/ x y) -1) -1) (-.f64 #s(literal -1 binary64) (/.f64 x y))) |
| Outputs |
|---|
(*.f64 (pow.f64 #s(approx (+ x y) (*.f64 #s(approx (+ (* (/ x y) -1) -1) (-.f64 #s(literal -1 binary64) (/.f64 x y))) (neg.f64 y))) #s(literal 1/4 binary64)) (pow.f64 #s(approx (+ x y) (*.f64 #s(approx (+ (* (/ x y) -1) -1) (-.f64 #s(literal -1 binary64) (/.f64 x y))) (neg.f64 y))) #s(literal 1/4 binary64))) |
(pow.f64 #s(approx (+ x y) (*.f64 #s(approx (+ (* (/ x y) -1) -1) (-.f64 #s(literal -1 binary64) (/.f64 x y))) (neg.f64 y))) #s(literal 1/2 binary64)) |
(sqrt.f64 #s(approx (+ x y) (*.f64 #s(approx (+ (* (/ x y) -1) -1) (-.f64 #s(literal -1 binary64) (/.f64 x y))) (neg.f64 y)))) |
(exp.f64 (*.f64 (log.f64 #s(approx (+ x y) (*.f64 #s(approx (+ (* (/ x y) -1) -1) (-.f64 #s(literal -1 binary64) (/.f64 x y))) (neg.f64 y)))) #s(literal 1/2 binary64))) |
#s(approx (+ x y) (*.f64 #s(approx (+ (* (/ x y) -1) -1) (-.f64 #s(literal -1 binary64) (/.f64 x y))) (neg.f64 y))) |
(*.f64 #s(approx (+ (* (/ x y) -1) -1) (-.f64 #s(literal -1 binary64) (/.f64 x y))) (neg.f64 y)) |
(*.f64 (neg.f64 y) #s(approx (+ (* (/ x y) -1) -1) (-.f64 #s(literal -1 binary64) (/.f64 x y)))) |
(*.f64 y (neg.f64 #s(approx (+ (* (/ x y) -1) -1) (-.f64 #s(literal -1 binary64) (/.f64 x y))))) |
(neg.f64 (*.f64 #s(approx (+ (* (/ x y) -1) -1) (-.f64 #s(literal -1 binary64) (/.f64 x y))) y)) |
(neg.f64 y) |
#s(approx (+ (* (/ x y) -1) -1) (-.f64 #s(literal -1 binary64) (/.f64 x y))) |
Compiled 898 to 170 computations (81.1% saved)
4 alts after pruning (0 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 36 | 0 | 36 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 3 | 3 |
| Total | 36 | 4 | 40 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (sqrt.f64 (+.f64 x y)) |
| ✓ | 74.1% | (sqrt.f64 #s(approx (+ x y) (fma.f64 (/.f64 y x) x x))) |
| ✓ | 100.0% | (sqrt.f64 #s(approx (+ x y) (*.f64 (neg.f64 y) #s(approx (+ (* (/ x y) -1) -1) (-.f64 #s(literal -1 binary64) (/.f64 x y)))))) |
| ✓ | 98.1% | #s(approx (sqrt (+ x y)) (sqrt.f64 y)) |
Compiled 100 to 60 computations (40% saved)
| Inputs |
|---|
#s(approx (sqrt (+ x y)) (sqrt.f64 y)) |
(sqrt.f64 (+.f64 x y)) |
(sqrt.f64 #s(approx (+ x y) (fma.f64 (/.f64 y x) x x))) |
(sqrt.f64 #s(approx (+ x y) (*.f64 (neg.f64 y) #s(approx (+ (* (/ x y) -1) -1) (-.f64 #s(literal -1 binary64) (/.f64 x y)))))) |
(sqrt.f64 #s(approx (+ x y) (*.f64 (neg.f64 y) (fma.f64 (/.f64 x y) #s(literal -1 binary64) #s(literal -1 binary64))))) |
| Outputs |
|---|
(sqrt.f64 (+.f64 x y)) |
4 calls:
| 5.0ms | (sqrt.f64 (+.f64 x y)) |
| 2.0ms | (+.f64 x y) |
| 2.0ms | 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)
Total -0.0b remaining (-0%)
Threshold costs -0b (-0%)
| Inputs |
|---|
#s(approx (sqrt (+ x y)) (sqrt.f64 y)) |
| Outputs |
|---|
#s(approx (sqrt (+ x y)) (sqrt.f64 y)) |
4 calls:
| 1.0ms | y |
| 1.0ms | (+.f64 x y) |
| 1.0ms | (sqrt.f64 (+.f64 x y)) |
| 1.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 98.1% | 1 | (+.f64 x y) |
| 98.1% | 1 | (sqrt.f64 (+.f64 x y)) |
| 98.1% | 1 | x |
| 98.1% | 1 | y |
Compiled 9 to 11 computations (-22.2% saved)
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 11 |
| 1 | 9 | 11 |
| 1× | saturated |
| Inputs |
|---|
(sqrt.f64 (+.f64 x y)) |
#s(approx (sqrt (+ x y)) (sqrt.f64 y)) |
| Outputs |
|---|
(sqrt.f64 (+.f64 x y)) |
#s(approx (sqrt (+ x y)) (sqrt.f64 y)) |
| 1× | done |
Compiled 11 to 8 computations (27.3% saved)
(sort x y)
Compiled 46 to 40 computations (13% saved)
Loading profile data...