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

Theorem tgval2 20509
Description: Definition of a topology generated by a basis in [Munkres] p. 78. Later we show (in tgcl 20522) that (topGen‘𝐵) is indeed a topology (on 𝐵; see unitg 20520). (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 20508 . 2 (𝐵𝑉 → (topGen‘𝐵) = {𝑥𝑥 (𝐵 ∩ 𝒫 𝑥)})
2 inss1 3790 . . . . . . . . 9 (𝐵 ∩ 𝒫 𝑥) ⊆ 𝐵
32unissi 4387 . . . . . . . 8 (𝐵 ∩ 𝒫 𝑥) ⊆ 𝐵
43sseli 3559 . . . . . . 7 (𝑦 (𝐵 ∩ 𝒫 𝑥) → 𝑦 𝐵)
54pm4.71ri 662 . . . . . 6 (𝑦 (𝐵 ∩ 𝒫 𝑥) ↔ (𝑦 𝐵𝑦 (𝐵 ∩ 𝒫 𝑥)))
65ralbii 2958 . . . . 5 (∀𝑦𝑥 𝑦 (𝐵 ∩ 𝒫 𝑥) ↔ ∀𝑦𝑥 (𝑦 𝐵𝑦 (𝐵 ∩ 𝒫 𝑥)))
7 r19.26 3041 . . . . 5 (∀𝑦𝑥 (𝑦 𝐵𝑦 (𝐵 ∩ 𝒫 𝑥)) ↔ (∀𝑦𝑥 𝑦 𝐵 ∧ ∀𝑦𝑥 𝑦 (𝐵 ∩ 𝒫 𝑥)))
86, 7bitri 262 . . . 4 (∀𝑦𝑥 𝑦 (𝐵 ∩ 𝒫 𝑥) ↔ (∀𝑦𝑥 𝑦 𝐵 ∧ ∀𝑦𝑥 𝑦 (𝐵 ∩ 𝒫 𝑥)))
9 dfss3 3553 . . . 4 (𝑥 (𝐵 ∩ 𝒫 𝑥) ↔ ∀𝑦𝑥 𝑦 (𝐵 ∩ 𝒫 𝑥))
10 dfss3 3553 . . . . 5 (𝑥 𝐵 ↔ ∀𝑦𝑥 𝑦 𝐵)
11 elin 3753 . . . . . . . . . . 11 (𝑧 ∈ (𝐵 ∩ 𝒫 𝑥) ↔ (𝑧𝐵𝑧 ∈ 𝒫 𝑥))
1211anbi2i 725 . . . . . . . . . 10 ((𝑦𝑧𝑧 ∈ (𝐵 ∩ 𝒫 𝑥)) ↔ (𝑦𝑧 ∧ (𝑧𝐵𝑧 ∈ 𝒫 𝑥)))
13 an12 833 . . . . . . . . . 10 ((𝑦𝑧 ∧ (𝑧𝐵𝑧 ∈ 𝒫 𝑥)) ↔ (𝑧𝐵 ∧ (𝑦𝑧𝑧 ∈ 𝒫 𝑥)))
1412, 13bitri 262 . . . . . . . . 9 ((𝑦𝑧𝑧 ∈ (𝐵 ∩ 𝒫 𝑥)) ↔ (𝑧𝐵 ∧ (𝑦𝑧𝑧 ∈ 𝒫 𝑥)))
1514exbii 1762 . . . . . . . 8 (∃𝑧(𝑦𝑧𝑧 ∈ (𝐵 ∩ 𝒫 𝑥)) ↔ ∃𝑧(𝑧𝐵 ∧ (𝑦𝑧𝑧 ∈ 𝒫 𝑥)))
16 eluni 4365 . . . . . . . 8 (𝑦 (𝐵 ∩ 𝒫 𝑥) ↔ ∃𝑧(𝑦𝑧𝑧 ∈ (𝐵 ∩ 𝒫 𝑥)))
17 df-rex 2897 . . . . . . . 8 (∃𝑧𝐵 (𝑦𝑧𝑧 ∈ 𝒫 𝑥) ↔ ∃𝑧(𝑧𝐵 ∧ (𝑦𝑧𝑧 ∈ 𝒫 𝑥)))
1815, 16, 173bitr4i 290 . . . . . . 7 (𝑦 (𝐵 ∩ 𝒫 𝑥) ↔ ∃𝑧𝐵 (𝑦𝑧𝑧 ∈ 𝒫 𝑥))
19 selpw 4110 . . . . . . . . 9 (𝑧 ∈ 𝒫 𝑥𝑧𝑥)
2019anbi2i 725 . . . . . . . 8 ((𝑦𝑧𝑧 ∈ 𝒫 𝑥) ↔ (𝑦𝑧𝑧𝑥))
2120rexbii 3018 . . . . . . 7 (∃𝑧𝐵 (𝑦𝑧𝑧 ∈ 𝒫 𝑥) ↔ ∃𝑧𝐵 (𝑦𝑧𝑧𝑥))
2218, 21bitr2i 263 . . . . . 6 (∃𝑧𝐵 (𝑦𝑧𝑧𝑥) ↔ 𝑦 (𝐵 ∩ 𝒫 𝑥))
2322ralbii 2958 . . . . 5 (∀𝑦𝑥𝑧𝐵 (𝑦𝑧𝑧𝑥) ↔ ∀𝑦𝑥 𝑦 (𝐵 ∩ 𝒫 𝑥))
2410, 23anbi12i 728 . . . 4 ((𝑥 𝐵 ∧ ∀𝑦𝑥𝑧𝐵 (𝑦𝑧𝑧𝑥)) ↔ (∀𝑦𝑥 𝑦 𝐵 ∧ ∀𝑦𝑥 𝑦 (𝐵 ∩ 𝒫 𝑥)))
258, 9, 243bitr4i 290 . . 3 (𝑥 (𝐵 ∩ 𝒫 𝑥) ↔ (𝑥 𝐵 ∧ ∀𝑦𝑥𝑧𝐵 (𝑦𝑧𝑧𝑥)))
2625abbii 2721 . 2 {𝑥𝑥 (𝐵 ∩ 𝒫 𝑥)} = {𝑥 ∣ (𝑥 𝐵 ∧ ∀𝑦𝑥𝑧𝐵 (𝑦𝑧𝑧𝑥))}
271, 26syl6eq 2655 1 (𝐵𝑉 → (topGen‘𝐵) = {𝑥 ∣ (𝑥 𝐵 ∧ ∀𝑦𝑥𝑧𝐵 (𝑦𝑧𝑧𝑥))})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 382   = wceq 1474  wex 1694  wcel 1975  {cab 2591  wral 2891  wrex 2892  cin 3534  wss 3535  𝒫 cpw 4103   cuni 4362  cfv 5786  topGenctg 15863
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1711  ax-4 1726  ax-5 1825  ax-6 1873  ax-7 1920  ax-8 1977  ax-9 1984  ax-10 2004  ax-11 2019  ax-12 2031  ax-13 2228  ax-ext 2585  ax-sep 4699  ax-nul 4708  ax-pow 4760  ax-pr 4824  ax-un 6820
This theorem depends on definitions:  df-bi 195  df-or 383  df-an 384  df-3an 1032  df-tru 1477  df-ex 1695  df-nf 1700  df-sb 1866  df-eu 2457  df-mo 2458  df-clab 2592  df-cleq 2598  df-clel 2601  df-nfc 2735  df-ral 2896  df-rex 2897  df-rab 2900  df-v 3170  df-sbc 3398  df-dif 3538  df-un 3540  df-in 3542  df-ss 3549  df-nul 3870  df-if 4032  df-pw 4105  df-sn 4121  df-pr 4123  df-op 4127  df-uni 4363  df-br 4574  df-opab 4634  df-mpt 4635  df-id 4939  df-xp 5030  df-rel 5031  df-cnv 5032  df-co 5033  df-dm 5034  df-iota 5750  df-fun 5788  df-fv 5794  df-topgen 15869
This theorem is referenced by:  eltg2  20511
  Copyright terms: Public domain W3C validator