HomeHome Metamath Proof Explorer < Previous   Next >
Related theorems
Unicode version

Theorem 2gencl 1829
Description: Implicit substitution for class with embedded variable.
Hypotheses
Ref Expression
2gencl.1 |- (C e. S <-> E.x(x e. R /\ A = C))
2gencl.2 |- (D e. S <-> E.y(y e. R /\ B = D))
2gencl.3 |- (A = C -> (ph <-> ps))
2gencl.4 |- (B = D -> (ps <-> ch))
2gencl.5 |- ((x e. R /\ y e. R) -> ph)
Assertion
Ref Expression
2gencl |- ((C e. S /\ D e. S) -> ch)
Distinct variable groups:   x,y   x,R   ps,x   y,C   y,S   ch,y

Proof of Theorem 2gencl
StepHypRef Expression
1 2gencl.2 . . 3 |- (D e. S <-> E.y(y e. R /\ B = D))
2 2gencl.4 . . . 4 |- (B = D -> (ps <-> ch))
32imbi2d 612 . . 3 |- (B = D -> ((C e. S -> ps) <-> (C e. S -> ch)))
4 2gencl.1 . . . . 5 |- (C e. S <-> E.x(x e. R /\ A = C))
5 2gencl.3 . . . . . 6 |- (A = C -> (ph <-> ps))
65imbi2d 612 . . . . 5 |- (A = C -> ((y e. R -> ph) <-> (y e. R -> ps)))
7 2gencl.5 . . . . . 6 |- ((x e. R /\ y e. R) -> ph)
87ex 373 . . . . 5 |- (x e. R -> (y e. R -> ph))
94, 6, 8gencl 1828 . . . 4 |- (C e. S -> (y e. R -> ps))
109com12 11 . . 3 |- (y e. R -> (C e. S -> ps))
111, 3, 10gencl 1828 . 2 |- (D e. S -> (C e. S -> ch))
1211impcom 351 1 |- ((C e. S /\ D e. S) -> ch)
Colors of variables: wff set class
Syntax hints:   -> wi 3   <-> wb 146   /\ wa 223   = wceq 956   e. wcel 958  E.wex 980
This theorem is referenced by:  3gencl 1830  axaddrcl 5272  axmulrcl 5274  pre-axmulgt0 5290
This theorem was proved from axioms:  ax-1 4  ax-2 5  ax-3 6  ax-mp 7  ax-gen 963  ax-17 971  ax-4 973  ax-5o 975  ax-6o 978
This theorem depends on definitions:  df-bi 147  df-an 225  df-ex 981
Copyright terms: Public domain