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

Theorem iscldtop 21700
Description: A family is the closed sets of a topology iff it is a Moore collection and closed under finite union. (Contributed by Stefan O'Rear, 1-Feb-2015.)
Assertion
Ref Expression
iscldtop (𝐾 ∈ (Clsd “ (TopOn‘𝐵)) ↔ (𝐾 ∈ (Moore‘𝐵) ∧ ∅ ∈ 𝐾 ∧ ∀𝑥𝐾𝑦𝐾 (𝑥𝑦) ∈ 𝐾))
Distinct variable groups:   𝑥,𝐵,𝑦   𝑥,𝐾,𝑦

Proof of Theorem iscldtop
Dummy variables 𝑎 𝑏 𝑐 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 fncld 21627 . . . . 5 Clsd Fn Top
2 fnfun 6423 . . . . 5 (Clsd Fn Top → Fun Clsd)
31, 2ax-mp 5 . . . 4 Fun Clsd
4 fvelima 6706 . . . 4 ((Fun Clsd ∧ 𝐾 ∈ (Clsd “ (TopOn‘𝐵))) → ∃𝑎 ∈ (TopOn‘𝐵)(Clsd‘𝑎) = 𝐾)
53, 4mpan 689 . . 3 (𝐾 ∈ (Clsd “ (TopOn‘𝐵)) → ∃𝑎 ∈ (TopOn‘𝐵)(Clsd‘𝑎) = 𝐾)
6 cldmreon 21699 . . . . . 6 (𝑎 ∈ (TopOn‘𝐵) → (Clsd‘𝑎) ∈ (Moore‘𝐵))
7 topontop 21518 . . . . . . 7 (𝑎 ∈ (TopOn‘𝐵) → 𝑎 ∈ Top)
8 0cld 21643 . . . . . . 7 (𝑎 ∈ Top → ∅ ∈ (Clsd‘𝑎))
97, 8syl 17 . . . . . 6 (𝑎 ∈ (TopOn‘𝐵) → ∅ ∈ (Clsd‘𝑎))
10 uncld 21646 . . . . . . . 8 ((𝑥 ∈ (Clsd‘𝑎) ∧ 𝑦 ∈ (Clsd‘𝑎)) → (𝑥𝑦) ∈ (Clsd‘𝑎))
1110adantl 485 . . . . . . 7 ((𝑎 ∈ (TopOn‘𝐵) ∧ (𝑥 ∈ (Clsd‘𝑎) ∧ 𝑦 ∈ (Clsd‘𝑎))) → (𝑥𝑦) ∈ (Clsd‘𝑎))
1211ralrimivva 3156 . . . . . 6 (𝑎 ∈ (TopOn‘𝐵) → ∀𝑥 ∈ (Clsd‘𝑎)∀𝑦 ∈ (Clsd‘𝑎)(𝑥𝑦) ∈ (Clsd‘𝑎))
136, 9, 123jca 1125 . . . . 5 (𝑎 ∈ (TopOn‘𝐵) → ((Clsd‘𝑎) ∈ (Moore‘𝐵) ∧ ∅ ∈ (Clsd‘𝑎) ∧ ∀𝑥 ∈ (Clsd‘𝑎)∀𝑦 ∈ (Clsd‘𝑎)(𝑥𝑦) ∈ (Clsd‘𝑎)))
14 eleq1 2877 . . . . . 6 ((Clsd‘𝑎) = 𝐾 → ((Clsd‘𝑎) ∈ (Moore‘𝐵) ↔ 𝐾 ∈ (Moore‘𝐵)))
15 eleq2 2878 . . . . . 6 ((Clsd‘𝑎) = 𝐾 → (∅ ∈ (Clsd‘𝑎) ↔ ∅ ∈ 𝐾))
16 eleq2 2878 . . . . . . . 8 ((Clsd‘𝑎) = 𝐾 → ((𝑥𝑦) ∈ (Clsd‘𝑎) ↔ (𝑥𝑦) ∈ 𝐾))
1716raleqbi1dv 3356 . . . . . . 7 ((Clsd‘𝑎) = 𝐾 → (∀𝑦 ∈ (Clsd‘𝑎)(𝑥𝑦) ∈ (Clsd‘𝑎) ↔ ∀𝑦𝐾 (𝑥𝑦) ∈ 𝐾))
1817raleqbi1dv 3356 . . . . . 6 ((Clsd‘𝑎) = 𝐾 → (∀𝑥 ∈ (Clsd‘𝑎)∀𝑦 ∈ (Clsd‘𝑎)(𝑥𝑦) ∈ (Clsd‘𝑎) ↔ ∀𝑥𝐾𝑦𝐾 (𝑥𝑦) ∈ 𝐾))
1914, 15, 183anbi123d 1433 . . . . 5 ((Clsd‘𝑎) = 𝐾 → (((Clsd‘𝑎) ∈ (Moore‘𝐵) ∧ ∅ ∈ (Clsd‘𝑎) ∧ ∀𝑥 ∈ (Clsd‘𝑎)∀𝑦 ∈ (Clsd‘𝑎)(𝑥𝑦) ∈ (Clsd‘𝑎)) ↔ (𝐾 ∈ (Moore‘𝐵) ∧ ∅ ∈ 𝐾 ∧ ∀𝑥𝐾𝑦𝐾 (𝑥𝑦) ∈ 𝐾)))
2013, 19syl5ibcom 248 . . . 4 (𝑎 ∈ (TopOn‘𝐵) → ((Clsd‘𝑎) = 𝐾 → (𝐾 ∈ (Moore‘𝐵) ∧ ∅ ∈ 𝐾 ∧ ∀𝑥𝐾𝑦𝐾 (𝑥𝑦) ∈ 𝐾)))
2120rexlimiv 3239 . . 3 (∃𝑎 ∈ (TopOn‘𝐵)(Clsd‘𝑎) = 𝐾 → (𝐾 ∈ (Moore‘𝐵) ∧ ∅ ∈ 𝐾 ∧ ∀𝑥𝐾𝑦𝐾 (𝑥𝑦) ∈ 𝐾))
225, 21syl 17 . 2 (𝐾 ∈ (Clsd “ (TopOn‘𝐵)) → (𝐾 ∈ (Moore‘𝐵) ∧ ∅ ∈ 𝐾 ∧ ∀𝑥𝐾𝑦𝐾 (𝑥𝑦) ∈ 𝐾))
23 simp1 1133 . . . . 5 ((𝐾 ∈ (Moore‘𝐵) ∧ ∅ ∈ 𝐾 ∧ ∀𝑥𝐾𝑦𝐾 (𝑥𝑦) ∈ 𝐾) → 𝐾 ∈ (Moore‘𝐵))
24 simp2 1134 . . . . 5 ((𝐾 ∈ (Moore‘𝐵) ∧ ∅ ∈ 𝐾 ∧ ∀𝑥𝐾𝑦𝐾 (𝑥𝑦) ∈ 𝐾) → ∅ ∈ 𝐾)
25 uneq1 4083 . . . . . . . . . 10 (𝑥 = 𝑏 → (𝑥𝑦) = (𝑏𝑦))
2625eleq1d 2874 . . . . . . . . 9 (𝑥 = 𝑏 → ((𝑥𝑦) ∈ 𝐾 ↔ (𝑏𝑦) ∈ 𝐾))
27 uneq2 4084 . . . . . . . . . 10 (𝑦 = 𝑐 → (𝑏𝑦) = (𝑏𝑐))
2827eleq1d 2874 . . . . . . . . 9 (𝑦 = 𝑐 → ((𝑏𝑦) ∈ 𝐾 ↔ (𝑏𝑐) ∈ 𝐾))
2926, 28rspc2v 3581 . . . . . . . 8 ((𝑏𝐾𝑐𝐾) → (∀𝑥𝐾𝑦𝐾 (𝑥𝑦) ∈ 𝐾 → (𝑏𝑐) ∈ 𝐾))
3029com12 32 . . . . . . 7 (∀𝑥𝐾𝑦𝐾 (𝑥𝑦) ∈ 𝐾 → ((𝑏𝐾𝑐𝐾) → (𝑏𝑐) ∈ 𝐾))
31303ad2ant3 1132 . . . . . 6 ((𝐾 ∈ (Moore‘𝐵) ∧ ∅ ∈ 𝐾 ∧ ∀𝑥𝐾𝑦𝐾 (𝑥𝑦) ∈ 𝐾) → ((𝑏𝐾𝑐𝐾) → (𝑏𝑐) ∈ 𝐾))
32313impib 1113 . . . . 5 (((𝐾 ∈ (Moore‘𝐵) ∧ ∅ ∈ 𝐾 ∧ ∀𝑥𝐾𝑦𝐾 (𝑥𝑦) ∈ 𝐾) ∧ 𝑏𝐾𝑐𝐾) → (𝑏𝑐) ∈ 𝐾)
33 eqid 2798 . . . . 5 {𝑎 ∈ 𝒫 𝐵 ∣ (𝐵𝑎) ∈ 𝐾} = {𝑎 ∈ 𝒫 𝐵 ∣ (𝐵𝑎) ∈ 𝐾}
3423, 24, 32, 33mretopd 21697 . . . 4 ((𝐾 ∈ (Moore‘𝐵) ∧ ∅ ∈ 𝐾 ∧ ∀𝑥𝐾𝑦𝐾 (𝑥𝑦) ∈ 𝐾) → ({𝑎 ∈ 𝒫 𝐵 ∣ (𝐵𝑎) ∈ 𝐾} ∈ (TopOn‘𝐵) ∧ 𝐾 = (Clsd‘{𝑎 ∈ 𝒫 𝐵 ∣ (𝐵𝑎) ∈ 𝐾})))
3534simprd 499 . . 3 ((𝐾 ∈ (Moore‘𝐵) ∧ ∅ ∈ 𝐾 ∧ ∀𝑥𝐾𝑦𝐾 (𝑥𝑦) ∈ 𝐾) → 𝐾 = (Clsd‘{𝑎 ∈ 𝒫 𝐵 ∣ (𝐵𝑎) ∈ 𝐾}))
3634simpld 498 . . . 4 ((𝐾 ∈ (Moore‘𝐵) ∧ ∅ ∈ 𝐾 ∧ ∀𝑥𝐾𝑦𝐾 (𝑥𝑦) ∈ 𝐾) → {𝑎 ∈ 𝒫 𝐵 ∣ (𝐵𝑎) ∈ 𝐾} ∈ (TopOn‘𝐵))
377ssriv 3919 . . . . . 6 (TopOn‘𝐵) ⊆ Top
381fndmi 6426 . . . . . 6 dom Clsd = Top
3937, 38sseqtrri 3952 . . . . 5 (TopOn‘𝐵) ⊆ dom Clsd
40 funfvima2 6971 . . . . 5 ((Fun Clsd ∧ (TopOn‘𝐵) ⊆ dom Clsd) → ({𝑎 ∈ 𝒫 𝐵 ∣ (𝐵𝑎) ∈ 𝐾} ∈ (TopOn‘𝐵) → (Clsd‘{𝑎 ∈ 𝒫 𝐵 ∣ (𝐵𝑎) ∈ 𝐾}) ∈ (Clsd “ (TopOn‘𝐵))))
413, 39, 40mp2an 691 . . . 4 ({𝑎 ∈ 𝒫 𝐵 ∣ (𝐵𝑎) ∈ 𝐾} ∈ (TopOn‘𝐵) → (Clsd‘{𝑎 ∈ 𝒫 𝐵 ∣ (𝐵𝑎) ∈ 𝐾}) ∈ (Clsd “ (TopOn‘𝐵)))
4236, 41syl 17 . . 3 ((𝐾 ∈ (Moore‘𝐵) ∧ ∅ ∈ 𝐾 ∧ ∀𝑥𝐾𝑦𝐾 (𝑥𝑦) ∈ 𝐾) → (Clsd‘{𝑎 ∈ 𝒫 𝐵 ∣ (𝐵𝑎) ∈ 𝐾}) ∈ (Clsd “ (TopOn‘𝐵)))
4335, 42eqeltrd 2890 . 2 ((𝐾 ∈ (Moore‘𝐵) ∧ ∅ ∈ 𝐾 ∧ ∀𝑥𝐾𝑦𝐾 (𝑥𝑦) ∈ 𝐾) → 𝐾 ∈ (Clsd “ (TopOn‘𝐵)))
4422, 43impbii 212 1 (𝐾 ∈ (Clsd “ (TopOn‘𝐵)) ↔ (𝐾 ∈ (Moore‘𝐵) ∧ ∅ ∈ 𝐾 ∧ ∀𝑥𝐾𝑦𝐾 (𝑥𝑦) ∈ 𝐾))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399  w3a 1084   = wceq 1538  wcel 2111  wral 3106  wrex 3107  {crab 3110  cdif 3878  cun 3879  wss 3881  c0 4243  𝒫 cpw 4497  dom cdm 5519  cima 5522  Fun wfun 6318   Fn wfn 6319  cfv 6324  Moorecmre 16845  Topctop 21498  TopOnctopon 21515  Clsdccld 21621
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 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770  ax-sep 5167  ax-nul 5174  ax-pow 5231  ax-pr 5295  ax-un 7441
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2598  df-eu 2629  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ne 2988  df-ral 3111  df-rex 3112  df-rab 3115  df-v 3443  df-sbc 3721  df-dif 3884  df-un 3886  df-in 3888  df-ss 3898  df-nul 4244  df-if 4426  df-pw 4499  df-sn 4526  df-pr 4528  df-op 4532  df-uni 4801  df-int 4839  df-iun 4883  df-iin 4884  df-br 5031  df-opab 5093  df-mpt 5111  df-id 5425  df-xp 5525  df-rel 5526  df-cnv 5527  df-co 5528  df-dm 5529  df-rn 5530  df-res 5531  df-ima 5532  df-iota 6283  df-fun 6326  df-fn 6327  df-fv 6332  df-mre 16849  df-top 21499  df-topon 21516  df-cld 21624
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator