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

Theorem tsrdir 17285
Description: A totally ordered set is a directed set. (Contributed by Jeff Hankins, 25-Nov-2009.) (Revised by Mario Carneiro, 22-Nov-2013.)
Assertion
Ref Expression
tsrdir (𝐴 ∈ TosetRel → 𝐴 ∈ DirRel)

Proof of Theorem tsrdir
StepHypRef Expression
1 tsrps 17268 . . . 4 (𝐴 ∈ TosetRel → 𝐴 ∈ PosetRel)
2 psrel 17250 . . . 4 (𝐴 ∈ PosetRel → Rel 𝐴)
31, 2syl 17 . . 3 (𝐴 ∈ TosetRel → Rel 𝐴)
4 psref2 17251 . . . . 5 (𝐴 ∈ PosetRel → (𝐴𝐴) = ( I ↾ 𝐴))
5 inss1 3866 . . . . 5 (𝐴𝐴) ⊆ 𝐴
64, 5syl6eqssr 3689 . . . 4 (𝐴 ∈ PosetRel → ( I ↾ 𝐴) ⊆ 𝐴)
71, 6syl 17 . . 3 (𝐴 ∈ TosetRel → ( I ↾ 𝐴) ⊆ 𝐴)
83, 7jca 553 . 2 (𝐴 ∈ TosetRel → (Rel 𝐴 ∧ ( I ↾ 𝐴) ⊆ 𝐴))
9 pstr2 17252 . . . 4 (𝐴 ∈ PosetRel → (𝐴𝐴) ⊆ 𝐴)
101, 9syl 17 . . 3 (𝐴 ∈ TosetRel → (𝐴𝐴) ⊆ 𝐴)
11 psdmrn 17254 . . . . . . 7 (𝐴 ∈ PosetRel → (dom 𝐴 = 𝐴 ∧ ran 𝐴 = 𝐴))
121, 11syl 17 . . . . . 6 (𝐴 ∈ TosetRel → (dom 𝐴 = 𝐴 ∧ ran 𝐴 = 𝐴))
1312simpld 474 . . . . 5 (𝐴 ∈ TosetRel → dom 𝐴 = 𝐴)
1413sqxpeqd 5175 . . . 4 (𝐴 ∈ TosetRel → (dom 𝐴 × dom 𝐴) = ( 𝐴 × 𝐴))
15 eqid 2651 . . . . . . 7 dom 𝐴 = dom 𝐴
1615istsr 17264 . . . . . 6 (𝐴 ∈ TosetRel ↔ (𝐴 ∈ PosetRel ∧ (dom 𝐴 × dom 𝐴) ⊆ (𝐴𝐴)))
1716simprbi 479 . . . . 5 (𝐴 ∈ TosetRel → (dom 𝐴 × dom 𝐴) ⊆ (𝐴𝐴))
18 relcoi2 5701 . . . . . . . 8 (Rel 𝐴 → (( I ↾ 𝐴) ∘ 𝐴) = 𝐴)
193, 18syl 17 . . . . . . 7 (𝐴 ∈ TosetRel → (( I ↾ 𝐴) ∘ 𝐴) = 𝐴)
20 cnvresid 6006 . . . . . . . . 9 ( I ↾ 𝐴) = ( I ↾ 𝐴)
21 cnvss 5327 . . . . . . . . . 10 (( I ↾ 𝐴) ⊆ 𝐴( I ↾ 𝐴) ⊆ 𝐴)
227, 21syl 17 . . . . . . . . 9 (𝐴 ∈ TosetRel → ( I ↾ 𝐴) ⊆ 𝐴)
2320, 22syl5eqssr 3683 . . . . . . . 8 (𝐴 ∈ TosetRel → ( I ↾ 𝐴) ⊆ 𝐴)
24 coss1 5310 . . . . . . . 8 (( I ↾ 𝐴) ⊆ 𝐴 → (( I ↾ 𝐴) ∘ 𝐴) ⊆ (𝐴𝐴))
2523, 24syl 17 . . . . . . 7 (𝐴 ∈ TosetRel → (( I ↾ 𝐴) ∘ 𝐴) ⊆ (𝐴𝐴))
2619, 25eqsstr3d 3673 . . . . . 6 (𝐴 ∈ TosetRel → 𝐴 ⊆ (𝐴𝐴))
27 relcnv 5538 . . . . . . . 8 Rel 𝐴
28 relcoi1 5702 . . . . . . . 8 (Rel 𝐴 → (𝐴 ∘ ( I ↾ 𝐴)) = 𝐴)
2927, 28ax-mp 5 . . . . . . 7 (𝐴 ∘ ( I ↾ 𝐴)) = 𝐴
30 relcnvfld 5704 . . . . . . . . . . 11 (Rel 𝐴 𝐴 = 𝐴)
313, 30syl 17 . . . . . . . . . 10 (𝐴 ∈ TosetRel → 𝐴 = 𝐴)
3231reseq2d 5428 . . . . . . . . 9 (𝐴 ∈ TosetRel → ( I ↾ 𝐴) = ( I ↾ 𝐴))
3332, 7eqsstr3d 3673 . . . . . . . 8 (𝐴 ∈ TosetRel → ( I ↾ 𝐴) ⊆ 𝐴)
34 coss2 5311 . . . . . . . 8 (( I ↾ 𝐴) ⊆ 𝐴 → (𝐴 ∘ ( I ↾ 𝐴)) ⊆ (𝐴𝐴))
3533, 34syl 17 . . . . . . 7 (𝐴 ∈ TosetRel → (𝐴 ∘ ( I ↾ 𝐴)) ⊆ (𝐴𝐴))
3629, 35syl5eqssr 3683 . . . . . 6 (𝐴 ∈ TosetRel → 𝐴 ⊆ (𝐴𝐴))
3726, 36unssd 3822 . . . . 5 (𝐴 ∈ TosetRel → (𝐴𝐴) ⊆ (𝐴𝐴))
3817, 37sstrd 3646 . . . 4 (𝐴 ∈ TosetRel → (dom 𝐴 × dom 𝐴) ⊆ (𝐴𝐴))
3914, 38eqsstr3d 3673 . . 3 (𝐴 ∈ TosetRel → ( 𝐴 × 𝐴) ⊆ (𝐴𝐴))
4010, 39jca 553 . 2 (𝐴 ∈ TosetRel → ((𝐴𝐴) ⊆ 𝐴 ∧ ( 𝐴 × 𝐴) ⊆ (𝐴𝐴)))
41 eqid 2651 . . 3 𝐴 = 𝐴
4241isdir 17279 . 2 (𝐴 ∈ TosetRel → (𝐴 ∈ DirRel ↔ ((Rel 𝐴 ∧ ( I ↾ 𝐴) ⊆ 𝐴) ∧ ((𝐴𝐴) ⊆ 𝐴 ∧ ( 𝐴 × 𝐴) ⊆ (𝐴𝐴)))))
438, 40, 42mpbir2and 977 1 (𝐴 ∈ TosetRel → 𝐴 ∈ DirRel)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 383   = wceq 1523  wcel 2030  cun 3605  cin 3606  wss 3607   cuni 4468   I cid 5052   × cxp 5141  ccnv 5142  dom cdm 5143  ran crn 5144  cres 5145  ccom 5147  Rel wrel 5148  PosetRelcps 17245   TosetRel ctsr 17246  DirRelcdir 17275
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-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-ima 5156  df-fun 5928  df-ps 17247  df-tsr 17248  df-dir 17277
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator