Data.Octree.Internal:octantDistance from Octree-0.5.4.2

Time bar (total: 28.4s)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze0.0ms (0%)

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

Compiled 10 to 5 computations (50% saved)

sample617.0ms (2.2%)

Memory
30.0MiB live, 776.2MiB allocated
Samples
441.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 201.0ms
ival-hypot: 191.0ms (95.2% of total)
ival-true: 6.0ms (3% of total)
ival-assert: 3.0ms (1.5% of total)
Bogosity

explain296.0ms (1%)

Memory
-31.7MiB live, 67.5MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
1280-3(-7.141036451366223e-162 -3.1475563204496806e-171)(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-rescue1110
(*.f64 y y)overflow65
(*.f64 x x)overflow64
(+.f64 (*.f64 x x) (*.f64 y y))overflow111
sqrt.f64(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))uflow-rescue140
(*.f64 y y)underflow58
(*.f64 x x)underflow59
(+.f64 (*.f64 x x) (*.f64 y y))underflow14
Confusion
Predicted +Predicted -
+1253
-0128
Precision
1.0
Recall
0.9765625
Confusion?
Predicted +Predicted MaybePredicted -
+12503
-00128
Precision?
1.0
Recall?
0.9765625
Freqs
test
numberfreq
0131
1125
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
130.0ms512×0valid
Compiler

Compiled 58 to 22 computations (62.1% saved)

Precisions
Click to see histograms. Total time spent on operations: 117.0ms
ival-hypot: 107.0ms (91.8% of total)
ival-mult: 7.0ms (6% of total)
ival-add: 2.0ms (1.7% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess64.0ms (0.2%)

Memory
-13.8MiB live, 23.3MiB 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.3MiB live, 0.3MiB allocated
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune1.0ms (0%)

Memory
1.1MiB live, 1.1MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
54.1%
(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

localize25.0ms (0.1%)

Memory
4.9MiB live, 40.4MiB allocated
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0
(*.f64 y y)
accuracy0
(*.f64 x x)
accuracy0.01171875
(+.f64 (*.f64 x x) (*.f64 y y))
accuracy29.37596575305573
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
Samples
16.0ms256×0valid
Compiler

Compiled 25 to 8 computations (68% saved)

Precisions
Click to see histograms. Total time spent on operations: 9.0ms
ival-hypot: 5.0ms (53.7% of total)
ival-mult: 3.0ms (32.2% of total)
ival-add: 1.0ms (10.7% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series6.0ms (0%)

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

simplify303.0ms (1.1%)

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

rewrite204.0ms (0.7%)

Memory
3.8MiB live, 244.4MiB 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>

eval49.0ms (0.2%)

Memory
-1.0MiB live, 70.5MiB allocated
Compiler

Compiled 7 655 to 987 computations (87.1% saved)

prune9.0ms (0%)

Memory
29.4MiB live, 29.4MiB allocated
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New3076313
Fresh000
Picked101
Done000
Total3086314
Accuracy
100.0%
Counts
314 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(hypot.f64 y x)
54.1%
(sqrt.f64 (fma.f64 y y (*.f64 x x)))
53.4%
(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.7%
#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)

simplify33.0ms (0.1%)

Memory
-42.2MiB live, 25.6MiB 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

localize43.0ms (0.2%)

Memory
10.4MiB live, 49.3MiB allocated
Localize:

Found 12 expressions of interest:

NewMetricScoreProgram
accuracy0
(fma.f64 y y (*.f64 x x))
accuracy0
(*.f64 x x)
accuracy29.37596575305573
(sqrt.f64 (fma.f64 y y (*.f64 x x)))
accuracy0
(*.f64 y y)
accuracy0.46678940715328854
#s(approx (+ (* x x) (* y y)) (*.f64 y y))
accuracy29.37596575305573
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 y y)))
accuracy0
(*.f64 x x)
accuracy29.37596575305573
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 x x)))
accuracy53.22428081225662
#s(approx (+ (* x x) (* y y)) (*.f64 x x))
accuracy0
(neg.f64 x)
accuracy62.832296696240576
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x))
accuracy0
(hypot.f64 y x)
Samples
25.0ms256×0valid
Compiler

Compiled 81 to 11 computations (86.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 15.0ms
ival-hypot: 8.0ms (53.6% of total)
ival-mult: 3.0ms (20.1% of total)
ival-add: 2.0ms (13.4% of total)
ival-neg: 1.0ms (6.7% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series17.0ms (0.1%)

Memory
-25.3MiB live, 13.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
1.0ms
x
@inf
((sqrt (+ (* y y) (* x x))) (sqrt (+ (* x x) (* y y))) (neg x) (sqrt (+ (* x x) (* y y))) (+ (* x x) (* y y)) (* x x) (sqrt (+ (* x x) (* y y))) (+ (* x x) (* y y)) (* y y) (+ (* y y) (* x x)) (sqrt (+ (* y y) (* x x))))
1.0ms
x
@-inf
((sqrt (+ (* y y) (* x x))) (sqrt (+ (* x x) (* y y))) (neg x) (sqrt (+ (* x x) (* y y))) (+ (* x x) (* y y)) (* x x) (sqrt (+ (* x x) (* y y))) (+ (* x x) (* y y)) (* y y) (+ (* y y) (* x x)) (sqrt (+ (* y y) (* x x))))
1.0ms
y
@inf
((sqrt (+ (* y y) (* x x))) (sqrt (+ (* x x) (* y y))) (neg x) (sqrt (+ (* x x) (* y y))) (+ (* x x) (* y y)) (* x x) (sqrt (+ (* x x) (* y y))) (+ (* x x) (* y y)) (* y y) (+ (* y y) (* x x)) (sqrt (+ (* y y) (* x x))))
1.0ms
y
@-inf
((sqrt (+ (* y y) (* x x))) (sqrt (+ (* x x) (* y y))) (neg x) (sqrt (+ (* x x) (* y y))) (+ (* x x) (* y y)) (* x x) (sqrt (+ (* x x) (* y y))) (+ (* x x) (* y y)) (* y y) (+ (* y y) (* x x)) (sqrt (+ (* y y) (* x x))))
0.0ms
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))))

simplify227.0ms (0.8%)

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

rewrite352.0ms (1.2%)

Memory
14.0MiB live, 123.6MiB 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>

eval308.0ms (1.1%)

Memory
-3.7MiB live, 109.6MiB allocated
Compiler

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

prune30.0ms (0.1%)

Memory
11.8MiB live, 49.7MiB 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)
54.1%
(sqrt.f64 (fma.f64 y y (*.f64 x x)))
53.4%
(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.7%
#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)

simplify4.0ms (0%)

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

localize69.0ms (0.2%)

Memory
-34.9MiB live, 22.8MiB allocated
Localize:

Found 4 expressions of interest:

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

Compiled 28 to 10 computations (64.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 11.0ms
ival-hypot: 5.0ms (45.2% of total)
ival-mult: 3.0ms (27.1% of total)
ival-div: 2.0ms (18.1% of total)
ival-add: 1.0ms (9% 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
9.7MiB live, 9.7MiB 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))

simplify284.0ms (1%)

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

rewrite388.0ms (1.4%)

Memory
6.3MiB live, 162.3MiB 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>

eval14.5s (51.1%)

Memory
-23.4MiB live, 51.0MiB allocated
Compiler

Compiled 4 063 to 564 computations (86.1% saved)

prune11.0ms (0%)

Memory
22.0MiB live, 22.0MiB 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)
54.1%
(sqrt.f64 (fma.f64 y y (*.f64 x x)))
53.4%
(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.7%
#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)

regimes9.3s (32.7%)

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

9.3s
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
3.0ms
x
3.0ms
y
3.0ms
(+.f64 (*.f64 x x) (*.f64 y y))
3.0ms
(*.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)

regimes20.0ms (0.1%)

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

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

Compiled 23 to 21 computations (8.7% saved)

regimes13.0ms (0%)

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

Compiled 23 to 21 computations (8.7% saved)

regimes114.0ms (0.4%)

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

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

Compiled 23 to 21 computations (8.7% saved)

regimes10.0ms (0%)

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

6 calls:

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

Compiled 23 to 21 computations (8.7% saved)

regimes8.0ms (0%)

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

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

Compiled 23 to 21 computations (8.7% saved)

simplify103.0ms (0.4%)

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

soundness928.0ms (3.3%)

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

preprocess61.0ms (0.2%)

Memory
16.6MiB live, 136.0MiB allocated
Remove

(sort x y)

(abs x)

(abs y)

Compiler

Compiled 136 to 92 computations (32.4% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...