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

Theorem disjor 4007
Description: Two ways to say that a collection  B ( i ) for  i  e.  A is disjoint. (Contributed by Mario Carneiro, 26-Mar-2015.) (Revised by Mario Carneiro, 14-Nov-2016.)
Hypothesis
Ref Expression
disjmo.1  |-  ( i  =  j  ->  B  =  C )
Assertion
Ref Expression
disjor  |-  (Disj  i  e.  A B  <->  A. i  e.  A  A. j  e.  A  ( i  =  j  \/  ( B  i^i  C )  =  (/) ) )
Distinct variable groups:    i, j, A    B, j    C, i
Allowed substitution hints:    B( i)    C( j)

Proof of Theorem disjor
Dummy variable  x is distinct from all other variables.
StepHypRef Expression
1 df-disj 3994 . 2  |-  (Disj  i  e.  A B  <->  A. x E* i  e.  A x  e.  B )
2 ralcom4 2806 . . 3  |-  ( A. i  e.  A  A. x A. j  e.  A  ( ( x  e.  B  /\  x  e.  C )  ->  i  =  j )  <->  A. x A. i  e.  A  A. j  e.  A  ( ( x  e.  B  /\  x  e.  C )  ->  i  =  j ) )
3 orcom 376 . . . . . . 7  |-  ( ( i  =  j  \/  ( B  i^i  C
)  =  (/) )  <->  ( ( B  i^i  C )  =  (/)  \/  i  =  j ) )
4 df-or 359 . . . . . . 7  |-  ( ( ( B  i^i  C
)  =  (/)  \/  i  =  j )  <->  ( -.  ( B  i^i  C )  =  (/)  ->  i  =  j ) )
5 neq0 3465 . . . . . . . . . 10  |-  ( -.  ( B  i^i  C
)  =  (/)  <->  E. x  x  e.  ( B  i^i  C ) )
6 elin 3358 . . . . . . . . . . 11  |-  ( x  e.  ( B  i^i  C )  <->  ( x  e.  B  /\  x  e.  C ) )
76exbii 1569 . . . . . . . . . 10  |-  ( E. x  x  e.  ( B  i^i  C )  <->  E. x ( x  e.  B  /\  x  e.  C ) )
85, 7bitri 240 . . . . . . . . 9  |-  ( -.  ( B  i^i  C
)  =  (/)  <->  E. x
( x  e.  B  /\  x  e.  C
) )
98imbi1i 315 . . . . . . . 8  |-  ( ( -.  ( B  i^i  C )  =  (/)  ->  i  =  j )  <->  ( E. x ( x  e.  B  /\  x  e.  C )  ->  i  =  j ) )
10 19.23v 1832 . . . . . . . 8  |-  ( A. x ( ( x  e.  B  /\  x  e.  C )  ->  i  =  j )  <->  ( E. x ( x  e.  B  /\  x  e.  C )  ->  i  =  j ) )
119, 10bitr4i 243 . . . . . . 7  |-  ( ( -.  ( B  i^i  C )  =  (/)  ->  i  =  j )  <->  A. x
( ( x  e.  B  /\  x  e.  C )  ->  i  =  j ) )
123, 4, 113bitri 262 . . . . . 6  |-  ( ( i  =  j  \/  ( B  i^i  C
)  =  (/) )  <->  A. x
( ( x  e.  B  /\  x  e.  C )  ->  i  =  j ) )
1312ralbii 2567 . . . . 5  |-  ( A. j  e.  A  (
i  =  j  \/  ( B  i^i  C
)  =  (/) )  <->  A. j  e.  A  A. x
( ( x  e.  B  /\  x  e.  C )  ->  i  =  j ) )
14 ralcom4 2806 . . . . 5  |-  ( A. j  e.  A  A. x ( ( x  e.  B  /\  x  e.  C )  ->  i  =  j )  <->  A. x A. j  e.  A  ( ( x  e.  B  /\  x  e.  C )  ->  i  =  j ) )
1513, 14bitri 240 . . . 4  |-  ( A. j  e.  A  (
i  =  j  \/  ( B  i^i  C
)  =  (/) )  <->  A. x A. j  e.  A  ( ( x  e.  B  /\  x  e.  C )  ->  i  =  j ) )
1615ralbii 2567 . . 3  |-  ( A. i  e.  A  A. j  e.  A  (
i  =  j  \/  ( B  i^i  C
)  =  (/) )  <->  A. i  e.  A  A. x A. j  e.  A  ( ( x  e.  B  /\  x  e.  C )  ->  i  =  j ) )
17 disjmo.1 . . . . . 6  |-  ( i  =  j  ->  B  =  C )
1817eleq2d 2350 . . . . 5  |-  ( i  =  j  ->  (
x  e.  B  <->  x  e.  C ) )
1918rmo4 2958 . . . 4  |-  ( E* i  e.  A x  e.  B  <->  A. i  e.  A  A. j  e.  A  ( (
x  e.  B  /\  x  e.  C )  ->  i  =  j ) )
2019albii 1553 . . 3  |-  ( A. x E* i  e.  A x  e.  B  <->  A. x A. i  e.  A  A. j  e.  A  ( ( x  e.  B  /\  x  e.  C )  ->  i  =  j ) )
212, 16, 203bitr4i 268 . 2  |-  ( A. i  e.  A  A. j  e.  A  (
i  =  j  \/  ( B  i^i  C
)  =  (/) )  <->  A. x E* i  e.  A x  e.  B )
221, 21bitr4i 243 1  |-  (Disj  i  e.  A B  <->  A. i  e.  A  A. j  e.  A  ( i  =  j  \/  ( B  i^i  C )  =  (/) ) )
Colors of variables: wff set class
Syntax hints:   -. wn 3    -> wi 4    <-> wb 176    \/ wo 357    /\ wa 358   A.wal 1527   E.wex 1528    = wceq 1623    e. wcel 1684   A.wral 2543   E*wrmo 2546    i^i cin 3151   (/)c0 3455  Disj wdisj 3993
This theorem is referenced by:  disjmoOLD  4008  disjors  4009  disjxiun  4020  disjxun  4021  qsdisj2  6737  dyadmbl  18955
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1533  ax-5 1544  ax-17 1603  ax-9 1635  ax-8 1643  ax-6 1703  ax-7 1708  ax-11 1715  ax-12 1866  ax-ext 2264
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-tru 1310  df-ex 1529  df-nf 1532  df-sb 1630  df-eu 2147  df-mo 2148  df-clab 2270  df-cleq 2276  df-clel 2279  df-nfc 2408  df-ne 2448  df-ral 2548  df-rmo 2551  df-v 2790  df-dif 3155  df-in 3159  df-nul 3456  df-disj 3994
  Copyright terms: Public domain W3C validator