Duality Principle (Boolean Algebra)
   HOME

TheInfoList



OR:

In
propositional logic The propositional calculus is a branch of logic. It is also called propositional logic, statement logic, sentential calculus, sentential logic, or sometimes zeroth-order logic. Sometimes, it is called ''first-order'' propositional logic to contra ...
and
Boolean algebra In mathematics and mathematical logic, Boolean algebra is a branch of algebra. It differs from elementary algebra in two ways. First, the values of the variable (mathematics), variables are the truth values ''true'' and ''false'', usually denot ...
, there is a duality between conjunction and
disjunction In logic, disjunction (also known as logical disjunction, logical or, logical addition, or inclusive disjunction) is a logical connective typically notated as \lor and read aloud as "or". For instance, the English language sentence "it is ...
, also called the duality principle. It is the most widely known example of duality in logic. The duality consists in these
metalogic Metalogic is the metatheory of logic. Whereas ''logic'' studies how logical systems can be used to construct valid and sound arguments, metalogic studies the properties of logical systems. Logic concerns the truths that may be derived using a lo ...
al theorems: * In classical propositional logic, the connectives for conjunction and
disjunction In logic, disjunction (also known as logical disjunction, logical or, logical addition, or inclusive disjunction) is a logical connective typically notated as \lor and read aloud as "or". For instance, the English language sentence "it is ...
can be defined in terms of each other, and consequently, only one of them needs to be taken as primitive. * If \varphi^ 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 \land q with q \lor p, or vice-versa), in a given formula \varphi, and if \overline is used as notation for replacing every sentence-letter in \varphi with its negation (e.g., p with \neg p), and if the symbol \models is used for semantic consequence and ⟚ for semantical equivalence between logical formulas, then it is demonstrable that \varphi^ ⟚ \neg \overline, and also that \varphi \models \psi if, and only if, \psi^ \models \varphi^, and furthermore that if \varphi ⟚ \psi then \varphi^ ⟚ \psi^. (In this context, \overline^ is called the ''dual'' of a formula \varphi.)


Mutual definability

The connectives may be defined in terms of each other as follows: :\varphi\vee\psi :\equiv\neg(\neg\varphi\and\neg\psi). (1) :\varphi\and\psi :\equiv \neg(\neg\varphi\vee\neg\psi). (2) :\neg(\neg\varphi\vee\neg\psi)\equiv\neg\neg(\neg\neg\varphi\and\neg\neg\psi)\equiv\varphi\and\psi. (3)


Functional completeness

Since the
Disjunctive Normal Form Theorem In boolean logic, a disjunctive normal form (DNF) is a canonical normal form of a logical formula consisting of a disjunction of conjunctions; it can also be described as an OR of ANDs, a sum of products, or in philosophical logic a ''cluster ...
shows that the set of connectives \ is
functionally complete In logic, a functionally complete set of logical connectives or Boolean operators is one that can be used to express all possible truth tables by combining members of the set into a Boolean expression.. ("Complete set of logical connectives").. ( ...
, these results show that the sets of connectives \ and \ are themselves functionally complete as well.


De Morgan's laws

De Morgan's laws In propositional calculus, propositional logic and Boolean algebra, De Morgan's laws, also known as De Morgan's theorem, are a pair of transformation rules that are both Validity (logic), valid rule of inference, rules of inference. They are nam ...
also follow from the definitions of these connectives in terms of each other, whichever direction is taken to do it. :\neg(\varphi\vee\psi)\equiv\neg\varphi\and\neg\psi. (4) :\neg(\varphi\and\psi)\equiv\neg\varphi\vee\neg\psi. (5)


Duality properties

The ''dual'' of a sentence is what you get by swapping all occurrences of \vee and \and, while also negating all propositional constants. For example, the dual of (A\and B\vee C) would be (\neg A\vee\neg B\and\neg C). The dual of a formula \varphi is notated as \varphi^*. The ''Duality Principle'' states that in classical propositional logic, any sentence is equivalent to the negation of its dual. :Duality Principle: For all \varphi, we have that \varphi=\neg(\varphi^*). :Proof: By induction on complexity. For the base case, we consider an arbitrary atomic sentence A. Since its dual is \neg A, the negation of its dual will be \neg\neg A, which is indeed equivalent to A. For the induction step, we consider an arbitrary \varphi and assume that the result holds for all sentences of lower complexity. Three cases: :# If \varphi is of the form \neg\psi for some \psi, then its dual will be \neg(\psi^*) and the negation of its dual will therefore be \neg\neg(\psi^*). Now, since \psi is less complex than \varphi, the induction hypothesis gives us that \psi=\neg(\psi^*). By substitution, this gives us that \varphi=\neg\neg(\psi^*), which is to say that \varphi is equivalent to the negation of its dual. :# If \varphi is of the form (\psi\vee\chi) for some \psi and \chi, then its dual will be (\psi^*\and\chi^*), and the negation of its dual will therefore be \neg(\psi^*\and\chi^*). Now, since \psi and \chi are less complex than \varphi, the induction hypothesis gives us that \psi=\neg(\psi^*) and \chi=\neg(\chi^*). By substitution, this gives us that \varphi=\neg(\psi^*)\vee\neg(\chi^*) which in turn gives us that \varphi=\neg(\psi^*\and\chi^*) by DeMorgan's Law. And that is once again just to say that \varphi is
equivalent Equivalence or Equivalent may refer to: Arts and entertainment *Album-equivalent unit, a measurement unit in the music industry *Equivalence class (music) *'' Equivalent VIII'', or ''The Bricks'', a minimalist sculpture by Carl Andre *'' Equiva ...
to the
negation In logic, negation, also called the logical not or logical complement, is an operation (mathematics), operation that takes a Proposition (mathematics), proposition P to another proposition "not P", written \neg P, \mathord P, P^\prime or \over ...
of its dual. :# If \varphi is of the form \psi\vee\chi, the result follows by analogous reasoning.


Further duality theorems

Assume \varphi \models \psi. Then \overline \models \overline by uniform substitution of \neg P_i for P_i. Hence, \neg \psi \models \neg \varphi, by contraposition; so finally, \psi^D \models \varphi^D, by the property that \varphi^ ⟚ \neg \overline, which was just proved above. And since \varphi^ = \varphi, it is also true that \varphi \models \psi if, and only if, \psi^D \models \varphi^D. And it follows, as a corollary, that if \varphi \models \neg \psi, then \varphi^D \models \neg \psi^D.


Conjunctive and disjunctive normal forms

For a formula \varphi in
disjunctive normal form In boolean logic, a disjunctive normal form (DNF) is a canonical normal form of a logical formula consisting of a disjunction of conjunctions; it can also be described as an OR of ANDs, a sum of products, or in philosophical logic a ''cluster c ...
, the formula \overline^ will be in
conjunctive normal form In Boolean algebra, a formula is in conjunctive normal form (CNF) or clausal normal form if it is a conjunction of one or more clauses, where a clause is a disjunction of literals; otherwise put, it is a product of sums or an AND of ORs. In au ...
, and given the result that , it will be semantically equivalent to \neg \varphi. This provides a procedure for converting between conjunctive normal form and disjunctive normal form. Since the
Disjunctive Normal Form Theorem In boolean logic, a disjunctive normal form (DNF) is a canonical normal form of a logical formula consisting of a disjunction of conjunctions; it can also be described as an OR of ANDs, a sum of products, or in philosophical logic a ''cluster ...
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

{{Mathematical logic Mathematical logic