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

Theorem ordunpr 7648
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 6261 . . . . 5 (𝐵 ∈ On → Ord 𝐵)
2 eloni 6261 . . . . 5 (𝐶 ∈ On → Ord 𝐶)
3 ordtri2or2 6347 . . . . 5 ((Ord 𝐵 ∧ Ord 𝐶) → (𝐵𝐶𝐶𝐵))
41, 2, 3syl2an 595 . . . 4 ((𝐵 ∈ On ∧ 𝐶 ∈ On) → (𝐵𝐶𝐶𝐵))
54orcomd 867 . . 3 ((𝐵 ∈ On ∧ 𝐶 ∈ On) → (𝐶𝐵𝐵𝐶))
6 ssequn2 4113 . . . 4 (𝐶𝐵 ↔ (𝐵𝐶) = 𝐵)
7 ssequn1 4110 . . . 4 (𝐵𝐶 ↔ (𝐵𝐶) = 𝐶)
86, 7orbi12i 911 . . 3 ((𝐶𝐵𝐵𝐶) ↔ ((𝐵𝐶) = 𝐵 ∨ (𝐵𝐶) = 𝐶))
95, 8sylib 217 . 2 ((𝐵 ∈ On ∧ 𝐶 ∈ On) → ((𝐵𝐶) = 𝐵 ∨ (𝐵𝐶) = 𝐶))
10 unexg 7577 . . 3 ((𝐵 ∈ On ∧ 𝐶 ∈ On) → (𝐵𝐶) ∈ V)
11 elprg 4579 . . 3 ((𝐵𝐶) ∈ V → ((𝐵𝐶) ∈ {𝐵, 𝐶} ↔ ((𝐵𝐶) = 𝐵 ∨ (𝐵𝐶) = 𝐶)))
1210, 11syl 17 . 2 ((𝐵 ∈ On ∧ 𝐶 ∈ On) → ((𝐵𝐶) ∈ {𝐵, 𝐶} ↔ ((𝐵𝐶) = 𝐵 ∨ (𝐵𝐶) = 𝐶)))
139, 12mpbird 256 1 ((𝐵 ∈ On ∧ 𝐶 ∈ On) → (𝐵𝐶) ∈ {𝐵, 𝐶})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  wo 843   = wceq 1539  wcel 2108  Vcvv 3422  cun 3881  wss 3883  {cpr 4560  Ord word 6250  Oncon0 6251
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-11 2156  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pr 5347  ax-un 7566
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3or 1086  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  df-ne 2943  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-pss 3902  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-br 5071  df-opab 5133  df-tr 5188  df-eprel 5486  df-po 5494  df-so 5495  df-fr 5535  df-we 5537  df-ord 6254  df-on 6255
This theorem is referenced by:  ordunel  7649  r0weon  9699
  Copyright terms: Public domain W3C validator