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

Theorem ordtuni 21883
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 7614 . . . . . 6 (𝑅𝑉 → dom 𝑅 ∈ V)
31, 2eqeltrid 2857 . . . . 5 (𝑅𝑉𝑋 ∈ V)
4 unisng 4820 . . . . 5 (𝑋 ∈ V → {𝑋} = 𝑋)
53, 4syl 17 . . . 4 (𝑅𝑉 {𝑋} = 𝑋)
65uneq1d 4068 . . 3 (𝑅𝑉 → ( {𝑋} ∪ (𝐴𝐵)) = (𝑋 (𝐴𝐵)))
7 ordtval.2 . . . . . . 7 𝐴 = ran (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥})
8 ssrab2 3985 . . . . . . . . . 10 {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥} ⊆ 𝑋
93adantr 485 . . . . . . . . . . 11 ((𝑅𝑉𝑥𝑋) → 𝑋 ∈ V)
10 elpw2g 5215 . . . . . . . . . . 11 (𝑋 ∈ V → ({𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥} ∈ 𝒫 𝑋 ↔ {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥} ⊆ 𝑋))
119, 10syl 17 . . . . . . . . . 10 ((𝑅𝑉𝑥𝑋) → ({𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥} ∈ 𝒫 𝑋 ↔ {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥} ⊆ 𝑋))
128, 11mpbiri 261 . . . . . . . . 9 ((𝑅𝑉𝑥𝑋) → {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥} ∈ 𝒫 𝑋)
1312fmpttd 6871 . . . . . . . 8 (𝑅𝑉 → (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥}):𝑋⟶𝒫 𝑋)
1413frnd 6506 . . . . . . 7 (𝑅𝑉 → ran (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑦𝑅𝑥}) ⊆ 𝒫 𝑋)
157, 14eqsstrid 3941 . . . . . 6 (𝑅𝑉𝐴 ⊆ 𝒫 𝑋)
16 ordtval.3 . . . . . . 7 𝐵 = ran (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦})
17 ssrab2 3985 . . . . . . . . . 10 {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦} ⊆ 𝑋
18 elpw2g 5215 . . . . . . . . . . 11 (𝑋 ∈ V → ({𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦} ∈ 𝒫 𝑋 ↔ {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦} ⊆ 𝑋))
199, 18syl 17 . . . . . . . . . 10 ((𝑅𝑉𝑥𝑋) → ({𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦} ∈ 𝒫 𝑋 ↔ {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦} ⊆ 𝑋))
2017, 19mpbiri 261 . . . . . . . . 9 ((𝑅𝑉𝑥𝑋) → {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦} ∈ 𝒫 𝑋)
2120fmpttd 6871 . . . . . . . 8 (𝑅𝑉 → (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦}):𝑋⟶𝒫 𝑋)
2221frnd 6506 . . . . . . 7 (𝑅𝑉 → ran (𝑥𝑋 ↦ {𝑦𝑋 ∣ ¬ 𝑥𝑅𝑦}) ⊆ 𝒫 𝑋)
2316, 22eqsstrid 3941 . . . . . 6 (𝑅𝑉𝐵 ⊆ 𝒫 𝑋)
2415, 23unssd 4092 . . . . 5 (𝑅𝑉 → (𝐴𝐵) ⊆ 𝒫 𝑋)
25 sspwuni 4988 . . . . 5 ((𝐴𝐵) ⊆ 𝒫 𝑋 (𝐴𝐵) ⊆ 𝑋)
2624, 25sylib 221 . . . 4 (𝑅𝑉 (𝐴𝐵) ⊆ 𝑋)
27 ssequn2 4089 . . . 4 ( (𝐴𝐵) ⊆ 𝑋 ↔ (𝑋 (𝐴𝐵)) = 𝑋)
2826, 27sylib 221 . . 3 (𝑅𝑉 → (𝑋 (𝐴𝐵)) = 𝑋)
296, 28eqtr2d 2795 . 2 (𝑅𝑉𝑋 = ( {𝑋} ∪ (𝐴𝐵)))
30 uniun 4824 . 2 ({𝑋} ∪ (𝐴𝐵)) = ( {𝑋} ∪ (𝐴𝐵))
3129, 30eqtr4di 2812 1 (𝑅𝑉𝑋 = ({𝑋} ∪ (𝐴𝐵)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 209  wa 400   = wceq 1539  wcel 2112  {crab 3075  Vcvv 3410  cun 3857  wss 3859  𝒫 cpw 4495  {csn 4523   cuni 4799   class class class wbr 5033  cmpt 5113  dom cdm 5525  ran crn 5526
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 1912  ax-6 1971  ax-7 2016  ax-8 2114  ax-9 2122  ax-10 2143  ax-11 2159  ax-12 2176  ax-ext 2730  ax-sep 5170  ax-nul 5177  ax-pr 5299  ax-un 7460
This theorem depends on definitions:  df-bi 210  df-an 401  df-or 846  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2071  df-mo 2558  df-eu 2589  df-clab 2737  df-cleq 2751  df-clel 2831  df-nfc 2902  df-ral 3076  df-rex 3077  df-rab 3080  df-v 3412  df-sbc 3698  df-dif 3862  df-un 3864  df-in 3866  df-ss 3876  df-nul 4227  df-if 4422  df-pw 4497  df-sn 4524  df-pr 4526  df-op 4530  df-uni 4800  df-br 5034  df-opab 5096  df-mpt 5114  df-id 5431  df-xp 5531  df-rel 5532  df-cnv 5533  df-co 5534  df-dm 5535  df-rn 5536  df-res 5537  df-ima 5538  df-iota 6295  df-fun 6338  df-fn 6339  df-f 6340  df-fv 6344
This theorem is referenced by:  ordtbas2  21884  ordtbas  21885  ordttopon  21886  ordtopn1  21887  ordtopn2  21888  ordtrest2  21897  ordthmeolem  22494  ordtprsuni  31383
  Copyright terms: Public domain W3C validator