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

Theorem iscldtop 22246
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 22173 . . . . 5 Clsd Fn Top
2 fnfun 6533 . . . . 5 (Clsd Fn Top → Fun Clsd)
31, 2ax-mp 5 . . . 4 Fun Clsd
4 fvelima 6835 . . . 4 ((Fun Clsd ∧ 𝐾 ∈ (Clsd “ (TopOn‘𝐵))) → ∃𝑎 ∈ (TopOn‘𝐵)(Clsd‘𝑎) = 𝐾)
53, 4mpan 687 . . 3 (𝐾 ∈ (Clsd “ (TopOn‘𝐵)) → ∃𝑎 ∈ (TopOn‘𝐵)(Clsd‘𝑎) = 𝐾)
6 cldmreon 22245 . . . . . 6 (𝑎 ∈ (TopOn‘𝐵) → (Clsd‘𝑎) ∈ (Moore‘𝐵))
7 topontop 22062 . . . . . . 7 (𝑎 ∈ (TopOn‘𝐵) → 𝑎 ∈ Top)
8 0cld 22189 . . . . . . 7 (𝑎 ∈ Top → ∅ ∈ (Clsd‘𝑎))
97, 8syl 17 . . . . . 6 (𝑎 ∈ (TopOn‘𝐵) → ∅ ∈ (Clsd‘𝑎))
10 uncld 22192 . . . . . . . 8 ((𝑥 ∈ (Clsd‘𝑎) ∧ 𝑦 ∈ (Clsd‘𝑎)) → (𝑥𝑦) ∈ (Clsd‘𝑎))
1110adantl 482 . . . . . . 7 ((𝑎 ∈ (TopOn‘𝐵) ∧ (𝑥 ∈ (Clsd‘𝑎) ∧ 𝑦 ∈ (Clsd‘𝑎))) → (𝑥𝑦) ∈ (Clsd‘𝑎))
1211ralrimivva 3123 . . . . . 6 (𝑎 ∈ (TopOn‘𝐵) → ∀𝑥 ∈ (Clsd‘𝑎)∀𝑦 ∈ (Clsd‘𝑎)(𝑥𝑦) ∈ (Clsd‘𝑎))
136, 9, 123jca 1127 . . . . 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 3340 . . . . . . 7 ((Clsd‘𝑎) = 𝐾 → (∀𝑦 ∈ (Clsd‘𝑎)(𝑥𝑦) ∈ (Clsd‘𝑎) ↔ ∀𝑦𝐾 (𝑥𝑦) ∈ 𝐾))
1817raleqbi1dv 3340 . . . . . 6 ((Clsd‘𝑎) = 𝐾 → (∀𝑥 ∈ (Clsd‘𝑎)∀𝑦 ∈ (Clsd‘𝑎)(𝑥𝑦) ∈ (Clsd‘𝑎) ↔ ∀𝑥𝐾𝑦𝐾 (𝑥𝑦) ∈ 𝐾))
1914, 15, 183anbi123d 1435 . . . . 5 ((Clsd‘𝑎) = 𝐾 → (((Clsd‘𝑎) ∈ (Moore‘𝐵) ∧ ∅ ∈ (Clsd‘𝑎) ∧ ∀𝑥 ∈ (Clsd‘𝑎)∀𝑦 ∈ (Clsd‘𝑎)(𝑥𝑦) ∈ (Clsd‘𝑎)) ↔ (𝐾 ∈ (Moore‘𝐵) ∧ ∅ ∈ 𝐾 ∧ ∀𝑥𝐾𝑦𝐾 (𝑥𝑦) ∈ 𝐾)))
2013, 19syl5ibcom 244 . . . 4 (𝑎 ∈ (TopOn‘𝐵) → ((Clsd‘𝑎) = 𝐾 → (𝐾 ∈ (Moore‘𝐵) ∧ ∅ ∈ 𝐾 ∧ ∀𝑥𝐾𝑦𝐾 (𝑥𝑦) ∈ 𝐾)))
2120rexlimiv 3209 . . 3 (∃𝑎 ∈ (TopOn‘𝐵)(Clsd‘𝑎) = 𝐾 → (𝐾 ∈ (Moore‘𝐵) ∧ ∅ ∈ 𝐾 ∧ ∀𝑥𝐾𝑦𝐾 (𝑥𝑦) ∈ 𝐾))
225, 21syl 17 . 2 (𝐾 ∈ (Clsd “ (TopOn‘𝐵)) → (𝐾 ∈ (Moore‘𝐵) ∧ ∅ ∈ 𝐾 ∧ ∀𝑥𝐾𝑦𝐾 (𝑥𝑦) ∈ 𝐾))
23 simp1 1135 . . . . 5 ((𝐾 ∈ (Moore‘𝐵) ∧ ∅ ∈ 𝐾 ∧ ∀𝑥𝐾𝑦𝐾 (𝑥𝑦) ∈ 𝐾) → 𝐾 ∈ (Moore‘𝐵))
24 simp2 1136 . . . . 5 ((𝐾 ∈ (Moore‘𝐵) ∧ ∅ ∈ 𝐾 ∧ ∀𝑥𝐾𝑦𝐾 (𝑥𝑦) ∈ 𝐾) → ∅ ∈ 𝐾)
25 uneq1 4090 . . . . . . . . . 10 (𝑥 = 𝑏 → (𝑥𝑦) = (𝑏𝑦))
2625eleq1d 2823 . . . . . . . . 9 (𝑥 = 𝑏 → ((𝑥𝑦) ∈ 𝐾 ↔ (𝑏𝑦) ∈ 𝐾))
27 uneq2 4091 . . . . . . . . . 10 (𝑦 = 𝑐 → (𝑏𝑦) = (𝑏𝑐))
2827eleq1d 2823 . . . . . . . . 9 (𝑦 = 𝑐 → ((𝑏𝑦) ∈ 𝐾 ↔ (𝑏𝑐) ∈ 𝐾))
2926, 28rspc2v 3570 . . . . . . . 8 ((𝑏𝐾𝑐𝐾) → (∀𝑥𝐾𝑦𝐾 (𝑥𝑦) ∈ 𝐾 → (𝑏𝑐) ∈ 𝐾))
3029com12 32 . . . . . . 7 (∀𝑥𝐾𝑦𝐾 (𝑥𝑦) ∈ 𝐾 → ((𝑏𝐾𝑐𝐾) → (𝑏𝑐) ∈ 𝐾))
31303ad2ant3 1134 . . . . . 6 ((𝐾 ∈ (Moore‘𝐵) ∧ ∅ ∈ 𝐾 ∧ ∀𝑥𝐾𝑦𝐾 (𝑥𝑦) ∈ 𝐾) → ((𝑏𝐾𝑐𝐾) → (𝑏𝑐) ∈ 𝐾))
32313impib 1115 . . . . 5 (((𝐾 ∈ (Moore‘𝐵) ∧ ∅ ∈ 𝐾 ∧ ∀𝑥𝐾𝑦𝐾 (𝑥𝑦) ∈ 𝐾) ∧ 𝑏𝐾𝑐𝐾) → (𝑏𝑐) ∈ 𝐾)
33 eqid 2738 . . . . 5 {𝑎 ∈ 𝒫 𝐵 ∣ (𝐵𝑎) ∈ 𝐾} = {𝑎 ∈ 𝒫 𝐵 ∣ (𝐵𝑎) ∈ 𝐾}
3423, 24, 32, 33mretopd 22243 . . . 4 ((𝐾 ∈ (Moore‘𝐵) ∧ ∅ ∈ 𝐾 ∧ ∀𝑥𝐾𝑦𝐾 (𝑥𝑦) ∈ 𝐾) → ({𝑎 ∈ 𝒫 𝐵 ∣ (𝐵𝑎) ∈ 𝐾} ∈ (TopOn‘𝐵) ∧ 𝐾 = (Clsd‘{𝑎 ∈ 𝒫 𝐵 ∣ (𝐵𝑎) ∈ 𝐾})))
3534simprd 496 . . 3 ((𝐾 ∈ (Moore‘𝐵) ∧ ∅ ∈ 𝐾 ∧ ∀𝑥𝐾𝑦𝐾 (𝑥𝑦) ∈ 𝐾) → 𝐾 = (Clsd‘{𝑎 ∈ 𝒫 𝐵 ∣ (𝐵𝑎) ∈ 𝐾}))
3634simpld 495 . . . 4 ((𝐾 ∈ (Moore‘𝐵) ∧ ∅ ∈ 𝐾 ∧ ∀𝑥𝐾𝑦𝐾 (𝑥𝑦) ∈ 𝐾) → {𝑎 ∈ 𝒫 𝐵 ∣ (𝐵𝑎) ∈ 𝐾} ∈ (TopOn‘𝐵))
377ssriv 3925 . . . . . 6 (TopOn‘𝐵) ⊆ Top
381fndmi 6537 . . . . . 6 dom Clsd = Top
3937, 38sseqtrri 3958 . . . . 5 (TopOn‘𝐵) ⊆ dom Clsd
40 funfvima2 7107 . . . . 5 ((Fun Clsd ∧ (TopOn‘𝐵) ⊆ dom Clsd) → ({𝑎 ∈ 𝒫 𝐵 ∣ (𝐵𝑎) ∈ 𝐾} ∈ (TopOn‘𝐵) → (Clsd‘{𝑎 ∈ 𝒫 𝐵 ∣ (𝐵𝑎) ∈ 𝐾}) ∈ (Clsd “ (TopOn‘𝐵))))
413, 39, 40mp2an 689 . . . 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 396  w3a 1086   = wceq 1539  wcel 2106  wral 3064  wrex 3065  {crab 3068  cdif 3884  cun 3885  wss 3887  c0 4256  𝒫 cpw 4533  dom cdm 5589  cima 5592  Fun wfun 6427   Fn wfn 6428  cfv 6433  Moorecmre 17291  Topctop 22042  TopOnctopon 22059  Clsdccld 22167
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  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 2709  ax-sep 5223  ax-nul 5230  ax-pow 5288  ax-pr 5352  ax-un 7588
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-pw 4535  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-int 4880  df-iun 4926  df-iin 4927  df-br 5075  df-opab 5137  df-mpt 5158  df-id 5489  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-iota 6391  df-fun 6435  df-fn 6436  df-fv 6441  df-mre 17295  df-top 22043  df-topon 22060  df-cld 22170
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator