ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  cgsex4g Unicode version

Theorem cgsex4g 2763
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 294 . . . 4  |-  ( ( ch  /\  ph )  ->  ps )
32exlimivv 1884 . . 3  |-  ( E. z E. w ( ch  /\  ph )  ->  ps )
43exlimivv 1884 . 2  |-  ( E. x E. y E. z E. w ( ch  /\  ph )  ->  ps )
5 elisset 2740 . . . . . . . 8  |-  ( A  e.  R  ->  E. x  x  =  A )
6 elisset 2740 . . . . . . . 8  |-  ( B  e.  S  ->  E. y 
y  =  B )
75, 6anim12i 336 . . . . . . 7  |-  ( ( A  e.  R  /\  B  e.  S )  ->  ( E. x  x  =  A  /\  E. y  y  =  B
) )
8 eeanv 1920 . . . . . . 7  |-  ( E. x E. y ( x  =  A  /\  y  =  B )  <->  ( E. x  x  =  A  /\  E. y 
y  =  B ) )
97, 8sylibr 133 . . . . . 6  |-  ( ( A  e.  R  /\  B  e.  S )  ->  E. x E. y
( x  =  A  /\  y  =  B ) )
10 elisset 2740 . . . . . . . 8  |-  ( C  e.  R  ->  E. z 
z  =  C )
11 elisset 2740 . . . . . . . 8  |-  ( D  e.  S  ->  E. w  w  =  D )
1210, 11anim12i 336 . . . . . . 7  |-  ( ( C  e.  R  /\  D  e.  S )  ->  ( E. z  z  =  C  /\  E. w  w  =  D
) )
13 eeanv 1920 . . . . . . 7  |-  ( E. z E. w ( z  =  C  /\  w  =  D )  <->  ( E. z  z  =  C  /\  E. w  w  =  D )
)
1412, 13sylibr 133 . . . . . 6  |-  ( ( C  e.  R  /\  D  e.  S )  ->  E. z E. w
( z  =  C  /\  w  =  D ) )
159, 14anim12i 336 . . . . 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 1922 . . . . 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 133 . . . 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 1589 . . . . 5  |-  ( E. z E. w ( ( x  =  A  /\  y  =  B )  /\  ( z  =  C  /\  w  =  D ) )  ->  E. z E. w ch )
20192eximi 1589 . . . 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 14 . . 3  |-  ( ( ( A  e.  R  /\  B  e.  S
)  /\  ( C  e.  R  /\  D  e.  S ) )  ->  E. x E. y E. z E. w ch )
221biimprcd 159 . . . . . 6  |-  ( ps 
->  ( ch  ->  ph )
)
2322ancld 323 . . . . 5  |-  ( ps 
->  ( ch  ->  ( ch  /\  ph ) ) )
24232eximdv 1870 . . . 4  |-  ( ps 
->  ( E. z E. w ch  ->  E. z E. w ( ch  /\  ph ) ) )
25242eximdv 1870 . . 3  |-  ( ps 
->  ( E. x E. y E. z E. w ch  ->  E. x E. y E. z E. w ( ch  /\  ph )
) )
2621, 25syl5com 29 . 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 142 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    /\ wa 103    <-> wb 104    = wceq 1343   E.wex 1480    e. wcel 2136
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-5 1435  ax-7 1436  ax-gen 1437  ax-ie1 1481  ax-ie2 1482  ax-8 1492  ax-4 1498  ax-17 1514  ax-i9 1518  ax-ial 1522  ax-ext 2147
This theorem depends on definitions:  df-bi 116  df-nf 1449  df-sb 1751  df-clab 2152  df-cleq 2158  df-clel 2161  df-v 2728
This theorem is referenced by:  copsex4g  4225  brecop  6591
  Copyright terms: Public domain W3C validator