<?xml version="1.0"?>
<div class="add">

<span class="kw">let </span><font color="Maroon" title="c1">r1</font>, <font color="Maroon" title="c2">s1</font>, <font color="Maroon" title="c3">r2</font>, <font color="Maroon" title="c4">s2</font> be   <a href="xreal_0.html#NM1" title="XREAL_0:NM.1">Real</a>; <a class="txt" onmouseover="tooltip.show('hs',this)" onmouseout="tooltip.hide()" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="firebrick">::  thesis: </font></span></a><span class="hide">  for <font color="Olive" title="b1">u</font>, <font color="Olive" title="b2">v</font> being   <a href="pre_topc.html#NM2" title="PRE_TOPC:NM.2">Point</a> of <span class="p1">(<span class="default"><a href="euclid.html#K14" title="EUCLID:func.14">Euclid</a> 2</span>)</span>  st <font color="Olive" title="b1">u</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1"><a href="euclid.html#K19" title="EUCLID:func.19">|[</a><span class="default"><font color="Maroon" title="c1">r1</font>,<font color="Maroon" title="c2">s1</font></span><a href="euclid.html#K19" title="EUCLID:func.19">]|</a></span> &amp; <font color="Olive" title="b2">v</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1"><a href="euclid.html#K19" title="EUCLID:func.19">|[</a><span class="default"><font color="Maroon" title="c3">r2</font>,<font color="Maroon" title="c4">s2</font></span><a href="euclid.html#K19" title="EUCLID:func.19">]|</a></span> holds <br/> <a href="metric_1.html#K3" title="METRIC_1:func.3">dist</a> (<font color="Olive" title="b1">u</font>,<font color="Olive" title="b2">v</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"><font color="Maroon" title="c1">r1</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">r2</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"><font color="Maroon" title="c2">s1</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c4">s2</font></span>)</span> <a href="square_1.html#K1" title="SQUARE_1:func.1">^2</a></span>)</span></span>)</span></span><br/><span class="kw">let </span><font color="Maroon" title="c5">u</font>, <font color="Maroon" title="c6">v</font> be   <a href="pre_topc.html#NM2" title="PRE_TOPC:NM.2">Point</a> of <span class="p1">(<span class="default"><a href="euclid.html#K14" title="EUCLID:func.14">Euclid</a> 2</span>)</span>; <a class="txt" onmouseover="tooltip.show('hs',this)" onmouseout="tooltip.hide()" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="firebrick">::  thesis: </font></span></a><span class="hide"> ( <font color="Maroon" title="c5">u</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1"><a href="euclid.html#K19" title="EUCLID:func.19">|[</a><span class="default"><font color="Maroon" title="c1">r1</font>,<font color="Maroon" title="c2">s1</font></span><a href="euclid.html#K19" title="EUCLID:func.19">]|</a></span> &amp; <font color="Maroon" title="c6">v</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1"><a href="euclid.html#K19" title="EUCLID:func.19">|[</a><span class="default"><font color="Maroon" title="c3">r2</font>,<font color="Maroon" title="c4">s2</font></span><a href="euclid.html#K19" title="EUCLID:func.19">]|</a></span> implies  <a href="metric_1.html#K3" title="METRIC_1:func.3">dist</a> (<font color="Maroon" title="c5">u</font>,<font color="Maroon" title="c6">v</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"><font color="Maroon" title="c1">r1</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">r2</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"><font color="Maroon" title="c2">s1</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c4">s2</font></span>)</span> <a href="square_1.html#K1" title="SQUARE_1:func.1">^2</a></span>)</span></span>)</span> )</span><br/>









<span class="kw">assume </span><a NAME="E1:11"/><span class="lab"><font color="Green" title="E12">A1</font></span>: 
( <font color="Maroon" title="c5">u</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1"><a href="euclid.html#K19" title="EUCLID:func.19">|[</a><span class="default"><font color="Maroon" title="c1">r1</font>,<font color="Maroon" title="c2">s1</font></span><a href="euclid.html#K19" title="EUCLID:func.19">]|</a></span> &amp; <font color="Maroon" title="c6">v</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1"><a href="euclid.html#K19" title="EUCLID:func.19">|[</a><span class="default"><font color="Maroon" title="c3">r2</font>,<font color="Maroon" title="c4">s2</font></span><a href="euclid.html#K19" title="EUCLID:func.19">]|</a></span> )
 ; <a class="txt" onmouseover="tooltip.show('hs',this)" onmouseout="tooltip.hide()" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="firebrick">::  thesis: </font></span></a><span class="hide">  <a href="metric_1.html#K3" title="METRIC_1:func.3">dist</a> (<font color="Maroon" title="c5">u</font>,<font color="Maroon" title="c6">v</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"><font color="Maroon" title="c1">r1</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">r2</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"><font color="Maroon" title="c2">s1</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c4">s2</font></span>)</span> <a href="square_1.html#K1" title="SQUARE_1:func.1">^2</a></span>)</span></span>)</span></span><br/>

<a NAME="E2:11"/><span class="lab"><font color="Green" title="E13">A2</font></span>: 
( <span class="p1"><a href="euclid.html#K19" title="EUCLID:func.19">|[</a><span class="default"><font color="Maroon" title="c1">r1</font>,<font color="Maroon" title="c2">s1</font></span><a href="euclid.html#K19" title="EUCLID:func.19">]|</a></span> <a href="euclid.html#K17" title="EUCLID:func.17">`1</a>  <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c1">r1</font> &amp; <span class="p1"><a href="euclid.html#K19" title="EUCLID:func.19">|[</a><span class="default"><font color="Maroon" title="c1">r1</font>,<font color="Maroon" title="c2">s1</font></span><a href="euclid.html#K19" title="EUCLID:func.19">]|</a></span> <a href="euclid.html#K18" title="EUCLID:func.18">`2</a>  <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c2">s1</font> )
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="euclid.html#T52" onmouseover="rs('euclid/T52')" onmouseout="rh()">EUCLID:52</a></span>;<br/>
<a NAME="E3:11"/><span class="lab"><font color="Green" title="E14">A3</font></span>: 
( <span class="p1"><a href="euclid.html#K19" title="EUCLID:func.19">|[</a><span class="default"><font color="Maroon" title="c3">r2</font>,<font color="Maroon" title="c4">s2</font></span><a href="euclid.html#K19" title="EUCLID:func.19">]|</a></span> <a href="euclid.html#K17" title="EUCLID:func.17">`1</a>  <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c3">r2</font> &amp; <span class="p1"><a href="euclid.html#K19" title="EUCLID:func.19">|[</a><span class="default"><font color="Maroon" title="c3">r2</font>,<font color="Maroon" title="c4">s2</font></span><a href="euclid.html#K19" title="EUCLID:func.19">]|</a></span> <a href="euclid.html#K18" title="EUCLID:func.18">`2</a>  <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c4">s2</font> )
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="euclid.html#T52" onmouseover="rs('euclid/T52')" onmouseout="rh()">EUCLID:52</a></span>;<br/>
<span class="kw">thus </span> <a href="metric_1.html#K3" title="METRIC_1:func.3">dist</a> (<font color="Maroon" title="c5">u</font>,<font color="Maroon" title="c6">v</font>) = 
<span class="p1">(<span class="default"><a href="euclid.html#K13" title="EUCLID:func.13">Pitag_dist</a> 2</span>)</span> <a href="binop_1.html#K1" title="BINOP_1:func.1">.</a> (<font color="Maroon" title="c5">u</font>,<font color="Maroon" title="c6">v</font>)
<span class="kw">by</span> <span class="lab"><a class="ref" href="metric_1.html#D1" onmouseover="rs('metric_1/D1')" onmouseout="rh()">METRIC_1:def 1</a></span>
<br/>.= 
 <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"><font color="Maroon" title="c1">r1</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">r2</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"><font color="Maroon" title="c2">s1</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c4">s2</font></span>)</span> <a href="square_1.html#K1" title="SQUARE_1:func.1">^2</a></span>)</span></span>)</span>
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:11"><span class="lab"><font color="Green" title="E12">A1</font></span></a>, <a class="txt" href="#E2:11"><span class="lab"><font color="Green" title="E13">A2</font></span></a>, <a class="txt" href="#E3:11"><span class="lab"><font color="Green" title="E14">A3</font></span></a>, <a class="ref" href="topreal3.html#T7" onmouseover="rs('topreal3/T7')" onmouseout="rh()">TOPREAL3:7</a></span>
; <a class="txt" onmouseover="tooltip.show('hs',this)" onmouseout="tooltip.hide()" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="firebrick">::  thesis: </font></span></a><span class="hide"> verum</span><br/>


</div>
