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

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

Proof of Theorem 3gencl
StepHypRef Expression
1 3gencl.3 . . . . 5 |- (G e. S <-> E.z(z e. R /\ C = G))
2 3gencl.6 . . . . . 6 |- (C = G -> (ch <-> th))
32imbi2d 464 . . . . 5 |- (C = G -> (((D e. S /\ F e. S) -> ch) <-> ((D e. S /\ F e. S) -> th)))
4 3gencl.1 . . . . . . 7 |- (D e. S <-> E.x(x e. R /\ A = D))
5 3gencl.2 . . . . . . 7 |- (F e. S <-> E.y(y e. R /\ B = F))
6 3gencl.4 . . . . . . . 8 |- (A = D -> (ph <-> ps))
76imbi2d 464 . . . . . . 7 |- (A = D -> ((z e. R -> ph) <-> (z e. R -> ps)))
8 3gencl.5 . . . . . . . 8 |- (B = F -> (ps <-> ch))
98imbi2d 464 . . . . . . 7 |- (B = F -> ((z e. R -> ps) <-> (z e. R -> ch)))
10 3gencl.7 . . . . . . . . 9 |- ((x e. R /\ y e. R /\ z e. R) -> ph)
11103exp 611 . . . . . . . 8 |- (x e. R -> (y e. R -> (z e. R -> ph)))
1211imp 277 . . . . . . 7 |- ((x e. R /\ y e. R) -> (z e. R -> ph))
134, 5, 7, 9, 122gencl 1366 . . . . . 6 |- ((D e. S /\ F e. S) -> (z e. R -> ch))
1413com12 13 . . . . 5 |- (z e. R -> ((D e. S /\ F e. S) -> ch))
151, 3, 14gencl 1365 . . . 4 |- (G e. S -> ((D e. S /\ F e. S) -> th))
1615com12 13 . . 3 |- ((D e. S /\ F e. S) -> (G e. S -> th))
1716exp 291 . 2 |- (D e. S -> (F e. S -> (G e. S -> th)))
18173imp 608 1 |- ((D e. S /\ F e. S /\ G e. S) -> th)
Colors of variables: wff set class
Syntax hints:   -> wi 2   <-> wb 127   /\ wa 196   /\ w3a 581  E.wex 678   = wceq 1091   e. wcel 1092
This theorem is referenced by:  ltsor 4055  axltadd 4085
This theorem was proved from axioms:  ax-1 3  ax-2 4  ax-3 5  ax-mp 6  ax-4 673  ax-5 674  ax-6 675  ax-gen 677  ax-17 925
This theorem depends on definitions:  df-bi 128  df-an 198  df-3an 583  df-ex 679
metamath.org