Users' Mathboxes Mathbox for Thierry Arnoux < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  trleile Structured version   Visualization version   GIF version

Theorem trleile 28997
Description: In a Toset, two elements must compare. (Contributed by Thierry Arnoux, 12-Sep-2018.)
Hypotheses
Ref Expression
trleile.b 𝐵 = (Base‘𝐾)
trleile.l = ((le‘𝐾) ∩ (𝐵 × 𝐵))
Assertion
Ref Expression
trleile ((𝐾 ∈ Toset ∧ 𝑋𝐵𝑌𝐵) → (𝑋 𝑌𝑌 𝑋))

Proof of Theorem trleile
StepHypRef Expression
1 trleile.b . . . 4 𝐵 = (Base‘𝐾)
2 eqid 2610 . . . 4 (le‘𝐾) = (le‘𝐾)
31, 2tleile 28992 . . 3 ((𝐾 ∈ Toset ∧ 𝑋𝐵𝑌𝐵) → (𝑋(le‘𝐾)𝑌𝑌(le‘𝐾)𝑋))
4 3simpc 1053 . . . . . 6 ((𝐾 ∈ Toset ∧ 𝑋𝐵𝑌𝐵) → (𝑋𝐵𝑌𝐵))
5 brxp 5071 . . . . . 6 (𝑋(𝐵 × 𝐵)𝑌 ↔ (𝑋𝐵𝑌𝐵))
64, 5sylibr 223 . . . . 5 ((𝐾 ∈ Toset ∧ 𝑋𝐵𝑌𝐵) → 𝑋(𝐵 × 𝐵)𝑌)
7 brin 4634 . . . . . 6 (𝑋((le‘𝐾) ∩ (𝐵 × 𝐵))𝑌 ↔ (𝑋(le‘𝐾)𝑌𝑋(𝐵 × 𝐵)𝑌))
87rbaib 945 . . . . 5 (𝑋(𝐵 × 𝐵)𝑌 → (𝑋((le‘𝐾) ∩ (𝐵 × 𝐵))𝑌𝑋(le‘𝐾)𝑌))
96, 8syl 17 . . . 4 ((𝐾 ∈ Toset ∧ 𝑋𝐵𝑌𝐵) → (𝑋((le‘𝐾) ∩ (𝐵 × 𝐵))𝑌𝑋(le‘𝐾)𝑌))
104ancomd 466 . . . . . 6 ((𝐾 ∈ Toset ∧ 𝑋𝐵𝑌𝐵) → (𝑌𝐵𝑋𝐵))
11 brxp 5071 . . . . . 6 (𝑌(𝐵 × 𝐵)𝑋 ↔ (𝑌𝐵𝑋𝐵))
1210, 11sylibr 223 . . . . 5 ((𝐾 ∈ Toset ∧ 𝑋𝐵𝑌𝐵) → 𝑌(𝐵 × 𝐵)𝑋)
13 brin 4634 . . . . . 6 (𝑌((le‘𝐾) ∩ (𝐵 × 𝐵))𝑋 ↔ (𝑌(le‘𝐾)𝑋𝑌(𝐵 × 𝐵)𝑋))
1413rbaib 945 . . . . 5 (𝑌(𝐵 × 𝐵)𝑋 → (𝑌((le‘𝐾) ∩ (𝐵 × 𝐵))𝑋𝑌(le‘𝐾)𝑋))
1512, 14syl 17 . . . 4 ((𝐾 ∈ Toset ∧ 𝑋𝐵𝑌𝐵) → (𝑌((le‘𝐾) ∩ (𝐵 × 𝐵))𝑋𝑌(le‘𝐾)𝑋))
169, 15orbi12d 742 . . 3 ((𝐾 ∈ Toset ∧ 𝑋𝐵𝑌𝐵) → ((𝑋((le‘𝐾) ∩ (𝐵 × 𝐵))𝑌𝑌((le‘𝐾) ∩ (𝐵 × 𝐵))𝑋) ↔ (𝑋(le‘𝐾)𝑌𝑌(le‘𝐾)𝑋)))
173, 16mpbird 246 . 2 ((𝐾 ∈ Toset ∧ 𝑋𝐵𝑌𝐵) → (𝑋((le‘𝐾) ∩ (𝐵 × 𝐵))𝑌𝑌((le‘𝐾) ∩ (𝐵 × 𝐵))𝑋))
18 trleile.l . . . 4 = ((le‘𝐾) ∩ (𝐵 × 𝐵))
1918breqi 4589 . . 3 (𝑋 𝑌𝑋((le‘𝐾) ∩ (𝐵 × 𝐵))𝑌)
2018breqi 4589 . . 3 (𝑌 𝑋𝑌((le‘𝐾) ∩ (𝐵 × 𝐵))𝑋)
2119, 20orbi12i 542 . 2 ((𝑋 𝑌𝑌 𝑋) ↔ (𝑋((le‘𝐾) ∩ (𝐵 × 𝐵))𝑌𝑌((le‘𝐾) ∩ (𝐵 × 𝐵))𝑋))
2217, 21sylibr 223 1 ((𝐾 ∈ Toset ∧ 𝑋𝐵𝑌𝐵) → (𝑋 𝑌𝑌 𝑋))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 195  wo 382  wa 383  w3a 1031   = wceq 1475  wcel 1977  cin 3539   class class class wbr 4583   × cxp 5036  cfv 5804  Basecbs 15695  lecple 15775  Tosetctos 16856
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-9 1986  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590  ax-sep 4709  ax-nul 4717  ax-pr 4833
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3an 1033  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-eu 2462  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ral 2901  df-rex 2902  df-rab 2905  df-v 3175  df-sbc 3403  df-dif 3543  df-un 3545  df-in 3547  df-ss 3554  df-nul 3875  df-if 4037  df-sn 4126  df-pr 4128  df-op 4132  df-uni 4373  df-br 4584  df-opab 4644  df-xp 5044  df-iota 5768  df-fv 5812  df-toset 16857
This theorem is referenced by:  ordtrest2NEWlem  29296  ordtconlem1  29298
  Copyright terms: Public domain W3C validator