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

<span class="kw">let </span><font color="Maroon" title="c1">X</font> be   non  <a href="struct_0.html#V2" title="STRUCT_0:attr.2">empty</a>   non  <a href="struct_0.html#V11" title="STRUCT_0:attr.11">void</a>   <a href="stacks_1.html#L1" title="STACKS_1:struct.1">StackSystem</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">s1</font>, <font color="Olive" title="b2">s2</font> being   <a href="stacks_1.html#NM2" title="STACKS_1:NM.2">stack</a> of <font color="Maroon" title="c1">X</font><br/>  for <font color="Olive" title="b3">e1</font>, <font color="Olive" title="b4">e2</font> being   <a href="struct_0.html#NM1" title="STRUCT_0:NM.1">Element</a> of <font color="Maroon" title="c1">X</font>  st <font color="Maroon" title="c1">X</font> is  <a href="stacks_1.html#V4" title="STACKS_1:attr.4">top-push</a>  &amp; <font color="Maroon" title="c1">X</font> is  <a href="stacks_1.html#V5" title="STACKS_1:attr.5">pop-push</a>  &amp;  <a href="stacks_1.html#K7" title="STACKS_1:func.7">push</a> (<font color="Olive" title="b3">e1</font>,<font color="Olive" title="b1">s1</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="stacks_1.html#K7" title="STACKS_1:func.7">push</a> (<font color="Olive" title="b4">e2</font>,<font color="Olive" title="b2">s2</font>) holds <br/>( <font color="Olive" title="b3">e1</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Olive" title="b4">e2</font> &amp; <font color="Olive" title="b1">s1</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Olive" title="b2">s2</font> )</span><br/><span class="kw">let </span><font color="Maroon" title="c2">s1</font>, <font color="Maroon" title="c3">s2</font> be   <a href="stacks_1.html#NM2" title="STACKS_1:NM.2">stack</a> of <font color="Maroon" title="c1">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">  for <font color="Olive" title="b1">e1</font>, <font color="Olive" title="b2">e2</font> being   <a href="struct_0.html#NM1" title="STRUCT_0:NM.1">Element</a> of <font color="Maroon" title="c1">X</font>  st <font color="Maroon" title="c1">X</font> is  <a href="stacks_1.html#V4" title="STACKS_1:attr.4">top-push</a>  &amp; <font color="Maroon" title="c1">X</font> is  <a href="stacks_1.html#V5" title="STACKS_1:attr.5">pop-push</a>  &amp;  <a href="stacks_1.html#K7" title="STACKS_1:func.7">push</a> (<font color="Olive" title="b1">e1</font>,<font color="Maroon" title="c2">s1</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="stacks_1.html#K7" title="STACKS_1:func.7">push</a> (<font color="Olive" title="b2">e2</font>,<font color="Maroon" title="c3">s2</font>) holds <br/>( <font color="Olive" title="b1">e1</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Olive" title="b2">e2</font> &amp; <font color="Maroon" title="c2">s1</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c3">s2</font> )</span><br/><span class="kw">let </span><font color="Maroon" title="c4">e1</font>, <font color="Maroon" title="c5">e2</font> be   <a href="struct_0.html#NM1" title="STRUCT_0:NM.1">Element</a> of <font color="Maroon" title="c1">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="c1">X</font> is  <a href="stacks_1.html#V4" title="STACKS_1:attr.4">top-push</a>  &amp; <font color="Maroon" title="c1">X</font> is  <a href="stacks_1.html#V5" title="STACKS_1:attr.5">pop-push</a>  &amp;  <a href="stacks_1.html#K7" title="STACKS_1:func.7">push</a> (<font color="Maroon" title="c4">e1</font>,<font color="Maroon" title="c2">s1</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="stacks_1.html#K7" title="STACKS_1:func.7">push</a> (<font color="Maroon" title="c5">e2</font>,<font color="Maroon" title="c3">s2</font>) implies ( <font color="Maroon" title="c4">e1</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c5">e2</font> &amp; <font color="Maroon" title="c2">s1</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c3">s2</font> ) )</span><br/>









<span class="kw">assume </span><a NAME="E1:26"/>
<font color="Maroon" title="c1">X</font> is  <a href="stacks_1.html#V4" title="STACKS_1:attr.4">top-push</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"> (  not <font color="Maroon" title="c1">X</font> is  <a href="stacks_1.html#V5" title="STACKS_1:attr.5">pop-push</a>  or  not  <a href="stacks_1.html#K7" title="STACKS_1:func.7">push</a> (<font color="Maroon" title="c4">e1</font>,<font color="Maroon" title="c2">s1</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="stacks_1.html#K7" title="STACKS_1:func.7">push</a> (<font color="Maroon" title="c5">e2</font>,<font color="Maroon" title="c3">s2</font>) or ( <font color="Maroon" title="c4">e1</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c5">e2</font> &amp; <font color="Maroon" title="c2">s1</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c3">s2</font> ) )</span><br/>

<a NAME="E2:26"/><span class="kw">then </span><span class="lab"><font color="Green" title="E12">A1</font></span>: 
( <font color="Maroon" title="c4">e1</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="stacks_1.html#K6" title="STACKS_1:func.6">top</a> <span class="p1">(<span class="default"><a href="stacks_1.html#K7" title="STACKS_1:func.7">push</a> (<font color="Maroon" title="c4">e1</font>,<font color="Maroon" title="c2">s1</font>)</span>)</span> &amp; <font color="Maroon" title="c5">e2</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="stacks_1.html#K6" title="STACKS_1:func.6">top</a> <span class="p1">(<span class="default"><a href="stacks_1.html#K7" title="STACKS_1:func.7">push</a> (<font color="Maroon" title="c5">e2</font>,<font color="Maroon" title="c3">s2</font>)</span>)</span> )
 
;<br/>
<span class="kw">assume </span><a NAME="E3:26"/>
<font color="Maroon" title="c1">X</font> is  <a href="stacks_1.html#V5" title="STACKS_1:attr.5">pop-push</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"> (  not  <a href="stacks_1.html#K7" title="STACKS_1:func.7">push</a> (<font color="Maroon" title="c4">e1</font>,<font color="Maroon" title="c2">s1</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="stacks_1.html#K7" title="STACKS_1:func.7">push</a> (<font color="Maroon" title="c5">e2</font>,<font color="Maroon" title="c3">s2</font>) or ( <font color="Maroon" title="c4">e1</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c5">e2</font> &amp; <font color="Maroon" title="c2">s1</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c3">s2</font> ) )</span><br/>

<a NAME="E4:26"/><span class="kw">then </span>
( <font color="Maroon" title="c2">s1</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="stacks_1.html#K5" title="STACKS_1:func.5">pop</a> <span class="p1">(<span class="default"><a href="stacks_1.html#K7" title="STACKS_1:func.7">push</a> (<font color="Maroon" title="c4">e1</font>,<font color="Maroon" title="c2">s1</font>)</span>)</span> &amp; <font color="Maroon" title="c3">s2</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="stacks_1.html#K5" title="STACKS_1:func.5">pop</a> <span class="p1">(<span class="default"><a href="stacks_1.html#K7" title="STACKS_1:func.7">push</a> (<font color="Maroon" title="c5">e2</font>,<font color="Maroon" title="c3">s2</font>)</span>)</span> )
 
;<br/>
<span class="kw">hence </span><a NAME="E5:26"/>
(  not  <a href="stacks_1.html#K7" title="STACKS_1:func.7">push</a> (<font color="Maroon" title="c4">e1</font>,<font color="Maroon" title="c2">s1</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="stacks_1.html#K7" title="STACKS_1:func.7">push</a> (<font color="Maroon" title="c5">e2</font>,<font color="Maroon" title="c3">s2</font>) or ( <font color="Maroon" title="c4">e1</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c5">e2</font> &amp; <font color="Maroon" title="c2">s1</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c3">s2</font> ) )
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:26"><span class="lab"><font color="Green" title="E12">A1</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>
