Data.Octree.Internal:octantDistance from Octree-0.5.4.2

Time bar (total: 27.7s)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze0.0ms (0%)

Memory
0.3MiB live, 0.3MiB 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)

sample810.0ms (2.9%)

Memory
12.0MiB live, 837.0MiB allocated
Samples
485.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 215.0ms
ival-hypot: 205.0ms (95.3% of total)
ival-true: 7.0ms (3.3% of total)
ival-assert: 3.0ms (1.4% of total)
Bogosity

explain120.0ms (0.4%)

Memory
-6.0MiB live, 112.3MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
1400-0-(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-rescue1170
(*.f64 y y)overflow68
(*.f64 x x)overflow75
(+.f64 (*.f64 x x) (*.f64 y y))overflow117
sqrt.f64(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))uflow-rescue230
(*.f64 y y)underflow73
(*.f64 x x)underflow58
(+.f64 (*.f64 x x) (*.f64 y y))underflow23
Confusion
Predicted +Predicted -
+1400
-0116
Precision
1.0
Recall
1.0
Confusion?
Predicted +Predicted MaybePredicted -
+14000
-00116
Precision?
1.0
Recall?
1.0
Freqs
test
numberfreq
0116
1140
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
32.0ms512×0valid
Compiler

Compiled 58 to 22 computations (62.1% saved)

Precisions
Click to see histograms. Total time spent on operations: 19.0ms
ival-hypot: 9.0ms (47.6% of total)
ival-mult: 7.0ms (37% of total)
ival-add: 2.0ms (10.6% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess128.0ms (0.5%)

Memory
-5.2MiB live, 31.8MiB allocated
Algorithm
egg-herbie
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.4MiB live, 0.4MiB allocated
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune1.0ms (0%)

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

Compiled 8 to 6 computations (25% saved)

simplify3.0ms (0%)

Memory
4.6MiB live, 4.6MiB 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))
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

localize68.0ms (0.2%)

Memory
11.5MiB live, 48.0MiB allocated
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0
(+.f64 (*.f64 x x) (*.f64 y y))
accuracy0
(*.f64 y y)
accuracy0
(*.f64 x x)
accuracy32.527633626561816
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
Samples
63.0ms256×0valid
Compiler

Compiled 25 to 8 computations (68% saved)

Precisions
Click to see histograms. Total time spent on operations: 56.0ms
ival-mult: 50.0ms (88.6% of total)
ival-hypot: 5.0ms (8.9% of total)
ival-add: 1.0ms (1.8% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series7.0ms (0%)

Memory
22.9MiB live, 22.9MiB 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))))

simplify236.0ms (0.9%)

Memory
-24.3MiB live, 250.4MiB allocated
Algorithm
egg-herbie
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))

rewrite207.0ms (0.7%)

Memory
-14.9MiB live, 199.7MiB allocated
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>

eval61.0ms (0.2%)

Memory
-2.9MiB live, 76.8MiB allocated
Compiler

Compiled 7 655 to 987 computations (87.1% saved)

prune8.0ms (0%)

Memory
26.2MiB live, 26.2MiB 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)
49.2%
(sqrt.f64 (fma.f64 y y (*.f64 x x)))
48.2%
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 y y)))
4.9%
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 x x)))
99.0%
#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
-29.8MiB live, 8.2MiB 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)
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

localize36.0ms (0.1%)

Memory
35.2MiB live, 71.6MiB allocated
Localize:

Found 12 expressions of interest:

NewMetricScoreProgram
accuracy0
(fma.f64 y y (*.f64 x x))
accuracy0
(*.f64 x x)
accuracy32.527633626561816
(sqrt.f64 (fma.f64 y y (*.f64 x x)))
accuracy0
(*.f64 y y)
accuracy0.6593739870803559
#s(approx (+ (* x x) (* y y)) (*.f64 y y))
accuracy32.527633626561816
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 y y)))
accuracy0
(*.f64 x x)
accuracy32.527633626561816
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 x x)))
accuracy49.669550245015365
#s(approx (+ (* x x) (* y y)) (*.f64 x x))
accuracy0
(neg.f64 x)
accuracy62.81607724607256
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x))
accuracy0
(hypot.f64 y x)
Samples
27.0ms256×0valid
Compiler

Compiled 81 to 11 computations (86.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 17.0ms
ival-hypot: 8.0ms (47% of total)
ival-add: 5.0ms (29.3% of total)
ival-mult: 3.0ms (17.6% of total)
ival-neg: 1.0ms (5.9% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series12.0ms (0%)

Memory
-33.2MiB live, 16.8MiB 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
3.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
y
@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))))

simplify332.0ms (1.2%)

Memory
11.6MiB live, 202.2MiB allocated
Algorithm
egg-herbie
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))

rewrite374.0ms (1.4%)

Memory
-22.4MiB live, 156.4MiB allocated
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>

eval145.0ms (0.5%)

Memory
13.1MiB live, 83.2MiB allocated
Compiler

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

prune51.0ms (0.2%)

Memory
-4.3MiB live, 44.5MiB 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)
49.2%
(sqrt.f64 (fma.f64 y y (*.f64 x x)))
48.2%
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 y y)))
4.9%
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 x x)))
99.0%
#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
4.0MiB live, 4.0MiB 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))
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

localize23.0ms (0.1%)

Memory
15.0MiB live, 15.0MiB allocated
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0
(fma.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y) y)
accuracy0
(/.f64 x y)
accuracy0
(*.f64 #s(literal 1/2 binary64) x)
accuracy0.6440734414449067
#s(approx (sqrt (+ (* y y) (* x x))) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y) y))
Samples
17.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: 4.0ms (37.8% of total)
ival-mult: 3.0ms (28.4% of total)
ival-div: 2.0ms (18.9% of total)
ival-add: 1.0ms (9.5% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series9.0ms (0%)

Memory
4.0MiB live, 4.0MiB 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
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
@-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))
1.0ms
y
@-inf
((sqrt (+ (* y y) (* x x))) (+ (* (* 1/2 x) (/ x y)) y) (* 1/2 x) (/ x y))

simplify431.0ms (1.6%)

Memory
-25.3MiB live, 168.7MiB allocated
Algorithm
egg-herbie
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)

rewrite340.0ms (1.2%)

Memory
6.9MiB live, 127.6MiB allocated
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>

eval84.0ms (0.3%)

Memory
-1.3MiB live, 34.1MiB allocated
Compiler

Compiled 4 063 to 564 computations (86.1% saved)

prune11.0ms (0%)

Memory
24.5MiB live, 24.5MiB 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)
49.2%
(sqrt.f64 (fma.f64 y y (*.f64 x x)))
48.2%
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 y y)))
4.9%
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 x x)))
99.0%
#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)

regimes104.0ms (0.4%)

Memory
-11.7MiB live, 27.1MiB 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:

87.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
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)

regimes149.0ms (0.5%)

Memory
-8.1MiB live, 29.6MiB 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:

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

Compiled 23 to 21 computations (8.7% saved)

regimes13.0ms (0%)

Memory
25.8MiB live, 25.8MiB 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:

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

Compiled 23 to 21 computations (8.7% saved)

regimes170.0ms (0.6%)

Memory
-31.6MiB live, 23.7MiB 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:

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

Compiled 23 to 21 computations (8.7% saved)

regimes10.0ms (0%)

Memory
18.8MiB live, 18.8MiB 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
x
2.0ms
y
1.0ms
(+.f64 (*.f64 x x) (*.f64 y y))
1.0ms
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
1.0ms
(*.f64 y y)
Results
AccuracySegmentsBranch
4.9%1x
4.9%1(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
4.9%1(+.f64 (*.f64 x x) (*.f64 y y))
4.9%1(*.f64 y y)
4.9%1y
4.9%1(*.f64 x x)
Compiler

Compiled 23 to 21 computations (8.7% saved)

regimes19.0ms (0.1%)

Memory
-21.6MiB live, 17.6MiB 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:

12.0ms
(+.f64 (*.f64 x x) (*.f64 y y))
1.0ms
x
1.0ms
y
1.0ms
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
1.0ms
(*.f64 y y)
Results
AccuracySegmentsBranch
1.8%1(*.f64 x x)
1.8%1x
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)
Compiler

Compiled 23 to 21 computations (8.7% saved)

simplify27.0ms (0.1%)

Memory
7.4MiB live, 46.4MiB allocated
Algorithm
egg-herbie
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.6s (85.3%)

Memory
16.2MiB live, 331.6MiB allocated
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)

preprocess81.0ms (0.3%)

Memory
-13.2MiB live, 105.2MiB 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...