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

Theorem tsrss 18307
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 18298 . . 3 (𝑅 ∈ PosetRel → (𝑅 ∩ (𝐴 × 𝐴)) ∈ PosetRel)
2 inss1 4162 . . . . . 6 (𝑅 ∩ (𝐴 × 𝐴)) ⊆ 𝑅
3 dmss 5811 . . . . . 6 ((𝑅 ∩ (𝐴 × 𝐴)) ⊆ 𝑅 → dom (𝑅 ∩ (𝐴 × 𝐴)) ⊆ dom 𝑅)
4 ssralv 3987 . . . . . 6 (dom (𝑅 ∩ (𝐴 × 𝐴)) ⊆ dom 𝑅 → (∀𝑥 ∈ dom 𝑅𝑦 ∈ dom 𝑅(𝑥𝑅𝑦𝑦𝑅𝑥) → ∀𝑥 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))∀𝑦 ∈ dom 𝑅(𝑥𝑅𝑦𝑦𝑅𝑥)))
52, 3, 4mp2b 10 . . . . 5 (∀𝑥 ∈ dom 𝑅𝑦 ∈ dom 𝑅(𝑥𝑅𝑦𝑦𝑅𝑥) → ∀𝑥 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))∀𝑦 ∈ dom 𝑅(𝑥𝑅𝑦𝑦𝑅𝑥))
6 ssralv 3987 . . . . . . 7 (dom (𝑅 ∩ (𝐴 × 𝐴)) ⊆ dom 𝑅 → (∀𝑦 ∈ dom 𝑅(𝑥𝑅𝑦𝑦𝑅𝑥) → ∀𝑦 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))(𝑥𝑅𝑦𝑦𝑅𝑥)))
72, 3, 6mp2b 10 . . . . . 6 (∀𝑦 ∈ dom 𝑅(𝑥𝑅𝑦𝑦𝑅𝑥) → ∀𝑦 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))(𝑥𝑅𝑦𝑦𝑅𝑥))
87ralimi 3087 . . . . 5 (∀𝑥 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))∀𝑦 ∈ dom 𝑅(𝑥𝑅𝑦𝑦𝑅𝑥) → ∀𝑥 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))∀𝑦 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))(𝑥𝑅𝑦𝑦𝑅𝑥))
95, 8syl 17 . . . 4 (∀𝑥 ∈ dom 𝑅𝑦 ∈ dom 𝑅(𝑥𝑅𝑦𝑦𝑅𝑥) → ∀𝑥 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))∀𝑦 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))(𝑥𝑅𝑦𝑦𝑅𝑥))
10 inss2 4163 . . . . . . . . . 10 (𝑅 ∩ (𝐴 × 𝐴)) ⊆ (𝐴 × 𝐴)
11 dmss 5811 . . . . . . . . . 10 ((𝑅 ∩ (𝐴 × 𝐴)) ⊆ (𝐴 × 𝐴) → dom (𝑅 ∩ (𝐴 × 𝐴)) ⊆ dom (𝐴 × 𝐴))
1210, 11ax-mp 5 . . . . . . . . 9 dom (𝑅 ∩ (𝐴 × 𝐴)) ⊆ dom (𝐴 × 𝐴)
13 dmxpid 5839 . . . . . . . . 9 dom (𝐴 × 𝐴) = 𝐴
1412, 13sseqtri 3957 . . . . . . . 8 dom (𝑅 ∩ (𝐴 × 𝐴)) ⊆ 𝐴
1514sseli 3917 . . . . . . 7 (𝑥 ∈ dom (𝑅 ∩ (𝐴 × 𝐴)) → 𝑥𝐴)
1614sseli 3917 . . . . . . 7 (𝑦 ∈ dom (𝑅 ∩ (𝐴 × 𝐴)) → 𝑦𝐴)
17 brinxp 5665 . . . . . . . 8 ((𝑥𝐴𝑦𝐴) → (𝑥𝑅𝑦𝑥(𝑅 ∩ (𝐴 × 𝐴))𝑦))
18 brinxp 5665 . . . . . . . . 9 ((𝑦𝐴𝑥𝐴) → (𝑦𝑅𝑥𝑦(𝑅 ∩ (𝐴 × 𝐴))𝑥))
1918ancoms 459 . . . . . . . 8 ((𝑥𝐴𝑦𝐴) → (𝑦𝑅𝑥𝑦(𝑅 ∩ (𝐴 × 𝐴))𝑥))
2017, 19orbi12d 916 . . . . . . 7 ((𝑥𝐴𝑦𝐴) → ((𝑥𝑅𝑦𝑦𝑅𝑥) ↔ (𝑥(𝑅 ∩ (𝐴 × 𝐴))𝑦𝑦(𝑅 ∩ (𝐴 × 𝐴))𝑥)))
2115, 16, 20syl2an 596 . . . . . 6 ((𝑥 ∈ dom (𝑅 ∩ (𝐴 × 𝐴)) ∧ 𝑦 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))) → ((𝑥𝑅𝑦𝑦𝑅𝑥) ↔ (𝑥(𝑅 ∩ (𝐴 × 𝐴))𝑦𝑦(𝑅 ∩ (𝐴 × 𝐴))𝑥)))
2221ralbidva 3111 . . . . 5 (𝑥 ∈ dom (𝑅 ∩ (𝐴 × 𝐴)) → (∀𝑦 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))(𝑥𝑅𝑦𝑦𝑅𝑥) ↔ ∀𝑦 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))(𝑥(𝑅 ∩ (𝐴 × 𝐴))𝑦𝑦(𝑅 ∩ (𝐴 × 𝐴))𝑥)))
2322ralbiia 3091 . . . 4 (∀𝑥 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))∀𝑦 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))(𝑥𝑅𝑦𝑦𝑅𝑥) ↔ ∀𝑥 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))∀𝑦 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))(𝑥(𝑅 ∩ (𝐴 × 𝐴))𝑦𝑦(𝑅 ∩ (𝐴 × 𝐴))𝑥))
249, 23sylib 217 . . 3 (∀𝑥 ∈ dom 𝑅𝑦 ∈ dom 𝑅(𝑥𝑅𝑦𝑦𝑅𝑥) → ∀𝑥 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))∀𝑦 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))(𝑥(𝑅 ∩ (𝐴 × 𝐴))𝑦𝑦(𝑅 ∩ (𝐴 × 𝐴))𝑥))
251, 24anim12i 613 . 2 ((𝑅 ∈ PosetRel ∧ ∀𝑥 ∈ dom 𝑅𝑦 ∈ dom 𝑅(𝑥𝑅𝑦𝑦𝑅𝑥)) → ((𝑅 ∩ (𝐴 × 𝐴)) ∈ PosetRel ∧ ∀𝑥 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))∀𝑦 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))(𝑥(𝑅 ∩ (𝐴 × 𝐴))𝑦𝑦(𝑅 ∩ (𝐴 × 𝐴))𝑥)))
26 eqid 2738 . . 3 dom 𝑅 = dom 𝑅
2726istsr2 18302 . 2 (𝑅 ∈ TosetRel ↔ (𝑅 ∈ PosetRel ∧ ∀𝑥 ∈ dom 𝑅𝑦 ∈ dom 𝑅(𝑥𝑅𝑦𝑦𝑅𝑥)))
28 eqid 2738 . . 3 dom (𝑅 ∩ (𝐴 × 𝐴)) = dom (𝑅 ∩ (𝐴 × 𝐴))
2928istsr2 18302 . 2 ((𝑅 ∩ (𝐴 × 𝐴)) ∈ TosetRel ↔ ((𝑅 ∩ (𝐴 × 𝐴)) ∈ PosetRel ∧ ∀𝑥 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))∀𝑦 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))(𝑥(𝑅 ∩ (𝐴 × 𝐴))𝑦𝑦(𝑅 ∩ (𝐴 × 𝐴))𝑥)))
3025, 27, 293imtr4i 292 1 (𝑅 ∈ TosetRel → (𝑅 ∩ (𝐴 × 𝐴)) ∈ TosetRel )
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396  wo 844  wcel 2106  wral 3064  cin 3886  wss 3887   class class class wbr 5074   × cxp 5587  dom cdm 5589  PosetRelcps 18282   TosetRel ctsr 18283
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 5223  ax-nul 5230  ax-pr 5352
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-ne 2944  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-pw 4535  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-br 5075  df-opab 5137  df-id 5489  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ps 18284  df-tsr 18285
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator