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 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. with , or vice-versa), in a given formula , and if is used as notation for replacing every sentence-letter in with its negation (e.g., with ), and if the symbol is used for semantic consequence and ⟚ for semantical equivalence between logical formulas, then it is demonstrable that ⟚ ,[4][7][6] and also that if, and only if, ,[7] and furthermore that if ⟚ then ⟚ .[7] (In this context, is called the dual of a formula .)[4][5]
Mutual definability
editThe connectives may be defined in terms of each other as follows:
- (1)
- (2)
- (3)
Functional completeness
editSince 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
editDe 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
editThe 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:
- 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.
- 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.
- If φ is of the form ψ ∨ χ, the result follows by analogous reasoning.
Further duality theorems
editAssume . Then by uniform substitution of for . Hence, , by contraposition; so finally, , by the property that ⟚ , which was just proved above.[7] And since , it is also true that if, and only if, .[7] And it follows, as a corollary, that if , then .[7]
Conjunctive and disjunctive normal forms
editFor a formula in disjunctive normal form, the formula will be in conjunctive normal form, and given the result that § Negation is semantically equivalent to dual, 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
edit- ^ a b c d "Duality in Logic and Language | Internet Encyclopedia of Philosophy". Retrieved 2024-06-10.
- ^ "1.1 Logical Operations". www.whitman.edu. Retrieved 2024-06-10.
- ^ Look, Brandon C. (2014-09-25). The Bloomsbury Companion to Leibniz. Bloomsbury Publishing. p. 127. ISBN 978-1-4725-2485-0.
- ^ a b c d e f Howson, Colin (1997). Logic with trees: an introduction to symbolic logic. London; New York: Routledge. pp. 41, 44–45. ISBN 978-0-415-13342-5.
- ^ a b "Boolean algebra, Part 1 | Review ICS 241". courses.ics.hawaii.edu. Retrieved 2024-06-10.
- ^ a b Kurki-Suonio, R. (2005-07-20). A Practical Theory of Reactive Systems: Incremental Modeling of Dynamic Behaviors. Springer Science & Business Media. pp. 80–81. ISBN 978-3-540-27348-6.
- ^ a b c d e f g h Bostock, David (1997). Intermediate logic. Oxford : New York: Clarendon Press; Oxford University Press. pp. 62–65. ISBN 978-0-19-875141-0.
- ^ Robinson, Alan J. A.; Voronkov, Andrei (2001-06-21). Handbook of Automated Reasoning. Gulf Professional Publishing. p. 306. ISBN 978-0-444-82949-8.
- ^ a b Polkowski, Lech T. (2023-10-03). Logic: Reference Book for Computer Scientists: The 2nd Revised, Modified, and Enlarged Edition of "Logics for Computer and Data Sciences, and Artificial Intelligence". Springer Nature. p. 70. ISBN 978-3-031-42034-4.
- ^ Bagdasar, Ovidiu (2013-10-28). Concise Computer Mathematics: Tutorials on Theory and Problems. Springer Science & Business Media. p. 36. ISBN 978-3-319-01751-8.
- ^ Makridis, Odysseus (2022). Symbolic logic. Palgrave philosophy today. Cham, Switzerland: Palgrave Macmillan. p. 133. ISBN 978-3-030-67395-6.
- ^ Lyons, John (1977-06-02). Semantics: Volume 1. Cambridge University Press. p. 145. ISBN 978-0-521-29165-1.