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

Theorem tgval2 21853
Description: Definition of a topology generated by a basis in [Munkres] p. 78. Later we show (in tgcl 21866) that (topGen‘𝐵) is indeed a topology (on 𝐵, see unitg 21864). See also tgval 21852 and tgval3 21860. (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 21852 . 2 (𝐵𝑉 → (topGen‘𝐵) = {𝑥𝑥 (𝐵 ∩ 𝒫 𝑥)})
2 inss1 4143 . . . . . . . . 9 (𝐵 ∩ 𝒫 𝑥) ⊆ 𝐵
32unissi 4828 . . . . . . . 8 (𝐵 ∩ 𝒫 𝑥) ⊆ 𝐵
43sseli 3896 . . . . . . 7 (𝑦 (𝐵 ∩ 𝒫 𝑥) → 𝑦 𝐵)
54pm4.71ri 564 . . . . . 6 (𝑦 (𝐵 ∩ 𝒫 𝑥) ↔ (𝑦 𝐵𝑦 (𝐵 ∩ 𝒫 𝑥)))
65ralbii 3088 . . . . 5 (∀𝑦𝑥 𝑦 (𝐵 ∩ 𝒫 𝑥) ↔ ∀𝑦𝑥 (𝑦 𝐵𝑦 (𝐵 ∩ 𝒫 𝑥)))
7 r19.26 3092 . . . . 5 (∀𝑦𝑥 (𝑦 𝐵𝑦 (𝐵 ∩ 𝒫 𝑥)) ↔ (∀𝑦𝑥 𝑦 𝐵 ∧ ∀𝑦𝑥 𝑦 (𝐵 ∩ 𝒫 𝑥)))
86, 7bitri 278 . . . 4 (∀𝑦𝑥 𝑦 (𝐵 ∩ 𝒫 𝑥) ↔ (∀𝑦𝑥 𝑦 𝐵 ∧ ∀𝑦𝑥 𝑦 (𝐵 ∩ 𝒫 𝑥)))
9 dfss3 3888 . . . 4 (𝑥 (𝐵 ∩ 𝒫 𝑥) ↔ ∀𝑦𝑥 𝑦 (𝐵 ∩ 𝒫 𝑥))
10 dfss3 3888 . . . . 5 (𝑥 𝐵 ↔ ∀𝑦𝑥 𝑦 𝐵)
11 elin 3882 . . . . . . . . . . 11 (𝑧 ∈ (𝐵 ∩ 𝒫 𝑥) ↔ (𝑧𝐵𝑧 ∈ 𝒫 𝑥))
1211anbi2i 626 . . . . . . . . . 10 ((𝑦𝑧𝑧 ∈ (𝐵 ∩ 𝒫 𝑥)) ↔ (𝑦𝑧 ∧ (𝑧𝐵𝑧 ∈ 𝒫 𝑥)))
13 an12 645 . . . . . . . . . 10 ((𝑦𝑧 ∧ (𝑧𝐵𝑧 ∈ 𝒫 𝑥)) ↔ (𝑧𝐵 ∧ (𝑦𝑧𝑧 ∈ 𝒫 𝑥)))
1412, 13bitri 278 . . . . . . . . 9 ((𝑦𝑧𝑧 ∈ (𝐵 ∩ 𝒫 𝑥)) ↔ (𝑧𝐵 ∧ (𝑦𝑧𝑧 ∈ 𝒫 𝑥)))
1514exbii 1855 . . . . . . . 8 (∃𝑧(𝑦𝑧𝑧 ∈ (𝐵 ∩ 𝒫 𝑥)) ↔ ∃𝑧(𝑧𝐵 ∧ (𝑦𝑧𝑧 ∈ 𝒫 𝑥)))
16 eluni 4822 . . . . . . . 8 (𝑦 (𝐵 ∩ 𝒫 𝑥) ↔ ∃𝑧(𝑦𝑧𝑧 ∈ (𝐵 ∩ 𝒫 𝑥)))
17 df-rex 3067 . . . . . . . 8 (∃𝑧𝐵 (𝑦𝑧𝑧 ∈ 𝒫 𝑥) ↔ ∃𝑧(𝑧𝐵 ∧ (𝑦𝑧𝑧 ∈ 𝒫 𝑥)))
1815, 16, 173bitr4i 306 . . . . . . 7 (𝑦 (𝐵 ∩ 𝒫 𝑥) ↔ ∃𝑧𝐵 (𝑦𝑧𝑧 ∈ 𝒫 𝑥))
19 velpw 4518 . . . . . . . . 9 (𝑧 ∈ 𝒫 𝑥𝑧𝑥)
2019anbi2i 626 . . . . . . . 8 ((𝑦𝑧𝑧 ∈ 𝒫 𝑥) ↔ (𝑦𝑧𝑧𝑥))
2120rexbii 3170 . . . . . . 7 (∃𝑧𝐵 (𝑦𝑧𝑧 ∈ 𝒫 𝑥) ↔ ∃𝑧𝐵 (𝑦𝑧𝑧𝑥))
2218, 21bitr2i 279 . . . . . 6 (∃𝑧𝐵 (𝑦𝑧𝑧𝑥) ↔ 𝑦 (𝐵 ∩ 𝒫 𝑥))
2322ralbii 3088 . . . . 5 (∀𝑦𝑥𝑧𝐵 (𝑦𝑧𝑧𝑥) ↔ ∀𝑦𝑥 𝑦 (𝐵 ∩ 𝒫 𝑥))
2410, 23anbi12i 630 . . . 4 ((𝑥 𝐵 ∧ ∀𝑦𝑥𝑧𝐵 (𝑦𝑧𝑧𝑥)) ↔ (∀𝑦𝑥 𝑦 𝐵 ∧ ∀𝑦𝑥 𝑦 (𝐵 ∩ 𝒫 𝑥)))
258, 9, 243bitr4i 306 . . 3 (𝑥 (𝐵 ∩ 𝒫 𝑥) ↔ (𝑥 𝐵 ∧ ∀𝑦𝑥𝑧𝐵 (𝑦𝑧𝑧𝑥)))
2625abbii 2808 . 2 {𝑥𝑥 (𝐵 ∩ 𝒫 𝑥)} = {𝑥 ∣ (𝑥 𝐵 ∧ ∀𝑦𝑥𝑧𝐵 (𝑦𝑧𝑧𝑥))}
271, 26eqtrdi 2794 1 (𝐵𝑉 → (topGen‘𝐵) = {𝑥 ∣ (𝑥 𝐵 ∧ ∀𝑦𝑥𝑧𝐵 (𝑦𝑧𝑧𝑥))})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 399   = wceq 1543  wex 1787  wcel 2110  {cab 2714  wral 3061  wrex 3062  cin 3865  wss 3866  𝒫 cpw 4513   cuni 4819  cfv 6380  topGenctg 16942
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2016  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2158  ax-12 2175  ax-ext 2708  ax-sep 5192  ax-nul 5199  ax-pow 5258  ax-pr 5322  ax-un 7523
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-3an 1091  df-tru 1546  df-fal 1556  df-ex 1788  df-nf 1792  df-sb 2071  df-mo 2539  df-eu 2568  df-clab 2715  df-cleq 2729  df-clel 2816  df-nfc 2886  df-ral 3066  df-rex 3067  df-rab 3070  df-v 3410  df-dif 3869  df-un 3871  df-in 3873  df-ss 3883  df-nul 4238  df-if 4440  df-pw 4515  df-sn 4542  df-pr 4544  df-op 4548  df-uni 4820  df-br 5054  df-opab 5116  df-mpt 5136  df-id 5455  df-xp 5557  df-rel 5558  df-cnv 5559  df-co 5560  df-dm 5561  df-iota 6338  df-fun 6382  df-fv 6388  df-topgen 16948
This theorem is referenced by:  eltg2  21855
  Copyright terms: Public domain W3C validator