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

<span class="kw">let </span><font color="Maroon" title="c1">G</font> be   <a href="glib_000.html#V7" title="GLIB_000:attr.7">simple</a>  <a href="glib_000.html#NM2" title="GLIB_000:NM.2">_Graph</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">v</font> being   <a href="glib_000.html#NM10" title="GLIB_000:NM.10">Vertex</a> of <font color="Maroon" title="c1">G</font> holds  <font color="Olive" title="b1">v</font> <a href="glib_000.html#K34" title="GLIB_000:func.34">.degree()</a>  <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="card_1.html#K1" title="CARD_1:func.1">card</a> <span class="p1">(<span class="default"><font color="Olive" title="b1">v</font> <a href="glib_000.html#K38" title="GLIB_000:func.38">.allNeighbors()</a></span>)</span></span><br/><span class="kw">let </span><font color="Maroon" title="c2">v</font> be   <a href="glib_000.html#NM10" title="GLIB_000:NM.10">Vertex</a> of <font color="Maroon" title="c1">G</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"> <font color="Maroon" title="c2">v</font> <a href="glib_000.html#K34" title="GLIB_000:func.34">.degree()</a>  <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="card_1.html#K1" title="CARD_1:func.1">card</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">v</font> <a href="glib_000.html#K38" title="GLIB_000:func.38">.allNeighbors()</a></span>)</span></span><br/>



<a NAME="E1:8"/>
<span class="p1">(<span class="default"><font color="Maroon" title="c2">v</font> <a href="glib_000.html#K36" title="GLIB_000:func.36">.inNeighbors()</a></span>)</span> <a href="subset_1.html#K9" title="SUBSET_1:func.9">/\</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">v</font> <a href="glib_000.html#K37" title="GLIB_000:func.37">.outNeighbors()</a></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="xboole_0.html#K1" title="XBOOLE_0:func.1">{}</a> 
 
<div><a class="txt" onmouseover="tooltip.show('hs2',this)" onmouseout="tooltip.hide()" onclick="hs2(this)" href="javascript:()" title="8_1"><span class="kw">proof </span></a><div class="add">

<span class="kw">assume </span><a NAME="E1:8_1"/>
<span class="p1">(<span class="default"><font color="Maroon" title="c2">v</font> <a href="glib_000.html#K36" title="GLIB_000:func.36">.inNeighbors()</a></span>)</span> <a href="subset_1.html#K9" title="SUBSET_1:func.9">/\</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">v</font> <a href="glib_000.html#K37" title="GLIB_000:func.37">.outNeighbors()</a></span>)</span> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a>  <a href="xboole_0.html#K1" title="XBOOLE_0:func.1">{}</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"> contradiction</span><br/>

<span class="kw">then </span><span class="kw">consider </span><font color="Maroon" title="c3">w</font> being    <a href="hidden.html#M1" title="HIDDEN:mode.1">object</a> <span class="kw"> such that </span><br/><a NAME="E3:8_1"/><span class="lab"><font color="Green" title="E8">A1</font></span>: 
<font color="Maroon" title="c3">w</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">v</font> <a href="glib_000.html#K36" title="GLIB_000:func.36">.inNeighbors()</a></span>)</span> <a href="subset_1.html#K9" title="SUBSET_1:func.9">/\</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">v</font> <a href="glib_000.html#K37" title="GLIB_000:func.37">.outNeighbors()</a></span>)</span>
 <span class="kw">by</span> <span class="lab"><a class="ref" href="xboole_0.html#D1" onmouseover="rs('xboole_0/D1')" onmouseout="rh()">XBOOLE_0:def 1</a></span>;<br/>
<a NAME="E4:8_1"/><span class="lab"><font color="Green" title="E9">A2</font></span>: 
( <font color="Maroon" title="c3">w</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> <font color="Maroon" title="c2">v</font> <a href="glib_000.html#K36" title="GLIB_000:func.36">.inNeighbors()</a>  &amp; <font color="Maroon" title="c3">w</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> <font color="Maroon" title="c2">v</font> <a href="glib_000.html#K37" title="GLIB_000:func.37">.outNeighbors()</a>  )
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E3:8_1"><span class="lab"><font color="Green" title="E8">A1</font></span></a>, <a class="ref" href="xboole_0.html#D4" onmouseover="rs('xboole_0/D4')" onmouseout="rh()">XBOOLE_0:def 4</a></span>;<br/>
<span class="kw">consider </span><font color="Maroon" title="c4">e1</font> being    <a href="hidden.html#M1" title="HIDDEN:mode.1">object</a> <span class="kw"> such that </span><br/><a NAME="E6:8_1"/><span class="lab"><font color="Green" title="E10">A3</font></span>: 
<font color="Maroon" title="c4">e1</font> <a href="glib_000.html#R2" title="GLIB_000:pred.2">DJoins</a> <font color="Maroon" title="c3">w</font>,<font color="Maroon" title="c2">v</font>,<font color="Maroon" title="c1">G</font>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E4:8_1"><span class="lab"><font color="Green" title="E9">A2</font></span></a>, <a class="ref" href="glib_000.html#T69" onmouseover="rs('glib_000/T69')" onmouseout="rh()">GLIB_000:69</a></span>;<br/>
<span class="kw">consider </span><font color="Maroon" title="c5">e2</font> being    <a href="hidden.html#M1" title="HIDDEN:mode.1">object</a> <span class="kw"> such that </span><br/><a NAME="E8:8_1"/><span class="lab"><font color="Green" title="E11">A4</font></span>: 
<font color="Maroon" title="c5">e2</font> <a href="glib_000.html#R2" title="GLIB_000:pred.2">DJoins</a> <font color="Maroon" title="c2">v</font>,<font color="Maroon" title="c3">w</font>,<font color="Maroon" title="c1">G</font>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E4:8_1"><span class="lab"><font color="Green" title="E9">A2</font></span></a>, <a class="ref" href="glib_000.html#T70" onmouseover="rs('glib_000/T70')" onmouseout="rh()">GLIB_000:70</a></span>;<br/>
<a NAME="E9:8_1"/>
( <font color="Maroon" title="c4">e1</font> <a href="glib_000.html#R1" title="GLIB_000:pred.1">Joins</a> <font color="Maroon" title="c2">v</font>,<font color="Maroon" title="c3">w</font>,<font color="Maroon" title="c1">G</font> &amp; <font color="Maroon" title="c5">e2</font> <a href="glib_000.html#R1" title="GLIB_000:pred.1">Joins</a> <font color="Maroon" title="c2">v</font>,<font color="Maroon" title="c3">w</font>,<font color="Maroon" title="c1">G</font> )
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E6:8_1"><span class="lab"><font color="Green" title="E10">A3</font></span></a>, <a class="txt" href="#E8:8_1"><span class="lab"><font color="Green" title="E11">A4</font></span></a>, <a class="ref" href="glib_000.html#T16" onmouseover="rs('glib_000/T16')" onmouseout="rh()">GLIB_000:16</a></span>;<br/>
<a NAME="E10:8_1"/><span class="kw">then </span>
<font color="Maroon" title="c4">e1</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c5">e2</font>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="glib_000.html#D20" onmouseover="rs('glib_000/D20')" onmouseout="rh()">GLIB_000:def 20</a></span>;<br/>
<a NAME="E11:8_1"/><span class="kw">then </span>
( <font color="Maroon" title="c4">e1</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a>  <a href="glib_000.html#K7" title="GLIB_000:func.7">the_Edges_of</a> <font color="Maroon" title="c1">G</font> &amp; <span class="p1">(<span class="default"><a href="glib_000.html#K10" title="GLIB_000:func.10">the_Source_of</a> <font color="Maroon" title="c1">G</font></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c4">e1</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c2">v</font> &amp; <span class="p1">(<span class="default"><a href="glib_000.html#K11" title="GLIB_000:func.11">the_Target_of</a> <font color="Maroon" title="c1">G</font></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c4">e1</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c2">v</font> )
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E6:8_1"><span class="lab"><font color="Green" title="E10">A3</font></span></a>, <a class="txt" href="#E8:8_1"><span class="lab"><font color="Green" title="E11">A4</font></span></a>, <a class="ref" href="glib_000.html#D14" onmouseover="rs('glib_000/D14')" onmouseout="rh()">GLIB_000:def 14</a></span>;<br/>
<span class="kw">hence </span><a NAME="E12:8_1"/>
contradiction
 <span class="kw">by</span> <span class="lab"><a class="ref" href="glib_000.html#D18" onmouseover="rs('glib_000/D18')" onmouseout="rh()">GLIB_000:def 18</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">then </span> <a href="card_1.html#K1" title="CARD_1:func.1">card</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c2">v</font> <a href="glib_000.html#K36" title="GLIB_000:func.36">.inNeighbors()</a></span>)</span> <a href="subset_1.html#K4" title="SUBSET_1:func.4">\/</a> <span class="p2">(<span class="default"><font color="Maroon" title="c2">v</font> <a href="glib_000.html#K37" title="GLIB_000:func.37">.outNeighbors()</a></span>)</span></span>)</span> = 
<span class="p1">(<span class="default"><a href="card_1.html#K1" title="CARD_1:func.1">card</a> <span class="p2">(<span class="default"><font color="Maroon" title="c2">v</font> <a href="glib_000.html#K36" title="GLIB_000:func.36">.inNeighbors()</a></span>)</span></span>)</span> <a href="card_2.html#K1" title="CARD_2:func.1">+`</a> <span class="p1">(<span class="default"><a href="card_1.html#K1" title="CARD_1:func.1">card</a> <span class="p2">(<span class="default"><font color="Maroon" title="c2">v</font> <a href="glib_000.html#K37" title="GLIB_000:func.37">.outNeighbors()</a></span>)</span></span>)</span>
<span class="kw">by</span> <span class="lab"><a class="ref" href="card_2.html#T35" onmouseover="rs('card_2/T35')" onmouseout="rh()">CARD_2:35</a>, <a class="ref" href="xboole_0.html#D7" onmouseover="rs('xboole_0/D7')" onmouseout="rh()">XBOOLE_0:def 7</a></span>
<br/>.= 
<span class="p1">(<span class="default"><font color="Maroon" title="c2">v</font> <a href="glib_000.html#K30" title="GLIB_000:func.30">.inDegree()</a></span>)</span> <a href="card_2.html#K1" title="CARD_2:func.1">+`</a> <span class="p1">(<span class="default"><a href="card_1.html#K1" title="CARD_1:func.1">card</a> <span class="p2">(<span class="default"><font color="Maroon" title="c2">v</font> <a href="glib_000.html#K37" title="GLIB_000:func.37">.outNeighbors()</a></span>)</span></span>)</span>
<span class="kw">by</span> <span class="lab"><a class="ref" href="glib_008.html#T3" target="_self" onmouseover="rs('glib_008/T3')" onmouseout="rh()">Th3</a></span>
<br/>.= 
<span class="p1">(<span class="default"><font color="Maroon" title="c2">v</font> <a href="glib_000.html#K30" title="GLIB_000:func.30">.inDegree()</a></span>)</span> <a href="card_2.html#K1" title="CARD_2:func.1">+`</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">v</font> <a href="glib_000.html#K31" title="GLIB_000:func.31">.outDegree()</a></span>)</span>
<span class="kw">by</span> <span class="lab"><a class="ref" href="glib_008.html#T4" target="_self" onmouseover="rs('glib_008/T4')" onmouseout="rh()">Th4</a></span>
<br/>.= 
<font color="Maroon" title="c2">v</font> <a href="glib_000.html#K34" title="GLIB_000:func.34">.degree()</a> 
<span class="kw">by</span> <span class="lab"><a class="ref" href="glib_000.html#D44" onmouseover="rs('glib_000/D44')" onmouseout="rh()">GLIB_000:def 44</a></span>
;<br/>
<span class="kw">hence </span><a NAME="E3:8"/>
<font color="Maroon" title="c2">v</font> <a href="glib_000.html#K34" title="GLIB_000:func.34">.degree()</a>  <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="card_1.html#K1" title="CARD_1:func.1">card</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">v</font> <a href="glib_000.html#K38" title="GLIB_000:func.38">.allNeighbors()</a></span>)</span>
 <span class="kw">by</span> <span class="lab"><a class="ref" href="glib_000.html#D48" onmouseover="rs('glib_000/D48')" onmouseout="rh()">GLIB_000:def 48</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>
