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

Theorem ordtcnv 22260
Description: The order dual generates the same topology as the original order. (Contributed by Mario Carneiro, 3-Sep-2015.)
Assertion
Ref Expression
ordtcnv (𝑅 ∈ PosetRel → (ordTop‘𝑅) = (ordTop‘𝑅))

Proof of Theorem ordtcnv
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 eqid 2738 . . . . . . . 8 dom 𝑅 = dom 𝑅
21psrn 18208 . . . . . . 7 (𝑅 ∈ PosetRel → dom 𝑅 = ran 𝑅)
32eqcomd 2744 . . . . . 6 (𝑅 ∈ PosetRel → ran 𝑅 = dom 𝑅)
43sneqd 4570 . . . . 5 (𝑅 ∈ PosetRel → {ran 𝑅} = {dom 𝑅})
5 vex 3426 . . . . . . . . . . . . 13 𝑦 ∈ V
6 vex 3426 . . . . . . . . . . . . 13 𝑥 ∈ V
75, 6brcnv 5780 . . . . . . . . . . . 12 (𝑦𝑅𝑥𝑥𝑅𝑦)
87a1i 11 . . . . . . . . . . 11 (𝑅 ∈ PosetRel → (𝑦𝑅𝑥𝑥𝑅𝑦))
98notbid 317 . . . . . . . . . 10 (𝑅 ∈ PosetRel → (¬ 𝑦𝑅𝑥 ↔ ¬ 𝑥𝑅𝑦))
103, 9rabeqbidv 3410 . . . . . . . . 9 (𝑅 ∈ PosetRel → {𝑦 ∈ ran 𝑅 ∣ ¬ 𝑦𝑅𝑥} = {𝑦 ∈ dom 𝑅 ∣ ¬ 𝑥𝑅𝑦})
113, 10mpteq12dv 5161 . . . . . . . 8 (𝑅 ∈ PosetRel → (𝑥 ∈ ran 𝑅 ↦ {𝑦 ∈ ran 𝑅 ∣ ¬ 𝑦𝑅𝑥}) = (𝑥 ∈ dom 𝑅 ↦ {𝑦 ∈ dom 𝑅 ∣ ¬ 𝑥𝑅𝑦}))
1211rneqd 5836 . . . . . . 7 (𝑅 ∈ PosetRel → ran (𝑥 ∈ ran 𝑅 ↦ {𝑦 ∈ ran 𝑅 ∣ ¬ 𝑦𝑅𝑥}) = ran (𝑥 ∈ dom 𝑅 ↦ {𝑦 ∈ dom 𝑅 ∣ ¬ 𝑥𝑅𝑦}))
136, 5brcnv 5780 . . . . . . . . . . . 12 (𝑥𝑅𝑦𝑦𝑅𝑥)
1413a1i 11 . . . . . . . . . . 11 (𝑅 ∈ PosetRel → (𝑥𝑅𝑦𝑦𝑅𝑥))
1514notbid 317 . . . . . . . . . 10 (𝑅 ∈ PosetRel → (¬ 𝑥𝑅𝑦 ↔ ¬ 𝑦𝑅𝑥))
163, 15rabeqbidv 3410 . . . . . . . . 9 (𝑅 ∈ PosetRel → {𝑦 ∈ ran 𝑅 ∣ ¬ 𝑥𝑅𝑦} = {𝑦 ∈ dom 𝑅 ∣ ¬ 𝑦𝑅𝑥})
173, 16mpteq12dv 5161 . . . . . . . 8 (𝑅 ∈ PosetRel → (𝑥 ∈ ran 𝑅 ↦ {𝑦 ∈ ran 𝑅 ∣ ¬ 𝑥𝑅𝑦}) = (𝑥 ∈ dom 𝑅 ↦ {𝑦 ∈ dom 𝑅 ∣ ¬ 𝑦𝑅𝑥}))
1817rneqd 5836 . . . . . . 7 (𝑅 ∈ PosetRel → ran (𝑥 ∈ ran 𝑅 ↦ {𝑦 ∈ ran 𝑅 ∣ ¬ 𝑥𝑅𝑦}) = ran (𝑥 ∈ dom 𝑅 ↦ {𝑦 ∈ dom 𝑅 ∣ ¬ 𝑦𝑅𝑥}))
1912, 18uneq12d 4094 . . . . . 6 (𝑅 ∈ PosetRel → (ran (𝑥 ∈ ran 𝑅 ↦ {𝑦 ∈ ran 𝑅 ∣ ¬ 𝑦𝑅𝑥}) ∪ ran (𝑥 ∈ ran 𝑅 ↦ {𝑦 ∈ ran 𝑅 ∣ ¬ 𝑥𝑅𝑦})) = (ran (𝑥 ∈ dom 𝑅 ↦ {𝑦 ∈ dom 𝑅 ∣ ¬ 𝑥𝑅𝑦}) ∪ ran (𝑥 ∈ dom 𝑅 ↦ {𝑦 ∈ dom 𝑅 ∣ ¬ 𝑦𝑅𝑥})))
20 uncom 4083 . . . . . 6 (ran (𝑥 ∈ dom 𝑅 ↦ {𝑦 ∈ dom 𝑅 ∣ ¬ 𝑥𝑅𝑦}) ∪ ran (𝑥 ∈ dom 𝑅 ↦ {𝑦 ∈ dom 𝑅 ∣ ¬ 𝑦𝑅𝑥})) = (ran (𝑥 ∈ dom 𝑅 ↦ {𝑦 ∈ dom 𝑅 ∣ ¬ 𝑦𝑅𝑥}) ∪ ran (𝑥 ∈ dom 𝑅 ↦ {𝑦 ∈ dom 𝑅 ∣ ¬ 𝑥𝑅𝑦}))
2119, 20eqtrdi 2795 . . . . 5 (𝑅 ∈ PosetRel → (ran (𝑥 ∈ ran 𝑅 ↦ {𝑦 ∈ ran 𝑅 ∣ ¬ 𝑦𝑅𝑥}) ∪ ran (𝑥 ∈ ran 𝑅 ↦ {𝑦 ∈ ran 𝑅 ∣ ¬ 𝑥𝑅𝑦})) = (ran (𝑥 ∈ dom 𝑅 ↦ {𝑦 ∈ dom 𝑅 ∣ ¬ 𝑦𝑅𝑥}) ∪ ran (𝑥 ∈ dom 𝑅 ↦ {𝑦 ∈ dom 𝑅 ∣ ¬ 𝑥𝑅𝑦})))
224, 21uneq12d 4094 . . . 4 (𝑅 ∈ PosetRel → ({ran 𝑅} ∪ (ran (𝑥 ∈ ran 𝑅 ↦ {𝑦 ∈ ran 𝑅 ∣ ¬ 𝑦𝑅𝑥}) ∪ ran (𝑥 ∈ ran 𝑅 ↦ {𝑦 ∈ ran 𝑅 ∣ ¬ 𝑥𝑅𝑦}))) = ({dom 𝑅} ∪ (ran (𝑥 ∈ dom 𝑅 ↦ {𝑦 ∈ dom 𝑅 ∣ ¬ 𝑦𝑅𝑥}) ∪ ran (𝑥 ∈ dom 𝑅 ↦ {𝑦 ∈ dom 𝑅 ∣ ¬ 𝑥𝑅𝑦}))))
2322fveq2d 6760 . . 3 (𝑅 ∈ PosetRel → (fi‘({ran 𝑅} ∪ (ran (𝑥 ∈ ran 𝑅 ↦ {𝑦 ∈ ran 𝑅 ∣ ¬ 𝑦𝑅𝑥}) ∪ ran (𝑥 ∈ ran 𝑅 ↦ {𝑦 ∈ ran 𝑅 ∣ ¬ 𝑥𝑅𝑦})))) = (fi‘({dom 𝑅} ∪ (ran (𝑥 ∈ dom 𝑅 ↦ {𝑦 ∈ dom 𝑅 ∣ ¬ 𝑦𝑅𝑥}) ∪ ran (𝑥 ∈ dom 𝑅 ↦ {𝑦 ∈ dom 𝑅 ∣ ¬ 𝑥𝑅𝑦})))))
2423fveq2d 6760 . 2 (𝑅 ∈ PosetRel → (topGen‘(fi‘({ran 𝑅} ∪ (ran (𝑥 ∈ ran 𝑅 ↦ {𝑦 ∈ ran 𝑅 ∣ ¬ 𝑦𝑅𝑥}) ∪ ran (𝑥 ∈ ran 𝑅 ↦ {𝑦 ∈ ran 𝑅 ∣ ¬ 𝑥𝑅𝑦}))))) = (topGen‘(fi‘({dom 𝑅} ∪ (ran (𝑥 ∈ dom 𝑅 ↦ {𝑦 ∈ dom 𝑅 ∣ ¬ 𝑦𝑅𝑥}) ∪ ran (𝑥 ∈ dom 𝑅 ↦ {𝑦 ∈ dom 𝑅 ∣ ¬ 𝑥𝑅𝑦}))))))
25 cnvps 18211 . . 3 (𝑅 ∈ PosetRel → 𝑅 ∈ PosetRel)
26 df-rn 5591 . . . 4 ran 𝑅 = dom 𝑅
27 eqid 2738 . . . 4 ran (𝑥 ∈ ran 𝑅 ↦ {𝑦 ∈ ran 𝑅 ∣ ¬ 𝑦𝑅𝑥}) = ran (𝑥 ∈ ran 𝑅 ↦ {𝑦 ∈ ran 𝑅 ∣ ¬ 𝑦𝑅𝑥})
28 eqid 2738 . . . 4 ran (𝑥 ∈ ran 𝑅 ↦ {𝑦 ∈ ran 𝑅 ∣ ¬ 𝑥𝑅𝑦}) = ran (𝑥 ∈ ran 𝑅 ↦ {𝑦 ∈ ran 𝑅 ∣ ¬ 𝑥𝑅𝑦})
2926, 27, 28ordtval 22248 . . 3 (𝑅 ∈ PosetRel → (ordTop‘𝑅) = (topGen‘(fi‘({ran 𝑅} ∪ (ran (𝑥 ∈ ran 𝑅 ↦ {𝑦 ∈ ran 𝑅 ∣ ¬ 𝑦𝑅𝑥}) ∪ ran (𝑥 ∈ ran 𝑅 ↦ {𝑦 ∈ ran 𝑅 ∣ ¬ 𝑥𝑅𝑦}))))))
3025, 29syl 17 . 2 (𝑅 ∈ PosetRel → (ordTop‘𝑅) = (topGen‘(fi‘({ran 𝑅} ∪ (ran (𝑥 ∈ ran 𝑅 ↦ {𝑦 ∈ ran 𝑅 ∣ ¬ 𝑦𝑅𝑥}) ∪ ran (𝑥 ∈ ran 𝑅 ↦ {𝑦 ∈ ran 𝑅 ∣ ¬ 𝑥𝑅𝑦}))))))
31 eqid 2738 . . 3 ran (𝑥 ∈ dom 𝑅 ↦ {𝑦 ∈ dom 𝑅 ∣ ¬ 𝑦𝑅𝑥}) = ran (𝑥 ∈ dom 𝑅 ↦ {𝑦 ∈ dom 𝑅 ∣ ¬ 𝑦𝑅𝑥})
32 eqid 2738 . . 3 ran (𝑥 ∈ dom 𝑅 ↦ {𝑦 ∈ dom 𝑅 ∣ ¬ 𝑥𝑅𝑦}) = ran (𝑥 ∈ dom 𝑅 ↦ {𝑦 ∈ dom 𝑅 ∣ ¬ 𝑥𝑅𝑦})
331, 31, 32ordtval 22248 . 2 (𝑅 ∈ PosetRel → (ordTop‘𝑅) = (topGen‘(fi‘({dom 𝑅} ∪ (ran (𝑥 ∈ dom 𝑅 ↦ {𝑦 ∈ dom 𝑅 ∣ ¬ 𝑦𝑅𝑥}) ∪ ran (𝑥 ∈ dom 𝑅 ↦ {𝑦 ∈ dom 𝑅 ∣ ¬ 𝑥𝑅𝑦}))))))
3424, 30, 333eqtr4d 2788 1 (𝑅 ∈ PosetRel → (ordTop‘𝑅) = (ordTop‘𝑅))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205   = wceq 1539  wcel 2108  {crab 3067  cun 3881  {csn 4558   class class class wbr 5070  cmpt 5153  ccnv 5579  dom cdm 5580  ran crn 5581  cfv 6418  ficfi 9099  topGenctg 17065  ordTopcordt 17127  PosetRelcps 18197
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-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-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-iota 6376  df-fun 6420  df-fv 6426  df-ordt 17129  df-ps 18199
This theorem is referenced by:  ordtrest2  22263  cnvordtrestixx  31765
  Copyright terms: Public domain W3C validator