<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE document PUBLIC "-//CNX//DTD CNXML 0.5 plus MathML//EN" "http://cnx.rice.edu/technology/cnxml/schema/dtd/0.5/cnxml_mathml.dtd">
<document xmlns="http://cnx.rice.edu/cnxml" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="m10528">

<name xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">Reference: propositional WaterWorld</name>
<metadata xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">
  <md:version xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">2.34</md:version>
  <md:created xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">2002/03/07</md:created>
  <md:revised xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">2009/01/21 14:59:10.934 US/Central</md:revised>
  <md:authorlist xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">
      <md:author xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="ian">
      <md:firstname xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">Ian</md:firstname>
      
      <md:surname xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">Barland</md:surname>
      <md:email xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">ibarland@radford.edu</md:email>
    </md:author>
      <md:author xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="greiner">
      <md:firstname xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">John</md:firstname>
      
      <md:surname xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">Greiner</md:surname>
      <md:email xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">greiner@cs.rice.edu</md:email>
    </md:author>
      <md:author xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="phokion">
      <md:firstname xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">Phokion</md:firstname>
      
      <md:surname xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">Kolaitis</md:surname>
      <md:email xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">kolaitis@cse.ucsc.edu</md:email>
    </md:author>
      <md:author xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="moshe">
      <md:firstname xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">Moshe</md:firstname>
      
      <md:surname xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">Vardi</md:surname>
      <md:email xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">vardi@cs.rice.edu</md:email>
    </md:author>
      <md:author xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="matthias">
      <md:firstname xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">Matthias</md:firstname>
      
      <md:surname xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">Felleisen</md:surname>
      <md:email xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">matthias@ccs.neu.edu</md:email>
    </md:author>
  </md:authorlist>

  <md:maintainerlist xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">
    <md:maintainer xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="ian">
      <md:firstname xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">Ian</md:firstname>
      
      <md:surname xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">Barland</md:surname>
      <md:email xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">ibarland@radford.edu</md:email>
    </md:maintainer>
    <md:maintainer xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="greiner">
      <md:firstname xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">John</md:firstname>
      
      <md:surname xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">Greiner</md:surname>
      <md:email xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">greiner@cs.rice.edu</md:email>
    </md:maintainer>
  </md:maintainerlist>
  
  

  <md:abstract xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">The domain axioms for WaterWorld in propositional logic.</md:abstract>
</metadata>



<content xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="para1">
  We summarize the details of how we
  choose to model WaterWorld boards
  in propositional logic:
  exactly what propositions we make up,
  and the formal domain axioms which capture the game's rules.
</para>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="para2">
  The board is fixed at 6×4,
  named <m:math><m:ci>A</m:ci></m:math>,…,<m:math><m:ci>Z</m:ci></m:math> (with I and O omitted).
</para>

<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="figure1">
  <media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" src="hwA-1.png" type="image/png"/>

  <caption xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">A Sample WaterWorld board</caption>
</figure>


<section xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="waterworld-props">
<name xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">Propositions</name>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="para3">
  There are a myriad of propositions for WaterWorld,
  which can be grouped:
</para>

<list xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="list1">
  <item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">
    Whether or not a location contains a pirate:
    <m:math><m:ci>A-unsafe</m:ci></m:math>, <m:math><m:ci>B-unsafe</m:ci></m:math>, …, <m:math><m:ci>Z-unsafe</m:ci></m:math>.
  </item>
  <item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">
    Whether or not a location contains no pirate:
    <m:math><m:ci>A-safe</m:ci></m:math>, <m:math><m:ci>B-safe</m:ci></m:math>, …, <m:math><m:ci>Z-safe</m:ci></m:math>.
    <note xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" type="aside">
      Yes, using the intended interpretation,
      these are redundant with the previous ones.
      Some domain axioms below will formalize this.
    </note>
  </item>

  <item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">
    Propositions indicating
    the number of neighboring pirates, to a location:
    <m:math><m:ci>A-has-0</m:ci></m:math>, <m:math><m:ci>A-has-1</m:ci></m:math>, <m:math><m:ci>A-has-2</m:ci></m:math>,
    <m:math><m:ci>B-has-0</m:ci></m:math>, <m:math><m:ci>B-has-1</m:ci></m:math>, <m:math><m:ci>B-has-2</m:ci></m:math>,
    …,
    <m:math><m:ci>H-has-0</m:ci></m:math>, <m:math><m:ci>H-has-1</m:ci></m:math>, <m:math><m:ci>H-has-2</m:ci></m:math>, <m:math><m:ci>H-has-3</m:ci></m:math>,
    …,
    <m:math><m:ci>Z-has-0</m:ci></m:math>, <m:math><m:ci>Z-has-1</m:ci></m:math>.
    These are all true/false propositions; — there are no
    explicit numbers in the logic.
    A domain axiom below will assert that whenever (say)
    <m:math><m:ci>B-has-1</m:ci></m:math> is true, then <m:math><m:ci>B-has-0</m:ci></m:math> and <m:math><m:ci>B-has-2</m:ci></m:math> are both false.
    <note xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" type="aside">
      There is no proposition <m:math><m:ci>A-has-3</m:ci></m:math>  — since location <m:math><m:ci>A</m:ci></m:math>
      has only two neighbors.
      Similarly, there is no proposition <m:math><m:ci>B-has-3</m:ci></m:math>.
      We <emphasis xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">could</emphasis> have chosen to 
      include those, but under the intended interpretation
      they'd always be false.
    </note>
  </item>


</list>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="para4">
  <emphasis xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">
    These propositions describe the state of the underlying
    board  — the model  — and not our particular view of it.
  </emphasis>
  Our particular view will be reflected in which formulas 
  we'll accept as premises.  So we'll accept <m:math><m:ci>A-has-2</m:ci></m:math> as a premise
  only when <m:math><m:ci>A</m:ci></m:math> has been exposed and shows a 2.
</para>

</section>



<section xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="waterworld-rules">
<name xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">The domain axioms</name>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="para5">
  Axioms asserting that the neighbor counts are correct:

  <list xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="list2">
    <item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">
      Count of 0:
      <list xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="list3">
        <item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/"> “A0”:
               <m:math><m:apply><m:implies/> <m:ci>A-has-0</m:ci>
                    <m:apply><m:and/> <m:ci>B-safe</m:ci> <m:ci>G-safe</m:ci></m:apply>
               </m:apply></m:math>
        </item>
        <item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/"> …
        </item>
        <item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/"> “H0”:
               <m:math><m:apply><m:implies/> <m:ci>H-has-0</m:ci>
                    <m:apply><m:and/> <m:ci>G-safe</m:ci> <m:ci>J-safe</m:ci> <m:ci>P-safe</m:ci> </m:apply>
               </m:apply></m:math>
        </item>
        <item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/"> …
        </item>
        <item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/"> “Z0”:
               <m:math><m:apply><m:implies/> <m:ci>Z-has-0</m:ci>
                    <m:apply><m:and/> <m:ci>Y-safe</m:ci></m:apply>
               </m:apply></m:math>
        </item>
      </list>
    </item>

    <item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">
      Count of 1:
      <list xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="list4">
        <item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/"> “A1”:
               <m:math><m:apply><m:implies/>
                 <m:ci>A-has-1</m:ci>
                 <m:apply><m:or/>
                   <m:apply><m:and/> <m:ci>B-safe</m:ci>   <m:ci>G-unsafe</m:ci></m:apply>
                   <m:apply><m:and/> <m:ci>B-unsafe</m:ci> <m:ci>G-safe</m:ci>  </m:apply>
                 </m:apply>
               </m:apply></m:math>
        </item>
        <item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/"> …
        </item>
        <item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/"> “H1”:
               <m:math><m:apply><m:implies/> <m:ci>H-has-1</m:ci>
                    <m:apply><m:or/><m:apply><m:and/> <m:ci>G-safe</m:ci>   <m:ci>J-safe</m:ci>   <m:ci>P-unsafe</m:ci> </m:apply>
                        <m:apply><m:and/> <m:ci>G-safe</m:ci>   <m:ci>J-unsafe</m:ci> <m:ci>P-safe</m:ci>   </m:apply>   
                        <m:apply><m:and/> <m:ci>G-unsafe</m:ci> <m:ci>J-safe</m:ci>   <m:ci>P-safe</m:ci>   </m:apply>
                    </m:apply>
               </m:apply></m:math>
        </item>
        <item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/"> …
        </item>
        <item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/"> “Z1”:
               <m:math><m:apply><m:implies/> <m:ci>Z-has-1</m:ci>
                    <m:apply><m:and/> <m:ci>Y-unsafe</m:ci> </m:apply>
               </m:apply></m:math>
        </item>
      </list>
    </item>

    <item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">
      Count of 2:
      <list xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="list5">
        <item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/"> “A2”:
               <m:math><m:apply><m:implies/>
                 <m:ci>A-has-2</m:ci>
                 <m:apply><m:and/> <m:ci>B-unsafe</m:ci>   <m:ci>G-unsafe</m:ci></m:apply>
               </m:apply></m:math>
        </item>
        <item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/"> …
        </item>
        <item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/"> “H2”:
               <m:math><m:apply><m:implies/>
                 <m:ci>H-has-2</m:ci>
                 <m:apply><m:or/>
                   <m:apply><m:and/><m:ci>G-safe</m:ci> <m:ci>J-unsafe</m:ci> <m:ci>P-unsafe</m:ci></m:apply>
                   <m:apply><m:and/><m:ci>G-unsafe</m:ci> <m:ci>J-safe</m:ci> <m:ci>P-unsafe</m:ci></m:apply>
                   <m:apply><m:and/><m:ci>G-unsafe</m:ci> <m:ci>J-unsafe</m:ci> <m:ci>P-safe</m:ci></m:apply>
                 </m:apply>
               </m:apply></m:math>
        </item>
        <item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/"> …
        </item>
      </list>
      There aren't any such axioms for locations
      with only one neighbor.
    </item>

    <item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">
      Count of 3:
      <list xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="list6">
        <item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/"> “H3”:
               <m:math><m:apply><m:implies/> <m:ci>H-has-3</m:ci>
                    <m:apply><m:and/> <m:ci>G-unsafe</m:ci>   <m:ci>J-unsafe</m:ci> <m:ci>P-unsafe</m:ci> </m:apply>
               </m:apply></m:math>
        </item>
        <item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/"> …
        </item>
      </list>
      There aren't any such axioms for locations
      with only one or two neighbors.
    </item>
  </list>
</para>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="para6">
  Axioms asserting that the propositions for counting neighbors
  are consistent:

  <list xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="list7">
    <item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/"> <m:math><m:apply><m:or/><m:ci>A-has-0</m:ci> <m:ci>A-has-1</m:ci></m:apply></m:math>
    </item>
    <item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/"> <m:math><m:apply><m:implies/><m:ci>A-has-0</m:ci>
               <m:apply><m:not/><m:ci>A-has-1</m:ci></m:apply>
           </m:apply></m:math>
    </item>
    <item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/"> <m:math><m:apply><m:implies/><m:ci>A-has-1</m:ci>
               <m:apply><m:not/><m:ci>A-has-0</m:ci></m:apply>
           </m:apply></m:math>
    </item>

    <item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/"> <m:math><m:apply><m:or/><m:ci>B-has-0</m:ci> <m:ci>B-has-1</m:ci> <m:ci>B-has-2</m:ci></m:apply></m:math>
    </item>
    <item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/"> <m:math><m:apply><m:implies/><m:ci>B-has-0</m:ci>
               <m:apply><m:and/><m:apply><m:not/><m:ci>B-has-1</m:ci></m:apply>
                    <m:apply><m:not/><m:ci>B-has-2</m:ci></m:apply>
               </m:apply>
           </m:apply></m:math>
    </item>
    <item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/"> <m:math><m:apply><m:implies/><m:ci>B-has-1</m:ci>
               <m:apply><m:and/><m:apply><m:not/><m:ci>B-has-0</m:ci></m:apply>
                    <m:apply><m:not/><m:ci>B-has-2</m:ci></m:apply>
               </m:apply>
           </m:apply></m:math>
    </item>
    <item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/"> <m:math><m:apply><m:implies/><m:ci>B-has-2</m:ci>
               <m:apply><m:and/><m:apply><m:not/><m:ci>B-has-0</m:ci></m:apply>
                    <m:apply><m:not/><m:ci>B-has-1</m:ci></m:apply>
               </m:apply> 
           </m:apply></m:math>
    </item>

    <item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">…
    </item>

    <item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/"> <m:math><m:apply><m:or/><m:ci>H-has-0</m:ci> <m:ci>H-has-1</m:ci> <m:ci>H-has-2</m:ci> <m:ci>H-has-3</m:ci></m:apply></m:math>
    </item>
    <item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/"> <m:math><m:apply><m:implies/><m:ci>H-has-0</m:ci>
               <m:apply><m:and/><m:apply><m:not/><m:ci>H-has-1</m:ci></m:apply>
                    <m:apply><m:not/><m:ci>H-has-2</m:ci></m:apply>
                    <m:apply><m:not/><m:ci>H-has-3</m:ci></m:apply>
               </m:apply> 
           </m:apply></m:math>
    </item>
    <item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/"> <m:math><m:apply><m:implies/><m:ci>H-has-1</m:ci>
               <m:apply><m:and/><m:apply><m:not/><m:ci>H-has-0</m:ci></m:apply>
                    <m:apply><m:not/><m:ci>H-has-2</m:ci></m:apply> 
                    <m:apply><m:not/><m:ci>H-has-3</m:ci></m:apply>
               </m:apply>
           </m:apply></m:math>
    </item>
    <item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/"> <m:math><m:apply><m:implies/><m:ci>H-has-2</m:ci> 
               <m:apply><m:and/><m:apply><m:not/><m:ci>H-has-0</m:ci></m:apply>
                    <m:apply><m:not/><m:ci>H-has-1</m:ci></m:apply> 
                    <m:apply><m:not/><m:ci>H-has-3</m:ci></m:apply>
               </m:apply> 
           </m:apply></m:math>
    </item>
    <item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/"> <m:math><m:apply><m:implies/><m:ci>H-has-3</m:ci> 
               <m:apply><m:and/><m:apply><m:not/><m:ci>H-has-0</m:ci></m:apply>
                    <m:apply><m:not/><m:ci>H-has-1</m:ci></m:apply>
                    <m:apply><m:not/><m:ci>H-has-2</m:ci></m:apply>
               </m:apply> 
           </m:apply></m:math>
    </item>

    <item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">…
    </item>   
  </list>
</para>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="para7">
  Axioms asserting that the safety propositions are consistent:

  <list xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="list8">
    <item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/"> <m:math><m:apply><m:implies/><m:ci>A-safe</m:ci> <m:apply><m:not/><m:ci>A-unsafe</m:ci></m:apply></m:apply></m:math>,
    </item>
    <item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/"> <m:math><m:apply><m:implies/><m:apply><m:not/><m:ci>A-safe</m:ci></m:apply> <m:ci>A-unsafe</m:ci></m:apply></m:math>,
    </item>
    <item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/"> …
    </item>
    <item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/"> <m:math><m:apply><m:implies/><m:ci>Z-safe</m:ci> <m:apply><m:not/><m:ci>Z-unsafe</m:ci></m:apply></m:apply></m:math>,
    </item>
    <item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/"> <m:math><m:apply><m:implies/><m:apply><m:not/><m:ci>Z-safe</m:ci></m:apply> <m:ci>Z-unsafe</m:ci></m:apply></m:math>.
    </item>
  </list>
</para>
  



<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="para8">
  This set of axioms is not quite complete, as explored in 
  <cnxn xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" document="m10514" target="ww-incomplete">an exercise</cnxn>.
</para>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="para9">
  As mentioned, it is redundant to have both
  <m:math><m:ci>A-safe</m:ci></m:math> and <m:math><m:ci>A-unsafe</m:ci></m:math> as propositions.
  Furthermore, having both allows us to express inconsistent states
  (ones that would contradict the safety axioms).
  If implementing this in a program, you might use both as variables,
  but have a safety-check function to make sure
  that a given board representation is consistent.
  Even better, you could implement WaterWorld so that these
  propositions wouldn't be variables,
  but instead be calls to a lookup (accessor) functions.
  These would examine the same internal state,
  to eliminate the chance of inconsistent data.
</para>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="para10">
  Using only true/false propositions;
  without recourse to numbers makes these domain axioms unwieldy.
  Later, we'll see how
  <cnxn xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" document="m10724">relations</cnxn> and
  <cnxn xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" document="m10728">quantifiers</cnxn>
  help us model the game of WaterWorld more concisely.
</para>

</section>

</content>
</document>
