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

Theorem cgsex4g 2761
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 1883 . . 3  |-  ( E. z E. w ( ch  /\  ph )  ->  ps )
43exlimivv 1883 . 2  |-  ( E. x E. y E. z E. w ( ch  /\  ph )  ->  ps )
5 elisset 2738 . . . . . . . 8  |-  ( A  e.  R  ->  E. x  x  =  A )
6 elisset 2738 . . . . . . . 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 1919 . . . . . . 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 2738 . . . . . . . 8  |-  ( C  e.  R  ->  E. z 
z  =  C )
11 elisset 2738 . . . . . . . 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 1919 . . . . . . 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 1921 . . . . 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 1588 . . . . 5  |-  ( E. z E. w ( ( x  =  A  /\  y  =  B )  /\  ( z  =  C  /\  w  =  D ) )  ->  E. z E. w ch )
20192eximi 1588 . . . 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 1869 . . . 4  |-  ( ps 
->  ( E. z E. w ch  ->  E. z E. w ( ch  /\  ph ) ) )
25242eximdv 1869 . . 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 1342   E.wex 1479    e. wcel 2135
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 1434  ax-7 1435  ax-gen 1436  ax-ie1 1480  ax-ie2 1481  ax-8 1491  ax-4 1497  ax-17 1513  ax-i9 1517  ax-ial 1521  ax-ext 2146
This theorem depends on definitions:  df-bi 116  df-nf 1448  df-sb 1750  df-clab 2151  df-cleq 2157  df-clel 2160  df-v 2726
This theorem is referenced by:  copsex4g  4222  brecop  6585
  Copyright terms: Public domain W3C validator