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

Theorem onunel 6413
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 4136 . . . . . 6 (𝐴𝐵 ↔ (𝐴𝐵) = 𝐵)
21biimpi 216 . . . . 5 (𝐴𝐵 → (𝐴𝐵) = 𝐵)
32eleq1d 2816 . . . 4 (𝐴𝐵 → ((𝐴𝐵) ∈ 𝐶𝐵𝐶))
43adantl 481 . . 3 (((𝐴 ∈ On ∧ 𝐵 ∈ On ∧ 𝐶 ∈ On) ∧ 𝐴𝐵) → ((𝐴𝐵) ∈ 𝐶𝐵𝐶))
5 ontr2 6354 . . . . . 6 ((𝐴 ∈ On ∧ 𝐶 ∈ On) → ((𝐴𝐵𝐵𝐶) → 𝐴𝐶))
653adant2 1131 . . . . 5 ((𝐴 ∈ On ∧ 𝐵 ∈ On ∧ 𝐶 ∈ On) → ((𝐴𝐵𝐵𝐶) → 𝐴𝐶))
76expdimp 452 . . . 4 (((𝐴 ∈ On ∧ 𝐵 ∈ On ∧ 𝐶 ∈ On) ∧ 𝐴𝐵) → (𝐵𝐶𝐴𝐶))
87pm4.71rd 562 . . 3 (((𝐴 ∈ On ∧ 𝐵 ∈ On ∧ 𝐶 ∈ On) ∧ 𝐴𝐵) → (𝐵𝐶 ↔ (𝐴𝐶𝐵𝐶)))
94, 8bitrd 279 . 2 (((𝐴 ∈ On ∧ 𝐵 ∈ On ∧ 𝐶 ∈ On) ∧ 𝐴𝐵) → ((𝐴𝐵) ∈ 𝐶 ↔ (𝐴𝐶𝐵𝐶)))
10 ssequn2 4139 . . . . . 6 (𝐵𝐴 ↔ (𝐴𝐵) = 𝐴)
1110biimpi 216 . . . . 5 (𝐵𝐴 → (𝐴𝐵) = 𝐴)
1211eleq1d 2816 . . . 4 (𝐵𝐴 → ((𝐴𝐵) ∈ 𝐶𝐴𝐶))
1312adantl 481 . . 3 (((𝐴 ∈ On ∧ 𝐵 ∈ On ∧ 𝐶 ∈ On) ∧ 𝐵𝐴) → ((𝐴𝐵) ∈ 𝐶𝐴𝐶))
14 ontr2 6354 . . . . . 6 ((𝐵 ∈ On ∧ 𝐶 ∈ On) → ((𝐵𝐴𝐴𝐶) → 𝐵𝐶))
15143adant1 1130 . . . . 5 ((𝐴 ∈ On ∧ 𝐵 ∈ On ∧ 𝐶 ∈ On) → ((𝐵𝐴𝐴𝐶) → 𝐵𝐶))
1615expdimp 452 . . . 4 (((𝐴 ∈ On ∧ 𝐵 ∈ On ∧ 𝐶 ∈ On) ∧ 𝐵𝐴) → (𝐴𝐶𝐵𝐶))
1716pm4.71d 561 . . 3 (((𝐴 ∈ On ∧ 𝐵 ∈ On ∧ 𝐶 ∈ On) ∧ 𝐵𝐴) → (𝐴𝐶 ↔ (𝐴𝐶𝐵𝐶)))
1813, 17bitrd 279 . 2 (((𝐴 ∈ On ∧ 𝐵 ∈ On ∧ 𝐶 ∈ On) ∧ 𝐵𝐴) → ((𝐴𝐵) ∈ 𝐶 ↔ (𝐴𝐶𝐵𝐶)))
19 eloni 6316 . . . 4 (𝐴 ∈ On → Ord 𝐴)
20 eloni 6316 . . . 4 (𝐵 ∈ On → Ord 𝐵)
21 ordtri2or2 6407 . . . 4 ((Ord 𝐴 ∧ Ord 𝐵) → (𝐴𝐵𝐵𝐴))
2219, 20, 21syl2an 596 . . 3 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → (𝐴𝐵𝐵𝐴))
23223adant3 1132 . 2 ((𝐴 ∈ On ∧ 𝐵 ∈ On ∧ 𝐶 ∈ On) → (𝐴𝐵𝐵𝐴))
249, 18, 23mpjaodan 960 1 ((𝐴 ∈ On ∧ 𝐵 ∈ On ∧ 𝐶 ∈ On) → ((𝐴𝐵) ∈ 𝐶 ↔ (𝐴𝐶𝐵𝐶)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 206  wa 395  wo 847  w3a 1086   = wceq 1541  wcel 2111  cun 3900  wss 3902  Ord word 6305  Oncon0 6306
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1968  ax-7 2009  ax-8 2113  ax-9 2121  ax-ext 2703  ax-sep 5234  ax-nul 5244  ax-pr 5370
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3or 1087  df-3an 1088  df-tru 1544  df-fal 1554  df-ex 1781  df-sb 2068  df-clab 2710  df-cleq 2723  df-clel 2806  df-ne 2929  df-ral 3048  df-rex 3057  df-rab 3396  df-v 3438  df-dif 3905  df-un 3907  df-in 3909  df-ss 3919  df-pss 3922  df-nul 4284  df-if 4476  df-pw 4552  df-sn 4577  df-pr 4579  df-op 4583  df-uni 4860  df-br 5092  df-opab 5154  df-tr 5199  df-eprel 5516  df-po 5524  df-so 5525  df-fr 5569  df-we 5571  df-ord 6309  df-on 6310
This theorem is referenced by:  addsproplem2  27914  negsproplem2  27972  mulsproplem5  28060  mulsproplem6  28061  mulsproplem7  28062  mulsproplem8  28063
  Copyright terms: Public domain W3C validator