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

Theorem disjprg 4399
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 2458 . . . . . . 7  |-  ( y  =  A  ->  (
y  =  z  <->  A  =  z ) )
2 nfcv 2616 . . . . . . . . . 10  |-  F/_ x A
3 nfcv 2616 . . . . . . . . . 10  |-  F/_ x D
4 disjprg.1 . . . . . . . . . 10  |-  ( x  =  A  ->  C  =  D )
52, 3, 4csbhypf 3417 . . . . . . . . 9  |-  ( y  =  A  ->  [_ y  /  x ]_ C  =  D )
65ineq1d 3662 . . . . . . . 8  |-  ( y  =  A  ->  ( [_ y  /  x ]_ C  i^i  [_ z  /  x ]_ C )  =  ( D  i^i  [_ z  /  x ]_ C ) )
76eqeq1d 2456 . . . . . . 7  |-  ( y  =  A  ->  (
( [_ y  /  x ]_ C  i^i  [_ z  /  x ]_ C )  =  (/)  <->  ( D  i^i  [_ z  /  x ]_ C )  =  (/) ) )
81, 7orbi12d 709 . . . . . 6  |-  ( y  =  A  ->  (
( y  =  z  \/  ( [_ y  /  x ]_ C  i^i  [_ z  /  x ]_ C )  =  (/) ) 
<->  ( A  =  z  \/  ( D  i^i  [_ z  /  x ]_ C )  =  (/) ) ) )
98ralbidv 2846 . . . . 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 2458 . . . . . . 7  |-  ( y  =  B  ->  (
y  =  z  <->  B  =  z ) )
11 nfcv 2616 . . . . . . . . . 10  |-  F/_ x B
12 nfcv 2616 . . . . . . . . . 10  |-  F/_ x E
13 disjprg.2 . . . . . . . . . 10  |-  ( x  =  B  ->  C  =  E )
1411, 12, 13csbhypf 3417 . . . . . . . . 9  |-  ( y  =  B  ->  [_ y  /  x ]_ C  =  E )
1514ineq1d 3662 . . . . . . . 8  |-  ( y  =  B  ->  ( [_ y  /  x ]_ C  i^i  [_ z  /  x ]_ C )  =  ( E  i^i  [_ z  /  x ]_ C ) )
1615eqeq1d 2456 . . . . . . 7  |-  ( y  =  B  ->  (
( [_ y  /  x ]_ C  i^i  [_ z  /  x ]_ C )  =  (/)  <->  ( E  i^i  [_ z  /  x ]_ C )  =  (/) ) )
1710, 16orbi12d 709 . . . . . 6  |-  ( y  =  B  ->  (
( y  =  z  \/  ( [_ y  /  x ]_ C  i^i  [_ z  /  x ]_ C )  =  (/) ) 
<->  ( B  =  z  \/  ( E  i^i  [_ z  /  x ]_ C )  =  (/) ) ) )
1817ralbidv 2846 . . . . 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 4036 . . . 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 1008 . . 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 2462 . . . . . . . . 9  |-  ( z  =  A  ->  A  =  z )
2322orcd 392 . . . . . . . 8  |-  ( z  =  A  ->  ( A  =  z  \/  ( D  i^i  [_ z  /  x ]_ C )  =  (/) ) )
24 a1tru 1386 . . . . . . . 8  |-  ( z  =  A  -> T.  )
2523, 242thd 240 . . . . . . 7  |-  ( z  =  A  ->  (
( A  =  z  \/  ( D  i^i  [_ z  /  x ]_ C )  =  (/) ) 
<-> T.  ) )
26 eqeq2 2469 . . . . . . . 8  |-  ( z  =  B  ->  ( A  =  z  <->  A  =  B ) )
2711, 12, 13csbhypf 3417 . . . . . . . . . 10  |-  ( z  =  B  ->  [_ z  /  x ]_ C  =  E )
2827ineq2d 3663 . . . . . . . . 9  |-  ( z  =  B  ->  ( D  i^i  [_ z  /  x ]_ C )  =  ( D  i^i  E ) )
2928eqeq1d 2456 . . . . . . . 8  |-  ( z  =  B  ->  (
( D  i^i  [_ z  /  x ]_ C )  =  (/)  <->  ( D  i^i  E )  =  (/) ) )
3026, 29orbi12d 709 . . . . . . 7  |-  ( z  =  B  ->  (
( A  =  z  \/  ( D  i^i  [_ z  /  x ]_ C )  =  (/) ) 
<->  ( A  =  B  \/  ( D  i^i  E )  =  (/) ) ) )
3125, 30ralprg 4036 . . . . . 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 1008 . . . . 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 990 . . . . . . . 8  |-  ( ( A  e.  V  /\  B  e.  V  /\  A  =/=  B )  ->  A  =/=  B )
3433neneqd 2655 . . . . . . 7  |-  ( ( A  e.  V  /\  B  e.  V  /\  A  =/=  B )  ->  -.  A  =  B
)
35 biorf 405 . . . . . . 7  |-  ( -.  A  =  B  -> 
( ( D  i^i  E )  =  (/)  <->  ( A  =  B  \/  ( D  i^i  E )  =  (/) ) ) )
3634, 35syl 16 . . . . . 6  |-  ( ( A  e.  V  /\  B  e.  V  /\  A  =/=  B )  -> 
( ( D  i^i  E )  =  (/)  <->  ( A  =  B  \/  ( D  i^i  E )  =  (/) ) ) )
37 tru 1374 . . . . . . 7  |- T.
3837biantrur 506 . . . . . 6  |-  ( ( A  =  B  \/  ( D  i^i  E )  =  (/) )  <->  ( T.  /\  ( A  =  B  \/  ( D  i^i  E )  =  (/) ) ) )
3936, 38syl6bb 261 . . . . 5  |-  ( ( A  e.  V  /\  B  e.  V  /\  A  =/=  B )  -> 
( ( D  i^i  E )  =  (/)  <->  ( T.  /\  ( A  =  B  \/  ( D  i^i  E )  =  (/) ) ) ) )
4032, 39bitr4d 256 . . . 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 2469 . . . . . . . . 9  |-  ( z  =  A  ->  ( B  =  z  <->  B  =  A ) )
42 eqcom 2463 . . . . . . . . 9  |-  ( B  =  A  <->  A  =  B )
4341, 42syl6bb 261 . . . . . . . 8  |-  ( z  =  A  ->  ( B  =  z  <->  A  =  B ) )
442, 3, 4csbhypf 3417 . . . . . . . . . . 11  |-  ( z  =  A  ->  [_ z  /  x ]_ C  =  D )
4544ineq2d 3663 . . . . . . . . . 10  |-  ( z  =  A  ->  ( E  i^i  [_ z  /  x ]_ C )  =  ( E  i^i  D ) )
46 incom 3654 . . . . . . . . . 10  |-  ( E  i^i  D )  =  ( D  i^i  E
)
4745, 46syl6eq 2511 . . . . . . . . 9  |-  ( z  =  A  ->  ( E  i^i  [_ z  /  x ]_ C )  =  ( D  i^i  E ) )
4847eqeq1d 2456 . . . . . . . 8  |-  ( z  =  A  ->  (
( E  i^i  [_ z  /  x ]_ C )  =  (/)  <->  ( D  i^i  E )  =  (/) ) )
4943, 48orbi12d 709 . . . . . . 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 2462 . . . . . . . . 9  |-  ( z  =  B  ->  B  =  z )
5251orcd 392 . . . . . . . 8  |-  ( z  =  B  ->  ( B  =  z  \/  ( E  i^i  [_ z  /  x ]_ C )  =  (/) ) )
53 a1tru 1386 . . . . . . . 8  |-  ( z  =  B  -> T.  )
5452, 532thd 240 . . . . . . 7  |-  ( z  =  B  ->  (
( B  =  z  \/  ( E  i^i  [_ z  /  x ]_ C )  =  (/) ) 
<-> T.  ) )
5549, 54ralprg 4036 . . . . . 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 1008 . . . . 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 505 . . . . . 6  |-  ( ( A  =  B  \/  ( D  i^i  E )  =  (/) )  <->  ( ( A  =  B  \/  ( D  i^i  E )  =  (/) )  /\ T.  ) )
5836, 57syl6bb 261 . . . . 5  |-  ( ( A  e.  V  /\  B  e.  V  /\  A  =/=  B )  -> 
( ( D  i^i  E )  =  (/)  <->  ( ( A  =  B  \/  ( D  i^i  E )  =  (/) )  /\ T.  ) ) )
5956, 58bitr4d 256 . . . 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 710 . . 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 253 . 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 4389 . 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 643 . 2  |-  ( ( D  i^i  E )  =  (/)  <->  ( ( D  i^i  E )  =  (/)  /\  ( D  i^i  E )  =  (/) ) )
6461, 62, 633bitr4g 288 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 184    \/ wo 368    /\ wa 369    /\ w3a 965    = wceq 1370   T. wtru 1371    e. wcel 1758    =/= wne 2648   A.wral 2799   [_csb 3398    i^i cin 3438   (/)c0 3748   {cpr 3990  Disj wdisj 4373
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1592  ax-4 1603  ax-5 1671  ax-6 1710  ax-7 1730  ax-10 1777  ax-11 1782  ax-12 1794  ax-13 1955  ax-ext 2432
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3an 967  df-tru 1373  df-ex 1588  df-nf 1591  df-sb 1703  df-eu 2266  df-mo 2267  df-clab 2440  df-cleq 2446  df-clel 2449  df-nfc 2604  df-ne 2650  df-ral 2804  df-rex 2805  df-reu 2806  df-rmo 2807  df-v 3080  df-sbc 3295  df-csb 3399  df-dif 3442  df-un 3444  df-in 3446  df-nul 3749  df-sn 3989  df-pr 3991  df-disj 4374
This theorem is referenced by:  disjdifprg  26097  probun  26969
  Copyright terms: Public domain W3C validator