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

Theorem ordtopn2 22254
Description: A downward ray (-∞, 𝑃) is open. (Contributed by Mario Carneiro, 3-Sep-2015.)
Hypothesis
Ref Expression
ordttopon.3 𝑋 = dom 𝑅
Assertion
Ref Expression
ordtopn2 ((𝑅𝑉𝑃𝑋) → {𝑥𝑋 ∣ ¬ 𝑃𝑅𝑥} ∈ (ordTop‘𝑅))
Distinct variable groups:   𝑥,𝑃   𝑥,𝑅   𝑥,𝑉   𝑥,𝑋

Proof of Theorem ordtopn2
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 ordttopon.3 . . . . . . . . 9 𝑋 = dom 𝑅
2 eqid 2738 . . . . . . . . 9 ran (𝑦𝑋 ↦ {𝑥𝑋 ∣ ¬ 𝑥𝑅𝑦}) = ran (𝑦𝑋 ↦ {𝑥𝑋 ∣ ¬ 𝑥𝑅𝑦})
3 eqid 2738 . . . . . . . . 9 ran (𝑦𝑋 ↦ {𝑥𝑋 ∣ ¬ 𝑦𝑅𝑥}) = ran (𝑦𝑋 ↦ {𝑥𝑋 ∣ ¬ 𝑦𝑅𝑥})
41, 2, 3ordtuni 22249 . . . . . . . 8 (𝑅𝑉𝑋 = ({𝑋} ∪ (ran (𝑦𝑋 ↦ {𝑥𝑋 ∣ ¬ 𝑥𝑅𝑦}) ∪ ran (𝑦𝑋 ↦ {𝑥𝑋 ∣ ¬ 𝑦𝑅𝑥}))))
54adantr 480 . . . . . . 7 ((𝑅𝑉𝑃𝑋) → 𝑋 = ({𝑋} ∪ (ran (𝑦𝑋 ↦ {𝑥𝑋 ∣ ¬ 𝑥𝑅𝑦}) ∪ ran (𝑦𝑋 ↦ {𝑥𝑋 ∣ ¬ 𝑦𝑅𝑥}))))
6 dmexg 7724 . . . . . . . . 9 (𝑅𝑉 → dom 𝑅 ∈ V)
71, 6eqeltrid 2843 . . . . . . . 8 (𝑅𝑉𝑋 ∈ V)
87adantr 480 . . . . . . 7 ((𝑅𝑉𝑃𝑋) → 𝑋 ∈ V)
95, 8eqeltrrd 2840 . . . . . 6 ((𝑅𝑉𝑃𝑋) → ({𝑋} ∪ (ran (𝑦𝑋 ↦ {𝑥𝑋 ∣ ¬ 𝑥𝑅𝑦}) ∪ ran (𝑦𝑋 ↦ {𝑥𝑋 ∣ ¬ 𝑦𝑅𝑥}))) ∈ V)
10 uniexb 7592 . . . . . 6 (({𝑋} ∪ (ran (𝑦𝑋 ↦ {𝑥𝑋 ∣ ¬ 𝑥𝑅𝑦}) ∪ ran (𝑦𝑋 ↦ {𝑥𝑋 ∣ ¬ 𝑦𝑅𝑥}))) ∈ V ↔ ({𝑋} ∪ (ran (𝑦𝑋 ↦ {𝑥𝑋 ∣ ¬ 𝑥𝑅𝑦}) ∪ ran (𝑦𝑋 ↦ {𝑥𝑋 ∣ ¬ 𝑦𝑅𝑥}))) ∈ V)
119, 10sylibr 233 . . . . 5 ((𝑅𝑉𝑃𝑋) → ({𝑋} ∪ (ran (𝑦𝑋 ↦ {𝑥𝑋 ∣ ¬ 𝑥𝑅𝑦}) ∪ ran (𝑦𝑋 ↦ {𝑥𝑋 ∣ ¬ 𝑦𝑅𝑥}))) ∈ V)
12 ssfii 9108 . . . . 5 (({𝑋} ∪ (ran (𝑦𝑋 ↦ {𝑥𝑋 ∣ ¬ 𝑥𝑅𝑦}) ∪ ran (𝑦𝑋 ↦ {𝑥𝑋 ∣ ¬ 𝑦𝑅𝑥}))) ∈ V → ({𝑋} ∪ (ran (𝑦𝑋 ↦ {𝑥𝑋 ∣ ¬ 𝑥𝑅𝑦}) ∪ ran (𝑦𝑋 ↦ {𝑥𝑋 ∣ ¬ 𝑦𝑅𝑥}))) ⊆ (fi‘({𝑋} ∪ (ran (𝑦𝑋 ↦ {𝑥𝑋 ∣ ¬ 𝑥𝑅𝑦}) ∪ ran (𝑦𝑋 ↦ {𝑥𝑋 ∣ ¬ 𝑦𝑅𝑥})))))
1311, 12syl 17 . . . 4 ((𝑅𝑉𝑃𝑋) → ({𝑋} ∪ (ran (𝑦𝑋 ↦ {𝑥𝑋 ∣ ¬ 𝑥𝑅𝑦}) ∪ ran (𝑦𝑋 ↦ {𝑥𝑋 ∣ ¬ 𝑦𝑅𝑥}))) ⊆ (fi‘({𝑋} ∪ (ran (𝑦𝑋 ↦ {𝑥𝑋 ∣ ¬ 𝑥𝑅𝑦}) ∪ ran (𝑦𝑋 ↦ {𝑥𝑋 ∣ ¬ 𝑦𝑅𝑥})))))
14 fibas 22035 . . . . 5 (fi‘({𝑋} ∪ (ran (𝑦𝑋 ↦ {𝑥𝑋 ∣ ¬ 𝑥𝑅𝑦}) ∪ ran (𝑦𝑋 ↦ {𝑥𝑋 ∣ ¬ 𝑦𝑅𝑥})))) ∈ TopBases
15 bastg 22024 . . . . 5 ((fi‘({𝑋} ∪ (ran (𝑦𝑋 ↦ {𝑥𝑋 ∣ ¬ 𝑥𝑅𝑦}) ∪ ran (𝑦𝑋 ↦ {𝑥𝑋 ∣ ¬ 𝑦𝑅𝑥})))) ∈ TopBases → (fi‘({𝑋} ∪ (ran (𝑦𝑋 ↦ {𝑥𝑋 ∣ ¬ 𝑥𝑅𝑦}) ∪ ran (𝑦𝑋 ↦ {𝑥𝑋 ∣ ¬ 𝑦𝑅𝑥})))) ⊆ (topGen‘(fi‘({𝑋} ∪ (ran (𝑦𝑋 ↦ {𝑥𝑋 ∣ ¬ 𝑥𝑅𝑦}) ∪ ran (𝑦𝑋 ↦ {𝑥𝑋 ∣ ¬ 𝑦𝑅𝑥}))))))
1614, 15ax-mp 5 . . . 4 (fi‘({𝑋} ∪ (ran (𝑦𝑋 ↦ {𝑥𝑋 ∣ ¬ 𝑥𝑅𝑦}) ∪ ran (𝑦𝑋 ↦ {𝑥𝑋 ∣ ¬ 𝑦𝑅𝑥})))) ⊆ (topGen‘(fi‘({𝑋} ∪ (ran (𝑦𝑋 ↦ {𝑥𝑋 ∣ ¬ 𝑥𝑅𝑦}) ∪ ran (𝑦𝑋 ↦ {𝑥𝑋 ∣ ¬ 𝑦𝑅𝑥})))))
1713, 16sstrdi 3929 . . 3 ((𝑅𝑉𝑃𝑋) → ({𝑋} ∪ (ran (𝑦𝑋 ↦ {𝑥𝑋 ∣ ¬ 𝑥𝑅𝑦}) ∪ ran (𝑦𝑋 ↦ {𝑥𝑋 ∣ ¬ 𝑦𝑅𝑥}))) ⊆ (topGen‘(fi‘({𝑋} ∪ (ran (𝑦𝑋 ↦ {𝑥𝑋 ∣ ¬ 𝑥𝑅𝑦}) ∪ ran (𝑦𝑋 ↦ {𝑥𝑋 ∣ ¬ 𝑦𝑅𝑥}))))))
181, 2, 3ordtval 22248 . . . 4 (𝑅𝑉 → (ordTop‘𝑅) = (topGen‘(fi‘({𝑋} ∪ (ran (𝑦𝑋 ↦ {𝑥𝑋 ∣ ¬ 𝑥𝑅𝑦}) ∪ ran (𝑦𝑋 ↦ {𝑥𝑋 ∣ ¬ 𝑦𝑅𝑥}))))))
1918adantr 480 . . 3 ((𝑅𝑉𝑃𝑋) → (ordTop‘𝑅) = (topGen‘(fi‘({𝑋} ∪ (ran (𝑦𝑋 ↦ {𝑥𝑋 ∣ ¬ 𝑥𝑅𝑦}) ∪ ran (𝑦𝑋 ↦ {𝑥𝑋 ∣ ¬ 𝑦𝑅𝑥}))))))
2017, 19sseqtrrd 3958 . 2 ((𝑅𝑉𝑃𝑋) → ({𝑋} ∪ (ran (𝑦𝑋 ↦ {𝑥𝑋 ∣ ¬ 𝑥𝑅𝑦}) ∪ ran (𝑦𝑋 ↦ {𝑥𝑋 ∣ ¬ 𝑦𝑅𝑥}))) ⊆ (ordTop‘𝑅))
21 ssun2 4103 . . 3 (ran (𝑦𝑋 ↦ {𝑥𝑋 ∣ ¬ 𝑥𝑅𝑦}) ∪ ran (𝑦𝑋 ↦ {𝑥𝑋 ∣ ¬ 𝑦𝑅𝑥})) ⊆ ({𝑋} ∪ (ran (𝑦𝑋 ↦ {𝑥𝑋 ∣ ¬ 𝑥𝑅𝑦}) ∪ ran (𝑦𝑋 ↦ {𝑥𝑋 ∣ ¬ 𝑦𝑅𝑥})))
22 ssun2 4103 . . . 4 ran (𝑦𝑋 ↦ {𝑥𝑋 ∣ ¬ 𝑦𝑅𝑥}) ⊆ (ran (𝑦𝑋 ↦ {𝑥𝑋 ∣ ¬ 𝑥𝑅𝑦}) ∪ ran (𝑦𝑋 ↦ {𝑥𝑋 ∣ ¬ 𝑦𝑅𝑥}))
23 simpr 484 . . . . . 6 ((𝑅𝑉𝑃𝑋) → 𝑃𝑋)
24 eqidd 2739 . . . . . 6 ((𝑅𝑉𝑃𝑋) → {𝑥𝑋 ∣ ¬ 𝑃𝑅𝑥} = {𝑥𝑋 ∣ ¬ 𝑃𝑅𝑥})
25 breq1 5073 . . . . . . . . 9 (𝑦 = 𝑃 → (𝑦𝑅𝑥𝑃𝑅𝑥))
2625notbid 317 . . . . . . . 8 (𝑦 = 𝑃 → (¬ 𝑦𝑅𝑥 ↔ ¬ 𝑃𝑅𝑥))
2726rabbidv 3404 . . . . . . 7 (𝑦 = 𝑃 → {𝑥𝑋 ∣ ¬ 𝑦𝑅𝑥} = {𝑥𝑋 ∣ ¬ 𝑃𝑅𝑥})
2827rspceeqv 3567 . . . . . 6 ((𝑃𝑋 ∧ {𝑥𝑋 ∣ ¬ 𝑃𝑅𝑥} = {𝑥𝑋 ∣ ¬ 𝑃𝑅𝑥}) → ∃𝑦𝑋 {𝑥𝑋 ∣ ¬ 𝑃𝑅𝑥} = {𝑥𝑋 ∣ ¬ 𝑦𝑅𝑥})
2923, 24, 28syl2anc 583 . . . . 5 ((𝑅𝑉𝑃𝑋) → ∃𝑦𝑋 {𝑥𝑋 ∣ ¬ 𝑃𝑅𝑥} = {𝑥𝑋 ∣ ¬ 𝑦𝑅𝑥})
30 rabexg 5250 . . . . . 6 (𝑋 ∈ V → {𝑥𝑋 ∣ ¬ 𝑃𝑅𝑥} ∈ V)
31 eqid 2738 . . . . . . 7 (𝑦𝑋 ↦ {𝑥𝑋 ∣ ¬ 𝑦𝑅𝑥}) = (𝑦𝑋 ↦ {𝑥𝑋 ∣ ¬ 𝑦𝑅𝑥})
3231elrnmpt 5854 . . . . . 6 ({𝑥𝑋 ∣ ¬ 𝑃𝑅𝑥} ∈ V → ({𝑥𝑋 ∣ ¬ 𝑃𝑅𝑥} ∈ ran (𝑦𝑋 ↦ {𝑥𝑋 ∣ ¬ 𝑦𝑅𝑥}) ↔ ∃𝑦𝑋 {𝑥𝑋 ∣ ¬ 𝑃𝑅𝑥} = {𝑥𝑋 ∣ ¬ 𝑦𝑅𝑥}))
338, 30, 323syl 18 . . . . 5 ((𝑅𝑉𝑃𝑋) → ({𝑥𝑋 ∣ ¬ 𝑃𝑅𝑥} ∈ ran (𝑦𝑋 ↦ {𝑥𝑋 ∣ ¬ 𝑦𝑅𝑥}) ↔ ∃𝑦𝑋 {𝑥𝑋 ∣ ¬ 𝑃𝑅𝑥} = {𝑥𝑋 ∣ ¬ 𝑦𝑅𝑥}))
3429, 33mpbird 256 . . . 4 ((𝑅𝑉𝑃𝑋) → {𝑥𝑋 ∣ ¬ 𝑃𝑅𝑥} ∈ ran (𝑦𝑋 ↦ {𝑥𝑋 ∣ ¬ 𝑦𝑅𝑥}))
3522, 34sselid 3915 . . 3 ((𝑅𝑉𝑃𝑋) → {𝑥𝑋 ∣ ¬ 𝑃𝑅𝑥} ∈ (ran (𝑦𝑋 ↦ {𝑥𝑋 ∣ ¬ 𝑥𝑅𝑦}) ∪ ran (𝑦𝑋 ↦ {𝑥𝑋 ∣ ¬ 𝑦𝑅𝑥})))
3621, 35sselid 3915 . 2 ((𝑅𝑉𝑃𝑋) → {𝑥𝑋 ∣ ¬ 𝑃𝑅𝑥} ∈ ({𝑋} ∪ (ran (𝑦𝑋 ↦ {𝑥𝑋 ∣ ¬ 𝑥𝑅𝑦}) ∪ ran (𝑦𝑋 ↦ {𝑥𝑋 ∣ ¬ 𝑦𝑅𝑥}))))
3720, 36sseldd 3918 1 ((𝑅𝑉𝑃𝑋) → {𝑥𝑋 ∣ ¬ 𝑃𝑅𝑥} ∈ (ordTop‘𝑅))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 395   = wceq 1539  wcel 2108  wrex 3064  {crab 3067  Vcvv 3422  cun 3881  wss 3883  {csn 4558   cuni 4836   class class class wbr 5070  cmpt 5153  dom cdm 5580  ran crn 5581  cfv 6418  ficfi 9099  topGenctg 17065  ordTopcordt 17127  TopBasesctb 22003
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-3or 1086  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-reu 3070  df-rab 3072  df-v 3424  df-sbc 3712  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-pss 3902  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-tp 4563  df-op 4565  df-uni 4837  df-int 4877  df-br 5071  df-opab 5133  df-mpt 5154  df-tr 5188  df-id 5480  df-eprel 5486  df-po 5494  df-so 5495  df-fr 5535  df-we 5537  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-ord 6254  df-on 6255  df-lim 6256  df-suc 6257  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426  df-om 7688  df-1o 8267  df-en 8692  df-fin 8695  df-fi 9100  df-topgen 17071  df-ordt 17129  df-bases 22004
This theorem is referenced by:  ordtopn3  22255  ordtcld2  22257  ordtrest  22261  ordthauslem  22442  ordthmeolem  22860  ordtrestNEW  31773
  Copyright terms: Public domain W3C validator