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

Theorem eltg3 23358
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 6960 . . . 4 (𝐴 ∈ (topGen‘𝐵) → 𝐵 ∈ dom topGen)
2 inex1g 5289 . . . 4 (𝐵 ∈ dom topGen → (𝐵 ∩ 𝒫 𝐴) ∈ V)
31, 2syl 18 . . 3 (𝐴 ∈ (topGen‘𝐵) → (𝐵 ∩ 𝒫 𝐴) ∈ V)
4 eltg4i 23356 . . 3 (𝐴 ∈ (topGen‘𝐵) → 𝐴 = ∪ (𝐵 ∩ 𝒫 𝐴))
5 inss1 4138 . . . . . 6 (𝐵 ∩ 𝒫 𝐴) ⊆ 𝐵
6 sseq1 3940 . . . . . 6 (𝑥 = (𝐵 ∩ 𝒫 𝐴) → (𝑥 ⊆ 𝐵 ↔ (𝐵 ∩ 𝒫 𝐴) ⊆ 𝐵))
75, 6mpbiri 261 . . . . 5 (𝑥 = (𝐵 ∩ 𝒫 𝐴) → 𝑥 ⊆ 𝐵)
87biantrurd 542 . . . 4 (𝑥 = (𝐵 ∩ 𝒫 𝐴) → (𝐴 = ∪ 𝑥 ↔ (𝑥 ⊆ 𝐵 ∧ 𝐴 = ∪ 𝑥)))
9 unieq 4886 . . . . 5 (𝑥 = (𝐵 ∩ 𝒫 𝐴) → ∪ 𝑥 = ∪ (𝐵 ∩ 𝒫 𝐴))
109eqeq2d 2780 . . . 4 (𝑥 = (𝐵 ∩ 𝒫 𝐴) → (𝐴 = ∪ 𝑥 ↔ 𝐴 = ∪ (𝐵 ∩ 𝒫 𝐴)))
118, 10bitr3d 284 . . 3 (𝑥 = (𝐵 ∩ 𝒫 𝐴) → ((𝑥 ⊆ 𝐵 ∧ 𝐴 = ∪ 𝑥) ↔ 𝐴 = ∪ (𝐵 ∩ 𝒫 𝐴)))
123, 4, 11spcedv 3558 . 2 (𝐴 ∈ (topGen‘𝐵) → ∃𝑥(𝑥 ⊆ 𝐵 ∧ 𝐴 = ∪ 𝑥))
13 eltg3i 23357 . . . . 5 ((𝐵 ∈ 𝑉 ∧ 𝑥 ⊆ 𝐵) → ∪ 𝑥 ∈ (topGen‘𝐵))
14 eleq1 2858 . . . . 5 (𝐴 = ∪ 𝑥 → (𝐴 ∈ (topGen‘𝐵) ↔ ∪ 𝑥 ∈ (topGen‘𝐵)))
1513, 14syl5ibrcom 250 . . . 4 ((𝐵 ∈ 𝑉 ∧ 𝑥 ⊆ 𝐵) → (𝐴 = ∪ 𝑥 → 𝐴 ∈ (topGen‘𝐵)))
1615expimpd 459 . . 3 (𝐵 ∈ 𝑉 → ((𝑥 ⊆ 𝐵 ∧ 𝐴 = ∪ 𝑥) → 𝐴 ∈ (topGen‘𝐵)))
1716exlimdv 1970 . 2 (𝐵 ∈ 𝑉 → (∃𝑥(𝑥 ⊆ 𝐵 ∧ 𝐴 = ∪ 𝑥) → 𝐴 ∈ (topGen‘𝐵)))
1812, 17impbid2 229 1 (𝐵 ∈ 𝑉 → (𝐴 ∈ (topGen‘𝐵) ↔ ∃𝑥(𝑥 ⊆ 𝐵 ∧ 𝐴 = ∪ 𝑥)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1572  ∃wex 1814   ∈ wcel 2151  Vcvv 3456   ⊆ wss 3902   ∩ cin 4094  𝒫 cpw 4562  ∪ cuni 4875  dom cdm 5661  ‘cfv 6573  topGenctg 17675
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-10 2184  ax-11 2201  ax-12 2220  ax-ext 2741  ax-sep 5258  ax-nul 5269  ax-pow 5337  ax-pr 5401  ax-un 7793
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2105  df-mo 2571  df-eu 2601  df-clab 2748  df-cleq 2761  df-clel 2845  df-nfc 2919  df-ne 2966  df-ral 3087  df-rex 3097  df-rab 3419  df-v 3458  df-ss 3903  df-dif 4052  df-in 4096  df-un 4156  df-nul 4284  df-if 4488  df-pw 4564  df-sn 4591  df-pr 4593  df-op 4844  df-uni 4876  df-br 5112  df-opab 5177  df-mpt 5196  df-id 5556  df-xp 5667  df-rel 5668  df-cnv 5669  df-co 5670  df-dm 5671  df-iota 6527  df-fun 6575  df-fv 6581  df-topgen 17681
This theorem is used by:  tgval3  23359  tgtop  23369  eltop3  23372  tgidm  23376  bastop1  23389  tgrest  23555  tgcn  23648  txbasval  24003  opnmblALT  26002  mbfimaopnlem  26054  isfne3  37371  fneuni  37375  dissneqlem  38557  tgqioo2  46915
  Copyright terms: Public domain W3C validator