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

Theorem elcls3 22471
Description: Membership in a closure in terms of the members of a basis. Theorem 6.5(b) of [Munkres] p. 95. (Contributed by NM, 26-Feb-2007.) (Revised by Mario Carneiro, 3-Sep-2015.)
Hypotheses
Ref Expression
elcls3.1 (𝜑𝐽 = (topGen‘𝐵))
elcls3.2 (𝜑𝑋 = 𝐽)
elcls3.3 (𝜑𝐵 ∈ TopBases)
elcls3.4 (𝜑𝑆𝑋)
elcls3.5 (𝜑𝑃𝑋)
Assertion
Ref Expression
elcls3 (𝜑 → (𝑃 ∈ ((cls‘𝐽)‘𝑆) ↔ ∀𝑥𝐵 (𝑃𝑥 → (𝑥𝑆) ≠ ∅)))
Distinct variable groups:   𝑥,𝐵   𝑥,𝑃   𝑥,𝑆
Allowed substitution hints:   𝜑(𝑥)   𝐽(𝑥)   𝑋(𝑥)

Proof of Theorem elcls3
Dummy variables 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 elcls3.1 . . . 4 (𝜑𝐽 = (topGen‘𝐵))
2 elcls3.3 . . . . 5 (𝜑𝐵 ∈ TopBases)
3 tgcl 22356 . . . . 5 (𝐵 ∈ TopBases → (topGen‘𝐵) ∈ Top)
42, 3syl 17 . . . 4 (𝜑 → (topGen‘𝐵) ∈ Top)
51, 4eqeltrd 2832 . . 3 (𝜑𝐽 ∈ Top)
6 elcls3.4 . . . 4 (𝜑𝑆𝑋)
7 elcls3.2 . . . 4 (𝜑𝑋 = 𝐽)
86, 7sseqtrd 3987 . . 3 (𝜑𝑆 𝐽)
9 elcls3.5 . . . 4 (𝜑𝑃𝑋)
109, 7eleqtrd 2834 . . 3 (𝜑𝑃 𝐽)
11 eqid 2731 . . . 4 𝐽 = 𝐽
1211elcls 22461 . . 3 ((𝐽 ∈ Top ∧ 𝑆 𝐽𝑃 𝐽) → (𝑃 ∈ ((cls‘𝐽)‘𝑆) ↔ ∀𝑦𝐽 (𝑃𝑦 → (𝑦𝑆) ≠ ∅)))
135, 8, 10, 12syl3anc 1371 . 2 (𝜑 → (𝑃 ∈ ((cls‘𝐽)‘𝑆) ↔ ∀𝑦𝐽 (𝑃𝑦 → (𝑦𝑆) ≠ ∅)))
14 bastg 22353 . . . . . . . . 9 (𝐵 ∈ TopBases → 𝐵 ⊆ (topGen‘𝐵))
152, 14syl 17 . . . . . . . 8 (𝜑𝐵 ⊆ (topGen‘𝐵))
1615, 1sseqtrrd 3988 . . . . . . 7 (𝜑𝐵𝐽)
1716sseld 3946 . . . . . 6 (𝜑 → (𝑦𝐵𝑦𝐽))
1817imim1d 82 . . . . 5 (𝜑 → ((𝑦𝐽 → (𝑃𝑦 → (𝑦𝑆) ≠ ∅)) → (𝑦𝐵 → (𝑃𝑦 → (𝑦𝑆) ≠ ∅))))
1918ralimdv2 3156 . . . 4 (𝜑 → (∀𝑦𝐽 (𝑃𝑦 → (𝑦𝑆) ≠ ∅) → ∀𝑦𝐵 (𝑃𝑦 → (𝑦𝑆) ≠ ∅)))
20 eleq2w 2816 . . . . . 6 (𝑦 = 𝑥 → (𝑃𝑦𝑃𝑥))
21 ineq1 4170 . . . . . . 7 (𝑦 = 𝑥 → (𝑦𝑆) = (𝑥𝑆))
2221neeq1d 2999 . . . . . 6 (𝑦 = 𝑥 → ((𝑦𝑆) ≠ ∅ ↔ (𝑥𝑆) ≠ ∅))
2320, 22imbi12d 344 . . . . 5 (𝑦 = 𝑥 → ((𝑃𝑦 → (𝑦𝑆) ≠ ∅) ↔ (𝑃𝑥 → (𝑥𝑆) ≠ ∅)))
2423cbvralvw 3223 . . . 4 (∀𝑦𝐵 (𝑃𝑦 → (𝑦𝑆) ≠ ∅) ↔ ∀𝑥𝐵 (𝑃𝑥 → (𝑥𝑆) ≠ ∅))
2519, 24syl6ib 250 . . 3 (𝜑 → (∀𝑦𝐽 (𝑃𝑦 → (𝑦𝑆) ≠ ∅) → ∀𝑥𝐵 (𝑃𝑥 → (𝑥𝑆) ≠ ∅)))
26 simprl 769 . . . . . . . 8 (((𝜑 ∧ ∀𝑥𝐵 (𝑃𝑥 → (𝑥𝑆) ≠ ∅)) ∧ (𝑦𝐽𝑃𝑦)) → 𝑦𝐽)
271ad2antrr 724 . . . . . . . 8 (((𝜑 ∧ ∀𝑥𝐵 (𝑃𝑥 → (𝑥𝑆) ≠ ∅)) ∧ (𝑦𝐽𝑃𝑦)) → 𝐽 = (topGen‘𝐵))
2826, 27eleqtrd 2834 . . . . . . 7 (((𝜑 ∧ ∀𝑥𝐵 (𝑃𝑥 → (𝑥𝑆) ≠ ∅)) ∧ (𝑦𝐽𝑃𝑦)) → 𝑦 ∈ (topGen‘𝐵))
29 simprr 771 . . . . . . 7 (((𝜑 ∧ ∀𝑥𝐵 (𝑃𝑥 → (𝑥𝑆) ≠ ∅)) ∧ (𝑦𝐽𝑃𝑦)) → 𝑃𝑦)
30 tg2 22352 . . . . . . 7 ((𝑦 ∈ (topGen‘𝐵) ∧ 𝑃𝑦) → ∃𝑧𝐵 (𝑃𝑧𝑧𝑦))
3128, 29, 30syl2anc 584 . . . . . 6 (((𝜑 ∧ ∀𝑥𝐵 (𝑃𝑥 → (𝑥𝑆) ≠ ∅)) ∧ (𝑦𝐽𝑃𝑦)) → ∃𝑧𝐵 (𝑃𝑧𝑧𝑦))
32 eleq2w 2816 . . . . . . . . . . . . . 14 (𝑥 = 𝑧 → (𝑃𝑥𝑃𝑧))
33 ineq1 4170 . . . . . . . . . . . . . . 15 (𝑥 = 𝑧 → (𝑥𝑆) = (𝑧𝑆))
3433neeq1d 2999 . . . . . . . . . . . . . 14 (𝑥 = 𝑧 → ((𝑥𝑆) ≠ ∅ ↔ (𝑧𝑆) ≠ ∅))
3532, 34imbi12d 344 . . . . . . . . . . . . 13 (𝑥 = 𝑧 → ((𝑃𝑥 → (𝑥𝑆) ≠ ∅) ↔ (𝑃𝑧 → (𝑧𝑆) ≠ ∅)))
3635rspccva 3581 . . . . . . . . . . . 12 ((∀𝑥𝐵 (𝑃𝑥 → (𝑥𝑆) ≠ ∅) ∧ 𝑧𝐵) → (𝑃𝑧 → (𝑧𝑆) ≠ ∅))
3736imp 407 . . . . . . . . . . 11 (((∀𝑥𝐵 (𝑃𝑥 → (𝑥𝑆) ≠ ∅) ∧ 𝑧𝐵) ∧ 𝑃𝑧) → (𝑧𝑆) ≠ ∅)
38 ssdisj 4424 . . . . . . . . . . . . 13 ((𝑧𝑦 ∧ (𝑦𝑆) = ∅) → (𝑧𝑆) = ∅)
3938ex 413 . . . . . . . . . . . 12 (𝑧𝑦 → ((𝑦𝑆) = ∅ → (𝑧𝑆) = ∅))
4039necon3d 2960 . . . . . . . . . . 11 (𝑧𝑦 → ((𝑧𝑆) ≠ ∅ → (𝑦𝑆) ≠ ∅))
4137, 40syl5com 31 . . . . . . . . . 10 (((∀𝑥𝐵 (𝑃𝑥 → (𝑥𝑆) ≠ ∅) ∧ 𝑧𝐵) ∧ 𝑃𝑧) → (𝑧𝑦 → (𝑦𝑆) ≠ ∅))
4241exp31 420 . . . . . . . . 9 (∀𝑥𝐵 (𝑃𝑥 → (𝑥𝑆) ≠ ∅) → (𝑧𝐵 → (𝑃𝑧 → (𝑧𝑦 → (𝑦𝑆) ≠ ∅))))
4342imp4a 423 . . . . . . . 8 (∀𝑥𝐵 (𝑃𝑥 → (𝑥𝑆) ≠ ∅) → (𝑧𝐵 → ((𝑃𝑧𝑧𝑦) → (𝑦𝑆) ≠ ∅)))
4443rexlimdv 3146 . . . . . . 7 (∀𝑥𝐵 (𝑃𝑥 → (𝑥𝑆) ≠ ∅) → (∃𝑧𝐵 (𝑃𝑧𝑧𝑦) → (𝑦𝑆) ≠ ∅))
4544ad2antlr 725 . . . . . 6 (((𝜑 ∧ ∀𝑥𝐵 (𝑃𝑥 → (𝑥𝑆) ≠ ∅)) ∧ (𝑦𝐽𝑃𝑦)) → (∃𝑧𝐵 (𝑃𝑧𝑧𝑦) → (𝑦𝑆) ≠ ∅))
4631, 45mpd 15 . . . . 5 (((𝜑 ∧ ∀𝑥𝐵 (𝑃𝑥 → (𝑥𝑆) ≠ ∅)) ∧ (𝑦𝐽𝑃𝑦)) → (𝑦𝑆) ≠ ∅)
4746exp43 437 . . . 4 (𝜑 → (∀𝑥𝐵 (𝑃𝑥 → (𝑥𝑆) ≠ ∅) → (𝑦𝐽 → (𝑃𝑦 → (𝑦𝑆) ≠ ∅))))
4847ralrimdv 3145 . . 3 (𝜑 → (∀𝑥𝐵 (𝑃𝑥 → (𝑥𝑆) ≠ ∅) → ∀𝑦𝐽 (𝑃𝑦 → (𝑦𝑆) ≠ ∅)))
4925, 48impbid 211 . 2 (𝜑 → (∀𝑦𝐽 (𝑃𝑦 → (𝑦𝑆) ≠ ∅) ↔ ∀𝑥𝐵 (𝑃𝑥 → (𝑥𝑆) ≠ ∅)))
5013, 49bitrd 278 1 (𝜑 → (𝑃 ∈ ((cls‘𝐽)‘𝑆) ↔ ∀𝑥𝐵 (𝑃𝑥 → (𝑥𝑆) ≠ ∅)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396   = wceq 1541  wcel 2106  wne 2939  wral 3060  wrex 3069  cin 3912  wss 3913  c0 4287   cuni 4870  cfv 6501  topGenctg 17333  Topctop 22279  TopBasesctb 22332  clsccl 22406
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2702  ax-rep 5247  ax-sep 5261  ax-nul 5268  ax-pow 5325  ax-pr 5389  ax-un 7677
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 846  df-3an 1089  df-tru 1544  df-fal 1554  df-ex 1782  df-nf 1786  df-sb 2068  df-mo 2533  df-eu 2562  df-clab 2709  df-cleq 2723  df-clel 2809  df-nfc 2884  df-ne 2940  df-ral 3061  df-rex 3070  df-reu 3352  df-rab 3406  df-v 3448  df-sbc 3743  df-csb 3859  df-dif 3916  df-un 3918  df-in 3920  df-ss 3930  df-nul 4288  df-if 4492  df-pw 4567  df-sn 4592  df-pr 4594  df-op 4598  df-uni 4871  df-int 4913  df-iun 4961  df-iin 4962  df-br 5111  df-opab 5173  df-mpt 5194  df-id 5536  df-xp 5644  df-rel 5645  df-cnv 5646  df-co 5647  df-dm 5648  df-rn 5649  df-res 5650  df-ima 5651  df-iota 6453  df-fun 6503  df-fn 6504  df-f 6505  df-f1 6506  df-fo 6507  df-f1o 6508  df-fv 6509  df-topgen 17339  df-top 22280  df-bases 22333  df-cld 22407  df-ntr 22408  df-cls 22409
This theorem is referenced by:  2ndcsep  22847  ptclsg  23003  qdensere  24170
  Copyright terms: Public domain W3C validator