J u m p t o c o n t e n t
M a i n m e n u
M a i n m e n u
N a v i g a t i o n
● M a i n p a g e
● C o n t e n t s
● C u r r e n t e v e n t s
● R a n d o m a r t i c l e
● A b o u t W i k i p e d i a
● C o n t a c t u s
● D o n a t e
C o n t r i b u t e
● H e l p
● L e a r n t o e d i t
● C o m m u n i t y p o r t a l
● R e c e n t c h a n g e s
● U p l o a d f i l e
S e a r c h
Search
A p p e a r a n c e
● C r e a t e a c c o u n t
● L o g i n
P e r s o n a l t o o l s
● C r e a t e a c c o u n t
● L o g i n
P a g e s f o r l o g g e d o u t e d i t o r s l e a r n m o r e
● C o n t r i b u t i o n s
● T a l k
( T o p )
1
G e n e r a l i z a t i o n w i t h h y p o t h e s e s
2
E x a m p l e o f a p r o o f
3
S e e a l s o
4
R e f e r e n c e s
T o g g l e t h e t a b l e o f c o n t e n t s
U n i v e r s a l g e n e r a l i z a t i o n
6 l a n g u a g e s
● E s p a ñ o l
● 한 국 어
● 日 本 語
● P o r t u g u ê s
● С р п с к и / s r p s k i
● 中 文
E d i t l i n k s
● A r t i c l e
● T a l k
E n g l i s h
● R e a d
● E d i t
● V i e w h i s t o r y
T o o l s
T o o l s
A c t i o n s
● R e a d
● E d i t
● V i e w h i s t o r y
G e n e r a l
● W h a t l i n k s h e r e
● R e l a t e d c h a n g e s
● U p l o a d f i l e
● S p e c i a l p a g e s
● P e r m a n e n t l i n k
● P a g e i n f o r m a t i o n
● C i t e t h i s p a g e
● G e t s h o r t e n e d U R L
● D o w n l o a d Q R c o d e
● W i k i d a t a i t e m
P r i n t / e x p o r t
● D o w n l o a d a s P D F
● P r i n t a b l e v e r s i o n
A p p e a r a n c e
F r o m W i k i p e d i a , t h e f r e e e n c y c l o p e d i a
( R e d i r e c t e d f r o m G e n e r a l i z a t i o n ( l o g i c ) )
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 )}
has been derived, then
⊢
∀
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 }
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 if
y
{\displaystyle y}
is not mentioned in
Γ
{\displaystyle \Gamma }
and
x
{\displaystyle x}
does not occur in
φ
{\displaystyle \varphi }
.
These restrictions are necessary for soundness. Without the first restriction, one could conclude
∀
x
P
(
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
Γ
⊢
∀
y
φ
(
y
)
{\displaystyle \Gamma \vdash \forall y\,\varphi (y )}
is permissible if
y
{\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
)
)
→
(
∀
x
P
(
x
)
→
∀
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 ))}
and
∀
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 ))}
Hypothesis
2
∀
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 ))}
From (1 ) by Universal instantiation
4
P
(
y
)
→
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 )}
From (2 ) by Universal instantiation
6
P
(
y
)
{\displaystyle P(y )\ }
From (2 ) and (5 ) by Modus ponens
7
Q
(
y
)
{\displaystyle Q(y )\ }
From (6 ) and (4 ) by Modus ponens
8
∀
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 )}
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 )}
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 ))}
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 ]
^ Moore and Parker
R e t r i e v e d f r o m " https://en.wikipedia.org/w/index.php?title=Universal_generalization&oldid=1233798220 "
C a t e g o r i e s :
● R u l e s o f i n f e r e n c e
● P r e d i c a t e l o g i c
H i d d e n c a t e g o r i e s :
● A r t i c l e s l a c k i n g i n - t e x t c i t a t i o n s f r o m M a r c h 2 0 2 3
● A l l a r t i c l e s l a c k i n g i n - t e x t c i t a t i o n s
● T h i s p a g e w a s l a s t e d i t e d o n 1 0 J u l y 2 0 2 4 , a t 2 3 : 1 3 ( U T C ) .
● T e x t i s a v a i l a b l e u n d e r t h e C r e a t i v e C o m m o n s A t t r i b u t i o n - S h a r e A l i k e L i c e n s e 4 . 0 ;
a d d i t i o n a l t e r m s m a y a p p l y . B y u s i n g t h i s s i t e , y o u a g r e e t o t h e T e r m s o f U s e a n d P r i v a c y P o l i c y . W i k i p e d i a ® i s a r e g i s t e r e d t r a d e m a r k o f t h e W i k i m e d i a F o u n d a t i o n , I n c . , a n o n - p r o f i t o r g a n i z a t i o n .
● P r i v a c y p o l i c y
● A b o u t W i k i p e d i a
● D i s c l a i m e r s
● C o n t a c t W i k i p e d i a
● C o d e o f C o n d u c t
● D e v e l o p e r s
● S t a t i s t i c s
● C o o k i e s t a t e m e n t
● M o b i l e v i e w