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

Theorem ordtval 22350
Description: Value of the order topology. (Contributed by Mario Carneiro, 3-Sep-2015.)
Hypotheses
Ref Expression
ordtval.1 𝑋 = dom 𝑅
ordtval.2 𝐴 = ran (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥})
ordtval.3 𝐵 = ran (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦})
Assertion
Ref Expression
ordtval (𝑅𝑉 → (ordTop‘𝑅) = (topGen‘(fi‘({𝑋} ∪ (𝐴𝐵)))))
Distinct variable groups:   𝑥,𝑦,𝑅   𝑥,𝑋,𝑦   𝑥,𝑉
Allowed substitution hints:   𝐴(𝑥,𝑦)   𝐵(𝑥,𝑦)   𝑉(𝑦)

Proof of Theorem ordtval
Dummy variable 𝑟 is distinct from all other variables.
StepHypRef Expression
1 elex 3447 . 2 (𝑅𝑉𝑅 ∈ V)
2 dmeq 5805 . . . . . . . 8 (𝑟 = 𝑅 → dom 𝑟 = dom 𝑅)
3 ordtval.1 . . . . . . . 8 𝑋 = dom 𝑅
42, 3eqtr4di 2796 . . . . . . 7 (𝑟 = 𝑅 → dom 𝑟 = 𝑋)
54sneqd 4573 . . . . . 6 (𝑟 = 𝑅 → {dom 𝑟} = {𝑋})
6 rnun 6042 . . . . . . 7 ran ((𝑥 ∈ dom 𝑟 ↦ {𝑦 ∈ dom 𝑟 ∣ ¬ 𝑦𝑟𝑥}) ∪ (𝑥 ∈ dom 𝑟 ↦ {𝑦 ∈ dom 𝑟 ∣ ¬ 𝑥𝑟𝑦})) = (ran (𝑥 ∈ dom 𝑟 ↦ {𝑦 ∈ dom 𝑟 ∣ ¬ 𝑦𝑟𝑥}) ∪ ran (𝑥 ∈ dom 𝑟 ↦ {𝑦 ∈ dom 𝑟 ∣ ¬ 𝑥𝑟𝑦}))
7 breq 5075 . . . . . . . . . . . . 13 (𝑟 = 𝑅 → (𝑦𝑟𝑥𝑦𝑅𝑥))
87notbid 318 . . . . . . . . . . . 12 (𝑟 = 𝑅 → (¬ 𝑦𝑟𝑥 ↔ ¬ 𝑦𝑅𝑥))
94, 8rabeqbidv 3417 . . . . . . . . . . 11 (𝑟 = 𝑅 → {𝑦 ∈ dom 𝑟 ∣ ¬ 𝑦𝑟𝑥} = {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥})
104, 9mpteq12dv 5164 . . . . . . . . . 10 (𝑟 = 𝑅 → (𝑥 ∈ dom 𝑟 ↦ {𝑦 ∈ dom 𝑟 ∣ ¬ 𝑦𝑟𝑥}) = (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥}))
1110rneqd 5840 . . . . . . . . 9 (𝑟 = 𝑅 → ran (𝑥 ∈ dom 𝑟 ↦ {𝑦 ∈ dom 𝑟 ∣ ¬ 𝑦𝑟𝑥}) = ran (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥}))
12 ordtval.2 . . . . . . . . 9 𝐴 = ran (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥})
1311, 12eqtr4di 2796 . . . . . . . 8 (𝑟 = 𝑅 → ran (𝑥 ∈ dom 𝑟 ↦ {𝑦 ∈ dom 𝑟 ∣ ¬ 𝑦𝑟𝑥}) = 𝐴)
14 breq 5075 . . . . . . . . . . . . 13 (𝑟 = 𝑅 → (𝑥𝑟𝑦𝑥𝑅𝑦))
1514notbid 318 . . . . . . . . . . . 12 (𝑟 = 𝑅 → (¬ 𝑥𝑟𝑦 ↔ ¬ 𝑥𝑅𝑦))
164, 15rabeqbidv 3417 . . . . . . . . . . 11 (𝑟 = 𝑅 → {𝑦 ∈ dom 𝑟 ∣ ¬ 𝑥𝑟𝑦} = {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦})
174, 16mpteq12dv 5164 . . . . . . . . . 10 (𝑟 = 𝑅 → (𝑥 ∈ dom 𝑟 ↦ {𝑦 ∈ dom 𝑟 ∣ ¬ 𝑥𝑟𝑦}) = (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦}))
1817rneqd 5840 . . . . . . . . 9 (𝑟 = 𝑅 → ran (𝑥 ∈ dom 𝑟 ↦ {𝑦 ∈ dom 𝑟 ∣ ¬ 𝑥𝑟𝑦}) = ran (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦}))
19 ordtval.3 . . . . . . . . 9 𝐵 = ran (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦})
2018, 19eqtr4di 2796 . . . . . . . 8 (𝑟 = 𝑅 → ran (𝑥 ∈ dom 𝑟 ↦ {𝑦 ∈ dom 𝑟 ∣ ¬ 𝑥𝑟𝑦}) = 𝐵)
2113, 20uneq12d 4097 . . . . . . 7 (𝑟 = 𝑅 → (ran (𝑥 ∈ dom 𝑟 ↦ {𝑦 ∈ dom 𝑟 ∣ ¬ 𝑦𝑟𝑥}) ∪ ran (𝑥 ∈ dom 𝑟 ↦ {𝑦 ∈ dom 𝑟 ∣ ¬ 𝑥𝑟𝑦})) = (𝐴𝐵))
226, 21eqtrid 2790 . . . . . 6 (𝑟 = 𝑅 → ran ((𝑥 ∈ dom 𝑟 ↦ {𝑦 ∈ dom 𝑟 ∣ ¬ 𝑦𝑟𝑥}) ∪ (𝑥 ∈ dom 𝑟 ↦ {𝑦 ∈ dom 𝑟 ∣ ¬ 𝑥𝑟𝑦})) = (𝐴𝐵))
235, 22uneq12d 4097 . . . . 5 (𝑟 = 𝑅 → ({dom 𝑟} ∪ ran ((𝑥 ∈ dom 𝑟 ↦ {𝑦 ∈ dom 𝑟 ∣ ¬ 𝑦𝑟𝑥}) ∪ (𝑥 ∈ dom 𝑟 ↦ {𝑦 ∈ dom 𝑟 ∣ ¬ 𝑥𝑟𝑦}))) = ({𝑋} ∪ (𝐴𝐵)))
2423fveq2d 6770 . . . 4 (𝑟 = 𝑅 → (fi‘({dom 𝑟} ∪ ran ((𝑥 ∈ dom 𝑟 ↦ {𝑦 ∈ dom 𝑟 ∣ ¬ 𝑦𝑟𝑥}) ∪ (𝑥 ∈ dom 𝑟 ↦ {𝑦 ∈ dom 𝑟 ∣ ¬ 𝑥𝑟𝑦})))) = (fi‘({𝑋} ∪ (𝐴𝐵))))
2524fveq2d 6770 . . 3 (𝑟 = 𝑅 → (topGen‘(fi‘({dom 𝑟} ∪ ran ((𝑥 ∈ dom 𝑟 ↦ {𝑦 ∈ dom 𝑟 ∣ ¬ 𝑦𝑟𝑥}) ∪ (𝑥 ∈ dom 𝑟 ↦ {𝑦 ∈ dom 𝑟 ∣ ¬ 𝑥𝑟𝑦}))))) = (topGen‘(fi‘({𝑋} ∪ (𝐴𝐵)))))
26 df-ordt 17222 . . 3 ordTop = (𝑟 ∈ V ↦ (topGen‘(fi‘({dom 𝑟} ∪ ran ((𝑥 ∈ dom 𝑟 ↦ {𝑦 ∈ dom 𝑟 ∣ ¬ 𝑦𝑟𝑥}) ∪ (𝑥 ∈ dom 𝑟 ↦ {𝑦 ∈ dom 𝑟 ∣ ¬ 𝑥𝑟𝑦}))))))
27 fvex 6779 . . 3 (topGen‘(fi‘({𝑋} ∪ (𝐴𝐵)))) ∈ V
2825, 26, 27fvmpt 6867 . 2 (𝑅 ∈ V → (ordTop‘𝑅) = (topGen‘(fi‘({𝑋} ∪ (𝐴𝐵)))))
291, 28syl 17 1 (𝑅𝑉 → (ordTop‘𝑅) = (topGen‘(fi‘({𝑋} ∪ (𝐴𝐵)))))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4   = wceq 1539  wcel 2106  {crab 3068  Vcvv 3429  cun 3884  {csn 4561   class class class wbr 5073  cmpt 5156  dom cdm 5584  ran crn 5585  cfv 6426  ficfi 9156  topGenctg 17158  ordTopcordt 17220
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 5221  ax-nul 5228  ax-pr 5350
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-ral 3069  df-rex 3070  df-rab 3073  df-v 3431  df-dif 3889  df-un 3891  df-in 3893  df-ss 3903  df-nul 4257  df-if 4460  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-br 5074  df-opab 5136  df-mpt 5157  df-id 5484  df-xp 5590  df-rel 5591  df-cnv 5592  df-co 5593  df-dm 5594  df-rn 5595  df-iota 6384  df-fun 6428  df-fv 6434  df-ordt 17222
This theorem is referenced by:  ordttopon  22354  ordtopn1  22355  ordtopn2  22356  ordtcnv  22362  ordtrest  22363  ordtrest2  22365  leordtval2  22373  ordthmeolem  22962  ordtprsval  31876  ordtrestNEW  31879
  Copyright terms: Public domain W3C validator