Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Universal generalization

From Wikipedia, the free encyclopedia
Rule of inference in predicate logic
This article includes a list ofgeneral references, butit lacks sufficient correspondinginline citations. Please help toimprove this article byintroducing more precise citations.(March 2023) (Learn how and when to remove this message)
Universal generalization
TypeRule of inference
FieldPredicate logic
StatementSupposeP{\displaystyle P} is true of any arbitrarily selectedp{\displaystyle p}, thenP{\displaystyle P} is true of everything.
Symbolic statementP(x){\displaystyle \vdash \!P(x)},xP(x){\displaystyle \vdash \!\forall x\,P(x)}
Transformation rules
Propositional calculus
Rules of inference (List)
Rules of replacement
Predicate logic
Rules of inference

Inpredicate logic,generalization (alsouniversal generalization,universal introduction,[1][2][3]GEN,UG) is avalidinference rule. It states that ifP(x){\displaystyle \vdash \!P(x)} has been derived, thenxP(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 theturnstile, but with restrictions. AssumeΓ{\displaystyle \Gamma } is a set of formulas,φ{\displaystyle \varphi } a formula, andΓφ(y){\displaystyle \Gamma \vdash \varphi (y)} has been derived. The generalization rule states thatΓxφ(x){\displaystyle \Gamma \vdash \forall x\,\varphi (x)} can be derived ify{\displaystyle y} is not mentioned inΓ{\displaystyle \Gamma } andx{\displaystyle x} does not occur inφ{\displaystyle \varphi }.

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

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

This purports to show thatzw(zw)x(xx),{\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)} is permissible ify{\displaystyle y} is not mentioned inΓ{\displaystyle \Gamma } (the second restriction need not apply, as the semantic structure ofφ(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))(xP(x)xQ(x)){\displaystyle \forall x\,(P(x)\rightarrow Q(x))\rightarrow (\forall x\,P(x)\rightarrow \forall x\,Q(x))} is derivable fromx(P(x)Q(x)){\displaystyle \forall x\,(P(x)\rightarrow Q(x))} andxP(x){\displaystyle \forall x\,P(x)}.

Proof:

StepFormulaJustification
1x(P(x)Q(x)){\displaystyle \forall x\,(P(x)\rightarrow Q(x))}Hypothesis
2xP(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))}From (1) byUniversal instantiation
4P(y)Q(y){\displaystyle P(y)\rightarrow Q(y)}From (1) and (3) byModus ponens
5(xP(x))P(y){\displaystyle (\forall x\,P(x))\rightarrow P(y)}From (2) byUniversal instantiation
6P(y) {\displaystyle P(y)\ }From (2) and (5) byModus ponens
7Q(y) {\displaystyle Q(y)\ }From (6) and (4) byModus ponens
8xQ(x){\displaystyle \forall x\,Q(x)}From (7) by Generalization
9x(P(x)Q(x)),xP(x)xQ(x){\displaystyle \forall x\,(P(x)\rightarrow Q(x)),\forall x\,P(x)\vdash \forall x\,Q(x)}Summary of (1) through (8)
10x(P(x)Q(x))xP(x)xQ(x){\displaystyle \forall x\,(P(x)\rightarrow Q(x))\vdash \forall x\,P(x)\rightarrow \forall x\,Q(x)}From (9) byDeduction theorem
11x(P(x)Q(x))(xP(x)xQ(x)){\displaystyle \vdash \forall x\,(P(x)\rightarrow Q(x))\rightarrow (\forall x\,P(x)\rightarrow \forall x\,Q(x))}From (10) byDeduction theorem

In this proof, universal generalization was used in step 8. Thededuction 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
Retrieved from "https://en.wikipedia.org/w/index.php?title=Universal_generalization&oldid=1316812016"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp