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

Theorem onunel 6459
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 4161 . . . . . 6 (𝐴𝐵 ↔ (𝐴𝐵) = 𝐵)
21biimpi 216 . . . . 5 (𝐴𝐵 → (𝐴𝐵) = 𝐵)
32eleq1d 2819 . . . 4 (𝐴𝐵 → ((𝐴𝐵) ∈ 𝐶𝐵𝐶))
43adantl 481 . . 3 (((𝐴 ∈ On ∧ 𝐵 ∈ On ∧ 𝐶 ∈ On) ∧ 𝐴𝐵) → ((𝐴𝐵) ∈ 𝐶𝐵𝐶))
5 ontr2 6400 . . . . . 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 4164 . . . . . 6 (𝐵𝐴 ↔ (𝐴𝐵) = 𝐴)
1110biimpi 216 . . . . 5 (𝐵𝐴 → (𝐴𝐵) = 𝐴)
1211eleq1d 2819 . . . 4 (𝐵𝐴 → ((𝐴𝐵) ∈ 𝐶𝐴𝐶))
1312adantl 481 . . 3 (((𝐴 ∈ On ∧ 𝐵 ∈ On ∧ 𝐶 ∈ On) ∧ 𝐵𝐴) → ((𝐴𝐵) ∈ 𝐶𝐴𝐶))
14 ontr2 6400 . . . . . 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 6362 . . . 4 (𝐴 ∈ On → Ord 𝐴)
20 eloni 6362 . . . 4 (𝐵 ∈ On → Ord 𝐵)
21 ordtri2or2 6453 . . . 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 1540  wcel 2108  cun 3924  wss 3926  Ord word 6351  Oncon0 6352
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1967  ax-7 2007  ax-8 2110  ax-9 2118  ax-ext 2707  ax-sep 5266  ax-nul 5276  ax-pr 5402
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3or 1087  df-3an 1088  df-tru 1543  df-fal 1553  df-ex 1780  df-sb 2065  df-clab 2714  df-cleq 2727  df-clel 2809  df-ne 2933  df-ral 3052  df-rex 3061  df-rab 3416  df-v 3461  df-dif 3929  df-un 3931  df-in 3933  df-ss 3943  df-pss 3946  df-nul 4309  df-if 4501  df-pw 4577  df-sn 4602  df-pr 4604  df-op 4608  df-uni 4884  df-br 5120  df-opab 5182  df-tr 5230  df-eprel 5553  df-po 5561  df-so 5562  df-fr 5606  df-we 5608  df-ord 6355  df-on 6356
This theorem is referenced by:  addsproplem2  27929  negsproplem2  27987  mulsproplem5  28075  mulsproplem6  28076  mulsproplem7  28077  mulsproplem8  28078
  Copyright terms: Public domain W3C validator