Conjunction/disjunction duality

From testwiki
Jump to navigation Jump to search

Template:Short description Template:Sidebar In propositional logic and Boolean algebra, there is a duality between conjunction and disjunction,[1][2][3] also called the duality principle.[4][5][6] It is the most widely known example of duality in logic.[1] The duality consists in these metalogical theorems:

  • In classical propositional logic, the connectives for conjunction and disjunction can be defined in terms of each other, and consequently, only one of them needs to be taken as primitive.[4][1]
  • If φD is used as notation to designate the result of replacing every instance of conjunction with disjunction, and every instance of disjunction with conjunction (e.g. pq with qp, or vice-versa), in a given formula φ, and if φ is used as notation for replacing every sentence-letter in φ with its negation (e.g., p with ¬p), and if the symbol is used for semantic consequence and ⟚ for semantical equivalence between logical formulas, then it is demonstrable that φD ⟚ ¬φ,[4][7][6] and also that φψ if, and only if, ψDφD,[7] and furthermore that if φ ⟚ ψ then φD ⟚ ψD.[7] (In this context, φD is called the dual of a formula φ.)[4][5]

Mutual definability

The connectives may be defined in terms of each other as follows:

φψ:¬(¬φ¬ψ). (1)
φψ:¬(¬φ¬ψ). (2)
¬(¬φ¬ψ)¬¬(¬φ¬ψ)φψ. (3)

Functional completeness

Since the Disjunctive Normal Form Theorem shows that the set of connectives {,,¬} is functionally complete, these results show that the sets of connectives {,¬} and {,¬} are themselves functionally complete as well.

De Morgan's laws

De Morgan's laws also follow from the definitions of these connectives in terms of each other, whichever direction is taken to do it.[1]

¬(φψ)¬φ¬ψ. (4)
¬(φψ)¬φ¬ψ. (5)

Duality properties

The dual of a sentence is what you get by swapping all occurrences of ∨ and &, while also negating all propositional constants. For example, the dual of (A & B ∨ C) would be (¬A ∨ ¬B & ¬C). The dual of a formula φ is notated as φ*. The Duality Principle states that in classical propositional logic, any sentence is equivalent to the negation of its dual.[4][7]

Duality Principle: For all φ, we have that φ = ¬(φ*).[4][7]
Proof: By induction on complexity. For the base case, we consider an arbitrary atomic sentence A. Since its dual is ¬A, the negation of its dual will be ¬¬A, which is indeed equivalent to A. For the induction step, we consider an arbitrary φ and assume that the result holds for all sentences of lower complexity. Three cases:
  1. If φ is of the form ¬ψ for some ψ, then its dual will be ¬(ψ*) and the negation of its dual will therefore be ¬¬(ψ*). Now, since ψ is less complex than φ, the induction hypothesis gives us that ψ = ¬(ψ*). By substitution, this gives us that φ = ¬¬(ψ*), which is to say that φ is equivalent to the negation of its dual.
  2. If φ is of the form (ψ ∨ χ) for some ψ and χ, then its dual will be (ψ* & χ*), and the negation of its dual will therefore be ¬(ψ* & χ*). Now, since ψ and χ are less complex than φ, the induction hypothesis gives us that ψ = ¬(ψ*) and χ = ¬(χ*). By substitution, this gives us that φ = ¬(ψ*) ∨ ¬(χ*) which in turn gives us that φ = ¬(ψ* & χ*) by DeMorgan's Law. And that is once again just to say that φ is equivalent to the negation of its dual.
  3. If φ is of the form ψ ∨ χ, the result follows by analogous reasoning.

Further duality theorems

Assume ϕψ. Then ϕψ by uniform substitution of ¬Pi for Pi. Hence, ¬ψ¬ϕ, by contraposition; so finally, ψDϕD, by the property that φD ⟚ ¬φ, which was just proved above.[7] And since φDD=ϕ, it is also true that φψ if, and only if, ψDϕD.[7] And it follows, as a corollary, that if ϕ¬ψ, then ϕD¬ψD.[7]

Conjunctive and disjunctive normal forms

Template:Main article For a formula φ in disjunctive normal form, the formula φD will be in conjunctive normal form, and given the result that Template:Section link, it will be semantically equivalent to ¬φ.[8][9] This provides a procedure for converting between conjunctive normal form and disjunctive normal form.[10] Since the Disjunctive Normal Form Theorem shows that every formula of propositional logic is expressible in disjunctive normal form, every formula is also expressible in conjunctive normal form by means of effecting the conversion to its dual.[9]

References

[11][12] Template:Reflist

Template:Metalogic Template:Mathematical logic