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

Theorem disjprg 4362
Description: A pair collection is disjoint iff the two sets in the family have empty intersection. (Contributed by Mario Carneiro, 14-Nov-2016.)
Hypotheses
Ref Expression
disjprg.1  |-  ( x  =  A  ->  C  =  D )
disjprg.2  |-  ( x  =  B  ->  C  =  E )
Assertion
Ref Expression
disjprg  |-  ( ( A  e.  V  /\  B  e.  V  /\  A  =/=  B )  -> 
(Disj  x  e.  { A ,  B } C  <->  ( D  i^i  E )  =  (/) ) )
Distinct variable groups:    x, A    x, B    x, D    x, E
Allowed substitution hints:    C( x)    V( x)

Proof of Theorem disjprg
Dummy variables  y 
z are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 eqeq1 2432 . . . . . . 7  |-  ( y  =  A  ->  (
y  =  z  <->  A  =  z ) )
2 nfcv 2569 . . . . . . . . . 10  |-  F/_ x A
3 nfcv 2569 . . . . . . . . . 10  |-  F/_ x D
4 disjprg.1 . . . . . . . . . 10  |-  ( x  =  A  ->  C  =  D )
52, 3, 4csbhypf 3357 . . . . . . . . 9  |-  ( y  =  A  ->  [_ y  /  x ]_ C  =  D )
65ineq1d 3606 . . . . . . . 8  |-  ( y  =  A  ->  ( [_ y  /  x ]_ C  i^i  [_ z  /  x ]_ C )  =  ( D  i^i  [_ z  /  x ]_ C ) )
76eqeq1d 2430 . . . . . . 7  |-  ( y  =  A  ->  (
( [_ y  /  x ]_ C  i^i  [_ z  /  x ]_ C )  =  (/)  <->  ( D  i^i  [_ z  /  x ]_ C )  =  (/) ) )
81, 7orbi12d 714 . . . . . 6  |-  ( y  =  A  ->  (
( y  =  z  \/  ( [_ y  /  x ]_ C  i^i  [_ z  /  x ]_ C )  =  (/) ) 
<->  ( A  =  z  \/  ( D  i^i  [_ z  /  x ]_ C )  =  (/) ) ) )
98ralbidv 2804 . . . . 5  |-  ( y  =  A  ->  ( A. z  e.  { A ,  B }  ( y  =  z  \/  ( [_ y  /  x ]_ C  i^i  [_ z  /  x ]_ C )  =  (/) )  <->  A. z  e.  { A ,  B }  ( A  =  z  \/  ( D  i^i  [_ z  /  x ]_ C )  =  (/) ) ) )
10 eqeq1 2432 . . . . . . 7  |-  ( y  =  B  ->  (
y  =  z  <->  B  =  z ) )
11 nfcv 2569 . . . . . . . . . 10  |-  F/_ x B
12 nfcv 2569 . . . . . . . . . 10  |-  F/_ x E
13 disjprg.2 . . . . . . . . . 10  |-  ( x  =  B  ->  C  =  E )
1411, 12, 13csbhypf 3357 . . . . . . . . 9  |-  ( y  =  B  ->  [_ y  /  x ]_ C  =  E )
1514ineq1d 3606 . . . . . . . 8  |-  ( y  =  B  ->  ( [_ y  /  x ]_ C  i^i  [_ z  /  x ]_ C )  =  ( E  i^i  [_ z  /  x ]_ C ) )
1615eqeq1d 2430 . . . . . . 7  |-  ( y  =  B  ->  (
( [_ y  /  x ]_ C  i^i  [_ z  /  x ]_ C )  =  (/)  <->  ( E  i^i  [_ z  /  x ]_ C )  =  (/) ) )
1710, 16orbi12d 714 . . . . . 6  |-  ( y  =  B  ->  (
( y  =  z  \/  ( [_ y  /  x ]_ C  i^i  [_ z  /  x ]_ C )  =  (/) ) 
<->  ( B  =  z  \/  ( E  i^i  [_ z  /  x ]_ C )  =  (/) ) ) )
1817ralbidv 2804 . . . . 5  |-  ( y  =  B  ->  ( A. z  e.  { A ,  B }  ( y  =  z  \/  ( [_ y  /  x ]_ C  i^i  [_ z  /  x ]_ C )  =  (/) )  <->  A. z  e.  { A ,  B }  ( B  =  z  \/  ( E  i^i  [_ z  /  x ]_ C )  =  (/) ) ) )
199, 18ralprg 3992 . . . 4  |-  ( ( A  e.  V  /\  B  e.  V )  ->  ( A. y  e. 
{ A ,  B } A. z  e.  { A ,  B } 
( y  =  z  \/  ( [_ y  /  x ]_ C  i^i  [_ z  /  x ]_ C )  =  (/) ) 
<->  ( A. z  e. 
{ A ,  B }  ( A  =  z  \/  ( D  i^i  [_ z  /  x ]_ C )  =  (/) )  /\  A. z  e. 
{ A ,  B }  ( B  =  z  \/  ( E  i^i  [_ z  /  x ]_ C )  =  (/) ) ) ) )
20193adant3 1025 . . 3  |-  ( ( A  e.  V  /\  B  e.  V  /\  A  =/=  B )  -> 
( A. y  e. 
{ A ,  B } A. z  e.  { A ,  B } 
( y  =  z  \/  ( [_ y  /  x ]_ C  i^i  [_ z  /  x ]_ C )  =  (/) ) 
<->  ( A. z  e. 
{ A ,  B }  ( A  =  z  \/  ( D  i^i  [_ z  /  x ]_ C )  =  (/) )  /\  A. z  e. 
{ A ,  B }  ( B  =  z  \/  ( E  i^i  [_ z  /  x ]_ C )  =  (/) ) ) ) )
21 id 22 . . . . . . . . . 10  |-  ( z  =  A  ->  z  =  A )
2221eqcomd 2434 . . . . . . . . 9  |-  ( z  =  A  ->  A  =  z )
2322orcd 393 . . . . . . . 8  |-  ( z  =  A  ->  ( A  =  z  \/  ( D  i^i  [_ z  /  x ]_ C )  =  (/) ) )
24 a1tru 1453 . . . . . . . 8  |-  ( z  =  A  -> T.  )
2523, 242thd 243 . . . . . . 7  |-  ( z  =  A  ->  (
( A  =  z  \/  ( D  i^i  [_ z  /  x ]_ C )  =  (/) ) 
<-> T.  ) )
26 eqeq2 2439 . . . . . . . 8  |-  ( z  =  B  ->  ( A  =  z  <->  A  =  B ) )
2711, 12, 13csbhypf 3357 . . . . . . . . . 10  |-  ( z  =  B  ->  [_ z  /  x ]_ C  =  E )
2827ineq2d 3607 . . . . . . . . 9  |-  ( z  =  B  ->  ( D  i^i  [_ z  /  x ]_ C )  =  ( D  i^i  E ) )
2928eqeq1d 2430 . . . . . . . 8  |-  ( z  =  B  ->  (
( D  i^i  [_ z  /  x ]_ C )  =  (/)  <->  ( D  i^i  E )  =  (/) ) )
3026, 29orbi12d 714 . . . . . . 7  |-  ( z  =  B  ->  (
( A  =  z  \/  ( D  i^i  [_ z  /  x ]_ C )  =  (/) ) 
<->  ( A  =  B  \/  ( D  i^i  E )  =  (/) ) ) )
3125, 30ralprg 3992 . . . . . 6  |-  ( ( A  e.  V  /\  B  e.  V )  ->  ( A. z  e. 
{ A ,  B }  ( A  =  z  \/  ( D  i^i  [_ z  /  x ]_ C )  =  (/) ) 
<->  ( T.  /\  ( A  =  B  \/  ( D  i^i  E )  =  (/) ) ) ) )
32313adant3 1025 . . . . 5  |-  ( ( A  e.  V  /\  B  e.  V  /\  A  =/=  B )  -> 
( A. z  e. 
{ A ,  B }  ( A  =  z  \/  ( D  i^i  [_ z  /  x ]_ C )  =  (/) ) 
<->  ( T.  /\  ( A  =  B  \/  ( D  i^i  E )  =  (/) ) ) ) )
33 simp3 1007 . . . . . . . 8  |-  ( ( A  e.  V  /\  B  e.  V  /\  A  =/=  B )  ->  A  =/=  B )
3433neneqd 2606 . . . . . . 7  |-  ( ( A  e.  V  /\  B  e.  V  /\  A  =/=  B )  ->  -.  A  =  B
)
35 biorf 406 . . . . . . 7  |-  ( -.  A  =  B  -> 
( ( D  i^i  E )  =  (/)  <->  ( A  =  B  \/  ( D  i^i  E )  =  (/) ) ) )
3634, 35syl 17 . . . . . 6  |-  ( ( A  e.  V  /\  B  e.  V  /\  A  =/=  B )  -> 
( ( D  i^i  E )  =  (/)  <->  ( A  =  B  \/  ( D  i^i  E )  =  (/) ) ) )
37 tru 1441 . . . . . . 7  |- T.
3837biantrur 508 . . . . . 6  |-  ( ( A  =  B  \/  ( D  i^i  E )  =  (/) )  <->  ( T.  /\  ( A  =  B  \/  ( D  i^i  E )  =  (/) ) ) )
3936, 38syl6bb 264 . . . . 5  |-  ( ( A  e.  V  /\  B  e.  V  /\  A  =/=  B )  -> 
( ( D  i^i  E )  =  (/)  <->  ( T.  /\  ( A  =  B  \/  ( D  i^i  E )  =  (/) ) ) ) )
4032, 39bitr4d 259 . . . 4  |-  ( ( A  e.  V  /\  B  e.  V  /\  A  =/=  B )  -> 
( A. z  e. 
{ A ,  B }  ( A  =  z  \/  ( D  i^i  [_ z  /  x ]_ C )  =  (/) ) 
<->  ( D  i^i  E
)  =  (/) ) )
41 eqeq2 2439 . . . . . . . . 9  |-  ( z  =  A  ->  ( B  =  z  <->  B  =  A ) )
42 eqcom 2435 . . . . . . . . 9  |-  ( B  =  A  <->  A  =  B )
4341, 42syl6bb 264 . . . . . . . 8  |-  ( z  =  A  ->  ( B  =  z  <->  A  =  B ) )
442, 3, 4csbhypf 3357 . . . . . . . . . . 11  |-  ( z  =  A  ->  [_ z  /  x ]_ C  =  D )
4544ineq2d 3607 . . . . . . . . . 10  |-  ( z  =  A  ->  ( E  i^i  [_ z  /  x ]_ C )  =  ( E  i^i  D ) )
46 incom 3598 . . . . . . . . . 10  |-  ( E  i^i  D )  =  ( D  i^i  E
)
4745, 46syl6eq 2478 . . . . . . . . 9  |-  ( z  =  A  ->  ( E  i^i  [_ z  /  x ]_ C )  =  ( D  i^i  E ) )
4847eqeq1d 2430 . . . . . . . 8  |-  ( z  =  A  ->  (
( E  i^i  [_ z  /  x ]_ C )  =  (/)  <->  ( D  i^i  E )  =  (/) ) )
4943, 48orbi12d 714 . . . . . . 7  |-  ( z  =  A  ->  (
( B  =  z  \/  ( E  i^i  [_ z  /  x ]_ C )  =  (/) ) 
<->  ( A  =  B  \/  ( D  i^i  E )  =  (/) ) ) )
50 id 22 . . . . . . . . . 10  |-  ( z  =  B  ->  z  =  B )
5150eqcomd 2434 . . . . . . . . 9  |-  ( z  =  B  ->  B  =  z )
5251orcd 393 . . . . . . . 8  |-  ( z  =  B  ->  ( B  =  z  \/  ( E  i^i  [_ z  /  x ]_ C )  =  (/) ) )
53 a1tru 1453 . . . . . . . 8  |-  ( z  =  B  -> T.  )
5452, 532thd 243 . . . . . . 7  |-  ( z  =  B  ->  (
( B  =  z  \/  ( E  i^i  [_ z  /  x ]_ C )  =  (/) ) 
<-> T.  ) )
5549, 54ralprg 3992 . . . . . 6  |-  ( ( A  e.  V  /\  B  e.  V )  ->  ( A. z  e. 
{ A ,  B }  ( B  =  z  \/  ( E  i^i  [_ z  /  x ]_ C )  =  (/) ) 
<->  ( ( A  =  B  \/  ( D  i^i  E )  =  (/) )  /\ T.  ) ) )
56553adant3 1025 . . . . 5  |-  ( ( A  e.  V  /\  B  e.  V  /\  A  =/=  B )  -> 
( A. z  e. 
{ A ,  B }  ( B  =  z  \/  ( E  i^i  [_ z  /  x ]_ C )  =  (/) ) 
<->  ( ( A  =  B  \/  ( D  i^i  E )  =  (/) )  /\ T.  ) ) )
5737biantru 507 . . . . . 6  |-  ( ( A  =  B  \/  ( D  i^i  E )  =  (/) )  <->  ( ( A  =  B  \/  ( D  i^i  E )  =  (/) )  /\ T.  ) )
5836, 57syl6bb 264 . . . . 5  |-  ( ( A  e.  V  /\  B  e.  V  /\  A  =/=  B )  -> 
( ( D  i^i  E )  =  (/)  <->  ( ( A  =  B  \/  ( D  i^i  E )  =  (/) )  /\ T.  ) ) )
5956, 58bitr4d 259 . . . 4  |-  ( ( A  e.  V  /\  B  e.  V  /\  A  =/=  B )  -> 
( A. z  e. 
{ A ,  B }  ( B  =  z  \/  ( E  i^i  [_ z  /  x ]_ C )  =  (/) ) 
<->  ( D  i^i  E
)  =  (/) ) )
6040, 59anbi12d 715 . . 3  |-  ( ( A  e.  V  /\  B  e.  V  /\  A  =/=  B )  -> 
( ( A. z  e.  { A ,  B }  ( A  =  z  \/  ( D  i^i  [_ z  /  x ]_ C )  =  (/) )  /\  A. z  e. 
{ A ,  B }  ( B  =  z  \/  ( E  i^i  [_ z  /  x ]_ C )  =  (/) ) )  <->  ( ( D  i^i  E )  =  (/)  /\  ( D  i^i  E )  =  (/) ) ) )
6120, 60bitrd 256 . 2  |-  ( ( A  e.  V  /\  B  e.  V  /\  A  =/=  B )  -> 
( A. y  e. 
{ A ,  B } A. z  e.  { A ,  B } 
( y  =  z  \/  ( [_ y  /  x ]_ C  i^i  [_ z  /  x ]_ C )  =  (/) ) 
<->  ( ( D  i^i  E )  =  (/)  /\  ( D  i^i  E )  =  (/) ) ) )
62 disjors 4352 . 2  |-  (Disj  x  e.  { A ,  B } C  <->  A. y  e.  { A ,  B } A. z  e.  { A ,  B }  ( y  =  z  \/  ( [_ y  /  x ]_ C  i^i  [_ z  /  x ]_ C )  =  (/) ) )
63 pm4.24 647 . 2  |-  ( ( D  i^i  E )  =  (/)  <->  ( ( D  i^i  E )  =  (/)  /\  ( D  i^i  E )  =  (/) ) )
6461, 62, 633bitr4g 291 1  |-  ( ( A  e.  V  /\  B  e.  V  /\  A  =/=  B )  -> 
(Disj  x  e.  { A ,  B } C  <->  ( D  i^i  E )  =  (/) ) )
Colors of variables: wff setvar class
Syntax hints:   -. wn 3    -> wi 4    <-> wb 187    \/ wo 369    /\ wa 370    /\ w3a 982    = wceq 1437   T. wtru 1438    e. wcel 1872    =/= wne 2599   A.wral 2714   [_csb 3338    i^i cin 3378   (/)c0 3704   {cpr 3943  Disj wdisj 4337
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1663  ax-4 1676  ax-5 1752  ax-6 1798  ax-7 1843  ax-10 1891  ax-11 1896  ax-12 1909  ax-13 2063  ax-ext 2408
This theorem depends on definitions:  df-bi 188  df-or 371  df-an 372  df-3an 984  df-tru 1440  df-ex 1658  df-nf 1662  df-sb 1791  df-eu 2280  df-mo 2281  df-clab 2415  df-cleq 2421  df-clel 2424  df-nfc 2558  df-ne 2601  df-ral 2719  df-rex 2720  df-reu 2721  df-rmo 2722  df-v 3024  df-sbc 3243  df-csb 3339  df-dif 3382  df-un 3384  df-in 3386  df-nul 3705  df-sn 3942  df-pr 3944  df-disj 4338
This theorem is referenced by:  disjdifprg  28131  unelldsys  28932  pmeasmono  29109  probun  29204  meadjun  38151
  Copyright terms: Public domain W3C validator