
In Boolean logic, logical NOR, non-disjunction, or joint denial is a truth-functional operator which produces a result that is the negation of logical or. That is, a sentence of the form (p NOR q) is true precisely when neither p nor q is true—i.e. when both p and q are false. It is logically equivalent to and , where the symbol signifies logical negation, signifies OR, and signifies AND.
NOR | |
---|---|
![]() | |
Definition | |
Truth table | |
Logic gate | ![]() |
Normal forms | |
Disjunctive | |
Conjunctive | |
Zhegalkin polynomial | |
Post's lattices | |
0-preserving | no |
1-preserving | no |
Monotone | no |
Affine | no |
Self-dual | no |
Non-disjunction is usually denoted as or or (prefix) or .
As with its dual, the NAND operator (also known as the Sheffer stroke—symbolized as either , or ), NOR can be used by itself, without any other logical operator, to constitute a logical formal system (making NOR functionally complete).
The computer used in the spacecraft that first carried humans to the moon, the Apollo Guidance Computer, was constructed entirely using NOR gates with three inputs.
Definition
The NOR operation is a logical operation on two logical values, typically the values of two propositions, that produces a value of true if and only if both operands are false. In other words, it produces a value of false if and only if at least one operand is true.
Truth table
The truth table of is as follows:
F | F | T |
F | T | F |
T | F | F |
T | T | F |
Logical equivalences
The logical NOR is the negation of the disjunction:
| ||
|
Alternative notations and names
Peirce is the first to show the functional completeness of non-disjunction while he doesn't publish his result. Peirce used for non-conjunction and
for non-disjunction (in fact, what Peirce himself used is
and he didn't introduce
while Peirce's editors made such disambiguated use). Peirce called
the ampheck (from Ancient Greek ἀμφήκης, amphēkēs, "cutting both ways").
In 1911, , the Stamm hook), and non-disjunction (using
, the Stamm star), and showed their functional completeness. Note that most uses in logical notation of
use this for negation.
In 1913, Sheffer described non-disjunction and showed its functional completeness. Sheffer used for non-conjunction, and
for non-disjunction.
In 1935, described non-disjunction for -valued logic, and use
for the operator. So some people call it Webb operator,Webb operation or Webb function.
In 1940, Quine also described non-disjunction and use for the operator. So some people call the operator Peirce arrow or Quine dagger.
In 1944, Church also described non-disjunction and use for the operator.
In 1954, Bocheński used in
for non-disjunction in Polish notation.
Properties
NOR is commutative but not associative, which means that but
.
Functional completeness
The logical NOR, taken by itself, is a functionally complete set of connectives. This can be proved by first showing, with a truth table, that is truth-functionally equivalent to
. Then, since
is truth-functionally equivalent to
, and
is equivalent to
, the logical NOR suffices to define the set of connectives
, which is shown to be truth-functionally complete by the Disjunctive Normal Form Theorem.
This may also be seen from the fact that Logical NOR does not possess any of the five qualities (truth-preserving, false-preserving, linear, monotonic, self-dual) required to be absent from at least one member of a set of functionally complete operators.
Other Boolean operations in terms of the logical NOR
NOR has the interesting feature that all other logical operators can be expressed by interlaced NOR operations. The logical NAND operator also has this ability.
Expressed in terms of NOR , the usual operators of propositional logic are:
|
| |||||||||||||||||||||
|
|
See also
- Bitwise NOR
- Boolean algebra
- Boolean domain
- Boolean function
- Functional completeness
- NOR gate
- Propositional logic
- Sole sufficient operator
- Sheffer stroke as symbol for the logical NAND
References
- Howson, Colin (1997). Logic with trees: an introduction to symbolic logic. London; New York: Routledge. p. 43. ISBN 978-0-415-13342-5.
- Hall, Eldon C. (1996). Journey to the Moon: The History of the Apollo Guidance Computer. Reston, Virginia, USA: American Institute of Aeronautics and Astronautics. p. 196. ISBN 1-56347-185-X.
- Peirce, C. S. (1933) [1880]. "A Boolian Algebra with One Constant". In Hartshorne, C.; Weiss, P. (eds.). Collected Papers of Charles Sanders Peirce, Volume IV The Simplest Mathematics. Massachusetts: Harvard University Press. pp. 13–18.
- Peirce, C. S. (1933) [1902]. "The Simplest Mathematics". In Hartshorne, C.; Weiss, P. (eds.). Collected Papers of Charles Sanders Peirce, Volume IV The Simplest Mathematics. Massachusetts: Harvard University Press. pp. 189–262.
- Stamm, Edward Bronisław [in Polish] (1911). "Beitrag zur Algebra der Logik". Monatshefte für Mathematik und Physik (in German). 22 (1): 137–149. doi:10.1007/BF01742795. S2CID 119816758.
- Zach, R. (2023-02-18). "Sheffer stroke before Sheffer: Edward Stamm". Retrieved 2023-07-02.
- Webb, Donald Loomis (May 1935). "Generation of any n-valued logic by one binary operation". Proceedings of the National Academy of Sciences. 21 (5). USA: National Academy of Sciences: 252–254. Bibcode:1935PNAS...21..252W. doi:10.1073/pnas.21.5.252. PMC 1076579. PMID 16577665.
- Vasyukevich, Vadim O. (2011). "1.10 Venjunctive Properties (Basic Formulae)". Written at Riga, Latvia. Asynchronous Operators of Sequential Logic: Venjunction & Sequention — Digital Circuits Analysis and Design. Lecture Notes in Electrical Engineering (LNEE). Vol. 101 (1st ed.). Berlin / Heidelberg, Germany: Springer-Verlag. p. 20. doi:10.1007/978-3-642-21611-4. ISBN 978-3-642-21610-7. ISSN 1876-1100. LCCN 2011929655. p. 20:
Historical background […] Logical operator NOR named Peirce arrow and also known as Webb-operation.
(xiii+1+123+7 pages) (NB. The back cover of this book erroneously states volume 4, whereas it actually is volume 101.) - Freimann, Michael; Renfro, Dave L.; Webb, Norman (2018-05-24) [2017-02-10]. "Who is Donald L. Webb?". History of Science and Mathematics. Stack Exchange. Archived from the original on 2023-05-18. Retrieved 2023-05-18.
- Quine, W. V (1981) [1940]. Mathematical Logic (Revised ed.). Cambridge, London, New York, New Rochelle, Melbourne and Sydney: Harvard University Press. p. 45.
- Church, A. (1996) [1944]. Introduction to Mathematical Logic. New Jersey: Princeton University Press. p. 37.
- Bocheński, J. M. (1954). Précis de logique mathématique (in French). Netherlands: F. G. Kroonder, Bussum, Pays-Bas. p. 11.
- Rao, G. Shanker (2006). Mathematical Foundations of Computer Science. I. K. International Pvt Ltd. p. 22. ISBN 978-81-88237-49-4.
- Smullyan, Raymond M. (1995). First-order logic. New York: Dover. pp. 5, 11, 14. ISBN 978-0-486-68370-6.
- Howson, Colin (1997). Logic with trees: an introduction to symbolic logic. London; New York: Routledge. pp. 41–43. ISBN 978-0-415-13342-5.
External links
Media related to Logical NOR at Wikimedia Commons
In Boolean logic logical NOR non disjunction or joint denial is a truth functional operator which produces a result that is the negation of logical or That is a sentence of the form p NOR q is true precisely when neither p nor q is true i e when both p and q are false It is logically equivalent to p q displaystyle neg p lor q and p q displaystyle neg p land neg q where the symbol displaystyle neg signifies logical negation displaystyle lor signifies OR and displaystyle land signifies AND Logical NORNORDefinitionx y displaystyle overline x y Truth table 0001 displaystyle 0001 Logic gateNormal formsDisjunctivex y displaystyle overline x cdot overline y Conjunctivex y displaystyle overline x cdot overline y Zhegalkin polynomial1 x y xy displaystyle 1 oplus x oplus y oplus xy Post s lattices0 preservingno1 preservingnoMonotonenoAffinenoSelf dualnovte Non disjunction is usually denoted as displaystyle downarrow or displaystyle overline vee or X displaystyle X prefix or NOR displaystyle operatorname NOR As with its dual the NAND operator also known as the Sheffer stroke symbolized as either displaystyle uparrow displaystyle mid or displaystyle NOR can be used by itself without any other logical operator to constitute a logical formal system making NOR functionally complete The computer used in the spacecraft that first carried humans to the moon the Apollo Guidance Computer was constructed entirely using NOR gates with three inputs DefinitionThe NOR operation is a logical operation on two logical values typically the values of two propositions that produces a value of true if and only if both operands are false In other words it produces a value of false if and only if at least one operand is true Truth table The truth table of A B displaystyle A downarrow B is as follows A displaystyle A B displaystyle B A B displaystyle A downarrow B FFTFTFTFFTTFLogical equivalences The logical NOR displaystyle downarrow is the negation of the disjunction P Q displaystyle P downarrow Q displaystyle Leftrightarrow P Q displaystyle neg P lor Q displaystyle Leftrightarrow displaystyle neg Alternative notations and namesPeirce is the first to show the functional completeness of non disjunction while he doesn t publish his result Peirce used displaystyle overline curlywedge for non conjunction and displaystyle curlywedge for non disjunction in fact what Peirce himself used is displaystyle curlywedge and he didn t introduce displaystyle overline curlywedge while Peirce s editors made such disambiguated use Peirce called displaystyle curlywedge the ampheck from Ancient Greek ἀmfhkhs amphekes cutting both ways In 1911 pl was the first to publish a description of both non conjunction using displaystyle sim the Stamm hook and non disjunction using displaystyle the Stamm star and showed their functional completeness Note that most uses in logical notation of displaystyle sim use this for negation In 1913 Sheffer described non disjunction and showed its functional completeness Sheffer used displaystyle mid for non conjunction and displaystyle wedge for non disjunction In 1935 described non disjunction for n displaystyle n valued logic and use displaystyle mid for the operator So some people call it Webb operator Webb operation or Webb function In 1940 Quine also described non disjunction and use displaystyle downarrow for the operator So some people call the operator Peirce arrow or Quine dagger In 1944 Church also described non disjunction and use displaystyle overline vee for the operator In 1954 Bochenski used X displaystyle X in Xpq displaystyle Xpq for non disjunction in Polish notation PropertiesNOR is commutative but not associative which means that P Q Q P displaystyle P downarrow Q leftrightarrow Q downarrow P but P Q R P Q R displaystyle P downarrow Q downarrow R not leftrightarrow P downarrow Q downarrow R Functional completeness The logical NOR taken by itself is a functionally complete set of connectives This can be proved by first showing with a truth table that A displaystyle neg A is truth functionally equivalent to A A displaystyle A downarrow A Then since A B displaystyle A downarrow B is truth functionally equivalent to A B displaystyle neg A lor B and A B displaystyle A lor B is equivalent to A B displaystyle neg neg A land neg B the logical NOR suffices to define the set of connectives displaystyle land lor neg which is shown to be truth functionally complete by the Disjunctive Normal Form Theorem This may also be seen from the fact that Logical NOR does not possess any of the five qualities truth preserving false preserving linear monotonic self dual required to be absent from at least one member of a set of functionally complete operators Other Boolean operations in terms of the logical NORNOR has the interesting feature that all other logical operators can be expressed by interlaced NOR operations The logical NAND operator also has this ability Expressed in terms of NOR displaystyle downarrow the usual operators of propositional logic are P displaystyle neg P displaystyle Leftrightarrow P P displaystyle P downarrow P displaystyle neg displaystyle Leftrightarrow P Q displaystyle P rightarrow Q displaystyle Leftrightarrow P P Q displaystyle Big P downarrow P downarrow Q Big displaystyle downarrow P P Q displaystyle Big P downarrow P downarrow Q Big displaystyle Leftrightarrow displaystyle downarrow P Q displaystyle P land Q displaystyle Leftrightarrow P P displaystyle P downarrow P displaystyle downarrow Q Q displaystyle Q downarrow Q displaystyle Leftrightarrow displaystyle downarrow P Q displaystyle P lor Q displaystyle Leftrightarrow P Q displaystyle P downarrow Q displaystyle downarrow P Q displaystyle P downarrow Q displaystyle Leftrightarrow displaystyle downarrow See alsoBitwise NOR Boolean algebra Boolean domain Boolean function Functional completeness NOR gate Propositional logic Sole sufficient operator Sheffer stroke as symbol for the logical NANDReferencesHowson Colin 1997 Logic with trees an introduction to symbolic logic London New York Routledge p 43 ISBN 978 0 415 13342 5 Hall Eldon C 1996 Journey to the Moon The History of the Apollo Guidance Computer Reston Virginia USA American Institute of Aeronautics and Astronautics p 196 ISBN 1 56347 185 X Peirce C S 1933 1880 A Boolian Algebra with One Constant In Hartshorne C Weiss P eds Collected Papers of Charles Sanders Peirce Volume IV The Simplest Mathematics Massachusetts Harvard University Press pp 13 18 Peirce C S 1933 1902 The Simplest Mathematics In Hartshorne C Weiss P eds Collected Papers of Charles Sanders Peirce Volume IV The Simplest Mathematics Massachusetts Harvard University Press pp 189 262 Stamm Edward Bronislaw in Polish 1911 Beitrag zur Algebra der Logik Monatshefte fur Mathematik und Physik in German 22 1 137 149 doi 10 1007 BF01742795 S2CID 119816758 Zach R 2023 02 18 Sheffer stroke before Sheffer Edward Stamm Retrieved 2023 07 02 Webb Donald Loomis May 1935 Generation of any n valued logic by one binary operation Proceedings of the National Academy of Sciences 21 5 USA National Academy of Sciences 252 254 Bibcode 1935PNAS 21 252W doi 10 1073 pnas 21 5 252 PMC 1076579 PMID 16577665 Vasyukevich Vadim O 2011 1 10 Venjunctive Properties Basic Formulae Written at Riga Latvia Asynchronous Operators of Sequential Logic Venjunction amp Sequention Digital Circuits Analysis and Design Lecture Notes in Electrical Engineering LNEE Vol 101 1st ed Berlin Heidelberg Germany Springer Verlag p 20 doi 10 1007 978 3 642 21611 4 ISBN 978 3 642 21610 7 ISSN 1876 1100 LCCN 2011929655 p 20 Historical background Logical operator NOR named Peirce arrow and also known as Webb operation xiii 1 123 7 pages NB The back cover of this book erroneously states volume 4 whereas it actually is volume 101 Freimann Michael Renfro Dave L Webb Norman 2018 05 24 2017 02 10 Who is Donald L Webb History of Science and Mathematics Stack Exchange Archived from the original on 2023 05 18 Retrieved 2023 05 18 Quine W V 1981 1940 Mathematical Logic Revised ed Cambridge London New York New Rochelle Melbourne and Sydney Harvard University Press p 45 Church A 1996 1944 Introduction to Mathematical Logic New Jersey Princeton University Press p 37 Bochenski J M 1954 Precis de logique mathematique in French Netherlands F G Kroonder Bussum Pays Bas p 11 Rao G Shanker 2006 Mathematical Foundations of Computer Science I K International Pvt Ltd p 22 ISBN 978 81 88237 49 4 Smullyan Raymond M 1995 First order logic New York Dover pp 5 11 14 ISBN 978 0 486 68370 6 Howson Colin 1997 Logic with trees an introduction to symbolic logic London New York Routledge pp 41 43 ISBN 978 0 415 13342 5 External linksMedia related to Logical NOR at Wikimedia Commons