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) |
| Type | Rule of inference |
|---|---|
| Field | Predicate logic |
| Statement | Suppose is true of any arbitrarily selected, then is true of everything. |
| Symbolic statement | , |
Inpredicate logic,generalization (alsouniversal generalization,universal introduction,[1][2][3]GEN,UG) is avalidinference rule. It states that if has been derived, then can be derived.
The full generalization rule allows for hypotheses to the left of theturnstile, 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:
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).
Prove: is derivable from and.
Proof:
| Step | Formula | Justification |
|---|---|---|
| 1 | Hypothesis | |
| 2 | Hypothesis | |
| 3 | From (1) byUniversal instantiation | |
| 4 | From (1) and (3) byModus ponens | |
| 5 | From (2) byUniversal instantiation | |
| 6 | From (2) and (5) byModus ponens | |
| 7 | From (6) and (4) byModus ponens | |
| 8 | From (7) by Generalization | |
| 9 | Summary of (1) through (8) | |
| 10 | From (9) byDeduction theorem | |
| 11 | 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.