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

Theorem elcls3 22306
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 22191 . . . . 5 (𝐵 ∈ TopBases → (topGen‘𝐵) ∈ Top)
42, 3syl 17 . . . 4 (𝜑 → (topGen‘𝐵) ∈ Top)
51, 4eqeltrd 2838 . . 3 (𝜑𝐽 ∈ Top)
6 elcls3.4 . . . 4 (𝜑𝑆𝑋)
7 elcls3.2 . . . 4 (𝜑𝑋 = 𝐽)
86, 7sseqtrd 3971 . . 3 (𝜑𝑆 𝐽)
9 elcls3.5 . . . 4 (𝜑𝑃𝑋)
109, 7eleqtrd 2840 . . 3 (𝜑𝑃 𝐽)
11 eqid 2737 . . . 4 𝐽 = 𝐽
1211elcls 22296 . . 3 ((𝐽 ∈ Top ∧ 𝑆 𝐽𝑃 𝐽) → (𝑃 ∈ ((cls‘𝐽)‘𝑆) ↔ ∀𝑦𝐽 (𝑃𝑦 → (𝑦𝑆) ≠ ∅)))
135, 8, 10, 12syl3anc 1370 . 2 (𝜑 → (𝑃 ∈ ((cls‘𝐽)‘𝑆) ↔ ∀𝑦𝐽 (𝑃𝑦 → (𝑦𝑆) ≠ ∅)))
14 bastg 22188 . . . . . . . . 9 (𝐵 ∈ TopBases → 𝐵 ⊆ (topGen‘𝐵))
152, 14syl 17 . . . . . . . 8 (𝜑𝐵 ⊆ (topGen‘𝐵))
1615, 1sseqtrrd 3972 . . . . . . 7 (𝜑𝐵𝐽)
1716sseld 3930 . . . . . 6 (𝜑 → (𝑦𝐵𝑦𝐽))
1817imim1d 82 . . . . 5 (𝜑 → ((𝑦𝐽 → (𝑃𝑦 → (𝑦𝑆) ≠ ∅)) → (𝑦𝐵 → (𝑃𝑦 → (𝑦𝑆) ≠ ∅))))
1918ralimdv2 3157 . . . 4 (𝜑 → (∀𝑦𝐽 (𝑃𝑦 → (𝑦𝑆) ≠ ∅) → ∀𝑦𝐵 (𝑃𝑦 → (𝑦𝑆) ≠ ∅)))
20 eleq2w 2821 . . . . . 6 (𝑦 = 𝑥 → (𝑃𝑦𝑃𝑥))
21 ineq1 4150 . . . . . . 7 (𝑦 = 𝑥 → (𝑦𝑆) = (𝑥𝑆))
2221neeq1d 3001 . . . . . 6 (𝑦 = 𝑥 → ((𝑦𝑆) ≠ ∅ ↔ (𝑥𝑆) ≠ ∅))
2320, 22imbi12d 344 . . . . 5 (𝑦 = 𝑥 → ((𝑃𝑦 → (𝑦𝑆) ≠ ∅) ↔ (𝑃𝑥 → (𝑥𝑆) ≠ ∅)))
2423cbvralvw 3222 . . . 4 (∀𝑦𝐵 (𝑃𝑦 → (𝑦𝑆) ≠ ∅) ↔ ∀𝑥𝐵 (𝑃𝑥 → (𝑥𝑆) ≠ ∅))
2519, 24syl6ib 250 . . 3 (𝜑 → (∀𝑦𝐽 (𝑃𝑦 → (𝑦𝑆) ≠ ∅) → ∀𝑥𝐵 (𝑃𝑥 → (𝑥𝑆) ≠ ∅)))
26 simprl 768 . . . . . . . 8 (((𝜑 ∧ ∀𝑥𝐵 (𝑃𝑥 → (𝑥𝑆) ≠ ∅)) ∧ (𝑦𝐽𝑃𝑦)) → 𝑦𝐽)
271ad2antrr 723 . . . . . . . 8 (((𝜑 ∧ ∀𝑥𝐵 (𝑃𝑥 → (𝑥𝑆) ≠ ∅)) ∧ (𝑦𝐽𝑃𝑦)) → 𝐽 = (topGen‘𝐵))
2826, 27eleqtrd 2840 . . . . . . 7 (((𝜑 ∧ ∀𝑥𝐵 (𝑃𝑥 → (𝑥𝑆) ≠ ∅)) ∧ (𝑦𝐽𝑃𝑦)) → 𝑦 ∈ (topGen‘𝐵))
29 simprr 770 . . . . . . 7 (((𝜑 ∧ ∀𝑥𝐵 (𝑃𝑥 → (𝑥𝑆) ≠ ∅)) ∧ (𝑦𝐽𝑃𝑦)) → 𝑃𝑦)
30 tg2 22187 . . . . . . 7 ((𝑦 ∈ (topGen‘𝐵) ∧ 𝑃𝑦) → ∃𝑧𝐵 (𝑃𝑧𝑧𝑦))
3128, 29, 30syl2anc 584 . . . . . 6 (((𝜑 ∧ ∀𝑥𝐵 (𝑃𝑥 → (𝑥𝑆) ≠ ∅)) ∧ (𝑦𝐽𝑃𝑦)) → ∃𝑧𝐵 (𝑃𝑧𝑧𝑦))
32 eleq2w 2821 . . . . . . . . . . . . . 14 (𝑥 = 𝑧 → (𝑃𝑥𝑃𝑧))
33 ineq1 4150 . . . . . . . . . . . . . . 15 (𝑥 = 𝑧 → (𝑥𝑆) = (𝑧𝑆))
3433neeq1d 3001 . . . . . . . . . . . . . 14 (𝑥 = 𝑧 → ((𝑥𝑆) ≠ ∅ ↔ (𝑧𝑆) ≠ ∅))
3532, 34imbi12d 344 . . . . . . . . . . . . 13 (𝑥 = 𝑧 → ((𝑃𝑥 → (𝑥𝑆) ≠ ∅) ↔ (𝑃𝑧 → (𝑧𝑆) ≠ ∅)))
3635rspccva 3569 . . . . . . . . . . . 12 ((∀𝑥𝐵 (𝑃𝑥 → (𝑥𝑆) ≠ ∅) ∧ 𝑧𝐵) → (𝑃𝑧 → (𝑧𝑆) ≠ ∅))
3736imp 407 . . . . . . . . . . 11 (((∀𝑥𝐵 (𝑃𝑥 → (𝑥𝑆) ≠ ∅) ∧ 𝑧𝐵) ∧ 𝑃𝑧) → (𝑧𝑆) ≠ ∅)
38 ssdisj 4404 . . . . . . . . . . . . 13 ((𝑧𝑦 ∧ (𝑦𝑆) = ∅) → (𝑧𝑆) = ∅)
3938ex 413 . . . . . . . . . . . 12 (𝑧𝑦 → ((𝑦𝑆) = ∅ → (𝑧𝑆) = ∅))
4039necon3d 2962 . . . . . . . . . . 11 (𝑧𝑦 → ((𝑧𝑆) ≠ ∅ → (𝑦𝑆) ≠ ∅))
4137, 40syl5com 31 . . . . . . . . . 10 (((∀𝑥𝐵 (𝑃𝑥 → (𝑥𝑆) ≠ ∅) ∧ 𝑧𝐵) ∧ 𝑃𝑧) → (𝑧𝑦 → (𝑦𝑆) ≠ ∅))
4241exp31 420 . . . . . . . . 9 (∀𝑥𝐵 (𝑃𝑥 → (𝑥𝑆) ≠ ∅) → (𝑧𝐵 → (𝑃𝑧 → (𝑧𝑦 → (𝑦𝑆) ≠ ∅))))
4342imp4a 423 . . . . . . . 8 (∀𝑥𝐵 (𝑃𝑥 → (𝑥𝑆) ≠ ∅) → (𝑧𝐵 → ((𝑃𝑧𝑧𝑦) → (𝑦𝑆) ≠ ∅)))
4443rexlimdv 3147 . . . . . . 7 (∀𝑥𝐵 (𝑃𝑥 → (𝑥𝑆) ≠ ∅) → (∃𝑧𝐵 (𝑃𝑧𝑧𝑦) → (𝑦𝑆) ≠ ∅))
4544ad2antlr 724 . . . . . 6 (((𝜑 ∧ ∀𝑥𝐵 (𝑃𝑥 → (𝑥𝑆) ≠ ∅)) ∧ (𝑦𝐽𝑃𝑦)) → (∃𝑧𝐵 (𝑃𝑧𝑧𝑦) → (𝑦𝑆) ≠ ∅))
4631, 45mpd 15 . . . . 5 (((𝜑 ∧ ∀𝑥𝐵 (𝑃𝑥 → (𝑥𝑆) ≠ ∅)) ∧ (𝑦𝐽𝑃𝑦)) → (𝑦𝑆) ≠ ∅)
4746exp43 437 . . . 4 (𝜑 → (∀𝑥𝐵 (𝑃𝑥 → (𝑥𝑆) ≠ ∅) → (𝑦𝐽 → (𝑃𝑦 → (𝑦𝑆) ≠ ∅))))
4847ralrimdv 3146 . . 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 1540  wcel 2105  wne 2941  wral 3062  wrex 3071  cin 3896  wss 3897  c0 4267   cuni 4850  cfv 6465  topGenctg 17218  Topctop 22114  TopBasesctb 22167  clsccl 22241
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1912  ax-6 1970  ax-7 2010  ax-8 2107  ax-9 2115  ax-10 2136  ax-11 2153  ax-12 2170  ax-ext 2708  ax-rep 5224  ax-sep 5238  ax-nul 5245  ax-pow 5303  ax-pr 5367  ax-un 7628
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1543  df-fal 1553  df-ex 1781  df-nf 1785  df-sb 2067  df-mo 2539  df-eu 2568  df-clab 2715  df-cleq 2729  df-clel 2815  df-nfc 2887  df-ne 2942  df-ral 3063  df-rex 3072  df-reu 3351  df-rab 3405  df-v 3443  df-sbc 3727  df-csb 3843  df-dif 3900  df-un 3902  df-in 3904  df-ss 3914  df-nul 4268  df-if 4472  df-pw 4547  df-sn 4572  df-pr 4574  df-op 4578  df-uni 4851  df-int 4893  df-iun 4939  df-iin 4940  df-br 5088  df-opab 5150  df-mpt 5171  df-id 5507  df-xp 5613  df-rel 5614  df-cnv 5615  df-co 5616  df-dm 5617  df-rn 5618  df-res 5619  df-ima 5620  df-iota 6417  df-fun 6467  df-fn 6468  df-f 6469  df-f1 6470  df-fo 6471  df-f1o 6472  df-fv 6473  df-topgen 17224  df-top 22115  df-bases 22168  df-cld 22242  df-ntr 22243  df-cls 22244
This theorem is referenced by:  2ndcsep  22682  ptclsg  22838  qdensere  24005
  Copyright terms: Public domain W3C validator