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

Theorem isclo 20872
Description: A set 𝐴 is clopen iff for every point 𝑥 in the space there is a neighborhood 𝑦 such that all the points in 𝑦 are in 𝐴 iff 𝑥 is. (Contributed by Mario Carneiro, 10-Mar-2015.)
Hypothesis
Ref Expression
isclo.1 𝑋 = 𝐽
Assertion
Ref Expression
isclo ((𝐽 ∈ Top ∧ 𝐴𝑋) → (𝐴 ∈ (𝐽 ∩ (Clsd‘𝐽)) ↔ ∀𝑥𝑋𝑦𝐽 (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴))))
Distinct variable groups:   𝑥,𝑦,𝑧,𝐴   𝑥,𝐽,𝑦,𝑧   𝑥,𝑋,𝑦,𝑧

Proof of Theorem isclo
StepHypRef Expression
1 elin 3788 . 2 (𝐴 ∈ (𝐽 ∩ (Clsd‘𝐽)) ↔ (𝐴𝐽𝐴 ∈ (Clsd‘𝐽)))
2 isclo.1 . . . . 5 𝑋 = 𝐽
32iscld2 20813 . . . 4 ((𝐽 ∈ Top ∧ 𝐴𝑋) → (𝐴 ∈ (Clsd‘𝐽) ↔ (𝑋𝐴) ∈ 𝐽))
43anbi2d 739 . . 3 ((𝐽 ∈ Top ∧ 𝐴𝑋) → ((𝐴𝐽𝐴 ∈ (Clsd‘𝐽)) ↔ (𝐴𝐽 ∧ (𝑋𝐴) ∈ 𝐽)))
5 eltop2 20760 . . . . . 6 (𝐽 ∈ Top → (𝐴𝐽 ↔ ∀𝑥𝐴𝑦𝐽 (𝑥𝑦𝑦𝐴)))
6 dfss3 3585 . . . . . . . . . 10 (𝑦𝐴 ↔ ∀𝑧𝑦 𝑧𝐴)
7 pm5.501 356 . . . . . . . . . . 11 (𝑥𝐴 → (𝑧𝐴 ↔ (𝑥𝐴𝑧𝐴)))
87ralbidv 2983 . . . . . . . . . 10 (𝑥𝐴 → (∀𝑧𝑦 𝑧𝐴 ↔ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴)))
96, 8syl5bb 272 . . . . . . . . 9 (𝑥𝐴 → (𝑦𝐴 ↔ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴)))
109anbi2d 739 . . . . . . . 8 (𝑥𝐴 → ((𝑥𝑦𝑦𝐴) ↔ (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴))))
1110rexbidv 3048 . . . . . . 7 (𝑥𝐴 → (∃𝑦𝐽 (𝑥𝑦𝑦𝐴) ↔ ∃𝑦𝐽 (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴))))
1211ralbiia 2976 . . . . . 6 (∀𝑥𝐴𝑦𝐽 (𝑥𝑦𝑦𝐴) ↔ ∀𝑥𝐴𝑦𝐽 (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴)))
135, 12syl6bb 276 . . . . 5 (𝐽 ∈ Top → (𝐴𝐽 ↔ ∀𝑥𝐴𝑦𝐽 (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴))))
14 eltop2 20760 . . . . . 6 (𝐽 ∈ Top → ((𝑋𝐴) ∈ 𝐽 ↔ ∀𝑥 ∈ (𝑋𝐴)∃𝑦𝐽 (𝑥𝑦𝑦 ⊆ (𝑋𝐴))))
15 dfss3 3585 . . . . . . . . . 10 (𝑦 ⊆ (𝑋𝐴) ↔ ∀𝑧𝑦 𝑧 ∈ (𝑋𝐴))
16 id 22 . . . . . . . . . . . . . . 15 (𝑧𝑦𝑧𝑦)
17 simpr 477 . . . . . . . . . . . . . . 15 ((𝑥 ∈ (𝑋𝐴) ∧ 𝑦𝐽) → 𝑦𝐽)
18 elunii 4432 . . . . . . . . . . . . . . 15 ((𝑧𝑦𝑦𝐽) → 𝑧 𝐽)
1916, 17, 18syl2anr 495 . . . . . . . . . . . . . 14 (((𝑥 ∈ (𝑋𝐴) ∧ 𝑦𝐽) ∧ 𝑧𝑦) → 𝑧 𝐽)
2019, 2syl6eleqr 2710 . . . . . . . . . . . . 13 (((𝑥 ∈ (𝑋𝐴) ∧ 𝑦𝐽) ∧ 𝑧𝑦) → 𝑧𝑋)
21 eldif 3577 . . . . . . . . . . . . . 14 (𝑧 ∈ (𝑋𝐴) ↔ (𝑧𝑋 ∧ ¬ 𝑧𝐴))
2221baib 943 . . . . . . . . . . . . 13 (𝑧𝑋 → (𝑧 ∈ (𝑋𝐴) ↔ ¬ 𝑧𝐴))
2320, 22syl 17 . . . . . . . . . . . 12 (((𝑥 ∈ (𝑋𝐴) ∧ 𝑦𝐽) ∧ 𝑧𝑦) → (𝑧 ∈ (𝑋𝐴) ↔ ¬ 𝑧𝐴))
24 eldifn 3725 . . . . . . . . . . . . . 14 (𝑥 ∈ (𝑋𝐴) → ¬ 𝑥𝐴)
25 nbn2 360 . . . . . . . . . . . . . 14 𝑥𝐴 → (¬ 𝑧𝐴 ↔ (𝑥𝐴𝑧𝐴)))
2624, 25syl 17 . . . . . . . . . . . . 13 (𝑥 ∈ (𝑋𝐴) → (¬ 𝑧𝐴 ↔ (𝑥𝐴𝑧𝐴)))
2726ad2antrr 761 . . . . . . . . . . . 12 (((𝑥 ∈ (𝑋𝐴) ∧ 𝑦𝐽) ∧ 𝑧𝑦) → (¬ 𝑧𝐴 ↔ (𝑥𝐴𝑧𝐴)))
2823, 27bitrd 268 . . . . . . . . . . 11 (((𝑥 ∈ (𝑋𝐴) ∧ 𝑦𝐽) ∧ 𝑧𝑦) → (𝑧 ∈ (𝑋𝐴) ↔ (𝑥𝐴𝑧𝐴)))
2928ralbidva 2982 . . . . . . . . . 10 ((𝑥 ∈ (𝑋𝐴) ∧ 𝑦𝐽) → (∀𝑧𝑦 𝑧 ∈ (𝑋𝐴) ↔ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴)))
3015, 29syl5bb 272 . . . . . . . . 9 ((𝑥 ∈ (𝑋𝐴) ∧ 𝑦𝐽) → (𝑦 ⊆ (𝑋𝐴) ↔ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴)))
3130anbi2d 739 . . . . . . . 8 ((𝑥 ∈ (𝑋𝐴) ∧ 𝑦𝐽) → ((𝑥𝑦𝑦 ⊆ (𝑋𝐴)) ↔ (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴))))
3231rexbidva 3045 . . . . . . 7 (𝑥 ∈ (𝑋𝐴) → (∃𝑦𝐽 (𝑥𝑦𝑦 ⊆ (𝑋𝐴)) ↔ ∃𝑦𝐽 (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴))))
3332ralbiia 2976 . . . . . 6 (∀𝑥 ∈ (𝑋𝐴)∃𝑦𝐽 (𝑥𝑦𝑦 ⊆ (𝑋𝐴)) ↔ ∀𝑥 ∈ (𝑋𝐴)∃𝑦𝐽 (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴)))
3414, 33syl6bb 276 . . . . 5 (𝐽 ∈ Top → ((𝑋𝐴) ∈ 𝐽 ↔ ∀𝑥 ∈ (𝑋𝐴)∃𝑦𝐽 (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴))))
3513, 34anbi12d 746 . . . 4 (𝐽 ∈ Top → ((𝐴𝐽 ∧ (𝑋𝐴) ∈ 𝐽) ↔ (∀𝑥𝐴𝑦𝐽 (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴)) ∧ ∀𝑥 ∈ (𝑋𝐴)∃𝑦𝐽 (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴)))))
3635adantr 481 . . 3 ((𝐽 ∈ Top ∧ 𝐴𝑋) → ((𝐴𝐽 ∧ (𝑋𝐴) ∈ 𝐽) ↔ (∀𝑥𝐴𝑦𝐽 (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴)) ∧ ∀𝑥 ∈ (𝑋𝐴)∃𝑦𝐽 (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴)))))
37 ralunb 3786 . . . 4 (∀𝑥 ∈ (𝐴 ∪ (𝑋𝐴))∃𝑦𝐽 (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴)) ↔ (∀𝑥𝐴𝑦𝐽 (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴)) ∧ ∀𝑥 ∈ (𝑋𝐴)∃𝑦𝐽 (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴))))
38 simpr 477 . . . . . 6 ((𝐽 ∈ Top ∧ 𝐴𝑋) → 𝐴𝑋)
39 undif 4040 . . . . . 6 (𝐴𝑋 ↔ (𝐴 ∪ (𝑋𝐴)) = 𝑋)
4038, 39sylib 208 . . . . 5 ((𝐽 ∈ Top ∧ 𝐴𝑋) → (𝐴 ∪ (𝑋𝐴)) = 𝑋)
4140raleqdv 3139 . . . 4 ((𝐽 ∈ Top ∧ 𝐴𝑋) → (∀𝑥 ∈ (𝐴 ∪ (𝑋𝐴))∃𝑦𝐽 (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴)) ↔ ∀𝑥𝑋𝑦𝐽 (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴))))
4237, 41syl5bbr 274 . . 3 ((𝐽 ∈ Top ∧ 𝐴𝑋) → ((∀𝑥𝐴𝑦𝐽 (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴)) ∧ ∀𝑥 ∈ (𝑋𝐴)∃𝑦𝐽 (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴))) ↔ ∀𝑥𝑋𝑦𝐽 (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴))))
434, 36, 423bitrd 294 . 2 ((𝐽 ∈ Top ∧ 𝐴𝑋) → ((𝐴𝐽𝐴 ∈ (Clsd‘𝐽)) ↔ ∀𝑥𝑋𝑦𝐽 (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴))))
441, 43syl5bb 272 1 ((𝐽 ∈ Top ∧ 𝐴𝑋) → (𝐴 ∈ (𝐽 ∩ (Clsd‘𝐽)) ↔ ∀𝑥𝑋𝑦𝐽 (𝑥𝑦 ∧ ∀𝑧𝑦 (𝑥𝐴𝑧𝐴))))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 196  wa 384   = wceq 1481  wcel 1988  wral 2909  wrex 2910  cdif 3564  cun 3565  cin 3566  wss 3567   cuni 4427  cfv 5876  Topctop 20679  Clsdccld 20801
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1720  ax-4 1735  ax-5 1837  ax-6 1886  ax-7 1933  ax-8 1990  ax-9 1997  ax-10 2017  ax-11 2032  ax-12 2045  ax-13 2244  ax-ext 2600  ax-sep 4772  ax-nul 4780  ax-pow 4834  ax-pr 4897  ax-un 6934
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1038  df-tru 1484  df-ex 1703  df-nf 1708  df-sb 1879  df-eu 2472  df-mo 2473  df-clab 2607  df-cleq 2613  df-clel 2616  df-nfc 2751  df-ne 2792  df-ral 2914  df-rex 2915  df-rab 2918  df-v 3197  df-sbc 3430  df-dif 3570  df-un 3572  df-in 3574  df-ss 3581  df-nul 3908  df-if 4078  df-pw 4151  df-sn 4169  df-pr 4171  df-op 4175  df-uni 4428  df-br 4645  df-opab 4704  df-mpt 4721  df-id 5014  df-xp 5110  df-rel 5111  df-cnv 5112  df-co 5113  df-dm 5114  df-iota 5839  df-fun 5878  df-fv 5884  df-topgen 16085  df-top 20680  df-cld 20804
This theorem is referenced by:  isclo2  20873  cvmliftmolem2  31238  cvmlift2lem12  31270
  Copyright terms: Public domain W3C validator