MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  cgsex4g Unicode version

Theorem cgsex4g 2932
Description: An implicit substitution inference for 4 general classes. (Contributed by NM, 5-Aug-1995.)
Hypotheses
Ref Expression
cgsex4g.1  |-  ( ( ( x  =  A  /\  y  =  B )  /\  ( z  =  C  /\  w  =  D ) )  ->  ch )
cgsex4g.2  |-  ( ch 
->  ( ph  <->  ps )
)
Assertion
Ref Expression
cgsex4g  |-  ( ( ( A  e.  R  /\  B  e.  S
)  /\  ( C  e.  R  /\  D  e.  S ) )  -> 
( E. x E. y E. z E. w
( ch  /\  ph ) 
<->  ps ) )
Distinct variable groups:    x, y,
z, w, A    x, B, y, z, w    x, C, y, z, w    x, D, y, z, w    ps, x, y, z, w
Allowed substitution hints:    ph( x, y, z, w)    ch( x, y, z, w)    R( x, y, z, w)    S( x, y, z, w)

Proof of Theorem cgsex4g
StepHypRef Expression
1 cgsex4g.2 . . . . 5  |-  ( ch 
->  ( ph  <->  ps )
)
21biimpa 471 . . . 4  |-  ( ( ch  /\  ph )  ->  ps )
32exlimivv 1642 . . 3  |-  ( E. z E. w ( ch  /\  ph )  ->  ps )
43exlimivv 1642 . 2  |-  ( E. x E. y E. z E. w ( ch  /\  ph )  ->  ps )
5 elisset 2909 . . . . . . . 8  |-  ( A  e.  R  ->  E. x  x  =  A )
6 elisset 2909 . . . . . . . 8  |-  ( B  e.  S  ->  E. y 
y  =  B )
75, 6anim12i 550 . . . . . . 7  |-  ( ( A  e.  R  /\  B  e.  S )  ->  ( E. x  x  =  A  /\  E. y  y  =  B
) )
8 eeanv 1926 . . . . . . 7  |-  ( E. x E. y ( x  =  A  /\  y  =  B )  <->  ( E. x  x  =  A  /\  E. y 
y  =  B ) )
97, 8sylibr 204 . . . . . 6  |-  ( ( A  e.  R  /\  B  e.  S )  ->  E. x E. y
( x  =  A  /\  y  =  B ) )
10 elisset 2909 . . . . . . . 8  |-  ( C  e.  R  ->  E. z 
z  =  C )
11 elisset 2909 . . . . . . . 8  |-  ( D  e.  S  ->  E. w  w  =  D )
1210, 11anim12i 550 . . . . . . 7  |-  ( ( C  e.  R  /\  D  e.  S )  ->  ( E. z  z  =  C  /\  E. w  w  =  D
) )
13 eeanv 1926 . . . . . . 7  |-  ( E. z E. w ( z  =  C  /\  w  =  D )  <->  ( E. z  z  =  C  /\  E. w  w  =  D )
)
1412, 13sylibr 204 . . . . . 6  |-  ( ( C  e.  R  /\  D  e.  S )  ->  E. z E. w
( z  =  C  /\  w  =  D ) )
159, 14anim12i 550 . . . . 5  |-  ( ( ( A  e.  R  /\  B  e.  S
)  /\  ( C  e.  R  /\  D  e.  S ) )  -> 
( E. x E. y ( x  =  A  /\  y  =  B )  /\  E. z E. w ( z  =  C  /\  w  =  D ) ) )
16 ee4anv 1929 . . . . 5  |-  ( E. x E. y E. z E. w ( ( x  =  A  /\  y  =  B )  /\  ( z  =  C  /\  w  =  D ) )  <->  ( E. x E. y ( x  =  A  /\  y  =  B )  /\  E. z E. w ( z  =  C  /\  w  =  D ) ) )
1715, 16sylibr 204 . . . 4  |-  ( ( ( A  e.  R  /\  B  e.  S
)  /\  ( C  e.  R  /\  D  e.  S ) )  ->  E. x E. y E. z E. w ( ( x  =  A  /\  y  =  B )  /\  ( z  =  C  /\  w  =  D ) ) )
18 cgsex4g.1 . . . . . 6  |-  ( ( ( x  =  A  /\  y  =  B )  /\  ( z  =  C  /\  w  =  D ) )  ->  ch )
19182eximi 1583 . . . . 5  |-  ( E. z E. w ( ( x  =  A  /\  y  =  B )  /\  ( z  =  C  /\  w  =  D ) )  ->  E. z E. w ch )
20192eximi 1583 . . . 4  |-  ( E. x E. y E. z E. w ( ( x  =  A  /\  y  =  B )  /\  ( z  =  C  /\  w  =  D ) )  ->  E. x E. y E. z E. w ch )
2117, 20syl 16 . . 3  |-  ( ( ( A  e.  R  /\  B  e.  S
)  /\  ( C  e.  R  /\  D  e.  S ) )  ->  E. x E. y E. z E. w ch )
221biimprcd 217 . . . . . 6  |-  ( ps 
->  ( ch  ->  ph )
)
2322ancld 537 . . . . 5  |-  ( ps 
->  ( ch  ->  ( ch  /\  ph ) ) )
24232eximdv 1631 . . . 4  |-  ( ps 
->  ( E. z E. w ch  ->  E. z E. w ( ch  /\  ph ) ) )
25242eximdv 1631 . . 3  |-  ( ps 
->  ( E. x E. y E. z E. w ch  ->  E. x E. y E. z E. w ( ch  /\  ph )
) )
2621, 25syl5com 28 . 2  |-  ( ( ( A  e.  R  /\  B  e.  S
)  /\  ( C  e.  R  /\  D  e.  S ) )  -> 
( ps  ->  E. x E. y E. z E. w ( ch  /\  ph ) ) )
274, 26impbid2 196 1  |-  ( ( ( A  e.  R  /\  B  e.  S
)  /\  ( C  e.  R  /\  D  e.  S ) )  -> 
( E. x E. y E. z E. w
( ch  /\  ph ) 
<->  ps ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    <-> wb 177    /\ wa 359   E.wex 1547    = wceq 1649    e. wcel 1717
This theorem is referenced by:  copsex4g  4386  brecop  6933
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1552  ax-5 1563  ax-17 1623  ax-9 1661  ax-8 1682  ax-6 1736  ax-7 1741  ax-11 1753  ax-ext 2368
This theorem depends on definitions:  df-bi 178  df-an 361  df-ex 1548  df-nf 1551  df-sb 1656  df-clab 2374  df-cleq 2380  df-clel 2383  df-v 2901
  Copyright terms: Public domain W3C validator