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

Theorem tsrdir 18237
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 18220 . . . 4 (𝐴 ∈ TosetRel → 𝐴 ∈ PosetRel)
2 psrel 18202 . . . 4 (𝐴 ∈ PosetRel → Rel 𝐴)
31, 2syl 17 . . 3 (𝐴 ∈ TosetRel → Rel 𝐴)
4 psref2 18203 . . . . 5 (𝐴 ∈ PosetRel → (𝐴𝐴) = ( I ↾ 𝐴))
5 inss1 4159 . . . . 5 (𝐴𝐴) ⊆ 𝐴
64, 5eqsstrrdi 3972 . . . 4 (𝐴 ∈ PosetRel → ( I ↾ 𝐴) ⊆ 𝐴)
71, 6syl 17 . . 3 (𝐴 ∈ TosetRel → ( I ↾ 𝐴) ⊆ 𝐴)
83, 7jca 511 . 2 (𝐴 ∈ TosetRel → (Rel 𝐴 ∧ ( I ↾ 𝐴) ⊆ 𝐴))
9 pstr2 18204 . . . 4 (𝐴 ∈ PosetRel → (𝐴𝐴) ⊆ 𝐴)
101, 9syl 17 . . 3 (𝐴 ∈ TosetRel → (𝐴𝐴) ⊆ 𝐴)
11 psdmrn 18206 . . . . . . 7 (𝐴 ∈ PosetRel → (dom 𝐴 = 𝐴 ∧ ran 𝐴 = 𝐴))
121, 11syl 17 . . . . . 6 (𝐴 ∈ TosetRel → (dom 𝐴 = 𝐴 ∧ ran 𝐴 = 𝐴))
1312simpld 494 . . . . 5 (𝐴 ∈ TosetRel → dom 𝐴 = 𝐴)
1413sqxpeqd 5612 . . . 4 (𝐴 ∈ TosetRel → (dom 𝐴 × dom 𝐴) = ( 𝐴 × 𝐴))
15 eqid 2738 . . . . . . 7 dom 𝐴 = dom 𝐴
1615istsr 18216 . . . . . 6 (𝐴 ∈ TosetRel ↔ (𝐴 ∈ PosetRel ∧ (dom 𝐴 × dom 𝐴) ⊆ (𝐴𝐴)))
1716simprbi 496 . . . . 5 (𝐴 ∈ TosetRel → (dom 𝐴 × dom 𝐴) ⊆ (𝐴𝐴))
18 relcoi2 6169 . . . . . . . 8 (Rel 𝐴 → (( I ↾ 𝐴) ∘ 𝐴) = 𝐴)
193, 18syl 17 . . . . . . 7 (𝐴 ∈ TosetRel → (( I ↾ 𝐴) ∘ 𝐴) = 𝐴)
20 cnvresid 6497 . . . . . . . . 9 ( I ↾ 𝐴) = ( I ↾ 𝐴)
21 cnvss 5770 . . . . . . . . . 10 (( I ↾ 𝐴) ⊆ 𝐴( I ↾ 𝐴) ⊆ 𝐴)
227, 21syl 17 . . . . . . . . 9 (𝐴 ∈ TosetRel → ( I ↾ 𝐴) ⊆ 𝐴)
2320, 22eqsstrrid 3966 . . . . . . . 8 (𝐴 ∈ TosetRel → ( I ↾ 𝐴) ⊆ 𝐴)
24 coss1 5753 . . . . . . . 8 (( I ↾ 𝐴) ⊆ 𝐴 → (( I ↾ 𝐴) ∘ 𝐴) ⊆ (𝐴𝐴))
2523, 24syl 17 . . . . . . 7 (𝐴 ∈ TosetRel → (( I ↾ 𝐴) ∘ 𝐴) ⊆ (𝐴𝐴))
2619, 25eqsstrrd 3956 . . . . . 6 (𝐴 ∈ TosetRel → 𝐴 ⊆ (𝐴𝐴))
27 relcnv 6001 . . . . . . . 8 Rel 𝐴
28 relcoi1 6170 . . . . . . . 8 (Rel 𝐴 → (𝐴 ∘ ( I ↾ 𝐴)) = 𝐴)
2927, 28ax-mp 5 . . . . . . 7 (𝐴 ∘ ( I ↾ 𝐴)) = 𝐴
30 relcnvfld 6172 . . . . . . . . . . 11 (Rel 𝐴 𝐴 = 𝐴)
313, 30syl 17 . . . . . . . . . 10 (𝐴 ∈ TosetRel → 𝐴 = 𝐴)
3231reseq2d 5880 . . . . . . . . 9 (𝐴 ∈ TosetRel → ( I ↾ 𝐴) = ( I ↾ 𝐴))
3332, 7eqsstrrd 3956 . . . . . . . 8 (𝐴 ∈ TosetRel → ( I ↾ 𝐴) ⊆ 𝐴)
34 coss2 5754 . . . . . . . 8 (( I ↾ 𝐴) ⊆ 𝐴 → (𝐴 ∘ ( I ↾ 𝐴)) ⊆ (𝐴𝐴))
3533, 34syl 17 . . . . . . 7 (𝐴 ∈ TosetRel → (𝐴 ∘ ( I ↾ 𝐴)) ⊆ (𝐴𝐴))
3629, 35eqsstrrid 3966 . . . . . 6 (𝐴 ∈ TosetRel → 𝐴 ⊆ (𝐴𝐴))
3726, 36unssd 4116 . . . . 5 (𝐴 ∈ TosetRel → (𝐴𝐴) ⊆ (𝐴𝐴))
3817, 37sstrd 3927 . . . 4 (𝐴 ∈ TosetRel → (dom 𝐴 × dom 𝐴) ⊆ (𝐴𝐴))
3914, 38eqsstrrd 3956 . . 3 (𝐴 ∈ TosetRel → ( 𝐴 × 𝐴) ⊆ (𝐴𝐴))
4010, 39jca 511 . 2 (𝐴 ∈ TosetRel → ((𝐴𝐴) ⊆ 𝐴 ∧ ( 𝐴 × 𝐴) ⊆ (𝐴𝐴)))
41 eqid 2738 . . 3 𝐴 = 𝐴
4241isdir 18231 . 2 (𝐴 ∈ TosetRel → (𝐴 ∈ DirRel ↔ ((Rel 𝐴 ∧ ( I ↾ 𝐴) ⊆ 𝐴) ∧ ((𝐴𝐴) ⊆ 𝐴 ∧ ( 𝐴 × 𝐴) ⊆ (𝐴𝐴)))))
438, 40, 42mpbir2and 709 1 (𝐴 ∈ TosetRel → 𝐴 ∈ DirRel)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395   = wceq 1539  wcel 2108  cun 3881  cin 3882  wss 3883   cuni 4836   I cid 5479   × cxp 5578  ccnv 5579  dom cdm 5580  ran crn 5581  cres 5582  ccom 5584  Rel wrel 5585  PosetRelcps 18197   TosetRel ctsr 18198  DirRelcdir 18227
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-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-ima 5593  df-fun 6420  df-ps 18199  df-tsr 18200  df-dir 18229
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator