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

<b>let </b><font color="Maroon" title="c1">M</font> be  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/><b>let </b><font color="Maroon" title="c2">P</font> be   <a href="struct_0.html#NM2" title="STRUCT_0:NM.2">Subset</a> of <span class="p1">(<span class="default"><a href="pcomps_1.html#K4" title="PCOMPS_1:func.4">TopSpaceMetr</a> <font color="Maroon" title="c1">M</font></span>)</span>;<br/>



<b>assume </b><a NAME="E1:30"/><i><font color="Green" title="E22">A1</font></i>: 
<font color="Maroon" title="c2">P</font> is <a href="compts_1.html#V6" title="COMPTS_1:attr.6">compact</a>
 ;<br/>

<b>let </b><font color="Maroon" title="c3">p1</font>, <font color="Maroon" title="c4">p2</font> be   <a href="pre_topc.html#NM2" title="PRE_TOPC:NM.2">Point</a> of <font color="Maroon" title="c1">M</font>;<br/>

<b>assume </b><a NAME="E2:30"/><i><font color="Green" title="E23">A2</font></i>: 
<font color="Maroon" title="c3">p1</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> <font color="Maroon" title="c2">P</font>
 ;<br/>

<a NAME="E3:30"/>
 <a href="weierstr.html#K6" title="WEIERSTR:func.6">dist</a> <font color="Maroon" title="c4">p2</font> is <a href="pre_topc.html#V5" title="PRE_TOPC:attr.5">continuous</a>
 
<b>by </b><i><a class="ref" href="weierstr.html#T22" target="_self" title="WEIERSTR:th.22">Th22</a></i>;<br/>
<a NAME="E4:30"/><b>then </b><i><font color="Green" title="E24">A3</font></i>: 
 <a href="weierstr.html#K3" title="WEIERSTR:func.3">[#]</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="weierstr.html#K6" title="WEIERSTR:func.6">dist</a> <font color="Maroon" title="c4">p2</font></span>)</span> <a href="relset_1.html#K10" title="RELSET_1:func.10">.:</a> <font color="Maroon" title="c2">P</font></span>)</span> is <a href="seq_4.html#V3" title="SEQ_4:attr.3">bounded</a>
 
<b>by </b><i><a class="txt" href="weierstr.html#E1:30"><i><font color="Green" title="E22">A1</font></i></a>, <a class="ref" href="weierstr.html#T14" target="_self" title="WEIERSTR:th.14">Th14</a>, <a class="ref" href="weierstr.html#T17" target="_self" title="WEIERSTR:th.17">Th17</a></i>;<br/>
<a NAME="E5:30"/><i><font color="Green" title="E25">A4</font></i>: 
 <a href="metric_1.html#K4" title="METRIC_1:func.4">dist</a> <font color="Maroon" title="c3">p1</font>,<font color="Maroon" title="c4">p2</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a>  <a href="weierstr.html#K3" title="WEIERSTR:func.3">[#]</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="weierstr.html#K6" title="WEIERSTR:func.6">dist</a> <font color="Maroon" title="c4">p2</font></span>)</span> <a href="relset_1.html#K10" title="RELSET_1:func.10">.:</a> <font color="Maroon" title="c2">P</font></span>)</span>
 
<div><a class="txt" onclick="hs2(this)" href="javascript:()" title="30_1"><b>proof </b></a><div class="add">

<a NAME="E1:30_1"/><i><font color="Green" title="E26">A5</font></i>: 
 <a href="metric_1.html#K4" title="METRIC_1:func.4">dist</a> <font color="Maroon" title="c3">p1</font>,<font color="Maroon" title="c4">p2</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><a href="weierstr.html#K6" title="WEIERSTR:func.6">dist</a> <font color="Maroon" title="c4">p2</font></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c3">p1</font>
 
<b>by </b><i><a class="ref" href="weierstr.html#D6" target="_self" title="WEIERSTR:def.6">Def6</a></i>;<br/>
<a NAME="E2:30_1"/>
 <a href="relset_1.html#K4" title="RELSET_1:func.4">dom</a> <span class="p1">(<span class="default"><a href="weierstr.html#K6" title="WEIERSTR:func.6">dist</a> <font color="Maroon" title="c4">p2</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> the <a href="struct_0.html#U1" title="STRUCT_0:sel.1">carrier</a> of <span class="p1">(<span class="default"><a href="pcomps_1.html#K4" title="PCOMPS_1:func.4">TopSpaceMetr</a> <font color="Maroon" title="c1">M</font></span>)</span>
 
<b>by </b><i><a class="ref" href="funct_2.html#D1" title="FUNCT_2:def.1">FUNCT_2:def 1</a></i>;<br/>
<b>hence </b><a NAME="E3:30_1"/>
 <a href="metric_1.html#K4" title="METRIC_1:func.4">dist</a> <font color="Maroon" title="c3">p1</font>,<font color="Maroon" title="c4">p2</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a>  <a href="weierstr.html#K3" title="WEIERSTR:func.3">[#]</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="weierstr.html#K6" title="WEIERSTR:func.6">dist</a> <font color="Maroon" title="c4">p2</font></span>)</span> <a href="relset_1.html#K10" title="RELSET_1:func.10">.:</a> <font color="Maroon" title="c2">P</font></span>)</span>
 <b>by </b><i><a class="txt" href="weierstr.html#E2:30"><i><font color="Green" title="E23">A2</font></i></a>, <a class="txt" href="weierstr.html#E1:30_1"><i><font color="Green" title="E26">A5</font></i></a>, <a class="ref" href="funct_1.html#D12" title="FUNCT_1:def.12">FUNCT_1:def 12</a></i>;<br/>


</div><b>end;</b></div>
<a NAME="E6:30"/><i><font color="Green" title="E26">A6</font></i>: 
 <a href="metric_1.html#K4" title="METRIC_1:func.4">dist</a> <font color="Maroon" title="c3">p1</font>,<font color="Maroon" title="c4">p2</font> <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a>  <a href="weierstr.html#K4" title="WEIERSTR:func.4">upper_bound</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="weierstr.html#K6" title="WEIERSTR:func.6">dist</a> <font color="Maroon" title="c4">p2</font></span>)</span> <a href="relset_1.html#K10" title="RELSET_1:func.10">.:</a> <font color="Maroon" title="c2">P</font></span>)</span>
 
<div><a class="txt" onclick="hs2(this)" href="javascript:()" title="30_2"><b>proof </b></a><div class="add">

<a NAME="E1:30_2"/>
 <a href="weierstr.html#K3" title="WEIERSTR:func.3">[#]</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="weierstr.html#K6" title="WEIERSTR:func.6">dist</a> <font color="Maroon" title="c4">p2</font></span>)</span> <a href="relset_1.html#K10" title="RELSET_1:func.10">.:</a> <font color="Maroon" title="c2">P</font></span>)</span> is <a href="seq_4.html#V1" title="SEQ_4:attr.1">bounded_above</a>
 
<b>by </b><i><a class="txt" href="weierstr.html#E4:30"><i><font color="Green" title="E24">A3</font></i></a>, <a class="ref" href="seq_4.html#D3" title="SEQ_4:def.3">SEQ_4:def 3</a></i>;<br/>
<b>hence </b><a NAME="E2:30_2"/>
 <a href="metric_1.html#K4" title="METRIC_1:func.4">dist</a> <font color="Maroon" title="c3">p1</font>,<font color="Maroon" title="c4">p2</font> <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a>  <a href="weierstr.html#K4" title="WEIERSTR:func.4">upper_bound</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="weierstr.html#K6" title="WEIERSTR:func.6">dist</a> <font color="Maroon" title="c4">p2</font></span>)</span> <a href="relset_1.html#K10" title="RELSET_1:func.10">.:</a> <font color="Maroon" title="c2">P</font></span>)</span>
 <b>by </b><i><a class="txt" href="weierstr.html#E5:30"><i><font color="Green" title="E25">A4</font></i></a>, <a class="ref" href="seq_4.html#D4" title="SEQ_4:def.4">SEQ_4:def 4</a></i>;<br/>


</div><b>end;</b></div>
<a NAME="E7:30"/>
 <a href="weierstr.html#K5" title="WEIERSTR:func.5">lower_bound</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="weierstr.html#K6" title="WEIERSTR:func.6">dist</a> <font color="Maroon" title="c4">p2</font></span>)</span> <a href="relset_1.html#K10" title="RELSET_1:func.10">.:</a> <font color="Maroon" title="c2">P</font></span>)</span> <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a>  <a href="metric_1.html#K4" title="METRIC_1:func.4">dist</a> <font color="Maroon" title="c3">p1</font>,<font color="Maroon" title="c4">p2</font>
 
<div><a class="txt" onclick="hs2(this)" href="javascript:()" title="30_3"><b>proof </b></a><div class="add">

<a NAME="E1:30_3"/>
 <a href="weierstr.html#K3" title="WEIERSTR:func.3">[#]</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="weierstr.html#K6" title="WEIERSTR:func.6">dist</a> <font color="Maroon" title="c4">p2</font></span>)</span> <a href="relset_1.html#K10" title="RELSET_1:func.10">.:</a> <font color="Maroon" title="c2">P</font></span>)</span> is <a href="seq_4.html#V2" title="SEQ_4:attr.2">bounded_below</a>
 
<b>by </b><i><a class="txt" href="weierstr.html#E4:30"><i><font color="Green" title="E24">A3</font></i></a>, <a class="ref" href="seq_4.html#D3" title="SEQ_4:def.3">SEQ_4:def 3</a></i>;<br/>
<b>hence </b><a NAME="E2:30_3"/>
 <a href="weierstr.html#K5" title="WEIERSTR:func.5">lower_bound</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="weierstr.html#K6" title="WEIERSTR:func.6">dist</a> <font color="Maroon" title="c4">p2</font></span>)</span> <a href="relset_1.html#K10" title="RELSET_1:func.10">.:</a> <font color="Maroon" title="c2">P</font></span>)</span> <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a>  <a href="metric_1.html#K4" title="METRIC_1:func.4">dist</a> <font color="Maroon" title="c3">p1</font>,<font color="Maroon" title="c4">p2</font>
 <b>by </b><i><a class="txt" href="weierstr.html#E5:30"><i><font color="Green" title="E25">A4</font></i></a>, <a class="ref" href="seq_4.html#D5" title="SEQ_4:def.5">SEQ_4:def 5</a></i>;<br/>


</div><b>end;</b></div>
<b>hence </b><a NAME="E8:30"/>
(  <a href="metric_1.html#K4" title="METRIC_1:func.4">dist</a> <font color="Maroon" title="c3">p1</font>,<font color="Maroon" title="c4">p2</font> <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a>  <a href="weierstr.html#K4" title="WEIERSTR:func.4">upper_bound</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="weierstr.html#K6" title="WEIERSTR:func.6">dist</a> <font color="Maroon" title="c4">p2</font></span>)</span> <a href="relset_1.html#K10" title="RELSET_1:func.10">.:</a> <font color="Maroon" title="c2">P</font></span>)</span> &amp;  <a href="weierstr.html#K5" title="WEIERSTR:func.5">lower_bound</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="weierstr.html#K6" title="WEIERSTR:func.6">dist</a> <font color="Maroon" title="c4">p2</font></span>)</span> <a href="relset_1.html#K10" title="RELSET_1:func.10">.:</a> <font color="Maroon" title="c2">P</font></span>)</span> <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a>  <a href="metric_1.html#K4" title="METRIC_1:func.4">dist</a> <font color="Maroon" title="c3">p1</font>,<font color="Maroon" title="c4">p2</font> )
 <b>by </b><i><a class="txt" href="weierstr.html#E6:30"><i><font color="Green" title="E26">A6</font></i></a></i>;<br/>


</div>
