This site is supported by donations to The OEIS Foundation.

# Logical NNOR

Logical NNOR (“Neither Nor”) is an operation on two logical values, typically the values of two propositions, that produces a value of true if and only if both of its operands are false.  In other words, it produces a value of false if and only if at least one of its operands is true.

A logical NNOR of propositions ${\displaystyle p}$ and ${\displaystyle q}$ may be written in various ways.  Among the most common are these:

• ${\displaystyle p\curlywedge q}$
• ${\displaystyle p~{\bar {\lor }}~q}$
• ${\displaystyle p\downarrow q}$

A truth table for ${\displaystyle p\curlywedge q}$ appears below:

 ${\displaystyle p}$ ${\displaystyle q}$ ${\displaystyle p\curlywedge q}$ ${\displaystyle \mathrm {F} }$ ${\displaystyle \mathrm {F} }$ ${\displaystyle \mathrm {T} }$ ${\displaystyle \mathrm {F} }$ ${\displaystyle \mathrm {T} }$ ${\displaystyle \mathrm {F} }$ ${\displaystyle \mathrm {T} }$ ${\displaystyle \mathrm {F} }$ ${\displaystyle \mathrm {F} }$ ${\displaystyle \mathrm {T} }$ ${\displaystyle \mathrm {T} }$ ${\displaystyle \mathrm {F} }$

A logical graph for ${\displaystyle p\curlywedge q}$ is shown below:

The traversal string of this graph is ${\displaystyle {\texttt {(}}p{\texttt {)(}}q{\texttt {)}}.}$  The proposition ${\displaystyle p\curlywedge q}$ may be taken as a Boolean function ${\displaystyle f(p,q)}$ having the abstract type ${\displaystyle f:\mathbb {B} \times \mathbb {B} \to \mathbb {B} ,}$ where ${\displaystyle \mathbb {B} =\{0,1\}}$ is interpreted in such a way that ${\displaystyle 0}$ means ${\displaystyle \mathrm {false} }$ and ${\displaystyle 1}$ means ${\displaystyle \mathrm {true} .}$

A Venn diagram for ${\displaystyle p\curlywedge q}$ indicates the region where ${\displaystyle p\curlywedge q}$ is true by means of a distinctive color or shading.  In this case the region is a single cell, as shown below:

## Document history

Portions of the above article were adapted from the following sources under the GNU Free Documentation License, under other applicable licenses, or by permission of the copyright holders.