Fiveable

๐Ÿค”Proof Theory Unit 3 Review

QR code for Proof Theory practice questions

3.3 Quantifiers and their properties

3.3 Quantifiers and their properties

Written by the Fiveable Content Team โ€ข Last updated August 2025
Written by the Fiveable Content Team โ€ข Last updated August 2025
๐Ÿค”Proof Theory
Unit & Topic Study Guides

Quantifiers are powerful tools in first-order logic, allowing us to express statements about all or some elements in a domain. They come in two flavors: universal (โˆ€) for "all" and existential (โˆƒ) for "some."

Negating quantifiers flips their meaning, turning "all" into "some not" and "some" into "none." This property is crucial for understanding logical relationships and constructing valid arguments in first-order logic.

Quantifiers

Universal and Existential Quantifiers

  • Universal quantifier โˆ€\forall expresses that a formula holds for all values of a variable
    • Formally, โˆ€xP(x)\forall x P(x) means that P(x)P(x) is true for every possible value of xx in the domain
    • Can be read as "for all", "for every", or "for each" (โˆ€xโˆˆN,xโ‰ฅ0\forall x \in \mathbb{N}, x \geq 0 reads "for all natural numbers xx, xx is greater than or equal to 00")
  • Existential quantifier โˆƒ\exists expresses that a formula holds for at least one value of a variable
    • Formally, โˆƒxP(x)\exists x P(x) means that there exists at least one value of xx in the domain for which P(x)P(x) is true
    • Can be read as "there exists", "for some", or "there is at least one" (โˆƒxโˆˆR,x2=4\exists x \in \mathbb{R}, x^2 = 4 reads "there exists a real number xx such that xx squared equals 44")
Universal and Existential Quantifiers, symbols - Combine universal and existential quantfiers - TeX - LaTeX Stack Exchange

Quantifier Negation

  • Negation of a universally quantified formula โˆ€xP(x)\forall x P(x) is equivalent to an existentially quantified negation of the formula โˆƒxยฌP(x)\exists x \neg P(x)
    • ยฌ(โˆ€xP(x))โ‰กโˆƒxยฌP(x)\neg(\forall x P(x)) \equiv \exists x \neg P(x) (reads "not for all xx, P(x)P(x)" is equivalent to "there exists an xx such that not P(x)P(x)")
    • Example: ยฌ(โˆ€xโˆˆN,x>0)โ‰กโˆƒxโˆˆN,xโ‰ค0\neg(\forall x \in \mathbb{N}, x > 0) \equiv \exists x \in \mathbb{N}, x \leq 0 (reads "not all natural numbers are greater than 00" is equivalent to "there exists a natural number less than or equal to 00")
  • Negation of an existentially quantified formula โˆƒxP(x)\exists x P(x) is equivalent to a universally quantified negation of the formula โˆ€xยฌP(x)\forall x \neg P(x)
    • ยฌ(โˆƒxP(x))โ‰กโˆ€xยฌP(x)\neg(\exists x P(x)) \equiv \forall x \neg P(x) (reads "there does not exist an xx such that P(x)P(x)" is equivalent to "for all xx, not P(x)P(x)")
    • Example: ยฌ(โˆƒxโˆˆZ,x2=2)โ‰กโˆ€xโˆˆZ,x2โ‰ 2\neg(\exists x \in \mathbb{Z}, x^2 = 2) \equiv \forall x \in \mathbb{Z}, x^2 \neq 2 (reads "there does not exist an integer xx such that xx squared equals 22" is equivalent to "for all integers xx, xx squared does not equal 22")
Universal and Existential Quantifiers, ะ†ัั‚ะพั€ั–ั ะผะฐั‚ะตะผะฐั‚ะธั‡ะฝะธั… ะฟะพะทะฝะฐั‡ะตะฝัŒ โ€” ะ’ั–ะบั–ะฟะตะดั–ั

Quantifier Transformations

Quantifier Distribution and Elimination

  • Quantifier distribution refers to the rules for distributing quantifiers over logical connectives
    • โˆ€x(P(x)โˆงQ(x))โ‰ก(โˆ€xP(x))โˆง(โˆ€xQ(x))\forall x (P(x) \land Q(x)) \equiv (\forall x P(x)) \land (\forall x Q(x)) (universal quantifier distributes over conjunction)
    • โˆƒx(P(x)โˆจQ(x))โ‰ก(โˆƒxP(x))โˆจ(โˆƒxQ(x))\exists x (P(x) \lor Q(x)) \equiv (\exists x P(x)) \lor (\exists x Q(x)) (existential quantifier distributes over disjunction)
    • However, โˆ€x(P(x)โˆจQ(x))โ‰กฬธ(โˆ€xP(x))โˆจ(โˆ€xQ(x))\forall x (P(x) \lor Q(x)) \not\equiv (\forall x P(x)) \lor (\forall x Q(x)) and โˆƒx(P(x)โˆงQ(x))โ‰กฬธ(โˆƒxP(x))โˆง(โˆƒxQ(x))\exists x (P(x) \land Q(x)) \not\equiv (\exists x P(x)) \land (\exists x Q(x))
  • Quantifier elimination is the process of removing quantifiers from a formula while preserving its satisfiability
    • One approach is to replace the quantified variable with a constant that satisfies the formula, if such a constant exists
    • Example: โˆƒx(x>0โˆงโˆ€y(y>xโ†’y>1))\exists x (x > 0 \land \forall y (y > x \to y > 1)) can be simplified to โˆƒx(x>0โˆงx<1)\exists x (x > 0 \land x < 1) by eliminating the universal quantifier

Prenex Normal Form and Skolemization

  • Prenex normal form is a formula where all quantifiers appear at the beginning, followed by a quantifier-free matrix
    • Any formula can be converted to prenex normal form by applying quantifier distribution and renaming variables to avoid name clashes
    • Example: โˆ€xโˆƒy(P(x)โˆจQ(y))\forall x \exists y (P(x) \lor Q(y)) is in prenex normal form, while (โˆ€xP(x))โˆจ(โˆƒyQ(y))(\forall x P(x)) \lor (\exists y Q(y)) is not
  • Skolemization is a process of eliminating existential quantifiers from a formula in prenex normal form
    • Each existentially quantified variable is replaced by a Skolem function that depends on the universally quantified variables preceding it
    • The resulting formula is satisfiable if and only if the original formula is satisfiable
    • Example: โˆ€xโˆƒyP(x,y)\forall x \exists y P(x, y) can be Skolemized to โˆ€xP(x,f(x))\forall x P(x, f(x)), where ff is a Skolem function