Definition · applies to propositional variables · also called valuation, truth-value assignment, assignment of truth values

High school

Consider a statement built from letters $p, q, r, \dots$ that each stand for a whole statement, such as $p \land \neg q$ (“$p$ and not $q$”). A truth assignment gives each of the letters the value true or the value false.

Undergraduate (propositional logic)

Consider a set $V$ of propositional variables. A truth assignment on $V$ is a function

\[v : V \to \setdef{\text{true}, \text{false}}.\]

Examples

Non-examples
Things that may be mistaken for examples of this term.

  • The truth table of $p \land \neg q$ is not a truth assignment, because the truth table lists all four truth assignments on $p$ and $q$, one in each row, together with the truth value of $p \land \neg q$ under each one. A single truth assignment is one row of the table, such as $p$ true and $q$ false.

Properties

Notes

Some logic books call a truth assignment a valuation or an interpretation of the propositional variables.

A truth assignment gives truth values to variables that stand for whole statements. Giving a value to a variable that stands for an object, such as $x = 5$ in $x > 3$, is a different kind of assignment, used for predicates and first-order formulas.

All definitions · All distinctions · All examples · Notation