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

Theorem eltg3 21564
Description: Membership in a topology generated by a basis. (Contributed by NM, 15-Jul-2006.) (Proof shortened by Mario Carneiro, 30-Aug-2015.)
Assertion
Ref Expression
eltg3 (𝐵𝑉 → (𝐴 ∈ (topGen‘𝐵) ↔ ∃𝑥(𝑥𝐵𝐴 = 𝑥)))
Distinct variable groups:   𝑥,𝐴   𝑥,𝐵   𝑥,𝑉

Proof of Theorem eltg3
StepHypRef Expression
1 elfvdm 6697 . . . 4 (𝐴 ∈ (topGen‘𝐵) → 𝐵 ∈ dom topGen)
2 inex1g 5216 . . . 4 (𝐵 ∈ dom topGen → (𝐵 ∩ 𝒫 𝐴) ∈ V)
31, 2syl 17 . . 3 (𝐴 ∈ (topGen‘𝐵) → (𝐵 ∩ 𝒫 𝐴) ∈ V)
4 eltg4i 21562 . . 3 (𝐴 ∈ (topGen‘𝐵) → 𝐴 = (𝐵 ∩ 𝒫 𝐴))
5 inss1 4205 . . . . . 6 (𝐵 ∩ 𝒫 𝐴) ⊆ 𝐵
6 sseq1 3992 . . . . . 6 (𝑥 = (𝐵 ∩ 𝒫 𝐴) → (𝑥𝐵 ↔ (𝐵 ∩ 𝒫 𝐴) ⊆ 𝐵))
75, 6mpbiri 260 . . . . 5 (𝑥 = (𝐵 ∩ 𝒫 𝐴) → 𝑥𝐵)
87biantrurd 535 . . . 4 (𝑥 = (𝐵 ∩ 𝒫 𝐴) → (𝐴 = 𝑥 ↔ (𝑥𝐵𝐴 = 𝑥)))
9 unieq 4840 . . . . 5 (𝑥 = (𝐵 ∩ 𝒫 𝐴) → 𝑥 = (𝐵 ∩ 𝒫 𝐴))
109eqeq2d 2832 . . . 4 (𝑥 = (𝐵 ∩ 𝒫 𝐴) → (𝐴 = 𝑥𝐴 = (𝐵 ∩ 𝒫 𝐴)))
118, 10bitr3d 283 . . 3 (𝑥 = (𝐵 ∩ 𝒫 𝐴) → ((𝑥𝐵𝐴 = 𝑥) ↔ 𝐴 = (𝐵 ∩ 𝒫 𝐴)))
123, 4, 11spcedv 3599 . 2 (𝐴 ∈ (topGen‘𝐵) → ∃𝑥(𝑥𝐵𝐴 = 𝑥))
13 eltg3i 21563 . . . . 5 ((𝐵𝑉𝑥𝐵) → 𝑥 ∈ (topGen‘𝐵))
14 eleq1 2900 . . . . 5 (𝐴 = 𝑥 → (𝐴 ∈ (topGen‘𝐵) ↔ 𝑥 ∈ (topGen‘𝐵)))
1513, 14syl5ibrcom 249 . . . 4 ((𝐵𝑉𝑥𝐵) → (𝐴 = 𝑥𝐴 ∈ (topGen‘𝐵)))
1615expimpd 456 . . 3 (𝐵𝑉 → ((𝑥𝐵𝐴 = 𝑥) → 𝐴 ∈ (topGen‘𝐵)))
1716exlimdv 1930 . 2 (𝐵𝑉 → (∃𝑥(𝑥𝐵𝐴 = 𝑥) → 𝐴 ∈ (topGen‘𝐵)))
1812, 17impbid2 228 1 (𝐵𝑉 → (𝐴 ∈ (topGen‘𝐵) ↔ ∃𝑥(𝑥𝐵𝐴 = 𝑥)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398   = wceq 1533  wex 1776  wcel 2110  Vcvv 3495  cin 3935  wss 3936  𝒫 cpw 4539   cuni 4832  dom cdm 5550  cfv 6350  topGenctg 16705
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2156  ax-12 2172  ax-ext 2793  ax-sep 5196  ax-nul 5203  ax-pow 5259  ax-pr 5322  ax-un 7455
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1536  df-ex 1777  df-nf 1781  df-sb 2066  df-mo 2618  df-eu 2650  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ral 3143  df-rex 3144  df-rab 3147  df-v 3497  df-sbc 3773  df-dif 3939  df-un 3941  df-in 3943  df-ss 3952  df-nul 4292  df-if 4468  df-pw 4541  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4833  df-br 5060  df-opab 5122  df-mpt 5140  df-id 5455  df-xp 5556  df-rel 5557  df-cnv 5558  df-co 5559  df-dm 5560  df-iota 6309  df-fun 6352  df-fv 6358  df-topgen 16711
This theorem is referenced by:  tgval3  21565  tgtop  21575  eltop3  21578  tgidm  21582  bastop1  21595  tgrest  21761  tgcn  21854  txbasval  22208  opnmblALT  24198  mbfimaopnlem  24250  isfne3  33686  fneuni  33690  dissneqlem  34615  tgqioo2  41815
  Copyright terms: Public domain W3C validator