Skip to content

Logic gates and Boolean operators: truth tables and symbols

The logic gates and operators the engine understands: truth tables for two, three and four inputs, every accepted spelling, and the precedence that decides how an unbracketed expression is read.

NOT, AND, OR, XOR, NAND, NOR and XNOR are the gates; implication and the biconditional are the operators propositional logic adds; TRUE and FALSE are the constants. Each page shows the tables the engine generated for the operator, the symbol every notation uses for it (AND, &&, ∧, ·), the plain-language reading at three levels, and the diagram of the gate.

Two pages carry most of the traffic of this section for a reason. The XOR page explains why a chain of three XORs is odd parity rather than “exactly one”, which is the single most common slip in rule writing. The precedence page shows how A OR B AND C is read (as A OR (B AND C)) and why the fully grouped form is worth asking for before you trust a formula.

Spanish readers will find both regional words on every gate page: compuertas lógicas, the usual term in Latin America, and puertas lógicas, the usual term in Spain.

Questions

Why does the engine accept NAND only in function form, NAND(A, B)?

An infix NAND has no agreed precedence and is not associative, so A NAND B NAND C would be ambiguous. The function form with exactly two operands removes the ambiguity, and the parser offers the repair when you type the infix form.

Where is the 3-input NAND table?

On the NAND page, as NOT (A AND B AND C): a NAND of three inputs is the negation of their conjunction, which is also how the engine writes it.

Related

Guides

Generated from the Tangibool engine, semantics tangibool-semantics/1, engine 1.0.0, build . Every table, map, simplification and verdict on these pages was computed by the Tangibool engine when the site was built, and every claim was re-checked by the same exact checker the app uses. Limits are stated where they apply. © 2026 Foreranger LTD.