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

Theorem disji2 4420
Description: Property of a disjoint collection: if  B ( X )  =  C and  B ( Y )  =  D, and  X  =/=  Y, then  C and  D are disjoint. (Contributed by Mario Carneiro, 14-Nov-2016.)
Hypotheses
Ref Expression
disji.1  |-  ( x  =  X  ->  B  =  C )
disji.2  |-  ( x  =  Y  ->  B  =  D )
Assertion
Ref Expression
disji2  |-  ( (Disj  x  e.  A  B  /\  ( X  e.  A  /\  Y  e.  A
)  /\  X  =/=  Y )  ->  ( C  i^i  D )  =  (/) )
Distinct variable groups:    x, A    x, C    x, D    x, X    x, Y
Allowed substitution hint:    B( x)

Proof of Theorem disji2
Dummy variables  y 
z are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-ne 2638 . . 3  |-  ( X  =/=  Y  <->  -.  X  =  Y )
2 disjors 4419 . . . . . 6  |-  (Disj  x  e.  A  B  <->  A. y  e.  A  A. z  e.  A  ( y  =  z  \/  ( [_ y  /  x ]_ B  i^i  [_ z  /  x ]_ B )  =  (/) ) )
3 eqeq1 2445 . . . . . . . 8  |-  ( y  =  X  ->  (
y  =  z  <->  X  =  z ) )
4 nfcv 2603 . . . . . . . . . . 11  |-  F/_ x X
5 nfcv 2603 . . . . . . . . . . 11  |-  F/_ x C
6 disji.1 . . . . . . . . . . 11  |-  ( x  =  X  ->  B  =  C )
74, 5, 6csbhypf 3436 . . . . . . . . . 10  |-  ( y  =  X  ->  [_ y  /  x ]_ B  =  C )
87ineq1d 3681 . . . . . . . . 9  |-  ( y  =  X  ->  ( [_ y  /  x ]_ B  i^i  [_ z  /  x ]_ B )  =  ( C  i^i  [_ z  /  x ]_ B ) )
98eqeq1d 2443 . . . . . . . 8  |-  ( y  =  X  ->  (
( [_ y  /  x ]_ B  i^i  [_ z  /  x ]_ B )  =  (/)  <->  ( C  i^i  [_ z  /  x ]_ B )  =  (/) ) )
103, 9orbi12d 709 . . . . . . 7  |-  ( y  =  X  ->  (
( y  =  z  \/  ( [_ y  /  x ]_ B  i^i  [_ z  /  x ]_ B )  =  (/) ) 
<->  ( X  =  z  \/  ( C  i^i  [_ z  /  x ]_ B )  =  (/) ) ) )
11 eqeq2 2456 . . . . . . . 8  |-  ( z  =  Y  ->  ( X  =  z  <->  X  =  Y ) )
12 nfcv 2603 . . . . . . . . . . 11  |-  F/_ x Y
13 nfcv 2603 . . . . . . . . . . 11  |-  F/_ x D
14 disji.2 . . . . . . . . . . 11  |-  ( x  =  Y  ->  B  =  D )
1512, 13, 14csbhypf 3436 . . . . . . . . . 10  |-  ( z  =  Y  ->  [_ z  /  x ]_ B  =  D )
1615ineq2d 3682 . . . . . . . . 9  |-  ( z  =  Y  ->  ( C  i^i  [_ z  /  x ]_ B )  =  ( C  i^i  D ) )
1716eqeq1d 2443 . . . . . . . 8  |-  ( z  =  Y  ->  (
( C  i^i  [_ z  /  x ]_ B )  =  (/)  <->  ( C  i^i  D )  =  (/) ) )
1811, 17orbi12d 709 . . . . . . 7  |-  ( z  =  Y  ->  (
( X  =  z  \/  ( C  i^i  [_ z  /  x ]_ B )  =  (/) ) 
<->  ( X  =  Y  \/  ( C  i^i  D )  =  (/) ) ) )
1910, 18rspc2v 3203 . . . . . 6  |-  ( ( X  e.  A  /\  Y  e.  A )  ->  ( A. y  e.  A  A. z  e.  A  ( y  =  z  \/  ( [_ y  /  x ]_ B  i^i  [_ z  /  x ]_ B )  =  (/) )  ->  ( X  =  Y  \/  ( C  i^i  D )  =  (/) ) ) )
202, 19syl5bi 217 . . . . 5  |-  ( ( X  e.  A  /\  Y  e.  A )  ->  (Disj  x  e.  A  B  ->  ( X  =  Y  \/  ( C  i^i  D )  =  (/) ) ) )
2120impcom 430 . . . 4  |-  ( (Disj  x  e.  A  B  /\  ( X  e.  A  /\  Y  e.  A
) )  ->  ( X  =  Y  \/  ( C  i^i  D )  =  (/) ) )
2221ord 377 . . 3  |-  ( (Disj  x  e.  A  B  /\  ( X  e.  A  /\  Y  e.  A
) )  ->  ( -.  X  =  Y  ->  ( C  i^i  D
)  =  (/) ) )
231, 22syl5bi 217 . 2  |-  ( (Disj  x  e.  A  B  /\  ( X  e.  A  /\  Y  e.  A
) )  ->  ( X  =/=  Y  ->  ( C  i^i  D )  =  (/) ) )
24233impia 1192 1  |-  ( (Disj  x  e.  A  B  /\  ( X  e.  A  /\  Y  e.  A
)  /\  X  =/=  Y )  ->  ( C  i^i  D )  =  (/) )
Colors of variables: wff setvar class
Syntax hints:   -. wn 3    -> wi 4    \/ wo 368    /\ wa 369    /\ w3a 972    = wceq 1381    e. wcel 1802    =/= wne 2636   A.wral 2791   [_csb 3417    i^i cin 3457   (/)c0 3767  Disj wdisj 4403
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1603  ax-4 1616  ax-5 1689  ax-6 1732  ax-7 1774  ax-10 1821  ax-11 1826  ax-12 1838  ax-13 1983  ax-ext 2419
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3an 974  df-tru 1384  df-ex 1598  df-nf 1602  df-sb 1725  df-eu 2270  df-mo 2271  df-clab 2427  df-cleq 2433  df-clel 2436  df-nfc 2591  df-ne 2638  df-ral 2796  df-rex 2797  df-reu 2798  df-rmo 2799  df-v 3095  df-sbc 3312  df-csb 3418  df-dif 3461  df-in 3465  df-nul 3768  df-disj 4404
This theorem is referenced by:  disji  4421  disjxiun  4430  voliunlem1  21826
  Copyright terms: Public domain W3C validator