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

Theorem ordtuni 22249
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
ordtuni (𝑅𝑉𝑋 = ({𝑋} ∪ (𝐴𝐵)))
Distinct variable groups:   𝑥,𝑦,𝑅   𝑥,𝑋,𝑦   𝑥,𝑉
Allowed substitution hints:   𝐴(𝑥,𝑦)   𝐵(𝑥,𝑦)   𝑉(𝑦)

Proof of Theorem ordtuni
StepHypRef Expression
1 ordtval.1 . . . . . 6 𝑋 = dom 𝑅
2 dmexg 7724 . . . . . 6 (𝑅𝑉 → dom 𝑅 ∈ V)
31, 2eqeltrid 2843 . . . . 5 (𝑅𝑉𝑋 ∈ V)
4 unisng 4857 . . . . 5 (𝑋 ∈ V → {𝑋} = 𝑋)
53, 4syl 17 . . . 4 (𝑅𝑉 {𝑋} = 𝑋)
65uneq1d 4092 . . 3 (𝑅𝑉 → ( {𝑋} ∪ (𝐴𝐵)) = (𝑋 (𝐴𝐵)))
7 ordtval.2 . . . . . . 7 𝐴 = ran (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥})
8 ssrab2 4009 . . . . . . . . . 10 {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥} ⊆ 𝑋
93adantr 480 . . . . . . . . . . 11 ((𝑅𝑉𝑥𝑋) → 𝑋 ∈ V)
10 elpw2g 5263 . . . . . . . . . . 11 (𝑋 ∈ V → ({𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥} ∈ 𝒫 𝑋 ↔ {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥} ⊆ 𝑋))
119, 10syl 17 . . . . . . . . . 10 ((𝑅𝑉𝑥𝑋) → ({𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥} ∈ 𝒫 𝑋 ↔ {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥} ⊆ 𝑋))
128, 11mpbiri 257 . . . . . . . . 9 ((𝑅𝑉𝑥𝑋) → {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥} ∈ 𝒫 𝑋)
1312fmpttd 6971 . . . . . . . 8 (𝑅𝑉 → (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥}):𝑋⟶𝒫 𝑋)
1413frnd 6592 . . . . . . 7 (𝑅𝑉 → ran (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥}) ⊆ 𝒫 𝑋)
157, 14eqsstrid 3965 . . . . . 6 (𝑅𝑉𝐴 ⊆ 𝒫 𝑋)
16 ordtval.3 . . . . . . 7 𝐵 = ran (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦})
17 ssrab2 4009 . . . . . . . . . 10 {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦} ⊆ 𝑋
18 elpw2g 5263 . . . . . . . . . . 11 (𝑋 ∈ V → ({𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦} ∈ 𝒫 𝑋 ↔ {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦} ⊆ 𝑋))
199, 18syl 17 . . . . . . . . . 10 ((𝑅𝑉𝑥𝑋) → ({𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦} ∈ 𝒫 𝑋 ↔ {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦} ⊆ 𝑋))
2017, 19mpbiri 257 . . . . . . . . 9 ((𝑅𝑉𝑥𝑋) → {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦} ∈ 𝒫 𝑋)
2120fmpttd 6971 . . . . . . . 8 (𝑅𝑉 → (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦}):𝑋⟶𝒫 𝑋)
2221frnd 6592 . . . . . . 7 (𝑅𝑉 → ran (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦}) ⊆ 𝒫 𝑋)
2316, 22eqsstrid 3965 . . . . . 6 (𝑅𝑉𝐵 ⊆ 𝒫 𝑋)
2415, 23unssd 4116 . . . . 5 (𝑅𝑉 → (𝐴𝐵) ⊆ 𝒫 𝑋)
25 sspwuni 5025 . . . . 5 ((𝐴𝐵) ⊆ 𝒫 𝑋 (𝐴𝐵) ⊆ 𝑋)
2624, 25sylib 217 . . . 4 (𝑅𝑉 (𝐴𝐵) ⊆ 𝑋)
27 ssequn2 4113 . . . 4 ( (𝐴𝐵) ⊆ 𝑋 ↔ (𝑋 (𝐴𝐵)) = 𝑋)
2826, 27sylib 217 . . 3 (𝑅𝑉 → (𝑋 (𝐴𝐵)) = 𝑋)
296, 28eqtr2d 2779 . 2 (𝑅𝑉𝑋 = ( {𝑋} ∪ (𝐴𝐵)))
30 uniun 4861 . 2 ({𝑋} ∪ (𝐴𝐵)) = ( {𝑋} ∪ (𝐴𝐵))
3129, 30eqtr4di 2797 1 (𝑅𝑉𝑋 = ({𝑋} ∪ (𝐴𝐵)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 395   = wceq 1539  wcel 2108  {crab 3067  Vcvv 3422  cun 3881  wss 3883  𝒫 cpw 4530  {csn 4558   cuni 4836   class class class wbr 5070  cmpt 5153  dom cdm 5580  ran crn 5581
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-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-ima 5593  df-fun 6420  df-fn 6421  df-f 6422
This theorem is referenced by:  ordtbas2  22250  ordtbas  22251  ordttopon  22252  ordtopn1  22253  ordtopn2  22254  ordtrest2  22263  ordthmeolem  22860  ordtprsuni  31771
  Copyright terms: Public domain W3C validator