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

Theorem tgval2 23382
Description: Definition of a topology generated by a basis in [Munkres] p. 78. Later we show (in tgcl 23395) that (topGen‘𝐵) is indeed a topology (on ∪ 𝐵, see unitg 23393). See also tgval 23381 and tgval3 23389. (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 23381 . 2 (𝐵 ∈ 𝑉 → (topGen‘𝐵) = {𝑥 ∣ 𝑥 ⊆ ∪ (𝐵 ∩ 𝒫 𝑥)})
2 inss1 4143 . . . . . . . . 9 (𝐵 ∩ 𝒫 𝑥) ⊆ 𝐵
32unissi 4889 . . . . . . . 8 ∪ (𝐵 ∩ 𝒫 𝑥) ⊆ ∪ 𝐵
43sseli 3916 . . . . . . 7 (𝑦 ∈ ∪ (𝐵 ∩ 𝒫 𝑥) → 𝑦 ∈ ∪ 𝐵)
54pm4.71ri 570 . . . . . 6 (𝑦 ∈ ∪ (𝐵 ∩ 𝒫 𝑥) ↔ (𝑦 ∈ ∪ 𝐵 ∧ 𝑦 ∈ ∪ (𝐵 ∩ 𝒫 𝑥)))
65ralbii 3123 . . . . 5 (∀𝑦 ∈ 𝑥 𝑦 ∈ ∪ (𝐵 ∩ 𝒫 𝑥) ↔ ∀𝑦 ∈ 𝑥 (𝑦 ∈ ∪ 𝐵 ∧ 𝑦 ∈ ∪ (𝐵 ∩ 𝒫 𝑥)))
7 r19.26 3137 . . . . 5 (∀𝑦 ∈ 𝑥 (𝑦 ∈ ∪ 𝐵 ∧ 𝑦 ∈ ∪ (𝐵 ∩ 𝒫 𝑥)) ↔ (∀𝑦 ∈ 𝑥 𝑦 ∈ ∪ 𝐵 ∧ ∀𝑦 ∈ 𝑥 𝑦 ∈ ∪ (𝐵 ∩ 𝒫 𝑥)))
86, 7bitri 278 . . . 4 (∀𝑦 ∈ 𝑥 𝑦 ∈ ∪ (𝐵 ∩ 𝒫 𝑥) ↔ (∀𝑦 ∈ 𝑥 𝑦 ∈ ∪ 𝐵 ∧ ∀𝑦 ∈ 𝑥 𝑦 ∈ ∪ (𝐵 ∩ 𝒫 𝑥)))
9 dfss3 3909 . . . 4 (𝑥 ⊆ ∪ (𝐵 ∩ 𝒫 𝑥) ↔ ∀𝑦 ∈ 𝑥 𝑦 ∈ ∪ (𝐵 ∩ 𝒫 𝑥))
10 dfss3 3909 . . . . 5 (𝑥 ⊆ ∪ 𝐵 ↔ ∀𝑦 ∈ 𝑥 𝑦 ∈ ∪ 𝐵)
11 elin 4103 . . . . . . . . . . 11 (𝑧 ∈ (𝐵 ∩ 𝒫 𝑥) ↔ (𝑧 ∈ 𝐵 ∧ 𝑧 ∈ 𝒫 𝑥))
1211anbi2i 635 . . . . . . . . . 10 ((𝑦 ∈ 𝑧 ∧ 𝑧 ∈ (𝐵 ∩ 𝒫 𝑥)) ↔ (𝑦 ∈ 𝑧 ∧ (𝑧 ∈ 𝐵 ∧ 𝑧 ∈ 𝒫 𝑥)))
13 an12 658 . . . . . . . . . 10 ((𝑦 ∈ 𝑧 ∧ (𝑧 ∈ 𝐵 ∧ 𝑧 ∈ 𝒫 𝑥)) ↔ (𝑧 ∈ 𝐵 ∧ (𝑦 ∈ 𝑧 ∧ 𝑧 ∈ 𝒫 𝑥)))
1412, 13bitri 278 . . . . . . . . 9 ((𝑦 ∈ 𝑧 ∧ 𝑧 ∈ (𝐵 ∩ 𝒫 𝑥)) ↔ (𝑧 ∈ 𝐵 ∧ (𝑦 ∈ 𝑧 ∧ 𝑧 ∈ 𝒫 𝑥)))
1514exbii 1887 . . . . . . . 8 (∃𝑧(𝑦 ∈ 𝑧 ∧ 𝑧 ∈ (𝐵 ∩ 𝒫 𝑥)) ↔ ∃𝑧(𝑧 ∈ 𝐵 ∧ (𝑦 ∈ 𝑧 ∧ 𝑧 ∈ 𝒫 𝑥)))
16 eluni 4883 . . . . . . . 8 (𝑦 ∈ ∪ (𝐵 ∩ 𝒫 𝑥) ↔ ∃𝑧(𝑦 ∈ 𝑧 ∧ 𝑧 ∈ (𝐵 ∩ 𝒫 𝑥)))
17 df-rex 3102 . . . . . . . 8 (∃𝑧 ∈ 𝐵 (𝑦 ∈ 𝑧 ∧ 𝑧 ∈ 𝒫 𝑥) ↔ ∃𝑧(𝑧 ∈ 𝐵 ∧ (𝑦 ∈ 𝑧 ∧ 𝑧 ∈ 𝒫 𝑥)))
1815, 16, 173bitr4i 306 . . . . . . 7 (𝑦 ∈ ∪ (𝐵 ∩ 𝒫 𝑥) ↔ ∃𝑧 ∈ 𝐵 (𝑦 ∈ 𝑧 ∧ 𝑧 ∈ 𝒫 𝑥))
19 velpw 4572 . . . . . . . . 9 (𝑧 ∈ 𝒫 𝑥 ↔ 𝑧 ⊆ 𝑥)
2019anbi2i 635 . . . . . . . 8 ((𝑦 ∈ 𝑧 ∧ 𝑧 ∈ 𝒫 𝑥) ↔ (𝑦 ∈ 𝑧 ∧ 𝑧 ⊆ 𝑥))
2120rexbii 3124 . . . . . . 7 (∃𝑧 ∈ 𝐵 (𝑦 ∈ 𝑧 ∧ 𝑧 ∈ 𝒫 𝑥) ↔ ∃𝑧 ∈ 𝐵 (𝑦 ∈ 𝑧 ∧ 𝑧 ⊆ 𝑥))
2218, 21bitr2i 279 . . . . . 6 (∃𝑧 ∈ 𝐵 (𝑦 ∈ 𝑧 ∧ 𝑧 ⊆ 𝑥) ↔ 𝑦 ∈ ∪ (𝐵 ∩ 𝒫 𝑥))
2322ralbii 3123 . . . . 5 (∀𝑦 ∈ 𝑥 ∃𝑧 ∈ 𝐵 (𝑦 ∈ 𝑧 ∧ 𝑧 ⊆ 𝑥) ↔ ∀𝑦 ∈ 𝑥 𝑦 ∈ ∪ (𝐵 ∩ 𝒫 𝑥))
2410, 23anbi12i 640 . . . 4 ((𝑥 ⊆ ∪ 𝐵 ∧ ∀𝑦 ∈ 𝑥 ∃𝑧 ∈ 𝐵 (𝑦 ∈ 𝑧 ∧ 𝑧 ⊆ 𝑥)) ↔ (∀𝑦 ∈ 𝑥 𝑦 ∈ ∪ 𝐵 ∧ ∀𝑦 ∈ 𝑥 𝑦 ∈ ∪ (𝐵 ∩ 𝒫 𝑥)))
258, 9, 243bitr4i 306 . . 3 (𝑥 ⊆ ∪ (𝐵 ∩ 𝒫 𝑥) ↔ (𝑥 ⊆ ∪ 𝐵 ∧ ∀𝑦 ∈ 𝑥 ∃𝑧 ∈ 𝐵 (𝑦 ∈ 𝑧 ∧ 𝑧 ⊆ 𝑥)))
2625abbii 2841 . 2 {𝑥 ∣ 𝑥 ⊆ ∪ (𝐵 ∩ 𝒫 𝑥)} = {𝑥 ∣ (𝑥 ⊆ ∪ 𝐵 ∧ ∀𝑦 ∈ 𝑥 ∃𝑧 ∈ 𝐵 (𝑦 ∈ 𝑧 ∧ 𝑧 ⊆ 𝑥))}
271, 26eqtrdi 2825 1 (𝐵 ∈ 𝑉 → (topGen‘𝐵) = {𝑥 ∣ (𝑥 ⊆ ∪ 𝐵 ∧ ∀𝑦 ∈ 𝑥 ∃𝑧 ∈ 𝐵 (𝑦 ∈ 𝑧 ∧ 𝑧 ⊆ 𝑥))})
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1572  ∃wex 1818   ∈ wcel 2156  {cab 2752  ∀wral 3091  ∃wrex 3101   ⊆ wss 3907   ∩ cin 4099  𝒫 cpw 4567  ∪ cuni 4880  ‘cfv 6579  topGenctg 17686
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-sep 5263  ax-pow 5342  ax-pr 5406  ax-un 7802
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ral 3092  df-rex 3102  df-rab 3424  df-v 3463  df-ss 3908  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-pw 4569  df-sn 4596  df-pr 4598  df-op 4849  df-uni 4881  df-br 5117  df-opab 5182  df-mpt 5201  df-id 5561  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-iota 6533  df-fun 6581  df-fv 6587  df-topgen 17692
This theorem is used by:  eltg2  23384
  Copyright terms: Public domain W3C validator