Minimal negation operator

From testwiki
Revision as of 08:46, 24 March 2023 by imported>MathXplore (removed Category:Automata Theory; added Category:Automata theory using HotCat)
(diff) โ† Older revision | Latest revision (diff) | Newer revision โ†’ (diff)
Jump to navigation Jump to search

Template:Font This page belongs to resource collections on Logic and Inquiry.

A minimal negation operator (ν) is a logical connective that says “just one false” of its logical arguments.  The first four cases are described below.

  1. If the list of arguments is empty, as expressed in the form ν(), then it cannot be true that exactly one of the arguments is false, so ν()=false.
  2. If p is the only argument then ν(p) says that p is false, so ν(p) expresses the logical negation of the proposition p.  Written in several different notations, we have the following equivalent expressions.

    ν(p)=not(p)=¬p=p~=p

  3. If p and q are the only two arguments then ν(p,q) says that exactly one of p,q is false, so ν(p,q) says the same thing as pq. Expressing ν(p,q) in terms of ands (), ors (), and nots (~) gives the following form.

    ν(p,q)=p~qpq~

    It is permissible to omit the dot () in contexts where it is understood, giving the following form.

    ν(p,q)=p~qpq~

    The venn diagram for ν(p,q) is shown in Figure 1.

    File:Venn Diagram (P,Q).jpg

    Figure 1.ν(p,q)

  4. The venn diagram for ν(p,q,r) is shown in Figure 2.

    Figure 2.ν(p,q,r)

    The center cell is the region where all three arguments p,q,r hold true, so ν(p,q,r) holds true in just the three neighboring cells.  In other words:

    ν(p,q,r)=p~qrpq~rpqr~

Initial definition

The minimal negation operator ν is a multigrade operator (νk)kโ„• where each νk is a k-ary boolean function defined by the rule that νk(x1,,xk)=1 if and only if exactly one of the arguments xj is 0.

In contexts where the initial letter ν is understood, the minimal negation operators can be indicated by argument lists in parentheses.  In the following text a distinctive typeface will be used for logical expressions based on minimal negation operators, for example, (x,y,z)=ν(x,y,z).

The first four members of this family of operators are shown below.  The third and fourth columns give paraphrases in two other notations, where tildes and primes, respectively, indicate logical negation.

()=ν0=0=false(x)=ν1(x)=x~=x(x,y)=ν2(x,y)=x~yxy~=xyxy(x,y,z)=ν3(x,y,z)=x~yzxy~zxyz~=xyzxyzxyz

Formal definition

To express the general case of νk in terms of familiar operations, it helps to introduce an intermediary concept:

Definition.  Let the function ¬j:๐”นk๐”น be defined for each integer j in the interval [1,k] by the following equation:

¬j(x1,,xj,,xk)=x1xj1¬xjxj+1xk.

Then νk:๐”นk๐”น is defined by the following equation:

νk(x1,,xk)=¬1(x1,,xk)¬j(x1,,xk)¬k(x1,,xk).

If we take the boolean product x1xk or the logical conjunction x1xk to indicate the point x=(x1,,xk) in the space ๐”นk then the minimal negation <mo stretchy="false">(</mo>x1<mo>,</mo><mo>,</mo>xk<mo stretchy="false">)</mo> indicates the set of points in ๐”นk that differ from x in exactly one coordinate.  This makes <mo stretchy="false">(</mo>x1<mo>,</mo><mo>,</mo>xk<mo stretchy="false">)</mo> a discrete functional analogue of a point-omitted neighborhood in ordinary real analysis, more exactly, a point-omitted distance-one neighborhood.  In this light, the minimal negation operator can be recognized as a differential construction, an observation that opens a very wide field.

The remainder of this discussion proceeds on the algebraic convention that the plus sign (+) and the summation symbol () both refer to addition mod 2.  Unless otherwise noted, the boolean domain ๐”น={0,1} is interpreted for logic in such a way that 0=false and 1=true.  This has the following consequences:

The operation x+y is a function equivalent to the exclusive disjunction of x and y, while its fiber of 1 is the relation of inequality between x and y.
The operation j=1kxj maps the bit sequence (x1,,xk) to its parity.

The following properties of the minimal negation operators νk:๐”นk๐”น may be noted:

The function (x,y) is the same as that associated with the operation x+y and the relation xy.
In contrast, (x,y,z) is not identical to x+y+z.
More generally, the function νk(x1,,xk) for k>2 is not identical to the boolean sum j=1kxj.
The inclusive disjunctions indicated for the νk of more than one argument may be replaced with exclusive disjunctions without affecting the meaning since the terms in disjunction are already disjoint.

Truth tables

Table 3 is a truth table for the sixteen boolean functions of type f:๐”น3๐”น whose fibers of 1 are either the boundaries of points in ๐”น3 or the complements of those boundaries.


Table 3.Logical Boundaries and Their Complements
โ„’1 โ„’2 โ„’3 โ„’4
  p: 11110000  
  q: 11001100  
  r: 10101010  

f104f148f146f97f134f73f41f22

f01101000f10010100f10010010f01100001f10000110f01001001f00101001f00010110

0110100010010100100100100110000110000110010010010010100100010110

(~p~,~q~,~r~)(~p~,~q~,(r))(~p~,(q),~r~)(~p~,(q),(r))((p),~q~,~r~)((p),~q~,(r))((p),(q),~r~)((p),(q),(r))

f233f214f182f121f158f109f107f151

f11101001f11010110f10110110f01111001f10011110f01101101f01101011f10010111

1110100111010110101101100111100110011110011011010110101110010111

(((p),(q),(r)))(((p),(q),~r~))(((p),~q~,(r)))(((p),~q~,~r~))((~p~,(q),(r)))((~p~,(q),~r~))((~p~,~q~,(r)))((~p~,~q~,~r~))


Charts and graphs

This Section focuses on visual representations of minimal negation operators. A few bits of terminology are useful in describing the pictures, but the formal details are tedious reading, and may be familiar to many readers, so the full definitions of the terms marked in italics are relegated to a Glossary at the end of the article.

Two ways of visualizing the space ๐”นk of 2k points are the hypercube picture and the venn diagram picture. The hypercube picture associates each point of ๐”นk with a unique point of the k-dimensional hypercube. The venn diagram picture associates each point of ๐”นk with a unique "cell" of the venn diagram on k "circles".

In addition, each point of ๐”นk is the unique point in the fiber of truth [|s|] of a singular proposition s:๐”นk๐”น, 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 (1,1,,1,1) with all 1's as coordinates is the point where the conjunction of all posited variables evaluates to 1, namely, the point where:
  x1x2xn1xn=1.
The point (0,0,,0,0) with all 0's as coordinates is the point where the conjunction of all negated variables evaluates to 1, namely, the point where:
  <mo stretchy="false">(</mo>x1)(x2<mo stretchy="false">)</mo><mo stretchy="false">(</mo>xn1)(xn<mo stretchy="false">)</mo>=1.

To pass from these limiting examples to the general case, observe that a singular proposition s:๐”นk๐”น can be given canonical expression as a conjunction of literals, s=e1e2ek1ek. Then the proposition ν(e1,e2,,ek1,ek) 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 ν(p,q,r) — written more simply as (p,q,r) — has the following venn diagram:

Error creating thumbnail:

Figure 4.(p,q,r)

For a contrasting example, the boolean function expressed by the form ((p),(q),(r)) has the following venn diagram:

File:Venn Diagram ((P),(Q),(R)).jpg

Figure 5.((p),(q),(r))

Glossary of basic terms

Boolean domain
A boolean domain ๐”น is a generic 2-element set, for example, ๐”น={0,1}, whose elements are interpreted as logical values, usually but not invariably with 0=false and 1=true.
Boolean variable
A boolean variable x is a variable that takes its value from a boolean domain, as x๐”น.
Proposition
In situations where boolean values are interpreted as logical values, a boolean-valued function f:X๐”น or a boolean function g:๐”นk๐”น is frequently called a proposition.
Basis element, Coordinate projection
Given a sequence of k boolean variables, x1,,xk, each variable xj may be treated either as a basis element of the space ๐”นk or as a coordinate projection xj:๐”นk๐”น.
Basic proposition
This means that the set of objects {xj:1jk} is a set of boolean functions {xj:๐”นk๐”น} subject to logical interpretation as a set of basic propositions that collectively generate the complete set of 22k propositions over ๐”นk.
Literal
A literal is one of the 2k propositions x1,,xk,<mo stretchy="false">(</mo>x1<mo stretchy="false">)</mo>,,<mo stretchy="false">(</mo>xk<mo stretchy="false">)</mo>, in other words, either a posited basic proposition xj or a negated basic proposition <mo stretchy="false">(</mo>xj<mo stretchy="false">)</mo>, for some j=1tok.
Fiber
In mathematics generally, the fiber of a point yY under a function f:XY is defined as the inverse image f1(y)X.
In the case of a boolean function f:๐”นk๐”น, there are just two fibers:
The fiber of 0 under f, defined as f1(0), is the set of points where the value of f is 0.
The fiber of 1 under f, defined as f1(1), is the set of points where the value of f is 1.
Fiber of truth
When 1 is interpreted as the logical value true, then f1(1) is called the fiber of 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 [|f|]=f1(1) for the fiber of truth in the proposition f.
Singular boolean function
A singular boolean function s:๐”นk๐”น is a boolean function whose fiber of 1 is a single point of ๐”นk.
Singular proposition
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 ๐”นk.
Singular conjunction
A singular conjunction in ๐”นk๐”น is a conjunction of k literals that includes just one conjunct of the pair {xj,ν(xj)} for each j=1tok.
A singular proposition s:๐”นk๐”น can be expressed as a singular conjunction:
s=e1e2ek1ek,

whereej=xjorej=ν(xj),forj=1tok.

Resources

Syllabus

Focal nodes

Peer nodes

Logical operators

Template:Col-begin Template:Col-break

Template:Col-break

Template:Col-end

Template:Col-begin Template:Col-break

Template:Col-break

Template:Col-break

Template:Col-end

Relational concepts

Template:Col-begin Template:Col-break

Template:Col-break

Template:Col-break

Template:Col-end

Information, Inquiry

Template:Col-begin Template:Col-break

Template:Col-break

Template:Col-break

Template:Col-break

Template:Col-end

Template:Col-begin Template:Col-break

Template:Col-break

Template:Col-break

Template:Col-end

Document history

Portions of the above article were adapted from the following sources under the GNU Free Documentation License, under other applicable licenses, or by permission of the copyright holders.