Optimisation.CirclePacking:place from circle-packing-0.1.0.4, A

Time bar (total: 4.0s)

start0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated

analyze17.0ms (0.4%)

Memory
17.6MiB live, 56.9MiB allocated
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
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
Compiler

Compiled 6 to 6 computations (0% saved)

sample1.4s (36%)

Memory
4.6MiB live, 929.1MiB allocated
Samples
1.0s8 256×0valid
30.0ms487×0invalid
Precisions
Click to see histograms. Total time spent on operations: 305.0ms
ival-add: 206.0ms (67.6% of total)
ival-sqrt: 88.0ms (28.9% of total)
ival-true: 7.0ms (2.3% of total)
ival-assert: 4.0ms (1.3% of total)
Bogosity

explain48.0ms (1.2%)

Memory
12.3MiB live, 124.8MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-(sqrt.f64 (+.f64 x y))
00-0-y
00-0-(+.f64 x y)
00-0-x
Confusion
Predicted +Predicted -
+00
-0256
Precision
0/0
Recall
0/0
Confusion?
Predicted +Predicted MaybePredicted -
+000
-00256
Precision?
0/0
Recall?
0/0
Freqs
test
numberfreq
0256
Total Confusion?
Predicted +Predicted MaybePredicted -
+000
-001
Precision?
0/0
Recall?
0/0
Samples
20.0ms512×0valid
Compiler

Compiled 26 to 16 computations (38.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 7.0ms
ival-sqrt: 4.0ms (54.7% of total)
ival-add: 3.0ms (41% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess17.0ms (0.4%)

Memory
-16.5MiB live, 32.0MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01224
12622
24122
36322
411622
515522
619422
720522
820722
044
064
174
074
Stop Event
iter limit
saturated
iter limit
saturated
Calls
Call 1
Inputs
(sqrt.f64 (+.f64 x y))
Outputs
(sqrt.f64 (+.f64 x y))
(sqrt.f64 (+.f64 y x))
Symmetry

(sort x y)

Compiler

Compiled 4 to 4 computations (0% saved)

eval0.0ms (0%)

Memory
0.3MiB live, 0.3MiB allocated
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

Memory
0.9MiB live, 0.9MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(sqrt.f64 (+.f64 x y))
Compiler

Compiled 4 to 4 computations (0% saved)

simplify2.0ms (0.1%)

Memory
2.7MiB live, 2.7MiB allocated
Algorithm
egg-herbie
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
cost-diff0
(+.f64 x y)
cost-diff0
(sqrt.f64 (+.f64 x y))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
049
069
179
079
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
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

localize201.0ms (5%)

Memory
-17.4MiB live, 20.0MiB allocated
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy0
(+.f64 x y)
accuracy0.00390625
(sqrt.f64 (+.f64 x y))
Samples
197.0ms256×0valid
Compiler

Compiled 11 to 6 computations (45.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 4.0ms
ival-sqrt: 2.0ms (56% of total)
ival-add: 1.0ms (28% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series6.0ms (0.2%)

Memory
8.3MiB live, 8.3MiB allocated
Counts
2 → 48
Calls
Call 1
Inputs
#s(alt (sqrt.f64 (+.f64 x y)) (patch (sqrt.f64 (+.f64 x y)) #<representation binary64>) () ())
#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())
Outputs
#s(alt (sqrt x) (taylor 0 y) (#s(alt (sqrt.f64 (+.f64 x y)) (patch (sqrt.f64 (+.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (+ (sqrt x) (* 1/2 (* (sqrt (/ 1 x)) y))) (taylor 0 y) (#s(alt (sqrt.f64 (+.f64 x y)) (patch (sqrt.f64 (+.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (+ (sqrt x) (* y (+ (* -1/8 (* (sqrt (/ 1 (pow x 3))) y)) (* 1/2 (sqrt (/ 1 x)))))) (taylor 0 y) (#s(alt (sqrt.f64 (+.f64 x y)) (patch (sqrt.f64 (+.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (+ (sqrt x) (* y (+ (* 1/2 (sqrt (/ 1 x))) (* y (+ (* -1/8 (sqrt (/ 1 (pow x 3)))) (* 1/16 (* (sqrt (/ 1 (pow x 5))) y))))))) (taylor 0 y) (#s(alt (sqrt.f64 (+.f64 x y)) (patch (sqrt.f64 (+.f64 x y)) #<representation binary64>) () ())) ())
#s(alt x (taylor 0 y) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt (+ x y) (taylor 0 y) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt (+ x y) (taylor 0 y) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt (+ x y) (taylor 0 y) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt (sqrt y) (taylor inf y) (#s(alt (sqrt.f64 (+.f64 x y)) (patch (sqrt.f64 (+.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (* y (+ (sqrt (/ 1 y)) (* 1/2 (* x (sqrt (/ 1 (pow y 3))))))) (taylor inf y) (#s(alt (sqrt.f64 (+.f64 x y)) (patch (sqrt.f64 (+.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (* y (+ (sqrt (/ 1 y)) (+ (* -1/8 (* (pow x 2) (sqrt (/ 1 (pow y 5))))) (* 1/2 (* x (sqrt (/ 1 (pow y 3)))))))) (taylor inf y) (#s(alt (sqrt.f64 (+.f64 x y)) (patch (sqrt.f64 (+.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (* 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))))))))) (taylor inf y) (#s(alt (sqrt.f64 (+.f64 x y)) (patch (sqrt.f64 (+.f64 x y)) #<representation binary64>) () ())) ())
#s(alt y (taylor inf y) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (/ x y))) (taylor inf y) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (/ x y))) (taylor inf y) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (/ x y))) (taylor inf y) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* (sqrt y) (pow (sqrt -1) 2))) (taylor -inf y) (#s(alt (sqrt.f64 (+.f64 x y)) (patch (sqrt.f64 (+.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* 1/2 (* x (sqrt (/ 1 (pow y 3))))) (* (sqrt (/ 1 y)) (pow (sqrt -1) 2))))) (taylor -inf y) (#s(alt (sqrt.f64 (+.f64 x y)) (patch (sqrt.f64 (+.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (* -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)))))) (taylor -inf y) (#s(alt (sqrt.f64 (+.f64 x y)) (patch (sqrt.f64 (+.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (* -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))))))) (taylor -inf y) (#s(alt (sqrt.f64 (+.f64 x y)) (patch (sqrt.f64 (+.f64 x y)) #<representation binary64>) () ())) ())
#s(alt y (taylor -inf y) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (* -1 (/ x y)) 1))) (taylor -inf y) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (* -1 (/ x y)) 1))) (taylor -inf y) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (* -1 (/ x y)) 1))) (taylor -inf y) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt (sqrt y) (taylor 0 x) (#s(alt (sqrt.f64 (+.f64 x y)) (patch (sqrt.f64 (+.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (+ (sqrt y) (* 1/2 (* x (sqrt (/ 1 y))))) (taylor 0 x) (#s(alt (sqrt.f64 (+.f64 x y)) (patch (sqrt.f64 (+.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (+ (sqrt y) (* x (+ (* -1/8 (* x (sqrt (/ 1 (pow y 3))))) (* 1/2 (sqrt (/ 1 y)))))) (taylor 0 x) (#s(alt (sqrt.f64 (+.f64 x y)) (patch (sqrt.f64 (+.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (+ (sqrt y) (* x (+ (* 1/2 (sqrt (/ 1 y))) (* x (+ (* -1/8 (sqrt (/ 1 (pow y 3)))) (* 1/16 (* x (sqrt (/ 1 (pow y 5)))))))))) (taylor 0 x) (#s(alt (sqrt.f64 (+.f64 x y)) (patch (sqrt.f64 (+.f64 x y)) #<representation binary64>) () ())) ())
#s(alt y (taylor 0 x) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt (+ x y) (taylor 0 x) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt (+ x y) (taylor 0 x) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt (+ x y) (taylor 0 x) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt (sqrt x) (taylor inf x) (#s(alt (sqrt.f64 (+.f64 x y)) (patch (sqrt.f64 (+.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (* x (+ (sqrt (/ 1 x)) (* 1/2 (* (sqrt (/ 1 (pow x 3))) y)))) (taylor inf x) (#s(alt (sqrt.f64 (+.f64 x y)) (patch (sqrt.f64 (+.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (* x (+ (sqrt (/ 1 x)) (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (pow y 2))) (* 1/2 (* (sqrt (/ 1 (pow x 3))) y))))) (taylor inf x) (#s(alt (sqrt.f64 (+.f64 x y)) (patch (sqrt.f64 (+.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (* 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)))))) (taylor inf x) (#s(alt (sqrt.f64 (+.f64 x y)) (patch (sqrt.f64 (+.f64 x y)) #<representation binary64>) () ())) ())
#s(alt x (taylor inf x) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ y x))) (taylor inf x) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ y x))) (taylor inf x) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ y x))) (taylor inf x) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* (sqrt x) (pow (sqrt -1) 2))) (taylor -inf x) (#s(alt (sqrt.f64 (+.f64 x y)) (patch (sqrt.f64 (+.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) y)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))) (taylor -inf x) (#s(alt (sqrt.f64 (+.f64 x y)) (patch (sqrt.f64 (+.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (* -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)))))) (taylor -inf x) (#s(alt (sqrt.f64 (+.f64 x y)) (patch (sqrt.f64 (+.f64 x y)) #<representation binary64>) () ())) ())
#s(alt (* -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))))))) (taylor -inf x) (#s(alt (sqrt.f64 (+.f64 x y)) (patch (sqrt.f64 (+.f64 x y)) #<representation binary64>) () ())) ())
#s(alt x (taylor -inf x) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* -1 (/ y x)) 1))) (taylor -inf x) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* -1 (/ y x)) 1))) (taylor -inf x) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* -1 (/ y x)) 1))) (taylor -inf x) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ())
Calls

6 calls:

TimeVariablePointExpression
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))
1.0ms
x
@inf
((sqrt (+ x y)) (+ x y))
0.0ms
y
@0
((sqrt (+ x y)) (+ x y))

simplify225.0ms (5.6%)

Memory
3.4MiB live, 226.4MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0156630
1454600
21426582
34628570
08167534
Stop Event
iter limit
node limit
Counts
48 → 42
Calls
Call 1
Inputs
(sqrt x)
(+ (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)))))))
x
(+ x y)
(+ x y)
(+ x y)
(sqrt 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
(* y (+ 1 (/ x y)))
(* y (+ 1 (/ x y)))
(* 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)))))))
y
(* -1 (* y (- (* -1 (/ x y)) 1)))
(* -1 (* y (- (* -1 (/ x y)) 1)))
(* -1 (* y (- (* -1 (/ x y)) 1)))
(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)
(+ x 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)))
(* x (+ 1 (/ 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)))))))
x
(* -1 (* x (- (* -1 (/ y x)) 1)))
(* -1 (* x (- (* -1 (/ y x)) 1)))
(* -1 (* x (- (* -1 (/ y x)) 1)))
Outputs
(sqrt x)
(sqrt.f64 x)
(+ (sqrt x) (* 1/2 (* (sqrt (/ 1 x)) y)))
(fma.f64 (*.f64 y #s(literal 1/2 binary64)) (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))
x
(+ x y)
(+.f64 y x)
(+ x y)
(+.f64 y x)
(+ x y)
(+.f64 y x)
(sqrt y)
(sqrt.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 #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)
y
(* y (+ 1 (/ x y)))
(+.f64 y x)
(* y (+ 1 (/ x y)))
(+.f64 y x)
(* 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 #s(literal -1/2 binary64) x) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 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)))) (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 #s(literal -1/16 binary64) (/.f64 (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 7 binary64)))) (pow.f64 x #s(literal 3 binary64))) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 4 binary64))) (fma.f64 (*.f64 #s(literal -1/2 binary64) x) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 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)))) (sqrt.f64 (/.f64 #s(literal 1 binary64) y))))) y)
y
(* -1 (* y (- (* -1 (/ x y)) 1)))
(+.f64 y x)
(* -1 (* y (- (* -1 (/ x y)) 1)))
(+.f64 y x)
(* -1 (* y (- (* -1 (/ x y)) 1)))
(+.f64 y x)
(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)
(+ x y)
(+.f64 y x)
(+ 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 y #s(literal 1/2 binary64)) (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 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) (*.f64 #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 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 7 binary64)))) #s(literal 1/16 binary64)) (pow.f64 y #s(literal 3 binary64)) (fma.f64 y (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) (*.f64 #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
(* x (+ 1 (/ y x)))
(+.f64 y x)
(* x (+ 1 (/ y x)))
(+.f64 y x)
(* x (+ 1 (/ y x)))
(+.f64 y 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 #s(literal -1/2 binary64) y) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) (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)))) (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 #s(literal -1/16 binary64) (/.f64 (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 7 binary64)))) (pow.f64 y #s(literal 3 binary64))) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 4 binary64))) (fma.f64 (*.f64 #s(literal -1/2 binary64) y) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) (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)))) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))))) x)
x
(* -1 (* x (- (* -1 (/ y x)) 1)))
(+.f64 y x)
(* -1 (* x (- (* -1 (/ y x)) 1)))
(+.f64 y x)
(* -1 (* x (- (* -1 (/ y x)) 1)))
(+.f64 y x)

rewrite205.0ms (5.1%)

Memory
-5.4MiB live, 279.2MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
047
067
1227
21457
313667
083107
Stop Event
iter limit
node limit
iter limit
Counts
2 → 226
Calls
Call 1
Inputs
(sqrt.f64 (+.f64 x y))
(+.f64 x y)
Outputs
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval35.0ms (0.9%)

Memory
-5.9MiB live, 77.5MiB allocated
Compiler

Compiled 5 681 to 881 computations (84.5% saved)

prune5.0ms (0.1%)

Memory
25.1MiB live, 25.1MiB allocated
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New2662268
Fresh000
Picked011
Done000
Total2663269
Accuracy
100.0%
Counts
269 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
53.3%
(sqrt.f64 (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y)))
100.0%
(sqrt.f64 (+.f64 x y))
97.7%
#s(approx (sqrt (+ x y)) (sqrt.f64 y))
Compiler

Compiled 21 to 17 computations (19% saved)

simplify163.0ms (4.1%)

Memory
-16.3MiB live, 184.1MiB allocated
Algorithm
egg-herbie
Localize:

Found 6 expressions of interest:

NewMetricScoreProgram
cost-diff0
(sqrt.f64 (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y)))
cost-diff192
(fma.f64 #s(literal -1 binary64) x y)
cost-diff320
(fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y))
cost-diff1408
(/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y))
cost-diff0
(sqrt.f64 y)
cost-diff0
#s(approx (sqrt (+ x y)) (sqrt.f64 y))
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
01358
02258
13052
23652
35052
49640
525336
667036
7210536
8461636
9595436
10705736
11736336
12748436
0820536
Stop Event
iter limit
node limit
iter limit
Calls
Call 1
Inputs
#s(approx (sqrt (+ x y)) (sqrt.f64 y))
(sqrt.f64 y)
y
(sqrt.f64 (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y)))
(/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y))
(fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y))
#s(literal -1 binary64)
(*.f64 x x)
x
(*.f64 y y)
y
(fma.f64 #s(literal -1 binary64) x y)
Outputs
#s(approx (sqrt (+ x y)) (sqrt.f64 y))
(sqrt.f64 y)
y
(sqrt.f64 (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y)))
(sqrt.f64 (+.f64 y x))
(/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y))
(+.f64 y x)
(fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y))
(*.f64 (-.f64 y x) (+.f64 y x))
#s(literal -1 binary64)
(*.f64 x x)
x
(*.f64 y y)
y
(fma.f64 #s(literal -1 binary64) x y)
(-.f64 y x)

localize54.0ms (1.3%)

Memory
8.0MiB live, 139.7MiB allocated
Localize:

Found 6 expressions of interest:

NewMetricScoreProgram
accuracy0
(*.f64 x x)
accuracy0.00390625
(sqrt.f64 (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y)))
accuracy3.0000000000000004
(fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y))
accuracy28.877904287705128
(/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y))
accuracy0
(sqrt.f64 y)
accuracy1.4766553864978158
#s(approx (sqrt (+ x y)) (sqrt.f64 y))
Samples
27.0ms255×0valid
0.0ms1valid
Compiler

Compiled 63 to 16 computations (74.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 17.0ms
ival-mult: 6.0ms (34.7% of total)
ival-sqrt: 6.0ms (34.7% of total)
ival-add: 4.0ms (23.2% of total)
ival-div: 1.0ms (5.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)

series14.0ms (0.4%)

Memory
-8.8MiB live, 30.8MiB allocated
Counts
7 → 144
Calls
Call 1
Inputs
#s(alt #s(approx (sqrt (+ x y)) (sqrt.f64 y)) (patch #s(approx (sqrt (+ x y)) (sqrt.f64 y)) #<representation binary64>) () ())
#s(alt (sqrt.f64 y) (patch (sqrt.f64 y) #<representation binary64>) () ())
#s(alt (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y)) (patch (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y)) #<representation binary64>) () ())
#s(alt (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (patch (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) #<representation binary64>) () ())
#s(alt (fma.f64 #s(literal -1 binary64) x y) (patch (fma.f64 #s(literal -1 binary64) x y) #<representation binary64>) () ())
#s(alt (sqrt.f64 (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y))) (patch (sqrt.f64 (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y))) #<representation binary64>) () ())
#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())
Outputs
#s(alt (sqrt x) (taylor 0 y) (#s(alt #s(approx (sqrt (+ x y)) (sqrt.f64 y)) (patch #s(approx (sqrt (+ x y)) (sqrt.f64 y)) #<representation binary64>) () ())) ())
#s(alt (+ (sqrt x) (* 1/2 (* (sqrt (/ 1 x)) y))) (taylor 0 y) (#s(alt #s(approx (sqrt (+ x y)) (sqrt.f64 y)) (patch #s(approx (sqrt (+ x y)) (sqrt.f64 y)) #<representation binary64>) () ())) ())
#s(alt (+ (sqrt x) (* y (+ (* -1/8 (* (sqrt (/ 1 (pow x 3))) y)) (* 1/2 (sqrt (/ 1 x)))))) (taylor 0 y) (#s(alt #s(approx (sqrt (+ x y)) (sqrt.f64 y)) (patch #s(approx (sqrt (+ x y)) (sqrt.f64 y)) #<representation binary64>) () ())) ())
#s(alt (+ (sqrt x) (* y (+ (* 1/2 (sqrt (/ 1 x))) (* y (+ (* -1/8 (sqrt (/ 1 (pow x 3)))) (* 1/16 (* (sqrt (/ 1 (pow x 5))) y))))))) (taylor 0 y) (#s(alt #s(approx (sqrt (+ x y)) (sqrt.f64 y)) (patch #s(approx (sqrt (+ x y)) (sqrt.f64 y)) #<representation binary64>) () ())) ())
#s(alt (sqrt y) (taylor 0 y) (#s(alt (sqrt.f64 y) (patch (sqrt.f64 y) #<representation binary64>) () ())) ())
#s(alt (sqrt y) (taylor 0 y) (#s(alt (sqrt.f64 y) (patch (sqrt.f64 y) #<representation binary64>) () ())) ())
#s(alt (sqrt y) (taylor 0 y) (#s(alt (sqrt.f64 y) (patch (sqrt.f64 y) #<representation binary64>) () ())) ())
#s(alt (sqrt y) (taylor 0 y) (#s(alt (sqrt.f64 y) (patch (sqrt.f64 y) #<representation binary64>) () ())) ())
#s(alt x (taylor 0 y) (#s(alt (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y)) (patch (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y)) #<representation binary64>) () ())) ())
#s(alt (+ x y) (taylor 0 y) (#s(alt (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y)) (patch (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y)) #<representation binary64>) () ())) ())
#s(alt (+ x y) (taylor 0 y) (#s(alt (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y)) (patch (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y)) #<representation binary64>) () ())) ())
#s(alt (+ x y) (taylor 0 y) (#s(alt (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y)) (patch (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (pow x 2)) (taylor 0 y) (#s(alt (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (patch (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) #<representation binary64>) () ())) ())
#s(alt (+ (* -1 (pow x 2)) (pow y 2)) (taylor 0 y) (#s(alt (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (patch (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) #<representation binary64>) () ())) ())
#s(alt (+ (* -1 (pow x 2)) (pow y 2)) (taylor 0 y) (#s(alt (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (patch (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) #<representation binary64>) () ())) ())
#s(alt (+ (* -1 (pow x 2)) (pow y 2)) (taylor 0 y) (#s(alt (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (patch (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) #<representation binary64>) () ())) ())
#s(alt (* -1 x) (taylor 0 y) (#s(alt (fma.f64 #s(literal -1 binary64) x y) (patch (fma.f64 #s(literal -1 binary64) x y) #<representation binary64>) () ())) ())
#s(alt (+ y (* -1 x)) (taylor 0 y) (#s(alt (fma.f64 #s(literal -1 binary64) x y) (patch (fma.f64 #s(literal -1 binary64) x y) #<representation binary64>) () ())) ())
#s(alt (+ y (* -1 x)) (taylor 0 y) (#s(alt (fma.f64 #s(literal -1 binary64) x y) (patch (fma.f64 #s(literal -1 binary64) x y) #<representation binary64>) () ())) ())
#s(alt (+ y (* -1 x)) (taylor 0 y) (#s(alt (fma.f64 #s(literal -1 binary64) x y) (patch (fma.f64 #s(literal -1 binary64) x y) #<representation binary64>) () ())) ())
#s(alt (sqrt x) (taylor 0 y) (#s(alt (sqrt.f64 (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y))) (patch (sqrt.f64 (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y))) #<representation binary64>) () ())) ())
#s(alt (+ (sqrt x) (* 1/2 (* (sqrt (/ 1 x)) y))) (taylor 0 y) (#s(alt (sqrt.f64 (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y))) (patch (sqrt.f64 (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y))) #<representation binary64>) () ())) ())
#s(alt (+ (sqrt x) (* y (+ (* -1/8 (* (sqrt (/ 1 (pow x 3))) y)) (* 1/2 (sqrt (/ 1 x)))))) (taylor 0 y) (#s(alt (sqrt.f64 (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y))) (patch (sqrt.f64 (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y))) #<representation binary64>) () ())) ())
#s(alt (+ (sqrt x) (* y (+ (* 1/2 (sqrt (/ 1 x))) (* y (+ (* -1/8 (sqrt (/ 1 (pow x 3)))) (* 1/16 (* (sqrt (/ 1 (pow x 5))) y))))))) (taylor 0 y) (#s(alt (sqrt.f64 (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y))) (patch (sqrt.f64 (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y))) #<representation binary64>) () ())) ())
#s(alt (sqrt y) (taylor inf y) (#s(alt #s(approx (sqrt (+ x y)) (sqrt.f64 y)) (patch #s(approx (sqrt (+ x y)) (sqrt.f64 y)) #<representation binary64>) () ())) ())
#s(alt (* y (+ (sqrt (/ 1 y)) (* 1/2 (* x (sqrt (/ 1 (pow y 3))))))) (taylor inf y) (#s(alt #s(approx (sqrt (+ x y)) (sqrt.f64 y)) (patch #s(approx (sqrt (+ x y)) (sqrt.f64 y)) #<representation binary64>) () ())) ())
#s(alt (* y (+ (sqrt (/ 1 y)) (+ (* -1/8 (* (pow x 2) (sqrt (/ 1 (pow y 5))))) (* 1/2 (* x (sqrt (/ 1 (pow y 3)))))))) (taylor inf y) (#s(alt #s(approx (sqrt (+ x y)) (sqrt.f64 y)) (patch #s(approx (sqrt (+ x y)) (sqrt.f64 y)) #<representation binary64>) () ())) ())
#s(alt (* 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))))))))) (taylor inf y) (#s(alt #s(approx (sqrt (+ x y)) (sqrt.f64 y)) (patch #s(approx (sqrt (+ x y)) (sqrt.f64 y)) #<representation binary64>) () ())) ())
#s(alt (sqrt y) (taylor inf y) (#s(alt (sqrt.f64 y) (patch (sqrt.f64 y) #<representation binary64>) () ())) ())
#s(alt (sqrt y) (taylor inf y) (#s(alt (sqrt.f64 y) (patch (sqrt.f64 y) #<representation binary64>) () ())) ())
#s(alt (sqrt y) (taylor inf y) (#s(alt (sqrt.f64 y) (patch (sqrt.f64 y) #<representation binary64>) () ())) ())
#s(alt (sqrt y) (taylor inf y) (#s(alt (sqrt.f64 y) (patch (sqrt.f64 y) #<representation binary64>) () ())) ())
#s(alt y (taylor inf y) (#s(alt (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y)) (patch (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y)) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (/ x y))) (taylor inf y) (#s(alt (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y)) (patch (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y)) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (/ x y))) (taylor inf y) (#s(alt (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y)) (patch (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y)) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (/ x y))) (taylor inf y) (#s(alt (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y)) (patch (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y)) #<representation binary64>) () ())) ())
#s(alt (pow y 2) (taylor inf y) (#s(alt (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (patch (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) #<representation binary64>) () ())) ())
#s(alt (* (pow y 2) (+ 1 (* -1 (/ (pow x 2) (pow y 2))))) (taylor inf y) (#s(alt (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (patch (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) #<representation binary64>) () ())) ())
#s(alt (* (pow y 2) (+ 1 (* -1 (/ (pow x 2) (pow y 2))))) (taylor inf y) (#s(alt (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (patch (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) #<representation binary64>) () ())) ())
#s(alt (* (pow y 2) (+ 1 (* -1 (/ (pow x 2) (pow y 2))))) (taylor inf y) (#s(alt (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (patch (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) #<representation binary64>) () ())) ())
#s(alt y (taylor inf y) (#s(alt (fma.f64 #s(literal -1 binary64) x y) (patch (fma.f64 #s(literal -1 binary64) x y) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (* -1 (/ x y)))) (taylor inf y) (#s(alt (fma.f64 #s(literal -1 binary64) x y) (patch (fma.f64 #s(literal -1 binary64) x y) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (* -1 (/ x y)))) (taylor inf y) (#s(alt (fma.f64 #s(literal -1 binary64) x y) (patch (fma.f64 #s(literal -1 binary64) x y) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (* -1 (/ x y)))) (taylor inf y) (#s(alt (fma.f64 #s(literal -1 binary64) x y) (patch (fma.f64 #s(literal -1 binary64) x y) #<representation binary64>) () ())) ())
#s(alt (sqrt y) (taylor inf y) (#s(alt (sqrt.f64 (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y))) (patch (sqrt.f64 (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y))) #<representation binary64>) () ())) ())
#s(alt (* y (+ (sqrt (/ 1 y)) (* 1/2 (* x (sqrt (/ 1 (pow y 3))))))) (taylor inf y) (#s(alt (sqrt.f64 (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y))) (patch (sqrt.f64 (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y))) #<representation binary64>) () ())) ())
#s(alt (* y (+ (sqrt (/ 1 y)) (+ (* -1/8 (* (pow x 2) (sqrt (/ 1 (pow y 5))))) (* 1/2 (* x (sqrt (/ 1 (pow y 3)))))))) (taylor inf y) (#s(alt (sqrt.f64 (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y))) (patch (sqrt.f64 (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y))) #<representation binary64>) () ())) ())
#s(alt (* 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))))))))) (taylor inf y) (#s(alt (sqrt.f64 (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y))) (patch (sqrt.f64 (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* (sqrt y) (pow (sqrt -1) 2))) (taylor -inf y) (#s(alt #s(approx (sqrt (+ x y)) (sqrt.f64 y)) (patch #s(approx (sqrt (+ x y)) (sqrt.f64 y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* 1/2 (* x (sqrt (/ 1 (pow y 3))))) (* (sqrt (/ 1 y)) (pow (sqrt -1) 2))))) (taylor -inf y) (#s(alt #s(approx (sqrt (+ x y)) (sqrt.f64 y)) (patch #s(approx (sqrt (+ x y)) (sqrt.f64 y)) #<representation binary64>) () ())) ())
#s(alt (* -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)))))) (taylor -inf y) (#s(alt #s(approx (sqrt (+ x y)) (sqrt.f64 y)) (patch #s(approx (sqrt (+ x y)) (sqrt.f64 y)) #<representation binary64>) () ())) ())
#s(alt (* -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))))))) (taylor -inf y) (#s(alt #s(approx (sqrt (+ x y)) (sqrt.f64 y)) (patch #s(approx (sqrt (+ x y)) (sqrt.f64 y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* (sqrt y) (pow (sqrt -1) 2))) (taylor -inf y) (#s(alt (sqrt.f64 y) (patch (sqrt.f64 y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* (sqrt y) (pow (sqrt -1) 2))) (taylor -inf y) (#s(alt (sqrt.f64 y) (patch (sqrt.f64 y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* (sqrt y) (pow (sqrt -1) 2))) (taylor -inf y) (#s(alt (sqrt.f64 y) (patch (sqrt.f64 y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* (sqrt y) (pow (sqrt -1) 2))) (taylor -inf y) (#s(alt (sqrt.f64 y) (patch (sqrt.f64 y) #<representation binary64>) () ())) ())
#s(alt y (taylor -inf y) (#s(alt (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y)) (patch (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (* -1 (/ x y)) 1))) (taylor -inf y) (#s(alt (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y)) (patch (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (* -1 (/ x y)) 1))) (taylor -inf y) (#s(alt (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y)) (patch (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (* -1 (/ x y)) 1))) (taylor -inf y) (#s(alt (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y)) (patch (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y)) #<representation binary64>) () ())) ())
#s(alt (pow y 2) (taylor -inf y) (#s(alt (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (patch (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) #<representation binary64>) () ())) ())
#s(alt (* (pow y 2) (+ 1 (* -1 (/ (pow x 2) (pow y 2))))) (taylor -inf y) (#s(alt (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (patch (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) #<representation binary64>) () ())) ())
#s(alt (* (pow y 2) (+ 1 (* -1 (/ (pow x 2) (pow y 2))))) (taylor -inf y) (#s(alt (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (patch (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) #<representation binary64>) () ())) ())
#s(alt (* (pow y 2) (+ 1 (* -1 (/ (pow x 2) (pow y 2))))) (taylor -inf y) (#s(alt (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (patch (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) #<representation binary64>) () ())) ())
#s(alt y (taylor -inf y) (#s(alt (fma.f64 #s(literal -1 binary64) x y) (patch (fma.f64 #s(literal -1 binary64) x y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (/ x y) 1))) (taylor -inf y) (#s(alt (fma.f64 #s(literal -1 binary64) x y) (patch (fma.f64 #s(literal -1 binary64) x y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (/ x y) 1))) (taylor -inf y) (#s(alt (fma.f64 #s(literal -1 binary64) x y) (patch (fma.f64 #s(literal -1 binary64) x y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (/ x y) 1))) (taylor -inf y) (#s(alt (fma.f64 #s(literal -1 binary64) x y) (patch (fma.f64 #s(literal -1 binary64) x y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* (sqrt y) (pow (sqrt -1) 2))) (taylor -inf y) (#s(alt (sqrt.f64 (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y))) (patch (sqrt.f64 (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* 1/2 (* x (sqrt (/ 1 (pow y 3))))) (* (sqrt (/ 1 y)) (pow (sqrt -1) 2))))) (taylor -inf y) (#s(alt (sqrt.f64 (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y))) (patch (sqrt.f64 (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y))) #<representation binary64>) () ())) ())
#s(alt (* -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)))))) (taylor -inf y) (#s(alt (sqrt.f64 (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y))) (patch (sqrt.f64 (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y))) #<representation binary64>) () ())) ())
#s(alt (* -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))))))) (taylor -inf y) (#s(alt (sqrt.f64 (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y))) (patch (sqrt.f64 (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y))) #<representation binary64>) () ())) ())
#s(alt (sqrt y) (taylor 0 x) (#s(alt #s(approx (sqrt (+ x y)) (sqrt.f64 y)) (patch #s(approx (sqrt (+ x y)) (sqrt.f64 y)) #<representation binary64>) () ())) ())
#s(alt (+ (sqrt y) (* 1/2 (* x (sqrt (/ 1 y))))) (taylor 0 x) (#s(alt #s(approx (sqrt (+ x y)) (sqrt.f64 y)) (patch #s(approx (sqrt (+ x y)) (sqrt.f64 y)) #<representation binary64>) () ())) ())
#s(alt (+ (sqrt y) (* x (+ (* -1/8 (* x (sqrt (/ 1 (pow y 3))))) (* 1/2 (sqrt (/ 1 y)))))) (taylor 0 x) (#s(alt #s(approx (sqrt (+ x y)) (sqrt.f64 y)) (patch #s(approx (sqrt (+ x y)) (sqrt.f64 y)) #<representation binary64>) () ())) ())
#s(alt (+ (sqrt y) (* x (+ (* 1/2 (sqrt (/ 1 y))) (* x (+ (* -1/8 (sqrt (/ 1 (pow y 3)))) (* 1/16 (* x (sqrt (/ 1 (pow y 5)))))))))) (taylor 0 x) (#s(alt #s(approx (sqrt (+ x y)) (sqrt.f64 y)) (patch #s(approx (sqrt (+ x y)) (sqrt.f64 y)) #<representation binary64>) () ())) ())
#s(alt y (taylor 0 x) (#s(alt (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y)) (patch (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y)) #<representation binary64>) () ())) ())
#s(alt (+ x y) (taylor 0 x) (#s(alt (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y)) (patch (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y)) #<representation binary64>) () ())) ())
#s(alt (+ x y) (taylor 0 x) (#s(alt (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y)) (patch (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y)) #<representation binary64>) () ())) ())
#s(alt (+ x y) (taylor 0 x) (#s(alt (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y)) (patch (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y)) #<representation binary64>) () ())) ())
#s(alt (pow y 2) (taylor 0 x) (#s(alt (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (patch (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) #<representation binary64>) () ())) ())
#s(alt (+ (* -1 (pow x 2)) (pow y 2)) (taylor 0 x) (#s(alt (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (patch (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) #<representation binary64>) () ())) ())
#s(alt (+ (* -1 (pow x 2)) (pow y 2)) (taylor 0 x) (#s(alt (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (patch (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) #<representation binary64>) () ())) ())
#s(alt (+ (* -1 (pow x 2)) (pow y 2)) (taylor 0 x) (#s(alt (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (patch (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) #<representation binary64>) () ())) ())
#s(alt y (taylor 0 x) (#s(alt (fma.f64 #s(literal -1 binary64) x y) (patch (fma.f64 #s(literal -1 binary64) x y) #<representation binary64>) () ())) ())
#s(alt (+ y (* -1 x)) (taylor 0 x) (#s(alt (fma.f64 #s(literal -1 binary64) x y) (patch (fma.f64 #s(literal -1 binary64) x y) #<representation binary64>) () ())) ())
#s(alt (+ y (* -1 x)) (taylor 0 x) (#s(alt (fma.f64 #s(literal -1 binary64) x y) (patch (fma.f64 #s(literal -1 binary64) x y) #<representation binary64>) () ())) ())
#s(alt (+ y (* -1 x)) (taylor 0 x) (#s(alt (fma.f64 #s(literal -1 binary64) x y) (patch (fma.f64 #s(literal -1 binary64) x y) #<representation binary64>) () ())) ())
#s(alt (sqrt y) (taylor 0 x) (#s(alt (sqrt.f64 (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y))) (patch (sqrt.f64 (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y))) #<representation binary64>) () ())) ())
#s(alt (+ (sqrt y) (* 1/2 (* x (sqrt (/ 1 y))))) (taylor 0 x) (#s(alt (sqrt.f64 (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y))) (patch (sqrt.f64 (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y))) #<representation binary64>) () ())) ())
#s(alt (+ (sqrt y) (* x (+ (* -1/8 (* x (sqrt (/ 1 (pow y 3))))) (* 1/2 (sqrt (/ 1 y)))))) (taylor 0 x) (#s(alt (sqrt.f64 (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y))) (patch (sqrt.f64 (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y))) #<representation binary64>) () ())) ())
#s(alt (+ (sqrt y) (* x (+ (* 1/2 (sqrt (/ 1 y))) (* x (+ (* -1/8 (sqrt (/ 1 (pow y 3)))) (* 1/16 (* x (sqrt (/ 1 (pow y 5)))))))))) (taylor 0 x) (#s(alt (sqrt.f64 (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y))) (patch (sqrt.f64 (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y))) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (sqrt x) (taylor inf x) (#s(alt #s(approx (sqrt (+ x y)) (sqrt.f64 y)) (patch #s(approx (sqrt (+ x y)) (sqrt.f64 y)) #<representation binary64>) () ())) ())
#s(alt (* x (+ (sqrt (/ 1 x)) (* 1/2 (* (sqrt (/ 1 (pow x 3))) y)))) (taylor inf x) (#s(alt #s(approx (sqrt (+ x y)) (sqrt.f64 y)) (patch #s(approx (sqrt (+ x y)) (sqrt.f64 y)) #<representation binary64>) () ())) ())
#s(alt (* x (+ (sqrt (/ 1 x)) (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (pow y 2))) (* 1/2 (* (sqrt (/ 1 (pow x 3))) y))))) (taylor inf x) (#s(alt #s(approx (sqrt (+ x y)) (sqrt.f64 y)) (patch #s(approx (sqrt (+ x y)) (sqrt.f64 y)) #<representation binary64>) () ())) ())
#s(alt (* 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)))))) (taylor inf x) (#s(alt #s(approx (sqrt (+ x y)) (sqrt.f64 y)) (patch #s(approx (sqrt (+ x y)) (sqrt.f64 y)) #<representation binary64>) () ())) ())
#s(alt x (taylor inf x) (#s(alt (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y)) (patch (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ y x))) (taylor inf x) (#s(alt (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y)) (patch (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ y x))) (taylor inf x) (#s(alt (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y)) (patch (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ y x))) (taylor inf x) (#s(alt (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y)) (patch (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (pow x 2)) (taylor inf x) (#s(alt (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (patch (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- (/ (pow y 2) (pow x 2)) 1)) (taylor inf x) (#s(alt (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (patch (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- (/ (pow y 2) (pow x 2)) 1)) (taylor inf x) (#s(alt (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (patch (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- (/ (pow y 2) (pow x 2)) 1)) (taylor inf x) (#s(alt (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (patch (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) #<representation binary64>) () ())) ())
#s(alt (* -1 x) (taylor inf x) (#s(alt (fma.f64 #s(literal -1 binary64) x y) (patch (fma.f64 #s(literal -1 binary64) x y) #<representation binary64>) () ())) ())
#s(alt (* x (- (/ y x) 1)) (taylor inf x) (#s(alt (fma.f64 #s(literal -1 binary64) x y) (patch (fma.f64 #s(literal -1 binary64) x y) #<representation binary64>) () ())) ())
#s(alt (* x (- (/ y x) 1)) (taylor inf x) (#s(alt (fma.f64 #s(literal -1 binary64) x y) (patch (fma.f64 #s(literal -1 binary64) x y) #<representation binary64>) () ())) ())
#s(alt (* x (- (/ y x) 1)) (taylor inf x) (#s(alt (fma.f64 #s(literal -1 binary64) x y) (patch (fma.f64 #s(literal -1 binary64) x y) #<representation binary64>) () ())) ())
#s(alt (sqrt x) (taylor inf x) (#s(alt (sqrt.f64 (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y))) (patch (sqrt.f64 (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y))) #<representation binary64>) () ())) ())
#s(alt (* x (+ (sqrt (/ 1 x)) (* 1/2 (* (sqrt (/ 1 (pow x 3))) y)))) (taylor inf x) (#s(alt (sqrt.f64 (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y))) (patch (sqrt.f64 (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y))) #<representation binary64>) () ())) ())
#s(alt (* x (+ (sqrt (/ 1 x)) (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (pow y 2))) (* 1/2 (* (sqrt (/ 1 (pow x 3))) y))))) (taylor inf x) (#s(alt (sqrt.f64 (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y))) (patch (sqrt.f64 (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y))) #<representation binary64>) () ())) ())
#s(alt (* 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)))))) (taylor inf x) (#s(alt (sqrt.f64 (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y))) (patch (sqrt.f64 (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y))) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* (sqrt x) (pow (sqrt -1) 2))) (taylor -inf x) (#s(alt #s(approx (sqrt (+ x y)) (sqrt.f64 y)) (patch #s(approx (sqrt (+ x y)) (sqrt.f64 y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) y)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))) (taylor -inf x) (#s(alt #s(approx (sqrt (+ x y)) (sqrt.f64 y)) (patch #s(approx (sqrt (+ x y)) (sqrt.f64 y)) #<representation binary64>) () ())) ())
#s(alt (* -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)))))) (taylor -inf x) (#s(alt #s(approx (sqrt (+ x y)) (sqrt.f64 y)) (patch #s(approx (sqrt (+ x y)) (sqrt.f64 y)) #<representation binary64>) () ())) ())
#s(alt (* -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))))))) (taylor -inf x) (#s(alt #s(approx (sqrt (+ x y)) (sqrt.f64 y)) (patch #s(approx (sqrt (+ x y)) (sqrt.f64 y)) #<representation binary64>) () ())) ())
#s(alt x (taylor -inf x) (#s(alt (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y)) (patch (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* -1 (/ y x)) 1))) (taylor -inf x) (#s(alt (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y)) (patch (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* -1 (/ y x)) 1))) (taylor -inf x) (#s(alt (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y)) (patch (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* -1 (/ y x)) 1))) (taylor -inf x) (#s(alt (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y)) (patch (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y)) #<representation binary64>) () ())) ())
#s(alt (* -1 (pow x 2)) (taylor -inf x) (#s(alt (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (patch (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- (/ (pow y 2) (pow x 2)) 1)) (taylor -inf x) (#s(alt (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (patch (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- (/ (pow y 2) (pow x 2)) 1)) (taylor -inf x) (#s(alt (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (patch (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- (/ (pow y 2) (pow x 2)) 1)) (taylor -inf x) (#s(alt (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (patch (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) #<representation binary64>) () ())) ())
#s(alt (* -1 x) (taylor -inf x) (#s(alt (fma.f64 #s(literal -1 binary64) x y) (patch (fma.f64 #s(literal -1 binary64) x y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ 1 (* -1 (/ y x))))) (taylor -inf x) (#s(alt (fma.f64 #s(literal -1 binary64) x y) (patch (fma.f64 #s(literal -1 binary64) x y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ 1 (* -1 (/ y x))))) (taylor -inf x) (#s(alt (fma.f64 #s(literal -1 binary64) x y) (patch (fma.f64 #s(literal -1 binary64) x y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ 1 (* -1 (/ y x))))) (taylor -inf x) (#s(alt (fma.f64 #s(literal -1 binary64) x y) (patch (fma.f64 #s(literal -1 binary64) x y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* (sqrt x) (pow (sqrt -1) 2))) (taylor -inf x) (#s(alt (sqrt.f64 (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y))) (patch (sqrt.f64 (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) y)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))) (taylor -inf x) (#s(alt (sqrt.f64 (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y))) (patch (sqrt.f64 (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y))) #<representation binary64>) () ())) ())
#s(alt (* -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)))))) (taylor -inf x) (#s(alt (sqrt.f64 (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y))) (patch (sqrt.f64 (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y))) #<representation binary64>) () ())) ())
#s(alt (* -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))))))) (taylor -inf x) (#s(alt (sqrt.f64 (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y))) (patch (sqrt.f64 (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y))) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
Calls

6 calls:

TimeVariablePointExpression
4.0ms
y
@-inf
((sqrt (+ x y)) (sqrt y) (/ (+ (* -1 (* x x)) (* y y)) (+ (* -1 x) y)) (+ (* -1 (* x x)) (* y y)) (+ (* -1 x) y) (sqrt (/ (+ (* -1 (* x x)) (* y y)) (+ (* -1 x) y))) (* x x))
2.0ms
x
@-inf
((sqrt (+ x y)) (sqrt y) (/ (+ (* -1 (* x x)) (* y y)) (+ (* -1 x) y)) (+ (* -1 (* x x)) (* y y)) (+ (* -1 x) y) (sqrt (/ (+ (* -1 (* x x)) (* y y)) (+ (* -1 x) y))) (* x x))
2.0ms
y
@0
((sqrt (+ x y)) (sqrt y) (/ (+ (* -1 (* x x)) (* y y)) (+ (* -1 x) y)) (+ (* -1 (* x x)) (* y y)) (+ (* -1 x) y) (sqrt (/ (+ (* -1 (* x x)) (* y y)) (+ (* -1 x) y))) (* x x))
1.0ms
y
@inf
((sqrt (+ x y)) (sqrt y) (/ (+ (* -1 (* x x)) (* y y)) (+ (* -1 x) y)) (+ (* -1 (* x x)) (* y y)) (+ (* -1 x) y) (sqrt (/ (+ (* -1 (* x x)) (* y y)) (+ (* -1 x) y))) (* x x))
1.0ms
x
@inf
((sqrt (+ x y)) (sqrt y) (/ (+ (* -1 (* x x)) (* y y)) (+ (* -1 x) y)) (+ (* -1 (* x x)) (* y y)) (+ (* -1 x) y) (sqrt (/ (+ (* -1 (* x x)) (* y y)) (+ (* -1 x) y))) (* x x))

simplify156.0ms (3.9%)

Memory
18.2MiB live, 250.2MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01771506
15151410
216261374
352701350
083991278
Stop Event
iter limit
node limit
Counts
144 → 135
Calls
Call 1
Inputs
(sqrt x)
(+ (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)))))))
(sqrt y)
(sqrt y)
(sqrt y)
(sqrt y)
x
(+ x y)
(+ x y)
(+ x y)
(* -1 (pow x 2))
(+ (* -1 (pow x 2)) (pow y 2))
(+ (* -1 (pow x 2)) (pow y 2))
(+ (* -1 (pow x 2)) (pow y 2))
(* -1 x)
(+ y (* -1 x))
(+ y (* -1 x))
(+ y (* -1 x))
(sqrt x)
(+ (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)))))))
(sqrt 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)))))))))
(sqrt y)
(sqrt y)
(sqrt y)
(sqrt y)
y
(* y (+ 1 (/ x y)))
(* y (+ 1 (/ x y)))
(* y (+ 1 (/ x y)))
(pow y 2)
(* (pow y 2) (+ 1 (* -1 (/ (pow x 2) (pow y 2)))))
(* (pow y 2) (+ 1 (* -1 (/ (pow x 2) (pow y 2)))))
(* (pow y 2) (+ 1 (* -1 (/ (pow x 2) (pow y 2)))))
y
(* y (+ 1 (* -1 (/ x y))))
(* y (+ 1 (* -1 (/ x y))))
(* y (+ 1 (* -1 (/ x y))))
(sqrt 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)))))))))
(* -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 (* (sqrt y) (pow (sqrt -1) 2)))
(* -1 (* (sqrt y) (pow (sqrt -1) 2)))
(* -1 (* (sqrt y) (pow (sqrt -1) 2)))
(* -1 (* (sqrt y) (pow (sqrt -1) 2)))
y
(* -1 (* y (- (* -1 (/ x y)) 1)))
(* -1 (* y (- (* -1 (/ x y)) 1)))
(* -1 (* y (- (* -1 (/ x y)) 1)))
(pow y 2)
(* (pow y 2) (+ 1 (* -1 (/ (pow x 2) (pow y 2)))))
(* (pow y 2) (+ 1 (* -1 (/ (pow x 2) (pow y 2)))))
(* (pow y 2) (+ 1 (* -1 (/ (pow x 2) (pow y 2)))))
y
(* -1 (* y (- (/ x y) 1)))
(* -1 (* y (- (/ x y) 1)))
(* -1 (* y (- (/ x y) 1)))
(* -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)))))))
(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)
(+ x y)
(+ x y)
(pow y 2)
(+ (* -1 (pow x 2)) (pow y 2))
(+ (* -1 (pow x 2)) (pow y 2))
(+ (* -1 (pow x 2)) (pow y 2))
y
(+ y (* -1 x))
(+ y (* -1 x))
(+ y (* -1 x))
(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))))))))))
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(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)))
(* x (+ 1 (/ y x)))
(* x (+ 1 (/ y x)))
(* -1 (pow x 2))
(* (pow x 2) (- (/ (pow y 2) (pow x 2)) 1))
(* (pow x 2) (- (/ (pow y 2) (pow x 2)) 1))
(* (pow x 2) (- (/ (pow y 2) (pow x 2)) 1))
(* -1 x)
(* x (- (/ y x) 1))
(* x (- (/ y x) 1))
(* x (- (/ y x) 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))))))
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(* -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)))))))
x
(* -1 (* x (- (* -1 (/ y x)) 1)))
(* -1 (* x (- (* -1 (/ y x)) 1)))
(* -1 (* x (- (* -1 (/ y x)) 1)))
(* -1 (pow x 2))
(* (pow x 2) (- (/ (pow y 2) (pow x 2)) 1))
(* (pow x 2) (- (/ (pow y 2) (pow x 2)) 1))
(* (pow x 2) (- (/ (pow y 2) (pow x 2)) 1))
(* -1 x)
(* -1 (* x (+ 1 (* -1 (/ y x)))))
(* -1 (* x (+ 1 (* -1 (/ y x)))))
(* -1 (* x (+ 1 (* -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)))))))
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
Outputs
(sqrt x)
(sqrt.f64 x)
(+ (sqrt x) (* 1/2 (* (sqrt (/ 1 x)) y)))
(fma.f64 (*.f64 y #s(literal 1/2 binary64)) (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))
(sqrt y)
(sqrt.f64 y)
(sqrt y)
(sqrt.f64 y)
(sqrt y)
(sqrt.f64 y)
(sqrt y)
(sqrt.f64 y)
x
(+ x y)
(+.f64 y x)
(+ x y)
(+.f64 y x)
(+ x y)
(+.f64 y x)
(* -1 (pow x 2))
(*.f64 (neg.f64 x) x)
(+ (* -1 (pow x 2)) (pow y 2))
(fma.f64 (neg.f64 x) x (*.f64 y y))
(+ (* -1 (pow x 2)) (pow y 2))
(fma.f64 (neg.f64 x) x (*.f64 y y))
(+ (* -1 (pow x 2)) (pow y 2))
(fma.f64 (neg.f64 x) x (*.f64 y y))
(* -1 x)
(neg.f64 x)
(+ y (* -1 x))
(-.f64 y x)
(+ y (* -1 x))
(-.f64 y x)
(+ y (* -1 x))
(-.f64 y x)
(sqrt x)
(sqrt.f64 x)
(+ (sqrt x) (* 1/2 (* (sqrt (/ 1 x)) y)))
(fma.f64 (*.f64 y #s(literal 1/2 binary64)) (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))
(sqrt y)
(sqrt.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 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 #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 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)
(sqrt y)
(sqrt.f64 y)
(sqrt y)
(sqrt.f64 y)
(sqrt y)
(sqrt.f64 y)
(sqrt y)
(sqrt.f64 y)
y
(* y (+ 1 (/ x y)))
(+.f64 y x)
(* y (+ 1 (/ x y)))
(+.f64 y x)
(* y (+ 1 (/ x y)))
(+.f64 y x)
(pow y 2)
(*.f64 y y)
(* (pow y 2) (+ 1 (* -1 (/ (pow x 2) (pow y 2)))))
(fma.f64 (neg.f64 x) x (*.f64 y y))
(* (pow y 2) (+ 1 (* -1 (/ (pow x 2) (pow y 2)))))
(fma.f64 (neg.f64 x) x (*.f64 y y))
(* (pow y 2) (+ 1 (* -1 (/ (pow x 2) (pow y 2)))))
(fma.f64 (neg.f64 x) x (*.f64 y y))
y
(* y (+ 1 (* -1 (/ x y))))
(-.f64 y x)
(* y (+ 1 (* -1 (/ x y))))
(-.f64 y x)
(* y (+ 1 (* -1 (/ x y))))
(-.f64 y x)
(sqrt y)
(sqrt.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 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 #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 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 (* (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 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 5 binary64)))) (*.f64 #s(literal -1/8 binary64) x)) x (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 #s(literal -1/16 binary64) (/.f64 (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 7 binary64)))) (pow.f64 x #s(literal 3 binary64))) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 4 binary64))) (fma.f64 (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 5 binary64)))) (*.f64 #s(literal -1/8 binary64) x)) x (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 (* (sqrt y) (pow (sqrt -1) 2)))
(sqrt.f64 y)
(* -1 (* (sqrt y) (pow (sqrt -1) 2)))
(sqrt.f64 y)
(* -1 (* (sqrt y) (pow (sqrt -1) 2)))
(sqrt.f64 y)
(* -1 (* (sqrt y) (pow (sqrt -1) 2)))
(sqrt.f64 y)
y
(* -1 (* y (- (* -1 (/ x y)) 1)))
(+.f64 y x)
(* -1 (* y (- (* -1 (/ x y)) 1)))
(+.f64 y x)
(* -1 (* y (- (* -1 (/ x y)) 1)))
(+.f64 y x)
(pow y 2)
(*.f64 y y)
(* (pow y 2) (+ 1 (* -1 (/ (pow x 2) (pow y 2)))))
(fma.f64 (neg.f64 x) x (*.f64 y y))
(* (pow y 2) (+ 1 (* -1 (/ (pow x 2) (pow y 2)))))
(fma.f64 (neg.f64 x) x (*.f64 y y))
(* (pow y 2) (+ 1 (* -1 (/ (pow x 2) (pow y 2)))))
(fma.f64 (neg.f64 x) x (*.f64 y y))
y
(* -1 (* y (- (/ x y) 1)))
(-.f64 y x)
(* -1 (* y (- (/ x y) 1)))
(-.f64 y x)
(* -1 (* y (- (/ x y) 1)))
(-.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 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 5 binary64)))) (*.f64 #s(literal -1/8 binary64) x)) x (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 #s(literal -1/16 binary64) (/.f64 (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 7 binary64)))) (pow.f64 x #s(literal 3 binary64))) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 4 binary64))) (fma.f64 (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 5 binary64)))) (*.f64 #s(literal -1/8 binary64) x)) x (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)
(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)
(+ x y)
(+.f64 y x)
(+ x y)
(+.f64 y x)
(pow y 2)
(*.f64 y y)
(+ (* -1 (pow x 2)) (pow y 2))
(fma.f64 (neg.f64 x) x (*.f64 y y))
(+ (* -1 (pow x 2)) (pow y 2))
(fma.f64 (neg.f64 x) x (*.f64 y y))
(+ (* -1 (pow x 2)) (pow y 2))
(fma.f64 (neg.f64 x) x (*.f64 y y))
y
(+ y (* -1 x))
(-.f64 y x)
(+ y (* -1 x))
(-.f64 y x)
(+ y (* -1 x))
(-.f64 y x)
(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))
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(sqrt x)
(sqrt.f64 x)
(* x (+ (sqrt (/ 1 x)) (* 1/2 (* (sqrt (/ 1 (pow x 3))) y))))
(*.f64 (fma.f64 (*.f64 y #s(literal 1/2 binary64)) (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 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) (*.f64 #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 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 7 binary64)))) #s(literal 1/16 binary64)) (pow.f64 y #s(literal 3 binary64)) (fma.f64 y (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) (*.f64 #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
(* x (+ 1 (/ y x)))
(+.f64 y x)
(* x (+ 1 (/ y x)))
(+.f64 y x)
(* x (+ 1 (/ y x)))
(+.f64 y x)
(* -1 (pow x 2))
(*.f64 (neg.f64 x) x)
(* (pow x 2) (- (/ (pow y 2) (pow x 2)) 1))
(fma.f64 (neg.f64 x) x (*.f64 y y))
(* (pow x 2) (- (/ (pow y 2) (pow x 2)) 1))
(fma.f64 (neg.f64 x) x (*.f64 y y))
(* (pow x 2) (- (/ (pow y 2) (pow x 2)) 1))
(fma.f64 (neg.f64 x) x (*.f64 y y))
(* -1 x)
(neg.f64 x)
(* x (- (/ y x) 1))
(-.f64 y x)
(* x (- (/ y x) 1))
(-.f64 y x)
(* x (- (/ y x) 1))
(-.f64 y x)
(sqrt x)
(sqrt.f64 x)
(* x (+ (sqrt (/ 1 x)) (* 1/2 (* (sqrt (/ 1 (pow x 3))) y))))
(*.f64 (fma.f64 (*.f64 y #s(literal 1/2 binary64)) (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 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) (*.f64 #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 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 7 binary64)))) #s(literal 1/16 binary64)) (pow.f64 y #s(literal 3 binary64)) (fma.f64 y (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) (*.f64 #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)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 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 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) (*.f64 #s(literal -1/8 binary64) y)) y (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 #s(literal -1/16 binary64) (/.f64 (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 7 binary64)))) (pow.f64 y #s(literal 3 binary64))) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 4 binary64))) (fma.f64 (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) (*.f64 #s(literal -1/8 binary64) y)) y (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
(* -1 (* x (- (* -1 (/ y x)) 1)))
(+.f64 y x)
(* -1 (* x (- (* -1 (/ y x)) 1)))
(+.f64 y x)
(* -1 (* x (- (* -1 (/ y x)) 1)))
(+.f64 y x)
(* -1 (pow x 2))
(*.f64 (neg.f64 x) x)
(* (pow x 2) (- (/ (pow y 2) (pow x 2)) 1))
(fma.f64 (neg.f64 x) x (*.f64 y y))
(* (pow x 2) (- (/ (pow y 2) (pow x 2)) 1))
(fma.f64 (neg.f64 x) x (*.f64 y y))
(* (pow x 2) (- (/ (pow y 2) (pow x 2)) 1))
(fma.f64 (neg.f64 x) x (*.f64 y y))
(* -1 x)
(neg.f64 x)
(* -1 (* x (+ 1 (* -1 (/ y x)))))
(-.f64 y x)
(* -1 (* x (+ 1 (* -1 (/ y x)))))
(-.f64 y x)
(* -1 (* x (+ 1 (* -1 (/ y x)))))
(-.f64 y 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 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) (*.f64 #s(literal -1/8 binary64) y)) y (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 #s(literal -1/16 binary64) (/.f64 (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 7 binary64)))) (pow.f64 y #s(literal 3 binary64))) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 4 binary64))) (fma.f64 (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) (*.f64 #s(literal -1/8 binary64) y)) y (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)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)

rewrite245.0ms (6.1%)

Memory
-15.9MiB live, 226.5MiB allocated
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01351
02251
18129
258229
3682629
0898029
Stop Event
iter limit
node limit
iter limit
Counts
7 → 509
Calls
Call 1
Inputs
#s(approx (sqrt (+ x y)) (sqrt.f64 y))
(sqrt.f64 y)
(/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y))
(fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y))
(fma.f64 #s(literal -1 binary64) x y)
(sqrt.f64 (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y)))
(*.f64 x x)
Outputs
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval277.0ms (6.9%)

Memory
-9.3MiB live, 152.5MiB allocated
Compiler

Compiled 13 528 to 1 827 computations (86.5% saved)

prune60.0ms (1.5%)

Memory
-5.1MiB live, 34.4MiB allocated
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New6431644
Fresh000
Picked112
Done011
Total6443647
Accuracy
100.0%
Counts
647 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(sqrt.f64 (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x))
100.0%
(sqrt.f64 (+.f64 x y))
97.7%
#s(approx (sqrt (+ x y)) (sqrt.f64 y))
Compiler

Compiled 14 to 13 computations (7.1% saved)

simplify3.0ms (0.1%)

Memory
2.9MiB live, 2.9MiB allocated
Algorithm
egg-herbie
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
cost-diff0
(sqrt.f64 y)
cost-diff0
(sqrt.f64 (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x))
cost-diff1472
(fma.f64 (sqrt.f64 y) (sqrt.f64 y) x)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0517
0911
11111
21211
01211
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
(sqrt.f64 (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x))
(fma.f64 (sqrt.f64 y) (sqrt.f64 y) x)
(sqrt.f64 y)
y
x
Outputs
(sqrt.f64 (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x))
(sqrt.f64 (+.f64 x y))
(fma.f64 (sqrt.f64 y) (sqrt.f64 y) x)
(+.f64 x y)
(sqrt.f64 y)
y
x

localize18.0ms (0.5%)

Memory
29.1MiB live, 29.1MiB allocated
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0
(sqrt.f64 y)
accuracy0.00390625
(sqrt.f64 (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x))
accuracy0.5078125
(fma.f64 (sqrt.f64 y) (sqrt.f64 y) x)
Samples
13.0ms255×0valid
0.0ms5exit
Compiler

Compiled 21 to 8 computations (61.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 7.0ms
ival-sqrt: 4.0ms (59.1% of total)
ival-mult: 2.0ms (29.6% of total)
ival-add: 1.0ms (14.8% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)

series34.0ms (0.8%)

Memory
-34.9MiB live, 2.9MiB allocated
Counts
3 → 60
Calls
Call 1
Inputs
#s(alt (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x) (patch (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x) #<representation binary64>) () ())
#s(alt (sqrt.f64 (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x)) (patch (sqrt.f64 (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x)) #<representation binary64>) () ())
#s(alt (sqrt.f64 y) (patch (sqrt.f64 y) #<representation binary64>) () ())
Outputs
#s(alt x (taylor 0 y) (#s(alt (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x) (patch (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x) #<representation binary64>) () ())) ())
#s(alt (+ x y) (taylor 0 y) (#s(alt (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x) (patch (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x) #<representation binary64>) () ())) ())
#s(alt (+ x y) (taylor 0 y) (#s(alt (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x) (patch (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x) #<representation binary64>) () ())) ())
#s(alt (+ x y) (taylor 0 y) (#s(alt (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x) (patch (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x) #<representation binary64>) () ())) ())
#s(alt (sqrt x) (taylor 0 y) (#s(alt (sqrt.f64 (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x)) (patch (sqrt.f64 (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x)) #<representation binary64>) () ())) ())
#s(alt (+ (sqrt x) (* 1/2 (* (sqrt (/ 1 x)) y))) (taylor 0 y) (#s(alt (sqrt.f64 (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x)) (patch (sqrt.f64 (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x)) #<representation binary64>) () ())) ())
#s(alt (+ (sqrt x) (* y (+ (* -1/8 (* (sqrt (/ 1 (pow x 3))) y)) (* 1/2 (sqrt (/ 1 x)))))) (taylor 0 y) (#s(alt (sqrt.f64 (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x)) (patch (sqrt.f64 (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x)) #<representation binary64>) () ())) ())
#s(alt (+ (sqrt x) (* y (+ (* 1/2 (sqrt (/ 1 x))) (* y (+ (* -1/8 (sqrt (/ 1 (pow x 3)))) (* 1/16 (* (sqrt (/ 1 (pow x 5))) y))))))) (taylor 0 y) (#s(alt (sqrt.f64 (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x)) (patch (sqrt.f64 (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x)) #<representation binary64>) () ())) ())
#s(alt (sqrt y) (taylor 0 y) (#s(alt (sqrt.f64 y) (patch (sqrt.f64 y) #<representation binary64>) () ())) ())
#s(alt (sqrt y) (taylor 0 y) (#s(alt (sqrt.f64 y) (patch (sqrt.f64 y) #<representation binary64>) () ())) ())
#s(alt (sqrt y) (taylor 0 y) (#s(alt (sqrt.f64 y) (patch (sqrt.f64 y) #<representation binary64>) () ())) ())
#s(alt (sqrt y) (taylor 0 y) (#s(alt (sqrt.f64 y) (patch (sqrt.f64 y) #<representation binary64>) () ())) ())
#s(alt y (taylor inf y) (#s(alt (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x) (patch (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (/ x y))) (taylor inf y) (#s(alt (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x) (patch (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (/ x y))) (taylor inf y) (#s(alt (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x) (patch (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (/ x y))) (taylor inf y) (#s(alt (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x) (patch (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x) #<representation binary64>) () ())) ())
#s(alt (sqrt y) (taylor inf y) (#s(alt (sqrt.f64 (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x)) (patch (sqrt.f64 (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x)) #<representation binary64>) () ())) ())
#s(alt (* y (+ (sqrt (/ 1 y)) (* 1/2 (* x (sqrt (/ 1 (pow y 3))))))) (taylor inf y) (#s(alt (sqrt.f64 (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x)) (patch (sqrt.f64 (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x)) #<representation binary64>) () ())) ())
#s(alt (* y (+ (sqrt (/ 1 y)) (+ (* -1/8 (* (pow x 2) (sqrt (/ 1 (pow y 5))))) (* 1/2 (* x (sqrt (/ 1 (pow y 3)))))))) (taylor inf y) (#s(alt (sqrt.f64 (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x)) (patch (sqrt.f64 (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x)) #<representation binary64>) () ())) ())
#s(alt (* 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))))))))) (taylor inf y) (#s(alt (sqrt.f64 (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x)) (patch (sqrt.f64 (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x)) #<representation binary64>) () ())) ())
#s(alt (sqrt y) (taylor inf y) (#s(alt (sqrt.f64 y) (patch (sqrt.f64 y) #<representation binary64>) () ())) ())
#s(alt (sqrt y) (taylor inf y) (#s(alt (sqrt.f64 y) (patch (sqrt.f64 y) #<representation binary64>) () ())) ())
#s(alt (sqrt y) (taylor inf y) (#s(alt (sqrt.f64 y) (patch (sqrt.f64 y) #<representation binary64>) () ())) ())
#s(alt (sqrt y) (taylor inf y) (#s(alt (sqrt.f64 y) (patch (sqrt.f64 y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (pow (sqrt -1) 2))) (taylor -inf y) (#s(alt (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x) (patch (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 (/ x y)) (pow (sqrt -1) 2)))) (taylor -inf y) (#s(alt (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x) (patch (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 (/ x y)) (pow (sqrt -1) 2)))) (taylor -inf y) (#s(alt (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x) (patch (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 (/ x y)) (pow (sqrt -1) 2)))) (taylor -inf y) (#s(alt (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x) (patch (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* (sqrt y) (pow (sqrt -1) 2))) (taylor -inf y) (#s(alt (sqrt.f64 (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x)) (patch (sqrt.f64 (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* 1/2 (* x (sqrt (/ 1 (pow y 3))))) (* (sqrt (/ 1 y)) (pow (sqrt -1) 2))))) (taylor -inf y) (#s(alt (sqrt.f64 (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x)) (patch (sqrt.f64 (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x)) #<representation binary64>) () ())) ())
#s(alt (* -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)))))) (taylor -inf y) (#s(alt (sqrt.f64 (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x)) (patch (sqrt.f64 (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x)) #<representation binary64>) () ())) ())
#s(alt (* -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))))))) (taylor -inf y) (#s(alt (sqrt.f64 (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x)) (patch (sqrt.f64 (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* (sqrt y) (pow (sqrt -1) 2))) (taylor -inf y) (#s(alt (sqrt.f64 y) (patch (sqrt.f64 y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* (sqrt y) (pow (sqrt -1) 2))) (taylor -inf y) (#s(alt (sqrt.f64 y) (patch (sqrt.f64 y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* (sqrt y) (pow (sqrt -1) 2))) (taylor -inf y) (#s(alt (sqrt.f64 y) (patch (sqrt.f64 y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* (sqrt y) (pow (sqrt -1) 2))) (taylor -inf y) (#s(alt (sqrt.f64 y) (patch (sqrt.f64 y) #<representation binary64>) () ())) ())
#s(alt y (taylor 0 x) (#s(alt (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x) (patch (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x) #<representation binary64>) () ())) ())
#s(alt (+ x y) (taylor 0 x) (#s(alt (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x) (patch (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x) #<representation binary64>) () ())) ())
#s(alt (+ x y) (taylor 0 x) (#s(alt (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x) (patch (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x) #<representation binary64>) () ())) ())
#s(alt (+ x y) (taylor 0 x) (#s(alt (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x) (patch (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x) #<representation binary64>) () ())) ())
#s(alt (sqrt y) (taylor 0 x) (#s(alt (sqrt.f64 (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x)) (patch (sqrt.f64 (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x)) #<representation binary64>) () ())) ())
#s(alt (+ (sqrt y) (* 1/2 (* x (sqrt (/ 1 y))))) (taylor 0 x) (#s(alt (sqrt.f64 (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x)) (patch (sqrt.f64 (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x)) #<representation binary64>) () ())) ())
#s(alt (+ (sqrt y) (* x (+ (* -1/8 (* x (sqrt (/ 1 (pow y 3))))) (* 1/2 (sqrt (/ 1 y)))))) (taylor 0 x) (#s(alt (sqrt.f64 (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x)) (patch (sqrt.f64 (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x)) #<representation binary64>) () ())) ())
#s(alt (+ (sqrt y) (* x (+ (* 1/2 (sqrt (/ 1 y))) (* x (+ (* -1/8 (sqrt (/ 1 (pow y 3)))) (* 1/16 (* x (sqrt (/ 1 (pow y 5)))))))))) (taylor 0 x) (#s(alt (sqrt.f64 (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x)) (patch (sqrt.f64 (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x)) #<representation binary64>) () ())) ())
#s(alt x (taylor inf x) (#s(alt (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x) (patch (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ y x))) (taylor inf x) (#s(alt (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x) (patch (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ y x))) (taylor inf x) (#s(alt (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x) (patch (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ y x))) (taylor inf x) (#s(alt (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x) (patch (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x) #<representation binary64>) () ())) ())
#s(alt (sqrt x) (taylor inf x) (#s(alt (sqrt.f64 (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x)) (patch (sqrt.f64 (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x)) #<representation binary64>) () ())) ())
#s(alt (* x (+ (sqrt (/ 1 x)) (* 1/2 (* (sqrt (/ 1 (pow x 3))) y)))) (taylor inf x) (#s(alt (sqrt.f64 (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x)) (patch (sqrt.f64 (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x)) #<representation binary64>) () ())) ())
#s(alt (* x (+ (sqrt (/ 1 x)) (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (pow y 2))) (* 1/2 (* (sqrt (/ 1 (pow x 3))) y))))) (taylor inf x) (#s(alt (sqrt.f64 (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x)) (patch (sqrt.f64 (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x)) #<representation binary64>) () ())) ())
#s(alt (* 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)))))) (taylor inf x) (#s(alt (sqrt.f64 (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x)) (patch (sqrt.f64 (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x)) #<representation binary64>) () ())) ())
#s(alt x (taylor -inf x) (#s(alt (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x) (patch (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* -1 (/ y x)) 1))) (taylor -inf x) (#s(alt (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x) (patch (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* -1 (/ y x)) 1))) (taylor -inf x) (#s(alt (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x) (patch (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* -1 (/ y x)) 1))) (taylor -inf x) (#s(alt (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x) (patch (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* (sqrt x) (pow (sqrt -1) 2))) (taylor -inf x) (#s(alt (sqrt.f64 (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x)) (patch (sqrt.f64 (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) y)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))) (taylor -inf x) (#s(alt (sqrt.f64 (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x)) (patch (sqrt.f64 (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x)) #<representation binary64>) () ())) ())
#s(alt (* -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)))))) (taylor -inf x) (#s(alt (sqrt.f64 (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x)) (patch (sqrt.f64 (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x)) #<representation binary64>) () ())) ())
#s(alt (* -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))))))) (taylor -inf x) (#s(alt (sqrt.f64 (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x)) (patch (sqrt.f64 (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x)) #<representation binary64>) () ())) ())
Calls

6 calls:

TimeVariablePointExpression
1.0ms
y
@-inf
((+ (* (sqrt y) (sqrt y)) x) (sqrt (+ (* (sqrt y) (sqrt y)) x)) (sqrt y))
0.0ms
y
@inf
((+ (* (sqrt y) (sqrt y)) x) (sqrt (+ (* (sqrt y) (sqrt y)) x)) (sqrt y))
0.0ms
x
@-inf
((+ (* (sqrt y) (sqrt y)) x) (sqrt (+ (* (sqrt y) (sqrt y)) x)) (sqrt y))
0.0ms
y
@0
((+ (* (sqrt y) (sqrt y)) x) (sqrt (+ (* (sqrt y) (sqrt y)) x)) (sqrt y))
0.0ms
x
@inf
((+ (* (sqrt y) (sqrt y)) x) (sqrt (+ (* (sqrt y) (sqrt y)) x)) (sqrt y))

simplify216.0ms (5.4%)

Memory
15.5MiB live, 131.6MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0158654
1465624
21483606
33613594
08286558
Stop Event
iter limit
node limit
Counts
60 → 55
Calls
Call 1
Inputs
x
(+ x y)
(+ x y)
(+ x y)
(sqrt x)
(+ (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)))))))
(sqrt y)
(sqrt y)
(sqrt y)
(sqrt y)
y
(* y (+ 1 (/ x y)))
(* y (+ 1 (/ x y)))
(* y (+ 1 (/ x y)))
(sqrt 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)))))))))
(sqrt y)
(sqrt y)
(sqrt y)
(sqrt y)
(* -1 (* y (pow (sqrt -1) 2)))
(* -1 (* y (+ (* -1 (/ x y)) (pow (sqrt -1) 2))))
(* -1 (* y (+ (* -1 (/ x y)) (pow (sqrt -1) 2))))
(* -1 (* y (+ (* -1 (/ x y)) (pow (sqrt -1) 2))))
(* -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 (* (sqrt y) (pow (sqrt -1) 2)))
(* -1 (* (sqrt y) (pow (sqrt -1) 2)))
(* -1 (* (sqrt y) (pow (sqrt -1) 2)))
(* -1 (* (sqrt y) (pow (sqrt -1) 2)))
y
(+ x y)
(+ x y)
(+ x y)
(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))))))))))
x
(* x (+ 1 (/ y x)))
(* x (+ 1 (/ y x)))
(* x (+ 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
(* -1 (* x (- (* -1 (/ y x)) 1)))
(* -1 (* x (- (* -1 (/ y x)) 1)))
(* -1 (* x (- (* -1 (/ y x)) 1)))
(* -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)))))))
Outputs
x
(+ x y)
(+.f64 y x)
(+ x y)
(+.f64 y x)
(+ x y)
(+.f64 y x)
(sqrt x)
(sqrt.f64 x)
(+ (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))
(sqrt y)
(sqrt.f64 y)
(sqrt y)
(sqrt.f64 y)
(sqrt y)
(sqrt.f64 y)
(sqrt y)
(sqrt.f64 y)
y
(* y (+ 1 (/ x y)))
(+.f64 y x)
(* y (+ 1 (/ x y)))
(+.f64 y x)
(* y (+ 1 (/ x y)))
(+.f64 y x)
(sqrt y)
(sqrt.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 #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)
(sqrt y)
(sqrt.f64 y)
(sqrt y)
(sqrt.f64 y)
(sqrt y)
(sqrt.f64 y)
(sqrt y)
(sqrt.f64 y)
(* -1 (* y (pow (sqrt -1) 2)))
y
(* -1 (* y (+ (* -1 (/ x y)) (pow (sqrt -1) 2))))
(+.f64 y x)
(* -1 (* y (+ (* -1 (/ x y)) (pow (sqrt -1) 2))))
(+.f64 y x)
(* -1 (* y (+ (* -1 (/ x y)) (pow (sqrt -1) 2))))
(+.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 #s(literal -1/2 binary64) x) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 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)))) (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 #s(literal -1/16 binary64) (/.f64 (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 7 binary64)))) (pow.f64 x #s(literal 3 binary64))) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 4 binary64))) (fma.f64 (*.f64 #s(literal -1/2 binary64) x) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 3 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)))) (sqrt.f64 (/.f64 #s(literal 1 binary64) y))))) y)
(* -1 (* (sqrt y) (pow (sqrt -1) 2)))
(sqrt.f64 y)
(* -1 (* (sqrt y) (pow (sqrt -1) 2)))
(sqrt.f64 y)
(* -1 (* (sqrt y) (pow (sqrt -1) 2)))
(sqrt.f64 y)
(* -1 (* (sqrt y) (pow (sqrt -1) 2)))
(sqrt.f64 y)
y
(+ x y)
(+.f64 y x)
(+ x y)
(+.f64 y x)
(+ x y)
(+.f64 y x)
(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))
x
(* x (+ 1 (/ y x)))
(+.f64 y x)
(* x (+ 1 (/ y x)))
(+.f64 y x)
(* x (+ 1 (/ 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
(* -1 (* x (- (* -1 (/ y x)) 1)))
(+.f64 y x)
(* -1 (* x (- (* -1 (/ y x)) 1)))
(+.f64 y x)
(* -1 (* x (- (* -1 (/ y x)) 1)))
(+.f64 y 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 #s(literal -1/2 binary64) y) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) (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)))) (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 #s(literal -1/16 binary64) (/.f64 (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 7 binary64)))) (pow.f64 y #s(literal 3 binary64))) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 4 binary64))) (fma.f64 (*.f64 #s(literal -1/2 binary64) y) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) (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)))) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))))) x)

rewrite235.0ms (5.9%)

Memory
7.5MiB live, 122.3MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0515
099
1309
21909
317039
081959
Stop Event
iter limit
node limit
iter limit
Counts
3 → 253
Calls
Call 1
Inputs
(fma.f64 (sqrt.f64 y) (sqrt.f64 y) x)
(sqrt.f64 (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x))
(sqrt.f64 y)
Outputs
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval46.0ms (1.1%)

Memory
-0.1MiB live, 74.0MiB allocated
Compiler

Compiled 6 223 to 1 087 computations (82.5% saved)

prune6.0ms (0.2%)

Memory
21.7MiB live, 21.7MiB allocated
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New3530353
Fresh000
Picked011
Done022
Total3533356
Accuracy
100.0%
Counts
356 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(sqrt.f64 (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x))
100.0%
(sqrt.f64 (+.f64 x y))
97.7%
#s(approx (sqrt (+ x y)) (sqrt.f64 y))
Compiler

Compiled 42 to 28 computations (33.3% saved)

regimes12.0ms (0.3%)

Memory
-33.7MiB live, 17.7MiB allocated
Counts
4 → 1
Calls
Call 1
Inputs
#s(approx (sqrt (+ x y)) (sqrt.f64 y))
(sqrt.f64 (+.f64 x y))
(sqrt.f64 (fma.f64 (sqrt.f64 y) (sqrt.f64 y) x))
(sqrt.f64 (/.f64 (fma.f64 #s(literal -1 binary64) (*.f64 x x) (*.f64 y y)) (fma.f64 #s(literal -1 binary64) x y)))
Outputs
(sqrt.f64 (+.f64 x y))
Calls

4 calls:

5.0ms
(sqrt.f64 (+.f64 x y))
2.0ms
(+.f64 x y)
2.0ms
y
2.0ms
x
Results
AccuracySegmentsBranch
100.0%1x
100.0%1y
100.0%1(sqrt.f64 (+.f64 x y))
100.0%1(+.f64 x y)
Compiler

Compiled 9 to 11 computations (-22.2% saved)

regimes5.0ms (0.1%)

Memory
9.0MiB live, 9.0MiB allocated
Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

Counts
1 → 1
Calls
Call 1
Inputs
#s(approx (sqrt (+ x y)) (sqrt.f64 y))
Outputs
#s(approx (sqrt (+ x y)) (sqrt.f64 y))
Calls

4 calls:

1.0ms
(sqrt.f64 (+.f64 x y))
1.0ms
y
1.0ms
(+.f64 x y)
1.0ms
x
Results
AccuracySegmentsBranch
97.7%1x
97.7%1y
97.7%1(sqrt.f64 (+.f64 x y))
97.7%1(+.f64 x y)
Compiler

Compiled 9 to 11 computations (-22.2% saved)

simplify25.0ms (0.6%)

Memory
13.9MiB live, 52.3MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0811
1911
Stop Event
saturated
Calls
Call 1
Inputs
(sqrt.f64 (+.f64 x y))
#s(approx (sqrt (+ x y)) (sqrt.f64 y))
Outputs
(sqrt.f64 (+.f64 x y))
(sqrt.f64 (+.f64 y x))
#s(approx (sqrt (+ x y)) (sqrt.f64 y))

soundness205.0ms (5.1%)

Memory
-7.8MiB live, 110.4MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0156630
1454600
21426582
34628570
08167534
Stop Event
done
iter limit
node limit
Compiler

Compiled 9 to 9 computations (0% saved)

preprocess29.0ms (0.7%)

Memory
-12.3MiB live, 64.5MiB allocated
Remove

(sort x y)

Compiler

Compiled 38 to 36 computations (5.3% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...