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

 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 )

Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 psss 17407 . . 3 (𝑅 ∈ PosetRel → (𝑅 ∩ (𝐴 × 𝐴)) ∈ PosetRel)
2 inss1 3968 . . . . . 6 (𝑅 ∩ (𝐴 × 𝐴)) ⊆ 𝑅
3 dmss 5470 . . . . . 6 ((𝑅 ∩ (𝐴 × 𝐴)) ⊆ 𝑅 → dom (𝑅 ∩ (𝐴 × 𝐴)) ⊆ dom 𝑅)
4 ssralv 3799 . . . . . 6 (dom (𝑅 ∩ (𝐴 × 𝐴)) ⊆ dom 𝑅 → (∀𝑥 ∈ dom 𝑅𝑦 ∈ dom 𝑅(𝑥𝑅𝑦𝑦𝑅𝑥) → ∀𝑥 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))∀𝑦 ∈ dom 𝑅(𝑥𝑅𝑦𝑦𝑅𝑥)))
52, 3, 4mp2b 10 . . . . 5 (∀𝑥 ∈ dom 𝑅𝑦 ∈ dom 𝑅(𝑥𝑅𝑦𝑦𝑅𝑥) → ∀𝑥 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))∀𝑦 ∈ dom 𝑅(𝑥𝑅𝑦𝑦𝑅𝑥))
6 ssralv 3799 . . . . . . 7 (dom (𝑅 ∩ (𝐴 × 𝐴)) ⊆ dom 𝑅 → (∀𝑦 ∈ dom 𝑅(𝑥𝑅𝑦𝑦𝑅𝑥) → ∀𝑦 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))(𝑥𝑅𝑦𝑦𝑅𝑥)))
72, 3, 6mp2b 10 . . . . . 6 (∀𝑦 ∈ dom 𝑅(𝑥𝑅𝑦𝑦𝑅𝑥) → ∀𝑦 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))(𝑥𝑅𝑦𝑦𝑅𝑥))
87ralimi 3082 . . . . 5 (∀𝑥 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))∀𝑦 ∈ dom 𝑅(𝑥𝑅𝑦𝑦𝑅𝑥) → ∀𝑥 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))∀𝑦 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))(𝑥𝑅𝑦𝑦𝑅𝑥))
95, 8syl 17 . . . 4 (∀𝑥 ∈ dom 𝑅𝑦 ∈ dom 𝑅(𝑥𝑅𝑦𝑦𝑅𝑥) → ∀𝑥 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))∀𝑦 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))(𝑥𝑅𝑦𝑦𝑅𝑥))
10 inss2 3969 . . . . . . . . . 10 (𝑅 ∩ (𝐴 × 𝐴)) ⊆ (𝐴 × 𝐴)
11 dmss 5470 . . . . . . . . . 10 ((𝑅 ∩ (𝐴 × 𝐴)) ⊆ (𝐴 × 𝐴) → dom (𝑅 ∩ (𝐴 × 𝐴)) ⊆ dom (𝐴 × 𝐴))
1210, 11ax-mp 5 . . . . . . . . 9 dom (𝑅 ∩ (𝐴 × 𝐴)) ⊆ dom (𝐴 × 𝐴)
13 dmxpid 5492 . . . . . . . . 9 dom (𝐴 × 𝐴) = 𝐴
1412, 13sseqtri 3770 . . . . . . . 8 dom (𝑅 ∩ (𝐴 × 𝐴)) ⊆ 𝐴
1514sseli 3732 . . . . . . 7 (𝑥 ∈ dom (𝑅 ∩ (𝐴 × 𝐴)) → 𝑥𝐴)
1614sseli 3732 . . . . . . 7 (𝑦 ∈ dom (𝑅 ∩ (𝐴 × 𝐴)) → 𝑦𝐴)
17 brinxp 5330 . . . . . . . 8 ((𝑥𝐴𝑦𝐴) → (𝑥𝑅𝑦𝑥(𝑅 ∩ (𝐴 × 𝐴))𝑦))
18 brinxp 5330 . . . . . . . . 9 ((𝑦𝐴𝑥𝐴) → (𝑦𝑅𝑥𝑦(𝑅 ∩ (𝐴 × 𝐴))𝑥))
1918ancoms 468 . . . . . . . 8 ((𝑥𝐴𝑦𝐴) → (𝑦𝑅𝑥𝑦(𝑅 ∩ (𝐴 × 𝐴))𝑥))
2017, 19orbi12d 748 . . . . . . 7 ((𝑥𝐴𝑦𝐴) → ((𝑥𝑅𝑦𝑦𝑅𝑥) ↔ (𝑥(𝑅 ∩ (𝐴 × 𝐴))𝑦𝑦(𝑅 ∩ (𝐴 × 𝐴))𝑥)))
2115, 16, 20syl2an 495 . . . . . 6 ((𝑥 ∈ dom (𝑅 ∩ (𝐴 × 𝐴)) ∧ 𝑦 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))) → ((𝑥𝑅𝑦𝑦𝑅𝑥) ↔ (𝑥(𝑅 ∩ (𝐴 × 𝐴))𝑦𝑦(𝑅 ∩ (𝐴 × 𝐴))𝑥)))
2221ralbidva 3115 . . . . 5 (𝑥 ∈ dom (𝑅 ∩ (𝐴 × 𝐴)) → (∀𝑦 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))(𝑥𝑅𝑦𝑦𝑅𝑥) ↔ ∀𝑦 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))(𝑥(𝑅 ∩ (𝐴 × 𝐴))𝑦𝑦(𝑅 ∩ (𝐴 × 𝐴))𝑥)))
2322ralbiia 3109 . . . 4 (∀𝑥 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))∀𝑦 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))(𝑥𝑅𝑦𝑦𝑅𝑥) ↔ ∀𝑥 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))∀𝑦 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))(𝑥(𝑅 ∩ (𝐴 × 𝐴))𝑦𝑦(𝑅 ∩ (𝐴 × 𝐴))𝑥))
249, 23sylib 208 . . 3 (∀𝑥 ∈ dom 𝑅𝑦 ∈ dom 𝑅(𝑥𝑅𝑦𝑦𝑅𝑥) → ∀𝑥 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))∀𝑦 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))(𝑥(𝑅 ∩ (𝐴 × 𝐴))𝑦𝑦(𝑅 ∩ (𝐴 × 𝐴))𝑥))
251, 24anim12i 591 . 2 ((𝑅 ∈ PosetRel ∧ ∀𝑥 ∈ dom 𝑅𝑦 ∈ dom 𝑅(𝑥𝑅𝑦𝑦𝑅𝑥)) → ((𝑅 ∩ (𝐴 × 𝐴)) ∈ PosetRel ∧ ∀𝑥 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))∀𝑦 ∈ dom (𝑅 ∩ (𝐴 × 𝐴))(𝑥(𝑅 ∩ (𝐴 × 𝐴))𝑦𝑦(𝑅 ∩ (𝐴 × 𝐴))𝑥)))
26 eqid 2752 . . 3 dom 𝑅 = dom 𝑅
2726istsr2 17411 . 2 (𝑅 ∈ TosetRel ↔ (𝑅 ∈ PosetRel ∧ ∀𝑥 ∈ dom 𝑅𝑦 ∈ dom 𝑅(𝑥𝑅𝑦𝑦𝑅𝑥)))
28 eqid 2752 . . 3 dom (𝑅 ∩ (𝐴 × 𝐴)) = dom (𝑅 ∩ (𝐴 × 𝐴))
2928istsr2 17411 . 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 2131  ∀wral 3042   ∩ cin 3706   ⊆ wss 3707   class class class wbr 4796   × cxp 5256  dom cdm 5258  PosetRelcps 17391   TosetRel ctsr 17392 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1863  ax-4 1878  ax-5 1980  ax-6 2046  ax-7 2082  ax-9 2140  ax-10 2160  ax-11 2175  ax-12 2188  ax-13 2383  ax-ext 2732  ax-sep 4925  ax-nul 4933  ax-pr 5047 This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3an 1074  df-tru 1627  df-ex 1846  df-nf 1851  df-sb 2039  df-eu 2603  df-mo 2604  df-clab 2739  df-cleq 2745  df-clel 2748  df-nfc 2883  df-ne 2925  df-ral 3047  df-rex 3048  df-rab 3051  df-v 3334  df-dif 3710  df-un 3712  df-in 3714  df-ss 3721  df-nul 4051  df-if 4223  df-pw 4296  df-sn 4314  df-pr 4316  df-op 4320  df-uni 4581  df-br 4797  df-opab 4857  df-id 5166  df-xp 5264  df-rel 5265  df-cnv 5266  df-co 5267  df-dm 5268  df-rn 5269  df-res 5270  df-ps 17393  df-tsr 17394 This theorem is referenced by: (None)
 Copyright terms: Public domain W3C validator