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

<span class="kw">let </span><font color="Maroon" title="c1">k</font>, <font color="Maroon" title="c2">n</font> be   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</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">a</font>, <font color="Olive" title="b2">b</font> being    <a href="hidden.html#M2" title="HIDDEN:mode.2">set</a>   st  <a href="card_1.html#K1" title="CARD_1:func.1">card</a> <font color="Olive" title="b1">a</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c2">n</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <font color="Maroon" title="c1">k</font> &amp;  <a href="card_1.html#K1" title="CARD_1:func.1">card</a> <font color="Olive" title="b2">b</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c2">n</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <font color="Maroon" title="c1">k</font> holds <br/>(  <a href="card_1.html#K1" title="CARD_1:func.1">card</a> <span class="p1">(<span class="default"><font color="Olive" title="b1">a</font> <a href="xboole_0.html#K3" title="XBOOLE_0:func.3">/\</a> <font color="Olive" title="b2">b</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c2">n</font> iff  <a href="card_1.html#K1" title="CARD_1:func.1">card</a> <span class="p1">(<span class="default"><font color="Olive" title="b1">a</font> <a href="xboole_0.html#K2" title="XBOOLE_0:func.2">\/</a> <font color="Olive" title="b2">b</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c2">n</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p1">(<span class="default">2 <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c1">k</font></span>)</span> )</span><br/><span class="kw">let </span><font color="Maroon" title="c3">a</font>, <font color="Maroon" title="c4">b</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"> (  <a href="card_1.html#K1" title="CARD_1:func.1">card</a> <font color="Maroon" title="c3">a</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c2">n</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <font color="Maroon" title="c1">k</font> &amp;  <a href="card_1.html#K1" title="CARD_1:func.1">card</a> <font color="Maroon" title="c4">b</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c2">n</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <font color="Maroon" title="c1">k</font> implies (  <a href="card_1.html#K1" title="CARD_1:func.1">card</a> <span class="p1">(<span class="default"><font color="Maroon" title="c3">a</font> <a href="xboole_0.html#K3" title="XBOOLE_0:func.3">/\</a> <font color="Maroon" title="c4">b</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c2">n</font> iff  <a href="card_1.html#K1" title="CARD_1:func.1">card</a> <span class="p1">(<span class="default"><font color="Maroon" title="c3">a</font> <a href="xboole_0.html#K2" title="XBOOLE_0:func.2">\/</a> <font color="Maroon" title="c4">b</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c2">n</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p1">(<span class="default">2 <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c1">k</font></span>)</span> ) )</span><br/>





<span class="kw">assume </span><span class="kw">that </span><br/><a NAME="E1:2"/><span class="lab"><font color="Green" title="E3">A1</font></span>: 
 <a href="card_1.html#K1" title="CARD_1:func.1">card</a> <font color="Maroon" title="c3">a</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c2">n</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <font color="Maroon" title="c1">k</font>
 <span class="kw">and </span><br/><a NAME="E2:2"/><span class="lab"><font color="Green" title="E4">A2</font></span>: 
 <a href="card_1.html#K1" title="CARD_1:func.1">card</a> <font color="Maroon" title="c4">b</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c2">n</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <font color="Maroon" title="c1">k</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="card_1.html#K1" title="CARD_1:func.1">card</a> <span class="p1">(<span class="default"><font color="Maroon" title="c3">a</font> <a href="xboole_0.html#K3" title="XBOOLE_0:func.3">/\</a> <font color="Maroon" title="c4">b</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c2">n</font> iff  <a href="card_1.html#K1" title="CARD_1:func.1">card</a> <span class="p1">(<span class="default"><font color="Maroon" title="c3">a</font> <a href="xboole_0.html#K2" title="XBOOLE_0:func.2">\/</a> <font color="Maroon" title="c4">b</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c2">n</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p1">(<span class="default">2 <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c1">k</font></span>)</span> )</span><br/>

<a NAME="E3:2"/><span class="lab"><font color="Green" title="E5">A3</font></span>: 
<font color="Maroon" title="c3">a</font> is  <a href="finset_1.html#V1" title="FINSET_1:attr.1">finite</a> 
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:2"><span class="lab"><font color="Green" title="E3">A1</font></span></a></span>;<br/>
<a NAME="E4:2"/><span class="lab"><font color="Green" title="E6">A4</font></span>: 
<font color="Maroon" title="c4">b</font> is  <a href="finset_1.html#V1" title="FINSET_1:attr.1">finite</a> 
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:2"><span class="lab"><font color="Green" title="E4">A2</font></span></a></span>;<br/>
<span class="kw">thus </span><a NAME="E5:2"/>
(  <a href="card_1.html#K1" title="CARD_1:func.1">card</a> <span class="p1">(<span class="default"><font color="Maroon" title="c3">a</font> <a href="xboole_0.html#K3" title="XBOOLE_0:func.3">/\</a> <font color="Maroon" title="c4">b</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c2">n</font> implies  <a href="card_1.html#K1" title="CARD_1:func.1">card</a> <span class="p1">(<span class="default"><font color="Maroon" title="c3">a</font> <a href="xboole_0.html#K2" title="XBOOLE_0:func.2">\/</a> <font color="Maroon" title="c4">b</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c2">n</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p1">(<span class="default">2 <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c1">k</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="card_1.html#K1" title="CARD_1:func.1">card</a> <span class="p1">(<span class="default"><font color="Maroon" title="c3">a</font> <a href="xboole_0.html#K2" title="XBOOLE_0:func.2">\/</a> <font color="Maroon" title="c4">b</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c2">n</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p1">(<span class="default">2 <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c1">k</font></span>)</span> implies  <a href="card_1.html#K1" title="CARD_1:func.1">card</a> <span class="p1">(<span class="default"><font color="Maroon" title="c3">a</font> <a href="xboole_0.html#K3" title="XBOOLE_0:func.3">/\</a> <font color="Maroon" title="c4">b</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c2">n</font> )</span><div><a class="txt" onmouseover="tooltip.show('hs2',this)" onmouseout="tooltip.hide()" onclick="hs2(this)" href="javascript:()" title="2_1"><span class="kw">proof </span></a><div class="add">

<span class="kw">assume </span><a NAME="E1:2_1"/>
 <a href="card_1.html#K1" title="CARD_1:func.1">card</a> <span class="p1">(<span class="default"><font color="Maroon" title="c3">a</font> <a href="xboole_0.html#K3" title="XBOOLE_0:func.3">/\</a> <font color="Maroon" title="c4">b</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c2">n</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="card_1.html#K1" title="CARD_1:func.1">card</a> <span class="p1">(<span class="default"><font color="Maroon" title="c3">a</font> <a href="xboole_0.html#K2" title="XBOOLE_0:func.2">\/</a> <font color="Maroon" title="c4">b</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c2">n</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p1">(<span class="default">2 <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c1">k</font></span>)</span></span><br/>

<a NAME="E2:2_1"/><span class="kw">then </span>
 <a href="card_1.html#K1" title="CARD_1:func.1">card</a> <span class="p1">(<span class="default"><font color="Maroon" title="c3">a</font> <a href="xboole_0.html#K2" title="XBOOLE_0:func.2">\/</a> <font color="Maroon" title="c4">b</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c2">n</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <font color="Maroon" title="c1">k</font></span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p2">(<span class="default"><font color="Maroon" title="c2">n</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <font color="Maroon" title="c1">k</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c2">n</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:2"><span class="lab"><font color="Green" title="E3">A1</font></span></a>, <a class="txt" href="#E2:2"><span class="lab"><font color="Green" title="E4">A2</font></span></a>, <a class="txt" href="#E3:2"><span class="lab"><font color="Green" title="E5">A3</font></span></a>, <a class="txt" href="#E4:2"><span class="lab"><font color="Green" title="E6">A4</font></span></a>, <a class="ref" href="card_2.html#T45" onmouseover="rs('card_2/T45')" onmouseout="rh()">CARD_2:45</a></span>;<br/>
<span class="kw">hence </span><a NAME="E3:2_1"/>
 <a href="card_1.html#K1" title="CARD_1:func.1">card</a> <span class="p1">(<span class="default"><font color="Maroon" title="c3">a</font> <a href="xboole_0.html#K2" title="XBOOLE_0:func.2">\/</a> <font color="Maroon" title="c4">b</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c2">n</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p1">(<span class="default">2 <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c1">k</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><span class="kw">end;</span></div>

<span class="kw">thus </span><a NAME="E6:2"/>
(  <a href="card_1.html#K1" title="CARD_1:func.1">card</a> <span class="p1">(<span class="default"><font color="Maroon" title="c3">a</font> <a href="xboole_0.html#K2" title="XBOOLE_0:func.2">\/</a> <font color="Maroon" title="c4">b</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c2">n</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p1">(<span class="default">2 <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c1">k</font></span>)</span> implies  <a href="card_1.html#K1" title="CARD_1:func.1">card</a> <span class="p1">(<span class="default"><font color="Maroon" title="c3">a</font> <a href="xboole_0.html#K3" title="XBOOLE_0:func.3">/\</a> <font color="Maroon" title="c4">b</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c2">n</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><div><a class="txt" onmouseover="tooltip.show('hs2',this)" onmouseout="tooltip.hide()" onclick="hs2(this)" href="javascript:()" title="2_2"><span class="kw">proof </span></a><div class="add">

<span class="kw">reconsider </span><font color="Maroon" title="c5">m</font> =  <a href="card_1.html#K1" title="CARD_1:func.1">card</a> <span class="p1">(<span class="default"><font color="Maroon" title="c3">a</font> <a href="xboole_0.html#K3" title="XBOOLE_0:func.3">/\</a> <font color="Maroon" title="c4">b</font></span>)</span> as   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a> <span class="kw">by</span> <span class="lab"><a class="txt" href="#E3:2"><span class="lab"><font color="Green" title="E5">A3</font></span></a></span>;<br/>
<span class="kw">assume </span><a NAME="E2:2_2"/>
 <a href="card_1.html#K1" title="CARD_1:func.1">card</a> <span class="p1">(<span class="default"><font color="Maroon" title="c3">a</font> <a href="xboole_0.html#K2" title="XBOOLE_0:func.2">\/</a> <font color="Maroon" title="c4">b</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c2">n</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p1">(<span class="default">2 <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c1">k</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="card_1.html#K1" title="CARD_1:func.1">card</a> <span class="p1">(<span class="default"><font color="Maroon" title="c3">a</font> <a href="xboole_0.html#K3" title="XBOOLE_0:func.3">/\</a> <font color="Maroon" title="c4">b</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c2">n</font></span><br/>

<a NAME="E3:2_2"/><span class="kw">then </span>
<font color="Maroon" title="c2">n</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p1">(<span class="default">2 <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c1">k</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c2">n</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <font color="Maroon" title="c1">k</font></span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p2">(<span class="default"><font color="Maroon" title="c2">n</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <font color="Maroon" title="c1">k</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c5">m</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:2"><span class="lab"><font color="Green" title="E3">A1</font></span></a>, <a class="txt" href="#E2:2"><span class="lab"><font color="Green" title="E4">A2</font></span></a>, <a class="txt" href="#E3:2"><span class="lab"><font color="Green" title="E5">A3</font></span></a>, <a class="txt" href="#E4:2"><span class="lab"><font color="Green" title="E6">A4</font></span></a>, <a class="ref" href="card_2.html#T45" onmouseover="rs('card_2/T45')" onmouseout="rh()">CARD_2:45</a></span>;<br/>
<span class="kw">hence </span><a NAME="E4:2_2"/>
 <a href="card_1.html#K1" title="CARD_1:func.1">card</a> <span class="p1">(<span class="default"><font color="Maroon" title="c3">a</font> <a href="xboole_0.html#K3" title="XBOOLE_0:func.3">/\</a> <font color="Maroon" title="c4">b</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c2">n</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>


</div>
