Sets and Logic · Siblings

In logic, statements are combined with logical connectives such as “and” ($\land$), “or” ($\lor$), and “not” ($\neg$). A proposition is a particular statement that is true or false, such as “$7$ is prime.” A propositional formula is a pattern, such as $p \land \neg q$, built from propositional variables that stand for propositions, and the formula has a truth value only once each variable is assigned a truth value. Substituting a proposition for each variable in a propositional formula gives a proposition.

Definitions

proposition

Elementary

A proposition is a statement that is either true or false.

Examples
Non-examples
  • “$x > 3$”
    “$x > 3$” is not a proposition, because it is not true or false until $x$ is given.
  • $p \land \neg q$
    $p \land \neg q$ is not a proposition, because it is not true or false by itself—the truth value depends on the truth values of $p$ and $q$.

propositional formula

Undergraduate (logic)

A propositional formula is an expression built from propositional variables $p, q, r, \dots$ using logical connectives such as $\neg$, $\land$, $\lor$, and $\implies$. It has a truth value only once each variable is assigned true or false.

Examples
  • $p \land \neg q$
    $p \land \neg q$ is a propositional formula because its truth depends on the truth values of $p$ and $q$.
Non-examples

Examples

Example proposition propositional formula Why
“$7$ is prime” ✓✗
$p \land \neg q$ ✗✓
“$7$ is prime and $4$ is not prime” ✓✗ Substituting “$7$ is prime” for $p$ and “$4$ is prime” for $q$ in the formula $p \land \neg q$ gives the proposition “$7$ is prime and $4$ is not prime,” which is true.
Missing example: p_lor_neg_p

Notes

  • A propositional formula plays the same role for propositions that an algebraic expression such as $x + 1$ plays for numbers: the formula has a value only once its variables have values.

See also

All distinctions · All definitions