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

Theorem onunel 6470
Description: The union of two ordinals is in a third iff both of the first two are. (Contributed by Scott Fenton, 10-Sep-2024.)
Assertion
Ref Expression
onunel ((𝐴 ∈ On ∧ 𝐵 ∈ On ∧ 𝐶 ∈ On) → ((𝐴 ∪ 𝐵) ∈ 𝐶 ↔ (𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐶)))

Proof of Theorem onunel
StepHypRef Expression
1 ssequn1 4184 . . . . . 6 (𝐴 ⊆ 𝐵 ↔ (𝐴 ∪ 𝐵) = 𝐵)
21biimpi 219 . . . . 5 (𝐴 ⊆ 𝐵 → (𝐴 ∪ 𝐵) = 𝐵)
32eleq1d 2845 . . . 4 (𝐴 ⊆ 𝐵 → ((𝐴 ∪ 𝐵) ∈ 𝐶 ↔ 𝐵 ∈ 𝐶))
43adantl 487 . . 3 (((𝐴 ∈ On ∧ 𝐵 ∈ On ∧ 𝐶 ∈ On) ∧ 𝐴 ⊆ 𝐵) → ((𝐴 ∪ 𝐵) ∈ 𝐶 ↔ 𝐵 ∈ 𝐶))
5 ontr2 6411 . . . . . 6 ((𝐴 ∈ On ∧ 𝐶 ∈ On) → ((𝐴 ⊆ 𝐵 ∧ 𝐵 ∈ 𝐶) → 𝐴 ∈ 𝐶))
653adant2 1149 . . . . 5 ((𝐴 ∈ On ∧ 𝐵 ∈ On ∧ 𝐶 ∈ On) → ((𝐴 ⊆ 𝐵 ∧ 𝐵 ∈ 𝐶) → 𝐴 ∈ 𝐶))
76expdimp 458 . . . 4 (((𝐴 ∈ On ∧ 𝐵 ∈ On ∧ 𝐶 ∈ On) ∧ 𝐴 ⊆ 𝐵) → (𝐵 ∈ 𝐶 → 𝐴 ∈ 𝐶))
87pm4.71rd 572 . . 3 (((𝐴 ∈ On ∧ 𝐵 ∈ On ∧ 𝐶 ∈ On) ∧ 𝐴 ⊆ 𝐵) → (𝐵 ∈ 𝐶 ↔ (𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐶)))
94, 8bitrd 282 . 2 (((𝐴 ∈ On ∧ 𝐵 ∈ On ∧ 𝐶 ∈ On) ∧ 𝐴 ⊆ 𝐵) → ((𝐴 ∪ 𝐵) ∈ 𝐶 ↔ (𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐶)))
10 ssequn2 4187 . . . . . 6 (𝐵 ⊆ 𝐴 ↔ (𝐴 ∪ 𝐵) = 𝐴)
1110biimpi 219 . . . . 5 (𝐵 ⊆ 𝐴 → (𝐴 ∪ 𝐵) = 𝐴)
1211eleq1d 2845 . . . 4 (𝐵 ⊆ 𝐴 → ((𝐴 ∪ 𝐵) ∈ 𝐶 ↔ 𝐴 ∈ 𝐶))
1312adantl 487 . . 3 (((𝐴 ∈ On ∧ 𝐵 ∈ On ∧ 𝐶 ∈ On) ∧ 𝐵 ⊆ 𝐴) → ((𝐴 ∪ 𝐵) ∈ 𝐶 ↔ 𝐴 ∈ 𝐶))
14 ontr2 6411 . . . . . 6 ((𝐵 ∈ On ∧ 𝐶 ∈ On) → ((𝐵 ⊆ 𝐴 ∧ 𝐴 ∈ 𝐶) → 𝐵 ∈ 𝐶))
15143adant1 1148 . . . . 5 ((𝐴 ∈ On ∧ 𝐵 ∈ On ∧ 𝐶 ∈ On) → ((𝐵 ⊆ 𝐴 ∧ 𝐴 ∈ 𝐶) → 𝐵 ∈ 𝐶))
1615expdimp 458 . . . 4 (((𝐴 ∈ On ∧ 𝐵 ∈ On ∧ 𝐶 ∈ On) ∧ 𝐵 ⊆ 𝐴) → (𝐴 ∈ 𝐶 → 𝐵 ∈ 𝐶))
1716pm4.71d 571 . . 3 (((𝐴 ∈ On ∧ 𝐵 ∈ On ∧ 𝐶 ∈ On) ∧ 𝐵 ⊆ 𝐴) → (𝐴 ∈ 𝐶 ↔ (𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐶)))
1813, 17bitrd 282 . 2 (((𝐴 ∈ On ∧ 𝐵 ∈ On ∧ 𝐶 ∈ On) ∧ 𝐵 ⊆ 𝐴) → ((𝐴 ∪ 𝐵) ∈ 𝐶 ↔ (𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐶)))
19 eloni 6372 . . . 4 (𝐴 ∈ On → Ord 𝐴)
20 eloni 6372 . . . 4 (𝐵 ∈ On → Ord 𝐵)
21 ordtri2or2 6464 . . . 4 ((Ord 𝐴 ∧ Ord 𝐵) → (𝐴 ⊆ 𝐵 ∨ 𝐵 ⊆ 𝐴))
2219, 20, 21syl2an 608 . . 3 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → (𝐴 ⊆ 𝐵 ∨ 𝐵 ⊆ 𝐴))
23223adant3 1150 . 2 ((𝐴 ∈ On ∧ 𝐵 ∈ On ∧ 𝐶 ∈ On) → (𝐴 ⊆ 𝐵 ∨ 𝐵 ⊆ 𝐴))
249, 18, 23mpjaodan 973 1 ((𝐴 ∈ On ∧ 𝐵 ∈ On ∧ 𝐶 ∈ On) → ((𝐴 ∪ 𝐵) ∈ 𝐶 ↔ (𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐶)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   ∨ wo 861   ∧ w3a 1103   = wceq 1569   ∈ wcel 2144   ⊆ wss 3895   ∪ cun 4149  Ord word 6361  Oncon0 6362
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-ext 2732  ax-sep 5248  ax-pr 5390
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-sb 2099  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-ss 3896  df-pss 4014  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-pw 4558  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-br 5103  df-opab 5167  df-tr 5212  df-eprel 5550  df-po 5558  df-so 5559  df-fr 5603  df-we 5605  df-ord 6365  df-on 6366
This theorem is used by:  addsproplem2  28361  negsproplem2  28420  mulsproplem5  28511  mulsproplem6  28512  mulsproplem7  28513  mulsproplem8  28514  maxssj0  35945  j0ltaleph  35947
  Copyright terms: Public domain W3C validator