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

Theorem tsrss 17270
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 17261 . . 3 (𝑅 ∈ PosetRel → (𝑅 ∩ (𝐴 × 𝐴)) ∈ PosetRel)
2 inss1 3866 . . . . . 6 (𝑅 ∩ (𝐴 × 𝐴)) ⊆ 𝑅
3 dmss 5355 . . . . . 6 ((𝑅 ∩ (𝐴 × 𝐴)) ⊆ 𝑅 → dom (𝑅 ∩ (𝐴 × 𝐴)) ⊆ dom 𝑅)
4 ssralv 3699 . . . . . 6 (dom (𝑅 ∩ (𝐴 × 𝐴)) ⊆ dom 𝑅 → (∀𝑥 ∈ dom 𝑅𝑦 ∈ dom 𝑅(𝑥𝑅𝑦𝑦𝑅𝑥) → ∀𝑥 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))∀𝑦 ∈ dom 𝑅(𝑥𝑅𝑦𝑦𝑅𝑥)))
52, 3, 4mp2b 10 . . . . 5 (∀𝑥 ∈ dom 𝑅𝑦 ∈ dom 𝑅(𝑥𝑅𝑦𝑦𝑅𝑥) → ∀𝑥 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))∀𝑦 ∈ dom 𝑅(𝑥𝑅𝑦𝑦𝑅𝑥))
6 ssralv 3699 . . . . . . 7 (dom (𝑅 ∩ (𝐴 × 𝐴)) ⊆ dom 𝑅 → (∀𝑦 ∈ dom 𝑅(𝑥𝑅𝑦𝑦𝑅𝑥) → ∀𝑦 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))(𝑥𝑅𝑦𝑦𝑅𝑥)))
72, 3, 6mp2b 10 . . . . . 6 (∀𝑦 ∈ dom 𝑅(𝑥𝑅𝑦𝑦𝑅𝑥) → ∀𝑦 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))(𝑥𝑅𝑦𝑦𝑅𝑥))
87ralimi 2981 . . . . 5 (∀𝑥 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))∀𝑦 ∈ dom 𝑅(𝑥𝑅𝑦𝑦𝑅𝑥) → ∀𝑥 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))∀𝑦 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))(𝑥𝑅𝑦𝑦𝑅𝑥))
95, 8syl 17 . . . 4 (∀𝑥 ∈ dom 𝑅𝑦 ∈ dom 𝑅(𝑥𝑅𝑦𝑦𝑅𝑥) → ∀𝑥 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))∀𝑦 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))(𝑥𝑅𝑦𝑦𝑅𝑥))
10 inss2 3867 . . . . . . . . . 10 (𝑅 ∩ (𝐴 × 𝐴)) ⊆ (𝐴 × 𝐴)
11 dmss 5355 . . . . . . . . . 10 ((𝑅 ∩ (𝐴 × 𝐴)) ⊆ (𝐴 × 𝐴) → dom (𝑅 ∩ (𝐴 × 𝐴)) ⊆ dom (𝐴 × 𝐴))
1210, 11ax-mp 5 . . . . . . . . 9 dom (𝑅 ∩ (𝐴 × 𝐴)) ⊆ dom (𝐴 × 𝐴)
13 dmxpid 5377 . . . . . . . . 9 dom (𝐴 × 𝐴) = 𝐴
1412, 13sseqtri 3670 . . . . . . . 8 dom (𝑅 ∩ (𝐴 × 𝐴)) ⊆ 𝐴
1514sseli 3632 . . . . . . 7 (𝑥 ∈ dom (𝑅 ∩ (𝐴 × 𝐴)) → 𝑥𝐴)
1614sseli 3632 . . . . . . 7 (𝑦 ∈ dom (𝑅 ∩ (𝐴 × 𝐴)) → 𝑦𝐴)
17 brinxp 5215 . . . . . . . 8 ((𝑥𝐴𝑦𝐴) → (𝑥𝑅𝑦𝑥(𝑅 ∩ (𝐴 × 𝐴))𝑦))
18 brinxp 5215 . . . . . . . . 9 ((𝑦𝐴𝑥𝐴) → (𝑦𝑅𝑥𝑦(𝑅 ∩ (𝐴 × 𝐴))𝑥))
1918ancoms 468 . . . . . . . 8 ((𝑥𝐴𝑦𝐴) → (𝑦𝑅𝑥𝑦(𝑅 ∩ (𝐴 × 𝐴))𝑥))
2017, 19orbi12d 746 . . . . . . 7 ((𝑥𝐴𝑦𝐴) → ((𝑥𝑅𝑦𝑦𝑅𝑥) ↔ (𝑥(𝑅 ∩ (𝐴 × 𝐴))𝑦𝑦(𝑅 ∩ (𝐴 × 𝐴))𝑥)))
2115, 16, 20syl2an 493 . . . . . 6 ((𝑥 ∈ dom (𝑅 ∩ (𝐴 × 𝐴)) ∧ 𝑦 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))) → ((𝑥𝑅𝑦𝑦𝑅𝑥) ↔ (𝑥(𝑅 ∩ (𝐴 × 𝐴))𝑦𝑦(𝑅 ∩ (𝐴 × 𝐴))𝑥)))
2221ralbidva 3014 . . . . 5 (𝑥 ∈ dom (𝑅 ∩ (𝐴 × 𝐴)) → (∀𝑦 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))(𝑥𝑅𝑦𝑦𝑅𝑥) ↔ ∀𝑦 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))(𝑥(𝑅 ∩ (𝐴 × 𝐴))𝑦𝑦(𝑅 ∩ (𝐴 × 𝐴))𝑥)))
2322ralbiia 3008 . . . 4 (∀𝑥 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))∀𝑦 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))(𝑥𝑅𝑦𝑦𝑅𝑥) ↔ ∀𝑥 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))∀𝑦 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))(𝑥(𝑅 ∩ (𝐴 × 𝐴))𝑦𝑦(𝑅 ∩ (𝐴 × 𝐴))𝑥))
249, 23sylib 208 . . 3 (∀𝑥 ∈ dom 𝑅𝑦 ∈ dom 𝑅(𝑥𝑅𝑦𝑦𝑅𝑥) → ∀𝑥 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))∀𝑦 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))(𝑥(𝑅 ∩ (𝐴 × 𝐴))𝑦𝑦(𝑅 ∩ (𝐴 × 𝐴))𝑥))
251, 24anim12i 589 . 2 ((𝑅 ∈ PosetRel ∧ ∀𝑥 ∈ dom 𝑅𝑦 ∈ dom 𝑅(𝑥𝑅𝑦𝑦𝑅𝑥)) → ((𝑅 ∩ (𝐴 × 𝐴)) ∈ PosetRel ∧ ∀𝑥 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))∀𝑦 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))(𝑥(𝑅 ∩ (𝐴 × 𝐴))𝑦𝑦(𝑅 ∩ (𝐴 × 𝐴))𝑥)))
26 eqid 2651 . . 3 dom 𝑅 = dom 𝑅
2726istsr2 17265 . 2 (𝑅 ∈ TosetRel ↔ (𝑅 ∈ PosetRel ∧ ∀𝑥 ∈ dom 𝑅𝑦 ∈ dom 𝑅(𝑥𝑅𝑦𝑦𝑅𝑥)))
28 eqid 2651 . . 3 dom (𝑅 ∩ (𝐴 × 𝐴)) = dom (𝑅 ∩ (𝐴 × 𝐴))
2928istsr2 17265 . 2 ((𝑅 ∩ (𝐴 × 𝐴)) ∈ TosetRel ↔ ((𝑅 ∩ (𝐴 × 𝐴)) ∈ PosetRel ∧ ∀𝑥 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))∀𝑦 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))(𝑥(𝑅 ∩ (𝐴 × 𝐴))𝑦𝑦(𝑅 ∩ (𝐴 × 𝐴))𝑥)))
3025, 27, 293imtr4i 281 1 (𝑅 ∈ TosetRel → (𝑅 ∩ (𝐴 × 𝐴)) ∈ TosetRel )
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wo 382  wa 383  wcel 2030  wral 2941  cin 3606  wss 3607   class class class wbr 4685   × cxp 5141  dom cdm 5143  PosetRelcps 17245   TosetRel ctsr 17246
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1762  ax-4 1777  ax-5 1879  ax-6 1945  ax-7 1981  ax-9 2039  ax-10 2059  ax-11 2074  ax-12 2087  ax-13 2282  ax-ext 2631  ax-sep 4814  ax-nul 4822  ax-pr 4936
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3an 1056  df-tru 1526  df-ex 1745  df-nf 1750  df-sb 1938  df-eu 2502  df-mo 2503  df-clab 2638  df-cleq 2644  df-clel 2647  df-nfc 2782  df-ne 2824  df-ral 2946  df-rex 2947  df-rab 2950  df-v 3233  df-dif 3610  df-un 3612  df-in 3614  df-ss 3621  df-nul 3949  df-if 4120  df-pw 4193  df-sn 4211  df-pr 4213  df-op 4217  df-uni 4469  df-br 4686  df-opab 4746  df-id 5053  df-xp 5149  df-rel 5150  df-cnv 5151  df-co 5152  df-dm 5153  df-rn 5154  df-res 5155  df-ps 17247  df-tsr 17248
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator