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

Theorem tleile 18663
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 1156 . 2 ((𝐾 ∈ Toset ∧ 𝑋 ∈ 𝐵 ∧ 𝑌 ∈ 𝐵) → 𝑋 ∈ 𝐵)
2 simp3 1157 . 2 ((𝐾 ∈ Toset ∧ 𝑋 ∈ 𝐵 ∧ 𝑌 ∈ 𝐵) → 𝑌 ∈ 𝐵)
3 tleile.b . . . . 5 𝐵 = (Base‘𝐾)
4 tleile.l . . . . 5 ≤ = (le‘𝐾)
53, 4istos 18660 . . . 4 (𝐾 ∈ Toset ↔ (𝐾 ∈ Poset ∧ ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 (𝑥 ≤ 𝑦 ∨ 𝑦 ≤ 𝑥)))
65simprbi 503 . . 3 (𝐾 ∈ Toset → ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 (𝑥 ≤ 𝑦 ∨ 𝑦 ≤ 𝑥))
763ad2ant1 1152 . 2 ((𝐾 ∈ Toset ∧ 𝑋 ∈ 𝐵 ∧ 𝑌 ∈ 𝐵) → ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 (𝑥 ≤ 𝑦 ∨ 𝑦 ≤ 𝑥))
8 breq1 5114 . . . 4 (𝑥 = 𝑋 → (𝑥 ≤ 𝑦 ↔ 𝑋 ≤ 𝑦))
9 breq2 5115 . . . 4 (𝑥 = 𝑋 → (𝑦 ≤ 𝑥 ↔ 𝑦 ≤ 𝑋))
108, 9orbi12d 932 . . 3 (𝑥 = 𝑋 → ((𝑥 ≤ 𝑦 ∨ 𝑦 ≤ 𝑥) ↔ (𝑋 ≤ 𝑦 ∨ 𝑦 ≤ 𝑋)))
11 breq2 5115 . . . 4 (𝑦 = 𝑌 → (𝑋 ≤ 𝑦 ↔ 𝑋 ≤ 𝑌))
12 breq1 5114 . . . 4 (𝑦 = 𝑌 → (𝑦 ≤ 𝑋 ↔ 𝑌 ≤ 𝑋))
1311, 12orbi12d 932 . . 3 (𝑦 = 𝑌 → ((𝑋 ≤ 𝑦 ∨ 𝑦 ≤ 𝑋) ↔ (𝑋 ≤ 𝑌 ∨ 𝑌 ≤ 𝑋)))
1410, 13rspc2va 3593 . 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 1104   = wceq 1572   ∈ wcel 2151  ∀wral 3086   class class class wbr 5111  ‘cfv 6573  Basecbs 17447  lecple 17495  Posetcpo 18551  Tosetctos 18658
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-ext 2741  ax-nul 5269
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-sb 2105  df-clab 2748  df-cleq 2761  df-clel 2845  df-ne 2966  df-ral 3087  df-rex 3097  df-rab 3419  df-v 3458  df-sbc 3745  df-ss 3903  df-dif 4052  df-un 4156  df-nul 4284  df-if 4488  df-sn 4591  df-pr 4593  df-op 4844  df-uni 4876  df-br 5112  df-iota 6527  df-fv 6581  df-toset 18659
This theorem is used by:  tltnle  18664  odutos  33687  trleile  33690  toslat  50555
  Copyright terms: Public domain W3C validator