![Universal generalization](https://www.english.nina.az/image-resize/1600/900/web/wikipedia.jpg)
This article includes a list of general references, but it lacks sufficient corresponding inline citations.(March 2023) |
In predicate logic, generalization (also universal generalization, universal introduction,GEN, UG) is a valid inference rule. It states that if has been derived, then can be derived.
Type | Rule of inference |
---|---|
Field | Predicate logic |
Statement | Suppose is true of any arbitrarily selected , then is true of everything. |
Symbolic statement | , |
Generalization with hypotheses
The full generalization rule allows for hypotheses to the left of the turnstile, but with restrictions. Assume is a set of formulas,
a formula, and
has been derived. The generalization rule states that
can be derived if
is not mentioned in
and
does not occur in
.
These restrictions are necessary for soundness. Without the first restriction, one could conclude from the hypothesis
. Without the second restriction, one could make the following deduction:
(Hypothesis)
(Existential instantiation)
(Existential instantiation)
(Faulty universal generalization)
This purports to show that which is an unsound deduction. Note that
is permissible if
is not mentioned in
(the second restriction need not apply, as the semantic structure of
is not being changed by the substitution of any variables).
Example of a proof
Prove: is derivable from
and
.
Proof:
Step | Formula | Justification |
---|---|---|
1 | Hypothesis | |
2 | Hypothesis | |
3 | From (1) by Universal instantiation | |
4 | From (1) and (3) by Modus ponens | |
5 | From (2) by Universal instantiation | |
6 | From (2) and (5) by Modus ponens | |
7 | From (6) and (4) by Modus ponens | |
8 | From (7) by Generalization | |
9 | Summary of (1) through (8) | |
10 | From (9) by Deduction theorem | |
11 | 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
- First-order logic
- Hasty generalization
- Universal instantiation
- Existential generalization
References
- Copi and Cohen
- Hurley
- Moore and Parker
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 In predicate logic generalization also universal generalization universal introduction GEN UG is a valid inference rule It states that if P x displaystyle vdash P x has been derived then xP x displaystyle vdash forall x P x can be derived Universal generalizationTypeRule of inferenceFieldPredicate logicStatementSuppose P displaystyle P is true of any arbitrarily selected p displaystyle p then P displaystyle P is true of everything Symbolic statement P x displaystyle vdash P x xP x displaystyle vdash forall x P x Generalization with hypothesesThe full generalization rule allows for hypotheses to the left of the turnstile but with restrictions Assume G displaystyle Gamma is a set of formulas f displaystyle varphi a formula and G f y displaystyle Gamma vdash varphi y has been derived The generalization rule states that G xf x displaystyle Gamma vdash forall x varphi x can be derived if y displaystyle y is not mentioned in G displaystyle Gamma and x displaystyle x does not occur in f displaystyle varphi These restrictions are necessary for soundness Without the first restriction one could conclude xP x displaystyle forall xP x from the hypothesis P y displaystyle P y Without the second restriction one could make the following deduction z w z w displaystyle exists z exists w z not w Hypothesis w y w displaystyle exists w y not w Existential instantiation y x displaystyle y not x Existential instantiation x x 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 which is an unsound deduction Note that G yf y displaystyle Gamma vdash forall y varphi y is permissible if y displaystyle y is not mentioned in G displaystyle Gamma the second restriction need not apply as the semantic structure of f y displaystyle varphi y is not being changed by the substitution of any variables Example of a proofProve 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 from x P x Q x displaystyle forall x P x rightarrow Q x and xP x displaystyle forall x P x Proof Step Formula Justification1 x P x Q x displaystyle forall x P x rightarrow Q x Hypothesis2 xP x displaystyle forall x P x Hypothesis3 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 by Universal instantiation4 P y Q y displaystyle P y rightarrow Q y From 1 and 3 by Modus ponens5 xP x P y displaystyle forall x P x rightarrow P y From 2 by Universal instantiation6 P y displaystyle P y From 2 and 5 by Modus ponens7 Q y displaystyle Q y From 6 and 4 by Modus ponens8 xQ x displaystyle forall x Q x From 7 by Generalization9 x 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 10 x 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 by Deduction theorem11 x 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 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 alsoFirst order logic Hasty generalization Universal instantiation Existential generalizationReferencesCopi and Cohen Hurley Moore and Parker