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

Theorem iscldtop 22154
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 22081 . . . . 5 Clsd Fn Top
2 fnfun 6517 . . . . 5 (Clsd Fn Top → Fun Clsd)
31, 2ax-mp 5 . . . 4 Fun Clsd
4 fvelima 6817 . . . 4 ((Fun Clsd ∧ 𝐾 ∈ (Clsd “ (TopOn‘𝐵))) → ∃𝑎 ∈ (TopOn‘𝐵)(Clsd‘𝑎) = 𝐾)
53, 4mpan 686 . . 3 (𝐾 ∈ (Clsd “ (TopOn‘𝐵)) → ∃𝑎 ∈ (TopOn‘𝐵)(Clsd‘𝑎) = 𝐾)
6 cldmreon 22153 . . . . . 6 (𝑎 ∈ (TopOn‘𝐵) → (Clsd‘𝑎) ∈ (Moore‘𝐵))
7 topontop 21970 . . . . . . 7 (𝑎 ∈ (TopOn‘𝐵) → 𝑎 ∈ Top)
8 0cld 22097 . . . . . . 7 (𝑎 ∈ Top → ∅ ∈ (Clsd‘𝑎))
97, 8syl 17 . . . . . 6 (𝑎 ∈ (TopOn‘𝐵) → ∅ ∈ (Clsd‘𝑎))
10 uncld 22100 . . . . . . . 8 ((𝑥 ∈ (Clsd‘𝑎) ∧ 𝑦 ∈ (Clsd‘𝑎)) → (𝑥𝑦) ∈ (Clsd‘𝑎))
1110adantl 481 . . . . . . 7 ((𝑎 ∈ (TopOn‘𝐵) ∧ (𝑥 ∈ (Clsd‘𝑎) ∧ 𝑦 ∈ (Clsd‘𝑎))) → (𝑥𝑦) ∈ (Clsd‘𝑎))
1211ralrimivva 3114 . . . . . 6 (𝑎 ∈ (TopOn‘𝐵) → ∀𝑥 ∈ (Clsd‘𝑎)∀𝑦 ∈ (Clsd‘𝑎)(𝑥𝑦) ∈ (Clsd‘𝑎))
136, 9, 123jca 1126 . . . . 5 (𝑎 ∈ (TopOn‘𝐵) → ((Clsd‘𝑎) ∈ (Moore‘𝐵) ∧ ∅ ∈ (Clsd‘𝑎) ∧ ∀𝑥 ∈ (Clsd‘𝑎)∀𝑦 ∈ (Clsd‘𝑎)(𝑥𝑦) ∈ (Clsd‘𝑎)))
14 eleq1 2826 . . . . . 6 ((Clsd‘𝑎) = 𝐾 → ((Clsd‘𝑎) ∈ (Moore‘𝐵) ↔ 𝐾 ∈ (Moore‘𝐵)))
15 eleq2 2827 . . . . . 6 ((Clsd‘𝑎) = 𝐾 → (∅ ∈ (Clsd‘𝑎) ↔ ∅ ∈ 𝐾))
16 eleq2 2827 . . . . . . . 8 ((Clsd‘𝑎) = 𝐾 → ((𝑥𝑦) ∈ (Clsd‘𝑎) ↔ (𝑥𝑦) ∈ 𝐾))
1716raleqbi1dv 3331 . . . . . . 7 ((Clsd‘𝑎) = 𝐾 → (∀𝑦 ∈ (Clsd‘𝑎)(𝑥𝑦) ∈ (Clsd‘𝑎) ↔ ∀𝑦𝐾 (𝑥𝑦) ∈ 𝐾))
1817raleqbi1dv 3331 . . . . . 6 ((Clsd‘𝑎) = 𝐾 → (∀𝑥 ∈ (Clsd‘𝑎)∀𝑦 ∈ (Clsd‘𝑎)(𝑥𝑦) ∈ (Clsd‘𝑎) ↔ ∀𝑥𝐾𝑦𝐾 (𝑥𝑦) ∈ 𝐾))
1914, 15, 183anbi123d 1434 . . . . 5 ((Clsd‘𝑎) = 𝐾 → (((Clsd‘𝑎) ∈ (Moore‘𝐵) ∧ ∅ ∈ (Clsd‘𝑎) ∧ ∀𝑥 ∈ (Clsd‘𝑎)∀𝑦 ∈ (Clsd‘𝑎)(𝑥𝑦) ∈ (Clsd‘𝑎)) ↔ (𝐾 ∈ (Moore‘𝐵) ∧ ∅ ∈ 𝐾 ∧ ∀𝑥𝐾𝑦𝐾 (𝑥𝑦) ∈ 𝐾)))
2013, 19syl5ibcom 244 . . . 4 (𝑎 ∈ (TopOn‘𝐵) → ((Clsd‘𝑎) = 𝐾 → (𝐾 ∈ (Moore‘𝐵) ∧ ∅ ∈ 𝐾 ∧ ∀𝑥𝐾𝑦𝐾 (𝑥𝑦) ∈ 𝐾)))
2120rexlimiv 3208 . . 3 (∃𝑎 ∈ (TopOn‘𝐵)(Clsd‘𝑎) = 𝐾 → (𝐾 ∈ (Moore‘𝐵) ∧ ∅ ∈ 𝐾 ∧ ∀𝑥𝐾𝑦𝐾 (𝑥𝑦) ∈ 𝐾))
225, 21syl 17 . 2 (𝐾 ∈ (Clsd “ (TopOn‘𝐵)) → (𝐾 ∈ (Moore‘𝐵) ∧ ∅ ∈ 𝐾 ∧ ∀𝑥𝐾𝑦𝐾 (𝑥𝑦) ∈ 𝐾))
23 simp1 1134 . . . . 5 ((𝐾 ∈ (Moore‘𝐵) ∧ ∅ ∈ 𝐾 ∧ ∀𝑥𝐾𝑦𝐾 (𝑥𝑦) ∈ 𝐾) → 𝐾 ∈ (Moore‘𝐵))
24 simp2 1135 . . . . 5 ((𝐾 ∈ (Moore‘𝐵) ∧ ∅ ∈ 𝐾 ∧ ∀𝑥𝐾𝑦𝐾 (𝑥𝑦) ∈ 𝐾) → ∅ ∈ 𝐾)
25 uneq1 4086 . . . . . . . . . 10 (𝑥 = 𝑏 → (𝑥𝑦) = (𝑏𝑦))
2625eleq1d 2823 . . . . . . . . 9 (𝑥 = 𝑏 → ((𝑥𝑦) ∈ 𝐾 ↔ (𝑏𝑦) ∈ 𝐾))
27 uneq2 4087 . . . . . . . . . 10 (𝑦 = 𝑐 → (𝑏𝑦) = (𝑏𝑐))
2827eleq1d 2823 . . . . . . . . 9 (𝑦 = 𝑐 → ((𝑏𝑦) ∈ 𝐾 ↔ (𝑏𝑐) ∈ 𝐾))
2926, 28rspc2v 3562 . . . . . . . 8 ((𝑏𝐾𝑐𝐾) → (∀𝑥𝐾𝑦𝐾 (𝑥𝑦) ∈ 𝐾 → (𝑏𝑐) ∈ 𝐾))
3029com12 32 . . . . . . 7 (∀𝑥𝐾𝑦𝐾 (𝑥𝑦) ∈ 𝐾 → ((𝑏𝐾𝑐𝐾) → (𝑏𝑐) ∈ 𝐾))
31303ad2ant3 1133 . . . . . 6 ((𝐾 ∈ (Moore‘𝐵) ∧ ∅ ∈ 𝐾 ∧ ∀𝑥𝐾𝑦𝐾 (𝑥𝑦) ∈ 𝐾) → ((𝑏𝐾𝑐𝐾) → (𝑏𝑐) ∈ 𝐾))
32313impib 1114 . . . . 5 (((𝐾 ∈ (Moore‘𝐵) ∧ ∅ ∈ 𝐾 ∧ ∀𝑥𝐾𝑦𝐾 (𝑥𝑦) ∈ 𝐾) ∧ 𝑏𝐾𝑐𝐾) → (𝑏𝑐) ∈ 𝐾)
33 eqid 2738 . . . . 5 {𝑎 ∈ 𝒫 𝐵 ∣ (𝐵𝑎) ∈ 𝐾} = {𝑎 ∈ 𝒫 𝐵 ∣ (𝐵𝑎) ∈ 𝐾}
3423, 24, 32, 33mretopd 22151 . . . 4 ((𝐾 ∈ (Moore‘𝐵) ∧ ∅ ∈ 𝐾 ∧ ∀𝑥𝐾𝑦𝐾 (𝑥𝑦) ∈ 𝐾) → ({𝑎 ∈ 𝒫 𝐵 ∣ (𝐵𝑎) ∈ 𝐾} ∈ (TopOn‘𝐵) ∧ 𝐾 = (Clsd‘{𝑎 ∈ 𝒫 𝐵 ∣ (𝐵𝑎) ∈ 𝐾})))
3534simprd 495 . . 3 ((𝐾 ∈ (Moore‘𝐵) ∧ ∅ ∈ 𝐾 ∧ ∀𝑥𝐾𝑦𝐾 (𝑥𝑦) ∈ 𝐾) → 𝐾 = (Clsd‘{𝑎 ∈ 𝒫 𝐵 ∣ (𝐵𝑎) ∈ 𝐾}))
3634simpld 494 . . . 4 ((𝐾 ∈ (Moore‘𝐵) ∧ ∅ ∈ 𝐾 ∧ ∀𝑥𝐾𝑦𝐾 (𝑥𝑦) ∈ 𝐾) → {𝑎 ∈ 𝒫 𝐵 ∣ (𝐵𝑎) ∈ 𝐾} ∈ (TopOn‘𝐵))
377ssriv 3921 . . . . . 6 (TopOn‘𝐵) ⊆ Top
381fndmi 6521 . . . . . 6 dom Clsd = Top
3937, 38sseqtrri 3954 . . . . 5 (TopOn‘𝐵) ⊆ dom Clsd
40 funfvima2 7089 . . . . 5 ((Fun Clsd ∧ (TopOn‘𝐵) ⊆ dom Clsd) → ({𝑎 ∈ 𝒫 𝐵 ∣ (𝐵𝑎) ∈ 𝐾} ∈ (TopOn‘𝐵) → (Clsd‘{𝑎 ∈ 𝒫 𝐵 ∣ (𝐵𝑎) ∈ 𝐾}) ∈ (Clsd “ (TopOn‘𝐵))))
413, 39, 40mp2an 688 . . . 4 ({𝑎 ∈ 𝒫 𝐵 ∣ (𝐵𝑎) ∈ 𝐾} ∈ (TopOn‘𝐵) → (Clsd‘{𝑎 ∈ 𝒫 𝐵 ∣ (𝐵𝑎) ∈ 𝐾}) ∈ (Clsd “ (TopOn‘𝐵)))
4236, 41syl 17 . . 3 ((𝐾 ∈ (Moore‘𝐵) ∧ ∅ ∈ 𝐾 ∧ ∀𝑥𝐾𝑦𝐾 (𝑥𝑦) ∈ 𝐾) → (Clsd‘{𝑎 ∈ 𝒫 𝐵 ∣ (𝐵𝑎) ∈ 𝐾}) ∈ (Clsd “ (TopOn‘𝐵)))
4335, 42eqeltrd 2839 . 2 ((𝐾 ∈ (Moore‘𝐵) ∧ ∅ ∈ 𝐾 ∧ ∀𝑥𝐾𝑦𝐾 (𝑥𝑦) ∈ 𝐾) → 𝐾 ∈ (Clsd “ (TopOn‘𝐵)))
4422, 43impbii 208 1 (𝐾 ∈ (Clsd “ (TopOn‘𝐵)) ↔ (𝐾 ∈ (Moore‘𝐵) ∧ ∅ ∈ 𝐾 ∧ ∀𝑥𝐾𝑦𝐾 (𝑥𝑦) ∈ 𝐾))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  w3a 1085   = wceq 1539  wcel 2108  wral 3063  wrex 3064  {crab 3067  cdif 3880  cun 3881  wss 3883  c0 4253  𝒫 cpw 4530  dom cdm 5580  cima 5583  Fun wfun 6412   Fn wfn 6413  cfv 6418  Moorecmre 17208  Topctop 21950  TopOnctopon 21967  Clsdccld 22075
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pow 5283  ax-pr 5347  ax-un 7566
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-int 4877  df-iun 4923  df-iin 4924  df-br 5071  df-opab 5133  df-mpt 5154  df-id 5480  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-iota 6376  df-fun 6420  df-fn 6421  df-fv 6426  df-mre 17212  df-top 21951  df-topon 21968  df-cld 22078
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator