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

<span class="kw">let </span><font color="Maroon" title="c1">n</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">K</font> being   <a href="vectsp_1.html#NM5" title="VECTSP_1:NM.5">Field</a><br/>  for <font color="Olive" title="b2">M</font> being   <a href="matrix_1.html#NM2" title="MATRIX_1:NM.2">Matrix</a> of <font color="Maroon" title="c1">n</font>,<font color="Olive" title="b1">K</font> holds   <a href="matrix_3.html#K13" title="MATRIX_3:func.13">diagonal_of_Matrix</a> <font color="Olive" title="b2">M</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="matrix_3.html#K13" title="MATRIX_3:func.13">diagonal_of_Matrix</a> <span class="p1">(<span class="default"><font color="Olive" title="b2">M</font> <a href="matrix_0.html#K4" title="MATRIX_0:func.4">@</a></span>)</span></span><br/><span class="kw">let </span><font color="Maroon" title="c2">K</font> be   <a href="vectsp_1.html#NM5" title="VECTSP_1:NM.5">Field</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">M</font> being   <a href="matrix_1.html#NM2" title="MATRIX_1:NM.2">Matrix</a> of <font color="Maroon" title="c1">n</font>,<font color="Maroon" title="c2">K</font> holds   <a href="matrix_3.html#K13" title="MATRIX_3:func.13">diagonal_of_Matrix</a> <font color="Olive" title="b1">M</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="matrix_3.html#K13" title="MATRIX_3:func.13">diagonal_of_Matrix</a> <span class="p1">(<span class="default"><font color="Olive" title="b1">M</font> <a href="matrix_0.html#K4" title="MATRIX_0:func.4">@</a></span>)</span></span><br/><span class="kw">let </span><font color="Maroon" title="c3">M</font> be   <a href="matrix_1.html#NM2" title="MATRIX_1:NM.2">Matrix</a> of <font color="Maroon" title="c1">n</font>,<font color="Maroon" title="c2">K</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="matrix_3.html#K13" title="MATRIX_3:func.13">diagonal_of_Matrix</a> <font color="Maroon" title="c3">M</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="matrix_3.html#K13" title="MATRIX_3:func.13">diagonal_of_Matrix</a> <span class="p1">(<span class="default"><font color="Maroon" title="c3">M</font> <a href="matrix_0.html#K4" title="MATRIX_0:func.4">@</a></span>)</span></span><br/>





<span class="kw">set </span><font color="Maroon" title="c4">DM</font> =  <a href="matrix_3.html#K13" title="MATRIX_3:func.13">diagonal_of_Matrix</a> <font color="Maroon" title="c3">M</font>;<br/>
<span class="kw">set </span><font color="Maroon" title="c5">DM9</font> =  <a href="matrix_3.html#K13" title="MATRIX_3:func.13">diagonal_of_Matrix</a> <span class="p1">(<span class="default"><font color="Maroon" title="c3">M</font> <a href="matrix_0.html#K4" title="MATRIX_0:func.4">@</a></span>)</span>;<br/>
<a NAME="E1:3"/><span class="lab"><font color="Green" title="E4">A1</font></span>: 
 <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <span class="p1">(<span class="default"><a href="matrix_3.html#K13" title="MATRIX_3:func.13">diagonal_of_Matrix</a> <font color="Maroon" title="c3">M</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c1">n</font>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="matrix_3.html#D10" onmouseover="rs('matrix_3/D10')" onmouseout="rh()">MATRIX_3:def 10</a></span>;<br/>
<div><span class="lab"><font color="Green" title="E5">A2</font></span>: <a class="txt" onmouseover="tooltip.show('hs2',this)" onmouseout="tooltip.hide()" onclick="hs2(this)" href="javascript:()" title="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">  for <font color="Olive" title="b1">i</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a>  st 1 <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a> <font color="Olive" title="b1">i</font> &amp; <font color="Olive" title="b1">i</font> <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a>  <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <span class="p1">(<span class="default"><a href="matrix_3.html#K13" title="MATRIX_3:func.13">diagonal_of_Matrix</a> <font color="Maroon" title="c3">M</font></span>)</span> holds <br/><span class="p1">(<span class="default"><a href="matrix_3.html#K13" title="MATRIX_3:func.13">diagonal_of_Matrix</a> <font color="Maroon" title="c3">M</font></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b1">i</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><a href="matrix_3.html#K13" title="MATRIX_3:func.13">diagonal_of_Matrix</a> <span class="p2">(<span class="default"><font color="Maroon" title="c3">M</font> <a href="matrix_0.html#K4" title="MATRIX_0:func.4">@</a></span>)</span></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b1">i</font></span></a><div class="add"><span class="kw">let </span><font color="Maroon" title="c6">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"> ( 1 <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a> <font color="Maroon" title="c6">i</font> &amp; <font color="Maroon" title="c6">i</font> <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a>  <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <span class="p1">(<span class="default"><a href="matrix_3.html#K13" title="MATRIX_3:func.13">diagonal_of_Matrix</a> <font color="Maroon" title="c3">M</font></span>)</span> implies <span class="p1">(<span class="default"><a href="matrix_3.html#K13" title="MATRIX_3:func.13">diagonal_of_Matrix</a> <font color="Maroon" title="c3">M</font></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c6">i</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><a href="matrix_3.html#K13" title="MATRIX_3:func.13">diagonal_of_Matrix</a> <span class="p2">(<span class="default"><font color="Maroon" title="c3">M</font> <a href="matrix_0.html#K4" title="MATRIX_0:func.4">@</a></span>)</span></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c6">i</font> )</span><br/><span class="kw">assume </span><span class="kw">that </span><br/><a NAME="E1:3_1"/><span class="lab"><font color="Green" title="E6">A3</font></span>: 
1 <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a> <font color="Maroon" title="c6">i</font>
 <span class="kw">and </span><br/><a NAME="E2:3_1"/><span class="lab"><font color="Green" title="E7">A4</font></span>: 
<font color="Maroon" title="c6">i</font> <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a>  <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <span class="p1">(<span class="default"><a href="matrix_3.html#K13" title="MATRIX_3:func.13">diagonal_of_Matrix</a> <font color="Maroon" title="c3">M</font></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="matrix_3.html#K13" title="MATRIX_3:func.13">diagonal_of_Matrix</a> <font color="Maroon" title="c3">M</font></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c6">i</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><a href="matrix_3.html#K13" title="MATRIX_3:func.13">diagonal_of_Matrix</a> <span class="p2">(<span class="default"><font color="Maroon" title="c3">M</font> <a href="matrix_0.html#K4" title="MATRIX_0:func.4">@</a></span>)</span></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c6">i</font></span><br/><a NAME="E3:3_1"/><span class="lab"><font color="Green" title="E8">A5</font></span>: 
<font color="Maroon" title="c6">i</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="finseq_1.html#K2" title="FINSEQ_1:func.2">Seg</a> <font color="Maroon" title="c1">n</font>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:3"><span class="lab"><font color="Green" title="E4">A1</font></span></a>, <a class="txt" href="#E1:3_1"><span class="lab"><font color="Green" title="E6">A3</font></span></a>, <a class="txt" href="#E2:3_1"><span class="lab"><font color="Green" title="E7">A4</font></span></a></span>;<br/><a NAME="E4:3_1"/><span class="kw">then </span><span class="lab"><font color="Green" title="E9">A6</font></span>: 
<span class="p1">(<span class="default"><a href="matrix_3.html#K13" title="MATRIX_3:func.13">diagonal_of_Matrix</a> <span class="p2">(<span class="default"><font color="Maroon" title="c3">M</font> <a href="matrix_0.html#K4" title="MATRIX_0:func.4">@</a></span>)</span></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c6">i</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Maroon" title="c3">M</font> <a href="matrix_0.html#K4" title="MATRIX_0:func.4">@</a></span>)</span> <a href="matrix_0.html#K3" title="MATRIX_0:func.3">*</a> (<font color="Maroon" title="c6">i</font>,<font color="Maroon" title="c6">i</font>)
 <span class="kw">by</span> <span class="lab"><a class="ref" href="matrix_3.html#D10" onmouseover="rs('matrix_3/D10')" onmouseout="rh()">MATRIX_3:def 10</a></span>;<br/><a NAME="E5:3_1"/>
 <a href="matrix_0.html#K2" title="MATRIX_0:func.2">Indices</a> <font color="Maroon" title="c3">M</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1"><a href="zfmisc_1.html#K2" title="ZFMISC_1:func.2">[:</a><span class="default"><span class="p2">(<span class="default"><a href="finseq_1.html#K2" title="FINSEQ_1:func.2">Seg</a> <font color="Maroon" title="c1">n</font></span>)</span>,<span class="p2">(<span class="default"><a href="finseq_1.html#K2" title="FINSEQ_1:func.2">Seg</a> <font color="Maroon" title="c1">n</font></span>)</span></span><a href="zfmisc_1.html#K2" title="ZFMISC_1:func.2">:]</a></span>
 <span class="kw">by</span> <span class="lab"><a class="ref" href="matrix_0.html#T24" onmouseover="rs('matrix_0/T24')" onmouseout="rh()">MATRIX_0:24</a></span>;<br/><a NAME="E6:3_1"/><span class="kw">then </span><span class="lab"><font color="Green" title="E10">A7</font></span>: 
<span class="p1"><a href="tarski.html#K4" title="TARSKI:func.4">[</a><span class="default"><font color="Maroon" title="c6">i</font>,<font color="Maroon" title="c6">i</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="matrix_0.html#K2" title="MATRIX_0:func.2">Indices</a> <font color="Maroon" title="c3">M</font>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E3:3_1"><span class="lab"><font color="Green" title="E8">A5</font></span></a>, <a class="ref" href="zfmisc_1.html#T87" onmouseover="rs('zfmisc_1/T87')" onmouseout="rh()">ZFMISC_1:87</a></span>;<br/><a NAME="E7:3_1"/>
<span class="p1">(<span class="default"><a href="matrix_3.html#K13" title="MATRIX_3:func.13">diagonal_of_Matrix</a> <font color="Maroon" title="c3">M</font></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c6">i</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c3">M</font> <a href="matrix_0.html#K3" title="MATRIX_0:func.3">*</a> (<font color="Maroon" title="c6">i</font>,<font color="Maroon" title="c6">i</font>)
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E3:3_1"><span class="lab"><font color="Green" title="E8">A5</font></span></a>, <a class="ref" href="matrix_3.html#D10" onmouseover="rs('matrix_3/D10')" onmouseout="rh()">MATRIX_3:def 10</a></span>;<br/><span class="kw">hence </span><a NAME="E8:3_1"/>
<span class="p1">(<span class="default"><a href="matrix_3.html#K13" title="MATRIX_3:func.13">diagonal_of_Matrix</a> <font color="Maroon" title="c3">M</font></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c6">i</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><a href="matrix_3.html#K13" title="MATRIX_3:func.13">diagonal_of_Matrix</a> <span class="p2">(<span class="default"><font color="Maroon" title="c3">M</font> <a href="matrix_0.html#K4" title="MATRIX_0:func.4">@</a></span>)</span></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c6">i</font>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E6:3_1"><span class="lab"><font color="Green" title="E10">A7</font></span></a>, <a class="txt" href="#E4:3_1"><span class="lab"><font color="Green" title="E9">A6</font></span></a>, <a class="ref" href="matrix_0.html#D6" onmouseover="rs('matrix_0/D6')" onmouseout="rh()">MATRIX_0:def 6</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="E3:3"/>
 <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <span class="p1">(<span class="default"><a href="matrix_3.html#K13" title="MATRIX_3:func.13">diagonal_of_Matrix</a> <span class="p2">(<span class="default"><font color="Maroon" title="c3">M</font> <a href="matrix_0.html#K4" title="MATRIX_0:func.4">@</a></span>)</span></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c1">n</font>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="matrix_3.html#D10" onmouseover="rs('matrix_3/D10')" onmouseout="rh()">MATRIX_3:def 10</a></span>;<br/>
<span class="kw">hence </span><a NAME="E4:3"/>
 <a href="matrix_3.html#K13" title="MATRIX_3:func.13">diagonal_of_Matrix</a> <font color="Maroon" title="c3">M</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="matrix_3.html#K13" title="MATRIX_3:func.13">diagonal_of_Matrix</a> <span class="p1">(<span class="default"><font color="Maroon" title="c3">M</font> <a href="matrix_0.html#K4" title="MATRIX_0:func.4">@</a></span>)</span>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:3"><span class="lab"><font color="Green" title="E4">A1</font></span></a>, <a class="txt" href="#E2:3"><span class="lab"><font color="Green" title="E5">A2</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>
