Jump to content
Wikipedia The Free Encyclopedia

Universal generalization

From Wikipedia, the free encyclopedia
Rule of inference in predicate logic
This article includes a list of general references, but it lacks sufficient corresponding inline citations . Please help to improve this article by introducing more precise citations. (March 2023) (Learn how and when to remove this message)
Universal generalization
TypeRule of inference
FieldPredicate logic
StatementSuppose P {\displaystyle P} {\displaystyle P} is true of any arbitrarily selected p {\displaystyle p} {\displaystyle p}, then P {\displaystyle P} {\displaystyle P} is true of everything.
Symbolic statement P ( x ) {\displaystyle \vdash \!P(x)} {\displaystyle \vdash \!P(x)}, x P ( x ) {\displaystyle \vdash \!\forall x,円P(x)} {\displaystyle \vdash \!\forall x,円P(x)}
Transformation rules
Propositional calculus
Rules of inference (List)
Rules of replacement
Predicate logic
Rules of inference

In predicate logic, generalization (also universal generalization, universal introduction,[1] [2] [3] GEN, UG) is a valid inference rule. It states that if P ( x ) {\displaystyle \vdash \!P(x)} {\displaystyle \vdash \!P(x)} has been derived, then x P ( x ) {\displaystyle \vdash \!\forall x,円P(x)} {\displaystyle \vdash \!\forall x,円P(x)} can be derived.

Generalization with hypotheses

[edit ]

The full generalization rule allows for hypotheses to the left of the turnstile, but with restrictions. Assume Γ {\displaystyle \Gamma } {\displaystyle \Gamma } is a set of formulas, φ {\displaystyle \varphi } {\displaystyle \varphi } a formula, and Γ φ ( y ) {\displaystyle \Gamma \vdash \varphi (y)} {\displaystyle \Gamma \vdash \varphi (y)} has been derived. The generalization rule states that Γ x φ ( x ) {\displaystyle \Gamma \vdash \forall x,円\varphi (x)} {\displaystyle \Gamma \vdash \forall x,円\varphi (x)} can be derived if y {\displaystyle y} {\displaystyle y} is not mentioned in Γ {\displaystyle \Gamma } {\displaystyle \Gamma } and x {\displaystyle x} {\displaystyle x} does not occur in φ {\displaystyle \varphi } {\displaystyle \varphi }.

These restrictions are necessary for soundness. Without the first restriction, one could conclude x P ( x ) {\displaystyle \forall xP(x)} {\displaystyle \forall xP(x)} from the hypothesis P ( y ) {\displaystyle P(y)} {\displaystyle P(y)}. Without the second restriction, one could make the following deduction:

  1. z w ( z w ) {\displaystyle \exists z,円\exists w,円(z\not =w)} {\displaystyle \exists z,円\exists w,円(z\not =w)} (Hypothesis)
  2. w ( y w ) {\displaystyle \exists w,円(y\not =w)} {\displaystyle \exists w,円(y\not =w)} (Existential instantiation)
  3. y x {\displaystyle y\not =x} {\displaystyle y\not =x} (Existential instantiation)
  4. x ( x x ) {\displaystyle \forall x,円(x\not =x)} {\displaystyle \forall x,円(x\not =x)} (Faulty universal generalization)

This purports to show that z w ( z w ) x ( x x ) , {\displaystyle \exists z,円\exists w,円(z\not =w)\vdash \forall x,円(x\not =x),} {\displaystyle \exists z,円\exists w,円(z\not =w)\vdash \forall x,円(x\not =x),} which is an unsound deduction. Note that Γ y φ ( y ) {\displaystyle \Gamma \vdash \forall y,円\varphi (y)} {\displaystyle \Gamma \vdash \forall y,円\varphi (y)} is permissible if y {\displaystyle y} {\displaystyle y} is not mentioned in Γ {\displaystyle \Gamma } {\displaystyle \Gamma } (the second restriction need not apply, as the semantic structure of φ ( y ) {\displaystyle \varphi (y)} {\displaystyle \varphi (y)} is not being changed by the substitution of any variables).

Example of a proof

[edit ]

Prove: x ( P ( x ) Q ( x ) ) ( x P ( x ) x Q ( x ) ) {\displaystyle \forall x,円(P(x)\rightarrow Q(x))\rightarrow (\forall x,円P(x)\rightarrow \forall x,円Q(x))} {\displaystyle \forall x,円(P(x)\rightarrow Q(x))\rightarrow (\forall x,円P(x)\rightarrow \forall x,円Q(x))} is derivable from x ( P ( x ) Q ( x ) ) {\displaystyle \forall x,円(P(x)\rightarrow Q(x))} {\displaystyle \forall x,円(P(x)\rightarrow Q(x))} and x P ( x ) {\displaystyle \forall x,円P(x)} {\displaystyle \forall x,円P(x)}.

Proof:

Step Formula Justification
1 x ( P ( x ) Q ( x ) ) {\displaystyle \forall x,円(P(x)\rightarrow Q(x))} {\displaystyle \forall x,円(P(x)\rightarrow Q(x))} Hypothesis
2 x P ( x ) {\displaystyle \forall x,円P(x)} {\displaystyle \forall x,円P(x)} Hypothesis
3 ( x ( P ( x ) Q ( x ) ) ) ( P ( y ) Q ( y ) ) {\displaystyle (\forall x,円(P(x)\rightarrow Q(x)))\rightarrow (P(y)\rightarrow Q(y))} {\displaystyle (\forall x,円(P(x)\rightarrow Q(x)))\rightarrow (P(y)\rightarrow Q(y))} From (1) by Universal instantiation
4 P ( y ) Q ( y ) {\displaystyle P(y)\rightarrow Q(y)} {\displaystyle P(y)\rightarrow Q(y)} From (1) and (3) by Modus ponens
5 ( x P ( x ) ) P ( y ) {\displaystyle (\forall x,円P(x))\rightarrow P(y)} {\displaystyle (\forall x,円P(x))\rightarrow P(y)} From (2) by Universal instantiation
6 P ( y )   {\displaystyle P(y)\ } {\displaystyle P(y)\ } From (2) and (5) by Modus ponens
7 Q ( y )   {\displaystyle Q(y)\ } {\displaystyle Q(y)\ } From (6) and (4) by Modus ponens
8 x Q ( x ) {\displaystyle \forall x,円Q(x)} {\displaystyle \forall x,円Q(x)} From (7) by Generalization
9 x ( P ( x ) Q ( x ) ) , x P ( x ) x Q ( x ) {\displaystyle \forall x,円(P(x)\rightarrow Q(x)),\forall x,円P(x)\vdash \forall x,円Q(x)} {\displaystyle \forall x,円(P(x)\rightarrow Q(x)),\forall x,円P(x)\vdash \forall x,円Q(x)} Summary of (1) through (8)
10 x ( P ( x ) Q ( x ) ) x P ( x ) x Q ( x ) {\displaystyle \forall x,円(P(x)\rightarrow Q(x))\vdash \forall x,円P(x)\rightarrow \forall x,円Q(x)} {\displaystyle \forall x,円(P(x)\rightarrow Q(x))\vdash \forall x,円P(x)\rightarrow \forall x,円Q(x)} From (9) by Deduction theorem
11 x ( P ( x ) Q ( x ) ) ( x P ( x ) x Q ( x ) ) {\displaystyle \vdash \forall x,円(P(x)\rightarrow Q(x))\rightarrow (\forall x,円P(x)\rightarrow \forall x,円Q(x))} {\displaystyle \vdash \forall x,円(P(x)\rightarrow Q(x))\rightarrow (\forall x,円P(x)\rightarrow \forall x,円Q(x))} From (10) by Deduction theorem

In this proof, universal generalization was used in step 8. The deduction theorem was applicable in steps 10 and 11 because the formulas being moved have no free variables.

See also

[edit ]

References

[edit ]
  1. ^ Copi and Cohen
  2. ^ Hurley
  3. ^ Moore and Parker

AltStyle によって変換されたページ (->オリジナル) /