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

Theorem tleile 18573
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 18570 . . . 4 (𝐾 ∈ Toset ↔ (𝐾 ∈ Poset ∧ ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 (𝑥 ≤ 𝑦 ∨ 𝑦 ≤ 𝑥)))
65simprbi 503 . . 3 (𝐾 ∈ Toset → ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 (𝑥 ≤ 𝑦 ∨ 𝑦 ≤ 𝑥))
763ad2ant1 1151 . 2 ((𝐾 ∈ Toset ∧ 𝑋 ∈ 𝐵 ∧ 𝑌 ∈ 𝐵) → ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 (𝑥 ≤ 𝑦 ∨ 𝑦 ≤ 𝑥))
8 breq1 5106 . . . 4 (𝑥 = 𝑋 → (𝑥 ≤ 𝑦 ↔ 𝑋 ≤ 𝑦))
9 breq2 5107 . . . 4 (𝑥 = 𝑋 → (𝑦 ≤ 𝑥 ↔ 𝑦 ≤ 𝑋))
108, 9orbi12d 932 . . 3 (𝑥 = 𝑋 → ((𝑥 ≤ 𝑦 ∨ 𝑦 ≤ 𝑥) ↔ (𝑋 ≤ 𝑦 ∨ 𝑦 ≤ 𝑋)))
11 breq2 5107 . . . 4 (𝑦 = 𝑌 → (𝑋 ≤ 𝑦 ↔ 𝑋 ≤ 𝑌))
12 breq1 5106 . . . 4 (𝑦 = 𝑌 → (𝑦 ≤ 𝑋 ↔ 𝑌 ≤ 𝑋))
1311, 12orbi12d 932 . . 3 (𝑦 = 𝑌 → ((𝑋 ≤ 𝑦 ∨ 𝑦 ≤ 𝑋) ↔ (𝑋 ≤ 𝑌 ∨ 𝑌 ≤ 𝑋)))
1410, 13rspc2va 3588 . 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 1570   ∈ wcel 2145  ∀wral 3077   class class class wbr 5103  ‘cfv 6531  Basecbs 17367  lecple 17415  Posetcpo 18461  Tosetctos 18568
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-ext 2733  ax-nul 5260
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-sb 2100  df-clab 2740  df-cleq 2753  df-clel 2836  df-ne 2957  df-ral 3078  df-rex 3088  df-rab 3414  df-v 3453  df-sbc 3740  df-dif 3902  df-un 3904  df-ss 3916  df-nul 4280  df-if 4483  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-br 5104  df-iota 6487  df-fv 6539  df-toset 18569
This theorem is used by:  tltnle  18574  odutos  33511  trleile  33514  toslat  50034
  Copyright terms: Public domain W3C validator