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

Theorem iindif2 4162
Description: Indexed intersection of class difference. Generalization of half of theorem "De Morgan's laws" in [Enderton] p. 31. Use uniiun 4146 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 3725 . . . 4  |-  ( A  =/=  (/)  ->  ( A. x  e.  A  (
y  e.  B  /\  -.  y  e.  C
)  <->  ( y  e.  B  /\  A. x  e.  A  -.  y  e.  C ) ) )
2 eldif 3332 . . . . . 6  |-  ( y  e.  ( B  \  C )  <->  ( y  e.  B  /\  -.  y  e.  C ) )
32bicomi 195 . . . . 5  |-  ( ( y  e.  B  /\  -.  y  e.  C
)  <->  y  e.  ( B  \  C ) )
43ralbii 2731 . . . 4  |-  ( A. x  e.  A  (
y  e.  B  /\  -.  y  e.  C
)  <->  A. x  e.  A  y  e.  ( B  \  C ) )
5 ralnex 2717 . . . . . 6  |-  ( A. x  e.  A  -.  y  e.  C  <->  -.  E. x  e.  A  y  e.  C )
6 eliun 4099 . . . . . 6  |-  ( y  e.  U_ x  e.  A  C  <->  E. x  e.  A  y  e.  C )
75, 6xchbinxr 304 . . . . 5  |-  ( A. x  e.  A  -.  y  e.  C  <->  -.  y  e.  U_ x  e.  A  C )
87anbi2i 677 . . . 4  |-  ( ( y  e.  B  /\  A. x  e.  A  -.  y  e.  C )  <->  ( y  e.  B  /\  -.  y  e.  U_ x  e.  A  C )
)
91, 4, 83bitr3g 280 . . 3  |-  ( A  =/=  (/)  ->  ( A. x  e.  A  y  e.  ( B  \  C
)  <->  ( y  e.  B  /\  -.  y  e.  U_ x  e.  A  C ) ) )
10 vex 2961 . . . 4  |-  y  e. 
_V
11 eliin 4100 . . . 4  |-  ( y  e.  _V  ->  (
y  e.  |^|_ x  e.  A  ( B  \  C )  <->  A. x  e.  A  y  e.  ( B  \  C ) ) )
1210, 11ax-mp 8 . . 3  |-  ( y  e.  |^|_ x  e.  A  ( B  \  C )  <->  A. x  e.  A  y  e.  ( B  \  C ) )
13 eldif 3332 . . 3  |-  ( y  e.  ( B  \  U_ x  e.  A  C )  <->  ( y  e.  B  /\  -.  y  e.  U_ x  e.  A  C ) )
149, 12, 133bitr4g 281 . 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 set class
Syntax hints:   -. wn 3    -> wi 4    <-> wb 178    /\ wa 360    = wceq 1653    e. wcel 1726    =/= wne 2601   A.wral 2707   E.wrex 2708   _Vcvv 2958    \ cdif 3319   (/)c0 3630   U_ciun 4095   |^|_ciin 4096
This theorem is referenced by:  iincld  17105  clsval2  17116  mretopd  17158  hauscmplem  17471  cmpfi  17473
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1556  ax-5 1567  ax-17 1627  ax-9 1667  ax-8 1688  ax-6 1745  ax-7 1750  ax-11 1762  ax-12 1951  ax-ext 2419
This theorem depends on definitions:  df-bi 179  df-or 361  df-an 362  df-tru 1329  df-ex 1552  df-nf 1555  df-sb 1660  df-clab 2425  df-cleq 2431  df-clel 2434  df-nfc 2563  df-ne 2603  df-ral 2712  df-rex 2713  df-v 2960  df-dif 3325  df-nul 3631  df-iun 4097  df-iin 4098
  Copyright terms: Public domain W3C validator