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

<span class="kw">let </span><font color="Maroon" title="c1">R</font> be  non  <a href="struct_0.html#V2" title="STRUCT_0:attr.2">empty</a>   <a href="orders_2.html#V3" title="ORDERS_2:attr.3">reflexive</a>   <a href="orders_2.html#V4" title="ORDERS_2:attr.4">transitive</a>   <a href="orders_2.html#L1" title="ORDERS_2:struct.1">RelStr</a> ; <a class="txt" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="Red">::  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="struct_0.html#NM1" title="STRUCT_0:NM.1">Element</a> of <font color="Maroon" title="c1">R</font>  st the <a href="orders_2.html#U1" title="ORDERS_2:sel.1">InternalRel</a> of <font color="Maroon" title="c1">R</font> <a href="rewrite1.html#R1" title="REWRITE1:pred.1">reduces</a> <font color="Olive" title="b1">x</font>,<font color="Olive" title="b2">y</font> holds <br/><span class="p1"><a href="domain_1.html#K1" title="DOMAIN_1:func.1">[</a><span class="default"><font color="Olive" title="b1">x</font>,<font color="Olive" title="b2">y</font></span><a href="domain_1.html#K1" title="DOMAIN_1:func.1">]</a></span> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> the <a href="orders_2.html#U1" title="ORDERS_2:sel.1">InternalRel</a> of <font color="Maroon" title="c1">R</font></span><br/><span class="kw">let </span><font color="Maroon" title="c2">x</font>, <font color="Maroon" title="c3">y</font> be   <a href="struct_0.html#NM1" title="STRUCT_0:NM.1">Element</a> of <font color="Maroon" title="c1">R</font>; <a class="txt" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="Red">::  thesis: </font></span></a><span class="hide"> ( the <a href="orders_2.html#U1" title="ORDERS_2:sel.1">InternalRel</a> of <font color="Maroon" title="c1">R</font> <a href="rewrite1.html#R1" title="REWRITE1:pred.1">reduces</a> <font color="Maroon" title="c2">x</font>,<font color="Maroon" title="c3">y</font> implies <span class="p1"><a href="domain_1.html#K1" title="DOMAIN_1:func.1">[</a><span class="default"><font color="Maroon" title="c2">x</font>,<font color="Maroon" title="c3">y</font></span><a href="domain_1.html#K1" title="DOMAIN_1:func.1">]</a></span> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> the <a href="orders_2.html#U1" title="ORDERS_2:sel.1">InternalRel</a> of <font color="Maroon" title="c1">R</font> )</span><br/>



<span class="kw">set </span><font color="Maroon" title="c4">cR</font> = the <a href="struct_0.html#U1" title="STRUCT_0:sel.1">carrier</a> of <font color="Maroon" title="c1">R</font>;<br/>
<span class="kw">set </span><font color="Maroon" title="c5">IR</font> = the <a href="orders_2.html#U1" title="ORDERS_2:sel.1">InternalRel</a> of <font color="Maroon" title="c1">R</font>;<br/>
<span class="kw">assume </span><a NAME="E1:43"/>
the <a href="orders_2.html#U1" title="ORDERS_2:sel.1">InternalRel</a> of <font color="Maroon" title="c1">R</font> <a href="rewrite1.html#R1" title="REWRITE1:pred.1">reduces</a> <font color="Maroon" title="c2">x</font>,<font color="Maroon" title="c3">y</font>
 ; <a class="txt" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="Red">::  thesis: </font></span></a><span class="hide"> <span class="p1"><a href="domain_1.html#K1" title="DOMAIN_1:func.1">[</a><span class="default"><font color="Maroon" title="c2">x</font>,<font color="Maroon" title="c3">y</font></span><a href="domain_1.html#K1" title="DOMAIN_1:func.1">]</a></span> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> the <a href="orders_2.html#U1" title="ORDERS_2:sel.1">InternalRel</a> of <font color="Maroon" title="c1">R</font></span><br/>

<span class="kw">then </span><span class="kw">consider </span><font color="Maroon" title="c6">p</font> being    <a href="rewrite1.html#M1" title="REWRITE1:mode.1">RedSequence</a> of the <a href="orders_2.html#U1" title="ORDERS_2:sel.1">InternalRel</a> of <font color="Maroon" title="c1">R</font><span class="kw"> such that </span><br/><a NAME="E3:43"/><span class="lab"><font color="Green" title="E24">A1</font></span>: 
<font color="Maroon" title="c6">p</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> 1 <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c2">x</font>
 <span class="kw">and </span><br/><a NAME="E4:43"/><span class="lab"><font color="Green" title="E25">A2</font></span>: 
<font color="Maroon" title="c6">p</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <span class="p1">(<span class="default"><a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c6">p</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c3">y</font>
 <span class="kw">by</span> <span class="lab"><a class="ref" href="rewrite1.html#D3" title="REWRITE1:def.3">REWRITE1:def 3</a></span>;<br/>
<span class="kw">reconsider </span><font color="Maroon" title="c7">p</font> = <font color="Maroon" title="c6">p</font> as   <a href="finseq_1.html#NM1" title="FINSEQ_1:NM.1">FinSequence</a> ;<br/>
<span class="kw">defpred </span><font color="Maroon">S<sub>1</sub></font>[  <a href="nat_1.html#NM1" title="NAT_1:NM.1">Nat</a>] <span class="kw">means </span>( $1 <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a>  <a href="finseq_1.html#K4" title="FINSEQ_1:func.4">dom</a> <font color="Maroon" title="c7">p</font> implies <span class="p1"><a href="tarski.html#K4" title="TARSKI:func.4">[</a><span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c7">p</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> 1</span>)</span>,<span class="p2">(<span class="default"><font color="Maroon" title="c7">p</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> $1</span>)</span></span><a href="tarski.html#K4" title="TARSKI:func.4">]</a></span> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> the <a href="orders_2.html#U1" title="ORDERS_2:sel.1">InternalRel</a> of <font color="Maroon" title="c1">R</font> );<br/>
<a NAME="E6:43"/><span class="lab"><font color="Green" title="E26">A3</font></span>: 
the <a href="orders_2.html#U1" title="ORDERS_2:sel.1">InternalRel</a> of <font color="Maroon" title="c1">R</font> <a href="relat_2.html#R8" title="RELAT_2:pred.8">is_transitive_in</a> the <a href="struct_0.html#U1" title="STRUCT_0:sel.1">carrier</a> of <font color="Maroon" title="c1">R</font>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="orders_2.html#D5" title="ORDERS_2:def.5">ORDERS_2:def 5</a></span>;<br/>
<a NAME="E7:43"/><span class="lab"><font color="Green" title="E27">A4</font></span>: 
for <font color="Olive" title="b1">k</font> being non  <a href="xboole_0.html#V1" title="XBOOLE_0:attr.1">empty</a>  <a href="nat_1.html#NM1" title="NAT_1:NM.1">Nat</a>  st <font color="Maroon">S<sub>1</sub></font>[<font color="Olive" title="b1">k</font>] holds <br/><font color="Maroon">S<sub>1</sub></font>[<font color="Olive" title="b1">k</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1]
 
<div><a class="txt" onclick="hs2(this)" href="javascript:()" title="43_1"><span class="kw">proof </span></a><div class="add">

<span class="kw">let </span><font color="Maroon" title="c8">k</font> be  non  <a href="xboole_0.html#V1" title="XBOOLE_0:attr.1">empty</a>  <a href="nat_1.html#NM1" title="NAT_1:NM.1">Nat</a>; <a class="txt" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="Red">::  thesis: </font></span></a><span class="hide"> ( <font color="Maroon">S<sub>1</sub></font>[<font color="Maroon" title="c8">k</font>] implies <font color="Maroon">S<sub>1</sub></font>[<font color="Maroon" title="c8">k</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1] )</span><br/>

<span class="kw">assume </span><a NAME="E1:43_1"/><span class="lab"><font color="Green" title="E28">A5</font></span>: 
<font color="Maroon">S<sub>1</sub></font>[<font color="Maroon" title="c8">k</font>]
 ; <a class="txt" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="Red">::  thesis: </font></span></a><span class="hide"> <font color="Maroon">S<sub>1</sub></font>[<font color="Maroon" title="c8">k</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1]</span><br/>

<span class="kw">assume </span><a NAME="E2:43_1"/><span class="lab"><font color="Green" title="E29">A6</font></span>: 
<font color="Maroon" title="c8">k</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1 <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a>  <a href="finseq_1.html#K4" title="FINSEQ_1:func.4">dom</a> <font color="Maroon" title="c7">p</font>
 ; <a class="txt" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="Red">::  thesis: </font></span></a><span class="hide"> <span class="p1"><a href="tarski.html#K4" title="TARSKI:func.4">[</a><span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c7">p</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> 1</span>)</span>,<span class="p2">(<span class="default"><font color="Maroon" title="c7">p</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <span class="p3">(<span class="default"><font color="Maroon" title="c8">k</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1</span>)</span></span>)</span></span><a href="tarski.html#K4" title="TARSKI:func.4">]</a></span> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> the <a href="orders_2.html#U1" title="ORDERS_2:sel.1">InternalRel</a> of <font color="Maroon" title="c1">R</font></span><br/>

<a NAME="E3:43_1"/><span class="kw">then </span>
( <font color="Maroon" title="c8">k</font> <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a> <font color="Maroon" title="c8">k</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1 &amp; <font color="Maroon" title="c8">k</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1 <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a>  <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c7">p</font> )
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="finseq_3.html#T27" title="FINSEQ_3:th.27">FINSEQ_3:27</a>, <a class="ref" href="nat_1.html#T11" title="NAT_1:th.11">NAT_1:11</a></span>;<br/>
<a NAME="E4:43_1"/><span class="kw">then </span><span class="lab"><font color="Green" title="E30">A7</font></span>: 
( <a href="numbers.html#K6" title="NUMBERS:func.6">0</a>  <a href="nat_1.html#K2" title="NAT_1:func.2">+</a> 1 <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a> <font color="Maroon" title="c8">k</font> &amp; <font color="Maroon" title="c8">k</font> <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a>  <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c7">p</font> )
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="nat_1.html#T13" title="NAT_1:th.13">NAT_1:13</a></span>;<br/>
<a NAME="E5:43_1"/><span class="kw">then </span><span class="lab"><font color="Green" title="E31">A8</font></span>: 
<font color="Maroon" title="c7">p</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> 1 <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> the <a href="struct_0.html#U1" title="STRUCT_0:sel.1">carrier</a> of <font color="Maroon" title="c1">R</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:43_1"><span class="lab"><font color="Green" title="E28">A5</font></span></a>, <a class="ref" href="finseq_3.html#T27" title="FINSEQ_3:th.27">FINSEQ_3:27</a>, <a class="ref" href="zfmisc_1.html#T106" title="ZFMISC_1:th.106">ZFMISC_1:106</a></span>;<br/>
<a NAME="E6:43_1"/>
<font color="Maroon" title="c8">k</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a>  <a href="finseq_1.html#K4" title="FINSEQ_1:func.4">dom</a> <font color="Maroon" title="c7">p</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E4:43_1"><span class="lab"><font color="Green" title="E30">A7</font></span></a>, <a class="ref" href="finseq_3.html#T27" title="FINSEQ_3:th.27">FINSEQ_3:27</a></span>;<br/>
<a NAME="E7:43_1"/><span class="kw">then </span><span class="lab"><font color="Green" title="E32">A9</font></span>: 
<span class="p1"><a href="tarski.html#K4" title="TARSKI:func.4">[</a><span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c7">p</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c8">k</font></span>)</span>,<span class="p2">(<span class="default"><font color="Maroon" title="c7">p</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <span class="p3">(<span class="default"><font color="Maroon" title="c8">k</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1</span>)</span></span>)</span></span><a href="tarski.html#K4" title="TARSKI:func.4">]</a></span> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> the <a href="orders_2.html#U1" title="ORDERS_2:sel.1">InternalRel</a> of <font color="Maroon" title="c1">R</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:43_1"><span class="lab"><font color="Green" title="E29">A6</font></span></a>, <a class="ref" href="rewrite1.html#D2" title="REWRITE1:def.2">REWRITE1:def 2</a></span>;<br/>
<a NAME="E8:43_1"/><span class="kw">then </span>
( <font color="Maroon" title="c7">p</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c8">k</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> the <a href="struct_0.html#U1" title="STRUCT_0:sel.1">carrier</a> of <font color="Maroon" title="c1">R</font> &amp; <font color="Maroon" title="c7">p</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <span class="p1">(<span class="default"><font color="Maroon" title="c8">k</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1</span>)</span> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> the <a href="struct_0.html#U1" title="STRUCT_0:sel.1">carrier</a> of <font color="Maroon" title="c1">R</font> )
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="zfmisc_1.html#T106" title="ZFMISC_1:th.106">ZFMISC_1:106</a></span>;<br/>
<span class="kw">hence </span><a NAME="E9:43_1"/>
<span class="p1"><a href="tarski.html#K4" title="TARSKI:func.4">[</a><span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c7">p</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> 1</span>)</span>,<span class="p2">(<span class="default"><font color="Maroon" title="c7">p</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <span class="p3">(<span class="default"><font color="Maroon" title="c8">k</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1</span>)</span></span>)</span></span><a href="tarski.html#K4" title="TARSKI:func.4">]</a></span> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> the <a href="orders_2.html#U1" title="ORDERS_2:sel.1">InternalRel</a> of <font color="Maroon" title="c1">R</font>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E6:43"><span class="lab"><font color="Green" title="E26">A3</font></span></a>, <a class="txt" href="#E1:43_1"><span class="lab"><font color="Green" title="E28">A5</font></span></a>, <a class="txt" href="#E4:43_1"><span class="lab"><font color="Green" title="E30">A7</font></span></a>, <a class="txt" href="#E7:43_1"><span class="lab"><font color="Green" title="E32">A9</font></span></a>, <a class="txt" href="#E5:43_1"><span class="lab"><font color="Green" title="E31">A8</font></span></a>, <a class="ref" href="finseq_3.html#T27" title="FINSEQ_3:th.27">FINSEQ_3:27</a>, <a class="ref" href="relat_2.html#D8" title="RELAT_2:def.8">RELAT_2:def 8</a></span>; <a class="txt" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="Red">::  thesis: </font></span></a><span class="hide"> verum</span><br/>


</div><span class="kw">end;</span></div>
<a NAME="E8:43"/>
the <a href="orders_2.html#U1" title="ORDERS_2:sel.1">InternalRel</a> of <font color="Maroon" title="c1">R</font> <a href="relat_2.html#R1" title="RELAT_2:pred.1">is_reflexive_in</a> the <a href="struct_0.html#U1" title="STRUCT_0:sel.1">carrier</a> of <font color="Maroon" title="c1">R</font>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="orders_2.html#D4" title="ORDERS_2:def.4">ORDERS_2:def 4</a></span>;<br/>
<a NAME="E9:43"/><span class="kw">then </span><span class="lab"><font color="Green" title="E28">A10</font></span>: 
<font color="Maroon">S<sub>1</sub></font>[1]
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E3:43"><span class="lab"><font color="Green" title="E24">A1</font></span></a>, <a class="ref" href="relat_2.html#D1" title="RELAT_2:def.1">RELAT_2:def 1</a></span>;<br/>
<a NAME="E10:43"/><span class="lab"><font color="Green" title="E29">A11</font></span>: 
for <font color="Olive" title="b1">k</font> being non  <a href="xboole_0.html#V1" title="XBOOLE_0:attr.1">empty</a>  <a href="nat_1.html#NM1" title="NAT_1:NM.1">Nat</a> holds  <font color="Maroon">S<sub>1</sub></font>[<font color="Olive" title="b1">k</font>]
 
<span class="kw">from</span> <span class="lab"><a class="ref" href="nat_1.html#S10" title="NAT_1:sch.10">NAT_1:sch 10</a>(<a class="txt" href="#E9:43"><span class="lab"><font color="Green" title="E28">A10</font></span></a>, <a class="txt" href="#E7:43"><span class="lab"><font color="Green" title="E27">A4</font></span></a>);<br/></span>
<a NAME="E11:43"/><span class="lab"><font color="Green" title="E30">A12</font></span>: 
 <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c7">p</font> <a href="xxreal_0.html#NR4" title="XXREAL_0:NR.4">&gt;</a>  <a href="numbers.html#K6" title="NUMBERS:func.6">0</a> 
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="rewrite1.html#D2" title="REWRITE1:def.2">REWRITE1:def 2</a></span>;<br/>
<a NAME="E12:43"/><span class="kw">then </span>
<a href="numbers.html#K6" title="NUMBERS:func.6">0</a>  <a href="nat_1.html#K2" title="NAT_1:func.2">+</a> 1 <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a>  <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c7">p</font>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="nat_1.html#T13" title="NAT_1:th.13">NAT_1:13</a></span>;<br/>
<a NAME="E13:43"/><span class="kw">then </span>
 <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c7">p</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a>  <a href="finseq_1.html#K4" title="FINSEQ_1:func.4">dom</a> <font color="Maroon" title="c7">p</font>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="finseq_3.html#T27" title="FINSEQ_3:th.27">FINSEQ_3:27</a></span>;<br/>
<span class="kw">hence </span><a NAME="E14:43"/>
<span class="p1"><a href="domain_1.html#K1" title="DOMAIN_1:func.1">[</a><span class="default"><font color="Maroon" title="c2">x</font>,<font color="Maroon" title="c3">y</font></span><a href="domain_1.html#K1" title="DOMAIN_1:func.1">]</a></span> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> the <a href="orders_2.html#U1" title="ORDERS_2:sel.1">InternalRel</a> of <font color="Maroon" title="c1">R</font>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E3:43"><span class="lab"><font color="Green" title="E24">A1</font></span></a>, <a class="txt" href="#E4:43"><span class="lab"><font color="Green" title="E25">A2</font></span></a>, <a class="txt" href="#E11:43"><span class="lab"><font color="Green" title="E30">A12</font></span></a>, <a class="txt" href="#E10:43"><span class="lab"><font color="Green" title="E29">A11</font></span></a></span>; <a class="txt" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="Red">::  thesis: </font></span></a><span class="hide"> verum</span><br/>


</div>
