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

Theorem iindif2 4234
Description: Indexed intersection of class difference. Generalization of half of theorem "De Morgan's laws" in [Enderton] p. 31. Use uniiun 4218 to recover Enderton's theorem. (Contributed by NM, 5-Oct-2006.)
Assertion
Ref Expression
iindif2  |-  ( A  =/=  (/)  ->  |^|_ x  e.  A  ( B  \  C )  =  ( B  \  U_ x  e.  A  C )
)
Distinct variable groups:    x, A    x, B
Allowed substitution hint:    C( x)

Proof of Theorem iindif2
Dummy variable  y is distinct from all other variables.
StepHypRef Expression
1 r19.28zv 3770 . . . 4  |-  ( A  =/=  (/)  ->  ( A. x  e.  A  (
y  e.  B  /\  -.  y  e.  C
)  <->  ( y  e.  B  /\  A. x  e.  A  -.  y  e.  C ) ) )
2 eldif 3333 . . . . . 6  |-  ( y  e.  ( B  \  C )  <->  ( y  e.  B  /\  -.  y  e.  C ) )
32bicomi 202 . . . . 5  |-  ( ( y  e.  B  /\  -.  y  e.  C
)  <->  y  e.  ( B  \  C ) )
43ralbii 2734 . . . 4  |-  ( A. x  e.  A  (
y  e.  B  /\  -.  y  e.  C
)  <->  A. x  e.  A  y  e.  ( B  \  C ) )
5 ralnex 2720 . . . . . 6  |-  ( A. x  e.  A  -.  y  e.  C  <->  -.  E. x  e.  A  y  e.  C )
6 eliun 4170 . . . . . 6  |-  ( y  e.  U_ x  e.  A  C  <->  E. x  e.  A  y  e.  C )
75, 6xchbinxr 311 . . . . 5  |-  ( A. x  e.  A  -.  y  e.  C  <->  -.  y  e.  U_ x  e.  A  C )
87anbi2i 694 . . . 4  |-  ( ( y  e.  B  /\  A. x  e.  A  -.  y  e.  C )  <->  ( y  e.  B  /\  -.  y  e.  U_ x  e.  A  C )
)
91, 4, 83bitr3g 287 . . 3  |-  ( A  =/=  (/)  ->  ( A. x  e.  A  y  e.  ( B  \  C
)  <->  ( y  e.  B  /\  -.  y  e.  U_ x  e.  A  C ) ) )
10 vex 2970 . . . 4  |-  y  e. 
_V
11 eliin 4171 . . . 4  |-  ( y  e.  _V  ->  (
y  e.  |^|_ x  e.  A  ( B  \  C )  <->  A. x  e.  A  y  e.  ( B  \  C ) ) )
1210, 11ax-mp 5 . . 3  |-  ( y  e.  |^|_ x  e.  A  ( B  \  C )  <->  A. x  e.  A  y  e.  ( B  \  C ) )
13 eldif 3333 . . 3  |-  ( y  e.  ( B  \  U_ x  e.  A  C )  <->  ( y  e.  B  /\  -.  y  e.  U_ x  e.  A  C ) )
149, 12, 133bitr4g 288 . 2  |-  ( A  =/=  (/)  ->  ( y  e.  |^|_ x  e.  A  ( B  \  C )  <-> 
y  e.  ( B 
\  U_ x  e.  A  C ) ) )
1514eqrdv 2436 1  |-  ( A  =/=  (/)  ->  |^|_ x  e.  A  ( B  \  C )  =  ( B  \  U_ x  e.  A  C )
)
Colors of variables: wff setvar class
Syntax hints:   -. wn 3    -> wi 4    <-> wb 184    /\ wa 369    = wceq 1369    e. wcel 1756    =/= wne 2601   A.wral 2710   E.wrex 2711   _Vcvv 2967    \ cdif 3320   (/)c0 3632   U_ciun 4166   |^|_ciin 4167
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1591  ax-4 1602  ax-5 1670  ax-6 1708  ax-7 1728  ax-10 1775  ax-11 1780  ax-12 1792  ax-13 1943  ax-ext 2419
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-tru 1372  df-ex 1587  df-nf 1590  df-sb 1701  df-clab 2425  df-cleq 2431  df-clel 2434  df-nfc 2563  df-ne 2603  df-ral 2715  df-rex 2716  df-v 2969  df-dif 3326  df-nul 3633  df-iun 4168  df-iin 4169
This theorem is referenced by:  iinvdif  4237  iincld  18618  clsval2  18629  mretopd  18671  hauscmplem  18984  cmpfi  18986
  Copyright terms: Public domain W3C validator