Data.Octree.Internal:octantDistance from Octree-0.5.4.2

Time bar (total: 2.1s)

start0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated; 0ms collecting garbage

analyze0.0ms (0%)

Memory
0.5MiB live, 0.5MiB allocated; 0ms collecting garbage
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)

sample1.1s (51.6%)

Memory
22.3MiB live, 922.9MiB allocated; 353ms collecting garbage
Samples
667.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 337.0ms
ival-hypot: 326.0ms (96.8% of total)
ival-true: 5.0ms (1.5% of total)
ival-assert: 3.0ms (0.9% of total)
adjust: 2.0ms (0.6% of total)
Bogosity

explain95.0ms (4.6%)

Memory
17.3MiB live, 157.4MiB allocated; 34ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
1180-2(-6.278795855950677e-156 7.53617019284683e-291)(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-rescue1000
(*.f64 y y)overflow62
(*.f64 x x)overflow51
(+.f64 (*.f64 x x) (*.f64 y y))overflow100
sqrt.f64(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))uflow-rescue160
(*.f64 y y)underflow60
(*.f64 x x)underflow62
(+.f64 (*.f64 x x) (*.f64 y y))underflow16
Confusion
Predicted +Predicted -
+1162
-0138
Precision
1.0
Recall
0.9830508474576272
Confusion?
Predicted +Predicted MaybePredicted -
+11602
-00138
Precision?
1.0
Recall?
0.9830508474576272
Freqs
test
numberfreq
0140
1116
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
46.0ms512×0valid
Compiler

Compiled 58 to 22 computations (62.1% saved)

Precisions
Click to see histograms. Total time spent on operations: 25.0ms
ival-hypot: 15.0ms (60.3% of total)
ival-mult: 7.0ms (28.1% of total)
ival-add: 2.0ms (8% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess79.0ms (3.8%)

Memory
-21.5MiB live, 22.8MiB allocated; 17ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01850
14350
29350
311850
415650
068
0108
1218
2608
31178
41548
01543
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 x)

(abs y)

(sort x y)

Compiler

Compiled 8 to 6 computations (25% saved)

eval0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated; 0ms collecting garbage
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

Memory
0.6MiB live, 0.6MiB allocated; 0ms collecting garbage
Alt Table
Click to see full alt table
StatusAccuracyProgram
57.5%
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
Compiler

Compiled 8 to 6 computations (25% saved)

simplify6.0ms (0.3%)

Memory
5.9MiB live, 5.9MiB allocated; 0ms collecting garbage
Localize:

Found 4 expressions of interest:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0623
01023
12123
26023
311723
415423
015417
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

localize21.0ms (1%)

Memory
30.1MiB live, 30.1MiB allocated; 0ms collecting garbage
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(+.f64 (*.f64 x x) (*.f64 y y))
accuracy0.0
(*.f64 y y)
accuracy0.0
(*.f64 x x)
accuracy27.22570172259072
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
Samples
15.0ms256×0valid
Compiler

Compiled 25 to 8 computations (68% saved)

Precisions
Click to see histograms. Total time spent on operations: 9.0ms
ival-hypot: 4.0ms (45.1% of total)
ival-mult: 3.0ms (33.8% of total)
ival-add: 1.0ms (11.3% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series33.0ms (1.6%)

Memory
-60.9MiB live, 12.0MiB allocated; 23ms collecting garbage
Counts
4 → 29
Calls
Call 1
Inputs
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
(+.f64 (*.f64 x x) (*.f64 y y))
(*.f64 x x)
(*.f64 y y)
Outputs
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 y))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (+ y (* 1/2 (/ (pow x 2) y)))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (+ y (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow y 3))) (* 1/2 (/ 1 y)))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (+ 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)))))))
#s(approx (+ (* x x) (* y y)) #s(hole binary64 (pow y 2)))
#s(approx (+ (* x x) (* y y)) #s(hole binary64 (+ (pow x 2) (pow y 2))))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 x))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2)))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2))))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* 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)))))))))
#s(approx (+ (* x x) (* y y)) #s(hole binary64 (pow x 2)))
#s(approx (+ (* x x) (* y y)) #s(hole binary64 (* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -1 x)))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -1 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2))))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2)))))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -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))))))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (+ x (* 1/2 (/ (pow y 2) x)))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (+ x (* (pow y 2) (+ (* -1/8 (/ (pow y 2) (pow x 3))) (* 1/2 (/ 1 x)))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (+ 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)))))))
#s(approx (* y y) #s(hole binary64 (pow y 2)))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2)))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2))))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* 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)))))))))
#s(approx (+ (* x x) (* y y)) #s(hole binary64 (* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -1 y)))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -1 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2))))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2)))))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -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))))))))))
Calls

6 calls:

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

simplify193.0ms (9.2%)

Memory
12.4MiB live, 202.0MiB allocated; 36ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0137693
1367693
21669687
37909687
08013535
Stop Event
iter limit
node limit
Counts
29 → 29
Calls
Call 1
Inputs
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 y))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (+ y (* 1/2 (/ (pow x 2) y)))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (+ y (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow y 3))) (* 1/2 (/ 1 y)))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (+ 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)))))))
#s(approx (+ (* x x) (* y y)) #s(hole binary64 (pow y 2)))
#s(approx (+ (* x x) (* y y)) #s(hole binary64 (+ (pow x 2) (pow y 2))))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 x))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2)))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2))))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* 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)))))))))
#s(approx (+ (* x x) (* y y)) #s(hole binary64 (pow x 2)))
#s(approx (+ (* x x) (* y y)) #s(hole binary64 (* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -1 x)))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -1 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2))))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2)))))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -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))))))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (+ x (* 1/2 (/ (pow y 2) x)))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (+ x (* (pow y 2) (+ (* -1/8 (/ (pow y 2) (pow x 3))) (* 1/2 (/ 1 x)))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (+ 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)))))))
#s(approx (* y y) #s(hole binary64 (pow y 2)))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2)))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2))))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* 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)))))))))
#s(approx (+ (* x x) (* y y)) #s(hole binary64 (* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -1 y)))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -1 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2))))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2)))))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -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))))))))))
Outputs
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 y))
#s(approx (sqrt (+ (* x x) (* y y))) y)
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (+ y (* 1/2 (/ (pow x 2) y)))))
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (+ y (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow y 3))) (* 1/2 (/ 1 y)))))))
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (/.f64 (fma.f64 (*.f64 #s(literal -1/8 binary64) x) (/.f64 (/.f64 x y) y) #s(literal 1/2 binary64)) y) (*.f64 x x) y))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (+ 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)))))))
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (pow.f64 x #s(literal 4 binary64)) (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)))) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y)))
#s(approx (+ (* x x) (* y y)) #s(hole binary64 (pow y 2)))
#s(approx (+ (* x x) (* y y)) (*.f64 y y))
#s(approx (+ (* x x) (* y y)) #s(hole binary64 (+ (pow x 2) (pow y 2))))
#s(approx (+ (* x x) (* y y)) (fma.f64 y y (*.f64 x x)))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx (* x x) (*.f64 x x))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 x))
#s(approx (sqrt (+ (* x x) (* y y))) x)
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2)))))))
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 (/.f64 (/.f64 y x) x) y) x))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2))))))))
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 (fma.f64 (pow.f64 y #s(literal 4 binary64)) (/.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 4 binary64))) (fma.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) x) y) (/.f64 y x) #s(literal 1 binary64))) x))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* 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)))))))))
#s(approx (sqrt (+ (* x x) (* y y))) (*.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))) (fma.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) x) y) (/.f64 y x) #s(literal 1 binary64)))) x))
#s(approx (+ (* x x) (* y y)) #s(hole binary64 (pow x 2)))
#s(approx (+ (* x x) (* y y)) (*.f64 x x))
#s(approx (+ (* x x) (* y y)) #s(hole binary64 (* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2))))))
#s(approx (+ (* x x) (* y y)) (*.f64 (fma.f64 (/.f64 (/.f64 y x) x) y #s(literal 1 binary64)) (*.f64 x x)))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -1 x)))
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -1 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2))))))))
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 (fma.f64 (/.f64 #s(literal -1/2 binary64) x) (/.f64 (*.f64 y y) x) #s(literal -1 binary64)) x))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2)))))))))
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 (fma.f64 (/.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 x #s(literal 4 binary64))) #s(literal 1/8 binary64) (fma.f64 (/.f64 #s(literal -1/2 binary64) x) (/.f64 (*.f64 y y) x) #s(literal -1 binary64))) x))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -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))))))))))
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 (neg.f64 x) (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))) (fma.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) x) y) (/.f64 y x) #s(literal 1 binary64))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (+ x (* 1/2 (/ (pow y 2) x)))))
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (/.f64 #s(literal 1/2 binary64) x) (*.f64 y y) x))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (+ x (* (pow y 2) (+ (* -1/8 (/ (pow y 2) (pow x 3))) (* 1/2 (/ 1 x)))))))
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (/.f64 (fma.f64 (*.f64 #s(literal -1/8 binary64) y) (/.f64 (/.f64 y x) x) #s(literal 1/2 binary64)) x) (*.f64 y y) x))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (+ 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)))))))
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (fma.f64 (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)))) (*.f64 y y) (/.f64 #s(literal 1/2 binary64) x)) (*.f64 y y) x))
#s(approx (* y y) #s(hole binary64 (pow y 2)))
#s(approx (* y y) (*.f64 y y))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2)))))))
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 (fma.f64 (/.f64 (/.f64 (*.f64 x x) y) y) #s(literal 1/2 binary64) #s(literal 1 binary64)) y))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2))))))))
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 (fma.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) #s(literal -1/8 binary64) (fma.f64 (/.f64 (/.f64 (*.f64 x x) y) y) #s(literal 1/2 binary64) #s(literal 1 binary64))) y))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* 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)))))))))
#s(approx (sqrt (+ (* x x) (* y 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 (/.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) #s(literal -1/8 binary64) (fma.f64 (/.f64 (/.f64 (*.f64 x x) y) y) #s(literal 1/2 binary64) #s(literal 1 binary64)))) y))
#s(approx (+ (* x x) (* y y)) #s(hole binary64 (* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2))))))
#s(approx (+ (* x x) (* y y)) (*.f64 (fma.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y y) y))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -1 y)))
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 y))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -1 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2))))))))
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 (fma.f64 (/.f64 #s(literal -1/2 binary64) y) (/.f64 (*.f64 x x) y) #s(literal -1 binary64)) y))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2)))))))))
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 (fma.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) #s(literal 1/8 binary64) (fma.f64 (/.f64 #s(literal -1/2 binary64) y) (/.f64 (*.f64 x x) y) #s(literal -1 binary64))) y))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -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))))))))))
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 (neg.f64 y) (fma.f64 (pow.f64 x #s(literal 6 binary64)) (/.f64 #s(literal 1/16 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) (fma.f64 (/.f64 (/.f64 (*.f64 x x) y) y) #s(literal 1/2 binary64) #s(literal 1 binary64))))))

rewrite81.0ms (3.9%)

Memory
10.1MiB live, 103.1MiB allocated; 7ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0621
01021
13921
034615
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
4 → 171
Calls
Call 1
Inputs
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
(+.f64 (*.f64 x x) (*.f64 y y))
(*.f64 x x)
(*.f64 y y)
Outputs
(*.f64 (pow.f64 (fma.f64 y y (*.f64 x x)) #s(literal 1/4 binary64)) (pow.f64 (fma.f64 y y (*.f64 x x)) #s(literal 1/4 binary64)))
(pow.f64 (fma.f64 y y (*.f64 x x)) #s(literal 1/2 binary64))
(/.f64 (sqrt.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64)))) (sqrt.f64 (*.f64 (+.f64 x y) (-.f64 x y))))
(/.f64 (hypot.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (sqrt.f64 (+.f64 (-.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 (*.f64 x y) #s(literal 2 binary64))) (pow.f64 x #s(literal 4 binary64)))))
(sqrt.f64 (fma.f64 y y (*.f64 x x)))
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) (neg.f64 (neg.f64 x)))
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) (neg.f64 (fabs.f64 x)))
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) (fabs.f64 (fabs.f64 x)))
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) (neg.f64 x))
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) (fabs.f64 x))
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) x)
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 y #s(literal 1 binary64)))
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (neg.f64 (neg.f64 y)))
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (neg.f64 (fabs.f64 y)))
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (fabs.f64 (fabs.f64 y)))
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (neg.f64 y))
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (fabs.f64 y))
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) y)
(hypot.f64 (neg.f64 (neg.f64 x)) (pow.f64 y #s(literal 1 binary64)))
(hypot.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 y)))
(hypot.f64 (neg.f64 (neg.f64 x)) (neg.f64 (fabs.f64 y)))
(hypot.f64 (neg.f64 (neg.f64 x)) (fabs.f64 (fabs.f64 y)))
(hypot.f64 (neg.f64 (neg.f64 x)) (neg.f64 y))
(hypot.f64 (neg.f64 (neg.f64 x)) (fabs.f64 y))
(hypot.f64 (neg.f64 (neg.f64 x)) y)
(hypot.f64 (neg.f64 (fabs.f64 x)) (pow.f64 y #s(literal 1 binary64)))
(hypot.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (neg.f64 y)))
(hypot.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 y)))
(hypot.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 y)))
(hypot.f64 (neg.f64 (fabs.f64 x)) (neg.f64 y))
(hypot.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 y))
(hypot.f64 (neg.f64 (fabs.f64 x)) y)
(hypot.f64 (neg.f64 (neg.f64 y)) (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 (neg.f64 (neg.f64 y)) (neg.f64 (neg.f64 x)))
(hypot.f64 (neg.f64 (neg.f64 y)) (neg.f64 (fabs.f64 x)))
(hypot.f64 (neg.f64 (neg.f64 y)) (fabs.f64 (fabs.f64 x)))
(hypot.f64 (neg.f64 (neg.f64 y)) (neg.f64 x))
(hypot.f64 (neg.f64 (neg.f64 y)) (fabs.f64 x))
(hypot.f64 (neg.f64 (neg.f64 y)) x)
(hypot.f64 (neg.f64 (fabs.f64 y)) (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 (neg.f64 (fabs.f64 y)) (neg.f64 (neg.f64 x)))
(hypot.f64 (neg.f64 (fabs.f64 y)) (neg.f64 (fabs.f64 x)))
(hypot.f64 (neg.f64 (fabs.f64 y)) (fabs.f64 (fabs.f64 x)))
(hypot.f64 (neg.f64 (fabs.f64 y)) (neg.f64 x))
(hypot.f64 (neg.f64 (fabs.f64 y)) (fabs.f64 x))
(hypot.f64 (neg.f64 (fabs.f64 y)) x)
(hypot.f64 (fabs.f64 (fabs.f64 x)) (pow.f64 y #s(literal 1 binary64)))
(hypot.f64 (fabs.f64 (fabs.f64 x)) (neg.f64 (neg.f64 y)))
(hypot.f64 (fabs.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 y)))
(hypot.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 y)))
(hypot.f64 (fabs.f64 (fabs.f64 x)) (neg.f64 y))
(hypot.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 y))
(hypot.f64 (fabs.f64 (fabs.f64 x)) y)
(hypot.f64 (fabs.f64 (fabs.f64 y)) (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 (fabs.f64 (fabs.f64 y)) (neg.f64 (neg.f64 x)))
(hypot.f64 (fabs.f64 (fabs.f64 y)) (neg.f64 (fabs.f64 x)))
(hypot.f64 (fabs.f64 (fabs.f64 y)) (fabs.f64 (fabs.f64 x)))
(hypot.f64 (fabs.f64 (fabs.f64 y)) (neg.f64 x))
(hypot.f64 (fabs.f64 (fabs.f64 y)) (fabs.f64 x))
(hypot.f64 (fabs.f64 (fabs.f64 y)) x)
(hypot.f64 (neg.f64 y) (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 (neg.f64 y) (neg.f64 (neg.f64 x)))
(hypot.f64 (neg.f64 y) (neg.f64 (fabs.f64 x)))
(hypot.f64 (neg.f64 y) (fabs.f64 (fabs.f64 x)))
(hypot.f64 (neg.f64 y) (neg.f64 x))
(hypot.f64 (neg.f64 y) (fabs.f64 x))
(hypot.f64 (neg.f64 y) x)
(hypot.f64 (neg.f64 x) (pow.f64 y #s(literal 1 binary64)))
(hypot.f64 (neg.f64 x) (neg.f64 (neg.f64 y)))
(hypot.f64 (neg.f64 x) (neg.f64 (fabs.f64 y)))
(hypot.f64 (neg.f64 x) (fabs.f64 (fabs.f64 y)))
(hypot.f64 (neg.f64 x) (neg.f64 y))
(hypot.f64 (neg.f64 x) (fabs.f64 y))
(hypot.f64 (neg.f64 x) y)
(hypot.f64 (fabs.f64 y) (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 (fabs.f64 y) (neg.f64 (neg.f64 x)))
(hypot.f64 (fabs.f64 y) (neg.f64 (fabs.f64 x)))
(hypot.f64 (fabs.f64 y) (fabs.f64 (fabs.f64 x)))
(hypot.f64 (fabs.f64 y) (neg.f64 x))
(hypot.f64 (fabs.f64 y) (fabs.f64 x))
(hypot.f64 (fabs.f64 y) x)
(hypot.f64 (fabs.f64 x) (pow.f64 y #s(literal 1 binary64)))
(hypot.f64 (fabs.f64 x) (neg.f64 (neg.f64 y)))
(hypot.f64 (fabs.f64 x) (neg.f64 (fabs.f64 y)))
(hypot.f64 (fabs.f64 x) (fabs.f64 (fabs.f64 y)))
(hypot.f64 (fabs.f64 x) (neg.f64 y))
(hypot.f64 (fabs.f64 x) (fabs.f64 y))
(hypot.f64 (fabs.f64 x) y)
(hypot.f64 y (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 y (neg.f64 (neg.f64 x)))
(hypot.f64 y (neg.f64 (fabs.f64 x)))
(hypot.f64 y (fabs.f64 (fabs.f64 x)))
(hypot.f64 y (neg.f64 x))
(hypot.f64 y (fabs.f64 x))
(hypot.f64 y x)
(hypot.f64 x (pow.f64 y #s(literal 1 binary64)))
(hypot.f64 x (neg.f64 (neg.f64 y)))
(hypot.f64 x (neg.f64 (fabs.f64 y)))
(hypot.f64 x (fabs.f64 (fabs.f64 y)))
(hypot.f64 x (neg.f64 y))
(hypot.f64 x (fabs.f64 y))
(hypot.f64 x y)
(exp.f64 (*.f64 (log.f64 (fma.f64 y y (*.f64 x x))) #s(literal 1/2 binary64)))
(/.f64 (-.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 x #s(literal 4 binary64))) (-.f64 (*.f64 y y) (*.f64 x x)))
(/.f64 (-.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 (*.f64 (neg.f64 y) y) #s(literal 3 binary64))) (+.f64 (pow.f64 x #s(literal 4 binary64)) (+.f64 (pow.f64 y #s(literal 4 binary64)) (*.f64 (*.f64 x x) (*.f64 (neg.f64 y) y)))))
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64)))) (neg.f64 (*.f64 (+.f64 x y) (-.f64 x y))))
(/.f64 (neg.f64 (+.f64 (pow.f64 y #s(literal 6 binary64)) (pow.f64 x #s(literal 6 binary64)))) (neg.f64 (+.f64 (-.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 (*.f64 x y) #s(literal 2 binary64))) (pow.f64 x #s(literal 4 binary64)))))
(/.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) (*.f64 (+.f64 x y) (-.f64 x y)))
(/.f64 (+.f64 (pow.f64 y #s(literal 6 binary64)) (pow.f64 x #s(literal 6 binary64))) (+.f64 (pow.f64 y #s(literal 4 binary64)) (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (*.f64 x y) #s(literal 2 binary64)))))
(/.f64 (+.f64 (pow.f64 y #s(literal 6 binary64)) (pow.f64 x #s(literal 6 binary64))) (+.f64 (-.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 (*.f64 x y) #s(literal 2 binary64))) (pow.f64 x #s(literal 4 binary64))))
(fma.f64 (pow.f64 y #s(literal 1 binary64)) (pow.f64 y #s(literal 1 binary64)) (*.f64 x x))
(fma.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)) (*.f64 (neg.f64 (neg.f64 y)) y))
(fma.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)) (*.f64 y y))
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) (*.f64 (neg.f64 (neg.f64 y)) y))
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) (*.f64 y y))
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) (*.f64 (neg.f64 (neg.f64 y)) y))
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) (*.f64 y y))
(fma.f64 (neg.f64 (neg.f64 y)) (neg.f64 (neg.f64 y)) (*.f64 x x))
(fma.f64 (neg.f64 (fabs.f64 y)) (neg.f64 (fabs.f64 y)) (*.f64 x x))
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) (*.f64 (neg.f64 (neg.f64 y)) y))
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) (*.f64 y y))
(fma.f64 (fabs.f64 (fabs.f64 y)) (fabs.f64 (fabs.f64 y)) (*.f64 x x))
(fma.f64 (neg.f64 y) (neg.f64 y) (*.f64 x x))
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 (neg.f64 (neg.f64 y)) y))
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 y y))
(fma.f64 (fabs.f64 y) (fabs.f64 y) (*.f64 x x))
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 (neg.f64 (neg.f64 y)) y))
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 y y))
(fma.f64 y y (*.f64 x x))
(fma.f64 x x (*.f64 (neg.f64 (neg.f64 y)) y))
(fma.f64 x x (*.f64 y y))
(-.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 (+.f64 x y) (-.f64 x y))) (/.f64 (pow.f64 y #s(literal 4 binary64)) (*.f64 (+.f64 x y) (-.f64 x y))))
(-.f64 (*.f64 y y) (*.f64 (neg.f64 (neg.f64 x)) (neg.f64 x)))
(-.f64 (*.f64 y y) (*.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 x)))
(-.f64 (*.f64 y y) (*.f64 (neg.f64 x) x))
(-.f64 (*.f64 y y) (*.f64 x (neg.f64 x)))
(-.f64 (*.f64 x x) (*.f64 (neg.f64 (neg.f64 y)) (neg.f64 y)))
(-.f64 (*.f64 x x) (*.f64 (neg.f64 (fabs.f64 y)) (fabs.f64 y)))
(-.f64 (*.f64 x x) (*.f64 (neg.f64 y) y))
(+.f64 (/.f64 (pow.f64 x #s(literal 6 binary64)) (+.f64 (-.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 (*.f64 x y) #s(literal 2 binary64))) (pow.f64 x #s(literal 4 binary64)))) (/.f64 (pow.f64 y #s(literal 6 binary64)) (+.f64 (-.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 (*.f64 x y) #s(literal 2 binary64))) (pow.f64 x #s(literal 4 binary64)))))
(+.f64 (*.f64 y y) (*.f64 x x))
(+.f64 (*.f64 x x) (*.f64 (neg.f64 (neg.f64 y)) y))
(+.f64 (*.f64 x x) (*.f64 y y))
(*.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)))
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)))
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)))
(*.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)))
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 (fabs.f64 x) (fabs.f64 x))
(*.f64 x x)
(pow.f64 (neg.f64 x) #s(literal 2 binary64))
(pow.f64 (fabs.f64 x) #s(literal 2 binary64))
(pow.f64 x #s(literal 2 binary64))
(neg.f64 (*.f64 (neg.f64 x) x))
(neg.f64 (*.f64 x (neg.f64 x)))
(fabs.f64 (*.f64 x x))
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))
(*.f64 (pow.f64 y #s(literal 1 binary64)) (pow.f64 y #s(literal 1 binary64)))
(*.f64 (neg.f64 (neg.f64 y)) (neg.f64 (neg.f64 y)))
(*.f64 (neg.f64 (fabs.f64 y)) (neg.f64 (fabs.f64 y)))
(*.f64 (fabs.f64 (fabs.f64 y)) (fabs.f64 (fabs.f64 y)))
(*.f64 (neg.f64 y) (neg.f64 y))
(*.f64 (fabs.f64 y) (fabs.f64 y))
(*.f64 y y)
(pow.f64 (neg.f64 y) #s(literal 2 binary64))
(pow.f64 (fabs.f64 y) #s(literal 2 binary64))
(pow.f64 y #s(literal 2 binary64))
(neg.f64 (*.f64 (neg.f64 y) y))
(fabs.f64 (*.f64 y y))
(exp.f64 (*.f64 (log.f64 y) #s(literal 2 binary64)))

eval47.0ms (2.2%)

Memory
-23.0MiB live, 73.6MiB allocated; 15ms collecting garbage
Compiler

Compiled 2 116 to 448 computations (78.8% saved)

prune3.0ms (0.2%)

Memory
14.9MiB live, 14.9MiB allocated; 0ms collecting garbage
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1982200
Fresh000
Picked101
Done000
Total1992201
Accuracy
100.0%
Counts
201 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(hypot.f64 y x)
99.6%
#s(approx (sqrt (+ (* x x) (* y y))) y)
Compiler

Compiled 13 to 10 computations (23.1% saved)

simplify7.0ms (0.3%)

Memory
19.6MiB live, 19.6MiB allocated; 0ms collecting garbage
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
cost-diff0
(hypot.f64 y x)
cost-diff0
#s(approx (sqrt (+ (* x x) (* y y))) y)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0816
01011
12211
26211
311811
415711
015711
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
#s(approx (sqrt (+ (* x x) (* y y))) y)
y
(hypot.f64 y x)
y
x
Outputs
#s(approx (sqrt (+ (* x x) (* y y))) y)
y
(hypot.f64 y x)
(hypot.f64 x y)
y
x

localize24.0ms (1.1%)

Memory
-34.3MiB live, 57.0MiB allocated; 7ms collecting garbage
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(hypot.f64 y x)
accuracy0.25883682315338047
#s(approx (sqrt (+ (* x x) (* y y))) y)
Samples
17.0ms256×0valid
Compiler

Compiled 21 to 6 computations (71.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 8.0ms
ival-hypot: 8.0ms (97.5% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series2.0ms (0.1%)

Memory
5.5MiB live, 5.4MiB allocated; 0ms collecting garbage
Counts
2 → 44
Calls
Call 1
Inputs
#s(approx (sqrt (+ (* x x) (* y y))) y)
(hypot.f64 y x)
Outputs
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 y))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (+ y (* 1/2 (/ (pow x 2) y)))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (+ y (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow y 3))) (* 1/2 (/ 1 y)))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (+ 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)))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 y))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (+ y (* 1/2 (/ (pow x 2) y)))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (+ y (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow y 3))) (* 1/2 (/ 1 y)))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (+ 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)))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 x))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2)))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2))))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* 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)))))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 x))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2)))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2))))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* 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)))))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -1 x)))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -1 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2))))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2)))))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -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))))))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -1 x)))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -1 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2))))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2)))))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -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))))))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (+ x (* 1/2 (/ (pow y 2) x)))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (+ x (* (pow y 2) (+ (* -1/8 (/ (pow y 2) (pow x 3))) (* 1/2 (/ 1 x)))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (+ 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)))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (+ x (* 1/2 (/ (pow y 2) x)))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (+ x (* (pow y 2) (+ (* -1/8 (/ (pow y 2) (pow x 3))) (* 1/2 (/ 1 x)))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (+ 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)))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2)))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2))))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* 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)))))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2)))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2))))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* 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)))))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -1 y)))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -1 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2))))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2)))))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -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))))))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -1 y)))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -1 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2))))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2)))))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -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))))))))))
Calls

6 calls:

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

simplify220.0ms (10.6%)

Memory
35.0MiB live, 258.1MiB allocated; 37ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01491200
13651200
215941188
369811188
08197900
Stop Event
iter limit
node limit
Counts
44 → 44
Calls
Call 1
Inputs
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 y))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (+ y (* 1/2 (/ (pow x 2) y)))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (+ y (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow y 3))) (* 1/2 (/ 1 y)))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (+ 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)))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 y))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (+ y (* 1/2 (/ (pow x 2) y)))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (+ y (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow y 3))) (* 1/2 (/ 1 y)))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (+ 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)))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 x))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2)))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2))))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* 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)))))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 x))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2)))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2))))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* 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)))))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -1 x)))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -1 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2))))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2)))))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -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))))))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -1 x)))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -1 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2))))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2)))))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -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))))))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (+ x (* 1/2 (/ (pow y 2) x)))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (+ x (* (pow y 2) (+ (* -1/8 (/ (pow y 2) (pow x 3))) (* 1/2 (/ 1 x)))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (+ 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)))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (+ x (* 1/2 (/ (pow y 2) x)))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (+ x (* (pow y 2) (+ (* -1/8 (/ (pow y 2) (pow x 3))) (* 1/2 (/ 1 x)))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (+ 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)))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2)))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2))))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* 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)))))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2)))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2))))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* 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)))))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -1 y)))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -1 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2))))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2)))))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -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))))))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -1 y)))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -1 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2))))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2)))))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -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))))))))))
Outputs
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 y))
#s(approx (sqrt (+ (* x x) (* y y))) y)
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (+ y (* 1/2 (/ (pow x 2) y)))))
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (+ y (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow y 3))) (* 1/2 (/ 1 y)))))))
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (/.f64 (fma.f64 (/.f64 (/.f64 (*.f64 x x) y) y) #s(literal -1/8 binary64) #s(literal 1/2 binary64)) y) (*.f64 x x) y))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (+ 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)))))))
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (pow.f64 x #s(literal 4 binary64)) (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)))) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y)))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 y))
#s(approx (sqrt (+ (* x x) (* y y))) y)
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (+ y (* 1/2 (/ (pow x 2) y)))))
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (+ y (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow y 3))) (* 1/2 (/ 1 y)))))))
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (/.f64 (fma.f64 (/.f64 (/.f64 (*.f64 x x) y) y) #s(literal -1/8 binary64) #s(literal 1/2 binary64)) y) (*.f64 x x) y))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (+ 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)))))))
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (pow.f64 x #s(literal 4 binary64)) (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)))) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y)))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 x))
#s(approx (sqrt (+ (* x x) (* y y))) x)
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2)))))))
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 (/.f64 (/.f64 y x) x) y) x))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2))))))))
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 (fma.f64 (pow.f64 y #s(literal 4 binary64)) (/.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 4 binary64))) (fma.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) x) y) (/.f64 y x) #s(literal 1 binary64))) x))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* 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)))))))))
#s(approx (sqrt (+ (* x x) (* y y))) (*.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))) (fma.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) x) y) (/.f64 y x) #s(literal 1 binary64)))) x))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 x))
#s(approx (sqrt (+ (* x x) (* y y))) x)
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2)))))))
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) (*.f64 (/.f64 (/.f64 y x) x) y) x))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2))))))))
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 (fma.f64 (pow.f64 y #s(literal 4 binary64)) (/.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 4 binary64))) (fma.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) x) y) (/.f64 y x) #s(literal 1 binary64))) x))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* 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)))))))))
#s(approx (sqrt (+ (* x x) (* y y))) (*.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))) (fma.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) x) y) (/.f64 y x) #s(literal 1 binary64)))) x))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -1 x)))
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -1 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2))))))))
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 (fma.f64 (/.f64 #s(literal -1/2 binary64) x) (/.f64 (*.f64 y y) x) #s(literal -1 binary64)) x))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2)))))))))
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 (fma.f64 (/.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 x #s(literal 4 binary64))) #s(literal 1/8 binary64) (fma.f64 (/.f64 #s(literal -1/2 binary64) x) (/.f64 (*.f64 y y) x) #s(literal -1 binary64))) x))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -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))))))))))
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 (neg.f64 x) (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))) (fma.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) x) y) (/.f64 y x) #s(literal 1 binary64))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -1 x)))
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -1 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2))))))))
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 (fma.f64 (/.f64 #s(literal -1/2 binary64) x) (/.f64 (*.f64 y y) x) #s(literal -1 binary64)) x))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2)))))))))
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 (fma.f64 (/.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 x #s(literal 4 binary64))) #s(literal 1/8 binary64) (fma.f64 (/.f64 #s(literal -1/2 binary64) x) (/.f64 (*.f64 y y) x) #s(literal -1 binary64))) x))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -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))))))))))
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 (neg.f64 x) (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))) (fma.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) x) y) (/.f64 y x) #s(literal 1 binary64))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (+ x (* 1/2 (/ (pow y 2) x)))))
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (/.f64 #s(literal 1/2 binary64) x) (*.f64 y y) x))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (+ x (* (pow y 2) (+ (* -1/8 (/ (pow y 2) (pow x 3))) (* 1/2 (/ 1 x)))))))
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (/.f64 (fma.f64 (/.f64 (/.f64 #s(literal -1/8 binary64) x) x) (*.f64 y y) #s(literal 1/2 binary64)) x) (*.f64 y y) x))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (+ 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)))))))
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (fma.f64 (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)))) (*.f64 y y) (/.f64 #s(literal 1/2 binary64) x)) (*.f64 y y) x))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (+ x (* 1/2 (/ (pow y 2) x)))))
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (/.f64 #s(literal 1/2 binary64) x) (*.f64 y y) x))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (+ x (* (pow y 2) (+ (* -1/8 (/ (pow y 2) (pow x 3))) (* 1/2 (/ 1 x)))))))
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (/.f64 (fma.f64 (/.f64 (/.f64 #s(literal -1/8 binary64) x) x) (*.f64 y y) #s(literal 1/2 binary64)) x) (*.f64 y y) x))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (+ 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)))))))
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (fma.f64 (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)))) (*.f64 y y) (/.f64 #s(literal 1/2 binary64) x)) (*.f64 y y) x))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2)))))))
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 (fma.f64 (/.f64 (/.f64 (*.f64 x x) y) y) #s(literal 1/2 binary64) #s(literal 1 binary64)) y))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2))))))))
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 (fma.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) #s(literal -1/8 binary64) (fma.f64 (/.f64 (/.f64 (*.f64 x x) y) y) #s(literal 1/2 binary64) #s(literal 1 binary64))) y))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* 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)))))))))
#s(approx (sqrt (+ (* x x) (* y 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 (/.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) #s(literal -1/8 binary64) (fma.f64 (/.f64 (/.f64 (*.f64 x x) y) y) #s(literal 1/2 binary64) #s(literal 1 binary64)))) y))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2)))))))
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 (fma.f64 (/.f64 (/.f64 (*.f64 x x) y) y) #s(literal 1/2 binary64) #s(literal 1 binary64)) y))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2))))))))
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 (fma.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) #s(literal -1/8 binary64) (fma.f64 (/.f64 (/.f64 (*.f64 x x) y) y) #s(literal 1/2 binary64) #s(literal 1 binary64))) y))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* 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)))))))))
#s(approx (sqrt (+ (* x x) (* y 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 (/.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) #s(literal -1/8 binary64) (fma.f64 (/.f64 (/.f64 (*.f64 x x) y) y) #s(literal 1/2 binary64) #s(literal 1 binary64)))) y))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -1 y)))
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 y))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -1 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2))))))))
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 (fma.f64 (/.f64 #s(literal -1/2 binary64) y) (/.f64 (*.f64 x x) y) #s(literal -1 binary64)) y))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2)))))))))
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 (fma.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) #s(literal 1/8 binary64) (fma.f64 (/.f64 #s(literal -1/2 binary64) y) (/.f64 (*.f64 x x) y) #s(literal -1 binary64))) y))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -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))))))))))
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 (neg.f64 y) (fma.f64 (pow.f64 x #s(literal 6 binary64)) (/.f64 #s(literal 1/16 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) (fma.f64 (/.f64 (/.f64 (*.f64 x x) y) y) #s(literal 1/2 binary64) #s(literal 1 binary64))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -1 y)))
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 y))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -1 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2))))))))
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 (fma.f64 (/.f64 #s(literal -1/2 binary64) y) (/.f64 (*.f64 x x) y) #s(literal -1 binary64)) y))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2)))))))))
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 (fma.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) #s(literal 1/8 binary64) (fma.f64 (/.f64 #s(literal -1/2 binary64) y) (/.f64 (*.f64 x x) y) #s(literal -1 binary64))) y))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -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))))))))))
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 (neg.f64 y) (fma.f64 (pow.f64 x #s(literal 6 binary64)) (/.f64 #s(literal 1/16 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) (fma.f64 (/.f64 (/.f64 (*.f64 x x) y) y) #s(literal 1/2 binary64) #s(literal 1 binary64))))))

rewrite51.0ms (2.5%)

Memory
-18.2MiB live, 48.0MiB allocated; 26ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0813
0108
1498
05008
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
2 → 107
Calls
Call 1
Inputs
#s(approx (sqrt (+ (* x x) (* y y))) y)
(hypot.f64 y x)
Outputs
#s(approx (sqrt (+ (* x x) (* y y))) y)
(*.f64 (pow.f64 (fma.f64 y y (*.f64 x x)) #s(literal 1/4 binary64)) (pow.f64 (fma.f64 y y (*.f64 x x)) #s(literal 1/4 binary64)))
(pow.f64 (fma.f64 y y (*.f64 x x)) #s(literal 1/2 binary64))
(/.f64 (sqrt.f64 (-.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 x #s(literal 4 binary64)))) (sqrt.f64 (*.f64 (+.f64 y x) (-.f64 y x))))
(/.f64 (sqrt.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64)))) (sqrt.f64 (*.f64 (+.f64 x y) (-.f64 x y))))
(/.f64 (hypot.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (sqrt.f64 (+.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))) (pow.f64 y #s(literal 4 binary64)))))
(/.f64 (hypot.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (sqrt.f64 (+.f64 (-.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))) (pow.f64 x #s(literal 4 binary64)))))
(sqrt.f64 (fma.f64 y y (*.f64 x x)))
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) (neg.f64 (neg.f64 x)))
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) (neg.f64 (fabs.f64 x)))
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) (fabs.f64 (fabs.f64 x)))
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) (neg.f64 x))
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) (fabs.f64 x))
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) x)
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 y #s(literal 1 binary64)))
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (neg.f64 (neg.f64 y)))
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (neg.f64 (fabs.f64 y)))
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (fabs.f64 (fabs.f64 y)))
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (neg.f64 y))
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (fabs.f64 y))
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) y)
(hypot.f64 (neg.f64 (neg.f64 x)) (pow.f64 y #s(literal 1 binary64)))
(hypot.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 y)))
(hypot.f64 (neg.f64 (neg.f64 x)) (neg.f64 (fabs.f64 y)))
(hypot.f64 (neg.f64 (neg.f64 x)) (fabs.f64 (fabs.f64 y)))
(hypot.f64 (neg.f64 (neg.f64 x)) (neg.f64 y))
(hypot.f64 (neg.f64 (neg.f64 x)) (fabs.f64 y))
(hypot.f64 (neg.f64 (neg.f64 x)) y)
(hypot.f64 (neg.f64 (fabs.f64 x)) (pow.f64 y #s(literal 1 binary64)))
(hypot.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (neg.f64 y)))
(hypot.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 y)))
(hypot.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 y)))
(hypot.f64 (neg.f64 (fabs.f64 x)) (neg.f64 y))
(hypot.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 y))
(hypot.f64 (neg.f64 (fabs.f64 x)) y)
(hypot.f64 (neg.f64 (neg.f64 y)) (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 (neg.f64 (neg.f64 y)) (neg.f64 (neg.f64 x)))
(hypot.f64 (neg.f64 (neg.f64 y)) (neg.f64 (fabs.f64 x)))
(hypot.f64 (neg.f64 (neg.f64 y)) (fabs.f64 (fabs.f64 x)))
(hypot.f64 (neg.f64 (neg.f64 y)) (neg.f64 x))
(hypot.f64 (neg.f64 (neg.f64 y)) (fabs.f64 x))
(hypot.f64 (neg.f64 (neg.f64 y)) x)
(hypot.f64 (neg.f64 (fabs.f64 y)) (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 (neg.f64 (fabs.f64 y)) (neg.f64 (neg.f64 x)))
(hypot.f64 (neg.f64 (fabs.f64 y)) (neg.f64 (fabs.f64 x)))
(hypot.f64 (neg.f64 (fabs.f64 y)) (fabs.f64 (fabs.f64 x)))
(hypot.f64 (neg.f64 (fabs.f64 y)) (neg.f64 x))
(hypot.f64 (neg.f64 (fabs.f64 y)) (fabs.f64 x))
(hypot.f64 (neg.f64 (fabs.f64 y)) x)
(hypot.f64 (fabs.f64 (fabs.f64 x)) (pow.f64 y #s(literal 1 binary64)))
(hypot.f64 (fabs.f64 (fabs.f64 x)) (neg.f64 (neg.f64 y)))
(hypot.f64 (fabs.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 y)))
(hypot.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 y)))
(hypot.f64 (fabs.f64 (fabs.f64 x)) (neg.f64 y))
(hypot.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 y))
(hypot.f64 (fabs.f64 (fabs.f64 x)) y)
(hypot.f64 (fabs.f64 (fabs.f64 y)) (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 (fabs.f64 (fabs.f64 y)) (neg.f64 (neg.f64 x)))
(hypot.f64 (fabs.f64 (fabs.f64 y)) (neg.f64 (fabs.f64 x)))
(hypot.f64 (fabs.f64 (fabs.f64 y)) (fabs.f64 (fabs.f64 x)))
(hypot.f64 (fabs.f64 (fabs.f64 y)) (neg.f64 x))
(hypot.f64 (fabs.f64 (fabs.f64 y)) (fabs.f64 x))
(hypot.f64 (fabs.f64 (fabs.f64 y)) x)
(hypot.f64 (neg.f64 y) (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 (neg.f64 y) (neg.f64 (neg.f64 x)))
(hypot.f64 (neg.f64 y) (neg.f64 (fabs.f64 x)))
(hypot.f64 (neg.f64 y) (fabs.f64 (fabs.f64 x)))
(hypot.f64 (neg.f64 y) (neg.f64 x))
(hypot.f64 (neg.f64 y) (fabs.f64 x))
(hypot.f64 (neg.f64 y) x)
(hypot.f64 (neg.f64 x) (pow.f64 y #s(literal 1 binary64)))
(hypot.f64 (neg.f64 x) (neg.f64 (neg.f64 y)))
(hypot.f64 (neg.f64 x) (neg.f64 (fabs.f64 y)))
(hypot.f64 (neg.f64 x) (fabs.f64 (fabs.f64 y)))
(hypot.f64 (neg.f64 x) (neg.f64 y))
(hypot.f64 (neg.f64 x) (fabs.f64 y))
(hypot.f64 (neg.f64 x) y)
(hypot.f64 (fabs.f64 y) (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 (fabs.f64 y) (neg.f64 (neg.f64 x)))
(hypot.f64 (fabs.f64 y) (neg.f64 (fabs.f64 x)))
(hypot.f64 (fabs.f64 y) (fabs.f64 (fabs.f64 x)))
(hypot.f64 (fabs.f64 y) (neg.f64 x))
(hypot.f64 (fabs.f64 y) (fabs.f64 x))
(hypot.f64 (fabs.f64 y) x)
(hypot.f64 (fabs.f64 x) (pow.f64 y #s(literal 1 binary64)))
(hypot.f64 (fabs.f64 x) (neg.f64 (neg.f64 y)))
(hypot.f64 (fabs.f64 x) (neg.f64 (fabs.f64 y)))
(hypot.f64 (fabs.f64 x) (fabs.f64 (fabs.f64 y)))
(hypot.f64 (fabs.f64 x) (neg.f64 y))
(hypot.f64 (fabs.f64 x) (fabs.f64 y))
(hypot.f64 (fabs.f64 x) y)
(hypot.f64 y (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 y (neg.f64 (neg.f64 x)))
(hypot.f64 y (neg.f64 (fabs.f64 x)))
(hypot.f64 y (fabs.f64 (fabs.f64 x)))
(hypot.f64 y (neg.f64 x))
(hypot.f64 y (fabs.f64 x))
(hypot.f64 y x)
(hypot.f64 x (pow.f64 y #s(literal 1 binary64)))
(hypot.f64 x (neg.f64 (neg.f64 y)))
(hypot.f64 x (neg.f64 (fabs.f64 y)))
(hypot.f64 x (fabs.f64 (fabs.f64 y)))
(hypot.f64 x (neg.f64 y))
(hypot.f64 x (fabs.f64 y))
(hypot.f64 x y)
(exp.f64 (*.f64 (log.f64 (fma.f64 y y (*.f64 x x))) #s(literal 1/2 binary64)))

eval13.0ms (0.6%)

Memory
22.9MiB live, 22.9MiB allocated; 0ms collecting garbage
Compiler

Compiled 1 254 to 254 computations (79.7% saved)

prune31.0ms (1.5%)

Memory
-35.5MiB live, 8.8MiB allocated; 9ms collecting garbage
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1280128
Fresh000
Picked022
Done000
Total1282130
Accuracy
100.0%
Counts
130 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(hypot.f64 y x)
99.6%
#s(approx (sqrt (+ (* x x) (* y y))) y)
Compiler

Compiled 34 to 22 computations (35.3% saved)

regimes9.0ms (0.4%)

Memory
21.8MiB live, 21.8MiB allocated; 0ms collecting garbage
Counts
3 → 1
Calls
Call 1
Inputs
#s(approx (sqrt (+ (* x x) (* y y))) y)
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
(hypot.f64 y x)
Outputs
(hypot.f64 y x)
Calls

6 calls:

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

Compiled 23 to 21 computations (8.7% saved)

regimes11.0ms (0.5%)

Memory
-21.5MiB live, 22.6MiB allocated; 5ms collecting garbage
Accuracy

Total -27.0b remaining (-10418.5%)

Threshold costs -27b (-10418.5%)

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

6 calls:

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

Compiled 23 to 21 computations (8.7% saved)

simplify11.0ms (0.6%)

Memory
34.7MiB live, 34.7MiB allocated; 0ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0813
11913
25813
311513
415213
Stop Event
saturated
Calls
Call 1
Inputs
(hypot.f64 y x)
#s(approx (sqrt (+ (* x x) (* y y))) y)
Outputs
(hypot.f64 y x)
#s(approx (sqrt (+ (* x x) (* y y))) y)

derivations36.0ms (1.7%)

Memory
-36.6MiB live, 9.8MiB allocated; 4ms collecting garbage
Stop Event
done
Compiler

Compiled 13 to 8 computations (38.5% saved)

preprocess36.0ms (1.7%)

Memory
2.2MiB live, 59.6MiB allocated; 7ms collecting garbage
Remove

(sort x y)

(abs y)

(abs x)

Compiler

Compiled 98 to 72 computations (26.5% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated; 0ms collecting garbage

Profiling

Loading profile data...