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

Theorem eltg2 20762
Description: Membership in a topology generated by a basis. (Contributed by NM, 15-Jul-2006.) (Revised by Mario Carneiro, 10-Jan-2015.)
Assertion
Ref Expression
eltg2 (𝐵𝑉 → (𝐴 ∈ (topGen‘𝐵) ↔ (𝐴 𝐵 ∧ ∀𝑥𝐴𝑦𝐵 (𝑥𝑦𝑦𝐴))))
Distinct variable groups:   𝑥,𝑦,𝐴   𝑥,𝐵,𝑦   𝑥,𝑉,𝑦

Proof of Theorem eltg2
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 tgval2 20760 . . 3 (𝐵𝑉 → (topGen‘𝐵) = {𝑧 ∣ (𝑧 𝐵 ∧ ∀𝑥𝑧𝑦𝐵 (𝑥𝑦𝑦𝑧))})
21eleq2d 2687 . 2 (𝐵𝑉 → (𝐴 ∈ (topGen‘𝐵) ↔ 𝐴 ∈ {𝑧 ∣ (𝑧 𝐵 ∧ ∀𝑥𝑧𝑦𝐵 (𝑥𝑦𝑦𝑧))}))
3 elex 3212 . . . 4 (𝐴 ∈ {𝑧 ∣ (𝑧 𝐵 ∧ ∀𝑥𝑧𝑦𝐵 (𝑥𝑦𝑦𝑧))} → 𝐴 ∈ V)
43adantl 482 . . 3 ((𝐵𝑉𝐴 ∈ {𝑧 ∣ (𝑧 𝐵 ∧ ∀𝑥𝑧𝑦𝐵 (𝑥𝑦𝑦𝑧))}) → 𝐴 ∈ V)
5 uniexg 6955 . . . . . 6 (𝐵𝑉 𝐵 ∈ V)
6 ssexg 4804 . . . . . 6 ((𝐴 𝐵 𝐵 ∈ V) → 𝐴 ∈ V)
75, 6sylan2 491 . . . . 5 ((𝐴 𝐵𝐵𝑉) → 𝐴 ∈ V)
87ancoms 469 . . . 4 ((𝐵𝑉𝐴 𝐵) → 𝐴 ∈ V)
98adantrr 753 . . 3 ((𝐵𝑉 ∧ (𝐴 𝐵 ∧ ∀𝑥𝐴𝑦𝐵 (𝑥𝑦𝑦𝐴))) → 𝐴 ∈ V)
10 sseq1 3626 . . . . 5 (𝑧 = 𝐴 → (𝑧 𝐵𝐴 𝐵))
11 sseq2 3627 . . . . . . . 8 (𝑧 = 𝐴 → (𝑦𝑧𝑦𝐴))
1211anbi2d 740 . . . . . . 7 (𝑧 = 𝐴 → ((𝑥𝑦𝑦𝑧) ↔ (𝑥𝑦𝑦𝐴)))
1312rexbidv 3052 . . . . . 6 (𝑧 = 𝐴 → (∃𝑦𝐵 (𝑥𝑦𝑦𝑧) ↔ ∃𝑦𝐵 (𝑥𝑦𝑦𝐴)))
1413raleqbi1dv 3146 . . . . 5 (𝑧 = 𝐴 → (∀𝑥𝑧𝑦𝐵 (𝑥𝑦𝑦𝑧) ↔ ∀𝑥𝐴𝑦𝐵 (𝑥𝑦𝑦𝐴)))
1510, 14anbi12d 747 . . . 4 (𝑧 = 𝐴 → ((𝑧 𝐵 ∧ ∀𝑥𝑧𝑦𝐵 (𝑥𝑦𝑦𝑧)) ↔ (𝐴 𝐵 ∧ ∀𝑥𝐴𝑦𝐵 (𝑥𝑦𝑦𝐴))))
1615elabg 3351 . . 3 (𝐴 ∈ V → (𝐴 ∈ {𝑧 ∣ (𝑧 𝐵 ∧ ∀𝑥𝑧𝑦𝐵 (𝑥𝑦𝑦𝑧))} ↔ (𝐴 𝐵 ∧ ∀𝑥𝐴𝑦𝐵 (𝑥𝑦𝑦𝐴))))
174, 9, 16pm5.21nd 941 . 2 (𝐵𝑉 → (𝐴 ∈ {𝑧 ∣ (𝑧 𝐵 ∧ ∀𝑥𝑧𝑦𝐵 (𝑥𝑦𝑦𝑧))} ↔ (𝐴 𝐵 ∧ ∀𝑥𝐴𝑦𝐵 (𝑥𝑦𝑦𝐴))))
182, 17bitrd 268 1 (𝐵𝑉 → (𝐴 ∈ (topGen‘𝐵) ↔ (𝐴 𝐵 ∧ ∀𝑥𝐴𝑦𝐵 (𝑥𝑦𝑦𝐴))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 384   = wceq 1483  wcel 1990  {cab 2608  wral 2912  wrex 2913  Vcvv 3200  wss 3574   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:  eltg2b  20763  tg1  20768  tgcl  20773  elmopn  22247  psmetutop  22372
  Copyright terms: Public domain W3C validator