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

Theorem onunel 6424
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 4138 . . . . . 6 (𝐴𝐵 ↔ (𝐴𝐵) = 𝐵)
21biimpi 216 . . . . 5 (𝐴𝐵 → (𝐴𝐵) = 𝐵)
32eleq1d 2821 . . . 4 (𝐴𝐵 → ((𝐴𝐵) ∈ 𝐶𝐵𝐶))
43adantl 481 . . 3 (((𝐴 ∈ On ∧ 𝐵 ∈ On ∧ 𝐶 ∈ On) ∧ 𝐴𝐵) → ((𝐴𝐵) ∈ 𝐶𝐵𝐶))
5 ontr2 6365 . . . . . 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 4141 . . . . . 6 (𝐵𝐴 ↔ (𝐴𝐵) = 𝐴)
1110biimpi 216 . . . . 5 (𝐵𝐴 → (𝐴𝐵) = 𝐴)
1211eleq1d 2821 . . . 4 (𝐵𝐴 → ((𝐴𝐵) ∈ 𝐶𝐴𝐶))
1312adantl 481 . . 3 (((𝐴 ∈ On ∧ 𝐵 ∈ On ∧ 𝐶 ∈ On) ∧ 𝐵𝐴) → ((𝐴𝐵) ∈ 𝐶𝐴𝐶))
14 ontr2 6365 . . . . . 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 6327 . . . 4 (𝐴 ∈ On → Ord 𝐴)
20 eloni 6327 . . . 4 (𝐵 ∈ On → Ord 𝐵)
21 ordtri2or2 6418 . . . 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 2113  cun 3899  wss 3901  Ord word 6316  Oncon0 6317
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 2115  ax-9 2123  ax-ext 2708  ax-sep 5241  ax-nul 5251  ax-pr 5377
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 2715  df-cleq 2728  df-clel 2811  df-ne 2933  df-ral 3052  df-rex 3061  df-rab 3400  df-v 3442  df-dif 3904  df-un 3906  df-in 3908  df-ss 3918  df-pss 3921  df-nul 4286  df-if 4480  df-pw 4556  df-sn 4581  df-pr 4583  df-op 4587  df-uni 4864  df-br 5099  df-opab 5161  df-tr 5206  df-eprel 5524  df-po 5532  df-so 5533  df-fr 5577  df-we 5579  df-ord 6320  df-on 6321
This theorem is referenced by:  addsproplem2  27966  negsproplem2  28025  mulsproplem5  28116  mulsproplem6  28117  mulsproplem7  28118  mulsproplem8  28119
  Copyright terms: Public domain W3C validator