Misplaced Pages

Conjunction/disjunction duality

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
(Redirected from Duality principle (Boolean algebra)) Properties linking logical conjunction and disjunction
Logical connectives
NOT ¬ A {\displaystyle \neg A} , A {\displaystyle -A} , A ¯ {\displaystyle {\overline {A}}} , A {\displaystyle \sim A}
AND A B {\displaystyle A\land B} , A B {\displaystyle A\cdot B} , A B {\displaystyle AB} , A & B {\displaystyle A\&B} , A & & B {\displaystyle A\&\&B}
NAND A ¯ B {\displaystyle A{\overline {\land }}B} , A B {\displaystyle A\uparrow B} , A B {\displaystyle A\mid B} , A B ¯ {\displaystyle {\overline {A\cdot B}}}
OR A B {\displaystyle A\lor B} , A + B {\displaystyle A+B} , A B {\displaystyle A\mid B} , A B {\displaystyle A\parallel B}
NOR A ¯ B {\displaystyle A{\overline {\lor }}B} , A B {\displaystyle A\downarrow B} , A + B ¯ {\displaystyle {\overline {A+B}}}
XNOR A   XNOR   B {\displaystyle A\ {\text{XNOR}}\ B}
equivalent A B {\displaystyle A\equiv B} , A B {\displaystyle A\Leftrightarrow B} , A B {\displaystyle A\leftrightharpoons B}
XOR A _ B {\displaystyle A{\underline {\lor }}B} , A B {\displaystyle A\oplus B}
└nonequivalent A B {\displaystyle A\not \equiv B} , A B {\displaystyle A\not \Leftrightarrow B} , A B {\displaystyle A\nleftrightarrow B}
implies A B {\displaystyle A\Rightarrow B} , A B {\displaystyle A\supset B} , A B {\displaystyle A\rightarrow B}
converse A B {\displaystyle A\Leftarrow B} , A B {\displaystyle A\subset B} , A B {\displaystyle A\leftarrow B}
Related concepts
Applications
Category

In propositional logic and Boolean algebra, there is a duality between conjunction and disjunction, also called the duality principle. It is the most widely known example of duality in logic. 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.
  • If φ D {\displaystyle \varphi ^{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. p q {\displaystyle p\land q} with q p {\displaystyle q\lor p} , or vice-versa), in a given formula φ {\displaystyle \varphi } , and if φ ¯ {\displaystyle {\overline {\varphi }}} is used as notation for replacing every sentence-letter in φ {\displaystyle \varphi } with its negation (e.g., p {\displaystyle p} with ¬ p {\displaystyle \neg p} ), and if the symbol {\displaystyle \models } is used for semantic consequence and ⟚ for semantical equivalence between logical formulas, then it is demonstrable that φ D {\displaystyle \varphi ^{D}}  ⟚  ¬ φ ¯ {\displaystyle \neg {\overline {\varphi }}} , and also that φ ψ {\displaystyle \varphi \models \psi } if, and only if, ψ D φ D {\displaystyle \psi ^{D}\models \varphi ^{D}} , and furthermore that if φ {\displaystyle \varphi }  ⟚  ψ {\displaystyle \psi } then φ D {\displaystyle \varphi ^{D}}  ⟚  ψ D {\displaystyle \psi ^{D}} . (In this context, φ ¯ D {\displaystyle {\overline {\varphi }}^{D}} is called the dual of a formula φ {\displaystyle \varphi } .)

Mutual definability

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

φ ψ :≡ ¬ ( ¬ φ ¬ ψ ) . {\displaystyle \varphi \lor \psi :\equiv \neg (\neg \varphi \land \neg \psi ).} (1)
φ ψ :≡ ¬ ( ¬ φ ¬ ψ ) . {\displaystyle \varphi \land \psi :\equiv \neg (\neg \varphi \lor \neg \psi ).} (2)
¬ ( ¬ φ ¬ ψ ) ¬ ¬ ( ¬ φ ¬ ψ ) φ ψ . {\displaystyle \neg (\neg \varphi \lor \neg \psi )\equiv \neg \neg (\neg \varphi \land \neg \psi )\equiv \varphi \land \psi .} (3)

Functional completeness

Since the Disjunctive Normal Form Theorem shows that the set of connectives { , , ¬ } {\displaystyle \{\land ,\lor ,\neg \}} is functionally complete, these results show that the sets of connectives { , ¬ } {\displaystyle \{\land ,\neg \}} and { , ¬ } {\displaystyle \{\lor ,\neg \}} 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.

¬ ( φ ψ ) ¬ φ ¬ ψ . {\displaystyle \neg (\varphi \lor \psi )\equiv \neg \varphi \land \neg \psi .} (4)
¬ ( φ ψ ) ¬ φ ¬ ψ . {\displaystyle \neg (\varphi \land \psi )\equiv \neg \varphi \lor \neg \psi .} (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.

Duality Principle: For all φ, we have that φ = ¬(φ*).
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 ϕ ψ {\displaystyle \phi \models \psi } . Then ϕ ¯ ψ ¯ {\displaystyle {\overline {\phi }}\models {\overline {\psi }}} by uniform substitution of ¬ P i {\displaystyle \neg P_{i}} for P i {\displaystyle P_{i}} . Hence, ¬ ψ ¬ ϕ {\displaystyle \neg \psi \models \neg \phi } , by contraposition; so finally, ψ D ϕ D {\displaystyle \psi ^{D}\models \phi ^{D}} , by the property that φ D {\displaystyle \varphi ^{D}}  ⟚  ¬ φ ¯ {\displaystyle \neg {\overline {\varphi }}} , which was just proved above. And since φ D D = ϕ {\displaystyle \varphi ^{DD}=\phi } , it is also true that φ ψ {\displaystyle \varphi \models \psi } if, and only if, ψ D ϕ D {\displaystyle \psi ^{D}\models \phi ^{D}} . And it follows, as a corollary, that if ϕ ¬ ψ {\displaystyle \phi \models \neg \psi } , then ϕ D ¬ ψ D {\displaystyle \phi ^{D}\models \neg \psi ^{D}} .

Conjunctive and disjunctive normal forms

Main articles: Conjunctive normal form and Disjunctive normal form

For a formula φ {\displaystyle \varphi } in disjunctive normal form, the formula φ ¯ D {\displaystyle {\overline {\varphi }}^{D}} will be in conjunctive normal form, and given the result that § Negation is semantically equivalent to dual, it will be semantically equivalent to ¬ φ {\displaystyle \neg \varphi } . This provides a procedure for converting between conjunctive normal form and disjunctive normal form. 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.

References

  1. ^ "Duality in Logic and Language | Internet Encyclopedia of Philosophy". Retrieved 2024-06-10.
  2. "1.1 Logical Operations". www.whitman.edu. Retrieved 2024-06-10.
  3. Look, Brandon C. (2014-09-25). The Bloomsbury Companion to Leibniz. Bloomsbury Publishing. p. 127. ISBN 978-1-4725-2485-0.
  4. ^ 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.
  5. ^ "Boolean algebra, Part 1 | Review ICS 241". courses.ics.hawaii.edu. Retrieved 2024-06-10.
  6. ^ 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.
  7. ^ Bostock, David (1997). Intermediate logic. Oxford : New York: Clarendon Press; Oxford University Press. pp. 62–65. ISBN 978-0-19-875141-0.
  8. Robinson, Alan J. A.; Voronkov, Andrei (2001-06-21). Handbook of Automated Reasoning. Gulf Professional Publishing. p. 306. ISBN 978-0-444-82949-8.
  9. ^ 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.
  10. 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.
  11. Makridis, Odysseus (2022). Symbolic logic. Palgrave philosophy today. Cham, Switzerland: Palgrave Macmillan. p. 133. ISBN 978-3-030-67395-6.
  12. Lyons, John (1977-06-02). Semantics: Volume 1. Cambridge University Press. p. 145. ISBN 978-0-521-29165-1.
Metalogic and metamathematics
Mathematical logic
General
Theorems (list)
 and paradoxes
Logics
Traditional
Propositional
Predicate
Set theory
Types of sets
Maps and cardinality
Set theories
Formal systems (list),
language and syntax
Example axiomatic
systems
 (list)
Proof theory
Model theory
Computability theory
Related
icon Mathematics portal
Category: