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

<span class="kw">let </span><font color="Maroon" title="c1">a</font>, <font color="Maroon" title="c2">b</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">xa</font>, <font color="Olive" title="b2">xb</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> 1</span>)</span>  st <font color="Olive" title="b1">xa</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1"><a href="matrprob.html#K2" title="MATRPROB:func.2">&lt;*</a><span class="default"><font color="Maroon" title="c1">a</font></span><a href="matrprob.html#K2" title="MATRPROB:func.2">*&gt;</a></span> &amp; <font color="Olive" title="b2">xb</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1"><a href="matrprob.html#K2" title="MATRPROB:func.2">&lt;*</a><span class="default"><font color="Maroon" title="c2">b</font></span><a href="matrprob.html#K2" title="MATRPROB:func.2">*&gt;</a></span> holds <br/> <a href="metric_1.html#K3" title="METRIC_1:func.3">dist</a> (<font color="Olive" title="b1">xa</font>,<font color="Olive" title="b2">xb</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1"><a href="complex1.html#K9" title="COMPLEX1:func.9">|.</a><span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c2">b</font></span>)</span></span><a href="complex1.html#K9" title="COMPLEX1:func.9">.|</a></span></span><br/><span class="kw">let </span><font color="Maroon" title="c3">xa</font>, <font color="Maroon" title="c4">xb</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> 1</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="c3">xa</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1"><a href="matrprob.html#K2" title="MATRPROB:func.2">&lt;*</a><span class="default"><font color="Maroon" title="c1">a</font></span><a href="matrprob.html#K2" title="MATRPROB:func.2">*&gt;</a></span> &amp; <font color="Maroon" title="c4">xb</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1"><a href="matrprob.html#K2" title="MATRPROB:func.2">&lt;*</a><span class="default"><font color="Maroon" title="c2">b</font></span><a href="matrprob.html#K2" title="MATRPROB:func.2">*&gt;</a></span> implies  <a href="metric_1.html#K3" title="METRIC_1:func.3">dist</a> (<font color="Maroon" title="c3">xa</font>,<font color="Maroon" title="c4">xb</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1"><a href="complex1.html#K9" title="COMPLEX1:func.9">|.</a><span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c2">b</font></span>)</span></span><a href="complex1.html#K9" title="COMPLEX1:func.9">.|</a></span> )</span><br/>



<span class="kw">assume </span><span class="kw">that </span><br/><a NAME="E1:22"/><span class="lab"><font color="Green" title="E18">A1</font></span>: 
<font color="Maroon" title="c3">xa</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1"><a href="matrprob.html#K2" title="MATRPROB:func.2">&lt;*</a><span class="default"><font color="Maroon" title="c1">a</font></span><a href="matrprob.html#K2" title="MATRPROB:func.2">*&gt;</a></span>
 <span class="kw">and </span><br/><a NAME="E2:22"/><span class="lab"><font color="Green" title="E19">A2</font></span>: 
<font color="Maroon" title="c4">xb</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1"><a href="matrprob.html#K2" title="MATRPROB:func.2">&lt;*</a><span class="default"><font color="Maroon" title="c2">b</font></span><a href="matrprob.html#K2" title="MATRPROB:func.2">*&gt;</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="c3">xa</font>,<font color="Maroon" title="c4">xb</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1"><a href="complex1.html#K9" title="COMPLEX1:func.9">|.</a><span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c2">b</font></span>)</span></span><a href="complex1.html#K9" title="COMPLEX1:func.9">.|</a></span></span><br/>

<a NAME="E3:22"/>
( <font color="Maroon" title="c3">xa</font> <a href="struct_0.html#R1" title="STRUCT_0:pred.1">in</a>  <a href="euclid.html#K14" title="EUCLID:func.14">Euclid</a> 1 &amp; <font color="Maroon" title="c4">xb</font> <a href="struct_0.html#R1" title="STRUCT_0:pred.1">in</a>  <a href="euclid.html#K14" title="EUCLID:func.14">Euclid</a> 1 )
 
;<br/>
<a NAME="E4:22"/><span class="kw">then </span>
( <font color="Maroon" title="c3">xa</font> <a href="struct_0.html#R1" title="STRUCT_0:pred.1">in</a>  <a href="euclid.html#K15" title="EUCLID:func.15">TOP-REAL</a> 1 &amp; <font color="Maroon" title="c4">xb</font> <a href="struct_0.html#R1" title="STRUCT_0:pred.1">in</a>  <a href="euclid.html#K15" title="EUCLID:func.15">TOP-REAL</a> 1 )
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="euclid.html#T67" onmouseover="rs('euclid/T67')" onmouseout="rh()">EUCLID:67</a></span>;<br/>
<span class="kw">then </span><span class="kw">reconsider </span><font color="Maroon" title="c5">ra</font> = <font color="Maroon" title="c3">xa</font>, <font color="Maroon" title="c6">rb</font> = <font color="Maroon" title="c4">xb</font> as    <a href="finseq_2.html#M2" title="FINSEQ_2:mode.2">Element</a> of  <a href="euclid.html#K1" title="EUCLID:func.1">REAL</a> 1 <span class="kw">by</span> <span class="lab"><a class="ref" href="euclid.html#T22" onmouseover="rs('euclid/T22')" onmouseout="rh()">EUCLID:22</a></span>;<br/>
<a NAME="E6:22"/><span class="lab"><font color="Green" title="E20">A3</font></span>: 
 <a href="euclid.html#K14" title="EUCLID:func.14">Euclid</a> 1 <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="metric_1.html#G1" title="METRIC_1:aggr.1">MetrStruct</a>(# <span class="p1">(<span class="default"><a href="euclid.html#K1" title="EUCLID:func.1">REAL</a> 1</span>)</span>,<span class="p1">(<span class="default"><a href="euclid.html#K13" title="EUCLID:func.13">Pitag_dist</a> 1</span>)</span> #)
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="euclid.html#D7" onmouseover="rs('euclid/D7')" onmouseout="rh()">EUCLID:def 7</a></span>;<br/>
<a NAME="E7:22"/><span class="lab"><font color="Green" title="E21">A4</font></span>: 
<font color="Maroon" title="c5">ra</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 <a href="finseq_2.html#K2" title="FINSEQ_2:func.2">|-&gt;</a> <font color="Maroon" title="c1">a</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:22"><span class="lab"><font color="Green" title="E18">A1</font></span></a>, <a class="ref" href="finseq_2.html#T59" onmouseover="rs('finseq_2/T59')" onmouseout="rh()">FINSEQ_2:59</a></span>;<br/>
<a NAME="E8:22"/>
<font color="Maroon" title="c6">rb</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 <a href="finseq_2.html#K2" title="FINSEQ_2:func.2">|-&gt;</a> <font color="Maroon" title="c2">b</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:22"><span class="lab"><font color="Green" title="E19">A2</font></span></a>, <a class="ref" href="finseq_2.html#T59" onmouseover="rs('finseq_2/T59')" onmouseout="rh()">FINSEQ_2:59</a></span>;<br/>
<span class="kw">then </span><span class="p1"><a href="euclid.html#K12" title="EUCLID:func.12">|.</a><span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c5">ra</font> <a href="euclid.html#K8" title="EUCLID:func.8">-</a> <font color="Maroon" title="c6">rb</font></span>)</span></span><a href="euclid.html#K12" title="EUCLID:func.12">.|</a></span> = 
<span class="p1">(<span class="default"><a href="square_1.html#K3" title="SQUARE_1:func.3">sqrt</a> 1</span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p1"><a href="complex1.html#K9" title="COMPLEX1:func.9">|.</a><span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c2">b</font></span>)</span></span><a href="complex1.html#K9" title="COMPLEX1:func.9">.|</a></span>
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E7:22"><span class="lab"><font color="Green" title="E21">A4</font></span></a>, <a class="ref" href="toprealc.html#T11" onmouseover="rs('toprealc/T11')" onmouseout="rh()">TOPREALC:11</a></span>
<br/>.= 
<span class="p1"><a href="complex1.html#K9" title="COMPLEX1:func.9">|.</a><span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c2">b</font></span>)</span></span><a href="complex1.html#K9" title="COMPLEX1:func.9">.|</a></span>
<span class="kw">by</span> <span class="lab"><a class="ref" href="square_1.html#T18" onmouseover="rs('square_1/T18')" onmouseout="rh()">SQUARE_1:18</a></span>
;<br/>
<span class="kw">hence </span><a NAME="E10:22"/>
 <a href="metric_1.html#K3" title="METRIC_1:func.3">dist</a> (<font color="Maroon" title="c3">xa</font>,<font color="Maroon" title="c4">xb</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1"><a href="complex1.html#K9" title="COMPLEX1:func.9">|.</a><span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c2">b</font></span>)</span></span><a href="complex1.html#K9" title="COMPLEX1:func.9">.|</a></span>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E6:22"><span class="lab"><font color="Green" title="E20">A3</font></span></a>, <a class="ref" href="euclid.html#D6" onmouseover="rs('euclid/D6')" onmouseout="rh()">EUCLID:def 6</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>
