This site is supported by donations to The OEIS Foundation.
De Morgan's laws
The De Morgan's laws are named after Augustus De Morgan (1806–1871)[1] who introduced a formal version of the laws to classical propositional logic. De Morgan's formulation was influenced by algebraization of logic undertaken by George Boole, which later cemented De Morgan's claim to the find. Although a similar observation was made by Aristotle and was known to Greek and Medieval logicians [2] (in the 14th century William of Ockham wrote down the words that would result by reading the laws out,)[3] De Morgan is given credit for stating the laws formally and incorporating them in to the language of logic. De Morgan's Laws can be proved easily, and may even seem trivial.[4] Nonetheless, these laws are helpful in making valid inferences in proofs and deductive arguments.[5]
Contents
Set theoretic form
and
In set theory it is often stated as "Union and intersection interchange under complementation."[6]
The set theoretic binary form of de Morgan's law is
with generalization
where
- A is the complement (relative to a given universal set) of A (the overline being written above the terms to be complemented)
- ∩ is the intersection operator (AND)
- ∪ is the union operator (OR)
- = means set equality
and where is some, possibly uncountable, indexing set.
In set notation, De Morgan's law can be remembered using the mnemonic "break the line, change the sign."[7]
Logic forms
and
Boolean algebra form
The Boolean algebra binary form of de Morgan's law is
with generalization
where
- NOT is the Boolean negation operator
- AND is the Boolean conjunction operator
- OR is the Boolean disjunction operator
- = means Boolean equality
Boolean algebra compact form
The Boolean algebra binary compact form of de Morgan's law is
with generalization
where
- A is the Boolean negation operator (compact notation)
- is the Boolean conjunction operator (compact notation)
- is the Boolean disjunction operator (compact notation)
- = means Boolean equality
Propositional logic form
The propositional logic binary form of de Morgan's law is
where
- ¬ is the logical negation operator (NOT)
- is the conjunction operator (AND)
- is the disjunction operator (OR)
- ⇔ means logical equivalence (if and only if)
De Morgan dual operators
The De Morgan dual of any propositional operator depending on elementary propositions is the operator defined as
then
First-order logic form
This idea can be generalized to logical quantifiers, so for example the universal quantifier and existential quantifier are duals.
The first-order logic binary form of de Morgan's law is
where
- ¬ is the logical negation operator (NOT)
- is the universal quantifier
- is the existential quantifier
- means logical equivalence (if and only if)
Modal logic generalization
The quantifier dualities can be extended further to modal logic, relating the box ("necessarily") and diamond ("possibly") operators
This may be considered to be a formal expression of the observation that was made by Aristotle and was known to Greek and Medieval logicians.
Arithmetic form
and
The arithmetic binary form of de Morgan's law is
with generalization
where
- − is the arithmetic negation operator
- MIN is the minimum function (Cf. {{min}} and {{MIN}} mathematical function templates)
- MAX is the maximum function (Cf. {{max}} and {{MAX}} mathematical function templates)
- = means equal
See also
Notes
- ↑ DeMorgan’s Theorems at mtsu.edu
- ↑ Bocheński's History of Formal Logic
- ↑ William of Ockham, Summa Logicae, part II, sections 32 & 33.
- ↑ Augustus De Morgan (1806 -1871) by Robert H. Orr
- ↑ De Morgan's laws—Wikipedia.org.
- ↑ Boolean Algebra By R. L. Goodstein. ISBN 0486458946.
- ↑ 2000 Solved Problems in Digital Electronics By S. P. Bali