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

Theorem ordunpr 7820
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 6361 . . . . 5 (𝐵 ∈ On → Ord 𝐵)
2 eloni 6361 . . . . 5 (𝐶 ∈ On → Ord 𝐶)
3 ordtri2or2 6453 . . . . 5 ((Ord 𝐵 ∧ Ord 𝐶) → (𝐵 ⊆ 𝐶 ∨ 𝐶 ⊆ 𝐵))
41, 2, 3syl2an 608 . . . 4 ((𝐵 ∈ On ∧ 𝐶 ∈ On) → (𝐵 ⊆ 𝐶 ∨ 𝐶 ⊆ 𝐵))
54orcomd 885 . . 3 ((𝐵 ∈ On ∧ 𝐶 ∈ On) → (𝐶 ⊆ 𝐵 ∨ 𝐵 ⊆ 𝐶))
6 ssequn2 4134 . . . 4 (𝐶 ⊆ 𝐵 ↔ (𝐵 ∪ 𝐶) = 𝐵)
7 ssequn1 4131 . . . 4 (𝐵 ⊆ 𝐶 ↔ (𝐵 ∪ 𝐶) = 𝐶)
86, 7orbi12i 928 . . 3 ((𝐶 ⊆ 𝐵 ∨ 𝐵 ⊆ 𝐶) ↔ ((𝐵 ∪ 𝐶) = 𝐵 ∨ (𝐵 ∪ 𝐶) = 𝐶))
95, 8sylib 221 . 2 ((𝐵 ∈ On ∧ 𝐶 ∈ On) → ((𝐵 ∪ 𝐶) = 𝐵 ∨ (𝐵 ∪ 𝐶) = 𝐶))
10 unexg 7743 . . 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 1570   ∈ wcel 2145  Vcvv 3450   ∪ cun 3896   ⊆ wss 3898  {cpr 4585  Ord word 6350  Oncon0 6351
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-ext 2732  ax-sep 5248  ax-pr 5390  ax-un 7734
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-sb 2100  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-dif 3901  df-un 3903  df-in 3905  df-ss 3915  df-pss 3918  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 5547  df-po 5555  df-so 5556  df-fr 5600  df-we 5602  df-ord 6354  df-on 6355
This theorem is used by:  ordunel  7821  r0weon  10062
  Copyright terms: Public domain W3C validator