<?xml version="1.0"?>
<div>:: <span class="kw">deftheorem </span><span class="lab"><font color="Green" title="E13">Def10</font></span>   defines <a href="metric_3.html#K10" title="METRIC_3:func.10">dist_cart2S</a> <a onclick="hs(this)" href="javascript:()">METRIC_3:def 10 : <br/></a><span> for <font color="Olive" title="b1">X</font>, <font color="Olive" title="b2">Y</font> being   non  <a href="struct_0.html#V2" title="STRUCT_0:attr.2">empty</a>  <a href="metric_1.html#NM1" title="METRIC_1:NM.1">MetrSpace</a><br/>  for <font color="Olive">b<sub>3</sub></font> being   <a href="funct_2.html#NM1" title="FUNCT_2:NM.1">Function</a> of <span class="p1"><a href="zfmisc_1.html#K2" title="ZFMISC_1:func.2">[:</a><span class="default"><span class="p2"><a href="zfmisc_1.html#K2" title="ZFMISC_1:func.2">[:</a><span class="default"> the <a href="struct_0.html#U1" title="STRUCT_0:sel.1">carrier</a> of <font color="Olive" title="b1">X</font>, the <a href="struct_0.html#U1" title="STRUCT_0:sel.1">carrier</a> of <font color="Olive" title="b2">Y</font></span><a href="zfmisc_1.html#K2" title="ZFMISC_1:func.2">:]</a></span>,<span class="p2"><a href="zfmisc_1.html#K2" title="ZFMISC_1:func.2">[:</a><span class="default"> the <a href="struct_0.html#U1" title="STRUCT_0:sel.1">carrier</a> of <font color="Olive" title="b1">X</font>, the <a href="struct_0.html#U1" title="STRUCT_0:sel.1">carrier</a> of <font color="Olive" title="b2">Y</font></span><a href="zfmisc_1.html#K2" title="ZFMISC_1:func.2">:]</a></span></span><a href="zfmisc_1.html#K2" title="ZFMISC_1:func.2">:]</a></span>,<a href="numbers.html#K1" title="NUMBERS:func.1">REAL</a> holds <br/> ( <font color="Olive">b<sub>3</sub></font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="metric_3.html#K10" title="METRIC_3:func.10">dist_cart2S</a> (<font color="Olive" title="b1">X</font>,<font color="Olive" title="b2">Y</font>) iff  for <font color="Olive" title="b4">x1</font>, <font color="Olive" title="b5">y1</font> being   <a href="struct_0.html#NM1" title="STRUCT_0:NM.1">Element</a> of <font color="Olive" title="b1">X</font><br/>  for <font color="Olive" title="b6">x2</font>, <font color="Olive" title="b7">y2</font> being   <a href="struct_0.html#NM1" title="STRUCT_0:NM.1">Element</a> of <font color="Olive" title="b2">Y</font><br/>  for <font color="Olive" title="b8">x</font>, <font color="Olive" title="b9">y</font> being    <a href="subset_1.html#M1" title="SUBSET_1:mode.1">Element</a> of <span class="p1"><a href="zfmisc_1.html#K2" title="ZFMISC_1:func.2">[:</a><span class="default"> the <a href="struct_0.html#U1" title="STRUCT_0:sel.1">carrier</a> of <font color="Olive" title="b1">X</font>, the <a href="struct_0.html#U1" title="STRUCT_0:sel.1">carrier</a> of <font color="Olive" title="b2">Y</font></span><a href="zfmisc_1.html#K2" title="ZFMISC_1:func.2">:]</a></span>  st <font color="Olive" title="b8">x</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1"><a href="domain_1.html#K1" title="DOMAIN_1:func.1">[</a><span class="default"><font color="Olive" title="b4">x1</font>,<font color="Olive" title="b6">x2</font></span><a href="domain_1.html#K1" title="DOMAIN_1:func.1">]</a></span> &amp; <font color="Olive" title="b9">y</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1"><a href="domain_1.html#K1" title="DOMAIN_1:func.1">[</a><span class="default"><font color="Olive" title="b5">y1</font>,<font color="Olive" title="b7">y2</font></span><a href="domain_1.html#K1" title="DOMAIN_1:func.1">]</a></span> holds <br/><font color="Olive">b<sub>3</sub></font> <a href="binop_1.html#K2" title="BINOP_1:func.2">.</a> (<font color="Olive" title="b8">x</font>,<font color="Olive" title="b9">y</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="square_1.html#K3" title="SQUARE_1:func.3">sqrt</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><span class="p3">(<span class="default"><a href="metric_1.html#K3" title="METRIC_1:func.3">dist</a> (<font color="Olive" title="b4">x1</font>,<font color="Olive" title="b5">y1</font>)</span>)</span> <a href="square_1.html#K1" title="SQUARE_1:func.1">^2</a></span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p2">(<span class="default"><span class="p3">(<span class="default"><a href="metric_1.html#K3" title="METRIC_1:func.3">dist</a> (<font color="Olive" title="b6">x2</font>,<font color="Olive" title="b7">y2</font>)</span>)</span> <a href="square_1.html#K1" title="SQUARE_1:func.1">^2</a></span>)</span></span>)</span> );<br/></span></div>
