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

Theorem sotrieq 4986
Description: Trichotomy law for strict order relation. (Contributed by NM, 9-Apr-1996.) (Proof shortened by Andrew Salmon, 25-Jul-2011.)
Assertion
Ref Expression
sotrieq ((𝑅 Or 𝐴 ∧ (𝐵𝐴𝐶𝐴)) → (𝐵 = 𝐶 ↔ ¬ (𝐵𝑅𝐶𝐶𝑅𝐵)))

Proof of Theorem sotrieq
StepHypRef Expression
1 sonr 4980 . . . . . . 7 ((𝑅 Or 𝐴𝐵𝐴) → ¬ 𝐵𝑅𝐵)
21adantrr 749 . . . . . 6 ((𝑅 Or 𝐴 ∧ (𝐵𝐴𝐶𝐴)) → ¬ 𝐵𝑅𝐵)
3 pm1.2 534 . . . . . 6 ((𝐵𝑅𝐵𝐵𝑅𝐵) → 𝐵𝑅𝐵)
42, 3nsyl 134 . . . . 5 ((𝑅 Or 𝐴 ∧ (𝐵𝐴𝐶𝐴)) → ¬ (𝐵𝑅𝐵𝐵𝑅𝐵))
5 breq2 4587 . . . . . . 7 (𝐵 = 𝐶 → (𝐵𝑅𝐵𝐵𝑅𝐶))
6 breq1 4586 . . . . . . 7 (𝐵 = 𝐶 → (𝐵𝑅𝐵𝐶𝑅𝐵))
75, 6orbi12d 742 . . . . . 6 (𝐵 = 𝐶 → ((𝐵𝑅𝐵𝐵𝑅𝐵) ↔ (𝐵𝑅𝐶𝐶𝑅𝐵)))
87notbid 307 . . . . 5 (𝐵 = 𝐶 → (¬ (𝐵𝑅𝐵𝐵𝑅𝐵) ↔ ¬ (𝐵𝑅𝐶𝐶𝑅𝐵)))
94, 8syl5ibcom 234 . . . 4 ((𝑅 Or 𝐴 ∧ (𝐵𝐴𝐶𝐴)) → (𝐵 = 𝐶 → ¬ (𝐵𝑅𝐶𝐶𝑅𝐵)))
109con2d 128 . . 3 ((𝑅 Or 𝐴 ∧ (𝐵𝐴𝐶𝐴)) → ((𝐵𝑅𝐶𝐶𝑅𝐵) → ¬ 𝐵 = 𝐶))
11 solin 4982 . . . . . 6 ((𝑅 Or 𝐴 ∧ (𝐵𝐴𝐶𝐴)) → (𝐵𝑅𝐶𝐵 = 𝐶𝐶𝑅𝐵))
12 3orass 1034 . . . . . 6 ((𝐵𝑅𝐶𝐵 = 𝐶𝐶𝑅𝐵) ↔ (𝐵𝑅𝐶 ∨ (𝐵 = 𝐶𝐶𝑅𝐵)))
1311, 12sylib 207 . . . . 5 ((𝑅 Or 𝐴 ∧ (𝐵𝐴𝐶𝐴)) → (𝐵𝑅𝐶 ∨ (𝐵 = 𝐶𝐶𝑅𝐵)))
14 or12 544 . . . . 5 ((𝐵𝑅𝐶 ∨ (𝐵 = 𝐶𝐶𝑅𝐵)) ↔ (𝐵 = 𝐶 ∨ (𝐵𝑅𝐶𝐶𝑅𝐵)))
1513, 14sylib 207 . . . 4 ((𝑅 Or 𝐴 ∧ (𝐵𝐴𝐶𝐴)) → (𝐵 = 𝐶 ∨ (𝐵𝑅𝐶𝐶𝑅𝐵)))
1615ord 391 . . 3 ((𝑅 Or 𝐴 ∧ (𝐵𝐴𝐶𝐴)) → (¬ 𝐵 = 𝐶 → (𝐵𝑅𝐶𝐶𝑅𝐵)))
1710, 16impbid 201 . 2 ((𝑅 Or 𝐴 ∧ (𝐵𝐴𝐶𝐴)) → ((𝐵𝑅𝐶𝐶𝑅𝐵) ↔ ¬ 𝐵 = 𝐶))
1817con2bid 343 1 ((𝑅 Or 𝐴 ∧ (𝐵𝐴𝐶𝐴)) → (𝐵 = 𝐶 ↔ ¬ (𝐵𝑅𝐶𝐶𝑅𝐵)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 195  wo 382  wa 383  w3o 1030   = wceq 1475  wcel 1977   class class class wbr 4583   Or wor 4958
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-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3or 1032  df-3an 1033  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ral 2901  df-rab 2905  df-v 3175  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-br 4584  df-po 4959  df-so 4960
This theorem is referenced by:  sotrieq2  4987  sossfld  5499  soisores  6477  soisoi  6478  weniso  6504  wemapsolem  8338  distrlem4pr  9727  addcanpr  9747  sqgt0sr  9806  lttri2  9999  xrlttri2  11851  xrltne  11870  soseq  30995
  Copyright terms: Public domain W3C validator