fbpx
Wikipedia

De Morgan's laws

In propositional logic and Boolean algebra, De Morgan's laws,[1][2][3] also known as De Morgan's theorem,[4] are a pair of transformation rules that are both valid rules of inference. They are named after Augustus De Morgan, a 19th-century British mathematician. The rules allow the expression of conjunctions and disjunctions purely in terms of each other via negation.

De Morgan's laws represented with Venn diagrams. In each case, the resultant set is the set of all points in any shade of blue.

The rules can be expressed in English as:

  • The negation of a disjunction is the conjunction of the negations
  • The negation of a conjunction is the disjunction of the negations

or

  • The complement of the union of two sets is the same as the intersection of their complements
  • The complement of the intersection of two sets is the same as the union of their complements

or

  • not (A or B) = (not A) and (not B)
  • not (A and B) = (not A) or (not B)

where "A or B" is an "inclusive or" meaning at least one of A or B rather than an "exclusive or" that means exactly one of A or B.

In set theory and Boolean algebra, these are written formally as

where

  • and are sets,
  • is the complement of ,
  • is the intersection, and
  • is the union.
The equivalency of ¬φ ∨ ¬ψ and ¬(φ ∧ ψ) is displayed in this truth table.[5]

In formal language, the rules are written as

and

where

De Morgan's law with set subtraction operation.

Another form of De Morgan's law is the following as seen in the right figure.

Applications of the rules include simplification of logical expressions in computer programs and digital circuit designs. De Morgan's laws are an example of a more general concept of mathematical duality.

Formal notation edit

The negation of conjunction rule may be written in sequent notation:

 

The negation of disjunction rule may be written as:

 

In rule form: negation of conjunction

 

and negation of disjunction

 

and expressed as truth-functional tautologies or theorems of propositional logic:

 

where   and   are propositions expressed in some formal system.

The generalized De Morgan’s laws provide an equivalence for negating a conjunction or disjunction involving multiple terms.
For a set of propositions  , the generalized De Morgan’s Laws are as follows:

 

These laws generalize De Morgan’s original laws for negating conjunctions and disjunctions.

Substitution form edit

De Morgan's laws are normally shown in the compact form above, with the negation of the output on the left and negation of the inputs on the right. A clearer form for substitution can be stated as:

 

This emphasizes the need to invert both the inputs and the output, as well as change the operator when doing a substitution.

Set theory and Boolean algebra edit

In set theory and Boolean algebra, it is often stated as "union and intersection interchange under complementation",[6] which can be formally expressed as:

 

where:

  •   is the negation of  , the overline being written above the terms to be negated,
  •   is the intersection operator (AND),
  •   is the union operator (OR).

Unions and intersections of any number of sets edit

The generalized form is

 

where I is some, possibly countably or uncountably infinite, indexing set.

In set notation, De Morgan's laws can be remembered using the mnemonic "break the line, change the sign".[7]

Engineering edit

In electrical and computer engineering, De Morgan's laws are commonly written as:

 

and

 

where:

  •   is the logical AND,
  •   is the logical OR,
  • the overbar is the logical NOT of what is underneath the overbar.

Text searching edit

De Morgan's laws commonly apply to text searching using Boolean operators AND, OR, and NOT. Consider a set of documents containing the words "cats" and "dogs". De Morgan's laws hold that these two searches will return the same set of documents:

Search A: NOT (cats OR dogs)
Search B: (NOT cats) AND (NOT dogs)

The corpus of documents containing "cats" or "dogs" can be represented by four documents:

Document 1: Contains only the word "cats".
Document 2: Contains only "dogs".
Document 3: Contains both "cats" and "dogs".
Document 4: Contains neither "cats" nor "dogs".

To evaluate Search A, clearly the search "(cats OR dogs)" will hit on Documents 1, 2, and 3. So the negation of that search (which is Search A) will hit everything else, which is Document 4.

Evaluating Search B, the search "(NOT cats)" will hit on documents that do not contain "cats", which is Documents 2 and 4. Similarly the search "(NOT dogs)" will hit on Documents 1 and 4. Applying the AND operator to these two searches (which is Search B) will hit on the documents that are common to these two searches, which is Document 4.

A similar evaluation can be applied to show that the following two searches will both return Documents 1, 2, and 4:

Search C: NOT (cats AND dogs),
Search D: (NOT cats) OR (NOT dogs).

History edit

The laws are named after Augustus De Morgan (1806–1871),[8] 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. Nevertheless, a similar observation was made by Aristotle, and was known to Greek and Medieval logicians.[9] For example, in the 14th century, William of Ockham wrote down the words that would result by reading the laws out.[10] Jean Buridan, in his Summulae de Dialectica, also describes rules of conversion that follow the lines of De Morgan's laws.[11] Still, De Morgan is given credit for stating the laws in the terms of modern formal logic, and incorporating them into the language of logic. De Morgan's laws can be proved easily, and may even seem trivial.[12] Nonetheless, these laws are helpful in making valid inferences in proofs and deductive arguments.

Informal proof edit

De Morgan's theorem may be applied to the negation of a disjunction or the negation of a conjunction in all or part of a formula.

Negation of a disjunction edit

In the case of its application to a disjunction, consider the following claim: "it is false that either of A or B is true", which is written as:

 

In that it has been established that neither A nor B is true, then it must follow that both A is not true and B is not true, which may be written directly as:

 

If either A or B were true, then the disjunction of A and B would be true, making its negation false. Presented in English, this follows the logic that "since two things are both false, it is also false that either of them is true".

Working in the opposite direction, the second expression asserts that A is false and B is false (or equivalently that "not A" and "not B" are true). Knowing this, a disjunction of A and B must be false also. The negation of said disjunction must thus be true, and the result is identical to the first claim.

Negation of a conjunction edit

The application of De Morgan's theorem to conjunction is very similar to its application to a disjunction both in form and rationale. Consider the following claim: "it is false that A and B are both true", which is written as:

 

In order for this claim to be true, either or both of A or B must be false, for if they both were true, then the conjunction of A and B would be true, making its negation false. Thus, one (at least) or more of A and B must be false (or equivalently, one or more of "not A" and "not B" must be true). This may be written directly as,

 

Presented in English, this follows the logic that "since it is false that two things are both true, at least one of them must be false".

Working in the opposite direction again, the second expression asserts that at least one of "not A" and "not B" must be true, or equivalently that at least one of A and B must be false. Since at least one of them must be false, then their conjunction would likewise be false. Negating said conjunction thus results in a true expression, and this expression is identical to the first claim.

Formal proof edit

Here we use   to denote the complement of A, as above in § Set theory and Boolean algebra. The proof that   is completed in 2 steps by proving both   and  .

Part 1 edit

Let  . Then,  .

Because  , it must be the case that   or  .

If  , then  , so  .

Similarly, if  , then  , so  .

Thus,  ;

that is,  .

Part 2 edit

To prove the reverse direction, let  , and for contradiction assume  .

Under that assumption, it must be the case that  ,

so it follows that   and  , and thus   and  .

However, that means  , in contradiction to the hypothesis that  ,

therefore, the assumption   must not be the case, meaning that  .

Hence,  ,

that is,  .

Conclusion edit

If   and  , then  ; this concludes the proof of De Morgan's law.

The other De Morgan's law,  , is proven similarly.

Generalising De Morgan duality edit

 
De Morgan's Laws represented as a circuit with logic gates (International Electrotechnical Commission diagrams).

In extensions of classical propositional logic, the duality still holds (that is, to any logical operator one can always find its dual), since in the presence of the identities governing negation, one may always introduce an operator that is the De Morgan dual of another. This leads to an important property of logics based on classical logic, namely the existence of negation normal forms: any formula is equivalent to another formula where negations only occur applied to the non-logical atoms of the formula. The existence of negation normal forms drives many applications, for example in digital circuit design, where it is used to manipulate the types of logic gates, and in formal logic, where it is needed to find the conjunctive normal form and disjunctive normal form of a formula. Computer programmers use them to simplify or properly negate complicated logical conditions. They are also often useful in computations in elementary probability theory.

Let one define the dual of any propositional operator P(p, q, ...) depending on elementary propositions p, q, ... to be the operator   defined by

 

Extension to predicate and modal logic edit

This duality can be generalised to quantifiers, so for example the universal quantifier and existential quantifier are duals:

 
 

To relate these quantifier dualities to the De Morgan laws, set up a model with some small number of elements in its domain D, such as

D = {a, b, c}.

Then

 

and

 

But, using De Morgan's laws,

 

and

 

verifying the quantifier dualities in the model.

Then, the quantifier dualities can be extended further to modal logic, relating the box ("necessarily") and diamond ("possibly") operators:

 
 

In its application to the alethic modalities of possibility and necessity, Aristotle observed this case, and in the case of normal modal logic, the relationship of these modal operators to the quantification can be understood by setting up models using Kripke semantics.

In intuitionistic logic edit

Three out of the four implications of de Morgan's laws hold in intuitionistic logic. Specifically, we have

 

and

 

The converse of the last implication does not hold in pure intuitionistic logic. That is, the failure of the joint proposition   cannot necessarily be resolved to the failure of either of the two conjuncts. For example, from knowing it not to be the case that both Alice and Bob showed up to their date, it does not follow who did not show up. The latter principle is equivalent to the principle of the weak excluded middle  ,

 

This weak form can be used as a foundation for an intermediate logic. For a refined version of the failing law concerning existential statements, see the lesser limited principle of omniscience  , which however is different from  .

The validity of the other three De Morgan's laws remains true if negation   is replaced by implication   for some arbitrary constant predicate C, meaning that the above laws are still true in minimal logic.

Similarly to the above, the quantifier laws:

 

and

 

are tautologies even in minimal logic with negation replaced with implying a fixed  , while the converse of the last law does not have to be true in general.

Further, one still has

 
 
 
 

but their inversion implies excluded middle,  .

In computer engineering edit

De Morgan's laws are widely used in computer engineering and digital logic for the purpose of simplifying circuit designs.[citation needed]

See also edit

References edit

  1. ^ Copi, Irving M.; Cohen, Carl; McMahon, Kenneth (2016). Introduction to Logic. doi:10.4324/9781315510897. ISBN 9781315510880.
  2. ^ Hurley, Patrick J. (2015), A Concise Introduction to Logic (12th ed.), Cengage Learning, ISBN 978-1-285-19654-1
  3. ^ Moore, Brooke Noel (2012). Critical thinking. Richard Parker (10th ed.). New York: McGraw-Hill. ISBN 978-0-07-803828-0. OCLC 689858599.
  4. ^ DeMorgan's [sic] Theorem
  5. ^ Kashef, Arman. (2023), In Quest of Univeral Logic: A brief overview of formal logic's evolution, doi:10.13140/RG.2.2.24043.82724/1
  6. ^ Boolean Algebra by R. L. Goodstein. ISBN 0-486-45894-6
  7. ^ 2000 Solved Problems in Digital Electronics by S. P. Bali
  8. ^ . Middle Tennessee State University. Archived from the original on 2008-03-23.
  9. ^ Bocheński's History of Formal Logic
  10. ^ William of Ockham, Summa Logicae, part II, sections 32 and 33.
  11. ^ Jean Buridan, Summula de Dialectica. Trans. Gyula Klima. New Haven: Yale University Press, 2001. See especially Treatise 1, Chapter 7, Section 5. ISBN 0-300-08425-0
  12. ^ Robert H. Orr. . Indiana University–Purdue University Indianapolis. Archived from the original on 2010-07-15.

External links edit

morgan, laws, propositional, logic, boolean, algebra, also, known, morgan, theorem, pair, transformation, rules, that, both, valid, rules, inference, they, named, after, augustus, morgan, 19th, century, british, mathematician, rules, allow, expression, conjunc. In propositional logic and Boolean algebra De Morgan s laws 1 2 3 also known as De Morgan s theorem 4 are a pair of transformation rules that are both valid rules of inference They are named after Augustus De Morgan a 19th century British mathematician The rules allow the expression of conjunctions and disjunctions purely in terms of each other via negation De Morgan s laws represented with Venn diagrams In each case the resultant set is the set of all points in any shade of blue The rules can be expressed in English as The negation of a disjunction is the conjunction of the negations The negation of a conjunction is the disjunction of the negations or The complement of the union of two sets is the same as the intersection of their complements The complement of the intersection of two sets is the same as the union of their complements or not A or B not A and not B not A and B not A or not B where A or B is an inclusive or meaning at least one of A or B rather than an exclusive or that means exactly one of A or B In set theory and Boolean algebra these are written formally as A B A B A B A B displaystyle begin aligned overline A cup B amp overline A cap overline B overline A cap B amp overline A cup overline B end aligned where A displaystyle A and B displaystyle B are sets A displaystyle overline A is the complement of A displaystyle A displaystyle cap is the intersection and displaystyle cup is the union The equivalency of f ps and f ps is displayed in this truth table 5 In formal language the rules are written as P Q P Q displaystyle neg P lor Q iff neg P land neg Q and P Q P Q displaystyle neg P land Q iff neg P lor neg Q where P and Q are propositions displaystyle neg is the negation logic operator NOT displaystyle land is the conjunction logic operator AND displaystyle lor is the disjunction logic operator OR displaystyle iff is a metalogical symbol meaning can be replaced in a logical proof with often read as if and only if For any combination of true false values for P and Q the left and right sides of the arrow will hold the same truth value after evaluation De Morgan s law with set subtraction operation Another form of De Morgan s law is the following as seen in the right figure A B C A B A C displaystyle A B cup C A B cap A C A B C A B A C displaystyle A B cap C A B cup A C Applications of the rules include simplification of logical expressions in computer programs and digital circuit designs De Morgan s laws are an example of a more general concept of mathematical duality Contents 1 Formal notation 1 1 Substitution form 1 2 Set theory and Boolean algebra 1 2 1 Unions and intersections of any number of sets 1 3 Engineering 1 4 Text searching 2 History 3 Informal proof 3 1 Negation of a disjunction 3 2 Negation of a conjunction 4 Formal proof 4 1 Part 1 4 2 Part 2 4 3 Conclusion 5 Generalising De Morgan duality 6 Extension to predicate and modal logic 7 In intuitionistic logic 8 In computer engineering 9 See also 10 References 11 External linksFormal notation editThe negation of conjunction rule may be written in sequent notation P Q P Q and P Q P Q displaystyle begin aligned neg P land Q amp vdash neg P lor neg Q text and neg P lor neg Q amp vdash neg P land Q end aligned nbsp The negation of disjunction rule may be written as P Q P Q and P Q P Q displaystyle begin aligned neg P lor Q amp vdash neg P land neg Q text and neg P land neg Q amp vdash neg P lor Q end aligned nbsp In rule form negation of conjunction P Q P Q P Q P Q displaystyle frac neg P land Q therefore neg P lor neg Q qquad frac neg P lor neg Q therefore neg P land Q nbsp and negation of disjunction P Q P Q P Q P Q displaystyle frac neg P lor Q therefore neg P land neg Q qquad frac neg P land neg Q therefore neg P lor Q nbsp and expressed as truth functional tautologies or theorems of propositional logic P Q P Q P Q P Q displaystyle begin aligned neg P land Q amp leftrightarrow neg P lor neg Q neg P lor Q amp leftrightarrow neg P land neg Q end aligned nbsp where P displaystyle P nbsp and Q displaystyle Q nbsp are propositions expressed in some formal system The generalized De Morgan s laws provide an equivalence for negating a conjunction or disjunction involving multiple terms For a set of propositions P 1 P 2 P n displaystyle P 1 P 2 dots P n nbsp the generalized De Morgan s Laws are as follows P 1 P 2 P n P 1 P 2 P n P 1 P 2 P n P 1 P 2 P n displaystyle begin aligned lnot P 1 land P 2 land dots land P n leftrightarrow lnot P 1 lor lnot P 2 lor ldots lor lnot P n lnot P 1 lor P 2 lor dots lor P n leftrightarrow lnot P 1 land lnot P 2 land ldots land lnot P n end aligned nbsp These laws generalize De Morgan s original laws for negating conjunctions and disjunctions Substitution form edit De Morgan s laws are normally shown in the compact form above with the negation of the output on the left and negation of the inputs on the right A clearer form for substitution can be stated as P Q P Q P Q P Q displaystyle begin aligned P land Q amp Longleftrightarrow neg neg P lor neg Q P lor Q amp Longleftrightarrow neg neg P land neg Q end aligned nbsp This emphasizes the need to invert both the inputs and the output as well as change the operator when doing a substitution Set theory and Boolean algebra edit In set theory and Boolean algebra it is often stated as union and intersection interchange under complementation 6 which can be formally expressed as A B A B A B A B displaystyle begin aligned overline A cup B amp overline A cap overline B overline A cap B amp overline A cup overline B end aligned nbsp where A displaystyle overline A nbsp is the negation of A displaystyle A nbsp the overline being written above the terms to be negated displaystyle cap nbsp is the intersection operator AND displaystyle cup nbsp is the union operator OR Unions and intersections of any number of sets edit The generalized form is i I A i i I A i i I A i i I A i displaystyle begin aligned overline bigcap i in I A i amp equiv bigcup i in I overline A i overline bigcup i in I A i amp equiv bigcap i in I overline A i end aligned nbsp where I is some possibly countably or uncountably infinite indexing set In set notation De Morgan s laws can be remembered using the mnemonic break the line change the sign 7 Engineering edit In electrical and computer engineering De Morgan s laws are commonly written as A B A B displaystyle overline A cdot B equiv overline A overline B nbsp and A B A B displaystyle overline A B equiv overline A cdot overline B nbsp where displaystyle cdot nbsp is the logical AND displaystyle nbsp is the logical OR the overbar is the logical NOT of what is underneath the overbar Text searching edit De Morgan s laws commonly apply to text searching using Boolean operators AND OR and NOT Consider a set of documents containing the words cats and dogs De Morgan s laws hold that these two searches will return the same set of documents Search A NOT cats OR dogs Search B NOT cats AND NOT dogs The corpus of documents containing cats or dogs can be represented by four documents Document 1 Contains only the word cats Document 2 Contains only dogs Document 3 Contains both cats and dogs Document 4 Contains neither cats nor dogs To evaluate Search A clearly the search cats OR dogs will hit on Documents 1 2 and 3 So the negation of that search which is Search A will hit everything else which is Document 4 Evaluating Search B the search NOT cats will hit on documents that do not contain cats which is Documents 2 and 4 Similarly the search NOT dogs will hit on Documents 1 and 4 Applying the AND operator to these two searches which is Search B will hit on the documents that are common to these two searches which is Document 4 A similar evaluation can be applied to show that the following two searches will both return Documents 1 2 and 4 Search C NOT cats AND dogs Search D NOT cats OR NOT dogs History editThe laws are named after Augustus De Morgan 1806 1871 8 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 Nevertheless a similar observation was made by Aristotle and was known to Greek and Medieval logicians 9 For example in the 14th century William of Ockham wrote down the words that would result by reading the laws out 10 Jean Buridan in his Summulae de Dialectica also describes rules of conversion that follow the lines of De Morgan s laws 11 Still De Morgan is given credit for stating the laws in the terms of modern formal logic and incorporating them into the language of logic De Morgan s laws can be proved easily and may even seem trivial 12 Nonetheless these laws are helpful in making valid inferences in proofs and deductive arguments Informal proof editDe Morgan s theorem may be applied to the negation of a disjunction or the negation of a conjunction in all or part of a formula Negation of a disjunction edit In the case of its application to a disjunction consider the following claim it is false that either of A or B is true which is written as A B displaystyle neg A lor B nbsp In that it has been established that neither A nor B is true then it must follow that both A is not true and B is not true which may be written directly as A B displaystyle neg A wedge neg B nbsp If either A or B were true then the disjunction of A and B would be true making its negation false Presented in English this follows the logic that since two things are both false it is also false that either of them is true Working in the opposite direction the second expression asserts that A is false and B is false or equivalently that not A and not B are true Knowing this a disjunction of A and B must be false also The negation of said disjunction must thus be true and the result is identical to the first claim Negation of a conjunction edit The application of De Morgan s theorem to conjunction is very similar to its application to a disjunction both in form and rationale Consider the following claim it is false that A and B are both true which is written as A B displaystyle neg A land B nbsp In order for this claim to be true either or both of A or B must be false for if they both were true then the conjunction of A and B would be true making its negation false Thus one at least or more of A and B must be false or equivalently one or more of not A and not B must be true This may be written directly as A B displaystyle neg A lor neg B nbsp Presented in English this follows the logic that since it is false that two things are both true at least one of them must be false Working in the opposite direction again the second expression asserts that at least one of not A and not B must be true or equivalently that at least one of A and B must be false Since at least one of them must be false then their conjunction would likewise be false Negating said conjunction thus results in a true expression and this expression is identical to the first claim Formal proof editHere we use A displaystyle overline A nbsp to denote the complement of A as above in Set theory and Boolean algebra The proof that A B A B displaystyle overline A cap B overline A cup overline B nbsp is completed in 2 steps by proving both A B A B displaystyle overline A cap B subseteq overline A cup overline B nbsp and A B A B displaystyle overline A cup overline B subseteq overline A cap B nbsp Part 1 edit Let x A B displaystyle x in overline A cap B nbsp Then x A B displaystyle x not in A cap B nbsp Because A B y y A y B displaystyle A cap B y y in A wedge y in B nbsp it must be the case that x A displaystyle x not in A nbsp or x B displaystyle x not in B nbsp If x A displaystyle x not in A nbsp then x A displaystyle x in overline A nbsp so x A B displaystyle x in overline A cup overline B nbsp Similarly if x B displaystyle x not in B nbsp then x B displaystyle x in overline B nbsp so x A B displaystyle x in overline A cup overline B nbsp Thus x x A B x A B displaystyle forall x Big x in overline A cap B implies x in overline A cup overline B Big nbsp that is A B A B displaystyle overline A cap B subseteq overline A cup overline B nbsp Part 2 edit To prove the reverse direction let x A B displaystyle x in overline A cup overline B nbsp and for contradiction assume x A B displaystyle x not in overline A cap B nbsp Under that assumption it must be the case that x A B displaystyle x in A cap B nbsp so it follows that x A displaystyle x in A nbsp and x B displaystyle x in B nbsp and thus x A displaystyle x not in overline A nbsp and x B displaystyle x not in overline B nbsp However that means x A B displaystyle x not in overline A cup overline B nbsp in contradiction to the hypothesis that x A B displaystyle x in overline A cup overline B nbsp therefore the assumption x A B displaystyle x not in overline A cap B nbsp must not be the case meaning that x A B displaystyle x in overline A cap B nbsp Hence x x A B x A B displaystyle forall x Big x in overline A cup overline B implies x in overline A cap B Big nbsp that is A B A B displaystyle overline A cup overline B subseteq overline A cap B nbsp Conclusion edit If A B A B displaystyle overline A cup overline B subseteq overline A cap B nbsp and A B A B displaystyle overline A cap B subseteq overline A cup overline B nbsp then A B A B displaystyle overline A cap B overline A cup overline B nbsp this concludes the proof of De Morgan s law The other De Morgan s law A B A B displaystyle overline A cup B overline A cap overline B nbsp is proven similarly Generalising De Morgan duality edit nbsp De Morgan s Laws represented as a circuit with logic gates International Electrotechnical Commission diagrams In extensions of classical propositional logic the duality still holds that is to any logical operator one can always find its dual since in the presence of the identities governing negation one may always introduce an operator that is the De Morgan dual of another This leads to an important property of logics based on classical logic namely the existence of negation normal forms any formula is equivalent to another formula where negations only occur applied to the non logical atoms of the formula The existence of negation normal forms drives many applications for example in digital circuit design where it is used to manipulate the types of logic gates and in formal logic where it is needed to find the conjunctive normal form and disjunctive normal form of a formula Computer programmers use them to simplify or properly negate complicated logical conditions They are also often useful in computations in elementary probability theory Let one define the dual of any propositional operator P p q depending on elementary propositions p q to be the operator P d displaystyle mbox P d nbsp defined by P d p q P p q displaystyle mbox P d p q neg P neg p neg q dots nbsp Extension to predicate and modal logic editThis duality can be generalised to quantifiers so for example the universal quantifier and existential quantifier are duals x P x x P x displaystyle forall x P x equiv neg exists x neg P x nbsp x P x x P x displaystyle exists x P x equiv neg forall x neg P x nbsp To relate these quantifier dualities to the De Morgan laws set up a model with some small number of elements in its domain D such as D a b c Then x P x P a P b P c displaystyle forall x P x equiv P a land P b land P c nbsp and x P x P a P b P c displaystyle exists x P x equiv P a lor P b lor P c nbsp But using De Morgan s laws P a P b P c P a P b P c displaystyle P a land P b land P c equiv neg neg P a lor neg P b lor neg P c nbsp and P a P b P c P a P b P c displaystyle P a lor P b lor P c equiv neg neg P a land neg P b land neg P c nbsp verifying the quantifier dualities in the model Then the quantifier dualities can be extended further to modal logic relating the box necessarily and diamond possibly operators p p displaystyle Box p equiv neg Diamond neg p nbsp p p displaystyle Diamond p equiv neg Box neg p nbsp In its application to the alethic modalities of possibility and necessity Aristotle observed this case and in the case of normal modal logic the relationship of these modal operators to the quantification can be understood by setting up models using Kripke semantics In intuitionistic logic editThree out of the four implications of de Morgan s laws hold in intuitionistic logic Specifically we have P Q P Q displaystyle neg P lor Q leftrightarrow big neg P land neg Q big nbsp and P Q P Q displaystyle big neg P lor neg Q big to neg P land Q nbsp The converse of the last implication does not hold in pure intuitionistic logic That is the failure of the joint proposition P Q displaystyle P land Q nbsp cannot necessarily be resolved to the failure of either of the two conjuncts For example from knowing it not to be the case that both Alice and Bob showed up to their date it does not follow who did not show up The latter principle is equivalent to the principle of the weak excluded middle W P E M displaystyle mathrm WPEM nbsp P P displaystyle neg P lor neg neg P nbsp This weak form can be used as a foundation for an intermediate logic For a refined version of the failing law concerning existential statements see the lesser limited principle of omniscience L L P O displaystyle mathrm LLPO nbsp which however is different from W L P O displaystyle mathrm WLPO nbsp The validity of the other three De Morgan s laws remains true if negation P displaystyle neg P nbsp is replaced by implication P C displaystyle P to C nbsp for some arbitrary constant predicate C meaning that the above laws are still true in minimal logic Similarly to the above the quantifier laws x P x x P x displaystyle forall x neg P x leftrightarrow neg exists x P x nbsp and x P x x P x displaystyle exists x neg P x to neg forall x P x nbsp are tautologies even in minimal logic with negation replaced with implying a fixed Q displaystyle Q nbsp while the converse of the last law does not have to be true in general Further one still has P Q P Q displaystyle P lor Q to neg big neg P land neg Q big nbsp P Q P Q displaystyle P land Q to neg big neg P lor neg Q big nbsp x P x x P x displaystyle forall x P x to neg exists x neg P x nbsp x P x x P x displaystyle exists x P x to neg forall x neg P x nbsp but their inversion implies excluded middle P E M displaystyle mathrm PEM nbsp In computer engineering editDe Morgan s laws are widely used in computer engineering and digital logic for the purpose of simplifying circuit designs citation needed See also editIsomorphism NOT operator as isomorphism between positive logic and negative logic List of Boolean algebra topics List of set identities and relations Positive logicReferences edit Copi Irving M Cohen Carl McMahon Kenneth 2016 Introduction to Logic doi 10 4324 9781315510897 ISBN 9781315510880 Hurley Patrick J 2015 A Concise Introduction to Logic 12th ed Cengage Learning ISBN 978 1 285 19654 1 Moore Brooke Noel 2012 Critical thinking Richard Parker 10th ed New York McGraw Hill ISBN 978 0 07 803828 0 OCLC 689858599 DeMorgan s sic Theorem Kashef Arman 2023 In Quest of Univeral Logic A brief overview of formal logic s evolution doi 10 13140 RG 2 2 24043 82724 1 Boolean Algebra by R L Goodstein ISBN 0 486 45894 6 2000 Solved Problems in Digital Electronics by S P Bali DeMorgan s Theorems Middle Tennessee State University Archived from the original on 2008 03 23 Bochenski s History of Formal Logic William of Ockham Summa Logicae part II sections 32 and 33 Jean Buridan Summula de Dialectica Trans Gyula Klima New Haven Yale University Press 2001 See especially Treatise 1 Chapter 7 Section 5 ISBN 0 300 08425 0 Robert H Orr Augustus De Morgan 1806 1871 Indiana University Purdue University Indianapolis Archived from the original on 2010 07 15 External links edit Duality principle Encyclopedia of Mathematics EMS Press 2001 1994 Weisstein Eric W de Morgan s Laws MathWorld de Morgan s laws at PlanetMath Duality in Logic and Language Internet Encyclopedia of Philosophy Retrieved from https en wikipedia org w index php title De Morgan 27s laws amp oldid 1223656874, wikipedia, wiki, book, books, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.