<?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>Minimal_Negation_Operator</title>
    <revision>
      <timestamp>2007-04-07T19:16:24Z</timestamp>
      <contributor>
        <username>Proteus</username>
      </contributor>
      <comment>fmt boiler</comment>
      <text>&lt;!--  via Wikinfo: 
      last updated: 20060906042011
      updated by: Jon Awbrey
      update comment: via wikipedia
//--&gt;
&lt;!--  via Wikipedia: Minimal negation operator
      last updated: 2006-09-03T05:50:48Z
      updated by: Jon Awbrey
      update comment: /* Truth tables */ typo
//--&gt;

In [[logic]] and [[mathematics]], the '''minimal negation operator''' &lt;font size=&quot;+1&quot;&gt;&amp;nu;&lt;/font&gt; is a [[multigrade operator]] (&lt;font size=&quot;+1&quot;&gt;&amp;nu;&lt;/font&gt;&lt;sub&gt;''k''&lt;/sub&gt;)&lt;sub&gt;''k''&amp;isin;'''N'''&lt;/sub&gt; where each &lt;font size=&quot;+1&quot;&gt;&amp;nu;&lt;/font&gt;&lt;sub&gt;''k''&lt;/sub&gt; is a ''k''-ary [[boolean function]] defined in such a way that &lt;font size=&quot;+1&quot;&gt;&amp;nu;&lt;/font&gt;&lt;sub&gt;''k''&lt;/sub&gt;(''x''&lt;sub&gt;1&lt;/sub&gt;, &amp;hellip;, ''x''&lt;sub&gt;''k''&lt;/sub&gt;) = 1 if and only if exactly one of the arguments ''x''&lt;sub&gt;''j''&lt;/sub&gt; is 0.

In contexts where the initial letter &lt;font size=&quot;+1&quot;&gt;&amp;nu;&lt;/font&gt; is understood, the minimal negation operators can be indicated by argument lists in parentheses.  The first four members of this family of operators are shown below, with paraphrases in a couple of other notations, where tildes and primes, respectively, indicate logical negation.

: &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;.

The minimal negation operator ('''mno''') has a legion of aliases:  ''logical boundary operator'', ''[[limen|limen operator]]'', ''threshold operator'', or ''least action operator'', to name but a few.  The rationale for these names is visible in the [[venn diagram]]s of the corresponding operations on [[set]]s.

The next section discusses two ways of visualizing the operation of minimal negation operators.  A few bits of terminology will be needed as a language for talking about the pictures, but the formal details are tedious reading, and may already be familiar to many.  As a result, the full definitions of the terms marked in '''bold''' are relegated to a Glossary at the end of the article.

==Truth tables==

Table 1 is a [[truth table]] for the sixteen boolean functions of type ''f'' : '''B'''&lt;sup&gt;3&lt;/sup&gt; &amp;rarr; '''B''', each of which is either a boundary of a point in '''B'''&lt;sup&gt;3&lt;/sup&gt; or the complement of such a boundary.

{| align=&quot;center&quot; border=&quot;1&quot; cellpadding=&quot;4&quot; cellspacing=&quot;0&quot; style=&quot;background:paleturquoise; font-weight:bold; text-align:center; width:80%&quot;
|+ Table 1.  Logical Boundaries and Their Complements
| width=&quot;20%&quot; | L&lt;sub&gt;1&lt;/sub&gt;
| width=&quot;20%&quot; | L&lt;sub&gt;2&lt;/sub&gt;
| width=&quot;20%&quot; | L&lt;sub&gt;3&lt;/sub&gt;
| width=&quot;20%&quot; | L&lt;sub&gt;4&lt;/sub&gt;
|-
| Decimal
| Binary
| Sequential
| Parenthetical
|-
| &amp;nbsp;
| align=&quot;right&quot; | p =
| 1 1 1 1 0 0 0 0
| &amp;nbsp;
|-
| &amp;nbsp;
| align=&quot;right&quot; | q =
| 1 1 0 0 1 1 0 0
| &amp;nbsp;
|-
| &amp;nbsp;
| align=&quot;right&quot; | r =
| 1 0 1 0 1 0 1 0
| &amp;nbsp;
|}
{| 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:80%&quot;
|-
| width=&quot;20%&quot; | f&lt;sub&gt;104&lt;/sub&gt;
| width=&quot;20%&quot; | f&lt;sub&gt;01101000&lt;/sub&gt;
| width=&quot;20%&quot; | 0 1 1 0 1 0 0 0
| width=&quot;20%&quot; | ( p , q , r )
|-
| f&lt;sub&gt;148&lt;/sub&gt; || f&lt;sub&gt;10010100&lt;/sub&gt; || 1 0 0 1 0 1 0 0 || ( p , q , (r))
|-
| f&lt;sub&gt;146&lt;/sub&gt; || f&lt;sub&gt;10010010&lt;/sub&gt; || 1 0 0 1 0 0 1 0 || ( p , (q), r )
|-
| f&lt;sub&gt;97&lt;/sub&gt;  || f&lt;sub&gt;01100001&lt;/sub&gt; || 0 1 1 0 0 0 0 1 || ( p , (q), (r))
|-
| f&lt;sub&gt;134&lt;/sub&gt; || f&lt;sub&gt;10000110&lt;/sub&gt; || 1 0 0 0 0 1 1 0 || ((p), q , r )
|-
| f&lt;sub&gt;73&lt;/sub&gt;  || f&lt;sub&gt;01001001&lt;/sub&gt; || 0 1 0 0 1 0 0 1 || ((p), q , (r))
|-
| f&lt;sub&gt;41&lt;/sub&gt;  || f&lt;sub&gt;00101001&lt;/sub&gt; || 0 0 1 0 1 0 0 1 || ((p), (q), r )
|-
| f&lt;sub&gt;22&lt;/sub&gt;  || f&lt;sub&gt;00010110&lt;/sub&gt; || 0 0 0 1 0 1 1 0 || ((p), (q), (r))
|}
{|  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:80%&quot;
|-
| width=&quot;20%&quot; | f&lt;sub&gt;233&lt;/sub&gt;
| width=&quot;20%&quot; | f&lt;sub&gt;11101001&lt;/sub&gt;
| width=&quot;20%&quot; | 1 1 1 0 1 0 0 1
| width=&quot;20%&quot; | (((p), (q), (r)))
|-
| f&lt;sub&gt;214&lt;/sub&gt; || f&lt;sub&gt;11010110&lt;/sub&gt; || 1 1 0 1 0 1 1 0 || (((p), (q), r ))
|-
| f&lt;sub&gt;182&lt;/sub&gt; || f&lt;sub&gt;10110110&lt;/sub&gt; || 1 0 1 1 0 1 1 0 || (((p), q , (r)))
|-
| f&lt;sub&gt;121&lt;/sub&gt; || f&lt;sub&gt;01111001&lt;/sub&gt; || 0 1 1 1 1 0 0 1 || (((p), q , r ))
|-
| f&lt;sub&gt;158&lt;/sub&gt; || f&lt;sub&gt;10011110&lt;/sub&gt; || 1 0 0 1 1 1 1 0 || (( p , (q), (r)))
|-
| f&lt;sub&gt;109&lt;/sub&gt; || f&lt;sub&gt;01101101&lt;/sub&gt; || 0 1 1 0 1 1 0 1 || (( p , (q), r ))
|-
| f&lt;sub&gt;107&lt;/sub&gt; || f&lt;sub&gt;01101011&lt;/sub&gt; || 0 1 1 0 1 0 1 1 || (( p , q , (r)))
|-
| f&lt;sub&gt;151&lt;/sub&gt; || f&lt;sub&gt;10010111&lt;/sub&gt; || 1 0 0 1 0 1 1 1 || (( p , q , r ))
|}
&lt;br&gt;

==Charts and graphs==

Two common ways of visualizing the space '''B'''&lt;sup&gt;''k''&lt;/sup&gt; of 2&lt;sup&gt;''k''&lt;/sup&gt; points are the [[hypercube]] picture and the [[venn diagram]] picture.  Depending on how literally or figuratively one regards these pictures, each point of '''B'''&lt;sup&gt;''k''&lt;/sup&gt; is either identified with or represented by a point of the ''k''-cube and also by a cell of the venn diagram on ''k'' &quot;circles&quot;.  

In addition, each point of '''B'''&lt;sup&gt;''k''&lt;/sup&gt; is the unique point in the '''[[fiber (mathematics)|fiber]] of truth''' &lt;math&gt;[|s|]&lt;/math&gt; of a '''singular proposition''' ''s''&amp;nbsp;:&amp;nbsp;'''B'''&lt;sup&gt;''k''&lt;/sup&gt;&amp;nbsp;&amp;#8594;&amp;nbsp;'''B''', and thus it is the unique point where a '''singular conjunction''' of ''k'' '''literals''' is 1.

For example, consider two cases at opposite vertices of the cube:

* The point whose coordinates are all 1 is the unique point where the conjunction of all posited variables is 1, namely, the point where:
:: ''x''&lt;sub&gt;1&lt;/sub&gt; ''x''&lt;sub&gt;2&lt;/sub&gt; &amp;hellip; ''x''&lt;sub&gt;''n''–1&lt;/sub&gt; ''x''&lt;sub&gt;''n''&lt;/sub&gt; = 1.

* The point whose coordinates are all 0 is the unique point where the conjunction of all negated variables is 1, namely, the point where:
::(''x''&lt;sub&gt;1&lt;/sub&gt;)(''x''&lt;sub&gt;2&lt;/sub&gt;)&amp;hellip;(''x''&lt;sub&gt;''n''–1&lt;/sub&gt;)(''x''&lt;sub&gt;''n''&lt;/sub&gt;) = 1.

To pass from these limiting examples to the general case, observe that a singular proposition ''s''&amp;nbsp;:&amp;nbsp;'''B'''&lt;sup&gt;''k''&lt;/sup&gt;&amp;nbsp;&amp;#8594;&amp;nbsp;'''B''' can be given canonical expression as a conjunction of literals, ''s'' = ''e''&lt;sub&gt;1&lt;/sub&gt; ''e''&lt;sub&gt;2&lt;/sub&gt; &amp;hellip; ''e''&lt;sub&gt;''k''–1&lt;/sub&gt; ''e''&lt;sub&gt;''k''&lt;/sub&gt;.  Then the proposition &lt;font size=&quot;+1&quot;&gt;&amp;nu;&lt;/font&gt;(''e''&lt;sub&gt;1&lt;/sub&gt;, ''e''&lt;sub&gt;2&lt;/sub&gt;, &amp;hellip;, ''e''&lt;sub&gt;''k''–1&lt;/sub&gt;, ''e''&lt;sub&gt;''k''&lt;/sub&gt;) is 1 on the points adjacent to the point where ''s'' is 1, and 0 everywhere else on the cube.

For example, consider the case where ''k'' = 3.  Then the minimal negation operation &lt;font size=&quot;+1&quot;&gt;&amp;nu;&lt;/font&gt;(p, q, r), when there is no risk of confusion written more simply as &lt;math&gt;(p, q, r)&lt;/math&gt;, has the following venn diagram:

 o-------------------------------------------------o
 |                                                 |
 |                                                 |
 |                 o-------------o                 |
 |                /               \                |
 |               /                 \               |
 |              /                   \              |
 |             /                     \             |
 |            o                       o            |
 |            |           P           |            |
 |            |                       |            |
 |            |                       |            |
 |        o---o---------o   o---------o---o        |
 |       /     \`````````\ /`````````/     \       |
 |      /       \`````````o`````````/       \      |
 |     /         \```````/ \```````/         \     |
 |    /           \`````/   \`````/           \    |
 |   o             o---o-----o---o             o   |
 |   |                 |`````|                 |   |
 |   |                 |`````|                 |   |
 |   |        Q        |`````|        R        |   |
 |   o                 o`````o                 o   |
 |    \                 \```/                 /    |
 |     \                 \`/                 /     |
 |      \                 o                 /      |
 |       \               / \               /       |
 |        o-------------o   o-------------o        |
 |                                                 |
 |                                                 |
 o-------------------------------------------------o
 Figure 1.  (p, q, r)

For a contrasting example, the boolean function expressed by the form &lt;math&gt;((p),(q),(r))&lt;/math&gt; has the following Venn diagram:

 o-------------------------------------------------o
 |                                                 |
 |                                                 |
 |                 o-------------o                 |
 |                /```````````````\                |
 |               /`````````````````\               |
 |              /```````````````````\              |
 |             /`````````````````````\             |
 |            o```````````````````````o            |
 |            |`````````` P ``````````|            |
 |            |```````````````````````|            |
 |            |```````````````````````|            |
 |        o---o---------o```o---------o---o        |
 |       /`````\         \`/         /`````\       |
 |      /```````\         o         /```````\      |
 |     /`````````\       / \       /`````````\     |
 |    /```````````\     /   \     /```````````\    |
 |   o`````````````o---o-----o---o`````````````o   |
 |   |`````````````````|     |`````````````````|   |
 |   |`````````````````|     |`````````````````|   |
 |   |``````` Q ```````|     |``````` R ```````|   |
 |   o`````````````````o     o`````````````````o   |
 |    \`````````````````\   /`````````````````/    |
 |     \`````````````````\ /`````````````````/     |
 |      \`````````````````o`````````````````/      |
 |       \```````````````/ \```````````````/       |
 |        o-------------o   o-------------o        |
 |                                                 |
 |                                                 |
 o-------------------------------------------------o
 Figure 2.  ((p),(q),(r))

==Glossary of basic terms==

* A '''[[boolean domain]]''' '''B''' is a generic 2-element [[set]], say, '''B''' = {0, 1}, whose elements are interpreted as [[logical value]]s, usually but not invariably with 0 = ''false'' and ''1'' = ''true''.

* A '''[[boolean variable]]''' ''x'' is a [[variable]] that takes its value from a boolean domain, as ''x''&amp;nbsp;&amp;isin;&amp;nbsp;'''B'''. 

* In situations where [[boolean value]]s are interpreted as [[logical value]]s, a [[boolean-valued function]] ''f''&amp;nbsp;:&amp;nbsp;''X''&amp;nbsp;&amp;rarr;&amp;nbsp;'''B''' or a [[boolean function]] ''g''&amp;nbsp;:&amp;nbsp;'''B'''&lt;sup&gt;''k''&lt;/sup&gt;&amp;nbsp;&amp;rarr;&amp;nbsp;'''B''' is frequently called a '''[[proposition]]'''.

* Given a sequence of ''k'' boolean variables, ''x''&lt;sub&gt;1&lt;/sub&gt;,&amp;nbsp;&amp;hellip;,&amp;nbsp;''x''&lt;sub&gt;''k''&lt;/sub&gt;, each variable ''x''&lt;sub&gt;''j''&lt;/sub&gt; may be treated either as a [[basis element]] of the space '''B'''&lt;sup&gt;''k''&lt;/sup&gt; or as a [[coordinate projection]] ''x''&lt;sub&gt;''j''&lt;/sub&gt;&amp;nbsp;:&amp;nbsp;'''B'''&lt;sup&gt;''k''&lt;/sup&gt;&amp;nbsp;&amp;rarr;&amp;nbsp;'''B'''.

* This means that the ''k'' objects ''x''&lt;sub&gt;''j''&lt;/sub&gt; for ''j'' = 1 to ''k'' are just so many boolean functions ''x''&lt;sub&gt;''j''&lt;/sub&gt;&amp;nbsp;:&amp;nbsp;'''B'''&lt;sup&gt;''k''&lt;/sup&gt;&amp;nbsp;&amp;rarr;&amp;nbsp;'''B''' , subject to logical interpretation as a set of ''basic propositions'' that generate the complete set of 2&lt;sup&gt;2&lt;sup&gt;''k''&lt;/sup&gt;&lt;/sup&gt; propositions over '''B'''&lt;sup&gt;''k''&lt;/sup&gt;.

* A '''literal''' is one of the 2''k'' propositions ''x''&lt;sub&gt;1&lt;/sub&gt;,&amp;nbsp;&amp;hellip;,&amp;nbsp;''x''&lt;sub&gt;''k''&lt;/sub&gt;, (''x''&lt;sub&gt;1&lt;/sub&gt;),&amp;nbsp;&amp;hellip;,&amp;nbsp;(''x''&lt;sub&gt;''k''&lt;/sub&gt;), in other words, either a ''posited'' basic proposition ''x''&lt;sub&gt;''j''&lt;/sub&gt; or a ''negated'' basic proposition (''x''&lt;sub&gt;''j''&lt;/sub&gt;), for some ''j'' = 1 to ''k''.

* In mathematics generally, the '''[[fiber (mathematics)|fiber]]''' of a point ''y'' under a function ''f''&amp;nbsp;:&amp;nbsp;''X''&amp;nbsp;&amp;rarr;&amp;nbsp;''Y'' is defined as the inverse image ''f''&lt;sup&gt;–1&lt;/sup&gt;(''y'').

* In the case of a boolean function ''f''&amp;nbsp;:&amp;nbsp;'''B'''&lt;sup&gt;''k''&lt;/sup&gt;&amp;nbsp;&amp;rarr;&amp;nbsp;'''B''', there are just two fibers:
** The fiber of 0 under ''f'', defined as ''f''&lt;sup&gt;–1&lt;/sup&gt;(0), is the set of points where ''f'' is 0.
** The fiber of 1 under ''f'', defined as ''f''&lt;sup&gt;–1&lt;/sup&gt;(1), is the set of points where ''f'' is 1.

* When 1 is interpreted as the logical value ''true'', then ''f''&lt;sup&gt;–1&lt;/sup&gt;(1) is called the '''fiber&amp;nbsp;of&amp;nbsp;truth''' in the proposition ''f''.  Frequent mention of this fiber makes it useful to have a shorter way of referring to it.  This leads to the definition of the notation &lt;nowiki&gt;[|&lt;/nowiki&gt;''f''&lt;nowiki&gt;|]&lt;/nowiki&gt; = ''f''&lt;sup&gt;–1&lt;/sup&gt;(1) for the fiber of truth in the proposition ''f''.

* A '''singular boolean function''' ''s''&amp;nbsp;:&amp;nbsp;'''B'''&lt;sup&gt;''k''&lt;/sup&gt;&amp;nbsp;&amp;rarr;&amp;nbsp;'''B''' is a boolean function whose fiber of 1 is a single point of '''B'''&lt;sup&gt;''k''&lt;/sup&gt;.

* In the interpretation where 1 equals ''true'', a singular boolean function is called a '''singular proposition'''.

* Singular boolean functions and singular propositions serve as functional or logical representatives of the points in '''B'''&lt;sup&gt;''k''&lt;/sup&gt;.

* A '''singular conjunction''' in '''B'''&lt;sup&gt;''k''&lt;/sup&gt;&amp;nbsp;&amp;rarr;&amp;nbsp;'''B''' is a conjunction of ''k'' literals that includes just one conjunct of the pair {''x''&lt;sub&gt;''j''&lt;/sub&gt;,&amp;nbsp;&lt;font size=&quot;+1&quot;&gt;&amp;nu;&lt;/font&gt;(''x''&lt;sub&gt;''j''&lt;/sub&gt;)} for each ''j'' = 1 to ''k''.

* A singular proposition ''s''&amp;nbsp;:&amp;nbsp;'''B'''&lt;sup&gt;''k''&lt;/sup&gt;&amp;nbsp;&amp;rarr;&amp;nbsp;'''B''' can be expressed as a singular conjunction:
{| style=&quot;width:50%&quot;
| width=&quot;10%&quot; | &amp;nbsp;
| width=&quot;10%&quot; | &amp;nbsp;
| width=&quot;5%&quot; | ''s''
| width=&quot;5%&quot; | =
| width=&quot;20%&quot; | ''e''&lt;sub&gt;1&lt;/sub&gt; ''e''&lt;sub&gt;2&lt;/sub&gt; &amp;hellip; ''e''&lt;sub&gt;''k''–1&lt;/sub&gt; ''e''&lt;sub&gt;''k''&lt;/sub&gt;,
|-
| &amp;nbsp;
| where
| ''e''&lt;sub&gt;''j''&lt;/sub&gt;
| =
| ''x''&lt;sub&gt;''j''&lt;/sub&gt;
|-
| &amp;nbsp;
| or
| ''e''&lt;sub&gt;''j''&lt;/sub&gt;
| =
| &lt;font size=&quot;+1&quot;&gt;&amp;nu;&lt;/font&gt;(''x''&lt;sub&gt;''j''&lt;/sub&gt;),
|-
| &amp;nbsp;
| for
| ''j''
| =
| 1 to ''k''.
|}

==References==

==See also==
{|
|+ &amp;nbsp;
| valign=top |
* [[Ampheck]]
* [[Anamnesis]]
* [[BACD]]
* [[George Boole|Boole, George]]
* [[Boolean algebra]]
* [[Boolean function]]
* [[Boolean logic]]
* [[Boolean-valued function]]
| valign=top |
* [[Continuous predicate]]
* [[Differentiable manifold]]
* [[Differential topology]]
* [[Dynamical system]]
* [[Exclusive disjunction]]
* [[Gottfried Leibniz|Leibniz, G.W.]]
* [[Logical connective]]
* [[Logical graph]]
| valign=top |
* [[Meno]]
* [[Multigrade operator]]
* [[Parametric operator]]
* [[Charles Sanders Peirce|Peirce, C.S.]]
* [[Sole sufficient operator]]
* [[Truth table]]
* [[Universal algebra]]
* [[Zeroth order logic]]
|}

==External links==

* [http://atlas.wolfram.com/ Wolfram Atlas of Simple Programs]
** [http://atlas.wolfram.com/01/01/ ECARs (Elementary Cellular Automata Rules)]
** [http://atlas.wolfram.com/01/01/rulelist.html ECAR Index]
** [http://atlas.wolfram.com/01/01/views/3/TableView.html ECAR Rule Icons]
** [http://atlas.wolfram.com/01/01/views/87/TableView.html ECAR Examples]
** [http://atlas.wolfram.com/01/01/views/172/TableView.html ECAR Boolean Forms]

[[Image:Minimal negation operator 1.png|thumb|none|Figure 1.  Region indicated by (p, q, r) is shaded]]

[[Image:Minimal negation operator 2.png|thumb|none|Figure 2.  Region indicated by ((p),(q),(r)) is shaded]]

&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=Minimal_negation_operator Minimal negation operator]&quot; under the [[GNU Free Documentation License]].''</text>
    </revision>
  </page>
</getwiki>
