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

Theorem onunel 6442
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 4152 . . . . . 6 (𝐴𝐵 ↔ (𝐴𝐵) = 𝐵)
21biimpi 216 . . . . 5 (𝐴𝐵 → (𝐴𝐵) = 𝐵)
32eleq1d 2814 . . . 4 (𝐴𝐵 → ((𝐴𝐵) ∈ 𝐶𝐵𝐶))
43adantl 481 . . 3 (((𝐴 ∈ On ∧ 𝐵 ∈ On ∧ 𝐶 ∈ On) ∧ 𝐴𝐵) → ((𝐴𝐵) ∈ 𝐶𝐵𝐶))
5 ontr2 6383 . . . . . 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 4155 . . . . . 6 (𝐵𝐴 ↔ (𝐴𝐵) = 𝐴)
1110biimpi 216 . . . . 5 (𝐵𝐴 → (𝐴𝐵) = 𝐴)
1211eleq1d 2814 . . . 4 (𝐵𝐴 → ((𝐴𝐵) ∈ 𝐶𝐴𝐶))
1312adantl 481 . . 3 (((𝐴 ∈ On ∧ 𝐵 ∈ On ∧ 𝐶 ∈ On) ∧ 𝐵𝐴) → ((𝐴𝐵) ∈ 𝐶𝐴𝐶))
14 ontr2 6383 . . . . . 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 6345 . . . 4 (𝐴 ∈ On → Ord 𝐴)
20 eloni 6345 . . . 4 (𝐵 ∈ On → Ord 𝐵)
21 ordtri2or2 6436 . . . 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 2109  cun 3915  wss 3917  Ord word 6334  Oncon0 6335
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 2008  ax-8 2111  ax-9 2119  ax-ext 2702  ax-sep 5254  ax-nul 5264  ax-pr 5390
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 2066  df-clab 2709  df-cleq 2722  df-clel 2804  df-ne 2927  df-ral 3046  df-rex 3055  df-rab 3409  df-v 3452  df-dif 3920  df-un 3922  df-in 3924  df-ss 3934  df-pss 3937  df-nul 4300  df-if 4492  df-pw 4568  df-sn 4593  df-pr 4595  df-op 4599  df-uni 4875  df-br 5111  df-opab 5173  df-tr 5218  df-eprel 5541  df-po 5549  df-so 5550  df-fr 5594  df-we 5596  df-ord 6338  df-on 6339
This theorem is referenced by:  addsproplem2  27884  negsproplem2  27942  mulsproplem5  28030  mulsproplem6  28031  mulsproplem7  28032  mulsproplem8  28033
  Copyright terms: Public domain W3C validator