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

Theorem onun2 6466
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 4132 . . 3 (𝐴 ⊆ 𝐵 ↔ (𝐴 ∪ 𝐵) = 𝐵)
2 eleq1a 2856 . . . 4 (𝐵 ∈ On → ((𝐴 ∪ 𝐵) = 𝐵 → (𝐴 ∪ 𝐵) ∈ On))
32adantl 487 . . 3 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → ((𝐴 ∪ 𝐵) = 𝐵 → (𝐴 ∪ 𝐵) ∈ On))
41, 3biimtrid 245 . 2 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → (𝐴 ⊆ 𝐵 → (𝐴 ∪ 𝐵) ∈ On))
5 ssequn2 4135 . . 3 (𝐵 ⊆ 𝐴 ↔ (𝐴 ∪ 𝐵) = 𝐴)
6 eleq1a 2856 . . . 4 (𝐴 ∈ On → ((𝐴 ∪ 𝐵) = 𝐴 → (𝐴 ∪ 𝐵) ∈ On))
76adantr 486 . . 3 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → ((𝐴 ∪ 𝐵) = 𝐴 → (𝐴 ∪ 𝐵) ∈ On))
85, 7biimtrid 245 . 2 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → (𝐵 ⊆ 𝐴 → (𝐴 ∪ 𝐵) ∈ On))
9 eloni 6365 . . 3 (𝐴 ∈ On → Ord 𝐴)
10 eloni 6365 . . 3 (𝐵 ∈ On → Ord 𝐵)
11 ordtri2or2 6457 . . 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 1570   ∈ wcel 2145   ∪ cun 3897   ⊆ wss 3899  Ord word 6354  Oncon0 6355
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 2733  ax-sep 5249  ax-pr 5391
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 2740  df-cleq 2753  df-clel 2836  df-ne 2957  df-ral 3078  df-rex 3088  df-rab 3414  df-v 3453  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-pss 3919  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-br 5104  df-opab 5168  df-tr 5213  df-eprel 5551  df-po 5559  df-so 5560  df-fr 5604  df-we 5606  df-ord 6358  df-on 6359
This theorem is used by:  onun2i  6479  nosupinfsep  28071  onexlimgt  44203  omabs2  44292  onsucunitp  44333
  Copyright terms: Public domain W3C validator