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

Theorem onun2 6506
Description: The union of two ordinals is an ordinal. (Contributed by Scott Fenton, 9-Aug-2024.)
Assertion
Ref Expression
onun2 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → (𝐴 ∪ 𝐵) ∈ On)

Proof of Theorem onun2
StepHypRef Expression
1 ssequn1 4189 . . 3 (𝐴 ⊆ 𝐵 ↔ (𝐴 ∪ 𝐵) = 𝐵)
2 eleq1a 2865 . . . 4 (𝐵 ∈ On → ((𝐴 ∪ 𝐵) = 𝐵 → (𝐴 ∪ 𝐵) ∈ On))
32adantl 487 . . 3 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → ((𝐴 ∪ 𝐵) = 𝐵 → (𝐴 ∪ 𝐵) ∈ On))
41, 3biimtrid 245 . 2 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → (𝐴 ⊆ 𝐵 → (𝐴 ∪ 𝐵) ∈ On))
5 ssequn2 4192 . . 3 (𝐵 ⊆ 𝐴 ↔ (𝐴 ∪ 𝐵) = 𝐴)
6 eleq1a 2865 . . . 4 (𝐴 ∈ On → ((𝐴 ∪ 𝐵) = 𝐴 → (𝐴 ∪ 𝐵) ∈ On))
76adantr 486 . . 3 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → ((𝐴 ∪ 𝐵) = 𝐴 → (𝐴 ∪ 𝐵) ∈ On))
85, 7biimtrid 245 . 2 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → (𝐵 ⊆ 𝐴 → (𝐴 ∪ 𝐵) ∈ On))
9 eloni 6405 . . 3 (𝐴 ∈ On → Ord 𝐴)
10 eloni 6405 . . 3 (𝐵 ∈ On → Ord 𝐵)
11 ordtri2or2 6497 . . 3 ((Ord 𝐴 ∧ Ord 𝐵) → (𝐴 ⊆ 𝐵 ∨ 𝐵 ⊆ 𝐴))
129, 10, 11syl2an 608 . 2 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → (𝐴 ⊆ 𝐵 ∨ 𝐵 ⊆ 𝐴))
134, 8, 12mpjaod 874 1 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → (𝐴 ∪ 𝐵) ∈ On)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   ∨ wo 861   = wceq 1572   ∈ wcel 2151   ⊆ wss 3902   ∪ cun 4154  Ord word 6394  Oncon0 6395
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
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 6398  df-on 6399
This theorem is used by:  onun2i  6519  nosupinfsep  28213  r0maxss  36069  maxssj0  36072  j0ltalephlem  36073  j0ltaleph  36074  onexlimgt  44589  omabs2  44678  onsucunitp  44719
  Copyright terms: Public domain W3C validator