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

Theorem tsrss 18222
Description: Any subset of a totally ordered set is totally ordered. (Contributed by FL, 24-Jan-2010.) (Proof shortened by Mario Carneiro, 21-Nov-2013.)
Assertion
Ref Expression
tsrss (𝑅 ∈ TosetRel → (𝑅 ∩ (𝐴 × 𝐴)) ∈ TosetRel )

Proof of Theorem tsrss
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 psss 18213 . . 3 (𝑅 ∈ PosetRel → (𝑅 ∩ (𝐴 × 𝐴)) ∈ PosetRel)
2 inss1 4159 . . . . . 6 (𝑅 ∩ (𝐴 × 𝐴)) ⊆ 𝑅
3 dmss 5800 . . . . . 6 ((𝑅 ∩ (𝐴 × 𝐴)) ⊆ 𝑅 → dom (𝑅 ∩ (𝐴 × 𝐴)) ⊆ dom 𝑅)
4 ssralv 3983 . . . . . 6 (dom (𝑅 ∩ (𝐴 × 𝐴)) ⊆ dom 𝑅 → (∀𝑥 ∈ dom 𝑅𝑦 ∈ dom 𝑅(𝑥𝑅𝑦𝑦𝑅𝑥) → ∀𝑥 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))∀𝑦 ∈ dom 𝑅(𝑥𝑅𝑦𝑦𝑅𝑥)))
52, 3, 4mp2b 10 . . . . 5 (∀𝑥 ∈ dom 𝑅𝑦 ∈ dom 𝑅(𝑥𝑅𝑦𝑦𝑅𝑥) → ∀𝑥 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))∀𝑦 ∈ dom 𝑅(𝑥𝑅𝑦𝑦𝑅𝑥))
6 ssralv 3983 . . . . . . 7 (dom (𝑅 ∩ (𝐴 × 𝐴)) ⊆ dom 𝑅 → (∀𝑦 ∈ dom 𝑅(𝑥𝑅𝑦𝑦𝑅𝑥) → ∀𝑦 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))(𝑥𝑅𝑦𝑦𝑅𝑥)))
72, 3, 6mp2b 10 . . . . . 6 (∀𝑦 ∈ dom 𝑅(𝑥𝑅𝑦𝑦𝑅𝑥) → ∀𝑦 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))(𝑥𝑅𝑦𝑦𝑅𝑥))
87ralimi 3086 . . . . 5 (∀𝑥 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))∀𝑦 ∈ dom 𝑅(𝑥𝑅𝑦𝑦𝑅𝑥) → ∀𝑥 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))∀𝑦 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))(𝑥𝑅𝑦𝑦𝑅𝑥))
95, 8syl 17 . . . 4 (∀𝑥 ∈ dom 𝑅𝑦 ∈ dom 𝑅(𝑥𝑅𝑦𝑦𝑅𝑥) → ∀𝑥 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))∀𝑦 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))(𝑥𝑅𝑦𝑦𝑅𝑥))
10 inss2 4160 . . . . . . . . . 10 (𝑅 ∩ (𝐴 × 𝐴)) ⊆ (𝐴 × 𝐴)
11 dmss 5800 . . . . . . . . . 10 ((𝑅 ∩ (𝐴 × 𝐴)) ⊆ (𝐴 × 𝐴) → dom (𝑅 ∩ (𝐴 × 𝐴)) ⊆ dom (𝐴 × 𝐴))
1210, 11ax-mp 5 . . . . . . . . 9 dom (𝑅 ∩ (𝐴 × 𝐴)) ⊆ dom (𝐴 × 𝐴)
13 dmxpid 5828 . . . . . . . . 9 dom (𝐴 × 𝐴) = 𝐴
1412, 13sseqtri 3953 . . . . . . . 8 dom (𝑅 ∩ (𝐴 × 𝐴)) ⊆ 𝐴
1514sseli 3913 . . . . . . 7 (𝑥 ∈ dom (𝑅 ∩ (𝐴 × 𝐴)) → 𝑥𝐴)
1614sseli 3913 . . . . . . 7 (𝑦 ∈ dom (𝑅 ∩ (𝐴 × 𝐴)) → 𝑦𝐴)
17 brinxp 5656 . . . . . . . 8 ((𝑥𝐴𝑦𝐴) → (𝑥𝑅𝑦𝑥(𝑅 ∩ (𝐴 × 𝐴))𝑦))
18 brinxp 5656 . . . . . . . . 9 ((𝑦𝐴𝑥𝐴) → (𝑦𝑅𝑥𝑦(𝑅 ∩ (𝐴 × 𝐴))𝑥))
1918ancoms 458 . . . . . . . 8 ((𝑥𝐴𝑦𝐴) → (𝑦𝑅𝑥𝑦(𝑅 ∩ (𝐴 × 𝐴))𝑥))
2017, 19orbi12d 915 . . . . . . 7 ((𝑥𝐴𝑦𝐴) → ((𝑥𝑅𝑦𝑦𝑅𝑥) ↔ (𝑥(𝑅 ∩ (𝐴 × 𝐴))𝑦𝑦(𝑅 ∩ (𝐴 × 𝐴))𝑥)))
2115, 16, 20syl2an 595 . . . . . 6 ((𝑥 ∈ dom (𝑅 ∩ (𝐴 × 𝐴)) ∧ 𝑦 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))) → ((𝑥𝑅𝑦𝑦𝑅𝑥) ↔ (𝑥(𝑅 ∩ (𝐴 × 𝐴))𝑦𝑦(𝑅 ∩ (𝐴 × 𝐴))𝑥)))
2221ralbidva 3119 . . . . 5 (𝑥 ∈ dom (𝑅 ∩ (𝐴 × 𝐴)) → (∀𝑦 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))(𝑥𝑅𝑦𝑦𝑅𝑥) ↔ ∀𝑦 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))(𝑥(𝑅 ∩ (𝐴 × 𝐴))𝑦𝑦(𝑅 ∩ (𝐴 × 𝐴))𝑥)))
2322ralbiia 3089 . . . 4 (∀𝑥 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))∀𝑦 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))(𝑥𝑅𝑦𝑦𝑅𝑥) ↔ ∀𝑥 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))∀𝑦 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))(𝑥(𝑅 ∩ (𝐴 × 𝐴))𝑦𝑦(𝑅 ∩ (𝐴 × 𝐴))𝑥))
249, 23sylib 217 . . 3 (∀𝑥 ∈ dom 𝑅𝑦 ∈ dom 𝑅(𝑥𝑅𝑦𝑦𝑅𝑥) → ∀𝑥 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))∀𝑦 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))(𝑥(𝑅 ∩ (𝐴 × 𝐴))𝑦𝑦(𝑅 ∩ (𝐴 × 𝐴))𝑥))
251, 24anim12i 612 . 2 ((𝑅 ∈ PosetRel ∧ ∀𝑥 ∈ dom 𝑅𝑦 ∈ dom 𝑅(𝑥𝑅𝑦𝑦𝑅𝑥)) → ((𝑅 ∩ (𝐴 × 𝐴)) ∈ PosetRel ∧ ∀𝑥 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))∀𝑦 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))(𝑥(𝑅 ∩ (𝐴 × 𝐴))𝑦𝑦(𝑅 ∩ (𝐴 × 𝐴))𝑥)))
26 eqid 2738 . . 3 dom 𝑅 = dom 𝑅
2726istsr2 18217 . 2 (𝑅 ∈ TosetRel ↔ (𝑅 ∈ PosetRel ∧ ∀𝑥 ∈ dom 𝑅𝑦 ∈ dom 𝑅(𝑥𝑅𝑦𝑦𝑅𝑥)))
28 eqid 2738 . . 3 dom (𝑅 ∩ (𝐴 × 𝐴)) = dom (𝑅 ∩ (𝐴 × 𝐴))
2928istsr2 18217 . 2 ((𝑅 ∩ (𝐴 × 𝐴)) ∈ TosetRel ↔ ((𝑅 ∩ (𝐴 × 𝐴)) ∈ PosetRel ∧ ∀𝑥 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))∀𝑦 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))(𝑥(𝑅 ∩ (𝐴 × 𝐴))𝑦𝑦(𝑅 ∩ (𝐴 × 𝐴))𝑥)))
3025, 27, 293imtr4i 291 1 (𝑅 ∈ TosetRel → (𝑅 ∩ (𝐴 × 𝐴)) ∈ TosetRel )
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  wo 843  wcel 2108  wral 3063  cin 3882  wss 3883   class class class wbr 5070   × cxp 5578  dom cdm 5580  PosetRelcps 18197   TosetRel ctsr 18198
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
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-ne 2943  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-id 5480  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ps 18199  df-tsr 18200
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator