Data.Octree.Internal:octantDistance from Octree-0.5.4.2

Time bar (total: 27.3s)

start0.0ms (0%)

Memory
0.1MiB live, 0.0MiB allocated

analyze0.0ms (0%)

Memory
0.4MiB live, 0.4MiB allocated
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
100%99.9%0%0.1%0%0%0%1
Compiler

Compiled 10 to 5 computations (50% saved)

sample739.0ms (2.7%)

Memory
43.9MiB live, 794.3MiB allocated
Samples
419.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 187.0ms
ival-hypot: 176.0ms (94.3% of total)
ival-true: 7.0ms (3.8% of total)
ival-assert: 4.0ms (2.1% of total)
Bogosity

explain129.0ms (0.5%)

Memory
-11.5MiB live, 140.7MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
1210-1(-7.644517428224627e-162 -9.050085761351939e-169)(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
00-0-(+.f64 (*.f64 x x) (*.f64 y y))
00-0-y
00-0-(*.f64 y y)
00-0-(*.f64 x x)
00-0-x
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
sqrt.f64(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))oflow-rescue1100
(*.f64 y y)overflow56
(*.f64 x x)overflow66
(+.f64 (*.f64 x x) (*.f64 y y))overflow110
sqrt.f64(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))uflow-rescue100
(*.f64 y y)underflow58
(*.f64 x x)underflow49
(+.f64 (*.f64 x x) (*.f64 y y))underflow10
Confusion
Predicted +Predicted -
+1201
-0135
Precision
1.0
Recall
0.9917355371900827
Confusion?
Predicted +Predicted MaybePredicted -
+12001
-00135
Precision?
1.0
Recall?
0.9917355371900827
Freqs
test
numberfreq
0136
1120
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
84.0ms512×0valid
Compiler

Compiled 58 to 22 computations (62.1% saved)

Precisions
Click to see histograms. Total time spent on operations: 25.0ms
ival-hypot: 16.0ms (63.3% of total)
ival-mult: 7.0ms (27.7% of total)
ival-add: 2.0ms (7.9% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess19.0ms (0.1%)

Memory
4.0MiB live, 39.4MiB allocated
Algorithm
egg-herbie
Rules
32×sub-neg
30×distribute-lft-neg-in
30×neg-sub0
28×unsub-neg
24×neg-mul-1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01642
13542
27742
314542
420442
521742
621942
068
0108
1118
0113
Stop Event
iter limit
saturated
iter limit
saturated
Calls
Call 1
Inputs
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
Outputs
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
(hypot.f64 y x)
Symmetry

(abs y)

(abs x)

(sort x y)

Compiler

Compiled 8 to 6 computations (25% saved)

eval0.0ms (0%)

Memory
0.5MiB live, 0.5MiB allocated
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

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

Compiled 8 to 6 computations (25% saved)

simplify3.0ms (0%)

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

Found 4 expressions of interest:

NewMetricScoreProgram
cost-diff-5120
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
cost-diff0
(*.f64 y y)
cost-diff0
(*.f64 x x)
cost-diff128
(+.f64 (*.f64 x x) (*.f64 y y))
Rules
lower-hypot.f32
lower-hypot.f64
lower-fma.f64
lift-*.f64
lower-fma.f32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0623
01023
11123
01117
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
(+.f64 (*.f64 x x) (*.f64 y y))
(*.f64 x x)
x
(*.f64 y y)
y
Outputs
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
(hypot.f64 y x)
(+.f64 (*.f64 x x) (*.f64 y y))
(fma.f64 y y (*.f64 x x))
(*.f64 x x)
x
(*.f64 y y)
y

localize22.0ms (0.1%)

Memory
0.4MiB live, 38.3MiB allocated
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0
(+.f64 (*.f64 x x) (*.f64 y y))
accuracy0
(*.f64 y y)
accuracy0
(*.f64 x x)
accuracy28.191507677389602
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
Samples
17.0ms256×0valid
Compiler

Compiled 25 to 8 computations (68% saved)

Precisions
Click to see histograms. Total time spent on operations: 9.0ms
ival-hypot: 4.0ms (44.3% of total)
ival-mult: 3.0ms (33.2% of total)
ival-add: 2.0ms (22.2% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series6.0ms (0%)

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

6 calls:

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

simplify250.0ms (0.9%)

Memory
-27.1MiB live, 201.8MiB allocated
Algorithm
egg-herbie
Rules
18 004×lower-fma.f64
18 004×lower-fma.f32
5 072×lower-*.f64
5 072×lower-*.f32
2 260×lower-+.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0104620
1296620
2953618
33667584
46426582
08051530
Stop Event
iter limit
node limit
Counts
72 → 68
Calls
Call 1
Inputs
(pow x 2)
(+ (pow x 2) (pow y 2))
(+ (pow x 2) (pow y 2))
(+ (pow x 2) (pow y 2))
(pow y 2)
(pow y 2)
(pow y 2)
(pow y 2)
x
(+ x (* 1/2 (/ (pow y 2) x)))
(+ x (* (pow y 2) (+ (* -1/8 (/ (pow y 2) (pow x 3))) (* 1/2 (/ 1 x)))))
(+ x (* (pow y 2) (+ (* (pow y 2) (- (* 1/16 (/ (pow y 2) (pow x 5))) (* 1/8 (/ 1 (pow x 3))))) (* 1/2 (/ 1 x)))))
(pow y 2)
(* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2))))
(* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2))))
(* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2))))
(pow y 2)
(pow y 2)
(pow y 2)
(pow y 2)
y
(* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2)))))
(* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2))))))
(* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (+ (* 1/16 (/ (pow x 6) (pow y 6))) (* 1/2 (/ (pow x 2) (pow y 2)))))))
(pow y 2)
(* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2))))
(* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2))))
(* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2))))
(pow y 2)
(pow y 2)
(pow y 2)
(pow y 2)
(* -1 y)
(* -1 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2))))))
(* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2)))))))
(* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (+ (* 1/16 (/ (pow x 6) (pow y 6))) (* 1/2 (/ (pow x 2) (pow y 2))))))))
(pow y 2)
(+ (pow x 2) (pow y 2))
(+ (pow x 2) (pow y 2))
(+ (pow x 2) (pow y 2))
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
y
(+ y (* 1/2 (/ (pow x 2) y)))
(+ y (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow y 3))) (* 1/2 (/ 1 y)))))
(+ y (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow y 5))) (* 1/8 (/ 1 (pow y 3))))) (* 1/2 (/ 1 y)))))
(pow x 2)
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2))))
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2))))
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2))))
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
x
(* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2)))))
(* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2))))))
(* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (+ (* 1/16 (/ (pow y 6) (pow x 6))) (* 1/2 (/ (pow y 2) (pow x 2)))))))
(pow x 2)
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2))))
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2))))
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2))))
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(* -1 x)
(* -1 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2))))))
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2)))))))
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (+ (* 1/16 (/ (pow y 6) (pow x 6))) (* 1/2 (/ (pow y 2) (pow x 2))))))))
Outputs
(pow x 2)
(*.f64 x x)
(+ (pow x 2) (pow y 2))
(fma.f64 y y (*.f64 x x))
(+ (pow x 2) (pow y 2))
(fma.f64 y y (*.f64 x x))
(+ (pow x 2) (pow y 2))
(fma.f64 y y (*.f64 x x))
(pow y 2)
(*.f64 y y)
(pow y 2)
(*.f64 y y)
(pow y 2)
(*.f64 y y)
(pow y 2)
(*.f64 y y)
x
(+ x (* 1/2 (/ (pow y 2) x)))
(fma.f64 (/.f64 #s(literal 1/2 binary64) x) (*.f64 y y) x)
(+ x (* (pow y 2) (+ (* -1/8 (/ (pow y 2) (pow x 3))) (* 1/2 (/ 1 x)))))
(fma.f64 (fma.f64 (*.f64 (/.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 3 binary64))) y) y (/.f64 #s(literal 1/2 binary64) x)) (*.f64 y y) x)
(+ x (* (pow y 2) (+ (* (pow y 2) (- (* 1/16 (/ (pow y 2) (pow x 5))) (* 1/8 (/ 1 (pow x 3))))) (* 1/2 (/ 1 x)))))
(fma.f64 (pow.f64 y #s(literal 4 binary64)) (fma.f64 (*.f64 #s(literal 1/16 binary64) y) (/.f64 y (pow.f64 x #s(literal 5 binary64))) (/.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 3 binary64)))) (fma.f64 (/.f64 #s(literal 1/2 binary64) x) (*.f64 y y) x))
(pow y 2)
(*.f64 y y)
(* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2))))
(fma.f64 y y (*.f64 x x))
(* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2))))
(fma.f64 y y (*.f64 x x))
(* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2))))
(fma.f64 y y (*.f64 x x))
(pow y 2)
(*.f64 y y)
(pow y 2)
(*.f64 y y)
(pow y 2)
(*.f64 y y)
(pow y 2)
(*.f64 y y)
y
(* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2)))))
(fma.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y) y)
(* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2))))))
(fma.f64 (*.f64 #s(literal -1/8 binary64) y) (/.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y) y))
(* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (+ (* 1/16 (/ (pow x 6) (pow y 6))) (* 1/2 (/ (pow x 2) (pow y 2)))))))
(fma.f64 (fma.f64 (pow.f64 x #s(literal 6 binary64)) (/.f64 #s(literal 1/16 binary64) (pow.f64 y #s(literal 6 binary64))) (fma.f64 (pow.f64 x #s(literal 4 binary64)) (/.f64 #s(literal -1/8 binary64) (pow.f64 y #s(literal 4 binary64))) #s(literal 1 binary64))) y (*.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64)))
(pow y 2)
(*.f64 y y)
(* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2))))
(fma.f64 y y (*.f64 x x))
(* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2))))
(fma.f64 y y (*.f64 x x))
(* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2))))
(fma.f64 y y (*.f64 x x))
(pow y 2)
(*.f64 y y)
(pow y 2)
(*.f64 y y)
(pow y 2)
(*.f64 y y)
(pow y 2)
(*.f64 y y)
(* -1 y)
(neg.f64 y)
(* -1 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2))))))
(fma.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 x y)) x (neg.f64 y))
(* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2)))))))
(fma.f64 (fma.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) #s(literal 1/8 binary64) #s(literal -1 binary64)) y (*.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 x x) y)))
(* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (+ (* 1/16 (/ (pow x 6) (pow y 6))) (* 1/2 (/ (pow x 2) (pow y 2))))))))
(fma.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 x y)) x (*.f64 (fma.f64 #s(literal -1/16 binary64) (/.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 y #s(literal 6 binary64))) (fma.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) #s(literal 1/8 binary64) #s(literal -1 binary64))) y))
(pow y 2)
(*.f64 y y)
(+ (pow x 2) (pow y 2))
(fma.f64 y y (*.f64 x x))
(+ (pow x 2) (pow y 2))
(fma.f64 y y (*.f64 x x))
(+ (pow x 2) (pow y 2))
(fma.f64 y y (*.f64 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)
y
(+ y (* 1/2 (/ (pow x 2) y)))
(fma.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y) y)
(+ y (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow y 3))) (* 1/2 (/ 1 y)))))
(fma.f64 (fma.f64 (*.f64 (/.f64 #s(literal -1/8 binary64) (pow.f64 y #s(literal 3 binary64))) x) x (/.f64 #s(literal 1/2 binary64) y)) (*.f64 x x) y)
(+ y (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow y 5))) (* 1/8 (/ 1 (pow y 3))))) (* 1/2 (/ 1 y)))))
(fma.f64 (fma.f64 (fma.f64 (*.f64 #s(literal 1/16 binary64) x) (/.f64 x (pow.f64 y #s(literal 5 binary64))) (/.f64 #s(literal -1/8 binary64) (pow.f64 y #s(literal 3 binary64)))) (*.f64 x x) (/.f64 #s(literal 1/2 binary64) y)) (*.f64 x x) y)
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2))))
(fma.f64 y y (*.f64 x x))
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2))))
(fma.f64 y y (*.f64 x x))
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2))))
(fma.f64 y y (*.f64 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)
x
(* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2)))))
(fma.f64 (/.f64 #s(literal 1/2 binary64) x) (*.f64 y y) x)
(* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2))))))
(fma.f64 (*.f64 #s(literal -1/8 binary64) x) (/.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 x #s(literal 4 binary64))) (fma.f64 (/.f64 #s(literal 1/2 binary64) x) (*.f64 y y) x))
(* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (+ (* 1/16 (/ (pow y 6) (pow x 6))) (* 1/2 (/ (pow y 2) (pow x 2)))))))
(fma.f64 (fma.f64 (pow.f64 y #s(literal 6 binary64)) (/.f64 #s(literal 1/16 binary64) (pow.f64 x #s(literal 6 binary64))) (fma.f64 (pow.f64 y #s(literal 4 binary64)) (/.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 4 binary64))) #s(literal 1 binary64))) x (*.f64 (/.f64 (*.f64 y y) x) #s(literal 1/2 binary64)))
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2))))
(fma.f64 y y (*.f64 x x))
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2))))
(fma.f64 y y (*.f64 x x))
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2))))
(fma.f64 y y (*.f64 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 x)
(neg.f64 x)
(* -1 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2))))))
(fma.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 y y) x) (neg.f64 x))
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2)))))))
(fma.f64 (fma.f64 (/.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 x #s(literal 4 binary64))) #s(literal 1/8 binary64) #s(literal -1 binary64)) x (*.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 y y) x)))
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (+ (* 1/16 (/ (pow y 6) (pow x 6))) (* 1/2 (/ (pow y 2) (pow x 2))))))))
(fma.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 y x)) y (*.f64 (fma.f64 #s(literal -1/16 binary64) (/.f64 (pow.f64 y #s(literal 6 binary64)) (pow.f64 x #s(literal 6 binary64))) (fma.f64 (/.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 x #s(literal 4 binary64))) #s(literal 1/8 binary64) #s(literal -1 binary64))) x))

rewrite202.0ms (0.7%)

Memory
-16.3MiB live, 179.1MiB allocated
Rules
5 720×lower-fma.f64
5 720×lower-fma.f32
4 038×lower-/.f64
4 038×lower-/.f32
3 184×lower-*.f32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0621
01021
12921
219621
3178821
0862415
Stop Event
iter limit
node limit
iter limit
Counts
4 → 245
Calls
Call 1
Inputs
(+.f64 (*.f64 x x) (*.f64 y y))
(*.f64 x x)
(*.f64 y y)
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y 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>

eval75.0ms (0.3%)

Memory
11.9MiB live, 83.6MiB allocated
Compiler

Compiled 7 655 to 987 computations (87.1% saved)

prune14.0ms (0.1%)

Memory
-21.3MiB live, 28.4MiB allocated
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New3076313
Fresh000
Picked101
Done000
Total3086314
Accuracy
100.0%
Counts
314 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(hypot.f64 y x)
56.0%
(sqrt.f64 (fma.f64 y y (*.f64 x x)))
55.4%
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 y y)))
4.5%
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 x x)))
99.5%
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y) y))
1.8%
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x))
Compiler

Compiled 64 to 58 computations (9.4% saved)

simplify6.0ms (0%)

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

Found 12 expressions of interest:

NewMetricScoreProgram
cost-diff-5120
(sqrt.f64 (fma.f64 y y (*.f64 x x)))
cost-diff0
(*.f64 x x)
cost-diff0
(fma.f64 y y (*.f64 x x))
cost-diff0
(*.f64 y y)
cost-diff0
#s(approx (+ (* x x) (* y y)) (*.f64 y y))
cost-diff0
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 y y)))
cost-diff0
(*.f64 x x)
cost-diff0
#s(approx (+ (* x x) (* y y)) (*.f64 x x))
cost-diff0
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 x x)))
cost-diff0
(neg.f64 x)
cost-diff0
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x))
cost-diff0
(hypot.f64 y x)
Rules
24×lower-+.f64
24×lower-+.f32
12×lower-fma.f32
10×lower-fma.f64
lower-*.f32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01787
02478
12978
23178
33378
43578
53978
64878
75478
85878
05878
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
(hypot.f64 y x)
y
x
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x))
(neg.f64 x)
x
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 x x)))
#s(approx (+ (* x x) (* y y)) (*.f64 x x))
(*.f64 x x)
x
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 y y)))
#s(approx (+ (* x x) (* y y)) (*.f64 y y))
(*.f64 y y)
y
(sqrt.f64 (fma.f64 y y (*.f64 x x)))
(fma.f64 y y (*.f64 x x))
y
(*.f64 x x)
x
Outputs
(hypot.f64 y x)
(hypot.f64 x y)
y
x
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x))
(neg.f64 x)
x
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 x x)))
#s(approx (+ (* x x) (* y y)) (*.f64 x x))
(*.f64 x x)
x
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 y y)))
#s(approx (+ (* x x) (* y y)) (*.f64 y y))
(*.f64 y y)
y
(sqrt.f64 (fma.f64 y y (*.f64 x x)))
(hypot.f64 x y)
(fma.f64 y y (*.f64 x x))
(fma.f64 x x (*.f64 y y))
y
(*.f64 x x)
x

localize37.0ms (0.1%)

Memory
-3.2MiB live, 71.6MiB allocated
Localize:

Found 12 expressions of interest:

NewMetricScoreProgram
accuracy0
(fma.f64 y y (*.f64 x x))
accuracy0
(*.f64 x x)
accuracy28.191507677389602
(sqrt.f64 (fma.f64 y y (*.f64 x x)))
accuracy0
(*.f64 y y)
accuracy0.34317155315548376
#s(approx (+ (* x x) (* y y)) (*.f64 y y))
accuracy28.191507677389602
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 y y)))
accuracy0
(*.f64 x x)
accuracy28.191507677389602
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 x x)))
accuracy56.07979179289992
#s(approx (+ (* x x) (* y y)) (*.f64 x x))
accuracy0
(neg.f64 x)
accuracy62.85995749600993
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x))
accuracy0
(hypot.f64 y x)
Samples
24.0ms256×0valid
Compiler

Compiled 81 to 11 computations (86.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 14.0ms
ival-hypot: 8.0ms (56.4% of total)
ival-mult: 3.0ms (21.2% of total)
ival-add: 2.0ms (14.1% of total)
ival-neg: 1.0ms (7.1% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series9.0ms (0%)

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

6 calls:

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

simplify377.0ms (1.4%)

Memory
12.7MiB live, 158.0MiB allocated
Algorithm
egg-herbie
Rules
18 004×lower-fma.f64
18 004×lower-fma.f32
5 072×lower-*.f64
5 072×lower-*.f32
2 260×lower-+.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01042548
12962548
29532538
336712368
464332358
080582134
Stop Event
iter limit
node limit
Counts
228 → 208
Calls
Call 1
Inputs
x
(+ x (* 1/2 (/ (pow y 2) x)))
(+ x (* (pow y 2) (+ (* -1/8 (/ (pow y 2) (pow x 3))) (* 1/2 (/ 1 x)))))
(+ x (* (pow y 2) (+ (* (pow y 2) (- (* 1/16 (/ (pow y 2) (pow x 5))) (* 1/8 (/ 1 (pow x 3))))) (* 1/2 (/ 1 x)))))
x
(+ x (* 1/2 (/ (pow y 2) x)))
(+ x (* (pow y 2) (+ (* -1/8 (/ (pow y 2) (pow x 3))) (* 1/2 (/ 1 x)))))
(+ x (* (pow y 2) (+ (* (pow y 2) (- (* 1/16 (/ (pow y 2) (pow x 5))) (* 1/8 (/ 1 (pow x 3))))) (* 1/2 (/ 1 x)))))
x
(+ x (* 1/2 (/ (pow y 2) x)))
(+ x (* (pow y 2) (+ (* -1/8 (/ (pow y 2) (pow x 3))) (* 1/2 (/ 1 x)))))
(+ x (* (pow y 2) (+ (* (pow y 2) (- (* 1/16 (/ (pow y 2) (pow x 5))) (* 1/8 (/ 1 (pow x 3))))) (* 1/2 (/ 1 x)))))
(pow x 2)
(+ (pow x 2) (pow y 2))
(+ (pow x 2) (pow y 2))
(+ (pow x 2) (pow y 2))
x
(+ x (* 1/2 (/ (pow y 2) x)))
(+ x (* (pow y 2) (+ (* -1/8 (/ (pow y 2) (pow x 3))) (* 1/2 (/ 1 x)))))
(+ x (* (pow y 2) (+ (* (pow y 2) (- (* 1/16 (/ (pow y 2) (pow x 5))) (* 1/8 (/ 1 (pow x 3))))) (* 1/2 (/ 1 x)))))
(pow x 2)
(+ (pow x 2) (pow y 2))
(+ (pow x 2) (pow y 2))
(+ (pow x 2) (pow y 2))
(pow y 2)
(pow y 2)
(pow y 2)
(pow y 2)
(pow x 2)
(+ (pow x 2) (pow y 2))
(+ (pow x 2) (pow y 2))
(+ (pow x 2) (pow y 2))
x
(+ x (* 1/2 (/ (pow y 2) x)))
(+ x (* (pow y 2) (+ (* -1/8 (/ (pow y 2) (pow x 3))) (* 1/2 (/ 1 x)))))
(+ x (* (pow y 2) (+ (* (pow y 2) (- (* 1/16 (/ (pow y 2) (pow x 5))) (* 1/8 (/ 1 (pow x 3))))) (* 1/2 (/ 1 x)))))
y
(* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2)))))
(* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2))))))
(* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (+ (* 1/16 (/ (pow x 6) (pow y 6))) (* 1/2 (/ (pow x 2) (pow y 2)))))))
y
(* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2)))))
(* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2))))))
(* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (+ (* 1/16 (/ (pow x 6) (pow y 6))) (* 1/2 (/ (pow x 2) (pow y 2)))))))
y
(* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2)))))
(* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2))))))
(* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (+ (* 1/16 (/ (pow x 6) (pow y 6))) (* 1/2 (/ (pow x 2) (pow y 2)))))))
(pow y 2)
(* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2))))
(* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2))))
(* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2))))
y
(* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2)))))
(* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2))))))
(* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (+ (* 1/16 (/ (pow x 6) (pow y 6))) (* 1/2 (/ (pow x 2) (pow y 2)))))))
(pow y 2)
(* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2))))
(* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2))))
(* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2))))
(pow y 2)
(pow y 2)
(pow y 2)
(pow y 2)
(pow y 2)
(* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2))))
(* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2))))
(* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2))))
y
(* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2)))))
(* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2))))))
(* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (+ (* 1/16 (/ (pow x 6) (pow y 6))) (* 1/2 (/ (pow x 2) (pow y 2)))))))
(* -1 y)
(* -1 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2))))))
(* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2)))))))
(* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (+ (* 1/16 (/ (pow x 6) (pow y 6))) (* 1/2 (/ (pow x 2) (pow y 2))))))))
(* -1 y)
(* -1 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2))))))
(* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2)))))))
(* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (+ (* 1/16 (/ (pow x 6) (pow y 6))) (* 1/2 (/ (pow x 2) (pow y 2))))))))
(* -1 y)
(* -1 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2))))))
(* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2)))))))
(* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (+ (* 1/16 (/ (pow x 6) (pow y 6))) (* 1/2 (/ (pow x 2) (pow y 2))))))))
(pow y 2)
(* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2))))
(* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2))))
(* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2))))
(* -1 y)
(* -1 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2))))))
(* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2)))))))
(* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (+ (* 1/16 (/ (pow x 6) (pow y 6))) (* 1/2 (/ (pow x 2) (pow y 2))))))))
(pow y 2)
(* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2))))
(* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2))))
(* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2))))
(pow y 2)
(pow y 2)
(pow y 2)
(pow y 2)
(pow y 2)
(* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2))))
(* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2))))
(* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2))))
(* -1 y)
(* -1 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2))))))
(* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2)))))))
(* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (+ (* 1/16 (/ (pow x 6) (pow y 6))) (* 1/2 (/ (pow x 2) (pow y 2))))))))
y
(+ y (* 1/2 (/ (pow x 2) y)))
(+ y (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow y 3))) (* 1/2 (/ 1 y)))))
(+ y (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow y 5))) (* 1/8 (/ 1 (pow y 3))))) (* 1/2 (/ 1 y)))))
y
(+ y (* 1/2 (/ (pow x 2) y)))
(+ y (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow y 3))) (* 1/2 (/ 1 y)))))
(+ y (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow y 5))) (* 1/8 (/ 1 (pow y 3))))) (* 1/2 (/ 1 y)))))
(* -1 x)
(* -1 x)
(* -1 x)
(* -1 x)
y
(+ y (* 1/2 (/ (pow x 2) y)))
(+ y (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow y 3))) (* 1/2 (/ 1 y)))))
(+ y (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow y 5))) (* 1/8 (/ 1 (pow y 3))))) (* 1/2 (/ 1 y)))))
(pow y 2)
(+ (pow x 2) (pow y 2))
(+ (pow x 2) (pow y 2))
(+ (pow x 2) (pow y 2))
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
y
(+ y (* 1/2 (/ (pow x 2) y)))
(+ y (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow y 3))) (* 1/2 (/ 1 y)))))
(+ y (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow y 5))) (* 1/8 (/ 1 (pow y 3))))) (* 1/2 (/ 1 y)))))
(pow y 2)
(+ (pow x 2) (pow y 2))
(+ (pow x 2) (pow y 2))
(+ (pow x 2) (pow y 2))
(pow y 2)
(+ (pow x 2) (pow y 2))
(+ (pow x 2) (pow y 2))
(+ (pow x 2) (pow y 2))
y
(+ y (* 1/2 (/ (pow x 2) y)))
(+ y (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow y 3))) (* 1/2 (/ 1 y)))))
(+ y (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow y 5))) (* 1/8 (/ 1 (pow y 3))))) (* 1/2 (/ 1 y)))))
x
(* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2)))))
(* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2))))))
(* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (+ (* 1/16 (/ (pow y 6) (pow x 6))) (* 1/2 (/ (pow y 2) (pow x 2)))))))
x
(* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2)))))
(* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2))))))
(* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (+ (* 1/16 (/ (pow y 6) (pow x 6))) (* 1/2 (/ (pow y 2) (pow x 2)))))))
(* -1 x)
(* -1 x)
(* -1 x)
(* -1 x)
x
(* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2)))))
(* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2))))))
(* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (+ (* 1/16 (/ (pow y 6) (pow x 6))) (* 1/2 (/ (pow y 2) (pow x 2)))))))
(pow x 2)
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2))))
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2))))
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2))))
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
x
(* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2)))))
(* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2))))))
(* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (+ (* 1/16 (/ (pow y 6) (pow x 6))) (* 1/2 (/ (pow y 2) (pow x 2)))))))
(pow x 2)
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2))))
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2))))
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2))))
(pow x 2)
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2))))
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2))))
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2))))
x
(* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2)))))
(* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2))))))
(* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (+ (* 1/16 (/ (pow y 6) (pow x 6))) (* 1/2 (/ (pow y 2) (pow x 2)))))))
(* -1 x)
(* -1 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2))))))
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2)))))))
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (+ (* 1/16 (/ (pow y 6) (pow x 6))) (* 1/2 (/ (pow y 2) (pow x 2))))))))
(* -1 x)
(* -1 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2))))))
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2)))))))
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (+ (* 1/16 (/ (pow y 6) (pow x 6))) (* 1/2 (/ (pow y 2) (pow x 2))))))))
(* -1 x)
(* -1 x)
(* -1 x)
(* -1 x)
(* -1 x)
(* -1 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2))))))
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2)))))))
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (+ (* 1/16 (/ (pow y 6) (pow x 6))) (* 1/2 (/ (pow y 2) (pow x 2))))))))
(pow x 2)
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2))))
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2))))
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2))))
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(* -1 x)
(* -1 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2))))))
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2)))))))
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (+ (* 1/16 (/ (pow y 6) (pow x 6))) (* 1/2 (/ (pow y 2) (pow x 2))))))))
(pow x 2)
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2))))
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2))))
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2))))
(pow x 2)
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2))))
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2))))
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2))))
(* -1 x)
(* -1 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2))))))
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2)))))))
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (+ (* 1/16 (/ (pow y 6) (pow x 6))) (* 1/2 (/ (pow y 2) (pow x 2))))))))
Outputs
x
(+ x (* 1/2 (/ (pow y 2) x)))
(fma.f64 (/.f64 #s(literal 1/2 binary64) x) (*.f64 y y) x)
(+ x (* (pow y 2) (+ (* -1/8 (/ (pow y 2) (pow x 3))) (* 1/2 (/ 1 x)))))
(fma.f64 (fma.f64 (*.f64 (/.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 3 binary64))) y) y (/.f64 #s(literal 1/2 binary64) x)) (*.f64 y y) x)
(+ x (* (pow y 2) (+ (* (pow y 2) (- (* 1/16 (/ (pow y 2) (pow x 5))) (* 1/8 (/ 1 (pow x 3))))) (* 1/2 (/ 1 x)))))
(fma.f64 (pow.f64 y #s(literal 4 binary64)) (fma.f64 (*.f64 #s(literal 1/16 binary64) y) (/.f64 y (pow.f64 x #s(literal 5 binary64))) (/.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 3 binary64)))) (fma.f64 (/.f64 #s(literal 1/2 binary64) x) (*.f64 y y) x))
x
(+ x (* 1/2 (/ (pow y 2) x)))
(fma.f64 (/.f64 #s(literal 1/2 binary64) x) (*.f64 y y) x)
(+ x (* (pow y 2) (+ (* -1/8 (/ (pow y 2) (pow x 3))) (* 1/2 (/ 1 x)))))
(fma.f64 (fma.f64 (*.f64 (/.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 3 binary64))) y) y (/.f64 #s(literal 1/2 binary64) x)) (*.f64 y y) x)
(+ x (* (pow y 2) (+ (* (pow y 2) (- (* 1/16 (/ (pow y 2) (pow x 5))) (* 1/8 (/ 1 (pow x 3))))) (* 1/2 (/ 1 x)))))
(fma.f64 (pow.f64 y #s(literal 4 binary64)) (fma.f64 (*.f64 #s(literal 1/16 binary64) y) (/.f64 y (pow.f64 x #s(literal 5 binary64))) (/.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 3 binary64)))) (fma.f64 (/.f64 #s(literal 1/2 binary64) x) (*.f64 y y) x))
x
(+ x (* 1/2 (/ (pow y 2) x)))
(fma.f64 (/.f64 #s(literal 1/2 binary64) x) (*.f64 y y) x)
(+ x (* (pow y 2) (+ (* -1/8 (/ (pow y 2) (pow x 3))) (* 1/2 (/ 1 x)))))
(fma.f64 (fma.f64 (*.f64 (/.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 3 binary64))) y) y (/.f64 #s(literal 1/2 binary64) x)) (*.f64 y y) x)
(+ x (* (pow y 2) (+ (* (pow y 2) (- (* 1/16 (/ (pow y 2) (pow x 5))) (* 1/8 (/ 1 (pow x 3))))) (* 1/2 (/ 1 x)))))
(fma.f64 (pow.f64 y #s(literal 4 binary64)) (fma.f64 (*.f64 #s(literal 1/16 binary64) y) (/.f64 y (pow.f64 x #s(literal 5 binary64))) (/.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 3 binary64)))) (fma.f64 (/.f64 #s(literal 1/2 binary64) x) (*.f64 y y) x))
(pow x 2)
(*.f64 x x)
(+ (pow x 2) (pow y 2))
(fma.f64 y y (*.f64 x x))
(+ (pow x 2) (pow y 2))
(fma.f64 y y (*.f64 x x))
(+ (pow x 2) (pow y 2))
(fma.f64 y y (*.f64 x x))
x
(+ x (* 1/2 (/ (pow y 2) x)))
(fma.f64 (/.f64 #s(literal 1/2 binary64) x) (*.f64 y y) x)
(+ x (* (pow y 2) (+ (* -1/8 (/ (pow y 2) (pow x 3))) (* 1/2 (/ 1 x)))))
(fma.f64 (fma.f64 (*.f64 (/.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 3 binary64))) y) y (/.f64 #s(literal 1/2 binary64) x)) (*.f64 y y) x)
(+ x (* (pow y 2) (+ (* (pow y 2) (- (* 1/16 (/ (pow y 2) (pow x 5))) (* 1/8 (/ 1 (pow x 3))))) (* 1/2 (/ 1 x)))))
(fma.f64 (pow.f64 y #s(literal 4 binary64)) (fma.f64 (*.f64 #s(literal 1/16 binary64) y) (/.f64 y (pow.f64 x #s(literal 5 binary64))) (/.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 3 binary64)))) (fma.f64 (/.f64 #s(literal 1/2 binary64) x) (*.f64 y y) x))
(pow x 2)
(*.f64 x x)
(+ (pow x 2) (pow y 2))
(fma.f64 y y (*.f64 x x))
(+ (pow x 2) (pow y 2))
(fma.f64 y y (*.f64 x x))
(+ (pow x 2) (pow y 2))
(fma.f64 y y (*.f64 x x))
(pow y 2)
(*.f64 y y)
(pow y 2)
(*.f64 y y)
(pow y 2)
(*.f64 y y)
(pow y 2)
(*.f64 y y)
(pow x 2)
(*.f64 x x)
(+ (pow x 2) (pow y 2))
(fma.f64 y y (*.f64 x x))
(+ (pow x 2) (pow y 2))
(fma.f64 y y (*.f64 x x))
(+ (pow x 2) (pow y 2))
(fma.f64 y y (*.f64 x x))
x
(+ x (* 1/2 (/ (pow y 2) x)))
(fma.f64 (/.f64 #s(literal 1/2 binary64) x) (*.f64 y y) x)
(+ x (* (pow y 2) (+ (* -1/8 (/ (pow y 2) (pow x 3))) (* 1/2 (/ 1 x)))))
(fma.f64 (fma.f64 (*.f64 (/.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 3 binary64))) y) y (/.f64 #s(literal 1/2 binary64) x)) (*.f64 y y) x)
(+ x (* (pow y 2) (+ (* (pow y 2) (- (* 1/16 (/ (pow y 2) (pow x 5))) (* 1/8 (/ 1 (pow x 3))))) (* 1/2 (/ 1 x)))))
(fma.f64 (pow.f64 y #s(literal 4 binary64)) (fma.f64 (*.f64 #s(literal 1/16 binary64) y) (/.f64 y (pow.f64 x #s(literal 5 binary64))) (/.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 3 binary64)))) (fma.f64 (/.f64 #s(literal 1/2 binary64) x) (*.f64 y y) x))
y
(* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2)))))
(fma.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y) y)
(* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2))))))
(fma.f64 (*.f64 #s(literal -1/8 binary64) y) (/.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y) y))
(* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (+ (* 1/16 (/ (pow x 6) (pow y 6))) (* 1/2 (/ (pow x 2) (pow y 2)))))))
(fma.f64 (fma.f64 (pow.f64 x #s(literal 6 binary64)) (/.f64 #s(literal 1/16 binary64) (pow.f64 y #s(literal 6 binary64))) (fma.f64 (pow.f64 x #s(literal 4 binary64)) (/.f64 #s(literal -1/8 binary64) (pow.f64 y #s(literal 4 binary64))) #s(literal 1 binary64))) y (*.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64)))
y
(* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2)))))
(fma.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y) y)
(* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2))))))
(fma.f64 (*.f64 #s(literal -1/8 binary64) y) (/.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y) y))
(* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (+ (* 1/16 (/ (pow x 6) (pow y 6))) (* 1/2 (/ (pow x 2) (pow y 2)))))))
(fma.f64 (fma.f64 (pow.f64 x #s(literal 6 binary64)) (/.f64 #s(literal 1/16 binary64) (pow.f64 y #s(literal 6 binary64))) (fma.f64 (pow.f64 x #s(literal 4 binary64)) (/.f64 #s(literal -1/8 binary64) (pow.f64 y #s(literal 4 binary64))) #s(literal 1 binary64))) y (*.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64)))
y
(* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2)))))
(fma.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y) y)
(* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2))))))
(fma.f64 (*.f64 #s(literal -1/8 binary64) y) (/.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y) y))
(* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (+ (* 1/16 (/ (pow x 6) (pow y 6))) (* 1/2 (/ (pow x 2) (pow y 2)))))))
(fma.f64 (fma.f64 (pow.f64 x #s(literal 6 binary64)) (/.f64 #s(literal 1/16 binary64) (pow.f64 y #s(literal 6 binary64))) (fma.f64 (pow.f64 x #s(literal 4 binary64)) (/.f64 #s(literal -1/8 binary64) (pow.f64 y #s(literal 4 binary64))) #s(literal 1 binary64))) y (*.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64)))
(pow y 2)
(*.f64 y y)
(* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2))))
(fma.f64 y y (*.f64 x x))
(* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2))))
(fma.f64 y y (*.f64 x x))
(* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2))))
(fma.f64 y y (*.f64 x x))
y
(* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2)))))
(fma.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y) y)
(* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2))))))
(fma.f64 (*.f64 #s(literal -1/8 binary64) y) (/.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y) y))
(* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (+ (* 1/16 (/ (pow x 6) (pow y 6))) (* 1/2 (/ (pow x 2) (pow y 2)))))))
(fma.f64 (fma.f64 (pow.f64 x #s(literal 6 binary64)) (/.f64 #s(literal 1/16 binary64) (pow.f64 y #s(literal 6 binary64))) (fma.f64 (pow.f64 x #s(literal 4 binary64)) (/.f64 #s(literal -1/8 binary64) (pow.f64 y #s(literal 4 binary64))) #s(literal 1 binary64))) y (*.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64)))
(pow y 2)
(*.f64 y y)
(* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2))))
(fma.f64 y y (*.f64 x x))
(* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2))))
(fma.f64 y y (*.f64 x x))
(* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2))))
(fma.f64 y y (*.f64 x x))
(pow y 2)
(*.f64 y y)
(pow y 2)
(*.f64 y y)
(pow y 2)
(*.f64 y y)
(pow y 2)
(*.f64 y y)
(pow y 2)
(*.f64 y y)
(* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2))))
(fma.f64 y y (*.f64 x x))
(* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2))))
(fma.f64 y y (*.f64 x x))
(* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2))))
(fma.f64 y y (*.f64 x x))
y
(* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2)))))
(fma.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y) y)
(* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2))))))
(fma.f64 (*.f64 #s(literal -1/8 binary64) y) (/.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y) y))
(* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (+ (* 1/16 (/ (pow x 6) (pow y 6))) (* 1/2 (/ (pow x 2) (pow y 2)))))))
(fma.f64 (fma.f64 (pow.f64 x #s(literal 6 binary64)) (/.f64 #s(literal 1/16 binary64) (pow.f64 y #s(literal 6 binary64))) (fma.f64 (pow.f64 x #s(literal 4 binary64)) (/.f64 #s(literal -1/8 binary64) (pow.f64 y #s(literal 4 binary64))) #s(literal 1 binary64))) y (*.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64)))
(* -1 y)
(neg.f64 y)
(* -1 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2))))))
(fma.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 x y)) x (neg.f64 y))
(* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2)))))))
(fma.f64 (fma.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) #s(literal 1/8 binary64) #s(literal -1 binary64)) y (*.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 x x) y)))
(* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (+ (* 1/16 (/ (pow x 6) (pow y 6))) (* 1/2 (/ (pow x 2) (pow y 2))))))))
(fma.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 x y)) x (*.f64 (fma.f64 #s(literal -1/16 binary64) (/.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 y #s(literal 6 binary64))) (fma.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) #s(literal 1/8 binary64) #s(literal -1 binary64))) y))
(* -1 y)
(neg.f64 y)
(* -1 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2))))))
(fma.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 x y)) x (neg.f64 y))
(* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2)))))))
(fma.f64 (fma.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) #s(literal 1/8 binary64) #s(literal -1 binary64)) y (*.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 x x) y)))
(* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (+ (* 1/16 (/ (pow x 6) (pow y 6))) (* 1/2 (/ (pow x 2) (pow y 2))))))))
(fma.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 x y)) x (*.f64 (fma.f64 #s(literal -1/16 binary64) (/.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 y #s(literal 6 binary64))) (fma.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) #s(literal 1/8 binary64) #s(literal -1 binary64))) y))
(* -1 y)
(neg.f64 y)
(* -1 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2))))))
(fma.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 x y)) x (neg.f64 y))
(* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2)))))))
(fma.f64 (fma.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) #s(literal 1/8 binary64) #s(literal -1 binary64)) y (*.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 x x) y)))
(* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (+ (* 1/16 (/ (pow x 6) (pow y 6))) (* 1/2 (/ (pow x 2) (pow y 2))))))))
(fma.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 x y)) x (*.f64 (fma.f64 #s(literal -1/16 binary64) (/.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 y #s(literal 6 binary64))) (fma.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) #s(literal 1/8 binary64) #s(literal -1 binary64))) y))
(pow y 2)
(*.f64 y y)
(* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2))))
(fma.f64 y y (*.f64 x x))
(* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2))))
(fma.f64 y y (*.f64 x x))
(* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2))))
(fma.f64 y y (*.f64 x x))
(* -1 y)
(neg.f64 y)
(* -1 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2))))))
(fma.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 x y)) x (neg.f64 y))
(* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2)))))))
(fma.f64 (fma.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) #s(literal 1/8 binary64) #s(literal -1 binary64)) y (*.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 x x) y)))
(* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (+ (* 1/16 (/ (pow x 6) (pow y 6))) (* 1/2 (/ (pow x 2) (pow y 2))))))))
(fma.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 x y)) x (*.f64 (fma.f64 #s(literal -1/16 binary64) (/.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 y #s(literal 6 binary64))) (fma.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) #s(literal 1/8 binary64) #s(literal -1 binary64))) y))
(pow y 2)
(*.f64 y y)
(* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2))))
(fma.f64 y y (*.f64 x x))
(* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2))))
(fma.f64 y y (*.f64 x x))
(* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2))))
(fma.f64 y y (*.f64 x x))
(pow y 2)
(*.f64 y y)
(pow y 2)
(*.f64 y y)
(pow y 2)
(*.f64 y y)
(pow y 2)
(*.f64 y y)
(pow y 2)
(*.f64 y y)
(* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2))))
(fma.f64 y y (*.f64 x x))
(* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2))))
(fma.f64 y y (*.f64 x x))
(* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2))))
(fma.f64 y y (*.f64 x x))
(* -1 y)
(neg.f64 y)
(* -1 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2))))))
(fma.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 x y)) x (neg.f64 y))
(* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2)))))))
(fma.f64 (fma.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) #s(literal 1/8 binary64) #s(literal -1 binary64)) y (*.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 x x) y)))
(* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (+ (* 1/16 (/ (pow x 6) (pow y 6))) (* 1/2 (/ (pow x 2) (pow y 2))))))))
(fma.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 x y)) x (*.f64 (fma.f64 #s(literal -1/16 binary64) (/.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 y #s(literal 6 binary64))) (fma.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) #s(literal 1/8 binary64) #s(literal -1 binary64))) y))
y
(+ y (* 1/2 (/ (pow x 2) y)))
(fma.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y) y)
(+ y (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow y 3))) (* 1/2 (/ 1 y)))))
(fma.f64 (fma.f64 (*.f64 (/.f64 #s(literal -1/8 binary64) (pow.f64 y #s(literal 3 binary64))) x) x (/.f64 #s(literal 1/2 binary64) y)) (*.f64 x x) y)
(+ y (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow y 5))) (* 1/8 (/ 1 (pow y 3))))) (* 1/2 (/ 1 y)))))
(fma.f64 (fma.f64 (fma.f64 (*.f64 #s(literal 1/16 binary64) x) (/.f64 x (pow.f64 y #s(literal 5 binary64))) (/.f64 #s(literal -1/8 binary64) (pow.f64 y #s(literal 3 binary64)))) (*.f64 x x) (/.f64 #s(literal 1/2 binary64) y)) (*.f64 x x) y)
y
(+ y (* 1/2 (/ (pow x 2) y)))
(fma.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y) y)
(+ y (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow y 3))) (* 1/2 (/ 1 y)))))
(fma.f64 (fma.f64 (*.f64 (/.f64 #s(literal -1/8 binary64) (pow.f64 y #s(literal 3 binary64))) x) x (/.f64 #s(literal 1/2 binary64) y)) (*.f64 x x) y)
(+ y (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow y 5))) (* 1/8 (/ 1 (pow y 3))))) (* 1/2 (/ 1 y)))))
(fma.f64 (fma.f64 (fma.f64 (*.f64 #s(literal 1/16 binary64) x) (/.f64 x (pow.f64 y #s(literal 5 binary64))) (/.f64 #s(literal -1/8 binary64) (pow.f64 y #s(literal 3 binary64)))) (*.f64 x x) (/.f64 #s(literal 1/2 binary64) y)) (*.f64 x x) y)
(* -1 x)
(neg.f64 x)
(* -1 x)
(neg.f64 x)
(* -1 x)
(neg.f64 x)
(* -1 x)
(neg.f64 x)
y
(+ y (* 1/2 (/ (pow x 2) y)))
(fma.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y) y)
(+ y (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow y 3))) (* 1/2 (/ 1 y)))))
(fma.f64 (fma.f64 (*.f64 (/.f64 #s(literal -1/8 binary64) (pow.f64 y #s(literal 3 binary64))) x) x (/.f64 #s(literal 1/2 binary64) y)) (*.f64 x x) y)
(+ y (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow y 5))) (* 1/8 (/ 1 (pow y 3))))) (* 1/2 (/ 1 y)))))
(fma.f64 (fma.f64 (fma.f64 (*.f64 #s(literal 1/16 binary64) x) (/.f64 x (pow.f64 y #s(literal 5 binary64))) (/.f64 #s(literal -1/8 binary64) (pow.f64 y #s(literal 3 binary64)))) (*.f64 x x) (/.f64 #s(literal 1/2 binary64) y)) (*.f64 x x) y)
(pow y 2)
(*.f64 y y)
(+ (pow x 2) (pow y 2))
(fma.f64 y y (*.f64 x x))
(+ (pow x 2) (pow y 2))
(fma.f64 y y (*.f64 x x))
(+ (pow x 2) (pow y 2))
(fma.f64 y y (*.f64 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)
y
(+ y (* 1/2 (/ (pow x 2) y)))
(fma.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y) y)
(+ y (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow y 3))) (* 1/2 (/ 1 y)))))
(fma.f64 (fma.f64 (*.f64 (/.f64 #s(literal -1/8 binary64) (pow.f64 y #s(literal 3 binary64))) x) x (/.f64 #s(literal 1/2 binary64) y)) (*.f64 x x) y)
(+ y (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow y 5))) (* 1/8 (/ 1 (pow y 3))))) (* 1/2 (/ 1 y)))))
(fma.f64 (fma.f64 (fma.f64 (*.f64 #s(literal 1/16 binary64) x) (/.f64 x (pow.f64 y #s(literal 5 binary64))) (/.f64 #s(literal -1/8 binary64) (pow.f64 y #s(literal 3 binary64)))) (*.f64 x x) (/.f64 #s(literal 1/2 binary64) y)) (*.f64 x x) y)
(pow y 2)
(*.f64 y y)
(+ (pow x 2) (pow y 2))
(fma.f64 y y (*.f64 x x))
(+ (pow x 2) (pow y 2))
(fma.f64 y y (*.f64 x x))
(+ (pow x 2) (pow y 2))
(fma.f64 y y (*.f64 x x))
(pow y 2)
(*.f64 y y)
(+ (pow x 2) (pow y 2))
(fma.f64 y y (*.f64 x x))
(+ (pow x 2) (pow y 2))
(fma.f64 y y (*.f64 x x))
(+ (pow x 2) (pow y 2))
(fma.f64 y y (*.f64 x x))
y
(+ y (* 1/2 (/ (pow x 2) y)))
(fma.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y) y)
(+ y (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow y 3))) (* 1/2 (/ 1 y)))))
(fma.f64 (fma.f64 (*.f64 (/.f64 #s(literal -1/8 binary64) (pow.f64 y #s(literal 3 binary64))) x) x (/.f64 #s(literal 1/2 binary64) y)) (*.f64 x x) y)
(+ y (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow y 5))) (* 1/8 (/ 1 (pow y 3))))) (* 1/2 (/ 1 y)))))
(fma.f64 (fma.f64 (fma.f64 (*.f64 #s(literal 1/16 binary64) x) (/.f64 x (pow.f64 y #s(literal 5 binary64))) (/.f64 #s(literal -1/8 binary64) (pow.f64 y #s(literal 3 binary64)))) (*.f64 x x) (/.f64 #s(literal 1/2 binary64) y)) (*.f64 x x) y)
x
(* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2)))))
(fma.f64 (/.f64 #s(literal 1/2 binary64) x) (*.f64 y y) x)
(* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2))))))
(fma.f64 (*.f64 #s(literal -1/8 binary64) x) (/.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 x #s(literal 4 binary64))) (fma.f64 (/.f64 #s(literal 1/2 binary64) x) (*.f64 y y) x))
(* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (+ (* 1/16 (/ (pow y 6) (pow x 6))) (* 1/2 (/ (pow y 2) (pow x 2)))))))
(fma.f64 (fma.f64 (pow.f64 y #s(literal 6 binary64)) (/.f64 #s(literal 1/16 binary64) (pow.f64 x #s(literal 6 binary64))) (fma.f64 (pow.f64 y #s(literal 4 binary64)) (/.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 4 binary64))) #s(literal 1 binary64))) x (*.f64 (/.f64 (*.f64 y y) x) #s(literal 1/2 binary64)))
x
(* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2)))))
(fma.f64 (/.f64 #s(literal 1/2 binary64) x) (*.f64 y y) x)
(* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2))))))
(fma.f64 (*.f64 #s(literal -1/8 binary64) x) (/.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 x #s(literal 4 binary64))) (fma.f64 (/.f64 #s(literal 1/2 binary64) x) (*.f64 y y) x))
(* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (+ (* 1/16 (/ (pow y 6) (pow x 6))) (* 1/2 (/ (pow y 2) (pow x 2)))))))
(fma.f64 (fma.f64 (pow.f64 y #s(literal 6 binary64)) (/.f64 #s(literal 1/16 binary64) (pow.f64 x #s(literal 6 binary64))) (fma.f64 (pow.f64 y #s(literal 4 binary64)) (/.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 4 binary64))) #s(literal 1 binary64))) x (*.f64 (/.f64 (*.f64 y y) x) #s(literal 1/2 binary64)))
(* -1 x)
(neg.f64 x)
(* -1 x)
(neg.f64 x)
(* -1 x)
(neg.f64 x)
(* -1 x)
(neg.f64 x)
x
(* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2)))))
(fma.f64 (/.f64 #s(literal 1/2 binary64) x) (*.f64 y y) x)
(* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2))))))
(fma.f64 (*.f64 #s(literal -1/8 binary64) x) (/.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 x #s(literal 4 binary64))) (fma.f64 (/.f64 #s(literal 1/2 binary64) x) (*.f64 y y) x))
(* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (+ (* 1/16 (/ (pow y 6) (pow x 6))) (* 1/2 (/ (pow y 2) (pow x 2)))))))
(fma.f64 (fma.f64 (pow.f64 y #s(literal 6 binary64)) (/.f64 #s(literal 1/16 binary64) (pow.f64 x #s(literal 6 binary64))) (fma.f64 (pow.f64 y #s(literal 4 binary64)) (/.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 4 binary64))) #s(literal 1 binary64))) x (*.f64 (/.f64 (*.f64 y y) x) #s(literal 1/2 binary64)))
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2))))
(fma.f64 y y (*.f64 x x))
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2))))
(fma.f64 y y (*.f64 x x))
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2))))
(fma.f64 y y (*.f64 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)
x
(* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2)))))
(fma.f64 (/.f64 #s(literal 1/2 binary64) x) (*.f64 y y) x)
(* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2))))))
(fma.f64 (*.f64 #s(literal -1/8 binary64) x) (/.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 x #s(literal 4 binary64))) (fma.f64 (/.f64 #s(literal 1/2 binary64) x) (*.f64 y y) x))
(* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (+ (* 1/16 (/ (pow y 6) (pow x 6))) (* 1/2 (/ (pow y 2) (pow x 2)))))))
(fma.f64 (fma.f64 (pow.f64 y #s(literal 6 binary64)) (/.f64 #s(literal 1/16 binary64) (pow.f64 x #s(literal 6 binary64))) (fma.f64 (pow.f64 y #s(literal 4 binary64)) (/.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 4 binary64))) #s(literal 1 binary64))) x (*.f64 (/.f64 (*.f64 y y) x) #s(literal 1/2 binary64)))
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2))))
(fma.f64 y y (*.f64 x x))
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2))))
(fma.f64 y y (*.f64 x x))
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2))))
(fma.f64 y y (*.f64 x x))
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2))))
(fma.f64 y y (*.f64 x x))
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2))))
(fma.f64 y y (*.f64 x x))
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2))))
(fma.f64 y y (*.f64 x x))
x
(* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2)))))
(fma.f64 (/.f64 #s(literal 1/2 binary64) x) (*.f64 y y) x)
(* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2))))))
(fma.f64 (*.f64 #s(literal -1/8 binary64) x) (/.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 x #s(literal 4 binary64))) (fma.f64 (/.f64 #s(literal 1/2 binary64) x) (*.f64 y y) x))
(* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (+ (* 1/16 (/ (pow y 6) (pow x 6))) (* 1/2 (/ (pow y 2) (pow x 2)))))))
(fma.f64 (fma.f64 (pow.f64 y #s(literal 6 binary64)) (/.f64 #s(literal 1/16 binary64) (pow.f64 x #s(literal 6 binary64))) (fma.f64 (pow.f64 y #s(literal 4 binary64)) (/.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 4 binary64))) #s(literal 1 binary64))) x (*.f64 (/.f64 (*.f64 y y) x) #s(literal 1/2 binary64)))
(* -1 x)
(neg.f64 x)
(* -1 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2))))))
(fma.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 y y) x) (neg.f64 x))
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2)))))))
(fma.f64 (fma.f64 (/.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 x #s(literal 4 binary64))) #s(literal 1/8 binary64) #s(literal -1 binary64)) x (*.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 y y) x)))
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (+ (* 1/16 (/ (pow y 6) (pow x 6))) (* 1/2 (/ (pow y 2) (pow x 2))))))))
(fma.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 y x)) y (*.f64 (fma.f64 #s(literal -1/16 binary64) (/.f64 (pow.f64 y #s(literal 6 binary64)) (pow.f64 x #s(literal 6 binary64))) (fma.f64 (/.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 x #s(literal 4 binary64))) #s(literal 1/8 binary64) #s(literal -1 binary64))) x))
(* -1 x)
(neg.f64 x)
(* -1 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2))))))
(fma.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 y y) x) (neg.f64 x))
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2)))))))
(fma.f64 (fma.f64 (/.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 x #s(literal 4 binary64))) #s(literal 1/8 binary64) #s(literal -1 binary64)) x (*.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 y y) x)))
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (+ (* 1/16 (/ (pow y 6) (pow x 6))) (* 1/2 (/ (pow y 2) (pow x 2))))))))
(fma.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 y x)) y (*.f64 (fma.f64 #s(literal -1/16 binary64) (/.f64 (pow.f64 y #s(literal 6 binary64)) (pow.f64 x #s(literal 6 binary64))) (fma.f64 (/.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 x #s(literal 4 binary64))) #s(literal 1/8 binary64) #s(literal -1 binary64))) x))
(* -1 x)
(neg.f64 x)
(* -1 x)
(neg.f64 x)
(* -1 x)
(neg.f64 x)
(* -1 x)
(neg.f64 x)
(* -1 x)
(neg.f64 x)
(* -1 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2))))))
(fma.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 y y) x) (neg.f64 x))
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2)))))))
(fma.f64 (fma.f64 (/.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 x #s(literal 4 binary64))) #s(literal 1/8 binary64) #s(literal -1 binary64)) x (*.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 y y) x)))
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (+ (* 1/16 (/ (pow y 6) (pow x 6))) (* 1/2 (/ (pow y 2) (pow x 2))))))))
(fma.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 y x)) y (*.f64 (fma.f64 #s(literal -1/16 binary64) (/.f64 (pow.f64 y #s(literal 6 binary64)) (pow.f64 x #s(literal 6 binary64))) (fma.f64 (/.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 x #s(literal 4 binary64))) #s(literal 1/8 binary64) #s(literal -1 binary64))) x))
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2))))
(fma.f64 y y (*.f64 x x))
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2))))
(fma.f64 y y (*.f64 x x))
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2))))
(fma.f64 y y (*.f64 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 x)
(neg.f64 x)
(* -1 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2))))))
(fma.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 y y) x) (neg.f64 x))
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2)))))))
(fma.f64 (fma.f64 (/.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 x #s(literal 4 binary64))) #s(literal 1/8 binary64) #s(literal -1 binary64)) x (*.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 y y) x)))
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (+ (* 1/16 (/ (pow y 6) (pow x 6))) (* 1/2 (/ (pow y 2) (pow x 2))))))))
(fma.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 y x)) y (*.f64 (fma.f64 #s(literal -1/16 binary64) (/.f64 (pow.f64 y #s(literal 6 binary64)) (pow.f64 x #s(literal 6 binary64))) (fma.f64 (/.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 x #s(literal 4 binary64))) #s(literal 1/8 binary64) #s(literal -1 binary64))) x))
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2))))
(fma.f64 y y (*.f64 x x))
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2))))
(fma.f64 y y (*.f64 x x))
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2))))
(fma.f64 y y (*.f64 x x))
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2))))
(fma.f64 y y (*.f64 x x))
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2))))
(fma.f64 y y (*.f64 x x))
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2))))
(fma.f64 y y (*.f64 x x))
(* -1 x)
(neg.f64 x)
(* -1 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2))))))
(fma.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 y y) x) (neg.f64 x))
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2)))))))
(fma.f64 (fma.f64 (/.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 x #s(literal 4 binary64))) #s(literal 1/8 binary64) #s(literal -1 binary64)) x (*.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 y y) x)))
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (+ (* 1/16 (/ (pow y 6) (pow x 6))) (* 1/2 (/ (pow y 2) (pow x 2))))))))
(fma.f64 (*.f64 #s(literal -1/2 binary64) (/.f64 y x)) y (*.f64 (fma.f64 #s(literal -1/16 binary64) (/.f64 (pow.f64 y #s(literal 6 binary64)) (pow.f64 x #s(literal 6 binary64))) (fma.f64 (/.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 x #s(literal 4 binary64))) #s(literal 1/8 binary64) #s(literal -1 binary64))) x))

rewrite224.0ms (0.8%)

Memory
-5.1MiB live, 291.3MiB allocated
Rules
3 958×lower-fma.f32
3 956×lower-fma.f64
3 618×lower-*.f32
3 614×lower-*.f64
2 154×lower-/.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01777
02468
15868
233868
3336868
0858768
Stop Event
iter limit
node limit
iter limit
Counts
11 → 421
Calls
Call 1
Inputs
(hypot.f64 y x)
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x))
(neg.f64 x)
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 x x)))
#s(approx (+ (* x x) (* y y)) (*.f64 x x))
(*.f64 x x)
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 y y)))
#s(approx (+ (* x x) (* y y)) (*.f64 y y))
(*.f64 y y)
(fma.f64 y y (*.f64 x x))
(sqrt.f64 (fma.f64 y 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>

eval75.0ms (0.3%)

Memory
-6.1MiB live, 189.2MiB allocated
Compiler

Compiled 12 517 to 1 138 computations (90.9% saved)

prune19.0ms (0.1%)

Memory
11.0MiB live, 47.8MiB allocated
Pruning

6 alts after pruning (1 fresh and 5 done)

PrunedKeptTotal
New6531654
Fresh101
Picked055
Done000
Total6546660
Accuracy
100.0%
Counts
660 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(hypot.f64 y x)
56.0%
(sqrt.f64 (fma.f64 y y (*.f64 x x)))
55.4%
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 y y)))
4.5%
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 x x)))
99.5%
#s(approx (sqrt (+ (* y y) (* x x))) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y) y))
1.8%
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x))
Compiler

Compiled 32 to 29 computations (9.4% saved)

simplify5.0ms (0%)

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

Found 4 expressions of interest:

NewMetricScoreProgram
cost-diff0
(/.f64 x y)
cost-diff0
(*.f64 #s(literal 1/2 binary64) x)
cost-diff0
(fma.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y) y)
cost-diff0
#s(approx (sqrt (+ (* y y) (* x x))) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y) y))
Rules
44×lower-*.f32
42×lower-*.f64
20×lower-fma.f32
18×lower-fma.f64
12×*-commutative
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01134
01534
12334
23334
33734
44034
54334
04329
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
#s(approx (sqrt (+ (* y y) (* x x))) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y) y))
(fma.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y) y)
(*.f64 #s(literal 1/2 binary64) x)
#s(literal 1/2 binary64)
x
(/.f64 x y)
y
Outputs
#s(approx (sqrt (+ (* y y) (* x x))) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y) y))
#s(approx (sqrt (+ (* y y) (* x x))) (fma.f64 (/.f64 x y) (*.f64 #s(literal 1/2 binary64) x) y))
(fma.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y) y)
(fma.f64 (/.f64 x y) (*.f64 #s(literal 1/2 binary64) x) y)
(*.f64 #s(literal 1/2 binary64) x)
#s(literal 1/2 binary64)
x
(/.f64 x y)
y

localize27.0ms (0.1%)

Memory
-6.8MiB live, 41.0MiB allocated
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0
(/.f64 x y)
accuracy0
(*.f64 #s(literal 1/2 binary64) x)
accuracy0.00390625
(fma.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y) y)
accuracy0.32109605105101824
#s(approx (sqrt (+ (* y y) (* x x))) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y) y))
Samples
21.0ms256×0valid
Compiler

Compiled 28 to 10 computations (64.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 11.0ms
ival-hypot: 5.0ms (45.9% of total)
ival-mult: 3.0ms (27.6% of total)
ival-div: 2.0ms (18.4% of total)
ival-add: 1.0ms (9.2% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series13.0ms (0%)

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

6 calls:

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

simplify186.0ms (0.7%)

Memory
27.9MiB live, 223.8MiB allocated
Algorithm
egg-herbie
Rules
17 774×lower-fma.f64
17 774×lower-fma.f32
4 270×lower-*.f64
4 270×lower-*.f32
2 472×lower-+.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0112764
1304764
2977762
33628666
47494666
08232616
Stop Event
iter limit
node limit
Counts
84 → 77
Calls
Call 1
Inputs
x
(+ x (* 1/2 (/ (pow y 2) x)))
(+ x (* (pow y 2) (+ (* -1/8 (/ (pow y 2) (pow x 3))) (* 1/2 (/ 1 x)))))
(+ x (* (pow y 2) (+ (* (pow y 2) (- (* 1/16 (/ (pow y 2) (pow x 5))) (* 1/8 (/ 1 (pow x 3))))) (* 1/2 (/ 1 x)))))
(* 1/2 (/ (pow x 2) y))
(/ (+ (* 1/2 (pow x 2)) (pow y 2)) y)
(/ (+ (* 1/2 (pow x 2)) (pow y 2)) y)
(/ (+ (* 1/2 (pow x 2)) (pow y 2)) y)
(/ x y)
(/ x y)
(/ x y)
(/ x y)
y
(* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2)))))
(* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2))))))
(* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (+ (* 1/16 (/ (pow x 6) (pow y 6))) (* 1/2 (/ (pow x 2) (pow y 2)))))))
y
(* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2)))))
(* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2)))))
(* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2)))))
(/ x y)
(/ x y)
(/ x y)
(/ x y)
(* -1 y)
(* -1 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2))))))
(* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2)))))))
(* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (+ (* 1/16 (/ (pow x 6) (pow y 6))) (* 1/2 (/ (pow x 2) (pow y 2))))))))
y
(* -1 (* y (- (* -1/2 (/ (pow x 2) (pow y 2))) 1)))
(* -1 (* y (- (* -1/2 (/ (pow x 2) (pow y 2))) 1)))
(* -1 (* y (- (* -1/2 (/ (pow x 2) (pow y 2))) 1)))
(/ x y)
(/ x y)
(/ x y)
(/ x y)
y
(+ y (* 1/2 (/ (pow x 2) y)))
(+ y (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow y 3))) (* 1/2 (/ 1 y)))))
(+ y (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow y 5))) (* 1/8 (/ 1 (pow y 3))))) (* 1/2 (/ 1 y)))))
y
(+ y (* 1/2 (/ (pow x 2) y)))
(+ y (* 1/2 (/ (pow x 2) y)))
(+ y (* 1/2 (/ (pow x 2) y)))
(* 1/2 x)
(* 1/2 x)
(* 1/2 x)
(* 1/2 x)
(/ x y)
(/ x y)
(/ x y)
(/ x y)
x
(* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2)))))
(* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2))))))
(* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (+ (* 1/16 (/ (pow y 6) (pow x 6))) (* 1/2 (/ (pow y 2) (pow x 2)))))))
(* 1/2 (/ (pow x 2) y))
(* (pow x 2) (+ (* 1/2 (/ 1 y)) (/ y (pow x 2))))
(* (pow x 2) (+ (* 1/2 (/ 1 y)) (/ y (pow x 2))))
(* (pow x 2) (+ (* 1/2 (/ 1 y)) (/ y (pow x 2))))
(* 1/2 x)
(* 1/2 x)
(* 1/2 x)
(* 1/2 x)
(/ x y)
(/ x y)
(/ x y)
(/ x y)
(* -1 x)
(* -1 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2))))))
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2)))))))
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (+ (* 1/16 (/ (pow y 6) (pow x 6))) (* 1/2 (/ (pow y 2) (pow x 2))))))))
(* 1/2 (/ (pow x 2) y))
(* (pow x 2) (+ (* 1/2 (/ 1 y)) (/ y (pow x 2))))
(* (pow x 2) (+ (* 1/2 (/ 1 y)) (/ y (pow x 2))))
(* (pow x 2) (+ (* 1/2 (/ 1 y)) (/ y (pow x 2))))
(* 1/2 x)
(* 1/2 x)
(* 1/2 x)
(* 1/2 x)
(/ x y)
(/ x y)
(/ x y)
(/ x y)
Outputs
x
(+ x (* 1/2 (/ (pow y 2) x)))
(fma.f64 (/.f64 #s(literal 1/2 binary64) x) (*.f64 y y) x)
(+ x (* (pow y 2) (+ (* -1/8 (/ (pow y 2) (pow x 3))) (* 1/2 (/ 1 x)))))
(fma.f64 (*.f64 y #s(literal 1/2 binary64)) (/.f64 y x) (fma.f64 (pow.f64 y #s(literal 4 binary64)) (/.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 3 binary64))) x))
(+ x (* (pow y 2) (+ (* (pow y 2) (- (* 1/16 (/ (pow y 2) (pow x 5))) (* 1/8 (/ 1 (pow x 3))))) (* 1/2 (/ 1 x)))))
(fma.f64 (pow.f64 y #s(literal 4 binary64)) (fma.f64 (*.f64 #s(literal 1/16 binary64) y) (/.f64 y (pow.f64 x #s(literal 5 binary64))) (/.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 3 binary64)))) (fma.f64 (/.f64 #s(literal 1/2 binary64) x) (*.f64 y y) x))
(* 1/2 (/ (pow x 2) y))
(*.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64))
(/ (+ (* 1/2 (pow x 2)) (pow y 2)) y)
(/.f64 (fma.f64 (*.f64 x x) #s(literal 1/2 binary64) (*.f64 y y)) y)
(/ (+ (* 1/2 (pow x 2)) (pow y 2)) y)
(/.f64 (fma.f64 (*.f64 x x) #s(literal 1/2 binary64) (*.f64 y y)) y)
(/ (+ (* 1/2 (pow x 2)) (pow y 2)) y)
(/.f64 (fma.f64 (*.f64 x x) #s(literal 1/2 binary64) (*.f64 y y)) y)
(/ x y)
(/.f64 x y)
(/ x y)
(/.f64 x y)
(/ x y)
(/.f64 x y)
(/ x y)
(/.f64 x y)
y
(* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2)))))
(fma.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64) y)
(* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2))))))
(fma.f64 (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/8 binary64)) (/.f64 y (pow.f64 y #s(literal 4 binary64))) (fma.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64) y))
(* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (+ (* 1/16 (/ (pow x 6) (pow y 6))) (* 1/2 (/ (pow x 2) (pow y 2)))))))
(fma.f64 (fma.f64 (pow.f64 x #s(literal 6 binary64)) (/.f64 #s(literal 1/16 binary64) (pow.f64 y #s(literal 6 binary64))) (fma.f64 (pow.f64 x #s(literal 4 binary64)) (/.f64 #s(literal -1/8 binary64) (pow.f64 y #s(literal 4 binary64))) #s(literal 1 binary64))) y (*.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64)))
y
(* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2)))))
(fma.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64) y)
(* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2)))))
(fma.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64) y)
(* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2)))))
(fma.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64) y)
(/ x y)
(/.f64 x y)
(/ x y)
(/.f64 x y)
(/ x y)
(/.f64 x y)
(/ x y)
(/.f64 x y)
(* -1 y)
(neg.f64 y)
(* -1 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2))))))
(fma.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 x x) y) (neg.f64 y))
(* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2)))))))
(fma.f64 (fma.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) #s(literal 1/8 binary64) #s(literal -1 binary64)) y (*.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 x x) y)))
(* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (+ (* 1/16 (/ (pow x 6) (pow y 6))) (* 1/2 (/ (pow x 2) (pow y 2))))))))
(fma.f64 (*.f64 #s(literal -1/2 binary64) x) (/.f64 x y) (*.f64 (fma.f64 (pow.f64 x #s(literal 6 binary64)) (/.f64 #s(literal 1/16 binary64) (pow.f64 y #s(literal 6 binary64))) (fma.f64 (pow.f64 x #s(literal 4 binary64)) (/.f64 #s(literal -1/8 binary64) (pow.f64 y #s(literal 4 binary64))) #s(literal 1 binary64))) (neg.f64 y)))
y
(* -1 (* y (- (* -1/2 (/ (pow x 2) (pow y 2))) 1)))
(fma.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64) y)
(* -1 (* y (- (* -1/2 (/ (pow x 2) (pow y 2))) 1)))
(fma.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64) y)
(* -1 (* y (- (* -1/2 (/ (pow x 2) (pow y 2))) 1)))
(fma.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64) y)
(/ x y)
(/.f64 x y)
(/ x y)
(/.f64 x y)
(/ x y)
(/.f64 x y)
(/ x y)
(/.f64 x y)
y
(+ y (* 1/2 (/ (pow x 2) y)))
(fma.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64) y)
(+ y (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow y 3))) (* 1/2 (/ 1 y)))))
(fma.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x (fma.f64 (pow.f64 x #s(literal 4 binary64)) (/.f64 #s(literal -1/8 binary64) (pow.f64 y #s(literal 3 binary64))) y))
(+ y (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow y 5))) (* 1/8 (/ 1 (pow y 3))))) (* 1/2 (/ 1 y)))))
(fma.f64 (fma.f64 (fma.f64 (*.f64 #s(literal 1/16 binary64) x) (/.f64 x (pow.f64 y #s(literal 5 binary64))) (/.f64 #s(literal -1/8 binary64) (pow.f64 y #s(literal 3 binary64)))) (*.f64 x x) (/.f64 #s(literal 1/2 binary64) y)) (*.f64 x x) y)
y
(+ y (* 1/2 (/ (pow x 2) y)))
(fma.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64) y)
(+ y (* 1/2 (/ (pow x 2) y)))
(fma.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64) y)
(+ y (* 1/2 (/ (pow x 2) y)))
(fma.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64) y)
(* 1/2 x)
(*.f64 #s(literal 1/2 binary64) x)
(* 1/2 x)
(*.f64 #s(literal 1/2 binary64) x)
(* 1/2 x)
(*.f64 #s(literal 1/2 binary64) x)
(* 1/2 x)
(*.f64 #s(literal 1/2 binary64) x)
(/ x y)
(/.f64 x y)
(/ x y)
(/.f64 x y)
(/ x y)
(/.f64 x y)
(/ x y)
(/.f64 x y)
x
(* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2)))))
(fma.f64 (/.f64 #s(literal 1/2 binary64) x) (*.f64 y y) x)
(* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2))))))
(fma.f64 (*.f64 #s(literal -1/8 binary64) x) (/.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 x #s(literal 4 binary64))) (fma.f64 (/.f64 #s(literal 1/2 binary64) x) (*.f64 y y) x))
(* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (+ (* 1/16 (/ (pow y 6) (pow x 6))) (* 1/2 (/ (pow y 2) (pow x 2)))))))
(fma.f64 (fma.f64 (pow.f64 y #s(literal 6 binary64)) (/.f64 #s(literal 1/16 binary64) (pow.f64 x #s(literal 6 binary64))) (fma.f64 (pow.f64 y #s(literal 4 binary64)) (/.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 4 binary64))) #s(literal 1 binary64))) x (*.f64 (/.f64 (*.f64 y y) x) #s(literal 1/2 binary64)))
(* 1/2 (/ (pow x 2) y))
(*.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64))
(* (pow x 2) (+ (* 1/2 (/ 1 y)) (/ y (pow x 2))))
(fma.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64) y)
(* (pow x 2) (+ (* 1/2 (/ 1 y)) (/ y (pow x 2))))
(fma.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64) y)
(* (pow x 2) (+ (* 1/2 (/ 1 y)) (/ y (pow x 2))))
(fma.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64) y)
(* 1/2 x)
(*.f64 #s(literal 1/2 binary64) x)
(* 1/2 x)
(*.f64 #s(literal 1/2 binary64) x)
(* 1/2 x)
(*.f64 #s(literal 1/2 binary64) x)
(* 1/2 x)
(*.f64 #s(literal 1/2 binary64) x)
(/ x y)
(/.f64 x y)
(/ x y)
(/.f64 x y)
(/ x y)
(/.f64 x y)
(/ x y)
(/.f64 x y)
(* -1 x)
(neg.f64 x)
(* -1 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2))))))
(fma.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 y y) x) (neg.f64 x))
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2)))))))
(fma.f64 (fma.f64 (/.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 x #s(literal 4 binary64))) #s(literal 1/8 binary64) #s(literal -1 binary64)) x (*.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 y y) x)))
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (+ (* 1/16 (/ (pow y 6) (pow x 6))) (* 1/2 (/ (pow y 2) (pow x 2))))))))
(fma.f64 (fma.f64 (pow.f64 y #s(literal 6 binary64)) (/.f64 #s(literal 1/16 binary64) (pow.f64 x #s(literal 6 binary64))) (fma.f64 (pow.f64 y #s(literal 4 binary64)) (/.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 4 binary64))) #s(literal 1 binary64))) (neg.f64 x) (*.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 y y) x)))
(* 1/2 (/ (pow x 2) y))
(*.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64))
(* (pow x 2) (+ (* 1/2 (/ 1 y)) (/ y (pow x 2))))
(fma.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64) y)
(* (pow x 2) (+ (* 1/2 (/ 1 y)) (/ y (pow x 2))))
(fma.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64) y)
(* (pow x 2) (+ (* 1/2 (/ 1 y)) (/ y (pow x 2))))
(fma.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64) y)
(* 1/2 x)
(*.f64 #s(literal 1/2 binary64) x)
(* 1/2 x)
(*.f64 #s(literal 1/2 binary64) x)
(* 1/2 x)
(*.f64 #s(literal 1/2 binary64) x)
(* 1/2 x)
(*.f64 #s(literal 1/2 binary64) x)
(/ x y)
(/.f64 x y)
(/ x y)
(/.f64 x y)
(/ x y)
(/.f64 x y)
(/ x y)
(/.f64 x y)

rewrite156.0ms (0.6%)

Memory
4.1MiB live, 202.6MiB allocated
Rules
6 772×lower-fma.f32
6 770×lower-fma.f64
4 216×lower-*.f32
4 214×lower-*.f64
2 100×lower-+.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01131
01531
15931
242931
3516631
0890026
Stop Event
iter limit
node limit
iter limit
Counts
4 → 128
Calls
Call 1
Inputs
#s(approx (sqrt (+ (* y y) (* x x))) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y) y))
(fma.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y) y)
(*.f64 #s(literal 1/2 binary64) x)
(/.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>

eval86.0ms (0.3%)

Memory
-29.3MiB live, 54.0MiB allocated
Compiler

Compiled 4 063 to 564 computations (86.1% saved)

prune11.0ms (0%)

Memory
24.9MiB live, 24.9MiB allocated
Pruning

6 alts after pruning (0 fresh and 6 done)

PrunedKeptTotal
New2050205
Fresh000
Picked011
Done055
Total2056211
Accuracy
100.0%
Counts
211 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(hypot.f64 y x)
56.0%
(sqrt.f64 (fma.f64 y y (*.f64 x x)))
55.4%
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 y y)))
4.5%
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 x x)))
99.5%
#s(approx (sqrt (+ (* y y) (* x x))) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y) y))
1.8%
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x))
Compiler

Compiled 81 to 50 computations (38.3% saved)

regimes98.0ms (0.4%)

Memory
-4.5MiB live, 33.8MiB allocated
Counts
8 → 1
Calls
Call 1
Inputs
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x))
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 x x)))
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 y y)))
(sqrt.f64 (fma.f64 y y (*.f64 x x)))
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y) y))
#s(approx (sqrt (+ (* y y) (* x x))) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y) y))
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
(hypot.f64 y x)
Outputs
(hypot.f64 y x)
Calls

6 calls:

82.0ms
(*.f64 y y)
3.0ms
x
3.0ms
y
3.0ms
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
3.0ms
(+.f64 (*.f64 x x) (*.f64 y y))
Results
AccuracySegmentsBranch
100.0%1x
100.0%1y
100.0%1(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
100.0%1(+.f64 (*.f64 x x) (*.f64 y y))
100.0%1(*.f64 x x)
100.0%1(*.f64 y y)
Compiler

Compiled 23 to 21 computations (8.7% saved)

regimes93.0ms (0.3%)

Memory
-5.8MiB live, 32.1MiB allocated
Counts
7 → 1
Calls
Call 1
Inputs
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x))
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 x x)))
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 y y)))
(sqrt.f64 (fma.f64 y y (*.f64 x x)))
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y) y))
#s(approx (sqrt (+ (* y y) (* x x))) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y) y))
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
Outputs
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y) y))
Calls

6 calls:

77.0ms
(*.f64 x x)
3.0ms
x
3.0ms
y
3.0ms
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
3.0ms
(+.f64 (*.f64 x x) (*.f64 y y))
Results
AccuracySegmentsBranch
99.5%1x
99.5%1y
99.5%1(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
99.5%1(+.f64 (*.f64 x x) (*.f64 y y))
99.5%1(*.f64 x x)
99.5%1(*.f64 y y)
Compiler

Compiled 23 to 21 computations (8.7% saved)

regimes91.0ms (0.3%)

Memory
-17.8MiB live, 24.7MiB allocated
Counts
4 → 1
Calls
Call 1
Inputs
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x))
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 x x)))
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 y y)))
(sqrt.f64 (fma.f64 y y (*.f64 x x)))
Outputs
(sqrt.f64 (fma.f64 y y (*.f64 x x)))
Calls

6 calls:

80.0ms
y
2.0ms
x
2.0ms
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
2.0ms
(*.f64 y y)
2.0ms
(+.f64 (*.f64 x x) (*.f64 y y))
Results
AccuracySegmentsBranch
56.0%1x
56.0%1y
56.0%1(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
56.0%1(+.f64 (*.f64 x x) (*.f64 y y))
56.0%1(*.f64 x x)
56.0%1(*.f64 y y)
Compiler

Compiled 23 to 21 computations (8.7% saved)

regimes97.0ms (0.4%)

Memory
-4.5MiB live, 32.8MiB allocated
Counts
3 → 1
Calls
Call 1
Inputs
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x))
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 x x)))
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 y y)))
Outputs
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 y y)))
Calls

6 calls:

2.0ms
y
2.0ms
x
2.0ms
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
2.0ms
(+.f64 (*.f64 x x) (*.f64 y y))
2.0ms
(*.f64 y y)
Results
AccuracySegmentsBranch
55.4%1(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
55.4%1(+.f64 (*.f64 x x) (*.f64 y y))
55.4%1(*.f64 y y)
55.4%1y
55.4%1x
55.4%1(*.f64 x x)
Compiler

Compiled 23 to 21 computations (8.7% saved)

regimes10.0ms (0%)

Memory
32.3MiB live, 32.3MiB allocated
Counts
2 → 1
Calls
Call 1
Inputs
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x))
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 x x)))
Outputs
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 x x)))
Calls

6 calls:

2.0ms
y
2.0ms
x
2.0ms
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
2.0ms
(*.f64 y y)
1.0ms
(+.f64 (*.f64 x x) (*.f64 y y))
Results
AccuracySegmentsBranch
4.5%1(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
4.5%1(+.f64 (*.f64 x x) (*.f64 y y))
4.5%1(*.f64 y y)
4.5%1y
4.5%1x
4.5%1(*.f64 x x)
Compiler

Compiled 23 to 21 computations (8.7% saved)

regimes91.0ms (0.3%)

Memory
-18.6MiB live, 20.8MiB allocated
Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

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

6 calls:

84.0ms
(*.f64 y y)
1.0ms
x
1.0ms
y
1.0ms
(+.f64 (*.f64 x x) (*.f64 y y))
1.0ms
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
Results
AccuracySegmentsBranch
1.8%1y
1.8%1(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
1.8%1(+.f64 (*.f64 x x) (*.f64 y y))
1.8%1(*.f64 y y)
1.8%1x
1.8%1(*.f64 x x)
Compiler

Compiled 23 to 21 computations (8.7% saved)

simplify26.0ms (0.1%)

Memory
-3.1MiB live, 36.1MiB allocated
Algorithm
egg-herbie
Rules
*-commutative-binary64-*.f64
neg-sub0-binary64--.f64-neg.f64
+-commutative-binary64-+.f64
neg-mul-1-binary64-*.f64-neg.f64
sub-neg-binary64-neg.f64-+.f64--.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02262
12762
22962
33062
Stop Event
saturated
Calls
Call 1
Inputs
(hypot.f64 y x)
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y) y))
(sqrt.f64 (fma.f64 y y (*.f64 x x)))
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 y y)))
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 x x)))
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x))
Outputs
(hypot.f64 y x)
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y) y))
(sqrt.f64 (fma.f64 y y (*.f64 x x)))
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 y y)))
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 x x)))
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x))

soundness23.9s (87.7%)

Memory
26.4MiB live, 299.8MiB allocated
Rules
18 004×lower-fma.f64
18 004×lower-fma.f32
5 720×lower-fma.f64
5 720×lower-fma.f32
5 072×lower-*.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0621
01021
12921
219621
3178821
0862415
0104620
1296620
2953618
33667584
46426582
08051530
Stop Event
done
iter limit
node limit
iter limit
node limit
iter limit
Compiler

Compiled 76 to 50 computations (34.2% saved)

preprocess162.0ms (0.6%)

Memory
-21.4MiB live, 104.0MiB allocated
Remove

(sort x y)

(abs x)

(abs y)

Compiler

Compiled 136 to 92 computations (32.4% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...