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

<span class="kw">set </span><font color="Maroon" title="c2">Z</font> =  <a href="metric_1.html#G1" title="METRIC_1:aggr.1">MetrStruct</a>(# <span class="p1">(<span class="default"><font color="Maroon" title="c1">M</font> <a href="metric_2.html#K2" title="METRIC_2:func.2">-neighbour</a></span>)</span>,<span class="p1">(<span class="default"><a href="metric_2.html#K10" title="METRIC_2:func.10">nbourdist</a> <font color="Maroon" title="c1">M</font></span>)</span> #);<br/>
<div><a class="txt" onmouseover="tooltip.show('hs2',this)" onmouseout="tooltip.hide()" onclick="hs2(this)" href="javascript:()" title="52_1_1_1"><span class="kw">now </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">  for <font color="Olive" title="b1">V</font>, <font color="Olive" title="b2">Q</font>, <font color="Olive" title="b3">W</font> being   <a href="struct_0.html#NM1" title="STRUCT_0:NM.1">Element</a> of <a href="metric_1.html#G1" title="METRIC_1:aggr.1">MetrStruct</a>(# <span class="p1">(<span class="default"><font color="Maroon" title="c1">M</font> <a href="metric_2.html#K2" title="METRIC_2:func.2">-neighbour</a></span>)</span>,<span class="p1">(<span class="default"><a href="metric_2.html#K10" title="METRIC_2:func.10">nbourdist</a> <font color="Maroon" title="c1">M</font></span>)</span> #) holds <br/> ( (  <a href="metric_1.html#K1" title="METRIC_1:func.1">dist</a> (<font color="Olive" title="b1">V</font>,<font color="Olive" title="b2">Q</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  implies <font color="Olive" title="b1">V</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Olive" title="b2">Q</font> ) &amp; ( <font color="Olive" title="b1">V</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Olive" title="b2">Q</font> implies  <a href="metric_1.html#K1" title="METRIC_1:func.1">dist</a> (<font color="Olive" title="b1">V</font>,<font color="Olive" title="b2">Q</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  ) &amp;  <a href="metric_1.html#K1" title="METRIC_1:func.1">dist</a> (<font color="Olive" title="b1">V</font>,<font color="Olive" title="b2">Q</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="metric_1.html#K1" title="METRIC_1:func.1">dist</a> (<font color="Olive" title="b2">Q</font>,<font color="Olive" title="b1">V</font>) &amp;  <a href="metric_1.html#K1" title="METRIC_1:func.1">dist</a> (<font color="Olive" title="b1">V</font>,<font color="Olive" title="b3">W</font>) <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a> <span class="p1">(<span class="default"><a href="metric_1.html#K1" title="METRIC_1:func.1">dist</a> (<font color="Olive" title="b1">V</font>,<font color="Olive" title="b2">Q</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#K1" title="METRIC_1:func.1">dist</a> (<font color="Olive" title="b2">Q</font>,<font color="Olive" title="b3">W</font>)</span>)</span> )</span></a><div class="add"><span class="kw">let </span><font color="Maroon" title="c3">V</font>, <font color="Maroon" title="c4">Q</font>, <font color="Maroon" title="c5">W</font> be   <a href="struct_0.html#NM1" title="STRUCT_0:NM.1">Element</a> of <a href="metric_1.html#G1" title="METRIC_1:aggr.1">MetrStruct</a>(# <span class="p1">(<span class="default"><font color="Maroon" title="c1">M</font> <a href="metric_2.html#K2" title="METRIC_2:func.2">-neighbour</a></span>)</span>,<span class="p1">(<span class="default"><a href="metric_2.html#K10" title="METRIC_2:func.10">nbourdist</a> <font color="Maroon" title="c1">M</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"> ( (  <a href="metric_1.html#K1" title="METRIC_1:func.1">dist</a> (<font color="Maroon" title="c3">V</font>,<font color="Maroon" title="c4">Q</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  implies <font color="Maroon" title="c3">V</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c4">Q</font> ) &amp; ( <font color="Maroon" title="c3">V</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c4">Q</font> implies  <a href="metric_1.html#K1" title="METRIC_1:func.1">dist</a> (<font color="Maroon" title="c3">V</font>,<font color="Maroon" title="c4">Q</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  ) &amp;  <a href="metric_1.html#K1" title="METRIC_1:func.1">dist</a> (<font color="Maroon" title="c3">V</font>,<font color="Maroon" title="c4">Q</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="metric_1.html#K1" title="METRIC_1:func.1">dist</a> (<font color="Maroon" title="c4">Q</font>,<font color="Maroon" title="c3">V</font>) &amp;  <a href="metric_1.html#K1" title="METRIC_1:func.1">dist</a> (<font color="Maroon" title="c3">V</font>,<font color="Maroon" title="c5">W</font>) <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a> <span class="p1">(<span class="default"><a href="metric_1.html#K1" title="METRIC_1:func.1">dist</a> (<font color="Maroon" title="c3">V</font>,<font color="Maroon" title="c4">Q</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#K1" title="METRIC_1:func.1">dist</a> (<font color="Maroon" title="c4">Q</font>,<font color="Maroon" title="c5">W</font>)</span>)</span> )</span><br/><span class="kw">reconsider </span><font color="Maroon" title="c6">V9</font> = <font color="Maroon" title="c3">V</font>, <font color="Maroon" title="c7">Q9</font> = <font color="Maroon" title="c4">Q</font>, <font color="Maroon" title="c8">W9</font> = <font color="Maroon" title="c5">W</font> as    <a href="subset_1.html#M1" title="SUBSET_1:mode.1">Element</a> of <font color="Maroon" title="c1">M</font> <a href="metric_2.html#K2" title="METRIC_2:func.2">-neighbour</a>  ;<br/><a NAME="E2:52_1_1_1"/><span class="lab"><font color="Green" title="E26">A1</font></span>: 
 <a href="metric_1.html#K1" title="METRIC_1:func.1">dist</a> (<font color="Maroon" title="c3">V</font>,<font color="Maroon" title="c4">Q</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><a href="metric_2.html#K10" title="METRIC_2:func.10">nbourdist</a> <font color="Maroon" title="c1">M</font></span>)</span> <a href="binop_1.html#K2" title="BINOP_1:func.2">.</a> (<font color="Maroon" title="c6">V9</font>,<font color="Maroon" title="c7">Q9</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/><span class="kw">hence </span><a NAME="E3:52_1_1_1"/>
(  <a href="metric_1.html#K1" title="METRIC_1:func.1">dist</a> (<font color="Maroon" title="c3">V</font>,<font color="Maroon" title="c4">Q</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  iff <font color="Maroon" title="c3">V</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c4">Q</font> )
 <span class="kw">by</span> <span class="lab"><a class="ref" href="metric_2.html#T34" target="_self" onmouseover="rs('metric_2/T34')" onmouseout="rh()">Th34</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#K1" title="METRIC_1:func.1">dist</a> (<font color="Maroon" title="c3">V</font>,<font color="Maroon" title="c4">Q</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="metric_1.html#K1" title="METRIC_1:func.1">dist</a> (<font color="Maroon" title="c4">Q</font>,<font color="Maroon" title="c3">V</font>) &amp;  <a href="metric_1.html#K1" title="METRIC_1:func.1">dist</a> (<font color="Maroon" title="c3">V</font>,<font color="Maroon" title="c5">W</font>) <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a> <span class="p1">(<span class="default"><a href="metric_1.html#K1" title="METRIC_1:func.1">dist</a> (<font color="Maroon" title="c3">V</font>,<font color="Maroon" title="c4">Q</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#K1" title="METRIC_1:func.1">dist</a> (<font color="Maroon" title="c4">Q</font>,<font color="Maroon" title="c5">W</font>)</span>)</span> )</span><br/><a NAME="E4:52_1_1_1"/>
 <a href="metric_1.html#K1" title="METRIC_1:func.1">dist</a> (<font color="Maroon" title="c4">Q</font>,<font color="Maroon" title="c3">V</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><a href="metric_2.html#K10" title="METRIC_2:func.10">nbourdist</a> <font color="Maroon" title="c1">M</font></span>)</span> <a href="binop_1.html#K2" title="BINOP_1:func.2">.</a> (<font color="Maroon" title="c7">Q9</font>,<font color="Maroon" title="c6">V9</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/><span class="kw">hence </span><a NAME="E5:52_1_1_1"/>
 <a href="metric_1.html#K1" title="METRIC_1:func.1">dist</a> (<font color="Maroon" title="c3">V</font>,<font color="Maroon" title="c4">Q</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="metric_1.html#K1" title="METRIC_1:func.1">dist</a> (<font color="Maroon" title="c4">Q</font>,<font color="Maroon" title="c3">V</font>)
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:52_1_1_1"><span class="lab"><font color="Green" title="E26">A1</font></span></a>, <a class="ref" href="metric_2.html#T35" target="_self" onmouseover="rs('metric_2/T35')" onmouseout="rh()">Th35</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#K1" title="METRIC_1:func.1">dist</a> (<font color="Maroon" title="c3">V</font>,<font color="Maroon" title="c5">W</font>) <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a> <span class="p1">(<span class="default"><a href="metric_1.html#K1" title="METRIC_1:func.1">dist</a> (<font color="Maroon" title="c3">V</font>,<font color="Maroon" title="c4">Q</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#K1" title="METRIC_1:func.1">dist</a> (<font color="Maroon" title="c4">Q</font>,<font color="Maroon" title="c5">W</font>)</span>)</span></span><br/><a NAME="E6:52_1_1_1"/>
(  <a href="metric_1.html#K1" title="METRIC_1:func.1">dist</a> (<font color="Maroon" title="c3">V</font>,<font color="Maroon" title="c5">W</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><a href="metric_2.html#K10" title="METRIC_2:func.10">nbourdist</a> <font color="Maroon" title="c1">M</font></span>)</span> <a href="binop_1.html#K2" title="BINOP_1:func.2">.</a> (<font color="Maroon" title="c6">V9</font>,<font color="Maroon" title="c8">W9</font>) &amp;  <a href="metric_1.html#K1" title="METRIC_1:func.1">dist</a> (<font color="Maroon" title="c4">Q</font>,<font color="Maroon" title="c5">W</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><a href="metric_2.html#K10" title="METRIC_2:func.10">nbourdist</a> <font color="Maroon" title="c1">M</font></span>)</span> <a href="binop_1.html#K2" title="BINOP_1:func.2">.</a> (<font color="Maroon" title="c7">Q9</font>,<font color="Maroon" title="c8">W9</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/><span class="kw">hence </span><a NAME="E7:52_1_1_1"/>
 <a href="metric_1.html#K1" title="METRIC_1:func.1">dist</a> (<font color="Maroon" title="c3">V</font>,<font color="Maroon" title="c5">W</font>) <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a> <span class="p1">(<span class="default"><a href="metric_1.html#K1" title="METRIC_1:func.1">dist</a> (<font color="Maroon" title="c3">V</font>,<font color="Maroon" title="c4">Q</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#K1" title="METRIC_1:func.1">dist</a> (<font color="Maroon" title="c4">Q</font>,<font color="Maroon" title="c5">W</font>)</span>)</span>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:52_1_1_1"><span class="lab"><font color="Green" title="E26">A1</font></span></a>, <a class="ref" href="metric_2.html#T36" target="_self" onmouseover="rs('metric_2/T36')" onmouseout="rh()">Th36</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><span class="kw">end;</span></div>
<span class="kw">hence </span><a NAME="E2:52_1_1"/>
 <a href="metric_1.html#G1" title="METRIC_1:aggr.1">MetrStruct</a>(# <span class="p1">(<span class="default"><font color="Maroon" title="c1">M</font> <a href="metric_2.html#K2" title="METRIC_2:func.2">-neighbour</a></span>)</span>,<span class="p1">(<span class="default"><a href="metric_2.html#K10" title="METRIC_2:func.10">nbourdist</a> <font color="Maroon" title="c1">M</font></span>)</span> #) is   <a href="metric_1.html#NM1" title="METRIC_1:NM.1">MetrSpace</a>
 <span class="kw">by</span> <span class="lab"><a class="ref" href="metric_1.html#T6" onmouseover="rs('metric_1/T6')" onmouseout="rh()">METRIC_1: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>
