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

Theorem eltg 20761
Description: Membership in a topology generated by a basis. (Contributed by NM, 16-Jul-2006.) (Revised by Mario Carneiro, 10-Jan-2015.)
Assertion
Ref Expression
eltg (𝐵𝑉 → (𝐴 ∈ (topGen‘𝐵) ↔ 𝐴 (𝐵 ∩ 𝒫 𝐴)))

Proof of Theorem eltg
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 tgval 20759 . . 3 (𝐵𝑉 → (topGen‘𝐵) = {𝑥𝑥 (𝐵 ∩ 𝒫 𝑥)})
21eleq2d 2687 . 2 (𝐵𝑉 → (𝐴 ∈ (topGen‘𝐵) ↔ 𝐴 ∈ {𝑥𝑥 (𝐵 ∩ 𝒫 𝑥)}))
3 elex 3212 . . . 4 (𝐴 ∈ {𝑥𝑥 (𝐵 ∩ 𝒫 𝑥)} → 𝐴 ∈ V)
43adantl 482 . . 3 ((𝐵𝑉𝐴 ∈ {𝑥𝑥 (𝐵 ∩ 𝒫 𝑥)}) → 𝐴 ∈ V)
5 inex1g 4801 . . . . . 6 (𝐵𝑉 → (𝐵 ∩ 𝒫 𝐴) ∈ V)
6 uniexg 6955 . . . . . 6 ((𝐵 ∩ 𝒫 𝐴) ∈ V → (𝐵 ∩ 𝒫 𝐴) ∈ V)
75, 6syl 17 . . . . 5 (𝐵𝑉 (𝐵 ∩ 𝒫 𝐴) ∈ V)
8 ssexg 4804 . . . . 5 ((𝐴 (𝐵 ∩ 𝒫 𝐴) ∧ (𝐵 ∩ 𝒫 𝐴) ∈ V) → 𝐴 ∈ V)
97, 8sylan2 491 . . . 4 ((𝐴 (𝐵 ∩ 𝒫 𝐴) ∧ 𝐵𝑉) → 𝐴 ∈ V)
109ancoms 469 . . 3 ((𝐵𝑉𝐴 (𝐵 ∩ 𝒫 𝐴)) → 𝐴 ∈ V)
11 id 22 . . . . 5 (𝑥 = 𝐴𝑥 = 𝐴)
12 pweq 4161 . . . . . . 7 (𝑥 = 𝐴 → 𝒫 𝑥 = 𝒫 𝐴)
1312ineq2d 3814 . . . . . 6 (𝑥 = 𝐴 → (𝐵 ∩ 𝒫 𝑥) = (𝐵 ∩ 𝒫 𝐴))
1413unieqd 4446 . . . . 5 (𝑥 = 𝐴 (𝐵 ∩ 𝒫 𝑥) = (𝐵 ∩ 𝒫 𝐴))
1511, 14sseq12d 3634 . . . 4 (𝑥 = 𝐴 → (𝑥 (𝐵 ∩ 𝒫 𝑥) ↔ 𝐴 (𝐵 ∩ 𝒫 𝐴)))
1615elabg 3351 . . 3 (𝐴 ∈ V → (𝐴 ∈ {𝑥𝑥 (𝐵 ∩ 𝒫 𝑥)} ↔ 𝐴 (𝐵 ∩ 𝒫 𝐴)))
174, 10, 16pm5.21nd 941 . 2 (𝐵𝑉 → (𝐴 ∈ {𝑥𝑥 (𝐵 ∩ 𝒫 𝑥)} ↔ 𝐴 (𝐵 ∩ 𝒫 𝐴)))
182, 17bitrd 268 1 (𝐵𝑉 → (𝐴 ∈ (topGen‘𝐵) ↔ 𝐴 (𝐵 ∩ 𝒫 𝐴)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196   = wceq 1483  wcel 1990  {cab 2608  Vcvv 3200  cin 3573  wss 3574  𝒫 cpw 4158   cuni 4436  cfv 5888  topGenctg 16098
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-8 1992  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602  ax-sep 4781  ax-nul 4789  ax-pow 4843  ax-pr 4906  ax-un 6949
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1039  df-tru 1486  df-ex 1705  df-nf 1710  df-sb 1881  df-eu 2474  df-mo 2475  df-clab 2609  df-cleq 2615  df-clel 2618  df-nfc 2753  df-ral 2917  df-rex 2918  df-rab 2921  df-v 3202  df-sbc 3436  df-dif 3577  df-un 3579  df-in 3581  df-ss 3588  df-nul 3916  df-if 4087  df-pw 4160  df-sn 4178  df-pr 4180  df-op 4184  df-uni 4437  df-br 4654  df-opab 4713  df-mpt 4730  df-id 5024  df-xp 5120  df-rel 5121  df-cnv 5122  df-co 5123  df-dm 5124  df-iota 5851  df-fun 5890  df-fv 5896  df-topgen 16104
This theorem is referenced by:  eltg4i  20764  eltg3i  20765  bastg  20770  tgss  20772  eltop  20778  tgqtop  21515  isfne4  32335
  Copyright terms: Public domain W3C validator