Universal generalization explained

Universal generalization
Type:Rule of inference
Field:Predicate logic
Statement:Suppose

P

is true of any arbitrarily selected

p

, then

P

is true of everything.
Symbolic Statement:

\vdashP(x)

,

\vdash\forallxP(x)

In predicate logic, generalization (also universal generalization, universal introduction,[1] [2] [3] GEN, UG) is a valid inference rule. It states that if

\vdashP(x)

has been derived, then

\vdash\forallxP(x)

can be derived.

Generalization with hypotheses

The full generalization rule allows for hypotheses to the left of the turnstile, but with restrictions. Assume

\Gamma

is a set of formulas,

\varphi

a formula, and

\Gamma\vdash\varphi(y)

has been derived. The generalization rule states that

\Gamma\vdash\forallx\varphi(x)

can be derived if

y

is not mentioned in

\Gamma

and

x

does not occur in

\varphi

.

These restrictions are necessary for soundness. Without the first restriction, one could conclude

\forallxP(x)

from the hypothesis

P(y)

. Without the second restriction, one could make the following deduction:

\existsz\existsw(z\not=w)

(Hypothesis)

\existsw(y\not=w)

(Existential instantiation)

y\not=x

(Existential instantiation)

\forallx(x\not=x)

(Faulty universal generalization)

This purports to show that

\existsz\existsw(z\not=w)\vdash\forallx(x\not=x),

which is an unsound deduction. Note that

\Gamma\vdash\forally\varphi(y)

is permissible if

y

is not mentioned in

\Gamma

(the second restriction need not apply, as the semantic structure of

\varphi(y)

is not being changed by the substitution of any variables).

Example of a proof

Prove:

\forallx(P(x)Q(x))(\forallxP(x)\forallxQ(x))

is derivable from

\forallx(P(x)Q(x))

and

\forallxP(x)

.

Proof:

StepFormulaJustification
1

\forallx(P(x)Q(x))

Hypothesis
2

\forallxP(x)

Hypothesis
3

(\forallx(P(x)Q(x)))(P(y)Q(y))

From (1) by Universal instantiation
4

P(y)Q(y)

From (1) and (3) by Modus ponens
5

(\forallxP(x))P(y)

From (2) by Universal instantiation
6

P(y)

From (2) and (5) by Modus ponens
7

Q(y)

From (6) and (4) by Modus ponens
8

\forallxQ(x)

From (7) by Generalization
9

\forallx(P(x)Q(x)),\forallxP(x)\vdash\forallxQ(x)

Summary of (1) through (8)
10

\forallx(P(x)Q(x))\vdash\forallxP(x)\forallxQ(x)

From (9) by Deduction theorem
11

\vdash\forallx(P(x)Q(x))(\forallxP(x)\forallxQ(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

Notes and References

  1. Copi and Cohen
  2. Hurley
  3. Moore and Parker