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

Theorem tgval2 23329
Description: Definition of a topology generated by a basis in [Munkres] p. 78. Later we show (in tgcl 23342) that (topGen‘𝐵) is indeed a topology (on ∪ 𝐵, see unitg 23340). See also tgval 23328 and tgval3 23336. (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 23328 . 2 (𝐵 ∈ 𝑉 → (topGen‘𝐵) = {𝑥 ∣ 𝑥 ⊆ ∪ (𝐵 ∩ 𝒫 𝑥)})
2 inss1 4136 . . . . . . . . 9 (𝐵 ∩ 𝒫 𝑥) ⊆ 𝐵
32unissi 4881 . . . . . . . 8 ∪ (𝐵 ∩ 𝒫 𝑥) ⊆ ∪ 𝐵
43sseli 3909 . . . . . . 7 (𝑦 ∈ ∪ (𝐵 ∩ 𝒫 𝑥) → 𝑦 ∈ ∪ 𝐵)
54pm4.71ri 570 . . . . . 6 (𝑦 ∈ ∪ (𝐵 ∩ 𝒫 𝑥) ↔ (𝑦 ∈ ∪ 𝐵 ∧ 𝑦 ∈ ∪ (𝐵 ∩ 𝒫 𝑥)))
65ralbii 3112 . . . . 5 (∀𝑦 ∈ 𝑥 𝑦 ∈ ∪ (𝐵 ∩ 𝒫 𝑥) ↔ ∀𝑦 ∈ 𝑥 (𝑦 ∈ ∪ 𝐵 ∧ 𝑦 ∈ ∪ (𝐵 ∩ 𝒫 𝑥)))
7 r19.26 3126 . . . . 5 (∀𝑦 ∈ 𝑥 (𝑦 ∈ ∪ 𝐵 ∧ 𝑦 ∈ ∪ (𝐵 ∩ 𝒫 𝑥)) ↔ (∀𝑦 ∈ 𝑥 𝑦 ∈ ∪ 𝐵 ∧ ∀𝑦 ∈ 𝑥 𝑦 ∈ ∪ (𝐵 ∩ 𝒫 𝑥)))
86, 7bitri 278 . . . 4 (∀𝑦 ∈ 𝑥 𝑦 ∈ ∪ (𝐵 ∩ 𝒫 𝑥) ↔ (∀𝑦 ∈ 𝑥 𝑦 ∈ ∪ 𝐵 ∧ ∀𝑦 ∈ 𝑥 𝑦 ∈ ∪ (𝐵 ∩ 𝒫 𝑥)))
9 dfss3 3902 . . . 4 (𝑥 ⊆ ∪ (𝐵 ∩ 𝒫 𝑥) ↔ ∀𝑦 ∈ 𝑥 𝑦 ∈ ∪ (𝐵 ∩ 𝒫 𝑥))
10 dfss3 3902 . . . . 5 (𝑥 ⊆ ∪ 𝐵 ↔ ∀𝑦 ∈ 𝑥 𝑦 ∈ ∪ 𝐵)
11 elin 4096 . . . . . . . . . . 11 (𝑧 ∈ (𝐵 ∩ 𝒫 𝑥) ↔ (𝑧 ∈ 𝐵 ∧ 𝑧 ∈ 𝒫 𝑥))
1211anbi2i 635 . . . . . . . . . 10 ((𝑦 ∈ 𝑧 ∧ 𝑧 ∈ (𝐵 ∩ 𝒫 𝑥)) ↔ (𝑦 ∈ 𝑧 ∧ (𝑧 ∈ 𝐵 ∧ 𝑧 ∈ 𝒫 𝑥)))
13 an12 658 . . . . . . . . . 10 ((𝑦 ∈ 𝑧 ∧ (𝑧 ∈ 𝐵 ∧ 𝑧 ∈ 𝒫 𝑥)) ↔ (𝑧 ∈ 𝐵 ∧ (𝑦 ∈ 𝑧 ∧ 𝑧 ∈ 𝒫 𝑥)))
1412, 13bitri 278 . . . . . . . . 9 ((𝑦 ∈ 𝑧 ∧ 𝑧 ∈ (𝐵 ∩ 𝒫 𝑥)) ↔ (𝑧 ∈ 𝐵 ∧ (𝑦 ∈ 𝑧 ∧ 𝑧 ∈ 𝒫 𝑥)))
1514exbii 1881 . . . . . . . 8 (∃𝑧(𝑦 ∈ 𝑧 ∧ 𝑧 ∈ (𝐵 ∩ 𝒫 𝑥)) ↔ ∃𝑧(𝑧 ∈ 𝐵 ∧ (𝑦 ∈ 𝑧 ∧ 𝑧 ∈ 𝒫 𝑥)))
16 eluni 4875 . . . . . . . 8 (𝑦 ∈ ∪ (𝐵 ∩ 𝒫 𝑥) ↔ ∃𝑧(𝑦 ∈ 𝑧 ∧ 𝑧 ∈ (𝐵 ∩ 𝒫 𝑥)))
17 df-rex 3091 . . . . . . . 8 (∃𝑧 ∈ 𝐵 (𝑦 ∈ 𝑧 ∧ 𝑧 ∈ 𝒫 𝑥) ↔ ∃𝑧(𝑧 ∈ 𝐵 ∧ (𝑦 ∈ 𝑧 ∧ 𝑧 ∈ 𝒫 𝑥)))
1815, 16, 173bitr4i 306 . . . . . . 7 (𝑦 ∈ ∪ (𝐵 ∩ 𝒫 𝑥) ↔ ∃𝑧 ∈ 𝐵 (𝑦 ∈ 𝑧 ∧ 𝑧 ∈ 𝒫 𝑥))
19 velpw 4565 . . . . . . . . 9 (𝑧 ∈ 𝒫 𝑥 ↔ 𝑧 ⊆ 𝑥)
2019anbi2i 635 . . . . . . . 8 ((𝑦 ∈ 𝑧 ∧ 𝑧 ∈ 𝒫 𝑥) ↔ (𝑦 ∈ 𝑧 ∧ 𝑧 ⊆ 𝑥))
2120rexbii 3113 . . . . . . 7 (∃𝑧 ∈ 𝐵 (𝑦 ∈ 𝑧 ∧ 𝑧 ∈ 𝒫 𝑥) ↔ ∃𝑧 ∈ 𝐵 (𝑦 ∈ 𝑧 ∧ 𝑧 ⊆ 𝑥))
2218, 21bitr2i 279 . . . . . 6 (∃𝑧 ∈ 𝐵 (𝑦 ∈ 𝑧 ∧ 𝑧 ⊆ 𝑥) ↔ 𝑦 ∈ ∪ (𝐵 ∩ 𝒫 𝑥))
2322ralbii 3112 . . . . 5 (∀𝑦 ∈ 𝑥 ∃𝑧 ∈ 𝐵 (𝑦 ∈ 𝑧 ∧ 𝑧 ⊆ 𝑥) ↔ ∀𝑦 ∈ 𝑥 𝑦 ∈ ∪ (𝐵 ∩ 𝒫 𝑥))
2410, 23anbi12i 640 . . . 4 ((𝑥 ⊆ ∪ 𝐵 ∧ ∀𝑦 ∈ 𝑥 ∃𝑧 ∈ 𝐵 (𝑦 ∈ 𝑧 ∧ 𝑧 ⊆ 𝑥)) ↔ (∀𝑦 ∈ 𝑥 𝑦 ∈ ∪ 𝐵 ∧ ∀𝑦 ∈ 𝑥 𝑦 ∈ ∪ (𝐵 ∩ 𝒫 𝑥)))
258, 9, 243bitr4i 306 . . 3 (𝑥 ⊆ ∪ (𝐵 ∩ 𝒫 𝑥) ↔ (𝑥 ⊆ ∪ 𝐵 ∧ ∀𝑦 ∈ 𝑥 ∃𝑧 ∈ 𝐵 (𝑦 ∈ 𝑧 ∧ 𝑧 ⊆ 𝑥)))
2625abbii 2830 . 2 {𝑥 ∣ 𝑥 ⊆ ∪ (𝐵 ∩ 𝒫 𝑥)} = {𝑥 ∣ (𝑥 ⊆ ∪ 𝐵 ∧ ∀𝑦 ∈ 𝑥 ∃𝑧 ∈ 𝐵 (𝑦 ∈ 𝑧 ∧ 𝑧 ⊆ 𝑥))}
271, 26eqtrdi 2814 1 (𝐵 ∈ 𝑉 → (topGen‘𝐵) = {𝑥 ∣ (𝑥 ⊆ ∪ 𝐵 ∧ ∀𝑦 ∈ 𝑥 ∃𝑧 ∈ 𝐵 (𝑦 ∈ 𝑧 ∧ 𝑧 ⊆ 𝑥))})
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1570  ∃wex 1812   ∈ wcel 2147  {cab 2741  ∀wral 3080  ∃wrex 3090   ⊆ wss 3900   ∩ cin 4092  𝒫 cpw 4560  ∪ cuni 4872  ‘cfv 6566  topGenctg 17658
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5255  ax-pow 5334  ax-pr 5398  ax-un 7783
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 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4841  df-uni 4873  df-br 5109  df-opab 5174  df-mpt 5193  df-id 5553  df-xp 5664  df-rel 5665  df-cnv 5666  df-co 5667  df-dm 5668  df-iota 6520  df-fun 6568  df-fv 6574  df-topgen 17664
This theorem is used by:  eltg2  23331
  Copyright terms: Public domain W3C validator