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

Theorem cgsex4g 2767
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 1889 . . 3  |-  ( E. z E. w ( ch  /\  ph )  ->  ps )
43exlimivv 1889 . 2  |-  ( E. x E. y E. z E. w ( ch  /\  ph )  ->  ps )
5 elisset 2744 . . . . . . . 8  |-  ( A  e.  R  ->  E. x  x  =  A )
6 elisset 2744 . . . . . . . 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 1925 . . . . . . 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 2744 . . . . . . . 8  |-  ( C  e.  R  ->  E. z 
z  =  C )
11 elisset 2744 . . . . . . . 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 1925 . . . . . . 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 1927 . . . . 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 1594 . . . . 5  |-  ( E. z E. w ( ( x  =  A  /\  y  =  B )  /\  ( z  =  C  /\  w  =  D ) )  ->  E. z E. w ch )
20192eximi 1594 . . . 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 1875 . . . 4  |-  ( ps 
->  ( E. z E. w ch  ->  E. z E. w ( ch  /\  ph ) ) )
25242eximdv 1875 . . 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 1348   E.wex 1485    e. wcel 2141
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 1440  ax-7 1441  ax-gen 1442  ax-ie1 1486  ax-ie2 1487  ax-8 1497  ax-4 1503  ax-17 1519  ax-i9 1523  ax-ial 1527  ax-ext 2152
This theorem depends on definitions:  df-bi 116  df-nf 1454  df-sb 1756  df-clab 2157  df-cleq 2163  df-clel 2166  df-v 2732
This theorem is referenced by:  copsex4g  4232  brecop  6603
  Copyright terms: Public domain W3C validator