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

Theorem tleile 18599
Description: In a Toset, any two elements are comparable. (Contributed by Thierry Arnoux, 11-Feb-2018.)
Hypotheses
Ref Expression
tleile.b 𝐵 = (Base‘𝐾)
tleile.l ≤ = (le‘𝐾)
Assertion
Ref Expression
tleile ((𝐾 ∈ Toset ∧ 𝑋 ∈ 𝐵 ∧ 𝑌 ∈ 𝐵) → (𝑋 ≤ 𝑌 ∨ 𝑌 ≤ 𝑋))

Proof of Theorem tleile
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 simp2 1155 . 2 ((𝐾 ∈ Toset ∧ 𝑋 ∈ 𝐵 ∧ 𝑌 ∈ 𝐵) → 𝑋 ∈ 𝐵)
2 simp3 1156 . 2 ((𝐾 ∈ Toset ∧ 𝑋 ∈ 𝐵 ∧ 𝑌 ∈ 𝐵) → 𝑌 ∈ 𝐵)
3 tleile.b . . . . 5 𝐵 = (Base‘𝐾)
4 tleile.l . . . . 5 ≤ = (le‘𝐾)
53, 4istos 18596 . . . 4 (𝐾 ∈ Toset ↔ (𝐾 ∈ Poset ∧ ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 (𝑥 ≤ 𝑦 ∨ 𝑦 ≤ 𝑥)))
65simprbi 503 . . 3 (𝐾 ∈ Toset → ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 (𝑥 ≤ 𝑦 ∨ 𝑦 ≤ 𝑥))
763ad2ant1 1151 . 2 ((𝐾 ∈ Toset ∧ 𝑋 ∈ 𝐵 ∧ 𝑌 ∈ 𝐵) → ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 (𝑥 ≤ 𝑦 ∨ 𝑦 ≤ 𝑥))
8 breq1 5105 . . . 4 (𝑥 = 𝑋 → (𝑥 ≤ 𝑦 ↔ 𝑋 ≤ 𝑦))
9 breq2 5106 . . . 4 (𝑥 = 𝑋 → (𝑦 ≤ 𝑥 ↔ 𝑦 ≤ 𝑋))
108, 9orbi12d 932 . . 3 (𝑥 = 𝑋 → ((𝑥 ≤ 𝑦 ∨ 𝑦 ≤ 𝑥) ↔ (𝑋 ≤ 𝑦 ∨ 𝑦 ≤ 𝑋)))
11 breq2 5106 . . . 4 (𝑦 = 𝑌 → (𝑋 ≤ 𝑦 ↔ 𝑋 ≤ 𝑌))
12 breq1 5105 . . . 4 (𝑦 = 𝑌 → (𝑦 ≤ 𝑋 ↔ 𝑌 ≤ 𝑋))
1311, 12orbi12d 932 . . 3 (𝑦 = 𝑌 → ((𝑋 ≤ 𝑦 ∨ 𝑦 ≤ 𝑋) ↔ (𝑋 ≤ 𝑌 ∨ 𝑌 ≤ 𝑋)))
1410, 13rspc2va 3587 . 2 (((𝑋 ∈ 𝐵 ∧ 𝑌 ∈ 𝐵) ∧ ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 (𝑥 ≤ 𝑦 ∨ 𝑦 ≤ 𝑥)) → (𝑋 ≤ 𝑌 ∨ 𝑌 ≤ 𝑋))
151, 2, 7, 14syl21anc 851 1 ((𝐾 ∈ Toset ∧ 𝑋 ∈ 𝐵 ∧ 𝑌 ∈ 𝐵) → (𝑋 ≤ 𝑌 ∨ 𝑌 ≤ 𝑋))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∨ wo 861   ∧ w3a 1103   = wceq 1569   ∈ wcel 2144  ∀wral 3076   class class class wbr 5102  ‘cfv 6539  Basecbs 17393  lecple 17441  Posetcpo 18487  Tosetctos 18594
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-ext 2732  ax-nul 5259
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-ne 2956  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-sbc 3739  df-ss 3896  df-dif 4047  df-un 4151  df-nul 4279  df-if 4482  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-br 5103  df-iota 6494  df-fv 6547  df-toset 18595
This theorem is used by:  tltnle  18600  odutos  33576  trleile  33579  toslat  50190
  Copyright terms: Public domain W3C validator