MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  basdif0 Structured version   Visualization version   GIF version

Theorem basdif0 22103
Description: A basis is not affected by the addition or removal of the empty set. (Contributed by Mario Carneiro, 28-Aug-2015.)
Assertion
Ref Expression
basdif0 ((𝐵 ∖ {∅}) ∈ TopBases ↔ 𝐵 ∈ TopBases)

Proof of Theorem basdif0
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 ssun1 4106 . . . 4 𝐵 ⊆ (𝐵 ∪ {∅})
2 undif1 4409 . . . 4 ((𝐵 ∖ {∅}) ∪ {∅}) = (𝐵 ∪ {∅})
31, 2sseqtrri 3958 . . 3 𝐵 ⊆ ((𝐵 ∖ {∅}) ∪ {∅})
4 snex 5354 . . . 4 {∅} ∈ V
5 unexg 7599 . . . 4 (((𝐵 ∖ {∅}) ∈ TopBases ∧ {∅} ∈ V) → ((𝐵 ∖ {∅}) ∪ {∅}) ∈ V)
64, 5mpan2 688 . . 3 ((𝐵 ∖ {∅}) ∈ TopBases → ((𝐵 ∖ {∅}) ∪ {∅}) ∈ V)
7 ssexg 5247 . . 3 ((𝐵 ⊆ ((𝐵 ∖ {∅}) ∪ {∅}) ∧ ((𝐵 ∖ {∅}) ∪ {∅}) ∈ V) → 𝐵 ∈ V)
83, 6, 7sylancr 587 . 2 ((𝐵 ∖ {∅}) ∈ TopBases → 𝐵 ∈ V)
9 elex 3450 . 2 (𝐵 ∈ TopBases → 𝐵 ∈ V)
10 indif1 4205 . . . . . . . . . . 11 ((𝐵 ∖ {∅}) ∩ 𝒫 (𝑥𝑦)) = ((𝐵 ∩ 𝒫 (𝑥𝑦)) ∖ {∅})
1110unieqi 4852 . . . . . . . . . 10 ((𝐵 ∖ {∅}) ∩ 𝒫 (𝑥𝑦)) = ((𝐵 ∩ 𝒫 (𝑥𝑦)) ∖ {∅})
12 unidif0 5282 . . . . . . . . . 10 ((𝐵 ∩ 𝒫 (𝑥𝑦)) ∖ {∅}) = (𝐵 ∩ 𝒫 (𝑥𝑦))
1311, 12eqtri 2766 . . . . . . . . 9 ((𝐵 ∖ {∅}) ∩ 𝒫 (𝑥𝑦)) = (𝐵 ∩ 𝒫 (𝑥𝑦))
1413sseq2i 3950 . . . . . . . 8 ((𝑥𝑦) ⊆ ((𝐵 ∖ {∅}) ∩ 𝒫 (𝑥𝑦)) ↔ (𝑥𝑦) ⊆ (𝐵 ∩ 𝒫 (𝑥𝑦)))
1514ralbii 3092 . . . . . . 7 (∀𝑦 ∈ (𝐵 ∖ {∅})(𝑥𝑦) ⊆ ((𝐵 ∖ {∅}) ∩ 𝒫 (𝑥𝑦)) ↔ ∀𝑦 ∈ (𝐵 ∖ {∅})(𝑥𝑦) ⊆ (𝐵 ∩ 𝒫 (𝑥𝑦)))
16 inss2 4163 . . . . . . . . . 10 (𝑥𝑦) ⊆ 𝑦
17 elinel2 4130 . . . . . . . . . . . 12 (𝑦 ∈ (𝐵 ∩ {∅}) → 𝑦 ∈ {∅})
18 elsni 4578 . . . . . . . . . . . 12 (𝑦 ∈ {∅} → 𝑦 = ∅)
1917, 18syl 17 . . . . . . . . . . 11 (𝑦 ∈ (𝐵 ∩ {∅}) → 𝑦 = ∅)
20 0ss 4330 . . . . . . . . . . 11 ∅ ⊆ (𝐵 ∩ 𝒫 (𝑥𝑦))
2119, 20eqsstrdi 3975 . . . . . . . . . 10 (𝑦 ∈ (𝐵 ∩ {∅}) → 𝑦 (𝐵 ∩ 𝒫 (𝑥𝑦)))
2216, 21sstrid 3932 . . . . . . . . 9 (𝑦 ∈ (𝐵 ∩ {∅}) → (𝑥𝑦) ⊆ (𝐵 ∩ 𝒫 (𝑥𝑦)))
2322rgen 3074 . . . . . . . 8 𝑦 ∈ (𝐵 ∩ {∅})(𝑥𝑦) ⊆ (𝐵 ∩ 𝒫 (𝑥𝑦))
24 ralunb 4125 . . . . . . . 8 (∀𝑦 ∈ ((𝐵 ∩ {∅}) ∪ (𝐵 ∖ {∅}))(𝑥𝑦) ⊆ (𝐵 ∩ 𝒫 (𝑥𝑦)) ↔ (∀𝑦 ∈ (𝐵 ∩ {∅})(𝑥𝑦) ⊆ (𝐵 ∩ 𝒫 (𝑥𝑦)) ∧ ∀𝑦 ∈ (𝐵 ∖ {∅})(𝑥𝑦) ⊆ (𝐵 ∩ 𝒫 (𝑥𝑦))))
2523, 24mpbiran 706 . . . . . . 7 (∀𝑦 ∈ ((𝐵 ∩ {∅}) ∪ (𝐵 ∖ {∅}))(𝑥𝑦) ⊆ (𝐵 ∩ 𝒫 (𝑥𝑦)) ↔ ∀𝑦 ∈ (𝐵 ∖ {∅})(𝑥𝑦) ⊆ (𝐵 ∩ 𝒫 (𝑥𝑦)))
26 inundif 4412 . . . . . . . 8 ((𝐵 ∩ {∅}) ∪ (𝐵 ∖ {∅})) = 𝐵
2726raleqi 3346 . . . . . . 7 (∀𝑦 ∈ ((𝐵 ∩ {∅}) ∪ (𝐵 ∖ {∅}))(𝑥𝑦) ⊆ (𝐵 ∩ 𝒫 (𝑥𝑦)) ↔ ∀𝑦𝐵 (𝑥𝑦) ⊆ (𝐵 ∩ 𝒫 (𝑥𝑦)))
2815, 25, 273bitr2i 299 . . . . . 6 (∀𝑦 ∈ (𝐵 ∖ {∅})(𝑥𝑦) ⊆ ((𝐵 ∖ {∅}) ∩ 𝒫 (𝑥𝑦)) ↔ ∀𝑦𝐵 (𝑥𝑦) ⊆ (𝐵 ∩ 𝒫 (𝑥𝑦)))
2928ralbii 3092 . . . . 5 (∀𝑥 ∈ (𝐵 ∖ {∅})∀𝑦 ∈ (𝐵 ∖ {∅})(𝑥𝑦) ⊆ ((𝐵 ∖ {∅}) ∩ 𝒫 (𝑥𝑦)) ↔ ∀𝑥 ∈ (𝐵 ∖ {∅})∀𝑦𝐵 (𝑥𝑦) ⊆ (𝐵 ∩ 𝒫 (𝑥𝑦)))
30 inss1 4162 . . . . . . . . 9 (𝑥𝑦) ⊆ 𝑥
31 elinel2 4130 . . . . . . . . . . 11 (𝑥 ∈ (𝐵 ∩ {∅}) → 𝑥 ∈ {∅})
32 elsni 4578 . . . . . . . . . . 11 (𝑥 ∈ {∅} → 𝑥 = ∅)
3331, 32syl 17 . . . . . . . . . 10 (𝑥 ∈ (𝐵 ∩ {∅}) → 𝑥 = ∅)
3433, 20eqsstrdi 3975 . . . . . . . . 9 (𝑥 ∈ (𝐵 ∩ {∅}) → 𝑥 (𝐵 ∩ 𝒫 (𝑥𝑦)))
3530, 34sstrid 3932 . . . . . . . 8 (𝑥 ∈ (𝐵 ∩ {∅}) → (𝑥𝑦) ⊆ (𝐵 ∩ 𝒫 (𝑥𝑦)))
3635ralrimivw 3104 . . . . . . 7 (𝑥 ∈ (𝐵 ∩ {∅}) → ∀𝑦𝐵 (𝑥𝑦) ⊆ (𝐵 ∩ 𝒫 (𝑥𝑦)))
3736rgen 3074 . . . . . 6 𝑥 ∈ (𝐵 ∩ {∅})∀𝑦𝐵 (𝑥𝑦) ⊆ (𝐵 ∩ 𝒫 (𝑥𝑦))
38 ralunb 4125 . . . . . 6 (∀𝑥 ∈ ((𝐵 ∩ {∅}) ∪ (𝐵 ∖ {∅}))∀𝑦𝐵 (𝑥𝑦) ⊆ (𝐵 ∩ 𝒫 (𝑥𝑦)) ↔ (∀𝑥 ∈ (𝐵 ∩ {∅})∀𝑦𝐵 (𝑥𝑦) ⊆ (𝐵 ∩ 𝒫 (𝑥𝑦)) ∧ ∀𝑥 ∈ (𝐵 ∖ {∅})∀𝑦𝐵 (𝑥𝑦) ⊆ (𝐵 ∩ 𝒫 (𝑥𝑦))))
3937, 38mpbiran 706 . . . . 5 (∀𝑥 ∈ ((𝐵 ∩ {∅}) ∪ (𝐵 ∖ {∅}))∀𝑦𝐵 (𝑥𝑦) ⊆ (𝐵 ∩ 𝒫 (𝑥𝑦)) ↔ ∀𝑥 ∈ (𝐵 ∖ {∅})∀𝑦𝐵 (𝑥𝑦) ⊆ (𝐵 ∩ 𝒫 (𝑥𝑦)))
4026raleqi 3346 . . . . 5 (∀𝑥 ∈ ((𝐵 ∩ {∅}) ∪ (𝐵 ∖ {∅}))∀𝑦𝐵 (𝑥𝑦) ⊆ (𝐵 ∩ 𝒫 (𝑥𝑦)) ↔ ∀𝑥𝐵𝑦𝐵 (𝑥𝑦) ⊆ (𝐵 ∩ 𝒫 (𝑥𝑦)))
4129, 39, 403bitr2i 299 . . . 4 (∀𝑥 ∈ (𝐵 ∖ {∅})∀𝑦 ∈ (𝐵 ∖ {∅})(𝑥𝑦) ⊆ ((𝐵 ∖ {∅}) ∩ 𝒫 (𝑥𝑦)) ↔ ∀𝑥𝐵𝑦𝐵 (𝑥𝑦) ⊆ (𝐵 ∩ 𝒫 (𝑥𝑦)))
4241a1i 11 . . 3 (𝐵 ∈ V → (∀𝑥 ∈ (𝐵 ∖ {∅})∀𝑦 ∈ (𝐵 ∖ {∅})(𝑥𝑦) ⊆ ((𝐵 ∖ {∅}) ∩ 𝒫 (𝑥𝑦)) ↔ ∀𝑥𝐵𝑦𝐵 (𝑥𝑦) ⊆ (𝐵 ∩ 𝒫 (𝑥𝑦))))
43 difexg 5251 . . . 4 (𝐵 ∈ V → (𝐵 ∖ {∅}) ∈ V)
44 isbasisg 22097 . . . 4 ((𝐵 ∖ {∅}) ∈ V → ((𝐵 ∖ {∅}) ∈ TopBases ↔ ∀𝑥 ∈ (𝐵 ∖ {∅})∀𝑦 ∈ (𝐵 ∖ {∅})(𝑥𝑦) ⊆ ((𝐵 ∖ {∅}) ∩ 𝒫 (𝑥𝑦))))
4543, 44syl 17 . . 3 (𝐵 ∈ V → ((𝐵 ∖ {∅}) ∈ TopBases ↔ ∀𝑥 ∈ (𝐵 ∖ {∅})∀𝑦 ∈ (𝐵 ∖ {∅})(𝑥𝑦) ⊆ ((𝐵 ∖ {∅}) ∩ 𝒫 (𝑥𝑦))))
46 isbasisg 22097 . . 3 (𝐵 ∈ V → (𝐵 ∈ TopBases ↔ ∀𝑥𝐵𝑦𝐵 (𝑥𝑦) ⊆ (𝐵 ∩ 𝒫 (𝑥𝑦))))
4742, 45, 463bitr4d 311 . 2 (𝐵 ∈ V → ((𝐵 ∖ {∅}) ∈ TopBases ↔ 𝐵 ∈ TopBases))
488, 9, 47pm5.21nii 380 1 ((𝐵 ∖ {∅}) ∈ TopBases ↔ 𝐵 ∈ TopBases)
Colors of variables: wff setvar class
Syntax hints:  wb 205   = wceq 1539  wcel 2106  wral 3064  Vcvv 3432  cdif 3884  cun 3885  cin 3886  wss 3887  c0 4256  𝒫 cpw 4533  {csn 4561   cuni 4839  TopBasesctb 22095
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pr 5352  ax-un 7588
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-tru 1542  df-fal 1552  df-ex 1783  df-sb 2068  df-clab 2716  df-cleq 2730  df-clel 2816  df-ral 3069  df-rab 3073  df-v 3434  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-sn 4562  df-pr 4564  df-uni 4840  df-bases 22096
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator