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

<b>let </b><font color="Maroon" title="c1">p</font> be    <a href="polyform.html#M1" title="POLYFORM:mode.1">polyhedron</a> ;<br/>

<b>assume </b><a NAME="E1:120"/><i><font color="Green" title="E101">A1</font></i>: 
 <a href="polyform.html#K7" title="POLYFORM:func.7">dim</a> <font color="Maroon" title="c1">p</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 2
 ;<br/>

<b>set </b><font color="Maroon" title="c2">apcs</font> =  <a href="polyform.html#K30" title="POLYFORM:func.30">alternating-proper-f-vector</a> <font color="Maroon" title="c1">p</font>;<br/>
<a NAME="E2:120"/><i><font color="Green" title="E102">A2</font></i>: 
 <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <span class="p1">(<span class="default"><a href="polyform.html#K30" title="POLYFORM:func.30">alternating-proper-f-vector</a> <font color="Maroon" title="c1">p</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 2
 
<b>by </b><i><a class="txt" href="polyform.html#E1:120"><i><font color="Green" title="E101">A1</font></i></a>, <a class="ref" href="polyform.html#D25" target="_self" title="POLYFORM:def.25">Def25</a></i>;<br/>
<b>reconsider </b><font color="Maroon" title="c3">o</font> = 1 as   <a href="nat_1.html#NM1" title="NAT_1:NM.1">Nat</a> ;<br/>
<b>reconsider </b><font color="Maroon" title="c4">t</font> = 2 as   <a href="nat_1.html#NM1" title="NAT_1:NM.1">Nat</a> ;<br/>
<b>reconsider </b><font color="Maroon" title="c5">mo</font> =  <a href="real_1.html#K1" title="REAL_1:func.1">-</a> 1 as   <a href="int_1.html#NM1" title="INT_1:NM.1">Integer</a> ;<br/>
<a NAME="E6:120"/><i><font color="Green" title="E103">A3</font></i>: 
<span class="p1">(<span class="default"><a href="polyform.html#K30" title="POLYFORM:func.30">alternating-proper-f-vector</a> <font color="Maroon" title="c1">p</font></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c3">o</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="real_1.html#K1" title="REAL_1:func.1">-</a> 1</span>)</span> <a href="polyform.html#K2" title="POLYFORM:func.2">|^</a> <span class="p2">(<span class="default"><font color="Maroon" title="c3">o</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1</span>)</span></span>)</span> <a href="polyform.html#K1" title="POLYFORM:func.1">*</a> <span class="p1">(<span class="default"><a href="polyform.html#K11" title="POLYFORM:func.11">num-polytopes</a> <font color="Maroon" title="c1">p</font>,<span class="p2">(<span class="default"><font color="Maroon" title="c3">o</font> <a href="real_1.html#K5" title="REAL_1:func.5">-</a> 1</span>)</span></span>)</span>
 
<b>by </b><i><a class="txt" href="polyform.html#E1:120"><i><font color="Green" title="E101">A1</font></i></a>, <a class="ref" href="polyform.html#D25" target="_self" title="POLYFORM:def.25">Def25</a></i>;<br/>
<a NAME="E7:120"/><i><font color="Green" title="E104">A4</font></i>: 
<span class="p1">(<span class="default"><a href="polyform.html#K30" title="POLYFORM:func.30">alternating-proper-f-vector</a> <font color="Maroon" title="c1">p</font></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c4">t</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="real_1.html#K1" title="REAL_1:func.1">-</a> 1</span>)</span> <a href="polyform.html#K2" title="POLYFORM:func.2">|^</a> <span class="p2">(<span class="default"><font color="Maroon" title="c4">t</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1</span>)</span></span>)</span> <a href="polyform.html#K1" title="POLYFORM:func.1">*</a> <span class="p1">(<span class="default"><a href="polyform.html#K11" title="POLYFORM:func.11">num-polytopes</a> <font color="Maroon" title="c1">p</font>,<span class="p2">(<span class="default"><font color="Maroon" title="c4">t</font> <a href="real_1.html#K5" title="REAL_1:func.5">-</a> 1</span>)</span></span>)</span>
 
<b>by </b><i><a class="txt" href="polyform.html#E1:120"><i><font color="Green" title="E101">A1</font></i></a>, <a class="ref" href="polyform.html#D25" target="_self" title="POLYFORM:def.25">Def25</a></i>;<br/>
<a NAME="E8:120"/><i><font color="Green" title="E105">A5</font></i>: 
<span class="p1">(<span class="default"><a href="real_1.html#K1" title="REAL_1:func.1">-</a> 1</span>)</span> <a href="polyform.html#K2" title="POLYFORM:func.2">|^</a> <span class="p1">(<span class="default"><font color="Maroon" title="c3">o</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> 1
 
<b>by </b><i><a class="ref" href="polyform.html#T5" target="_self" title="POLYFORM:th.5">Th5</a>, <a class="ref" href="polyform.html#T8" target="_self" title="POLYFORM:th.8">Th8</a></i>;<br/>
<a NAME="E9:120"/><i><font color="Green" title="E106">A6</font></i>: 
<span class="p1">(<span class="default"><a href="real_1.html#K1" title="REAL_1:func.1">-</a> 1</span>)</span> <a href="polyform.html#K2" title="POLYFORM:func.2">|^</a> <span class="p1">(<span class="default"><font color="Maroon" title="c4">t</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>  <a href="real_1.html#K1" title="REAL_1:func.1">-</a> 1
 
<b>by </b><i><a class="ref" href="polyform.html#T6" target="_self" title="POLYFORM:th.6">Th6</a>, <a class="ref" href="polyform.html#T9" target="_self" title="POLYFORM:th.9">Th9</a></i>;<br/>
<b>reconsider </b><font color="Maroon" title="c6">apcso</font> = <span class="p1">(<span class="default"><a href="polyform.html#K30" title="POLYFORM:func.30">alternating-proper-f-vector</a> <font color="Maroon" title="c1">p</font></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c3">o</font> as   <a href="int_1.html#NM1" title="INT_1:NM.1">Integer</a> ;<br/>
<b>reconsider </b><font color="Maroon" title="c7">apcst</font> = <span class="p1">(<span class="default"><a href="polyform.html#K30" title="POLYFORM:func.30">alternating-proper-f-vector</a> <font color="Maroon" title="c1">p</font></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c4">t</font> as   <a href="int_1.html#NM1" title="INT_1:NM.1">Integer</a> ;<br/>
<a NAME="E12:120"/><i><font color="Green" title="E107">A7</font></i>: 
 <a href="polyform.html#K30" title="POLYFORM:func.30">alternating-proper-f-vector</a> <font color="Maroon" title="c1">p</font> <a href="relset_1.html#R2" title="RELSET_1:pred.2">=</a> <span class="p1"><a href="polyform.html#K4" title="POLYFORM:func.4">&lt;*</a><span class="default"><font color="Maroon" title="c6">apcso</font>,<font color="Maroon" title="c7">apcst</font></span><a href="polyform.html#K4" title="POLYFORM:func.4">*&gt;</a></span>
 
<b>by </b><i><a class="txt" href="polyform.html#E2:120"><i><font color="Green" title="E102">A2</font></i></a>, <a class="ref" href="finseq_1.html#T61" title="FINSEQ_1:th.61">FINSEQ_1:61</a></i>;<br/>
<b>reconsider </b><font color="Maroon" title="c8">apcsonetwo</font> = <span class="p1"><a href="polyform.html#K4" title="POLYFORM:func.4">&lt;*</a><span class="default"><font color="Maroon" title="c6">apcso</font>,<font color="Maroon" title="c7">apcst</font></span><a href="polyform.html#K4" title="POLYFORM:func.4">*&gt;</a></span> as    <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>  ;<br/>
 <a href="gr_cy_1.html#K1" title="GR_CY_1:func.1">Sum</a> <span class="p1">(<span class="default"><a href="polyform.html#K30" title="POLYFORM:func.30">alternating-proper-f-vector</a> <font color="Maroon" title="c1">p</font></span>)</span> = 
<font color="Maroon" title="c6">apcso</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <font color="Maroon" title="c7">apcst</font>
<b>by </b><i><a class="txt" href="polyform.html#E12:120"><i><font color="Green" title="E107">A7</font></i></a>, <a class="ref" href="rvsum_1.html#T107" title="RVSUM_1:th.107">RVSUM_1:107</a></i>
<br/>.= 
<span class="p1">(<span class="default"><a href="polyform.html#K11" title="POLYFORM:func.11">num-polytopes</a> <font color="Maroon" title="c1">p</font>,<a href="numbers.html#K6" title="NUMBERS:func.6">0</a> </span>)</span> <a href="real_1.html#K9" title="REAL_1:func.9">-</a> <span class="p1">(<span class="default"><a href="polyform.html#K11" title="POLYFORM:func.11">num-polytopes</a> <font color="Maroon" title="c1">p</font>,1</span>)</span>
<b>by </b><i><a class="txt" href="polyform.html#E6:120"><i><font color="Green" title="E103">A3</font></i></a>, <a class="txt" href="polyform.html#E7:120"><i><font color="Green" title="E104">A4</font></i></a>, <a class="txt" href="polyform.html#E8:120"><i><font color="Green" title="E105">A5</font></i></a>, <a class="txt" href="polyform.html#E9:120"><i><font color="Green" title="E106">A6</font></i></a></i>
;<br/>
<b>hence </b><a NAME="E15:120"/>
 <a href="gr_cy_1.html#K1" title="GR_CY_1:func.1">Sum</a> <span class="p1">(<span class="default"><a href="polyform.html#K30" title="POLYFORM:func.30">alternating-proper-f-vector</a> <font color="Maroon" title="c1">p</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><a href="polyform.html#K11" title="POLYFORM:func.11">num-polytopes</a> <font color="Maroon" title="c1">p</font>,<a href="numbers.html#K6" title="NUMBERS:func.6">0</a> </span>)</span> <a href="real_1.html#K9" title="REAL_1:func.9">-</a> <span class="p1">(<span class="default"><a href="polyform.html#K11" title="POLYFORM:func.11">num-polytopes</a> <font color="Maroon" title="c1">p</font>,1</span>)</span>
 ;<br/>


</div>
