<?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="subset_1.html#NM2" title="SUBSET_1:NM.2">Subset</a> of <a href="numbers.html#K4" title="NUMBERS:func.4">INT</a><br/>  for <font color="Olive" title="b2">a</font> being   <a href="int_1.html#NM1" title="INT_1:NM.1">Integer</a>  st <font color="Maroon" title="c1">m</font> <a href="xxreal_0.html#NR4" title="XXREAL_0:NR.4">&gt;</a> 1 &amp; <font color="Olive" title="b2">a</font>,<font color="Maroon" title="c1">m</font> <a href="int_2.html#R1" title="INT_2:pred.1">are_coprime</a>  &amp; <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/><font color="Olive" title="b2">a</font> <a href="member_1.html#K23" title="MEMBER_1:func.23">**</a> <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></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="subset_1.html#NM2" title="SUBSET_1:NM.2">Subset</a> of <a href="numbers.html#K4" title="NUMBERS:func.4">INT</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> being   <a href="int_1.html#NM1" title="INT_1:NM.1">Integer</a>  st <font color="Maroon" title="c1">m</font> <a href="xxreal_0.html#NR4" title="XXREAL_0:NR.4">&gt;</a> 1 &amp; <font color="Olive" title="b1">a</font>,<font color="Maroon" title="c1">m</font> <a href="int_2.html#R1" title="INT_2:pred.1">are_coprime</a>  &amp; <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> holds <br/><font color="Olive" title="b1">a</font> <a href="member_1.html#K23" title="MEMBER_1:func.23">**</a> <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></span><br/><span class="kw">let </span><font color="Maroon" title="c3">a</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="c1">m</font> <a href="xxreal_0.html#NR4" title="XXREAL_0:NR.4">&gt;</a> 1 &amp; <font color="Maroon" title="c3">a</font>,<font color="Maroon" title="c1">m</font> <a href="int_2.html#R1" title="INT_2:pred.1">are_coprime</a>  &amp; <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 <font color="Maroon" title="c3">a</font> <a href="member_1.html#K23" title="MEMBER_1:func.23">**</a> <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> )</span><br/>





<span class="kw">assume </span><a NAME="E1:32"/><span class="lab"><font color="Green" title="E19">A1</font></span>: 
( <font color="Maroon" title="c1">m</font> <a href="xxreal_0.html#NR4" title="XXREAL_0:NR.4">&gt;</a> 1 &amp; <font color="Maroon" title="c3">a</font>,<font color="Maroon" title="c1">m</font> <a href="int_2.html#R1" title="INT_2:pred.1">are_coprime</a>  &amp; <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"> <font color="Maroon" title="c3">a</font> <a href="member_1.html#K23" title="MEMBER_1:func.23">**</a> <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></span><br/>

<a NAME="E2:32"/><span class="kw">then </span><span class="lab"><font color="Green" title="E20">A2</font></span>: 
(  <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="ref" href="int_8.html#T24" target="_self" onmouseover="rs('int_8/T24')" onmouseout="rh()">Th24</a></span>;<br/>
<a NAME="E3:32"/><span class="lab"><font color="Green" title="E21">A3</font></span>: 
<font color="Maroon" title="c3">a</font> <a href="member_1.html#K23" title="MEMBER_1:func.23">**</a> <font color="Maroon" title="c2">X</font> <a href="tarski.html#R1" title="TARSKI:pred.1">c=</a>  <a href="numbers.html#K4" title="NUMBERS:func.4">INT</a> 
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="int_1.html#D2" onmouseover="rs('int_1/D2')" onmouseout="rh()">INT_1:def 2</a></span>;<br/>
<a NAME="E4:32"/>
<font color="Maroon" title="c3">a</font> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a> 
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:32"><span class="lab"><font color="Green" title="E19">A1</font></span></a>, <a class="ref" href="int_8.html#T5" target="_self" onmouseover="rs('int_8/T5')" onmouseout="rh()">Th5</a></span>;<br/>
<a NAME="E5:32"/><span class="kw">then </span><span class="lab"><font color="Green" title="E22">A4</font></span>: 
 <a href="card_1.html#K4" title="CARD_1:func.4">card</a> <span class="p1">(<span class="default"><font color="Maroon" title="c3">a</font> <a href="member_1.html#K23" title="MEMBER_1:func.23">**</a> <font color="Maroon" title="c2">X</font></span>)</span> <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>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:32"><span class="lab"><font color="Green" title="E20">A2</font></span></a>, <a class="ref" href="int_4.html#T5" onmouseover="rs('int_4/T5')" onmouseout="rh()">INT_4:5</a></span>;<br/>
<a NAME="E6:32"/><span class="lab"><font color="Green" title="E23">A5</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="c3">a</font> <a href="member_1.html#K23" title="MEMBER_1:func.23">**</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="c3">a</font> <a href="member_1.html#K23" title="MEMBER_1:func.23">**</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="32_1"><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="c3">a</font> <a href="member_1.html#K23" title="MEMBER_1:func.23">**</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="c3">a</font> <a href="member_1.html#K23" title="MEMBER_1:func.23">**</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:32_1"/><span class="lab"><font color="Green" title="E24">A6</font></span>: 
( <font color="Maroon" title="c4">x</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> <font color="Maroon" title="c3">a</font> <a href="member_1.html#K23" title="MEMBER_1:func.23">**</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="c3">a</font> <a href="member_1.html#K23" title="MEMBER_1:func.23">**</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">z1</font> being   <a href="int_1.html#NM1" title="INT_1:NM.1">Integer</a><span class="kw"> such that </span><br/><a NAME="E3:32_1"/><span class="lab"><font color="Green" title="E25">A7</font></span>: 
( <font color="Maroon" title="c6">z1</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#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c3">a</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c6">z1</font> )
 <span class="kw">by</span> <span class="lab"><a class="ref" href="int_8.html#T3" target="_self" onmouseover="rs('int_8/T3')" onmouseout="rh()">Th3</a></span>;<br/>
<span class="kw">consider </span><font color="Maroon" title="c7">z2</font> being   <a href="int_1.html#NM1" title="INT_1:NM.1">Integer</a><span class="kw"> such that </span><br/><a NAME="E5:32_1"/><span class="lab"><font color="Green" title="E26">A8</font></span>: 
( <font color="Maroon" title="c7">z2</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#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c3">a</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c7">z2</font> )
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:32_1"><span class="lab"><font color="Green" title="E24">A6</font></span></a>, <a class="ref" href="int_8.html#T3" target="_self" onmouseover="rs('int_8/T3')" onmouseout="rh()">Th3</a></span>;<br/>
<a NAME="E6:32_1"/>
 not <font color="Maroon" title="c6">z1</font>,<font color="Maroon" title="c7">z2</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:32_1"><span class="lab"><font color="Green" title="E25">A7</font></span></a>, <a class="txt" href="#E1:32_1"><span class="lab"><font color="Green" title="E24">A6</font></span></a>, <a class="txt" href="#E5:32_1"><span class="lab"><font color="Green" title="E26">A8</font></span></a>, <a class="txt" href="#E1:32"><span class="lab"><font color="Green" title="E19">A1</font></span></a>, <a class="ref" href="int_8.html#T24" target="_self" onmouseover="rs('int_8/T24')" onmouseout="rh()">Th24</a></span>;<br/>
<span class="kw">hence </span><a NAME="E7:32_1"/>
 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:32_1"><span class="lab"><font color="Green" title="E25">A7</font></span></a>, <a class="txt" href="#E5:32_1"><span class="lab"><font color="Green" title="E26">A8</font></span></a>, <a class="txt" href="#E1:32"><span class="lab"><font color="Green" title="E19">A1</font></span></a>, <a class="ref" href="int_4.html#T9" onmouseover="rs('int_4/T9')" onmouseout="rh()">INT_4:9</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="E7:32"/>
 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="c3">a</font> <a href="member_1.html#K23" title="MEMBER_1:func.23">**</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="32_2"><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="c3">a</font> <a href="member_1.html#K23" title="MEMBER_1:func.23">**</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:32_2"/>
<font color="Maroon" title="c4">x</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> <font color="Maroon" title="c3">a</font> <a href="member_1.html#K23" title="MEMBER_1:func.23">**</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">y</font> being   <a href="int_1.html#NM1" title="INT_1:NM.1">Integer</a><span class="kw"> such that </span><br/><a NAME="E3:32_2"/><span class="lab"><font color="Green" title="E24">A9</font></span>: 
( <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#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c3">a</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c5">y</font> )
 <span class="kw">by</span> <span class="lab"><a class="ref" href="int_8.html#T3" target="_self" onmouseover="rs('int_8/T3')" onmouseout="rh()">Th3</a></span>;<br/>
<a NAME="E4:32_2"/>
<font color="Maroon" title="c5">y</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:32_2"><span class="lab"><font color="Green" title="E24">A9</font></span></a>, <a class="txt" href="#E1:32"><span class="lab"><font color="Green" title="E19">A1</font></span></a>, <a class="ref" href="int_8.html#T24" target="_self" onmouseover="rs('int_8/T24')" onmouseout="rh()">Th24</a></span>;<br/>
<span class="kw">hence </span><a NAME="E5:32_2"/>
<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:32_2"><span class="lab"><font color="Green" title="E24">A9</font></span></a>, <a class="txt" href="#E1:32"><span class="lab"><font color="Green" title="E19">A1</font></span></a>, <a class="ref" href="int_2.html#T26" onmouseover="rs('int_2/T26')" onmouseout="rh()">INT_2:26</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="E8:32"/>
<font color="Maroon" title="c3">a</font> <a href="member_1.html#K23" title="MEMBER_1:func.23">**</a> <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>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:32"><span class="lab"><font color="Green" title="E19">A1</font></span></a>, <a class="txt" href="#E3:32"><span class="lab"><font color="Green" title="E21">A3</font></span></a>, <a class="txt" href="#E5:32"><span class="lab"><font color="Green" title="E22">A4</font></span></a>, <a class="txt" href="#E6:32"><span class="lab"><font color="Green" title="E23">A5</font></span></a>, <a class="ref" href="int_8.html#T26" target="_self" onmouseover="rs('int_8/T26')" onmouseout="rh()">Th26</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>
