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

<span class="kw">let </span><font color="Maroon" title="c1">D</font> be    <a href="hidden.html#M2" title="HIDDEN:mode.2">set</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">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"><font color="Maroon" title="c1">D</font>,<font color="Maroon" title="c1">D</font></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> holds <br/> ( <font color="Olive" title="b1">f</font> <a href="pcomps_1.html#R1" title="PCOMPS_1:pred.1">is_metric_of</a> <font color="Maroon" title="c1">D</font> iff  <a href="metric_1.html#G1" title="METRIC_1:aggr.1">MetrStruct</a>(# <font color="Maroon" title="c1">D</font>,<font color="Olive" title="b1">f</font> #) is   <a href="metric_1.html#NM1" title="METRIC_1:NM.1">MetrSpace</a> )</span><br/><span class="kw">let </span><font color="Maroon" title="c2">f</font> be   <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"><font color="Maroon" title="c1">D</font>,<font color="Maroon" title="c1">D</font></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>; <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="c2">f</font> <a href="pcomps_1.html#R1" title="PCOMPS_1:pred.1">is_metric_of</a> <font color="Maroon" title="c1">D</font> iff  <a href="metric_1.html#G1" title="METRIC_1:aggr.1">MetrStruct</a>(# <font color="Maroon" title="c1">D</font>,<font color="Maroon" title="c2">f</font> #) is   <a href="metric_1.html#NM1" title="METRIC_1:NM.1">MetrSpace</a> )</span><br/>



<span class="kw">set </span><font color="Maroon" title="c3">DF</font> =  <a href="metric_1.html#G1" title="METRIC_1:aggr.1">MetrStruct</a>(# <font color="Maroon" title="c1">D</font>,<font color="Maroon" title="c2">f</font> #);<br/>
<a NAME="E1:41"/><span class="lab"><font color="Green" title="E27">A1</font></span>: 
(  <a href="metric_1.html#G1" title="METRIC_1:aggr.1">MetrStruct</a>(# <font color="Maroon" title="c1">D</font>,<font color="Maroon" title="c2">f</font> #) is   <a href="metric_1.html#NM1" title="METRIC_1:NM.1">MetrSpace</a> implies <font color="Maroon" title="c2">f</font> <a href="pcomps_1.html#R1" title="PCOMPS_1:pred.1">is_metric_of</a> <font color="Maroon" title="c1">D</font> )
 
<div><a class="txt" onmouseover="tooltip.show('hs2',this)" onmouseout="tooltip.hide()" onclick="hs2(this)" href="javascript:()" title="41_1"><span class="kw">proof </span></a><div class="add">

<span class="kw">assume </span><a NAME="E1:41_1"/>
 <a href="metric_1.html#G1" title="METRIC_1:aggr.1">MetrStruct</a>(# <font color="Maroon" title="c1">D</font>,<font color="Maroon" title="c2">f</font> #) is   <a href="metric_1.html#NM1" title="METRIC_1:NM.1">MetrSpace</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"> <font color="Maroon" title="c2">f</font> <a href="pcomps_1.html#R1" title="PCOMPS_1:pred.1">is_metric_of</a> <font color="Maroon" title="c1">D</font></span><br/>

<span class="kw">then </span><span class="kw">reconsider </span><font color="Maroon" title="c4">DF</font> =  <a href="metric_1.html#G1" title="METRIC_1:aggr.1">MetrStruct</a>(# <font color="Maroon" title="c1">D</font>,<font color="Maroon" title="c2">f</font> #) as   <a href="metric_1.html#NM1" title="METRIC_1:NM.1">MetrSpace</a> ;<br/>
<a NAME="E3:41_1"/>
 for <font color="Olive" title="b1">a</font>, <font color="Olive" title="b2">b</font>, <font color="Olive" title="b3">c</font> being   <a href="struct_0.html#NM1" title="STRUCT_0:NM.1">Element</a> of <font color="Maroon" title="c4">DF</font> holds <br/> ( (  the <a href="metric_1.html#U1" title="METRIC_1:sel.1">distance</a> of <font color="Maroon" title="c4">DF</font> <a href="binop_1.html#K1" title="BINOP_1:func.1">.</a> (<font color="Olive" title="b1">a</font>,<font color="Olive" title="b2">b</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">a</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Olive" title="b2">b</font> ) &amp; ( <font color="Olive" title="b1">a</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Olive" title="b2">b</font> implies  the <a href="metric_1.html#U1" title="METRIC_1:sel.1">distance</a> of <font color="Maroon" title="c4">DF</font> <a href="binop_1.html#K1" title="BINOP_1:func.1">.</a> (<font color="Olive" title="b1">a</font>,<font color="Olive" title="b2">b</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  ) &amp;  the <a href="metric_1.html#U1" title="METRIC_1:sel.1">distance</a> of <font color="Maroon" title="c4">DF</font> <a href="binop_1.html#K1" title="BINOP_1:func.1">.</a> (<font color="Olive" title="b1">a</font>,<font color="Olive" title="b2">b</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  the <a href="metric_1.html#U1" title="METRIC_1:sel.1">distance</a> of <font color="Maroon" title="c4">DF</font> <a href="binop_1.html#K1" title="BINOP_1:func.1">.</a> (<font color="Olive" title="b2">b</font>,<font color="Olive" title="b1">a</font>) &amp;  the <a href="metric_1.html#U1" title="METRIC_1:sel.1">distance</a> of <font color="Maroon" title="c4">DF</font> <a href="binop_1.html#K1" title="BINOP_1:func.1">.</a> (<font color="Olive" title="b1">a</font>,<font color="Olive" title="b3">c</font>) <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a> <span class="p1">(<span class="default"> the <a href="metric_1.html#U1" title="METRIC_1:sel.1">distance</a> of <font color="Maroon" title="c4">DF</font> <a href="binop_1.html#K1" title="BINOP_1:func.1">.</a> (<font color="Olive" title="b1">a</font>,<font color="Olive" title="b2">b</font>)</span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p1">(<span class="default"> the <a href="metric_1.html#U1" title="METRIC_1:sel.1">distance</a> of <font color="Maroon" title="c4">DF</font> <a href="binop_1.html#K1" title="BINOP_1:func.1">.</a> (<font color="Olive" title="b2">b</font>,<font color="Olive" title="b3">c</font>)</span>)</span> )
 
<div><a class="txt" onmouseover="tooltip.show('hs2',this)" onmouseout="tooltip.hide()" onclick="hs2(this)" href="javascript:()" title="41_1_1"><span class="kw">proof </span></a><div class="add">

<span class="kw">let </span><font color="Maroon" title="c5">a</font>, <font color="Maroon" title="c6">b</font>, <font color="Maroon" title="c7">c</font> be   <a href="struct_0.html#NM1" title="STRUCT_0:NM.1">Element</a> of <font color="Maroon" title="c4">DF</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"> ( (  the <a href="metric_1.html#U1" title="METRIC_1:sel.1">distance</a> of <font color="Maroon" title="c4">DF</font> <a href="binop_1.html#K1" title="BINOP_1:func.1">.</a> (<font color="Maroon" title="c5">a</font>,<font color="Maroon" title="c6">b</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="c5">a</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c6">b</font> ) &amp; ( <font color="Maroon" title="c5">a</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c6">b</font> implies  the <a href="metric_1.html#U1" title="METRIC_1:sel.1">distance</a> of <font color="Maroon" title="c4">DF</font> <a href="binop_1.html#K1" title="BINOP_1:func.1">.</a> (<font color="Maroon" title="c5">a</font>,<font color="Maroon" title="c6">b</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  ) &amp;  the <a href="metric_1.html#U1" title="METRIC_1:sel.1">distance</a> of <font color="Maroon" title="c4">DF</font> <a href="binop_1.html#K1" title="BINOP_1:func.1">.</a> (<font color="Maroon" title="c5">a</font>,<font color="Maroon" title="c6">b</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  the <a href="metric_1.html#U1" title="METRIC_1:sel.1">distance</a> of <font color="Maroon" title="c4">DF</font> <a href="binop_1.html#K1" title="BINOP_1:func.1">.</a> (<font color="Maroon" title="c6">b</font>,<font color="Maroon" title="c5">a</font>) &amp;  the <a href="metric_1.html#U1" title="METRIC_1:sel.1">distance</a> of <font color="Maroon" title="c4">DF</font> <a href="binop_1.html#K1" title="BINOP_1:func.1">.</a> (<font color="Maroon" title="c5">a</font>,<font color="Maroon" title="c7">c</font>) <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a> <span class="p1">(<span class="default"> the <a href="metric_1.html#U1" title="METRIC_1:sel.1">distance</a> of <font color="Maroon" title="c4">DF</font> <a href="binop_1.html#K1" title="BINOP_1:func.1">.</a> (<font color="Maroon" title="c5">a</font>,<font color="Maroon" title="c6">b</font>)</span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p1">(<span class="default"> the <a href="metric_1.html#U1" title="METRIC_1:sel.1">distance</a> of <font color="Maroon" title="c4">DF</font> <a href="binop_1.html#K1" title="BINOP_1:func.1">.</a> (<font color="Maroon" title="c6">b</font>,<font color="Maroon" title="c7">c</font>)</span>)</span> )</span><br/>

<a NAME="E1:41_1_1"/><span class="lab"><font color="Green" title="E28">A2</font></span>: 
 the <a href="metric_1.html#U1" title="METRIC_1:sel.1">distance</a> of <font color="Maroon" title="c4">DF</font> <a href="binop_1.html#K1" title="BINOP_1:func.1">.</a> (<font color="Maroon" title="c5">a</font>,<font color="Maroon" title="c6">b</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="metric_1.html#K3" title="METRIC_1:func.3">dist</a> (<font color="Maroon" title="c5">a</font>,<font color="Maroon" title="c6">b</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="E2:41_1_1"/>
(  the <a href="metric_1.html#U1" title="METRIC_1:sel.1">distance</a> of <font color="Maroon" title="c4">DF</font> <a href="binop_1.html#K1" title="BINOP_1:func.1">.</a> (<font color="Maroon" title="c5">a</font>,<font color="Maroon" title="c6">b</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="c5">a</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c6">b</font> )
 <span class="kw">by</span> <span class="lab"><a class="ref" href="metric_1.html#T1" onmouseover="rs('metric_1/T1')" onmouseout="rh()">METRIC_1:1</a>, <a class="ref" href="metric_1.html#T2" onmouseover="rs('metric_1/T2')" onmouseout="rh()">METRIC_1: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"> ( <!--HUMANRECFAILED--> the <a href="metric_1.html#U1" title="METRIC_1:sel.1">distance</a> of <font color="Maroon" title="c4">DF</font> <a href="binop_1.html#K1" title="BINOP_1:func.1">.</a> (<font color="Maroon" title="c5">a</font>,<font color="Maroon" title="c6">b</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  the <a href="metric_1.html#U1" title="METRIC_1:sel.1">distance</a> of <font color="Maroon" title="c4">DF</font> <a href="binop_1.html#K1" title="BINOP_1:func.1">.</a> (<font color="Maroon" title="c6">b</font>,<font color="Maroon" title="c5">a</font>) &amp;  the <a href="metric_1.html#U1" title="METRIC_1:sel.1">distance</a> of <font color="Maroon" title="c4">DF</font> <a href="binop_1.html#K1" title="BINOP_1:func.1">.</a> (<font color="Maroon" title="c5">a</font>,<font color="Maroon" title="c7">c</font>) <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a> <span class="p1">(<span class="default"> the <a href="metric_1.html#U1" title="METRIC_1:sel.1">distance</a> of <font color="Maroon" title="c4">DF</font> <a href="binop_1.html#K1" title="BINOP_1:func.1">.</a> (<font color="Maroon" title="c5">a</font>,<font color="Maroon" title="c6">b</font>)</span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p1">(<span class="default"> the <a href="metric_1.html#U1" title="METRIC_1:sel.1">distance</a> of <font color="Maroon" title="c4">DF</font> <a href="binop_1.html#K1" title="BINOP_1:func.1">.</a> (<font color="Maroon" title="c6">b</font>,<font color="Maroon" title="c7">c</font>)</span>)</span> )</span><br/>

<a NAME="E3:41_1_1"/>
 the <a href="metric_1.html#U1" title="METRIC_1:sel.1">distance</a> of <font color="Maroon" title="c4">DF</font> <a href="binop_1.html#K1" title="BINOP_1:func.1">.</a> (<font color="Maroon" title="c6">b</font>,<font color="Maroon" title="c5">a</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="metric_1.html#K3" title="METRIC_1:func.3">dist</a> (<font color="Maroon" title="c6">b</font>,<font color="Maroon" title="c5">a</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="E4:41_1_1"/>
 the <a href="metric_1.html#U1" title="METRIC_1:sel.1">distance</a> of <font color="Maroon" title="c4">DF</font> <a href="binop_1.html#K1" title="BINOP_1:func.1">.</a> (<font color="Maroon" title="c5">a</font>,<font color="Maroon" title="c6">b</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  the <a href="metric_1.html#U1" title="METRIC_1:sel.1">distance</a> of <font color="Maroon" title="c4">DF</font> <a href="binop_1.html#K1" title="BINOP_1:func.1">.</a> (<font color="Maroon" title="c6">b</font>,<font color="Maroon" title="c5">a</font>)
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:41_1_1"><span class="lab"><font color="Green" title="E28">A2</font></span></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">  the <a href="metric_1.html#U1" title="METRIC_1:sel.1">distance</a> of <font color="Maroon" title="c4">DF</font> <a href="binop_1.html#K1" title="BINOP_1:func.1">.</a> (<font color="Maroon" title="c5">a</font>,<font color="Maroon" title="c7">c</font>) <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a> <span class="p1">(<span class="default"> the <a href="metric_1.html#U1" title="METRIC_1:sel.1">distance</a> of <font color="Maroon" title="c4">DF</font> <a href="binop_1.html#K1" title="BINOP_1:func.1">.</a> (<font color="Maroon" title="c5">a</font>,<font color="Maroon" title="c6">b</font>)</span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p1">(<span class="default"> the <a href="metric_1.html#U1" title="METRIC_1:sel.1">distance</a> of <font color="Maroon" title="c4">DF</font> <a href="binop_1.html#K1" title="BINOP_1:func.1">.</a> (<font color="Maroon" title="c6">b</font>,<font color="Maroon" title="c7">c</font>)</span>)</span></span><br/>

<a NAME="E5:41_1_1"/>
(  the <a href="metric_1.html#U1" title="METRIC_1:sel.1">distance</a> of <font color="Maroon" title="c4">DF</font> <a href="binop_1.html#K1" title="BINOP_1:func.1">.</a> (<font color="Maroon" title="c5">a</font>,<font color="Maroon" title="c7">c</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="metric_1.html#K3" title="METRIC_1:func.3">dist</a> (<font color="Maroon" title="c5">a</font>,<font color="Maroon" title="c7">c</font>) &amp;  the <a href="metric_1.html#U1" title="METRIC_1:sel.1">distance</a> of <font color="Maroon" title="c4">DF</font> <a href="binop_1.html#K1" title="BINOP_1:func.1">.</a> (<font color="Maroon" title="c6">b</font>,<font color="Maroon" title="c7">c</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="metric_1.html#K3" title="METRIC_1:func.3">dist</a> (<font color="Maroon" title="c6">b</font>,<font color="Maroon" title="c7">c</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="E6:41_1_1"/>
 the <a href="metric_1.html#U1" title="METRIC_1:sel.1">distance</a> of <font color="Maroon" title="c4">DF</font> <a href="binop_1.html#K1" title="BINOP_1:func.1">.</a> (<font color="Maroon" title="c5">a</font>,<font color="Maroon" title="c7">c</font>) <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a> <span class="p1">(<span class="default"> the <a href="metric_1.html#U1" title="METRIC_1:sel.1">distance</a> of <font color="Maroon" title="c4">DF</font> <a href="binop_1.html#K1" title="BINOP_1:func.1">.</a> (<font color="Maroon" title="c5">a</font>,<font color="Maroon" title="c6">b</font>)</span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p1">(<span class="default"> the <a href="metric_1.html#U1" title="METRIC_1:sel.1">distance</a> of <font color="Maroon" title="c4">DF</font> <a href="binop_1.html#K1" title="BINOP_1:func.1">.</a> (<font color="Maroon" title="c6">b</font>,<font color="Maroon" title="c7">c</font>)</span>)</span>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:41_1_1"><span class="lab"><font color="Green" title="E28">A2</font></span></a>, <a class="ref" href="metric_1.html#T4" onmouseover="rs('metric_1/T4')" onmouseout="rh()">METRIC_1:4</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="E4:41_1"/>
<font color="Maroon" title="c2">f</font> <a href="pcomps_1.html#R1" title="PCOMPS_1:pred.1">is_metric_of</a> <font color="Maroon" title="c1">D</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"> verum</span><br/>


</div><span class="kw">end;</span></div>
<a NAME="E2:41"/>
( <font color="Maroon" title="c2">f</font> <a href="pcomps_1.html#R1" title="PCOMPS_1:pred.1">is_metric_of</a> <font color="Maroon" title="c1">D</font> implies  <a href="metric_1.html#G1" title="METRIC_1:aggr.1">MetrStruct</a>(# <font color="Maroon" title="c1">D</font>,<font color="Maroon" title="c2">f</font> #) is   <a href="metric_1.html#NM1" title="METRIC_1:NM.1">MetrSpace</a> )
 
<div><a class="txt" onmouseover="tooltip.show('hs2',this)" onmouseout="tooltip.hide()" onclick="hs2(this)" href="javascript:()" title="41_2"><span class="kw">proof </span></a><div class="add">

<span class="kw">assume </span><a NAME="E1:41_2"/><span class="lab"><font color="Green" title="E28">A3</font></span>: 
<font color="Maroon" title="c2">f</font> <a href="pcomps_1.html#R1" title="PCOMPS_1:pred.1">is_metric_of</a> <font color="Maroon" title="c1">D</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">  <a href="metric_1.html#G1" title="METRIC_1:aggr.1">MetrStruct</a>(# <font color="Maroon" title="c1">D</font>,<font color="Maroon" title="c2">f</font> #) is   <a href="metric_1.html#NM1" title="METRIC_1:NM.1">MetrSpace</a></span><br/>

<a NAME="E2:41_2"/>
 for <font color="Olive" title="b1">a</font>, <font color="Olive" title="b2">b</font>, <font color="Olive" title="b3">c</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>(# <font color="Maroon" title="c1">D</font>,<font color="Maroon" title="c2">f</font> #) holds <br/> ( (  <a href="metric_1.html#K1" title="METRIC_1:func.1">dist</a> (<font color="Olive" title="b1">a</font>,<font color="Olive" title="b2">b</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">a</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Olive" title="b2">b</font> ) &amp; ( <font color="Olive" title="b1">a</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Olive" title="b2">b</font> implies  <a href="metric_1.html#K1" title="METRIC_1:func.1">dist</a> (<font color="Olive" title="b1">a</font>,<font color="Olive" title="b2">b</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">a</font>,<font color="Olive" title="b2">b</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">b</font>,<font color="Olive" title="b1">a</font>) &amp;  <a href="metric_1.html#K1" title="METRIC_1:func.1">dist</a> (<font color="Olive" title="b1">a</font>,<font color="Olive" title="b3">c</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">a</font>,<font color="Olive" title="b2">b</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">b</font>,<font color="Olive" title="b3">c</font>)</span>)</span> )
 
<div><a class="txt" onmouseover="tooltip.show('hs2',this)" onmouseout="tooltip.hide()" onclick="hs2(this)" href="javascript:()" title="41_2_1"><span class="kw">proof </span></a><div class="add">

<span class="kw">let </span><font color="Maroon" title="c4">a</font>, <font color="Maroon" title="c5">b</font>, <font color="Maroon" title="c6">c</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>(# <font color="Maroon" title="c1">D</font>,<font color="Maroon" title="c2">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"> ( (  <a href="metric_1.html#K1" title="METRIC_1:func.1">dist</a> (<font color="Maroon" title="c4">a</font>,<font color="Maroon" title="c5">b</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="c4">a</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c5">b</font> ) &amp; ( <font color="Maroon" title="c4">a</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c5">b</font> implies  <a href="metric_1.html#K1" title="METRIC_1:func.1">dist</a> (<font color="Maroon" title="c4">a</font>,<font color="Maroon" title="c5">b</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="c4">a</font>,<font color="Maroon" title="c5">b</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="c5">b</font>,<font color="Maroon" title="c4">a</font>) &amp;  <a href="metric_1.html#K1" title="METRIC_1:func.1">dist</a> (<font color="Maroon" title="c4">a</font>,<font color="Maroon" title="c6">c</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="c4">a</font>,<font color="Maroon" title="c5">b</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="c5">b</font>,<font color="Maroon" title="c6">c</font>)</span>)</span> )</span><br/>

<a NAME="E1:41_2_1"/><span class="lab"><font color="Green" title="E29">A4</font></span>: 
 the <a href="metric_1.html#U1" title="METRIC_1:sel.1">distance</a> of <a href="metric_1.html#G1" title="METRIC_1:aggr.1">MetrStruct</a>(# <font color="Maroon" title="c1">D</font>,<font color="Maroon" title="c2">f</font> #) <a href="binop_1.html#K1" title="BINOP_1:func.1">.</a> (<font color="Maroon" title="c4">a</font>,<font color="Maroon" title="c5">b</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">a</font>,<font color="Maroon" title="c5">b</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="E2:41_2_1"/>
(  <a href="metric_1.html#K1" title="METRIC_1:func.1">dist</a> (<font color="Maroon" title="c4">a</font>,<font color="Maroon" title="c5">b</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="c4">a</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c5">b</font> )
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:41_2"><span class="lab"><font color="Green" title="E28">A3</font></span></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"> ( <!--HUMANRECFAILED--> <a href="metric_1.html#K1" title="METRIC_1:func.1">dist</a> (<font color="Maroon" title="c4">a</font>,<font color="Maroon" title="c5">b</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="c5">b</font>,<font color="Maroon" title="c4">a</font>) &amp;  <a href="metric_1.html#K1" title="METRIC_1:func.1">dist</a> (<font color="Maroon" title="c4">a</font>,<font color="Maroon" title="c6">c</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="c4">a</font>,<font color="Maroon" title="c5">b</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="c5">b</font>,<font color="Maroon" title="c6">c</font>)</span>)</span> )</span><br/>

<a NAME="E3:41_2_1"/>
 the <a href="metric_1.html#U1" title="METRIC_1:sel.1">distance</a> of <a href="metric_1.html#G1" title="METRIC_1:aggr.1">MetrStruct</a>(# <font color="Maroon" title="c1">D</font>,<font color="Maroon" title="c2">f</font> #) <a href="binop_1.html#K1" title="BINOP_1:func.1">.</a> (<font color="Maroon" title="c5">b</font>,<font color="Maroon" title="c4">a</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="c5">b</font>,<font color="Maroon" title="c4">a</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="E4:41_2_1"/>
 <a href="metric_1.html#K1" title="METRIC_1:func.1">dist</a> (<font color="Maroon" title="c4">a</font>,<font color="Maroon" title="c5">b</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="c5">b</font>,<font color="Maroon" title="c4">a</font>)
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:41_2"><span class="lab"><font color="Green" title="E28">A3</font></span></a>, <a class="txt" href="#E1:41_2_1"><span class="lab"><font color="Green" title="E29">A4</font></span></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="c4">a</font>,<font color="Maroon" title="c6">c</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="c4">a</font>,<font color="Maroon" title="c5">b</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="c5">b</font>,<font color="Maroon" title="c6">c</font>)</span>)</span></span><br/>

<a NAME="E5:41_2_1"/>
(  the <a href="metric_1.html#U1" title="METRIC_1:sel.1">distance</a> of <a href="metric_1.html#G1" title="METRIC_1:aggr.1">MetrStruct</a>(# <font color="Maroon" title="c1">D</font>,<font color="Maroon" title="c2">f</font> #) <a href="binop_1.html#K1" title="BINOP_1:func.1">.</a> (<font color="Maroon" title="c4">a</font>,<font color="Maroon" title="c6">c</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">a</font>,<font color="Maroon" title="c6">c</font>) &amp;  the <a href="metric_1.html#U1" title="METRIC_1:sel.1">distance</a> of <a href="metric_1.html#G1" title="METRIC_1:aggr.1">MetrStruct</a>(# <font color="Maroon" title="c1">D</font>,<font color="Maroon" title="c2">f</font> #) <a href="binop_1.html#K1" title="BINOP_1:func.1">.</a> (<font color="Maroon" title="c5">b</font>,<font color="Maroon" title="c6">c</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="c5">b</font>,<font color="Maroon" title="c6">c</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="E6:41_2_1"/>
 <a href="metric_1.html#K1" title="METRIC_1:func.1">dist</a> (<font color="Maroon" title="c4">a</font>,<font color="Maroon" title="c6">c</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="c4">a</font>,<font color="Maroon" title="c5">b</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="c5">b</font>,<font color="Maroon" title="c6">c</font>)</span>)</span>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:41_2"><span class="lab"><font color="Green" title="E28">A3</font></span></a>, <a class="txt" href="#E1:41_2_1"><span class="lab"><font color="Green" title="E29">A4</font></span></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="E3:41_2"/>
 <a href="metric_1.html#G1" title="METRIC_1:aggr.1">MetrStruct</a>(# <font color="Maroon" title="c1">D</font>,<font color="Maroon" title="c2">f</font> #) 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><span class="kw">end;</span></div>
<span class="kw">hence </span><a NAME="E3:41"/>
( <font color="Maroon" title="c2">f</font> <a href="pcomps_1.html#R1" title="PCOMPS_1:pred.1">is_metric_of</a> <font color="Maroon" title="c1">D</font> iff  <a href="metric_1.html#G1" title="METRIC_1:aggr.1">MetrStruct</a>(# <font color="Maroon" title="c1">D</font>,<font color="Maroon" title="c2">f</font> #) is   <a href="metric_1.html#NM1" title="METRIC_1:NM.1">MetrSpace</a> )
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:41"><span class="lab"><font color="Green" title="E27">A1</font></span></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>
