Jump to content

Minimal negation operator

From Wikiversity

☞ This page belongs to resource collections on Logic and Inquiry.

A minimal negation operator (ν) is a logical connective which 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 p≠q. Expressing ν(p,q) in terms of ands (⋅), ors (∨), and nots (~) gives the following form.

    ν(p,q)=p~⋅q∨p⋅q~

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

    ν(p,q)=p~q∨pq~

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

    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~qr∨pq~r∨pqr~

Initial definition

[edit | edit source]

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 may 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.

Formal definition

[edit | edit source]

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)=x1∧…∧xj−1∧¬xj∧xj+1∧…∧xk.

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 x1⋅…⋅xk or the logical conjunction x1∧…∧xk to indicate the point x=(x1,…,xk) in the space 𝔹k then the minimal negation (x1,…,xk) indicates the set of points in 𝔹k that differ from x in exactly one coordinate.  This makes (x1,…,xk) 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 (𝚡,𝚢) is the same as that associated with the operation x+y and the relation x≠y.
• In contrast, (𝚡,𝚢,𝚣) 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

[edit | edit source]

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

[edit | edit source]

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:
  x1x2…xn−1xn=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:
  (x1)(x2)…(xn−1)(xn)=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=e1e2…ek−1ek. Then the proposition ν(e1,e2,…,ek−1,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 (𝚙,𝚚,𝚛) — has the following venn diagram:

Figure 4.(𝚙,𝚚,𝚛)

For a contrasting example, the boolean function expressed by the form ((𝚙),(𝚚),(𝚛)) has the following venn diagram:

Figure 5.((𝚙),(𝚚),(𝚛))

Glossary of basic terms

[edit | edit source]
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:1≤j≤k} 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,(x1),…,(xk), in other words, either a posited basic proposition xj or a negated basic proposition (xj), for some j=1tok.
Fiber
In mathematics generally, the fiber of a point y∈Y under a function f:X→Y is defined as the inverse image f−1(y)⊆X.
In the case of a boolean function f:𝔹k→𝔹, there are just two fibers:
The fiber of 0 under f, defined as f−1(0), is the set of points where the value of f is 0.
The fiber of 1 under f, defined as f−1(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 f−1(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|]=f−1(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=e1e2…ek−1ek,

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

Resources

[edit | edit source]