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

Theorem ordunpr 7875
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 6402 . . . . 5 (𝐵 ∈ On → Ord 𝐵)
2 eloni 6402 . . . . 5 (𝐶 ∈ On → Ord 𝐶)
3 ordtri2or2 6494 . . . . 5 ((Ord 𝐵 ∧ Ord 𝐶) → (𝐵 ⊆ 𝐶 ∨ 𝐶 ⊆ 𝐵))
41, 2, 3syl2an 608 . . . 4 ((𝐵 ∈ On ∧ 𝐶 ∈ On) → (𝐵 ⊆ 𝐶 ∨ 𝐶 ⊆ 𝐵))
54orcomd 885 . . 3 ((𝐵 ∈ On ∧ 𝐶 ∈ On) → (𝐶 ⊆ 𝐵 ∨ 𝐵 ⊆ 𝐶))
6 ssequn2 4192 . . . 4 (𝐶 ⊆ 𝐵 ↔ (𝐵 ∪ 𝐶) = 𝐵)
7 ssequn1 4189 . . . 4 (𝐵 ⊆ 𝐶 ↔ (𝐵 ∪ 𝐶) = 𝐶)
86, 7orbi12i 928 . . 3 ((𝐶 ⊆ 𝐵 ∨ 𝐵 ⊆ 𝐶) ↔ ((𝐵 ∪ 𝐶) = 𝐵 ∨ (𝐵 ∪ 𝐶) = 𝐶))
95, 8sylib 221 . 2 ((𝐵 ∈ On ∧ 𝐶 ∈ On) → ((𝐵 ∪ 𝐶) = 𝐵 ∨ (𝐵 ∪ 𝐶) = 𝐶))
10 unexg 7796 . . 3 ((𝐵 ∈ On ∧ 𝐶 ∈ On) → (𝐵 ∪ 𝐶) ∈ V)
11 elprg 4609 . . 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 1572   ∈ wcel 2151  Vcvv 3456   ⊆ wss 3902   ∪ cun 4154  {cpr 4592  Ord word 6391  Oncon0 6392
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-ext 2741  ax-sep 5258  ax-pr 5401  ax-un 7787
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1105  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-sb 2105  df-clab 2748  df-cleq 2761  df-clel 2845  df-ne 2966  df-ral 3087  df-rex 3097  df-rab 3419  df-v 3458  df-ss 3903  df-pss 4019  df-dif 4052  df-in 4096  df-un 4156  df-nul 4284  df-if 4488  df-pw 4564  df-sn 4591  df-pr 4593  df-op 4844  df-uni 4876  df-br 5112  df-opab 5177  df-tr 5222  df-eprel 5561  df-po 5569  df-so 5570  df-fr 5614  df-we 5616  df-ord 6395  df-on 6396
This theorem is used by:  ordunel  7876  r0weon  10134
  Copyright terms: Public domain W3C validator