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

Theorem ordunpr 7837
Description: The maximum of two ordinals is equal to one of them. (Contributed by Mario Carneiro, 25-Jun-2015.)
Assertion
Ref Expression
ordunpr ((𝐵 ∈ On ∧ 𝐶 ∈ On) → (𝐵 ∪ 𝐶) ∈ {𝐵, 𝐶})

Proof of Theorem ordunpr
StepHypRef Expression
1 eloni 6372 . . . . 5 (𝐵 ∈ On → Ord 𝐵)
2 eloni 6372 . . . . 5 (𝐶 ∈ On → Ord 𝐶)
3 ordtri2or2 6464 . . . . 5 ((Ord 𝐵 ∧ Ord 𝐶) → (𝐵 ⊆ 𝐶 ∨ 𝐶 ⊆ 𝐵))
41, 2, 3syl2an 608 . . . 4 ((𝐵 ∈ On ∧ 𝐶 ∈ On) → (𝐵 ⊆ 𝐶 ∨ 𝐶 ⊆ 𝐵))
54orcomd 885 . . 3 ((𝐵 ∈ On ∧ 𝐶 ∈ On) → (𝐶 ⊆ 𝐵 ∨ 𝐵 ⊆ 𝐶))
6 ssequn2 4187 . . . 4 (𝐶 ⊆ 𝐵 ↔ (𝐵 ∪ 𝐶) = 𝐵)
7 ssequn1 4184 . . . 4 (𝐵 ⊆ 𝐶 ↔ (𝐵 ∪ 𝐶) = 𝐶)
86, 7orbi12i 928 . . 3 ((𝐶 ⊆ 𝐵 ∨ 𝐵 ⊆ 𝐶) ↔ ((𝐵 ∪ 𝐶) = 𝐵 ∨ (𝐵 ∪ 𝐶) = 𝐶))
95, 8sylib 221 . 2 ((𝐵 ∈ On ∧ 𝐶 ∈ On) → ((𝐵 ∪ 𝐶) = 𝐵 ∨ (𝐵 ∪ 𝐶) = 𝐶))
10 unexg 7760 . . 3 ((𝐵 ∈ On ∧ 𝐶 ∈ On) → (𝐵 ∪ 𝐶) ∈ V)
11 elprg 4606 . . 3 ((𝐵 ∪ 𝐶) ∈ V → ((𝐵 ∪ 𝐶) ∈ {𝐵, 𝐶} ↔ ((𝐵 ∪ 𝐶) = 𝐵 ∨ (𝐵 ∪ 𝐶) = 𝐶)))
1210, 11syl 18 . 2 ((𝐵 ∈ On ∧ 𝐶 ∈ On) → ((𝐵 ∪ 𝐶) ∈ {𝐵, 𝐶} ↔ ((𝐵 ∪ 𝐶) = 𝐵 ∨ (𝐵 ∪ 𝐶) = 𝐶)))
139, 12mpbird 260 1 ((𝐵 ∈ On ∧ 𝐶 ∈ On) → (𝐵 ∪ 𝐶) ∈ {𝐵, 𝐶})
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   ∨ wo 861   = wceq 1569   ∈ wcel 2144  Vcvv 3450   ⊆ wss 3895   ∪ cun 4149  {cpr 4585  Ord word 6361  Oncon0 6362
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-ext 2732  ax-sep 5248  ax-pr 5390  ax-un 7751
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-ne 2956  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-ss 3896  df-pss 4014  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-pw 4558  df-sn 4584  df-pr 4586  df-op 4590  df-uni 4867  df-br 5103  df-opab 5167  df-tr 5212  df-eprel 5550  df-po 5558  df-so 5559  df-fr 5603  df-we 5605  df-ord 6365  df-on 6366
This theorem is used by:  ordunel  7838  r0weon  10091
  Copyright terms: Public domain W3C validator