Nor
Details
- Nor[e1,e2,…] can be input in StandardForm and InputForm as
. 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
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 all close allBasic Examples (2)
Scope (4)
Nor with explicit True or False arguments will simplify:
Nor[x, True, z]Nor[x, False, z]Nor evaluates its arguments in order, stopping when an argument evaluates to True:
Nor[Print[1];True, Print[2];True]Nor[Print[1];False, Print[2];True]Symbolic transformations may not preserve argument ordering or Nor operations:
z⊽!x⊽!ySimplify[%]TraditionalForm formatting:
Nor[x, y, z]//TraditionalFormApplications (4)
Find the Nor of two regions:
RegionPlot[Nor[x ^ 2 + y ^ 2 < 1, x + y > 0], {x, -2, 2}, {y, -2, 2}]A cellular automaton based on Nor:
ArrayPlot[Boole[CellularAutomaton[{Nor@@#&, {}}, RandomChoice[{True, False}, 40], 20]]]Simplify trees involving Nor:
NestList[Nor[#, #]&, p, 4]Simplify[%]Find the area of the complement of the union of sets given by algebraic conditions:
Integrate[Boole[Nor[x ^ 2 + y ^ 2 < 1, (x - 1) ^ 2 + y ^ 2 < 2]], {x, -3 / 2, 5 / 2}, {y, -2, 2}]RegionPlot[Nor[x ^ 2 + y ^ 2 < 1, (x - 1) ^ 2 + y ^ 2 < 2], {x, -3 / 2, 5 / 2}, {y, -2, 2}]Properties & Relations (6)
Truth table for binary Nor:
BooleanTable[{x, y, Nor[x, y]}, {x, y}]//GridTernary Nor:
BooleanTable[{x, y, z, Nor[x, y, z]}, {x, y, z}]//GridNor[]Nor with a single argument will return the negated argument regardless of value:
Nor[2 + 2]Use BooleanConvert to expand in terms of And and Not:
BooleanConvert[Nor[p, q, r]]The negation of Nor is equivalent to Or:
BooleanConvert[!Nor[p, q, r]]Nor of conditions in Boole functions:
Boole[Nor[a, b, c]] - (1 - Boole[a])(1 - Boole[b])(1 - Boole[c])Simplify[%]See Also
BooleanConvert LogicalExpand Or Xor Nand Xnor Not BooleanCountingFunction
Characters: \[Nor]
Tech Notes
Related Guides
Related Links
History
Introduced in 2000 (4.1)
Text
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.
APA
Wolfram Language. (2000). Nor. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Nor.html
BibTeX
@misc{reference.wolfram_2026_nor, author="Wolfram Research", title="{Nor}", year="2000", howpublished="\url{https://reference.wolfram.com/language/ref/Nor.html}", note=[Accessed: 12-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_nor, organization={Wolfram Research}, title={Nor}, year={2000}, url={https://reference.wolfram.com/language/ref/Nor.html}, note=[Accessed: 12-June-2026]}