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

Theorem ordtri3or 6397
Description: A trichotomy law for ordinals. Proposition 7.10 of [TakeutiZaring] p. 38. Theorem 1.9(iii) of [Schloeder] p. 1. (Contributed by NM, 10-May-1994.) (Proof shortened by Andrew Salmon, 25-Jul-2011.)
Assertion
Ref Expression
ordtri3or ((Ord 𝐴 ∧ Ord 𝐵) → (𝐴𝐵𝐴 = 𝐵𝐵𝐴))

Proof of Theorem ordtri3or
StepHypRef Expression
1 ordin 6395 . . . . . 6 ((Ord 𝐴 ∧ Ord 𝐵) → Ord (𝐴𝐵))
2 ordirr 6383 . . . . . 6 (Ord (𝐴𝐵) → ¬ (𝐴𝐵) ∈ (𝐴𝐵))
31, 2syl 17 . . . . 5 ((Ord 𝐴 ∧ Ord 𝐵) → ¬ (𝐴𝐵) ∈ (𝐴𝐵))
4 ianor 981 . . . . . 6 (¬ ((𝐴𝐵) ∈ 𝐴 ∧ (𝐵𝐴) ∈ 𝐵) ↔ (¬ (𝐴𝐵) ∈ 𝐴 ∨ ¬ (𝐵𝐴) ∈ 𝐵))
5 elin 3965 . . . . . . 7 ((𝐴𝐵) ∈ (𝐴𝐵) ↔ ((𝐴𝐵) ∈ 𝐴 ∧ (𝐴𝐵) ∈ 𝐵))
6 incom 4202 . . . . . . . . 9 (𝐴𝐵) = (𝐵𝐴)
76eleq1i 2825 . . . . . . . 8 ((𝐴𝐵) ∈ 𝐵 ↔ (𝐵𝐴) ∈ 𝐵)
87anbi2i 624 . . . . . . 7 (((𝐴𝐵) ∈ 𝐴 ∧ (𝐴𝐵) ∈ 𝐵) ↔ ((𝐴𝐵) ∈ 𝐴 ∧ (𝐵𝐴) ∈ 𝐵))
95, 8bitri 275 . . . . . 6 ((𝐴𝐵) ∈ (𝐴𝐵) ↔ ((𝐴𝐵) ∈ 𝐴 ∧ (𝐵𝐴) ∈ 𝐵))
104, 9xchnxbir 333 . . . . 5 (¬ (𝐴𝐵) ∈ (𝐴𝐵) ↔ (¬ (𝐴𝐵) ∈ 𝐴 ∨ ¬ (𝐵𝐴) ∈ 𝐵))
113, 10sylib 217 . . . 4 ((Ord 𝐴 ∧ Ord 𝐵) → (¬ (𝐴𝐵) ∈ 𝐴 ∨ ¬ (𝐵𝐴) ∈ 𝐵))
12 inss1 4229 . . . . . . . . . 10 (𝐴𝐵) ⊆ 𝐴
13 ordsseleq 6394 . . . . . . . . . 10 ((Ord (𝐴𝐵) ∧ Ord 𝐴) → ((𝐴𝐵) ⊆ 𝐴 ↔ ((𝐴𝐵) ∈ 𝐴 ∨ (𝐴𝐵) = 𝐴)))
1412, 13mpbii 232 . . . . . . . . 9 ((Ord (𝐴𝐵) ∧ Ord 𝐴) → ((𝐴𝐵) ∈ 𝐴 ∨ (𝐴𝐵) = 𝐴))
151, 14sylan 581 . . . . . . . 8 (((Ord 𝐴 ∧ Ord 𝐵) ∧ Ord 𝐴) → ((𝐴𝐵) ∈ 𝐴 ∨ (𝐴𝐵) = 𝐴))
1615anabss1 665 . . . . . . 7 ((Ord 𝐴 ∧ Ord 𝐵) → ((𝐴𝐵) ∈ 𝐴 ∨ (𝐴𝐵) = 𝐴))
1716ord 863 . . . . . 6 ((Ord 𝐴 ∧ Ord 𝐵) → (¬ (𝐴𝐵) ∈ 𝐴 → (𝐴𝐵) = 𝐴))
18 df-ss 3966 . . . . . 6 (𝐴𝐵 ↔ (𝐴𝐵) = 𝐴)
1917, 18imbitrrdi 251 . . . . 5 ((Ord 𝐴 ∧ Ord 𝐵) → (¬ (𝐴𝐵) ∈ 𝐴𝐴𝐵))
20 ordin 6395 . . . . . . . . 9 ((Ord 𝐵 ∧ Ord 𝐴) → Ord (𝐵𝐴))
21 inss1 4229 . . . . . . . . . 10 (𝐵𝐴) ⊆ 𝐵
22 ordsseleq 6394 . . . . . . . . . 10 ((Ord (𝐵𝐴) ∧ Ord 𝐵) → ((𝐵𝐴) ⊆ 𝐵 ↔ ((𝐵𝐴) ∈ 𝐵 ∨ (𝐵𝐴) = 𝐵)))
2321, 22mpbii 232 . . . . . . . . 9 ((Ord (𝐵𝐴) ∧ Ord 𝐵) → ((𝐵𝐴) ∈ 𝐵 ∨ (𝐵𝐴) = 𝐵))
2420, 23sylan 581 . . . . . . . 8 (((Ord 𝐵 ∧ Ord 𝐴) ∧ Ord 𝐵) → ((𝐵𝐴) ∈ 𝐵 ∨ (𝐵𝐴) = 𝐵))
2524anabss4 666 . . . . . . 7 ((Ord 𝐴 ∧ Ord 𝐵) → ((𝐵𝐴) ∈ 𝐵 ∨ (𝐵𝐴) = 𝐵))
2625ord 863 . . . . . 6 ((Ord 𝐴 ∧ Ord 𝐵) → (¬ (𝐵𝐴) ∈ 𝐵 → (𝐵𝐴) = 𝐵))
27 df-ss 3966 . . . . . 6 (𝐵𝐴 ↔ (𝐵𝐴) = 𝐵)
2826, 27imbitrrdi 251 . . . . 5 ((Ord 𝐴 ∧ Ord 𝐵) → (¬ (𝐵𝐴) ∈ 𝐵𝐵𝐴))
2919, 28orim12d 964 . . . 4 ((Ord 𝐴 ∧ Ord 𝐵) → ((¬ (𝐴𝐵) ∈ 𝐴 ∨ ¬ (𝐵𝐴) ∈ 𝐵) → (𝐴𝐵𝐵𝐴)))
3011, 29mpd 15 . . 3 ((Ord 𝐴 ∧ Ord 𝐵) → (𝐴𝐵𝐵𝐴))
31 sspsstri 4103 . . 3 ((𝐴𝐵𝐵𝐴) ↔ (𝐴𝐵𝐴 = 𝐵𝐵𝐴))
3230, 31sylib 217 . 2 ((Ord 𝐴 ∧ Ord 𝐵) → (𝐴𝐵𝐴 = 𝐵𝐵𝐴))
33 ordelpss 6393 . . 3 ((Ord 𝐴 ∧ Ord 𝐵) → (𝐴𝐵𝐴𝐵))
34 biidd 262 . . 3 ((Ord 𝐴 ∧ Ord 𝐵) → (𝐴 = 𝐵𝐴 = 𝐵))
35 ordelpss 6393 . . . 4 ((Ord 𝐵 ∧ Ord 𝐴) → (𝐵𝐴𝐵𝐴))
3635ancoms 460 . . 3 ((Ord 𝐴 ∧ Ord 𝐵) → (𝐵𝐴𝐵𝐴))
3733, 34, 363orbi123d 1436 . 2 ((Ord 𝐴 ∧ Ord 𝐵) → ((𝐴𝐵𝐴 = 𝐵𝐵𝐴) ↔ (𝐴𝐵𝐴 = 𝐵𝐵𝐴)))
3832, 37mpbird 257 1 ((Ord 𝐴 ∧ Ord 𝐵) → (𝐴𝐵𝐴 = 𝐵𝐵𝐴))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 397  wo 846  w3o 1087   = wceq 1542  wcel 2107  cin 3948  wss 3949  wpss 3950  Ord word 6364
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2109  ax-9 2117  ax-ext 2704  ax-sep 5300  ax-nul 5307  ax-pr 5428
This theorem depends on definitions:  df-bi 206  df-an 398  df-or 847  df-3or 1089  df-3an 1090  df-tru 1545  df-fal 1555  df-ex 1783  df-sb 2069  df-clab 2711  df-cleq 2725  df-clel 2811  df-ne 2942  df-ral 3063  df-rex 3072  df-rab 3434  df-v 3477  df-dif 3952  df-un 3954  df-in 3956  df-ss 3966  df-pss 3968  df-nul 4324  df-if 4530  df-pw 4605  df-sn 4630  df-pr 4632  df-op 4636  df-uni 4910  df-br 5150  df-opab 5212  df-tr 5267  df-eprel 5581  df-po 5589  df-so 5590  df-fr 5632  df-we 5634  df-ord 6368
This theorem is referenced by:  ordtri1  6398  epweon  7762  epweonALT  7763  ordeleqon  7769  poseq  8144  soseq  8145  smo11  8364  smoord  8365  omopth2  8584  ttrcltr  9711  r111  9770  tcrank  9879  domtriomlem  10437  axdc3lem2  10446  zorn2lem6  10496  grur1  10815  nosepon  27168  addsproplem7  27459  negsproplem7  27508  mulsproplem13  27584  mulsproplem14  27585  oneltri  42007
  Copyright terms: Public domain W3C validator