<?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">  for <font color="Olive" title="b1">X</font> being   <a href="finset_1.html#V1" title="FINSET_1:attr.1">finite</a>   <a href="hidden.html#M2" title="HIDDEN:mode.2">set</a>   st <font color="Olive" title="b1">X</font> <a href="int_8.html#R1" title="INT_8:pred.1">is_RRS_of</a> <font color="Maroon" title="c1">m</font> holds <br/>(  <a href="card_1.html#K4" title="CARD_1:func.4">card</a> <font color="Olive" title="b1">X</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="euler_1.html#K1" title="EULER_1:func.1">Euler</a> <font color="Maroon" title="c1">m</font> &amp; (  for <font color="Olive" title="b2">x</font>, <font color="Olive" title="b3">y</font> being   <a href="int_1.html#NM1" title="INT_1:NM.1">Integer</a>  st <font color="Olive" title="b2">x</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> <font color="Olive" title="b1">X</font> &amp; <font color="Olive" title="b3">y</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> <font color="Olive" title="b1">X</font> &amp; <font color="Olive" title="b2">x</font> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a> <font color="Olive" title="b3">y</font> holds <br/> not <font color="Olive" title="b2">x</font>,<font color="Olive" title="b3">y</font> <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> <font color="Maroon" title="c1">m</font> ) &amp; (  for <font color="Olive" title="b2">x</font> being   <a href="int_1.html#NM1" title="INT_1:NM.1">Integer</a>  st <font color="Olive" title="b2">x</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> <font color="Olive" title="b1">X</font> holds <br/><font color="Olive" title="b2">x</font>,<font color="Maroon" title="c1">m</font> <a href="int_2.html#R1" title="INT_2:pred.1">are_coprime</a>  ) )</span><br/><span class="kw">let </span><font color="Maroon" title="c2">X</font> be   <a href="finset_1.html#V1" title="FINSET_1:attr.1">finite</a>   <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"> ( <font color="Maroon" title="c2">X</font> <a href="int_8.html#R1" title="INT_8:pred.1">is_RRS_of</a> <font color="Maroon" title="c1">m</font> implies (  <a href="card_1.html#K4" title="CARD_1:func.4">card</a> <font color="Maroon" title="c2">X</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="euler_1.html#K1" title="EULER_1:func.1">Euler</a> <font color="Maroon" title="c1">m</font> &amp; (  for <font color="Olive" title="b1">x</font>, <font color="Olive" title="b2">y</font> being   <a href="int_1.html#NM1" title="INT_1:NM.1">Integer</a>  st <font color="Olive" title="b1">x</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> <font color="Maroon" title="c2">X</font> &amp; <font color="Olive" title="b2">y</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> <font color="Maroon" title="c2">X</font> &amp; <font color="Olive" title="b1">x</font> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a> <font color="Olive" title="b2">y</font> holds <br/> not <font color="Olive" title="b1">x</font>,<font color="Olive" title="b2">y</font> <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> <font color="Maroon" title="c1">m</font> ) &amp; (  for <font color="Olive" title="b1">x</font> being   <a href="int_1.html#NM1" title="INT_1:NM.1">Integer</a>  st <font color="Olive" title="b1">x</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> <font color="Maroon" title="c2">X</font> holds <br/><font color="Olive" title="b1">x</font>,<font color="Maroon" title="c1">m</font> <a href="int_2.html#R1" title="INT_2:pred.1">are_coprime</a>  ) ) )</span><br/>



<span class="kw">assume </span><a NAME="E1:29"/>
<font color="Maroon" title="c2">X</font> <a href="int_8.html#R1" title="INT_8:pred.1">is_RRS_of</a> <font color="Maroon" title="c1">m</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#K4" title="CARD_1:func.4">card</a> <font color="Maroon" title="c2">X</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="euler_1.html#K1" title="EULER_1:func.1">Euler</a> <font color="Maroon" title="c1">m</font> &amp; (  for <font color="Olive" title="b1">x</font>, <font color="Olive" title="b2">y</font> being   <a href="int_1.html#NM1" title="INT_1:NM.1">Integer</a>  st <font color="Olive" title="b1">x</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> <font color="Maroon" title="c2">X</font> &amp; <font color="Olive" title="b2">y</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> <font color="Maroon" title="c2">X</font> &amp; <font color="Olive" title="b1">x</font> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a> <font color="Olive" title="b2">y</font> holds <br/> not <font color="Olive" title="b1">x</font>,<font color="Olive" title="b2">y</font> <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> <font color="Maroon" title="c1">m</font> ) &amp; (  for <font color="Olive" title="b1">x</font> being   <a href="int_1.html#NM1" title="INT_1:NM.1">Integer</a>  st <font color="Olive" title="b1">x</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> <font color="Maroon" title="c2">X</font> holds <br/><font color="Olive" title="b1">x</font>,<font color="Maroon" title="c1">m</font> <a href="int_2.html#R1" title="INT_2:pred.1">are_coprime</a>  ) )</span><br/>

<span class="kw">then </span><span class="kw">consider </span><font color="Maroon" title="c3">fp</font> being    <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"> such that </span><br/><a NAME="E3:29"/><span class="lab"><font color="Green" title="E17">A1</font></span>: 
(  <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c3">fp</font> <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> &amp; (  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> <font color="Maroon" title="c3">fp</font> holds <br/><font color="Maroon" title="c3">fp</font> <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>) ) &amp; <font color="Maroon" title="c2">X</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="relset_1.html#K2" title="RELSET_1:func.2">rng</a> <font color="Maroon" title="c3">fp</font> )
 ;<br/>
<a NAME="E4:29"/><span class="lab"><font color="Green" title="E18">A2</font></span>: 
 <a href="relset_1.html#K1" title="RELSET_1:func.1">dom</a> <font color="Maroon" title="c3">fp</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</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>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E3:29"><span class="lab"><font color="Green" title="E17">A1</font></span></a>, <a class="ref" href="finseq_3.html#T29" onmouseover="rs('finseq_3/T29')" onmouseout="rh()">FINSEQ_3:29</a></span>;<br/>
<a NAME="E5:29"/>
 for <font color="Olive" title="b1">a</font>, <font color="Olive" title="b2">b</font> being    <a href="hidden.html#M1" title="HIDDEN:mode.1">object</a>   st <font color="Olive" title="b1">a</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a>  <a href="relset_1.html#K1" title="RELSET_1:func.1">dom</a> <font color="Maroon" title="c3">fp</font> &amp; <font color="Olive" title="b2">b</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a>  <a href="relset_1.html#K1" title="RELSET_1:func.1">dom</a> <font color="Maroon" title="c3">fp</font> &amp; <font color="Maroon" title="c3">fp</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b1">a</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c3">fp</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b2">b</font> holds <br/><font color="Olive" title="b1">a</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Olive" title="b2">b</font>
 
<div><a class="txt" onmouseover="tooltip.show('hs2',this)" onmouseout="tooltip.hide()" onclick="hs2(this)" href="javascript:()" title="29_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> be    <a href="hidden.html#M1" title="HIDDEN:mode.1">object</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="c4">a</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a>  <a href="relset_1.html#K1" title="RELSET_1:func.1">dom</a> <font color="Maroon" title="c3">fp</font> &amp; <font color="Maroon" title="c5">b</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a>  <a href="relset_1.html#K1" title="RELSET_1:func.1">dom</a> <font color="Maroon" title="c3">fp</font> &amp; <font color="Maroon" title="c3">fp</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c4">a</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c3">fp</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c5">b</font> 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> )</span><br/>

<span class="kw">assume </span><a NAME="E1:29_1"/><span class="lab"><font color="Green" title="E19">A3</font></span>: 
( <font color="Maroon" title="c4">a</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a>  <a href="relset_1.html#K1" title="RELSET_1:func.1">dom</a> <font color="Maroon" title="c3">fp</font> &amp; <font color="Maroon" title="c5">b</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a>  <a href="relset_1.html#K1" title="RELSET_1:func.1">dom</a> <font color="Maroon" title="c3">fp</font> &amp; <font color="Maroon" title="c3">fp</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c4">a</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c3">fp</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c5">b</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="c4">a</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c5">b</font></span><br/>

<span class="kw">reconsider </span><font color="Maroon" title="c6">a</font> = <font color="Maroon" title="c4">a</font>, <font color="Maroon" title="c7">b</font> = <font color="Maroon" title="c5">b</font> as    <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>  <span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:29_1"><span class="lab"><font color="Green" title="E19">A3</font></span></a></span>;<br/>
<span class="kw">reconsider </span><font color="Maroon" title="c8">l</font> = <font color="Maroon" title="c3">fp</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c6">a</font>, <font color="Maroon" title="c9">ll</font> = <font color="Maroon" title="c3">fp</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c7">b</font> as    <a href="subset_1.html#M1" title="SUBSET_1:mode.1">Element</a> of  <a href="numbers.html#K4" title="NUMBERS:func.4">INT</a>  <span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:29_1"><span class="lab"><font color="Green" title="E19">A3</font></span></a>, <a class="ref" href="finseq_2.html#T11" onmouseover="rs('finseq_2/T11')" onmouseout="rh()">FINSEQ_2:11</a></span>;<br/>
<a NAME="E4:29_1"/>
( <font color="Maroon" title="c8">l</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="c6">a</font></span>)</span>) &amp; <font color="Maroon" title="c9">ll</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="c7">b</font></span>)</span>) )
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E3:29"><span class="lab"><font color="Green" title="E17">A1</font></span></a>, <a class="txt" href="#E1:29_1"><span class="lab"><font color="Green" title="E19">A3</font></span></a></span>;<br/>
<a NAME="E5:29_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="c6">a</font></span>)</span>,<font color="Maroon" title="c8">l</font></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> &amp; <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="c7">b</font></span>)</span>,<font color="Maroon" title="c9">ll</font></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="eqrel_1.html#T18" onmouseover="rs('eqrel_1/T18')" onmouseout="rh()">EQREL_1:18</a></span>;<br/>
<a NAME="E6:29_1"/><span class="kw">then </span><span class="lab"><font color="Green" title="E20">A4</font></span>: 
( <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="c6">a</font>,<font color="Maroon" title="c8">l</font> <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> <font color="Maroon" title="c1">m</font> &amp; <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="c7">b</font>,<font color="Maroon" title="c9">ll</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_4.html#D1" onmouseover="rs('int_4/D1')" onmouseout="rh()">INT_4:def 1</a></span>;<br/>
<a NAME="E7:29_1"/><span class="kw">then </span>
<font color="Maroon" title="c8">l</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="c7">b</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="txt" href="#E1:29_1"><span class="lab"><font color="Green" title="E19">A3</font></span></a>, <a class="ref" href="int_1.html#T14" onmouseover="rs('int_1/T14')" onmouseout="rh()">INT_1:14</a></span>;<br/>
<span class="kw">hence </span><a NAME="E8:29_1"/>
<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="ref" href="int_8.html#T23" target="_self" onmouseover="rs('int_8/T23')" onmouseout="rh()">Th23</a>, <a class="txt" href="#E1:29_1"><span class="lab"><font color="Green" title="E19">A3</font></span></a>, <a class="txt" href="#E4:29"><span class="lab"><font color="Green" title="E18">A2</font></span></a>, <a class="txt" href="#E6:29_1"><span class="lab"><font color="Green" title="E20">A4</font></span></a>, <a class="ref" href="int_1.html#T15" onmouseover="rs('int_1/T15')" onmouseout="rh()">INT_1:15</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:29"/><span class="kw">then </span><span class="lab"><font color="Green" title="E19">A5</font></span>: 
<font color="Maroon" title="c3">fp</font> is  <a href="funct_1.html#V2" title="FUNCT_1:attr.2">one-to-one</a> 
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="funct_1.html#D4" onmouseover="rs('funct_1/D4')" onmouseout="rh()">FUNCT_1:def 4</a></span>;<br/>
<a NAME="E7:29"/><span class="lab"><font color="Green" title="E20">A6</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/>
<span class="lab"><font color="Green" title="E21">A7</font></span>:  <a href="card_1.html#K4" title="CARD_1:func.4">card</a> <font color="Maroon" title="c2">X</font> = 
 <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="#E3:29"><span class="lab"><font color="Green" title="E17">A1</font></span></a>, <a class="ref" href="finseq_4.html#T62" onmouseover="rs('finseq_4/T62')" onmouseout="rh()">FINSEQ_4:62</a>, <a class="txt" href="#E6:29"><span class="lab"><font color="Green" title="E19">A5</font></span></a></span>
<br/>.= 
 <a href="euler_1.html#K1" title="EULER_1:func.1">Euler</a> <font color="Maroon" title="c1">m</font>
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E7:29"><span class="lab"><font color="Green" title="E20">A6</font></span></a>, <a class="ref" href="finseq_3.html#T39" onmouseover="rs('finseq_3/T39')" onmouseout="rh()">FINSEQ_3:39</a></span>
;<br/>
<a NAME="E9:29"/><span class="lab"><font color="Green" title="E22">A8</font></span>: 
 for <font color="Olive" title="b1">x</font>, <font color="Olive" title="b2">y</font> being   <a href="int_1.html#NM1" title="INT_1:NM.1">Integer</a>  st <font color="Olive" title="b1">x</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> <font color="Maroon" title="c2">X</font> &amp; <font color="Olive" title="b2">y</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> <font color="Maroon" title="c2">X</font> &amp; <font color="Olive" title="b1">x</font> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a> <font color="Olive" title="b2">y</font> holds <br/> not <font color="Olive" title="b1">x</font>,<font color="Olive" title="b2">y</font> <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> <font color="Maroon" title="c1">m</font>
 
<div><a class="txt" onmouseover="tooltip.show('hs2',this)" onmouseout="tooltip.hide()" onclick="hs2(this)" href="javascript:()" title="29_3"><span class="kw">proof </span></a><div class="add">

<span class="kw">let </span><font color="Maroon" title="c4">x</font>, <font color="Maroon" title="c5">y</font> be   <a href="int_1.html#NM1" title="INT_1:NM.1">Integer</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="c4">x</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> <font color="Maroon" title="c2">X</font> &amp; <font color="Maroon" title="c5">y</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> <font color="Maroon" title="c2">X</font> &amp; <font color="Maroon" title="c4">x</font> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a> <font color="Maroon" title="c5">y</font> implies  not <font color="Maroon" title="c4">x</font>,<font color="Maroon" title="c5">y</font> <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> <font color="Maroon" title="c1">m</font> )</span><br/>

<span class="kw">assume </span><a NAME="E1:29_3"/><span class="lab"><font color="Green" title="E23">A9</font></span>: 
( <font color="Maroon" title="c4">x</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> <font color="Maroon" title="c2">X</font> &amp; <font color="Maroon" title="c5">y</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> <font color="Maroon" title="c2">X</font> &amp; <font color="Maroon" title="c4">x</font> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a> <font color="Maroon" title="c5">y</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">  not <font color="Maroon" title="c4">x</font>,<font color="Maroon" title="c5">y</font> <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> <font color="Maroon" title="c1">m</font></span><br/>

<span class="kw">then </span><span class="kw">consider </span><font color="Maroon" title="c6">d</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a><span class="kw"> such that </span><br/><a NAME="E3:29_3"/><span class="lab"><font color="Green" title="E24">A10</font></span>: 
( <font color="Maroon" title="c6">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> <font color="Maroon" title="c3">fp</font> &amp; <font color="Maroon" title="c3">fp</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c6">d</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c4">x</font> )
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E3:29"><span class="lab"><font color="Green" title="E17">A1</font></span></a>, <a class="ref" href="finseq_2.html#T10" onmouseover="rs('finseq_2/T10')" onmouseout="rh()">FINSEQ_2:10</a></span>;<br/>
<span class="kw">consider </span><font color="Maroon" title="c7">e</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a><span class="kw"> such that </span><br/><a NAME="E5:29_3"/><span class="lab"><font color="Green" title="E25">A11</font></span>: 
( <font color="Maroon" title="c7">e</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> <font color="Maroon" title="c3">fp</font> &amp; <font color="Maroon" title="c3">fp</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c7">e</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c5">y</font> )
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E3:29"><span class="lab"><font color="Green" title="E17">A1</font></span></a>, <a class="txt" href="#E1:29_3"><span class="lab"><font color="Green" title="E23">A9</font></span></a>, <a class="ref" href="finseq_2.html#T10" onmouseover="rs('finseq_2/T10')" onmouseout="rh()">FINSEQ_2:10</a></span>;<br/>
<a NAME="E6:29_3"/><span class="lab"><font color="Green" title="E26">A12</font></span>: 
( <font color="Maroon" title="c6">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> &amp; <font color="Maroon" title="c7">e</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> )
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E3:29_3"><span class="lab"><font color="Green" title="E24">A10</font></span></a>, <a class="txt" href="#E5:29_3"><span class="lab"><font color="Green" title="E25">A11</font></span></a>, <a class="txt" href="#E3:29"><span class="lab"><font color="Green" title="E17">A1</font></span></a>, <a class="ref" href="finseq_3.html#T29" onmouseover="rs('finseq_3/T29')" onmouseout="rh()">FINSEQ_3:29</a></span>;<br/>
<span class="kw">reconsider </span><font color="Maroon" title="c8">d</font> = <font color="Maroon" title="c6">d</font>, <font color="Maroon" title="c9">e</font> = <font color="Maroon" title="c7">e</font> as    <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>  <span class="kw">by</span> <span class="lab"><a class="txt" href="#E3:29_3"><span class="lab"><font color="Green" title="E24">A10</font></span></a>, <a class="txt" href="#E5:29_3"><span class="lab"><font color="Green" title="E25">A11</font></span></a></span>;<br/>
<a NAME="E8:29_3"/>
( <font color="Maroon" title="c3">fp</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c8">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="Maroon" title="c8">d</font></span>)</span>) &amp; <font color="Maroon" title="c3">fp</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c9">e</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="c9">e</font></span>)</span>) )
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E3:29_3"><span class="lab"><font color="Green" title="E24">A10</font></span></a>, <a class="txt" href="#E5:29_3"><span class="lab"><font color="Green" title="E25">A11</font></span></a>, <a class="txt" href="#E3:29"><span class="lab"><font color="Green" title="E17">A1</font></span></a></span>;<br/>
<a NAME="E9:29_3"/><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="c8">d</font></span>)</span>,<span class="p2">(<span class="default"><font color="Maroon" title="c3">fp</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c8">d</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> &amp; <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="c9">e</font></span>)</span>,<span class="p2">(<span class="default"><font color="Maroon" title="c3">fp</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c9">e</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="eqrel_1.html#T18" onmouseover="rs('eqrel_1/T18')" onmouseout="rh()">EQREL_1:18</a></span>;<br/>
<a NAME="E10:29_3"/><span class="kw">then </span><span class="lab"><font color="Green" title="E27">A13</font></span>: 
( <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="c8">d</font>,<font color="Maroon" title="c3">fp</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c8">d</font> <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> <font color="Maroon" title="c1">m</font> &amp; <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="c9">e</font>,<font color="Maroon" title="c3">fp</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c9">e</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_4.html#D1" onmouseover="rs('int_4/D1')" onmouseout="rh()">INT_4:def 1</a></span>;<br/>
<div><a class="txt" onmouseover="tooltip.show('hs2',this)" onmouseout="tooltip.hide()" onclick="hs2(this)" href="javascript:()" title="29_3_1"><span class="kw">now </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">  not <font color="Maroon" title="c3">fp</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c8">d</font>,<font color="Maroon" title="c3">fp</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c9">e</font> <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> <font color="Maroon" title="c1">m</font></span></a><div class="add"><span class="kw">assume </span><a NAME="E1:29_3_1"/>
<font color="Maroon" title="c3">fp</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c8">d</font>,<font color="Maroon" title="c3">fp</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c9">e</font> <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> <font color="Maroon" title="c1">m</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"> contradiction</span><br/><a NAME="E2:29_3_1"/><span class="kw">then </span>
<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="c8">d</font>,<font color="Maroon" title="c3">fp</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c9">e</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="txt" href="#E10:29_3"><span class="lab"><font color="Green" title="E27">A13</font></span></a>, <a class="ref" href="int_1.html#T15" onmouseover="rs('int_1/T15')" onmouseout="rh()">INT_1:15</a></span>;<br/><a NAME="E3:29_3_1"/><span class="kw">then </span>
<font color="Maroon" title="c3">fp</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c9">e</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="c8">d</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#T14" onmouseover="rs('int_1/T14')" onmouseout="rh()">INT_1:14</a></span>;<br/><span class="kw">hence </span><a NAME="E4:29_3_1"/>
contradiction
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E6:29_3"><span class="lab"><font color="Green" title="E26">A12</font></span></a>, <a class="txt" href="#E3:29_3"><span class="lab"><font color="Green" title="E24">A10</font></span></a>, <a class="txt" href="#E5:29_3"><span class="lab"><font color="Green" title="E25">A11</font></span></a>, <a class="txt" href="#E1:29_3"><span class="lab"><font color="Green" title="E23">A9</font></span></a>, <a class="ref" href="int_8.html#T23" target="_self" onmouseover="rs('int_8/T23')" onmouseout="rh()">Th23</a>, <a class="txt" href="#E10:29_3"><span class="lab"><font color="Green" title="E27">A13</font></span></a>, <a class="ref" href="int_1.html#T15" onmouseover="rs('int_1/T15')" onmouseout="rh()">INT_1:15</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="E12:29_3"/>
 not <font color="Maroon" title="c4">x</font>,<font color="Maroon" title="c5">y</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="txt" href="#E3:29_3"><span class="lab"><font color="Green" title="E24">A10</font></span></a>, <a class="txt" href="#E5:29_3"><span class="lab"><font color="Green" title="E25">A11</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>
<a NAME="E10:29"/>
 for <font color="Olive" title="b1">x</font> being   <a href="int_1.html#NM1" title="INT_1:NM.1">Integer</a>  st <font color="Olive" title="b1">x</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> <font color="Maroon" title="c2">X</font> holds <br/><font color="Olive" title="b1">x</font>,<font color="Maroon" title="c1">m</font> <a href="int_2.html#R1" title="INT_2:pred.1">are_coprime</a> 
 
<div><a class="txt" onmouseover="tooltip.show('hs2',this)" onmouseout="tooltip.hide()" onclick="hs2(this)" href="javascript:()" title="29_4"><span class="kw">proof </span></a><div class="add">

<span class="kw">let </span><font color="Maroon" title="c4">x</font> be   <a href="int_1.html#NM1" title="INT_1:NM.1">Integer</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="c4">x</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> <font color="Maroon" title="c2">X</font> implies <font color="Maroon" title="c4">x</font>,<font color="Maroon" title="c1">m</font> <a href="int_2.html#R1" title="INT_2:pred.1">are_coprime</a>  )</span><br/>

<span class="kw">assume </span><a NAME="E1:29_4"/>
<font color="Maroon" title="c4">x</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> <font color="Maroon" title="c2">X</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="c4">x</font>,<font color="Maroon" title="c1">m</font> <a href="int_2.html#R1" title="INT_2:pred.1">are_coprime</a> </span><br/>

<span class="kw">then </span><span class="kw">consider </span><font color="Maroon" title="c5">d</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a><span class="kw"> such that </span><br/><a NAME="E3:29_4"/><span class="lab"><font color="Green" title="E23">A14</font></span>: 
( <font color="Maroon" title="c5">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> <font color="Maroon" title="c3">fp</font> &amp; <font color="Maroon" title="c3">fp</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c5">d</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c4">x</font> )
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E3:29"><span class="lab"><font color="Green" title="E17">A1</font></span></a>, <a class="ref" href="finseq_2.html#T10" onmouseover="rs('finseq_2/T10')" onmouseout="rh()">FINSEQ_2:10</a></span>;<br/>
<span class="kw">reconsider </span><font color="Maroon" title="c6">d</font> = <font color="Maroon" title="c5">d</font> as    <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>  <span class="kw">by</span> <span class="lab"><a class="txt" href="#E3:29_4"><span class="lab"><font color="Green" title="E23">A14</font></span></a></span>;<br/>
<a NAME="E5:29_4"/>
<font color="Maroon" title="c3">fp</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c6">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="Maroon" title="c6">d</font></span>)</span>)
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E3:29"><span class="lab"><font color="Green" title="E17">A1</font></span></a>, <a class="txt" href="#E3:29_4"><span class="lab"><font color="Green" title="E23">A14</font></span></a></span>;<br/>
<a NAME="E6:29_4"/><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="c6">d</font></span>)</span>,<span class="p2">(<span class="default"><font color="Maroon" title="c3">fp</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c6">d</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="eqrel_1.html#T18" onmouseover="rs('eqrel_1/T18')" onmouseout="rh()">EQREL_1:18</a></span>;<br/>
<a NAME="E7:29_4"/><span class="kw">then </span>
<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="c6">d</font>,<font color="Maroon" title="c3">fp</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c6">d</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_4.html#D1" onmouseover="rs('int_4/D1')" onmouseout="rh()">INT_4:def 1</a></span>;<br/>
<a NAME="E8:29_4"/><span class="kw">then </span><span class="lab"><font color="Green" title="E24">A15</font></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="c6">d</font></span>)</span> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c1">m</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Maroon" title="c3">fp</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c6">d</font></span>)</span> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c1">m</font>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="wsierp_1.html#T43" onmouseover="rs('wsierp_1/T43')" onmouseout="rh()">WSIERP_1:43</a></span>;<br/>
<a NAME="E9:29_4"/>
 <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="E10:29_4"/><span class="kw">then </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>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="finseq_1.html#D13" onmouseover="rs('finseq_1/D13')" onmouseout="rh()">FINSEQ_1:def 13</a></span>;<br/>
<a NAME="E11:29_4"/><span class="kw">then </span>
<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="c6">d</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="int_8.html#K2" title="INT_8:func.2">RelPrimes</a> <font color="Maroon" title="c1">m</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E4:29"><span class="lab"><font color="Green" title="E18">A2</font></span></a>, <a class="txt" href="#E3:29_4"><span class="lab"><font color="Green" title="E23">A14</font></span></a>, <a class="ref" href="funct_1.html#D3" onmouseover="rs('funct_1/D3')" onmouseout="rh()">FUNCT_1:def 3</a></span>;<br/>
<span class="kw">then </span><span class="kw">consider </span><font color="Maroon" title="c7">k</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> <span class="kw"> such that </span><br/><a NAME="E13:29_4"/><span class="lab"><font color="Green" title="E25">A16</font></span>: 
( <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="c6">d</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c7">k</font> &amp; <font color="Maroon" title="c1">m</font>,<font color="Maroon" title="c7">k</font> <a href="int_2.html#R1" title="INT_2:pred.1">are_coprime</a>  &amp; <font color="Maroon" title="c7">k</font> <a href="xxreal_0.html#NR2" title="XXREAL_0:NR.2">&gt;=</a> 1 &amp; <font color="Maroon" title="c7">k</font> <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a> <font color="Maroon" title="c1">m</font> )
 ;<br/>
<a NAME="E14:29_4"/>
<span class="p1">(<span class="default"><font color="Maroon" title="c3">fp</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c6">d</font></span>)</span> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c1">m</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E8:29_4"><span class="lab"><font color="Green" title="E24">A15</font></span></a>, <a class="txt" href="#E13:29_4"><span class="lab"><font color="Green" title="E25">A16</font></span></a>, <a class="ref" href="int_2.html#D3" onmouseover="rs('int_2/D3')" onmouseout="rh()">INT_2:def 3</a></span>;<br/>
<span class="kw">hence </span><a NAME="E15:29_4"/>
<font color="Maroon" title="c4">x</font>,<font color="Maroon" title="c1">m</font> <a href="int_2.html#R1" title="INT_2:pred.1">are_coprime</a> 
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E3:29_4"><span class="lab"><font color="Green" title="E23">A14</font></span></a>, <a class="ref" href="int_2.html#D3" onmouseover="rs('int_2/D3')" onmouseout="rh()">INT_2:def 3</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="E11:29"/>
(  <a href="card_1.html#K4" title="CARD_1:func.4">card</a> <font color="Maroon" title="c2">X</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="euler_1.html#K1" title="EULER_1:func.1">Euler</a> <font color="Maroon" title="c1">m</font> &amp; (  for <font color="Olive" title="b1">x</font>, <font color="Olive" title="b2">y</font> being   <a href="int_1.html#NM1" title="INT_1:NM.1">Integer</a>  st <font color="Olive" title="b1">x</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> <font color="Maroon" title="c2">X</font> &amp; <font color="Olive" title="b2">y</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> <font color="Maroon" title="c2">X</font> &amp; <font color="Olive" title="b1">x</font> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a> <font color="Olive" title="b2">y</font> holds <br/> not <font color="Olive" title="b1">x</font>,<font color="Olive" title="b2">y</font> <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> <font color="Maroon" title="c1">m</font> ) &amp; (  for <font color="Olive" title="b1">x</font> being   <a href="int_1.html#NM1" title="INT_1:NM.1">Integer</a>  st <font color="Olive" title="b1">x</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> <font color="Maroon" title="c2">X</font> holds <br/><font color="Olive" title="b1">x</font>,<font color="Maroon" title="c1">m</font> <a href="int_2.html#R1" title="INT_2:pred.1">are_coprime</a>  ) )
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E8:29"><span class="lab"><font color="Green" title="E21">A7</font></span></a>, <a class="txt" href="#E9:29"><span class="lab"><font color="Green" title="E22">A8</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>
