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

<span class="kw">let </span><font color="Maroon" title="c1">a</font>, <font color="Maroon" title="c2">m</font>, <font color="Maroon" title="c3">i</font> be   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a>; <a class="txt" onmouseover="tooltip.show('hs',this)" onmouseout="tooltip.hide()" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="firebrick">::  thesis: </font></span></a><span class="hide">  for <font color="Olive" title="b1">A</font> being   <a href="nat_1.html#NM1" title="NAT_1:NM.1">sequence</a> of <a href="numbers.html#NK1" title="NUMBERS:NK.1">NAT</a>  st <font color="Olive" title="b1">A</font> <a href="nat_1.html#K8" title="NAT_1:func.8">.</a> <a href="numbers.html#K5" title="NUMBERS:func.5">0</a> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c1">a</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c2">m</font> &amp; (  for <font color="Olive" title="b2">j</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a> holds  <font color="Olive" title="b1">A</font> <a href="nat_1.html#K8" title="NAT_1:func.8">.</a> <span class="p1">(<span class="default"><font color="Olive" title="b2">j</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1</span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Olive" title="b1">A</font> <a href="nat_1.html#K8" title="NAT_1:func.8">.</a> <font color="Olive" title="b2">j</font></span>)</span> <a href="nat_1.html#K2" title="NAT_1:func.2">*</a> <span class="p2">(<span class="default"><font color="Olive" title="b1">A</font> <a href="nat_1.html#K8" title="NAT_1:func.8">.</a> <font color="Olive" title="b2">j</font></span>)</span></span>)</span> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c2">m</font> ) holds <br/><font color="Olive" title="b1">A</font> <a href="nat_1.html#K8" title="NAT_1:func.8">.</a> <font color="Maroon" title="c3">i</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="ntalgo_2.html#K2" title="NTALGO_2:func.2">to_power</a> <span class="p2">(<span class="default">2 <a href="ntalgo_2.html#K2" title="NTALGO_2:func.2">to_power</a> <font color="Maroon" title="c3">i</font></span>)</span></span>)</span> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c2">m</font></span><br/><span class="kw">let </span><font color="Maroon" title="c4">A</font> be   <a href="nat_1.html#NM1" title="NAT_1:NM.1">sequence</a> of <a href="numbers.html#NK1" title="NUMBERS:NK.1">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="c4">A</font> <a href="nat_1.html#K8" title="NAT_1:func.8">.</a> <a href="numbers.html#K5" title="NUMBERS:func.5">0</a> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c1">a</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c2">m</font> &amp; (  for <font color="Olive" title="b1">j</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a> holds  <font color="Maroon" title="c4">A</font> <a href="nat_1.html#K8" title="NAT_1:func.8">.</a> <span class="p1">(<span class="default"><font color="Olive" title="b1">j</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1</span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c4">A</font> <a href="nat_1.html#K8" title="NAT_1:func.8">.</a> <font color="Olive" title="b1">j</font></span>)</span> <a href="nat_1.html#K2" title="NAT_1:func.2">*</a> <span class="p2">(<span class="default"><font color="Maroon" title="c4">A</font> <a href="nat_1.html#K8" title="NAT_1:func.8">.</a> <font color="Olive" title="b1">j</font></span>)</span></span>)</span> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c2">m</font> ) implies <font color="Maroon" title="c4">A</font> <a href="nat_1.html#K8" title="NAT_1:func.8">.</a> <font color="Maroon" title="c3">i</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="ntalgo_2.html#K2" title="NTALGO_2:func.2">to_power</a> <span class="p2">(<span class="default">2 <a href="ntalgo_2.html#K2" title="NTALGO_2:func.2">to_power</a> <font color="Maroon" title="c3">i</font></span>)</span></span>)</span> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c2">m</font> )</span><br/>



<span class="kw">assume </span><a NAME="E1:8"/><span class="lab"><font color="Green" title="E6">AS0</font></span>: 
( <font color="Maroon" title="c4">A</font> <a href="nat_1.html#K8" title="NAT_1:func.8">.</a> <a href="numbers.html#K5" title="NUMBERS:func.5">0</a> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c1">a</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c2">m</font> &amp; (  for <font color="Olive" title="b1">i</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a> holds  <font color="Maroon" title="c4">A</font> <a href="nat_1.html#K8" title="NAT_1:func.8">.</a> <span class="p1">(<span class="default"><font color="Olive" title="b1">i</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1</span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c4">A</font> <a href="nat_1.html#K8" title="NAT_1:func.8">.</a> <font color="Olive" title="b1">i</font></span>)</span> <a href="nat_1.html#K2" title="NAT_1:func.2">*</a> <span class="p2">(<span class="default"><font color="Maroon" title="c4">A</font> <a href="nat_1.html#K8" title="NAT_1:func.8">.</a> <font color="Olive" title="b1">i</font></span>)</span></span>)</span> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c2">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="c4">A</font> <a href="nat_1.html#K8" title="NAT_1:func.8">.</a> <font color="Maroon" title="c3">i</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="ntalgo_2.html#K2" title="NTALGO_2:func.2">to_power</a> <span class="p2">(<span class="default">2 <a href="ntalgo_2.html#K2" title="NTALGO_2:func.2">to_power</a> <font color="Maroon" title="c3">i</font></span>)</span></span>)</span> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c2">m</font></span><br/>

<span class="kw">defpred </span><font color="Maroon">S<sub>1</sub></font>[  <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a>] <span class="kw">means </span><font color="Maroon" title="c4">A</font> <a href="nat_1.html#K8" title="NAT_1:func.8">.</a> $1 <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="ntalgo_2.html#K2" title="NTALGO_2:func.2">to_power</a> <span class="p2">(<span class="default">2 <a href="ntalgo_2.html#K2" title="NTALGO_2:func.2">to_power</a> $1</span>)</span></span>)</span> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c2">m</font>;<br/>
<span class="p1">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="ntalgo_2.html#K2" title="NTALGO_2:func.2">to_power</a> <span class="p2">(<span class="default">2 <a href="ntalgo_2.html#K2" title="NTALGO_2:func.2">to_power</a> <a href="numbers.html#K5" title="NUMBERS:func.5">0</a></span>)</span></span>)</span> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c2">m</font> = 
<span class="p1">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="ntalgo_2.html#K2" title="NTALGO_2:func.2">to_power</a> 1</span>)</span> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c2">m</font>
<span class="kw">by</span> <span class="lab"><a class="ref" href="power.html#T24" onmouseover="rs('power/T24')" onmouseout="rh()">POWER:24</a></span>
<br/>.= 
<font color="Maroon" title="c1">a</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c2">m</font>

;<br/>
<a NAME="E3:8"/><span class="kw">then </span><span class="lab"><font color="Green" title="E7">L1</font></span>: 
<font color="Maroon">S<sub>1</sub></font>[ <a href="numbers.html#K5" title="NUMBERS:func.5">0</a> ]
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:8"><span class="lab"><font color="Green" title="E6">AS0</font></span></a></span>;<br/>
<a NAME="E4:8"/><span class="lab"><font color="Green" title="E8">L2</font></span>: 
 for <font color="Olive" title="b1">i</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a>  st <font color="Maroon">S<sub>1</sub></font>[<font color="Olive" title="b1">i</font>] holds <br/><font color="Maroon">S<sub>1</sub></font>[<font color="Olive" title="b1">i</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1]
 
<div><a class="txt" onmouseover="tooltip.show('hs2',this)" onmouseout="tooltip.hide()" onclick="hs2(this)" href="javascript:()" title="8_2"><span class="kw">proof </span></a><div class="add">

<span class="kw">let </span><font color="Maroon" title="c5">i</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">S<sub>1</sub></font>[<font color="Maroon" title="c5">i</font>] implies <font color="Maroon">S<sub>1</sub></font>[<font color="Maroon" title="c5">i</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1] )</span><br/>

<span class="kw">assume </span><a NAME="E1:8_2"/>
<font color="Maroon">S<sub>1</sub></font>[<font color="Maroon" title="c5">i</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">S<sub>1</sub></font>[<font color="Maroon" title="c5">i</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1]</span><br/>

<span class="kw">then </span><span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c4">A</font> <a href="nat_1.html#K8" title="NAT_1:func.8">.</a> <font color="Maroon" title="c5">i</font></span>)</span> <a href="nat_1.html#K2" title="NAT_1:func.2">*</a> <span class="p2">(<span class="default"><font color="Maroon" title="c4">A</font> <a href="nat_1.html#K8" title="NAT_1:func.8">.</a> <font color="Maroon" title="c5">i</font></span>)</span></span>)</span> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c2">m</font> = 
<span class="p1">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <span class="p2">(<span class="default"><span class="p3">(<span class="default">2 <a href="ntalgo_2.html#K2" title="NTALGO_2:func.2">to_power</a> 1</span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p3">(<span class="default">2 <a href="ntalgo_2.html#K2" title="NTALGO_2:func.2">to_power</a> <font color="Maroon" title="c5">i</font></span>)</span></span>)</span></span>)</span> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c2">m</font>
<span class="kw">by</span> <span class="lab"><a class="ref" href="nat_4.html#T11" onmouseover="rs('nat_4/T11')" onmouseout="rh()">NAT_4:11</a></span>
<br/>.= 
<span class="p1">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="ntalgo_2.html#K2" title="NTALGO_2:func.2">to_power</a> <span class="p2">(<span class="default">2 <a href="ntalgo_2.html#K2" title="NTALGO_2:func.2">to_power</a> <span class="p3">(<span class="default"><font color="Maroon" title="c5">i</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1</span>)</span></span>)</span></span>)</span> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c2">m</font>
<span class="kw">by</span> <span class="lab"><a class="ref" href="power.html#T27" onmouseover="rs('power/T27')" onmouseout="rh()">POWER:27</a></span>
;<br/>
<span class="kw">hence </span><a NAME="E3:8_2"/>
<font color="Maroon">S<sub>1</sub></font>[<font color="Maroon" title="c5">i</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1]
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:8"><span class="lab"><font color="Green" title="E6">AS0</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="E5:8"/>
 for <font color="Olive" title="b1">i</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a> holds  <font color="Maroon">S<sub>1</sub></font>[<font color="Olive" title="b1">i</font>]
 
<span class="kw">from</span> <span class="lab"><a class="ref" href="nat_1.html#S2" onmouseover="rs('nat_1/S2')" onmouseout="rh()">NAT_1:sch 2</a>(<a class="txt" href="#E3:8"><span class="lab"><font color="Green" title="E7">L1</font></span></a>, <a class="txt" href="#E4:8"><span class="lab"><font color="Green" title="E8">L2</font></span></a>);<br/></span>
<span class="kw">hence </span><a NAME="E6:8"/>
<font color="Maroon" title="c4">A</font> <a href="nat_1.html#K8" title="NAT_1:func.8">.</a> <font color="Maroon" title="c3">i</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="ntalgo_2.html#K2" title="NTALGO_2:func.2">to_power</a> <span class="p2">(<span class="default">2 <a href="ntalgo_2.html#K2" title="NTALGO_2:func.2">to_power</a> <font color="Maroon" title="c3">i</font></span>)</span></span>)</span> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c2">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"> verum</span><br/>


</div>
