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

Theorem onunel 6463
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 4132 . . . . . 6 (𝐴 ⊆ 𝐵 ↔ (𝐴 ∪ 𝐵) = 𝐵)
21biimpi 219 . . . . 5 (𝐴 ⊆ 𝐵 → (𝐴 ∪ 𝐵) = 𝐵)
32eleq1d 2846 . . . 4 (𝐴 ⊆ 𝐵 → ((𝐴 ∪ 𝐵) ∈ 𝐶 ↔ 𝐵 ∈ 𝐶))
43adantl 487 . . 3 (((𝐴 ∈ On ∧ 𝐵 ∈ On ∧ 𝐶 ∈ On) ∧ 𝐴 ⊆ 𝐵) → ((𝐴 ∪ 𝐵) ∈ 𝐶 ↔ 𝐵 ∈ 𝐶))
5 ontr2 6404 . . . . . 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 4135 . . . . . 6 (𝐵 ⊆ 𝐴 ↔ (𝐴 ∪ 𝐵) = 𝐴)
1110biimpi 219 . . . . 5 (𝐵 ⊆ 𝐴 → (𝐴 ∪ 𝐵) = 𝐴)
1211eleq1d 2846 . . . 4 (𝐵 ⊆ 𝐴 → ((𝐴 ∪ 𝐵) ∈ 𝐶 ↔ 𝐴 ∈ 𝐶))
1312adantl 487 . . 3 (((𝐴 ∈ On ∧ 𝐵 ∈ On ∧ 𝐶 ∈ On) ∧ 𝐵 ⊆ 𝐴) → ((𝐴 ∪ 𝐵) ∈ 𝐶 ↔ 𝐴 ∈ 𝐶))
14 ontr2 6404 . . . . . 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 6365 . . . 4 (𝐴 ∈ On → Ord 𝐴)
20 eloni 6365 . . . 4 (𝐵 ∈ On → Ord 𝐵)
21 ordtri2or2 6457 . . . 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 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:  addsproplem2  28338  negsproplem2  28397  mulsproplem5  28488  mulsproplem6  28489  mulsproplem7  28490  mulsproplem8  28491
  Copyright terms: Public domain W3C validator