Definition · applies to logical systems · also called zeroth-order logic, zero-order logic, sentential logic

High school

Propositional logic is the logic of combining whole statements with words such as “not,” “and,” “or,” and “if … then,” without looking inside the statements. For example, propositional logic treats “$7$ is prime” as a single unit $p$, without seeing the number $7$ or the property “is prime.”

Undergraduate (logic)

Propositional logic is the formal system whose formulas are propositional formulas, built from propositional variables $p, q, r, \dots$ with logical connectives. The truth value of a formula is determined by a truth assignment, which gives each propositional variable the value true or false.

Examples

Worked examples

  • Value:

    Only a single unit $p$, with no access to $x$ or to $x^2 \geq 0$

    In propositional logic, $\forall x \, (x^2 \geq 0)$ can be represented only as a single propositional variable $p$, because propositional logic has no quantifiers and no variables for objects.
  • $p \land \neg q$ Undergraduate
    Value:

    A formula of propositional logic

    $p \land \neg q$ is a formula of propositional logic, because $p \land \neg q$ combines the propositional variables $p$ and $q$ with the connectives $\land$ and $\neg$.
  • Value:

    $p, \; q \;\therefore\; r$, which is not valid

    In propositional logic, the three statements of the Socrates argument are unrelated units $p$, $q$, and $r$, so the argument is not valid: the truth assignment with $p$ and $q$ true and $r$ false makes the premises true and the conclusion false.

Properties

All definitions · All distinctions · All examples · Notation