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

Theorem basdif0 22011
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 4102 . . . 4 𝐵 ⊆ (𝐵 ∪ {∅})
2 undif1 4406 . . . 4 ((𝐵 ∖ {∅}) ∪ {∅}) = (𝐵 ∪ {∅})
31, 2sseqtrri 3954 . . 3 𝐵 ⊆ ((𝐵 ∖ {∅}) ∪ {∅})
4 snex 5349 . . . 4 {∅} ∈ V
5 unexg 7577 . . . 4 (((𝐵 ∖ {∅}) ∈ TopBases ∧ {∅} ∈ V) → ((𝐵 ∖ {∅}) ∪ {∅}) ∈ V)
64, 5mpan2 687 . . 3 ((𝐵 ∖ {∅}) ∈ TopBases → ((𝐵 ∖ {∅}) ∪ {∅}) ∈ V)
7 ssexg 5242 . . 3 ((𝐵 ⊆ ((𝐵 ∖ {∅}) ∪ {∅}) ∧ ((𝐵 ∖ {∅}) ∪ {∅}) ∈ V) → 𝐵 ∈ V)
83, 6, 7sylancr 586 . 2 ((𝐵 ∖ {∅}) ∈ TopBases → 𝐵 ∈ V)
9 elex 3440 . 2 (𝐵 ∈ TopBases → 𝐵 ∈ V)
10 indif1 4202 . . . . . . . . . . 11 ((𝐵 ∖ {∅}) ∩ 𝒫 (𝑥𝑦)) = ((𝐵 ∩ 𝒫 (𝑥𝑦)) ∖ {∅})
1110unieqi 4849 . . . . . . . . . 10 ((𝐵 ∖ {∅}) ∩ 𝒫 (𝑥𝑦)) = ((𝐵 ∩ 𝒫 (𝑥𝑦)) ∖ {∅})
12 unidif0 5277 . . . . . . . . . 10 ((𝐵 ∩ 𝒫 (𝑥𝑦)) ∖ {∅}) = (𝐵 ∩ 𝒫 (𝑥𝑦))
1311, 12eqtri 2766 . . . . . . . . 9 ((𝐵 ∖ {∅}) ∩ 𝒫 (𝑥𝑦)) = (𝐵 ∩ 𝒫 (𝑥𝑦))
1413sseq2i 3946 . . . . . . . 8 ((𝑥𝑦) ⊆ ((𝐵 ∖ {∅}) ∩ 𝒫 (𝑥𝑦)) ↔ (𝑥𝑦) ⊆ (𝐵 ∩ 𝒫 (𝑥𝑦)))
1514ralbii 3090 . . . . . . 7 (∀𝑦 ∈ (𝐵 ∖ {∅})(𝑥𝑦) ⊆ ((𝐵 ∖ {∅}) ∩ 𝒫 (𝑥𝑦)) ↔ ∀𝑦 ∈ (𝐵 ∖ {∅})(𝑥𝑦) ⊆ (𝐵 ∩ 𝒫 (𝑥𝑦)))
16 inss2 4160 . . . . . . . . . 10 (𝑥𝑦) ⊆ 𝑦
17 elinel2 4126 . . . . . . . . . . . 12 (𝑦 ∈ (𝐵 ∩ {∅}) → 𝑦 ∈ {∅})
18 elsni 4575 . . . . . . . . . . . 12 (𝑦 ∈ {∅} → 𝑦 = ∅)
1917, 18syl 17 . . . . . . . . . . 11 (𝑦 ∈ (𝐵 ∩ {∅}) → 𝑦 = ∅)
20 0ss 4327 . . . . . . . . . . 11 ∅ ⊆ (𝐵 ∩ 𝒫 (𝑥𝑦))
2119, 20eqsstrdi 3971 . . . . . . . . . 10 (𝑦 ∈ (𝐵 ∩ {∅}) → 𝑦 (𝐵 ∩ 𝒫 (𝑥𝑦)))
2216, 21sstrid 3928 . . . . . . . . 9 (𝑦 ∈ (𝐵 ∩ {∅}) → (𝑥𝑦) ⊆ (𝐵 ∩ 𝒫 (𝑥𝑦)))
2322rgen 3073 . . . . . . . 8 𝑦 ∈ (𝐵 ∩ {∅})(𝑥𝑦) ⊆ (𝐵 ∩ 𝒫 (𝑥𝑦))
24 ralunb 4121 . . . . . . . 8 (∀𝑦 ∈ ((𝐵 ∩ {∅}) ∪ (𝐵 ∖ {∅}))(𝑥𝑦) ⊆ (𝐵 ∩ 𝒫 (𝑥𝑦)) ↔ (∀𝑦 ∈ (𝐵 ∩ {∅})(𝑥𝑦) ⊆ (𝐵 ∩ 𝒫 (𝑥𝑦)) ∧ ∀𝑦 ∈ (𝐵 ∖ {∅})(𝑥𝑦) ⊆ (𝐵 ∩ 𝒫 (𝑥𝑦))))
2523, 24mpbiran 705 . . . . . . 7 (∀𝑦 ∈ ((𝐵 ∩ {∅}) ∪ (𝐵 ∖ {∅}))(𝑥𝑦) ⊆ (𝐵 ∩ 𝒫 (𝑥𝑦)) ↔ ∀𝑦 ∈ (𝐵 ∖ {∅})(𝑥𝑦) ⊆ (𝐵 ∩ 𝒫 (𝑥𝑦)))
26 inundif 4409 . . . . . . . 8 ((𝐵 ∩ {∅}) ∪ (𝐵 ∖ {∅})) = 𝐵
2726raleqi 3337 . . . . . . 7 (∀𝑦 ∈ ((𝐵 ∩ {∅}) ∪ (𝐵 ∖ {∅}))(𝑥𝑦) ⊆ (𝐵 ∩ 𝒫 (𝑥𝑦)) ↔ ∀𝑦𝐵 (𝑥𝑦) ⊆ (𝐵 ∩ 𝒫 (𝑥𝑦)))
2815, 25, 273bitr2i 298 . . . . . 6 (∀𝑦 ∈ (𝐵 ∖ {∅})(𝑥𝑦) ⊆ ((𝐵 ∖ {∅}) ∩ 𝒫 (𝑥𝑦)) ↔ ∀𝑦𝐵 (𝑥𝑦) ⊆ (𝐵 ∩ 𝒫 (𝑥𝑦)))
2928ralbii 3090 . . . . 5 (∀𝑥 ∈ (𝐵 ∖ {∅})∀𝑦 ∈ (𝐵 ∖ {∅})(𝑥𝑦) ⊆ ((𝐵 ∖ {∅}) ∩ 𝒫 (𝑥𝑦)) ↔ ∀𝑥 ∈ (𝐵 ∖ {∅})∀𝑦𝐵 (𝑥𝑦) ⊆ (𝐵 ∩ 𝒫 (𝑥𝑦)))
30 inss1 4159 . . . . . . . . 9 (𝑥𝑦) ⊆ 𝑥
31 elinel2 4126 . . . . . . . . . . 11 (𝑥 ∈ (𝐵 ∩ {∅}) → 𝑥 ∈ {∅})
32 elsni 4575 . . . . . . . . . . 11 (𝑥 ∈ {∅} → 𝑥 = ∅)
3331, 32syl 17 . . . . . . . . . 10 (𝑥 ∈ (𝐵 ∩ {∅}) → 𝑥 = ∅)
3433, 20eqsstrdi 3971 . . . . . . . . 9 (𝑥 ∈ (𝐵 ∩ {∅}) → 𝑥 (𝐵 ∩ 𝒫 (𝑥𝑦)))
3530, 34sstrid 3928 . . . . . . . 8 (𝑥 ∈ (𝐵 ∩ {∅}) → (𝑥𝑦) ⊆ (𝐵 ∩ 𝒫 (𝑥𝑦)))
3635ralrimivw 3108 . . . . . . 7 (𝑥 ∈ (𝐵 ∩ {∅}) → ∀𝑦𝐵 (𝑥𝑦) ⊆ (𝐵 ∩ 𝒫 (𝑥𝑦)))
3736rgen 3073 . . . . . 6 𝑥 ∈ (𝐵 ∩ {∅})∀𝑦𝐵 (𝑥𝑦) ⊆ (𝐵 ∩ 𝒫 (𝑥𝑦))
38 ralunb 4121 . . . . . 6 (∀𝑥 ∈ ((𝐵 ∩ {∅}) ∪ (𝐵 ∖ {∅}))∀𝑦𝐵 (𝑥𝑦) ⊆ (𝐵 ∩ 𝒫 (𝑥𝑦)) ↔ (∀𝑥 ∈ (𝐵 ∩ {∅})∀𝑦𝐵 (𝑥𝑦) ⊆ (𝐵 ∩ 𝒫 (𝑥𝑦)) ∧ ∀𝑥 ∈ (𝐵 ∖ {∅})∀𝑦𝐵 (𝑥𝑦) ⊆ (𝐵 ∩ 𝒫 (𝑥𝑦))))
3937, 38mpbiran 705 . . . . 5 (∀𝑥 ∈ ((𝐵 ∩ {∅}) ∪ (𝐵 ∖ {∅}))∀𝑦𝐵 (𝑥𝑦) ⊆ (𝐵 ∩ 𝒫 (𝑥𝑦)) ↔ ∀𝑥 ∈ (𝐵 ∖ {∅})∀𝑦𝐵 (𝑥𝑦) ⊆ (𝐵 ∩ 𝒫 (𝑥𝑦)))
4026raleqi 3337 . . . . 5 (∀𝑥 ∈ ((𝐵 ∩ {∅}) ∪ (𝐵 ∖ {∅}))∀𝑦𝐵 (𝑥𝑦) ⊆ (𝐵 ∩ 𝒫 (𝑥𝑦)) ↔ ∀𝑥𝐵𝑦𝐵 (𝑥𝑦) ⊆ (𝐵 ∩ 𝒫 (𝑥𝑦)))
4129, 39, 403bitr2i 298 . . . 4 (∀𝑥 ∈ (𝐵 ∖ {∅})∀𝑦 ∈ (𝐵 ∖ {∅})(𝑥𝑦) ⊆ ((𝐵 ∖ {∅}) ∩ 𝒫 (𝑥𝑦)) ↔ ∀𝑥𝐵𝑦𝐵 (𝑥𝑦) ⊆ (𝐵 ∩ 𝒫 (𝑥𝑦)))
4241a1i 11 . . 3 (𝐵 ∈ V → (∀𝑥 ∈ (𝐵 ∖ {∅})∀𝑦 ∈ (𝐵 ∖ {∅})(𝑥𝑦) ⊆ ((𝐵 ∖ {∅}) ∩ 𝒫 (𝑥𝑦)) ↔ ∀𝑥𝐵𝑦𝐵 (𝑥𝑦) ⊆ (𝐵 ∩ 𝒫 (𝑥𝑦))))
43 difexg 5246 . . . 4 (𝐵 ∈ V → (𝐵 ∖ {∅}) ∈ V)
44 isbasisg 22005 . . . 4 ((𝐵 ∖ {∅}) ∈ V → ((𝐵 ∖ {∅}) ∈ TopBases ↔ ∀𝑥 ∈ (𝐵 ∖ {∅})∀𝑦 ∈ (𝐵 ∖ {∅})(𝑥𝑦) ⊆ ((𝐵 ∖ {∅}) ∩ 𝒫 (𝑥𝑦))))
4543, 44syl 17 . . 3 (𝐵 ∈ V → ((𝐵 ∖ {∅}) ∈ TopBases ↔ ∀𝑥 ∈ (𝐵 ∖ {∅})∀𝑦 ∈ (𝐵 ∖ {∅})(𝑥𝑦) ⊆ ((𝐵 ∖ {∅}) ∩ 𝒫 (𝑥𝑦))))
46 isbasisg 22005 . . 3 (𝐵 ∈ V → (𝐵 ∈ TopBases ↔ ∀𝑥𝐵𝑦𝐵 (𝑥𝑦) ⊆ (𝐵 ∩ 𝒫 (𝑥𝑦))))
4742, 45, 463bitr4d 310 . 2 (𝐵 ∈ V → ((𝐵 ∖ {∅}) ∈ TopBases ↔ 𝐵 ∈ TopBases))
488, 9, 47pm5.21nii 379 1 ((𝐵 ∖ {∅}) ∈ TopBases ↔ 𝐵 ∈ TopBases)
Colors of variables: wff setvar class
Syntax hints:  wb 205   = wceq 1539  wcel 2108  wral 3063  Vcvv 3422  cdif 3880  cun 3881  cin 3882  wss 3883  c0 4253  𝒫 cpw 4530  {csn 4558   cuni 4836  TopBasesctb 22003
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pr 5347  ax-un 7566
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-tru 1542  df-fal 1552  df-ex 1784  df-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  df-ral 3068  df-rab 3072  df-v 3424  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-sn 4559  df-pr 4561  df-uni 4837  df-bases 22004
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator