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

Theorem difopn 16771
Description: The difference of a closed set with an open set is open. (Contributed by Mario Carneiro, 6-Jan-2014.)
Hypothesis
Ref Expression
iscld.1  |-  X  = 
U. J
Assertion
Ref Expression
difopn  |-  ( ( A  e.  J  /\  B  e.  ( Clsd `  J ) )  -> 
( A  \  B
)  e.  J )

Proof of Theorem difopn
StepHypRef Expression
1 elssuni 3855 . . . . . 6  |-  ( A  e.  J  ->  A  C_ 
U. J )
2 iscld.1 . . . . . 6  |-  X  = 
U. J
31, 2syl6sseqr 3225 . . . . 5  |-  ( A  e.  J  ->  A  C_  X )
43adantr 451 . . . 4  |-  ( ( A  e.  J  /\  B  e.  ( Clsd `  J ) )  ->  A  C_  X )
5 df-ss 3166 . . . 4  |-  ( A 
C_  X  <->  ( A  i^i  X )  =  A )
64, 5sylib 188 . . 3  |-  ( ( A  e.  J  /\  B  e.  ( Clsd `  J ) )  -> 
( A  i^i  X
)  =  A )
76difeq1d 3293 . 2  |-  ( ( A  e.  J  /\  B  e.  ( Clsd `  J ) )  -> 
( ( A  i^i  X )  \  B )  =  ( A  \  B ) )
8 indif2 3412 . . 3  |-  ( A  i^i  ( X  \  B ) )  =  ( ( A  i^i  X )  \  B )
9 cldrcl 16763 . . . . 5  |-  ( B  e.  ( Clsd `  J
)  ->  J  e.  Top )
109adantl 452 . . . 4  |-  ( ( A  e.  J  /\  B  e.  ( Clsd `  J ) )  ->  J  e.  Top )
11 simpl 443 . . . 4  |-  ( ( A  e.  J  /\  B  e.  ( Clsd `  J ) )  ->  A  e.  J )
122cldopn 16768 . . . . 5  |-  ( B  e.  ( Clsd `  J
)  ->  ( X  \  B )  e.  J
)
1312adantl 452 . . . 4  |-  ( ( A  e.  J  /\  B  e.  ( Clsd `  J ) )  -> 
( X  \  B
)  e.  J )
14 inopn 16645 . . . 4  |-  ( ( J  e.  Top  /\  A  e.  J  /\  ( X  \  B )  e.  J )  -> 
( A  i^i  ( X  \  B ) )  e.  J )
1510, 11, 13, 14syl3anc 1182 . . 3  |-  ( ( A  e.  J  /\  B  e.  ( Clsd `  J ) )  -> 
( A  i^i  ( X  \  B ) )  e.  J )
168, 15syl5eqelr 2368 . 2  |-  ( ( A  e.  J  /\  B  e.  ( Clsd `  J ) )  -> 
( ( A  i^i  X )  \  B )  e.  J )
177, 16eqeltrrd 2358 1  |-  ( ( A  e.  J  /\  B  e.  ( Clsd `  J ) )  -> 
( A  \  B
)  e.  J )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 358    = wceq 1623    e. wcel 1684    \ cdif 3149    i^i cin 3151    C_ wss 3152   U.cuni 3827   ` cfv 5255   Topctop 16631   Clsdccld 16753
This theorem is referenced by:  bcthlem5  18750  cldssbrsiga  23518
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-13 1686  ax-14 1688  ax-6 1703  ax-7 1708  ax-11 1715  ax-12 1866  ax-ext 2264  ax-sep 4141  ax-nul 4149  ax-pow 4188  ax-pr 4214  ax-un 4512
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3an 936  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-rex 2549  df-rab 2552  df-v 2790  df-sbc 2992  df-dif 3155  df-un 3157  df-in 3159  df-ss 3166  df-nul 3456  df-if 3566  df-pw 3627  df-sn 3646  df-pr 3647  df-op 3649  df-uni 3828  df-br 4024  df-opab 4078  df-mpt 4079  df-id 4309  df-xp 4695  df-rel 4696  df-cnv 4697  df-co 4698  df-dm 4699  df-iota 5219  df-fun 5257  df-fn 5258  df-fv 5263  df-top 16636  df-cld 16756
  Copyright terms: Public domain W3C validator