Users' Mathboxes Mathbox for Thierry Arnoux < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  disjdifprg Structured version   Unicode version

Theorem disjdifprg 27308
Description: A trivial partition into a subset and its complement. (Contributed by Thierry Arnoux, 25-Dec-2016.)
Assertion
Ref Expression
disjdifprg  |-  ( ( A  e.  V  /\  B  e.  W )  -> Disj  x  e.  { ( B  \  A ) ,  A } x )
Distinct variable groups:    x, A    x, B
Allowed substitution hints:    V( x)    W( x)

Proof of Theorem disjdifprg
StepHypRef Expression
1 disjxsn 4431 . . . . . 6  |- Disj  x  e. 
{ (/) } x
2 simpr 461 . . . . . . . 8  |-  ( ( B  e.  W  /\  B  =  (/) )  ->  B  =  (/) )
3 eqidd 2444 . . . . . . . 8  |-  ( ( B  e.  W  /\  B  =  (/) )  ->  (/)  =  (/) )
4 elex 3104 . . . . . . . . . 10  |-  ( B  e.  W  ->  B  e.  _V )
5 0ex 4567 . . . . . . . . . . 11  |-  (/)  e.  _V
65a1i 11 . . . . . . . . . 10  |-  ( B  e.  W  ->  (/)  e.  _V )
74, 6, 6preqsnd 27290 . . . . . . . . 9  |-  ( B  e.  W  ->  ( { B ,  (/) }  =  { (/) }  <->  ( B  =  (/)  /\  (/)  =  (/) ) ) )
87adantr 465 . . . . . . . 8  |-  ( ( B  e.  W  /\  B  =  (/) )  -> 
( { B ,  (/)
}  =  { (/) }  <-> 
( B  =  (/)  /\  (/)  =  (/) ) ) )
92, 3, 8mpbir2and 922 . . . . . . 7  |-  ( ( B  e.  W  /\  B  =  (/) )  ->  { B ,  (/) }  =  { (/) } )
109disjeq1d 4415 . . . . . 6  |-  ( ( B  e.  W  /\  B  =  (/) )  -> 
(Disj  x  e.  { B ,  (/) } x  <-> Disj  x  e.  { (/)
} x ) )
111, 10mpbiri 233 . . . . 5  |-  ( ( B  e.  W  /\  B  =  (/) )  -> Disj  x  e.  { B ,  (/)
} x )
12 in0 3797 . . . . . 6  |-  ( B  i^i  (/) )  =  (/)
134adantr 465 . . . . . . 7  |-  ( ( B  e.  W  /\  B  =/=  (/) )  ->  B  e.  _V )
145a1i 11 . . . . . . 7  |-  ( ( B  e.  W  /\  B  =/=  (/) )  ->  (/)  e.  _V )
15 simpr 461 . . . . . . 7  |-  ( ( B  e.  W  /\  B  =/=  (/) )  ->  B  =/=  (/) )
16 id 22 . . . . . . . 8  |-  ( x  =  B  ->  x  =  B )
17 id 22 . . . . . . . 8  |-  ( x  =  (/)  ->  x  =  (/) )
1816, 17disjprg 4433 . . . . . . 7  |-  ( ( B  e.  _V  /\  (/) 
e.  _V  /\  B  =/=  (/) )  ->  (Disj  x  e.  { B ,  (/) } x  <->  ( B  i^i  (/) )  =  (/) ) )
1913, 14, 15, 18syl3anc 1229 . . . . . 6  |-  ( ( B  e.  W  /\  B  =/=  (/) )  ->  (Disj  x  e.  { B ,  (/)
} x  <->  ( B  i^i  (/) )  =  (/) ) )
2012, 19mpbiri 233 . . . . 5  |-  ( ( B  e.  W  /\  B  =/=  (/) )  -> Disj  x  e. 
{ B ,  (/) } x )
2111, 20pm2.61dane 2761 . . . 4  |-  ( B  e.  W  -> Disj  x  e. 
{ B ,  (/) } x )
2221ad2antlr 726 . . 3  |-  ( ( ( A  e.  V  /\  B  e.  W
)  /\  A  =  (/) )  -> Disj  x  e.  { B ,  (/) } x
)
23 difeq2 3601 . . . . . . 7  |-  ( A  =  (/)  ->  ( B 
\  A )  =  ( B  \  (/) ) )
24 dif0 3884 . . . . . . 7  |-  ( B 
\  (/) )  =  B
2523, 24syl6eq 2500 . . . . . 6  |-  ( A  =  (/)  ->  ( B 
\  A )  =  B )
26 id 22 . . . . . 6  |-  ( A  =  (/)  ->  A  =  (/) )
2725, 26preq12d 4102 . . . . 5  |-  ( A  =  (/)  ->  { ( B  \  A ) ,  A }  =  { B ,  (/) } )
2827disjeq1d 4415 . . . 4  |-  ( A  =  (/)  ->  (Disj  x  e.  { ( B  \  A ) ,  A } x  <-> Disj  x  e.  { B ,  (/) } x ) )
2928adantl 466 . . 3  |-  ( ( ( A  e.  V  /\  B  e.  W
)  /\  A  =  (/) )  ->  (Disj  x  e. 
{ ( B  \  A ) ,  A } x  <-> Disj  x  e.  { B ,  (/) } x ) )
3022, 29mpbird 232 . 2  |-  ( ( ( A  e.  V  /\  B  e.  W
)  /\  A  =  (/) )  -> Disj  x  e.  {
( B  \  A
) ,  A }
x )
31 incom 3676 . . . 4  |-  ( A  i^i  ( B  \  A ) )  =  ( ( B  \  A )  i^i  A
)
32 disjdif 3886 . . . 4  |-  ( A  i^i  ( B  \  A ) )  =  (/)
3331, 32eqtr3i 2474 . . 3  |-  ( ( B  \  A )  i^i  A )  =  (/)
34 difexg 4585 . . . . 5  |-  ( B  e.  W  ->  ( B  \  A )  e. 
_V )
3534ad2antlr 726 . . . 4  |-  ( ( ( A  e.  V  /\  B  e.  W
)  /\  -.  A  =  (/) )  ->  ( B  \  A )  e. 
_V )
36 elex 3104 . . . . 5  |-  ( A  e.  V  ->  A  e.  _V )
3736ad2antrr 725 . . . 4  |-  ( ( ( A  e.  V  /\  B  e.  W
)  /\  -.  A  =  (/) )  ->  A  e.  _V )
38 ssid 3508 . . . . . 6  |-  ( B 
\  A )  C_  ( B  \  A )
39 ssdifeq0 3896 . . . . . . . 8  |-  ( A 
C_  ( B  \  A )  <->  A  =  (/) )
4039notbii 296 . . . . . . 7  |-  ( -.  A  C_  ( B  \  A )  <->  -.  A  =  (/) )
41 nssne2 3546 . . . . . . 7  |-  ( ( ( B  \  A
)  C_  ( B  \  A )  /\  -.  A  C_  ( B  \  A ) )  -> 
( B  \  A
)  =/=  A )
4240, 41sylan2br 476 . . . . . 6  |-  ( ( ( B  \  A
)  C_  ( B  \  A )  /\  -.  A  =  (/) )  -> 
( B  \  A
)  =/=  A )
4338, 42mpan 670 . . . . 5  |-  ( -.  A  =  (/)  ->  ( B  \  A )  =/= 
A )
4443adantl 466 . . . 4  |-  ( ( ( A  e.  V  /\  B  e.  W
)  /\  -.  A  =  (/) )  ->  ( B  \  A )  =/= 
A )
45 id 22 . . . . 5  |-  ( x  =  ( B  \  A )  ->  x  =  ( B  \  A ) )
46 id 22 . . . . 5  |-  ( x  =  A  ->  x  =  A )
4745, 46disjprg 4433 . . . 4  |-  ( ( ( B  \  A
)  e.  _V  /\  A  e.  _V  /\  ( B  \  A )  =/= 
A )  ->  (Disj  x  e.  { ( B 
\  A ) ,  A } x  <->  ( ( B  \  A )  i^i 
A )  =  (/) ) )
4835, 37, 44, 47syl3anc 1229 . . 3  |-  ( ( ( A  e.  V  /\  B  e.  W
)  /\  -.  A  =  (/) )  ->  (Disj  x  e.  { ( B 
\  A ) ,  A } x  <->  ( ( B  \  A )  i^i 
A )  =  (/) ) )
4933, 48mpbiri 233 . 2  |-  ( ( ( A  e.  V  /\  B  e.  W
)  /\  -.  A  =  (/) )  -> Disj  x  e. 
{ ( B  \  A ) ,  A } x )
5030, 49pm2.61dan 791 1  |-  ( ( A  e.  V  /\  B  e.  W )  -> Disj  x  e.  { ( B  \  A ) ,  A } x )
Colors of variables: wff setvar class
Syntax hints:   -. wn 3    -> wi 4    <-> wb 184    /\ wa 369    = wceq 1383    e. wcel 1804    =/= wne 2638   _Vcvv 3095    \ cdif 3458    i^i cin 3460    C_ wss 3461   (/)c0 3770   {csn 4014   {cpr 4016  Disj wdisj 4407
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1605  ax-4 1618  ax-5 1691  ax-6 1734  ax-7 1776  ax-10 1823  ax-11 1828  ax-12 1840  ax-13 1985  ax-ext 2421  ax-sep 4558  ax-nul 4566
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3an 976  df-tru 1386  df-ex 1600  df-nf 1604  df-sb 1727  df-eu 2272  df-mo 2273  df-clab 2429  df-cleq 2435  df-clel 2438  df-nfc 2593  df-ne 2640  df-ral 2798  df-rex 2799  df-reu 2800  df-rmo 2801  df-rab 2802  df-v 3097  df-sbc 3314  df-csb 3421  df-dif 3464  df-un 3466  df-in 3468  df-ss 3475  df-nul 3771  df-sn 4015  df-pr 4017  df-disj 4408
This theorem is referenced by:  disjdifprg2  27309  measssd  28059
  Copyright terms: Public domain W3C validator