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

Theorem tgval2 23283
Description: Definition of a topology generated by a basis in [Munkres] p. 78. Later we show (in tgcl 23296) that (topGen‘𝐵) is indeed a topology (on ∪ 𝐵, see unitg 23294). See also tgval 23282 and tgval3 23290. (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 23282 . 2 (𝐵 ∈ 𝑉 → (topGen‘𝐵) = {𝑥 ∣ 𝑥 ⊆ ∪ (𝐵 ∩ 𝒫 𝑥)})
2 inss1 4132 . . . . . . . . 9 (𝐵 ∩ 𝒫 𝑥) ⊆ 𝐵
32unissi 4875 . . . . . . . 8 ∪ (𝐵 ∩ 𝒫 𝑥) ⊆ ∪ 𝐵
43sseli 3905 . . . . . . 7 (𝑦 ∈ ∪ (𝐵 ∩ 𝒫 𝑥) → 𝑦 ∈ ∪ 𝐵)
54pm4.71ri 570 . . . . . 6 (𝑦 ∈ ∪ (𝐵 ∩ 𝒫 𝑥) ↔ (𝑦 ∈ ∪ 𝐵 ∧ 𝑦 ∈ ∪ (𝐵 ∩ 𝒫 𝑥)))
65ralbii 3108 . . . . 5 (∀𝑦 ∈ 𝑥 𝑦 ∈ ∪ (𝐵 ∩ 𝒫 𝑥) ↔ ∀𝑦 ∈ 𝑥 (𝑦 ∈ ∪ 𝐵 ∧ 𝑦 ∈ ∪ (𝐵 ∩ 𝒫 𝑥)))
7 r19.26 3122 . . . . 5 (∀𝑦 ∈ 𝑥 (𝑦 ∈ ∪ 𝐵 ∧ 𝑦 ∈ ∪ (𝐵 ∩ 𝒫 𝑥)) ↔ (∀𝑦 ∈ 𝑥 𝑦 ∈ ∪ 𝐵 ∧ ∀𝑦 ∈ 𝑥 𝑦 ∈ ∪ (𝐵 ∩ 𝒫 𝑥)))
86, 7bitri 278 . . . 4 (∀𝑦 ∈ 𝑥 𝑦 ∈ ∪ (𝐵 ∩ 𝒫 𝑥) ↔ (∀𝑦 ∈ 𝑥 𝑦 ∈ ∪ 𝐵 ∧ ∀𝑦 ∈ 𝑥 𝑦 ∈ ∪ (𝐵 ∩ 𝒫 𝑥)))
9 dfss3 3898 . . . 4 (𝑥 ⊆ ∪ (𝐵 ∩ 𝒫 𝑥) ↔ ∀𝑦 ∈ 𝑥 𝑦 ∈ ∪ (𝐵 ∩ 𝒫 𝑥))
10 dfss3 3898 . . . . 5 (𝑥 ⊆ ∪ 𝐵 ↔ ∀𝑦 ∈ 𝑥 𝑦 ∈ ∪ 𝐵)
11 elin 4092 . . . . . . . . . . 11 (𝑧 ∈ (𝐵 ∩ 𝒫 𝑥) ↔ (𝑧 ∈ 𝐵 ∧ 𝑧 ∈ 𝒫 𝑥))
1211anbi2i 635 . . . . . . . . . 10 ((𝑦 ∈ 𝑧 ∧ 𝑧 ∈ (𝐵 ∩ 𝒫 𝑥)) ↔ (𝑦 ∈ 𝑧 ∧ (𝑧 ∈ 𝐵 ∧ 𝑧 ∈ 𝒫 𝑥)))
13 an12 658 . . . . . . . . . 10 ((𝑦 ∈ 𝑧 ∧ (𝑧 ∈ 𝐵 ∧ 𝑧 ∈ 𝒫 𝑥)) ↔ (𝑧 ∈ 𝐵 ∧ (𝑦 ∈ 𝑧 ∧ 𝑧 ∈ 𝒫 𝑥)))
1412, 13bitri 278 . . . . . . . . 9 ((𝑦 ∈ 𝑧 ∧ 𝑧 ∈ (𝐵 ∩ 𝒫 𝑥)) ↔ (𝑧 ∈ 𝐵 ∧ (𝑦 ∈ 𝑧 ∧ 𝑧 ∈ 𝒫 𝑥)))
1514exbii 1880 . . . . . . . 8 (∃𝑧(𝑦 ∈ 𝑧 ∧ 𝑧 ∈ (𝐵 ∩ 𝒫 𝑥)) ↔ ∃𝑧(𝑧 ∈ 𝐵 ∧ (𝑦 ∈ 𝑧 ∧ 𝑧 ∈ 𝒫 𝑥)))
16 eluni 4869 . . . . . . . 8 (𝑦 ∈ ∪ (𝐵 ∩ 𝒫 𝑥) ↔ ∃𝑧(𝑦 ∈ 𝑧 ∧ 𝑧 ∈ (𝐵 ∩ 𝒫 𝑥)))
17 df-rex 3087 . . . . . . . 8 (∃𝑧 ∈ 𝐵 (𝑦 ∈ 𝑧 ∧ 𝑧 ∈ 𝒫 𝑥) ↔ ∃𝑧(𝑧 ∈ 𝐵 ∧ (𝑦 ∈ 𝑧 ∧ 𝑧 ∈ 𝒫 𝑥)))
1815, 16, 173bitr4i 306 . . . . . . 7 (𝑦 ∈ ∪ (𝐵 ∩ 𝒫 𝑥) ↔ ∃𝑧 ∈ 𝐵 (𝑦 ∈ 𝑧 ∧ 𝑧 ∈ 𝒫 𝑥))
19 velpw 4561 . . . . . . . . 9 (𝑧 ∈ 𝒫 𝑥 ↔ 𝑧 ⊆ 𝑥)
2019anbi2i 635 . . . . . . . 8 ((𝑦 ∈ 𝑧 ∧ 𝑧 ∈ 𝒫 𝑥) ↔ (𝑦 ∈ 𝑧 ∧ 𝑧 ⊆ 𝑥))
2120rexbii 3109 . . . . . . 7 (∃𝑧 ∈ 𝐵 (𝑦 ∈ 𝑧 ∧ 𝑧 ∈ 𝒫 𝑥) ↔ ∃𝑧 ∈ 𝐵 (𝑦 ∈ 𝑧 ∧ 𝑧 ⊆ 𝑥))
2218, 21bitr2i 279 . . . . . 6 (∃𝑧 ∈ 𝐵 (𝑦 ∈ 𝑧 ∧ 𝑧 ⊆ 𝑥) ↔ 𝑦 ∈ ∪ (𝐵 ∩ 𝒫 𝑥))
2322ralbii 3108 . . . . 5 (∀𝑦 ∈ 𝑥 ∃𝑧 ∈ 𝐵 (𝑦 ∈ 𝑧 ∧ 𝑧 ⊆ 𝑥) ↔ ∀𝑦 ∈ 𝑥 𝑦 ∈ ∪ (𝐵 ∩ 𝒫 𝑥))
2410, 23anbi12i 640 . . . 4 ((𝑥 ⊆ ∪ 𝐵 ∧ ∀𝑦 ∈ 𝑥 ∃𝑧 ∈ 𝐵 (𝑦 ∈ 𝑧 ∧ 𝑧 ⊆ 𝑥)) ↔ (∀𝑦 ∈ 𝑥 𝑦 ∈ ∪ 𝐵 ∧ ∀𝑦 ∈ 𝑥 𝑦 ∈ ∪ (𝐵 ∩ 𝒫 𝑥)))
258, 9, 243bitr4i 306 . . 3 (𝑥 ⊆ ∪ (𝐵 ∩ 𝒫 𝑥) ↔ (𝑥 ⊆ ∪ 𝐵 ∧ ∀𝑦 ∈ 𝑥 ∃𝑧 ∈ 𝐵 (𝑦 ∈ 𝑧 ∧ 𝑧 ⊆ 𝑥)))
2625abbii 2827 . 2 {𝑥 ∣ 𝑥 ⊆ ∪ (𝐵 ∩ 𝒫 𝑥)} = {𝑥 ∣ (𝑥 ⊆ ∪ 𝐵 ∧ ∀𝑦 ∈ 𝑥 ∃𝑧 ∈ 𝐵 (𝑦 ∈ 𝑧 ∧ 𝑧 ⊆ 𝑥))}
271, 26eqtrdi 2811 1 (𝐵 ∈ 𝑉 → (topGen‘𝐵) = {𝑥 ∣ (𝑥 ⊆ ∪ 𝐵 ∧ ∀𝑦 ∈ 𝑥 ∃𝑧 ∈ 𝐵 (𝑦 ∈ 𝑧 ∧ 𝑧 ⊆ 𝑥))})
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1569  ∃wex 1811   ∈ wcel 2144  {cab 2738  ∀wral 3076  ∃wrex 3086   ⊆ wss 3896   ∩ cin 4088  𝒫 cpw 4556  ∪ cuni 4866  ‘cfv 6543  topGenctg 17617
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-sep 5248  ax-pow 5327  ax-pr 5391  ax-un 7755
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-ss 3897  df-dif 4046  df-in 4090  df-un 4150  df-nul 4278  df-if 4482  df-pw 4558  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-br 5103  df-opab 5167  df-mpt 5186  df-id 5546  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-iota 6497  df-fun 6545  df-fv 6551  df-topgen 17623
This theorem is used by:  eltg2  23285
  Copyright terms: Public domain W3C validator