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

<span class="kw">let </span><font color="Maroon" title="c1">m</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">  <a href="int_8.html#K2" title="INT_8:func.2">RelPrimes</a> <font color="Maroon" title="c1">m</font> <a href="int_8.html#R1" title="INT_8:pred.1">is_RRS_of</a> <font color="Maroon" title="c1">m</font></span><br/>

<a NAME="E1:27"/><span class="lab"><font color="Green" title="E15">A1</font></span>: 
 <a href="int_8.html#K2" title="INT_8:func.2">RelPrimes</a> <font color="Maroon" title="c1">m</font> <a href="tarski.html#R1" title="TARSKI:pred.1">c=</a>  <a href="finseq_1.html#K2" title="FINSEQ_1:func.2">Seg</a> <font color="Maroon" title="c1">m</font>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="int_8.html#T1" target="_self" onmouseover="rs('int_8/T1')" onmouseout="rh()">Th1</a></span>;<br/>
<a NAME="E2:27"/><span class="lab"><font color="Green" title="E16">A2</font></span>: 
(  <a href="relset_1.html#K2" title="RELSET_1:func.2">rng</a> <span class="p1">(<span class="default"><a href="finseq_1.html#K14" title="FINSEQ_1:func.14">Sgm</a> <span class="p2">(<span class="default"><a href="int_8.html#K2" title="INT_8:func.2">RelPrimes</a> <font color="Maroon" title="c1">m</font></span>)</span></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="int_8.html#K2" title="INT_8:func.2">RelPrimes</a> <font color="Maroon" title="c1">m</font> &amp;  <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <span class="p1">(<span class="default"><a href="finseq_1.html#K14" title="FINSEQ_1:func.14">Sgm</a> <span class="p2">(<span class="default"><a href="int_8.html#K2" title="INT_8:func.2">RelPrimes</a> <font color="Maroon" title="c1">m</font></span>)</span></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <span class="p1">(<span class="default"><a href="finseq_1.html#K14" title="FINSEQ_1:func.14">Sgm</a> <span class="p2">(<span class="default"><a href="int_8.html#K2" title="INT_8:func.2">RelPrimes</a> <font color="Maroon" title="c1">m</font></span>)</span></span>)</span> )
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:27"><span class="lab"><font color="Green" title="E15">A1</font></span></a>, <a class="ref" href="finseq_1.html#D13" onmouseover="rs('finseq_1/D13')" onmouseout="rh()">FINSEQ_1:def 13</a></span>;<br/>
<a NAME="E3:27"/>
 <a href="relset_1.html#K2" title="RELSET_1:func.2">rng</a> <span class="p1">(<span class="default"><a href="finseq_1.html#K14" title="FINSEQ_1:func.14">Sgm</a> <span class="p2">(<span class="default"><a href="int_8.html#K2" title="INT_8:func.2">RelPrimes</a> <font color="Maroon" title="c1">m</font></span>)</span></span>)</span> <a href="tarski.html#R1" title="TARSKI:pred.1">c=</a>  <a href="numbers.html#K4" title="NUMBERS:func.4">INT</a> 
 
;<br/>
<a NAME="E4:27"/><span class="kw">then </span><span class="lab"><font color="Green" title="E17">A3</font></span>: 
 <a href="finseq_1.html#K14" title="FINSEQ_1:func.14">Sgm</a> <span class="p1">(<span class="default"><a href="int_8.html#K2" title="INT_8:func.2">RelPrimes</a> <font color="Maroon" title="c1">m</font></span>)</span> is    <a href="finseq_1.html#M2" title="FINSEQ_1:mode.2">FinSequence</a> of  <a href="numbers.html#K4" title="NUMBERS:func.4">INT</a> 
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="finseq_1.html#D4" onmouseover="rs('finseq_1/D4')" onmouseout="rh()">FINSEQ_1:def 4</a></span>;<br/>
<a NAME="E5:27"/>
 for <font color="Olive" title="b1">a</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a>  st <font color="Olive" title="b1">a</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="relset_1.html#K1" title="RELSET_1:func.1">dom</a> <span class="p1">(<span class="default"><a href="finseq_1.html#K14" title="FINSEQ_1:func.14">Sgm</a> <span class="p2">(<span class="default"><a href="int_8.html#K2" title="INT_8:func.2">RelPrimes</a> <font color="Maroon" title="c1">m</font></span>)</span></span>)</span> holds <br/><span class="p1">(<span class="default"><a href="finseq_1.html#K14" title="FINSEQ_1:func.14">Sgm</a> <span class="p2">(<span class="default"><a href="int_8.html#K2" title="INT_8:func.2">RelPrimes</a> <font color="Maroon" title="c1">m</font></span>)</span></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b1">a</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="eqrel_1.html#K6" title="EQREL_1:func.6">Class</a> (<span class="p1">(<span class="default"><a href="int_4.html#K1" title="INT_4:func.1">Cong</a> <font color="Maroon" title="c1">m</font></span>)</span>,<span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="finseq_1.html#K14" title="FINSEQ_1:func.14">Sgm</a> <span class="p3">(<span class="default"><a href="int_8.html#K2" title="INT_8:func.2">RelPrimes</a> <font color="Maroon" title="c1">m</font></span>)</span></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b1">a</font></span>)</span>)
 
<div><a class="txt" onmouseover="tooltip.show('hs2',this)" onmouseout="tooltip.hide()" onclick="hs2(this)" href="javascript:()" title="27_1"><span class="kw">proof </span></a><div class="add">

<span class="kw">let </span><font color="Maroon" title="c2">a</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"> ( <font color="Maroon" title="c2">a</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="relset_1.html#K1" title="RELSET_1:func.1">dom</a> <span class="p1">(<span class="default"><a href="finseq_1.html#K14" title="FINSEQ_1:func.14">Sgm</a> <span class="p2">(<span class="default"><a href="int_8.html#K2" title="INT_8:func.2">RelPrimes</a> <font color="Maroon" title="c1">m</font></span>)</span></span>)</span> implies <span class="p1">(<span class="default"><a href="finseq_1.html#K14" title="FINSEQ_1:func.14">Sgm</a> <span class="p2">(<span class="default"><a href="int_8.html#K2" title="INT_8:func.2">RelPrimes</a> <font color="Maroon" title="c1">m</font></span>)</span></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c2">a</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="eqrel_1.html#K6" title="EQREL_1:func.6">Class</a> (<span class="p1">(<span class="default"><a href="int_4.html#K1" title="INT_4:func.1">Cong</a> <font color="Maroon" title="c1">m</font></span>)</span>,<span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="finseq_1.html#K14" title="FINSEQ_1:func.14">Sgm</a> <span class="p3">(<span class="default"><a href="int_8.html#K2" title="INT_8:func.2">RelPrimes</a> <font color="Maroon" title="c1">m</font></span>)</span></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c2">a</font></span>)</span>) )</span><br/>

<span class="kw">assume </span><a NAME="E1:27_1"/>
<font color="Maroon" title="c2">a</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="relset_1.html#K1" title="RELSET_1:func.1">dom</a> <span class="p1">(<span class="default"><a href="finseq_1.html#K14" title="FINSEQ_1:func.14">Sgm</a> <span class="p2">(<span class="default"><a href="int_8.html#K2" title="INT_8:func.2">RelPrimes</a> <font color="Maroon" title="c1">m</font></span>)</span></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"> <span class="p1">(<span class="default"><a href="finseq_1.html#K14" title="FINSEQ_1:func.14">Sgm</a> <span class="p2">(<span class="default"><a href="int_8.html#K2" title="INT_8:func.2">RelPrimes</a> <font color="Maroon" title="c1">m</font></span>)</span></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c2">a</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="eqrel_1.html#K6" title="EQREL_1:func.6">Class</a> (<span class="p1">(<span class="default"><a href="int_4.html#K1" title="INT_4:func.1">Cong</a> <font color="Maroon" title="c1">m</font></span>)</span>,<span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="finseq_1.html#K14" title="FINSEQ_1:func.14">Sgm</a> <span class="p3">(<span class="default"><a href="int_8.html#K2" title="INT_8:func.2">RelPrimes</a> <font color="Maroon" title="c1">m</font></span>)</span></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c2">a</font></span>)</span>)</span><br/>

<a NAME="E2:27_1"/>
<span class="p1">(<span class="default"><a href="finseq_1.html#K14" title="FINSEQ_1:func.14">Sgm</a> <span class="p2">(<span class="default"><a href="int_8.html#K2" title="INT_8:func.2">RelPrimes</a> <font color="Maroon" title="c1">m</font></span>)</span></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c2">a</font>,<span class="p1">(<span class="default"><a href="finseq_1.html#K14" title="FINSEQ_1:func.14">Sgm</a> <span class="p2">(<span class="default"><a href="int_8.html#K2" title="INT_8:func.2">RelPrimes</a> <font color="Maroon" title="c1">m</font></span>)</span></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c2">a</font> <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> <font color="Maroon" title="c1">m</font>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="int_1.html#T11" onmouseover="rs('int_1/T11')" onmouseout="rh()">INT_1:11</a></span>;<br/>
<a NAME="E3:27_1"/><span class="kw">then </span>
<span class="p1"><a href="tarski.html#K4" title="TARSKI:func.4">[</a><span class="default"><span class="p2">(<span class="default"><span class="p3">(<span class="default"><a href="finseq_1.html#K14" title="FINSEQ_1:func.14">Sgm</a> <span class="p4">(<span class="default"><a href="int_8.html#K2" title="INT_8:func.2">RelPrimes</a> <font color="Maroon" title="c1">m</font></span>)</span></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c2">a</font></span>)</span>,<span class="p2">(<span class="default"><span class="p3">(<span class="default"><a href="finseq_1.html#K14" title="FINSEQ_1:func.14">Sgm</a> <span class="p4">(<span class="default"><a href="int_8.html#K2" title="INT_8:func.2">RelPrimes</a> <font color="Maroon" title="c1">m</font></span>)</span></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c2">a</font></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>  <a href="int_4.html#K1" title="INT_4:func.1">Cong</a> <font color="Maroon" title="c1">m</font>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="int_4.html#D1" onmouseover="rs('int_4/D1')" onmouseout="rh()">INT_4:def 1</a></span>;<br/>
<span class="kw">hence </span><a NAME="E4:27_1"/>
<span class="p1">(<span class="default"><a href="finseq_1.html#K14" title="FINSEQ_1:func.14">Sgm</a> <span class="p2">(<span class="default"><a href="int_8.html#K2" title="INT_8:func.2">RelPrimes</a> <font color="Maroon" title="c1">m</font></span>)</span></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c2">a</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="eqrel_1.html#K6" title="EQREL_1:func.6">Class</a> (<span class="p1">(<span class="default"><a href="int_4.html#K1" title="INT_4:func.1">Cong</a> <font color="Maroon" title="c1">m</font></span>)</span>,<span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="finseq_1.html#K14" title="FINSEQ_1:func.14">Sgm</a> <span class="p3">(<span class="default"><a href="int_8.html#K2" title="INT_8:func.2">RelPrimes</a> <font color="Maroon" title="c1">m</font></span>)</span></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c2">a</font></span>)</span>)
 <span class="kw">by</span> <span class="lab"><a class="ref" href="eqrel_1.html#T18" onmouseover="rs('eqrel_1/T18')" onmouseout="rh()">EQREL_1: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>
<a NAME="E6:27"/><span class="kw">then </span>
 for <font color="Olive" title="b1">d</font> being    <a href="subset_1.html#M1" title="SUBSET_1:mode.1">Element</a> of  <a href="numbers.html#NK1" title="NUMBERS:NK.1">NAT</a>   st <font color="Olive" title="b1">d</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="relset_1.html#K1" title="RELSET_1:func.1">dom</a> <span class="p1">(<span class="default"><a href="finseq_1.html#K14" title="FINSEQ_1:func.14">Sgm</a> <span class="p2">(<span class="default"><a href="int_8.html#K2" title="INT_8:func.2">RelPrimes</a> <font color="Maroon" title="c1">m</font></span>)</span></span>)</span> holds <br/><span class="p1">(<span class="default"><a href="finseq_1.html#K14" title="FINSEQ_1:func.14">Sgm</a> <span class="p2">(<span class="default"><a href="int_8.html#K2" title="INT_8:func.2">RelPrimes</a> <font color="Maroon" title="c1">m</font></span>)</span></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b1">d</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="eqrel_1.html#K6" title="EQREL_1:func.6">Class</a> (<span class="p1">(<span class="default"><a href="int_4.html#K1" title="INT_4:func.1">Cong</a> <font color="Maroon" title="c1">m</font></span>)</span>,<span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="finseq_1.html#K14" title="FINSEQ_1:func.14">Sgm</a> <span class="p3">(<span class="default"><a href="int_8.html#K2" title="INT_8:func.2">RelPrimes</a> <font color="Maroon" title="c1">m</font></span>)</span></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b1">d</font></span>)</span>)
 
;<br/>
<span class="kw">hence </span><a NAME="E7:27"/>
 <a href="int_8.html#K2" title="INT_8:func.2">RelPrimes</a> <font color="Maroon" title="c1">m</font> <a href="int_8.html#R1" title="INT_8:pred.1">is_RRS_of</a> <font color="Maroon" title="c1">m</font>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:27"><span class="lab"><font color="Green" title="E16">A2</font></span></a>, <a class="txt" href="#E4:27"><span class="lab"><font color="Green" title="E17">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"> verum</span><br/>


</div>
