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

Theorem ordtri3 5986
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 5968 . . . . . 6 (Ord 𝐵 → ¬ 𝐵𝐵)
21adantl 469 . . . . 5 ((Ord 𝐴 ∧ Ord 𝐵) → ¬ 𝐵𝐵)
3 eleq2 2885 . . . . . 6 (𝐴 = 𝐵 → (𝐵𝐴𝐵𝐵))
43notbid 309 . . . . 5 (𝐴 = 𝐵 → (¬ 𝐵𝐴 ↔ ¬ 𝐵𝐵))
52, 4syl5ibrcom 238 . . . 4 ((Ord 𝐴 ∧ Ord 𝐵) → (𝐴 = 𝐵 → ¬ 𝐵𝐴))
65pm4.71d 553 . . 3 ((Ord 𝐴 ∧ Ord 𝐵) → (𝐴 = 𝐵 ↔ (𝐴 = 𝐵 ∧ ¬ 𝐵𝐴)))
7 pm5.61 1014 . . . 4 (((𝐴 = 𝐵𝐵𝐴) ∧ ¬ 𝐵𝐴) ↔ (𝐴 = 𝐵 ∧ ¬ 𝐵𝐴))
8 pm4.52 998 . . . 4 (((𝐴 = 𝐵𝐵𝐴) ∧ ¬ 𝐵𝐴) ↔ ¬ (¬ (𝐴 = 𝐵𝐵𝐴) ∨ 𝐵𝐴))
97, 8bitr3i 268 . . 3 ((𝐴 = 𝐵 ∧ ¬ 𝐵𝐴) ↔ ¬ (¬ (𝐴 = 𝐵𝐵𝐴) ∨ 𝐵𝐴))
106, 9syl6bb 278 . 2 ((Ord 𝐴 ∧ Ord 𝐵) → (𝐴 = 𝐵 ↔ ¬ (¬ (𝐴 = 𝐵𝐵𝐴) ∨ 𝐵𝐴)))
11 ordtri2 5985 . . . 4 ((Ord 𝐴 ∧ Ord 𝐵) → (𝐴𝐵 ↔ ¬ (𝐴 = 𝐵𝐵𝐴)))
1211orbi1d 931 . . 3 ((Ord 𝐴 ∧ Ord 𝐵) → ((𝐴𝐵𝐵𝐴) ↔ (¬ (𝐴 = 𝐵𝐵𝐴) ∨ 𝐵𝐴)))
1312notbid 309 . 2 ((Ord 𝐴 ∧ Ord 𝐵) → (¬ (𝐴𝐵𝐵𝐴) ↔ ¬ (¬ (𝐴 = 𝐵𝐵𝐴) ∨ 𝐵𝐴)))
1410, 13bitr4d 273 1 ((Ord 𝐴 ∧ Ord 𝐵) → (𝐴 = 𝐵 ↔ ¬ (𝐴𝐵𝐵𝐴)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 197  wa 384  wo 865   = wceq 1637  wcel 2157  Ord word 5949
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1877  ax-4 1894  ax-5 2001  ax-6 2069  ax-7 2105  ax-9 2166  ax-10 2186  ax-11 2202  ax-12 2215  ax-13 2422  ax-ext 2795  ax-sep 4988  ax-nul 4996  ax-pr 5109
This theorem depends on definitions:  df-bi 198  df-an 385  df-or 866  df-3or 1101  df-3an 1102  df-tru 1641  df-ex 1860  df-nf 1864  df-sb 2062  df-mo 2635  df-eu 2642  df-clab 2804  df-cleq 2810  df-clel 2813  df-nfc 2948  df-ne 2990  df-ral 3112  df-rex 3113  df-rab 3116  df-v 3404  df-sbc 3645  df-dif 3783  df-un 3785  df-in 3787  df-ss 3794  df-pss 3796  df-nul 4128  df-if 4291  df-sn 4382  df-pr 4384  df-op 4388  df-uni 4642  df-br 4856  df-opab 4918  df-tr 4958  df-eprel 5237  df-po 5245  df-so 5246  df-fr 5283  df-we 5285  df-ord 5953
This theorem is referenced by:  ordunisuc2  7284  tz7.48lem  7782  oacan  7875  omcan  7896  oecan  7916  omsmo  7981  omopthi  7984  inf3lem6  8787  cantnfp1lem3  8834  infpssrlem5  9424  fin23lem24  9439  isf32lem4  9473  om2uzf1oi  12996
  Copyright terms: Public domain W3C validator