<?xml version="1.0" encoding="ISO-8859-1" ?>
<?xml-stylesheet type="text/css" href="http://www.getwiki.net/styles/plug.css" ?>
<getwiki version="2.0" xml:lang="en">
  <page>
    <title>Zeroth-Order_Logic</title>
    <revision>
      <timestamp>2007-04-07T20:05:41Z</timestamp>
      <contributor>
        <username>Proteus</username>
      </contributor>
      <comment>fmt boiler</comment>
      <text>&lt;!--  via Wikinfo: 
      last updated: 20061129142028
      updated by: Jon Awbrey
      update comment: 
//--&gt;
&lt;!--  via Wikipedia: Zeroth-order logic
      last updated: 2006-09-05T02:14:55Z
      updated by: Jon Awbrey
      update comment: new color scheme
//--&gt;
[[zh:&amp;#38646;&amp;#38454;&amp;#36923;&amp;#36753;]]
Other Languages : ([http://zh.wikipedia.org/wiki/%E9%9B%B6%E9%98%B6%E9%80%BB%E8%BE%91 &amp;#20013;&amp;#25991; : &amp;#38646;&amp;#38454;&amp;#36923;&amp;#36753;])

'''''Zeroth order logic''''' is a term in popular use among practitioners for the subject matter otherwise known as [[boolean function]]s, [[monadic logic|monadic predicate logic]], [[propositional calculus]], or sentential calculus.  One of the advantages of this terminology is that it institutes a higher level of abstraction in which the more inessential differences between these various subjects can be subsumed under the pertinent [[isomorphism]]s.

By way of initial orientation, Table 1 lists equivalent expressions for the sixteen functions of concrete type ''X'' × ''Y'' &amp;#8594; '''B''' and abstract type '''B''' × '''B''' &amp;#8594; '''B''' in a number of different languages for zeroth order logic.

{| align=&quot;center&quot; border=&quot;1&quot; cellpadding=&quot;4&quot; cellspacing=&quot;0&quot; style=&quot;background:lightcyan; font-weight:bold; text-align:center; width:90%&quot;
|+ '''Table 1.  Propositional Forms on Two Variables'''
|- style=&quot;background:paleturquoise&quot;
! style=&quot;width:15%&quot; | L&lt;sub&gt;1&lt;/sub&gt;
! style=&quot;width:15%&quot; | L&lt;sub&gt;2&lt;/sub&gt;
! style=&quot;width:15%&quot; | L&lt;sub&gt;3&lt;/sub&gt;
! style=&quot;width:15%&quot; | L&lt;sub&gt;4&lt;/sub&gt;
! style=&quot;width:15%&quot; | L&lt;sub&gt;5&lt;/sub&gt;
! style=&quot;width:15%&quot; | L&lt;sub&gt;6&lt;/sub&gt;
|- style=&quot;background:paleturquoise&quot;
|  
| align=&quot;right&quot; | x :
| 1 1 0 0 
|  
|  
|  
|- style=&quot;background:paleturquoise&quot;
|  
| align=&quot;right&quot; | y :
| 1 0 1 0
|  
|  
|  
|-
| f&lt;sub&gt;0&lt;/sub&gt; || f&lt;sub&gt;0000&lt;/sub&gt; || 0 0 0 0 || ( ) || false || 0
|-
| f&lt;sub&gt;1&lt;/sub&gt; || f&lt;sub&gt;0001&lt;/sub&gt; || 0 0 0 1 || (x)(y) || neither x nor y || ¬x &amp;#8743; ¬y
|-
| f&lt;sub&gt;2&lt;/sub&gt; || f&lt;sub&gt;0010&lt;/sub&gt; || 0 0 1 0 || (x) y || y and not x || ¬x &amp;#8743; y
|-
| f&lt;sub&gt;3&lt;/sub&gt; || f&lt;sub&gt;0011&lt;/sub&gt; || 0 0 1 1 || (x) || not x || ¬x
|-
| f&lt;sub&gt;4&lt;/sub&gt; || f&lt;sub&gt;0100&lt;/sub&gt; || 0 1 0 0 || x (y) || x and not y || x &amp;#8743; ¬y
|-
| f&lt;sub&gt;5&lt;/sub&gt; || f&lt;sub&gt;0101&lt;/sub&gt; || 0 1 0 1 || (y) || not y || ¬y
|-
| f&lt;sub&gt;6&lt;/sub&gt; || f&lt;sub&gt;0110&lt;/sub&gt; || 0 1 1 0 || (x, y) || x not equal to y || x &amp;#8800; y
|-
| f&lt;sub&gt;7&lt;/sub&gt; || f&lt;sub&gt;0111&lt;/sub&gt; || 0 1 1 1 || (x y) || not both x and y || ¬x &amp;#8744; ¬y
|-
| f&lt;sub&gt;8&lt;/sub&gt; || f&lt;sub&gt;1000&lt;/sub&gt; || 1 0 0 0 || x y || x and y || x &amp;#8743; y
|-
| f&lt;sub&gt;9&lt;/sub&gt; || f&lt;sub&gt;1001&lt;/sub&gt; || 1 0 0 1 || ((x, y)) || x equal to y || x = y
|-
| f&lt;sub&gt;10&lt;/sub&gt; || f&lt;sub&gt;1010&lt;/sub&gt; || 1 0 1 0 || y || y || y
|-
| f&lt;sub&gt;11&lt;/sub&gt; || f&lt;sub&gt;1011&lt;/sub&gt; || 1 0 1 1 || (x (y)) || not x without y || x &amp;#8594; y
|-
| f&lt;sub&gt;12&lt;/sub&gt; || f&lt;sub&gt;1100&lt;/sub&gt; || 1 1 0 0 || x || x || x
|-
| f&lt;sub&gt;13&lt;/sub&gt; || f&lt;sub&gt;1101&lt;/sub&gt; || 1 1 0 1 || ((x) y) || not y without x || x &amp;#8592; y
|-
| f&lt;sub&gt;14&lt;/sub&gt; || f&lt;sub&gt;1110&lt;/sub&gt; || 1 1 1 0 || ((x)(y)) || x or y  || x &amp;#8744; y
|-
| f&lt;sub&gt;15&lt;/sub&gt; || f&lt;sub&gt;1111&lt;/sub&gt; || 1 1 1 1 || (( )) || true || 1
|}
&lt;br&gt;

These six languages for the sixteen boolean functions are conveniently described in the following order:

* Language '''L&lt;sub&gt;3&lt;/sub&gt;''' describes each boolean function ''f'' : '''B'''&lt;sup&gt;2&lt;/sup&gt; &amp;#8594; '''B''' by means of the sequence of four boolean values (''f''(1,1), ''f''(1,0), ''f''(0,1), ''f''(0,0)).  Such a sequence, perhaps in another order, and perhaps with the logical values ''F'' and ''T'' instead of the boolean values 0 and 1, respectively, would normally be displayed as a column in a [[truth table]].

* Language '''L&lt;sub&gt;2&lt;/sub&gt;''' lists the sixteen functions in the form '''f&lt;sub&gt;i&lt;/sub&gt;''', where the index '''i''' is a [[bit string]] formed from the sequence of boolean values in '''L&lt;sub&gt;3&lt;/sub&gt;'''.

* Language '''L&lt;sub&gt;1&lt;/sub&gt;''' notates the boolean functions '''f&lt;sub&gt;i&lt;/sub&gt;''' with an index '''i''' that is the decimal equivalent of the binary numeral index in '''L&lt;sub&gt;2&lt;/sub&gt;'''.

* Language '''L&lt;sub&gt;4&lt;/sub&gt;''' expresses the sixteen functions in terms of logical [[conjunction]], indicated by concatenating function names or proposition expressions in the manner of products, plus the family of ''[[minimal negation operator]]s'', the first few of which are given in the following variant notations:

&lt;math&gt;\begin{matrix}
(\ )      &amp; = &amp; 0 &amp; = &amp; \mbox{false} \\
(x)       &amp; = &amp; \tilde{x} &amp; = &amp; x' \\
(x, y)    &amp; = &amp; \tilde{x}y \lor x\tilde{y} &amp; = &amp; x'y \lor xy' \\
(x, y, z) &amp; = &amp; \tilde{x}yz \lor x\tilde{y}z \lor xy\tilde{z} &amp; = &amp; x'yz \lor xy'z \lor xyz'
\end{matrix}&lt;/math&gt;

It may also be noted that &lt;math&gt;(x, y)\!&lt;/math&gt; is the same function as &lt;math&gt;x + y\!&lt;/math&gt; and &lt;math&gt;x \ne y&lt;/math&gt;, and that the inclusive disjunctions indicated for &lt;math&gt;(x, y)\!&lt;/math&gt; and for &lt;math&gt;(x, y, z)\!&lt;/math&gt; may be replaced with exclusive disjunctions without affecting the meaning, because the terms disjoined are already disjoint.  However, the function &lt;math&gt;(x, y, z)\!&lt;/math&gt; is not the same thing as the function &lt;math&gt;x + y + z\!&lt;/math&gt;.

* Language '''L&lt;sub&gt;5&lt;/sub&gt;''' lists ordinary language expressions for the sixteen functions.  Many other paraphrases are possible, but these afford a sample of the simplest equivalents.

* Language '''L&lt;sub&gt;6&lt;/sub&gt;''' expresses the sixteen functions in one of several notations that are commonly used in formal logic.

==See also==
===Logical operators===

{|
|+ &amp;nbsp;
| valign=top |
* [[Exclusive disjunction]]
* [[Logical conjunction]]
* [[Logical disjunction]]
* [[Logical equality]]
| valign=top |
* [[Logical implication]]
* [[Logical NAND]]
* [[Logical NNOR]]
* [[Negation]]
|}

===Related topics===

{|
|+ &amp;nbsp;
| valign=top |
* [[Ampheck]]
* [[Boolean algebra]]
* [[Boolean algebra topics]]
* [[Boolean domain]]
* [[Boolean function]]
* [[Boolean logic]]
| valign=top |
* [[Boolean-valued function]]
* [[Entitative graph]]
* [[Existential graph]]
* [[First order logic]]
* [[Indicator function]]
* [[Logical graph]]
| valign=top |
* [[Logical value]]
* [[Minimal negation operator]]
* [[Monadic predicate calculus]]
* [[Operation (mathematics)|Operation]]
* [[Propositional calculus]]
* [[Truth table]]
|}

&lt;!--  NOTE TO EDITORS: 
Per the GNU Free Documentation License, please include the live link below to the adapted Wikinfo article:
//--&gt;

''Some content adapted from the [[Wikinfo]] article &quot;[http://getwiki.net/url.php?wikinfo=Zeroth_order_logic Zeroth order logic]&quot; under the [[GNU Free Documentation License]].''</text>
    </revision>
  </page>
</getwiki>
