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

<span class="kw">deffunc </span><font color="Maroon">H<sub>1</sub></font>(  <a href="struct_0.html#NM1" title="STRUCT_0:NM.1">Element</a> of <font color="Maroon" title="c1">X</font>,  <a href="struct_0.html#NM1" title="STRUCT_0:NM.1">Element</a> of <font color="Maroon" title="c1">X</font>,  <a href="struct_0.html#NM1" title="STRUCT_0:NM.1">Element</a> of <font color="Maroon" title="c2">Y</font>,  <a href="struct_0.html#NM1" title="STRUCT_0:NM.1">Element</a> of <font color="Maroon" title="c2">Y</font>) <span class="kw">-&gt; </span>   <a href="subset_1.html#M1" title="SUBSET_1:mode.1">Element</a> of  <a href="numbers.html#K1" title="NUMBERS:func.1">REAL</a>  =  <a href="subset_1.html#K10" title="SUBSET_1:func.10">In</a> (<span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="metric_1.html#K3" title="METRIC_1:func.3">dist</a> ($1,$2)</span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p2">(<span class="default"><a href="metric_1.html#K3" title="METRIC_1:func.3">dist</a> ($3,$4)</span>)</span></span>)</span>,<a href="numbers.html#K1" title="NUMBERS:func.1">REAL</a>);<br/>
<span class="kw">consider </span><font color="Maroon" title="c3">F</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="Maroon" title="c1">X</font>, the <a href="struct_0.html#U1" title="STRUCT_0:sel.1">carrier</a> of <font color="Maroon" title="c2">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="Maroon" title="c1">X</font>, the <a href="struct_0.html#U1" title="STRUCT_0:sel.1">carrier</a> of <font color="Maroon" title="c2">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><span class="kw"> such that </span><br/><a NAME="E2:2_1_1"/><span class="lab"><font color="Green" title="E1">A1</font></span>: 
 for <font color="Olive" title="b1">x1</font>, <font color="Olive" title="b2">y1</font> being   <a href="struct_0.html#NM1" title="STRUCT_0:NM.1">Element</a> of <font color="Maroon" title="c1">X</font><br/>  for <font color="Olive" title="b3">x2</font>, <font color="Olive" title="b4">y2</font> being   <a href="struct_0.html#NM1" title="STRUCT_0:NM.1">Element</a> of <font color="Maroon" title="c2">Y</font><br/>  for <font color="Olive" title="b5">x</font>, <font color="Olive" title="b6">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="Maroon" title="c1">X</font>, the <a href="struct_0.html#U1" title="STRUCT_0:sel.1">carrier</a> of <font color="Maroon" title="c2">Y</font></span><a href="zfmisc_1.html#K2" title="ZFMISC_1:func.2">:]</a></span>  st <font color="Olive" title="b5">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="b1">x1</font>,<font color="Olive" title="b3">x2</font></span><a href="domain_1.html#K1" title="DOMAIN_1:func.1">]</a></span> &amp; <font color="Olive" title="b6">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="b2">y1</font>,<font color="Olive" title="b4">y2</font></span><a href="domain_1.html#K1" title="DOMAIN_1:func.1">]</a></span> holds <br/><font color="Maroon" title="c3">F</font> <a href="binop_1.html#K2" title="BINOP_1:func.2">.</a> (<font color="Olive" title="b5">x</font>,<font color="Olive" title="b6">y</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon">H<sub>1</sub></font>(<font color="Olive" title="b1">x1</font>,<font color="Olive" title="b2">y1</font>,<font color="Olive" title="b3">x2</font>,<font color="Olive" title="b4">y2</font>)
 <span class="kw">from</span> <span class="lab"><a class="ref" href="metric_3.html#S1" target="_self" onmouseover="rs('metric_3/S1')" onmouseout="rh()">METRIC_3:sch 1</a>();<br/></span>
<span class="kw">take </span>
<font color="Maroon" title="c3">F</font>
; <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">x1</font>, <font color="Olive" title="b2">y1</font> being   <a href="struct_0.html#NM1" title="STRUCT_0:NM.1">Element</a> of <font color="Maroon" title="c1">X</font><br/>  for <font color="Olive" title="b3">x2</font>, <font color="Olive" title="b4">y2</font> being   <a href="struct_0.html#NM1" title="STRUCT_0:NM.1">Element</a> of <font color="Maroon" title="c2">Y</font><br/>  for <font color="Olive" title="b5">x</font>, <font color="Olive" title="b6">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="Maroon" title="c1">X</font>, the <a href="struct_0.html#U1" title="STRUCT_0:sel.1">carrier</a> of <font color="Maroon" title="c2">Y</font></span><a href="zfmisc_1.html#K2" title="ZFMISC_1:func.2">:]</a></span>  st <font color="Olive" title="b5">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="b1">x1</font>,<font color="Olive" title="b3">x2</font></span><a href="domain_1.html#K1" title="DOMAIN_1:func.1">]</a></span> &amp; <font color="Olive" title="b6">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="b2">y1</font>,<font color="Olive" title="b4">y2</font></span><a href="domain_1.html#K1" title="DOMAIN_1:func.1">]</a></span> holds <br/><font color="Maroon" title="c3">F</font> <a href="binop_1.html#K2" title="BINOP_1:func.2">.</a> (<font color="Olive" title="b5">x</font>,<font color="Olive" title="b6">y</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><a href="metric_1.html#K3" title="METRIC_1:func.3">dist</a> (<font color="Olive" title="b1">x1</font>,<font color="Olive" title="b2">y1</font>)</span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p1">(<span class="default"><a href="metric_1.html#K3" title="METRIC_1:func.3">dist</a> (<font color="Olive" title="b3">x2</font>,<font color="Olive" title="b4">y2</font>)</span>)</span></span><br/>

<span class="kw">let </span><font color="Maroon" title="c4">x1</font>, <font color="Maroon" title="c5">y1</font> be   <a href="struct_0.html#NM1" title="STRUCT_0:NM.1">Element</a> of <font color="Maroon" title="c1">X</font>; <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">x2</font>, <font color="Olive" title="b2">y2</font> being   <a href="struct_0.html#NM1" title="STRUCT_0:NM.1">Element</a> of <font color="Maroon" title="c2">Y</font><br/>  for <font color="Olive" title="b3">x</font>, <font color="Olive" title="b4">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="Maroon" title="c1">X</font>, the <a href="struct_0.html#U1" title="STRUCT_0:sel.1">carrier</a> of <font color="Maroon" title="c2">Y</font></span><a href="zfmisc_1.html#K2" title="ZFMISC_1:func.2">:]</a></span>  st <font color="Olive" title="b3">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="Maroon" title="c4">x1</font>,<font color="Olive" title="b1">x2</font></span><a href="domain_1.html#K1" title="DOMAIN_1:func.1">]</a></span> &amp; <font color="Olive" title="b4">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="Maroon" title="c5">y1</font>,<font color="Olive" title="b2">y2</font></span><a href="domain_1.html#K1" title="DOMAIN_1:func.1">]</a></span> holds <br/><font color="Maroon" title="c3">F</font> <a href="binop_1.html#K2" title="BINOP_1:func.2">.</a> (<font color="Olive" title="b3">x</font>,<font color="Olive" title="b4">y</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><a href="metric_1.html#K3" title="METRIC_1:func.3">dist</a> (<font color="Maroon" title="c4">x1</font>,<font color="Maroon" title="c5">y1</font>)</span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p1">(<span class="default"><a href="metric_1.html#K3" title="METRIC_1:func.3">dist</a> (<font color="Olive" title="b1">x2</font>,<font color="Olive" title="b2">y2</font>)</span>)</span></span><br/><span class="kw">let </span><font color="Maroon" title="c6">x2</font>, <font color="Maroon" title="c7">y2</font> be   <a href="struct_0.html#NM1" title="STRUCT_0:NM.1">Element</a> of <font color="Maroon" title="c2">Y</font>; <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">x</font>, <font color="Olive" title="b2">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="Maroon" title="c1">X</font>, the <a href="struct_0.html#U1" title="STRUCT_0:sel.1">carrier</a> of <font color="Maroon" title="c2">Y</font></span><a href="zfmisc_1.html#K2" title="ZFMISC_1:func.2">:]</a></span>  st <font color="Olive" title="b1">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="Maroon" title="c4">x1</font>,<font color="Maroon" title="c6">x2</font></span><a href="domain_1.html#K1" title="DOMAIN_1:func.1">]</a></span> &amp; <font color="Olive" title="b2">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="Maroon" title="c5">y1</font>,<font color="Maroon" title="c7">y2</font></span><a href="domain_1.html#K1" title="DOMAIN_1:func.1">]</a></span> holds <br/><font color="Maroon" title="c3">F</font> <a href="binop_1.html#K2" title="BINOP_1:func.2">.</a> (<font color="Olive" title="b1">x</font>,<font color="Olive" title="b2">y</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><a href="metric_1.html#K3" title="METRIC_1:func.3">dist</a> (<font color="Maroon" title="c4">x1</font>,<font color="Maroon" title="c5">y1</font>)</span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p1">(<span class="default"><a href="metric_1.html#K3" title="METRIC_1:func.3">dist</a> (<font color="Maroon" title="c6">x2</font>,<font color="Maroon" title="c7">y2</font>)</span>)</span></span><br/><span class="kw">let </span><font color="Maroon" title="c8">x</font>, <font color="Maroon" title="c9">y</font> be    <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="Maroon" title="c1">X</font>, the <a href="struct_0.html#U1" title="STRUCT_0:sel.1">carrier</a> of <font color="Maroon" title="c2">Y</font></span><a href="zfmisc_1.html#K2" title="ZFMISC_1:func.2">:]</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"> ( <font color="Maroon" title="c8">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="Maroon" title="c4">x1</font>,<font color="Maroon" title="c6">x2</font></span><a href="domain_1.html#K1" title="DOMAIN_1:func.1">]</a></span> &amp; <font color="Maroon" title="c9">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="Maroon" title="c5">y1</font>,<font color="Maroon" title="c7">y2</font></span><a href="domain_1.html#K1" title="DOMAIN_1:func.1">]</a></span> implies <font color="Maroon" title="c3">F</font> <a href="binop_1.html#K2" title="BINOP_1:func.2">.</a> (<font color="Maroon" title="c8">x</font>,<font color="Maroon" title="c9">y</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><a href="metric_1.html#K3" title="METRIC_1:func.3">dist</a> (<font color="Maroon" title="c4">x1</font>,<font color="Maroon" title="c5">y1</font>)</span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p1">(<span class="default"><a href="metric_1.html#K3" title="METRIC_1:func.3">dist</a> (<font color="Maroon" title="c6">x2</font>,<font color="Maroon" title="c7">y2</font>)</span>)</span> )</span><br/>





<span class="kw">assume </span><a NAME="E3:2_1_1"/>
( <font color="Maroon" title="c8">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="Maroon" title="c4">x1</font>,<font color="Maroon" title="c6">x2</font></span><a href="domain_1.html#K1" title="DOMAIN_1:func.1">]</a></span> &amp; <font color="Maroon" title="c9">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="Maroon" title="c5">y1</font>,<font color="Maroon" title="c7">y2</font></span><a href="domain_1.html#K1" title="DOMAIN_1:func.1">]</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"> <font color="Maroon" title="c3">F</font> <a href="binop_1.html#K2" title="BINOP_1:func.2">.</a> (<font color="Maroon" title="c8">x</font>,<font color="Maroon" title="c9">y</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><a href="metric_1.html#K3" title="METRIC_1:func.3">dist</a> (<font color="Maroon" title="c4">x1</font>,<font color="Maroon" title="c5">y1</font>)</span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p1">(<span class="default"><a href="metric_1.html#K3" title="METRIC_1:func.3">dist</a> (<font color="Maroon" title="c6">x2</font>,<font color="Maroon" title="c7">y2</font>)</span>)</span></span><br/>

<a NAME="E4:2_1_1"/><span class="kw">then </span>
<font color="Maroon" title="c3">F</font> <a href="binop_1.html#K2" title="BINOP_1:func.2">.</a> (<font color="Maroon" title="c8">x</font>,<font color="Maroon" title="c9">y</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon">H<sub>1</sub></font>(<font color="Maroon" title="c4">x1</font>,<font color="Maroon" title="c5">y1</font>,<font color="Maroon" title="c6">x2</font>,<font color="Maroon" title="c7">y2</font>)
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:2_1_1"><span class="lab"><font color="Green" title="E1">A1</font></span></a></span>;<br/>
<span class="kw">hence </span><a NAME="E5:2_1_1"/>
<font color="Maroon" title="c3">F</font> <a href="binop_1.html#K2" title="BINOP_1:func.2">.</a> (<font color="Maroon" title="c8">x</font>,<font color="Maroon" title="c9">y</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><a href="metric_1.html#K3" title="METRIC_1:func.3">dist</a> (<font color="Maroon" title="c4">x1</font>,<font color="Maroon" title="c5">y1</font>)</span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p1">(<span class="default"><a href="metric_1.html#K3" title="METRIC_1:func.3">dist</a> (<font color="Maroon" title="c6">x2</font>,<font color="Maroon" title="c7">y2</font>)</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"> verum</span><br/>


</div>
