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

Theorem ordtri3 5797
Description: A trichotomy law for ordinals. (Contributed by NM, 18-Oct-1995.) (Proof shortened by Andrew Salmon, 25-Jul-2011.) (Proof shortened by JJ, 24-Sep-2021.)
Assertion
Ref Expression
ordtri3 ((Ord 𝐴 ∧ Ord 𝐵) → (𝐴 = 𝐵 ↔ ¬ (𝐴𝐵𝐵𝐴)))

Proof of Theorem ordtri3
StepHypRef Expression
1 ordirr 5779 . . . . . 6 (Ord 𝐵 → ¬ 𝐵𝐵)
21adantl 481 . . . . 5 ((Ord 𝐴 ∧ Ord 𝐵) → ¬ 𝐵𝐵)
3 eleq2 2719 . . . . . 6 (𝐴 = 𝐵 → (𝐵𝐴𝐵𝐵))
43notbid 307 . . . . 5 (𝐴 = 𝐵 → (¬ 𝐵𝐴 ↔ ¬ 𝐵𝐵))
52, 4syl5ibrcom 237 . . . 4 ((Ord 𝐴 ∧ Ord 𝐵) → (𝐴 = 𝐵 → ¬ 𝐵𝐴))
65pm4.71d 667 . . 3 ((Ord 𝐴 ∧ Ord 𝐵) → (𝐴 = 𝐵 ↔ (𝐴 = 𝐵 ∧ ¬ 𝐵𝐴)))
7 pm5.61 749 . . . 4 (((𝐴 = 𝐵𝐵𝐴) ∧ ¬ 𝐵𝐴) ↔ (𝐴 = 𝐵 ∧ ¬ 𝐵𝐴))
8 pm4.52 511 . . . 4 (((𝐴 = 𝐵𝐵𝐴) ∧ ¬ 𝐵𝐴) ↔ ¬ (¬ (𝐴 = 𝐵𝐵𝐴) ∨ 𝐵𝐴))
97, 8bitr3i 266 . . 3 ((𝐴 = 𝐵 ∧ ¬ 𝐵𝐴) ↔ ¬ (¬ (𝐴 = 𝐵𝐵𝐴) ∨ 𝐵𝐴))
106, 9syl6bb 276 . 2 ((Ord 𝐴 ∧ Ord 𝐵) → (𝐴 = 𝐵 ↔ ¬ (¬ (𝐴 = 𝐵𝐵𝐴) ∨ 𝐵𝐴)))
11 ordtri2 5796 . . . 4 ((Ord 𝐴 ∧ Ord 𝐵) → (𝐴𝐵 ↔ ¬ (𝐴 = 𝐵𝐵𝐴)))
1211orbi1d 739 . . 3 ((Ord 𝐴 ∧ Ord 𝐵) → ((𝐴𝐵𝐵𝐴) ↔ (¬ (𝐴 = 𝐵𝐵𝐴) ∨ 𝐵𝐴)))
1312notbid 307 . 2 ((Ord 𝐴 ∧ Ord 𝐵) → (¬ (𝐴𝐵𝐵𝐴) ↔ ¬ (¬ (𝐴 = 𝐵𝐵𝐴) ∨ 𝐵𝐴)))
1410, 13bitr4d 271 1 ((Ord 𝐴 ∧ Ord 𝐵) → (𝐴 = 𝐵 ↔ ¬ (𝐴𝐵𝐵𝐴)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 196  wo 382  wa 383   = wceq 1523  wcel 2030  Ord word 5760
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1762  ax-4 1777  ax-5 1879  ax-6 1945  ax-7 1981  ax-9 2039  ax-10 2059  ax-11 2074  ax-12 2087  ax-13 2282  ax-ext 2631  ax-sep 4814  ax-nul 4822  ax-pr 4936
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3or 1055  df-3an 1056  df-tru 1526  df-ex 1745  df-nf 1750  df-sb 1938  df-eu 2502  df-mo 2503  df-clab 2638  df-cleq 2644  df-clel 2647  df-nfc 2782  df-ne 2824  df-ral 2946  df-rex 2947  df-rab 2950  df-v 3233  df-sbc 3469  df-dif 3610  df-un 3612  df-in 3614  df-ss 3621  df-pss 3623  df-nul 3949  df-if 4120  df-sn 4211  df-pr 4213  df-op 4217  df-uni 4469  df-br 4686  df-opab 4746  df-tr 4786  df-eprel 5058  df-po 5064  df-so 5065  df-fr 5102  df-we 5104  df-ord 5764
This theorem is referenced by:  ordunisuc2  7086  tz7.48lem  7581  oacan  7673  omcan  7694  oecan  7714  omsmo  7779  omopthi  7782  inf3lem6  8568  cantnfp1lem3  8615  infpssrlem5  9167  fin23lem24  9182  isf32lem4  9216  om2uzf1oi  12792
  Copyright terms: Public domain W3C validator