Duality (logic)

from Wikipedia, the free encyclopedia

Two statements of classical propositional logic are referred to as dual to each other if they have opposite truth values for each assignment of the atomic statements that occur in them . Conversely, dual statements have exactly the same truth value when the atomic statements that occur in them are assigned opposite truth values.

W. W. W. F. F. F.
W. F. F. F. W. W.
F. W. F. W. F. W.
F. F. F. W. W. W.
Example: If one replaces the truth values ​​of and by their opposite in each line of the truth value table of the conjunction , then one obtains the truth value table of the disjunction . See also De Morgan's Laws .

Syntactic definition

For statements in negation normal form , i.e. for statements in which only conjunctions , disjunctions and negations occur as connectives and in which only atomic statements are negated, a simple syntactic definition for duality can be given:

Two statements and are dual if and only if every occurrence of the join (conjunction) is replaced by (disjunction) and if every occurrence of the join is replaced by.

Since a normal negation form can be formed for every statement, this definition provides a syntactic procedure for creating a dual statement for every statement : A normal negative form is created and every one that occurs is replaced with and vice versa.

For example, in order to form a statement that is too dual, it is first transformed into a negation normal form, such as . After replacing by and vice versa, the statement arises , and this is dual to the original statement.

Elementary dualities

  1. is dual to  ; is dual to  ;
  2. is dual to  ;
  3. is dual to  ;
  4. is dual to (exclusive disjunction);

Five sets of duality

Hasse diagram showing all combinations made from two elementary statements. A black “connecting line” between two statements indicates that the lower statement implies the upper statement. These connecting lines should be thought of as going beyond the interim statements.
The blue arrows mark the transition to the dual element. You can see that this transition "flips" all implications.

Duality of conjunction and disjunction

be a compound statement that only consists of conjunctions, disjunctions and negations (but does not have to be a negation normal form). The connection that arises from the fact that the conjunctions with the disjunctions and vice versa are exchanged everywhere is then dual to .

Example: is dual to

Duality and negation

If there is a statement, a dual connection is obtained if all variables and the entire connection itself are negated.

Examples: is dual to ; is dual to .

Duality in tautology and contradiction

If a proposition is a tautology , the proposition dual to it is a contradiction and vice versa.

Example: is a contradiction (always false), so the dual is a tautology (always true).

Duality and implication

A statement implies a statement if and only if a (and therefore every) statement that is too dual implies a (and therefore every) statement that is too dual.

Example: if and only if dual applies: .

Duality and equivalence

A statement is equivalent to a statement if and only if a (and therefore every) statement that is too dual is also equivalent to a (and therefore every) statement that is too dual.

Example: if and only if dual applies: .

See also

Web links