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

Theorem tgval2 23267
Description: Definition of a topology generated by a basis in [Munkres] p. 78. Later we show (in tgcl 23280) that (topGen‘𝐵) is indeed a topology (on ∪ 𝐵, see unitg 23278). See also tgval 23266 and tgval3 23274. (Contributed by NM, 15-Jul-2006.) (Revised by Mario Carneiro, 10-Jan-2015.)
Assertion
Ref Expression
tgval2 (𝐵 ∈ 𝑉 → (topGen‘𝐵) = {𝑥 ∣ (𝑥 ⊆ ∪ 𝐵 ∧ ∀𝑦 ∈ 𝑥 ∃𝑧 ∈ 𝐵 (𝑦 ∈ 𝑧 ∧ 𝑧 ⊆ 𝑥))})
Distinct variable groups:   𝑥,𝑦,𝑧,𝐵   𝑥,𝑉,𝑦,𝑧

Proof of Theorem tgval2
StepHypRef Expression
1 tgval 23266 . 2 (𝐵 ∈ 𝑉 → (topGen‘𝐵) = {𝑥 ∣ 𝑥 ⊆ ∪ (𝐵 ∩ 𝒫 𝑥)})
2 inss1 4182 . . . . . . . . 9 (𝐵 ∩ 𝒫 𝑥) ⊆ 𝐵
32unissi 4876 . . . . . . . 8 ∪ (𝐵 ∩ 𝒫 𝑥) ⊆ ∪ 𝐵
43sseli 3927 . . . . . . 7 (𝑦 ∈ ∪ (𝐵 ∩ 𝒫 𝑥) → 𝑦 ∈ ∪ 𝐵)
54pm4.71ri 570 . . . . . 6 (𝑦 ∈ ∪ (𝐵 ∩ 𝒫 𝑥) ↔ (𝑦 ∈ ∪ 𝐵 ∧ 𝑦 ∈ ∪ (𝐵 ∩ 𝒫 𝑥)))
65ralbii 3109 . . . . 5 (∀𝑦 ∈ 𝑥 𝑦 ∈ ∪ (𝐵 ∩ 𝒫 𝑥) ↔ ∀𝑦 ∈ 𝑥 (𝑦 ∈ ∪ 𝐵 ∧ 𝑦 ∈ ∪ (𝐵 ∩ 𝒫 𝑥)))
7 r19.26 3123 . . . . 5 (∀𝑦 ∈ 𝑥 (𝑦 ∈ ∪ 𝐵 ∧ 𝑦 ∈ ∪ (𝐵 ∩ 𝒫 𝑥)) ↔ (∀𝑦 ∈ 𝑥 𝑦 ∈ ∪ 𝐵 ∧ ∀𝑦 ∈ 𝑥 𝑦 ∈ ∪ (𝐵 ∩ 𝒫 𝑥)))
86, 7bitri 278 . . . 4 (∀𝑦 ∈ 𝑥 𝑦 ∈ ∪ (𝐵 ∩ 𝒫 𝑥) ↔ (∀𝑦 ∈ 𝑥 𝑦 ∈ ∪ 𝐵 ∧ ∀𝑦 ∈ 𝑥 𝑦 ∈ ∪ (𝐵 ∩ 𝒫 𝑥)))
9 dfss3 3920 . . . 4 (𝑥 ⊆ ∪ (𝐵 ∩ 𝒫 𝑥) ↔ ∀𝑦 ∈ 𝑥 𝑦 ∈ ∪ (𝐵 ∩ 𝒫 𝑥))
10 dfss3 3920 . . . . 5 (𝑥 ⊆ ∪ 𝐵 ↔ ∀𝑦 ∈ 𝑥 𝑦 ∈ ∪ 𝐵)
11 elin 3915 . . . . . . . . . . 11 (𝑧 ∈ (𝐵 ∩ 𝒫 𝑥) ↔ (𝑧 ∈ 𝐵 ∧ 𝑧 ∈ 𝒫 𝑥))
1211anbi2i 635 . . . . . . . . . 10 ((𝑦 ∈ 𝑧 ∧ 𝑧 ∈ (𝐵 ∩ 𝒫 𝑥)) ↔ (𝑦 ∈ 𝑧 ∧ (𝑧 ∈ 𝐵 ∧ 𝑧 ∈ 𝒫 𝑥)))
13 an12 658 . . . . . . . . . 10 ((𝑦 ∈ 𝑧 ∧ (𝑧 ∈ 𝐵 ∧ 𝑧 ∈ 𝒫 𝑥)) ↔ (𝑧 ∈ 𝐵 ∧ (𝑦 ∈ 𝑧 ∧ 𝑧 ∈ 𝒫 𝑥)))
1412, 13bitri 278 . . . . . . . . 9 ((𝑦 ∈ 𝑧 ∧ 𝑧 ∈ (𝐵 ∩ 𝒫 𝑥)) ↔ (𝑧 ∈ 𝐵 ∧ (𝑦 ∈ 𝑧 ∧ 𝑧 ∈ 𝒫 𝑥)))
1514exbii 1881 . . . . . . . 8 (∃𝑧(𝑦 ∈ 𝑧 ∧ 𝑧 ∈ (𝐵 ∩ 𝒫 𝑥)) ↔ ∃𝑧(𝑧 ∈ 𝐵 ∧ (𝑦 ∈ 𝑧 ∧ 𝑧 ∈ 𝒫 𝑥)))
16 eluni 4870 . . . . . . . 8 (𝑦 ∈ ∪ (𝐵 ∩ 𝒫 𝑥) ↔ ∃𝑧(𝑦 ∈ 𝑧 ∧ 𝑧 ∈ (𝐵 ∩ 𝒫 𝑥)))
17 df-rex 3088 . . . . . . . 8 (∃𝑧 ∈ 𝐵 (𝑦 ∈ 𝑧 ∧ 𝑧 ∈ 𝒫 𝑥) ↔ ∃𝑧(𝑧 ∈ 𝐵 ∧ (𝑦 ∈ 𝑧 ∧ 𝑧 ∈ 𝒫 𝑥)))
1815, 16, 173bitr4i 306 . . . . . . 7 (𝑦 ∈ ∪ (𝐵 ∩ 𝒫 𝑥) ↔ ∃𝑧 ∈ 𝐵 (𝑦 ∈ 𝑧 ∧ 𝑧 ∈ 𝒫 𝑥))
19 velpw 4562 . . . . . . . . 9 (𝑧 ∈ 𝒫 𝑥 ↔ 𝑧 ⊆ 𝑥)
2019anbi2i 635 . . . . . . . 8 ((𝑦 ∈ 𝑧 ∧ 𝑧 ∈ 𝒫 𝑥) ↔ (𝑦 ∈ 𝑧 ∧ 𝑧 ⊆ 𝑥))
2120rexbii 3110 . . . . . . 7 (∃𝑧 ∈ 𝐵 (𝑦 ∈ 𝑧 ∧ 𝑧 ∈ 𝒫 𝑥) ↔ ∃𝑧 ∈ 𝐵 (𝑦 ∈ 𝑧 ∧ 𝑧 ⊆ 𝑥))
2218, 21bitr2i 279 . . . . . 6 (∃𝑧 ∈ 𝐵 (𝑦 ∈ 𝑧 ∧ 𝑧 ⊆ 𝑥) ↔ 𝑦 ∈ ∪ (𝐵 ∩ 𝒫 𝑥))
2322ralbii 3109 . . . . 5 (∀𝑦 ∈ 𝑥 ∃𝑧 ∈ 𝐵 (𝑦 ∈ 𝑧 ∧ 𝑧 ⊆ 𝑥) ↔ ∀𝑦 ∈ 𝑥 𝑦 ∈ ∪ (𝐵 ∩ 𝒫 𝑥))
2410, 23anbi12i 640 . . . 4 ((𝑥 ⊆ ∪ 𝐵 ∧ ∀𝑦 ∈ 𝑥 ∃𝑧 ∈ 𝐵 (𝑦 ∈ 𝑧 ∧ 𝑧 ⊆ 𝑥)) ↔ (∀𝑦 ∈ 𝑥 𝑦 ∈ ∪ 𝐵 ∧ ∀𝑦 ∈ 𝑥 𝑦 ∈ ∪ (𝐵 ∩ 𝒫 𝑥)))
258, 9, 243bitr4i 306 . . 3 (𝑥 ⊆ ∪ (𝐵 ∩ 𝒫 𝑥) ↔ (𝑥 ⊆ ∪ 𝐵 ∧ ∀𝑦 ∈ 𝑥 ∃𝑧 ∈ 𝐵 (𝑦 ∈ 𝑧 ∧ 𝑧 ⊆ 𝑥)))
2625abbii 2828 . 2 {𝑥 ∣ 𝑥 ⊆ ∪ (𝐵 ∩ 𝒫 𝑥)} = {𝑥 ∣ (𝑥 ⊆ ∪ 𝐵 ∧ ∀𝑦 ∈ 𝑥 ∃𝑧 ∈ 𝐵 (𝑦 ∈ 𝑧 ∧ 𝑧 ⊆ 𝑥))}
271, 26eqtrdi 2812 1 (𝐵 ∈ 𝑉 → (topGen‘𝐵) = {𝑥 ∣ (𝑥 ⊆ ∪ 𝐵 ∧ ∀𝑦 ∈ 𝑥 ∃𝑧 ∈ 𝐵 (𝑦 ∈ 𝑧 ∧ 𝑧 ⊆ 𝑥))})
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1570  ∃wex 1812   ∈ wcel 2145  {cab 2739  ∀wral 3077  ∃wrex 3087   ∩ cin 3898   ⊆ wss 3899  𝒫 cpw 4557  ∪ cuni 4867  ‘cfv 6537  topGenctg 17601
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-sep 5249  ax-pow 5327  ax-pr 5391  ax-un 7749
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ral 3078  df-rex 3088  df-rab 3414  df-v 3453  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-br 5104  df-opab 5168  df-mpt 5187  df-id 5546  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-iota 6493  df-fun 6539  df-fv 6545  df-topgen 17607
This theorem is used by:  eltg2  23269
  Copyright terms: Public domain W3C validator