WOLFRAM

Nor[e1,e2,]

is the logical NOR function. It evaluates its arguments in order, giving False immediately if any of them are True, and True if they are all False.

Details

  • Nor[e1,e2,] can be input in StandardForm and InputForm as e_(1) nor e_(2) nor .... The character can be entered as nor or \[Nor]. »
  • Nor[e1,e2,] is equivalent to Not[Or[e1,e2,]]. »
  • Nor has attribute HoldAll, and explicitly controls the evaluation of its arguments. In Nor[e1,e2,] the e_(i) are evaluated in order, stopping if any one of them is found to be True. »
  • Nor gives symbolic results when necessary, removing initial arguments that are False.
  • Nor is not Flat.

Examples

open allclose all

Basic Examples  (2)Summary of the most common use cases

Out[1]=1

Enter using nor:

Out[1]=1

Scope  (4)Survey of the scope of standard use cases

Nor with explicit True or False arguments will simplify:

Out[1]=1
Out[2]=2

Nor evaluates its arguments in order, stopping when an argument evaluates to True:

Out[1]=1
Out[2]=2

Symbolic transformations may not preserve argument ordering or Nor operations:

Out[1]=1
Out[2]=2

TraditionalForm formatting:

Applications  (4)Sample problems that can be solved with this function

Find the Nor of two regions:

Out[1]=1

A cellular automaton based on Nor:

Out[1]=1

Simplify trees involving Nor:

Out[1]=1
Out[2]=2

Find the area of the complement of the union of sets given by algebraic conditions:

Out[1]=1

This shows the set:

Out[2]=2

Properties & Relations  (6)Properties of the function, and connections to other functions

Truth table for binary Nor:

Out[1]=1

Ternary Nor:

Out[3]=3

Zero-argument Nor is True:

Out[1]=1

Nor with a single argument will return the negated argument regardless of value:

Out[1]=1

Use BooleanConvert to expand in terms of And and Not:

Out[1]=1

The negation of Nor is equivalent to Or:

Out[1]=1

Nor of conditions in Boole functions:

Out[1]=1
Out[2]=2
Wolfram Research (2000), Nor, Wolfram Language function, https://reference.wolfram.com/language/ref/Nor.html.
Wolfram Research (2000), Nor, Wolfram Language function, https://reference.wolfram.com/language/ref/Nor.html.

Text

Wolfram Research (2000), Nor, Wolfram Language function, https://reference.wolfram.com/language/ref/Nor.html.

Wolfram Research (2000), Nor, Wolfram Language function, https://reference.wolfram.com/language/ref/Nor.html.

CMS

Wolfram Language. 2000. "Nor." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/Nor.html.

Wolfram Language. 2000. "Nor." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/Nor.html.

APA

Wolfram Language. (2000). Nor. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Nor.html

Wolfram Language. (2000). Nor. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Nor.html

BibTeX

@misc{reference.wolfram_2025_nor, author="Wolfram Research", title="{Nor}", year="2000", howpublished="\url{https://reference.wolfram.com/language/ref/Nor.html}", note=[Accessed: 29-April-2025 ]}

@misc{reference.wolfram_2025_nor, author="Wolfram Research", title="{Nor}", year="2000", howpublished="\url{https://reference.wolfram.com/language/ref/Nor.html}", note=[Accessed: 29-April-2025 ]}

BibLaTeX

@online{reference.wolfram_2025_nor, organization={Wolfram Research}, title={Nor}, year={2000}, url={https://reference.wolfram.com/language/ref/Nor.html}, note=[Accessed: 29-April-2025 ]}

@online{reference.wolfram_2025_nor, organization={Wolfram Research}, title={Nor}, year={2000}, url={https://reference.wolfram.com/language/ref/Nor.html}, note=[Accessed: 29-April-2025 ]}