Users' Mathboxes Mathbox for Richard Penner < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  oaun3 Structured version   Visualization version   GIF version

Theorem oaun3 44384
Description: Ordinal addition as a union of classes. (Contributed by RP, 13-Feb-2025.)
Assertion
Ref Expression
oaun3 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → (𝐴 +o 𝐵) = ∪ {{𝑥 ∣ ∃𝑎 ∈ 𝐴 𝑥 = 𝑎}, {𝑦 ∣ ∃𝑏 ∈ 𝐵 𝑦 = (𝐴 +o 𝑏)}, {𝑧 ∣ ∃𝑎 ∈ 𝐴 ∃𝑏 ∈ 𝐵 𝑧 = (𝑎 +o 𝑏)}})
Distinct variable groups:   𝐴,𝑎,𝑏,𝑥,𝑦,𝑧   𝐵,𝑎,𝑏,𝑥,𝑦,𝑧

Proof of Theorem oaun3
StepHypRef Expression
1 oacl 8543 . . . . . 6 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → (𝐴 +o 𝐵) ∈ On)
21difexd 5292 . . . . 5 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → ((𝐴 +o 𝐵) ∖ 𝐴) ∈ V)
3 uniprg 4882 . . . . 5 ((𝐴 ∈ On ∧ ((𝐴 +o 𝐵) ∖ 𝐴) ∈ V) → ∪ {𝐴, ((𝐴 +o 𝐵) ∖ 𝐴)} = (𝐴 ∪ ((𝐴 +o 𝐵) ∖ 𝐴)))
42, 3syldan 603 . . . 4 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → ∪ {𝐴, ((𝐴 +o 𝐵) ∖ 𝐴)} = (𝐴 ∪ ((𝐴 +o 𝐵) ∖ 𝐴)))
5 undif2 4430 . . . . 5 (𝐴 ∪ ((𝐴 +o 𝐵) ∖ 𝐴)) = (𝐴 ∪ (𝐴 +o 𝐵))
6 oaword1 8560 . . . . . 6 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → 𝐴 ⊆ (𝐴 +o 𝐵))
7 ssequn1 4184 . . . . . 6 (𝐴 ⊆ (𝐴 +o 𝐵) ↔ (𝐴 ∪ (𝐴 +o 𝐵)) = (𝐴 +o 𝐵))
86, 7sylib 221 . . . . 5 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → (𝐴 ∪ (𝐴 +o 𝐵)) = (𝐴 +o 𝐵))
95, 8eqtrid 2807 . . . 4 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → (𝐴 ∪ ((𝐴 +o 𝐵) ∖ 𝐴)) = (𝐴 +o 𝐵))
104, 9eqtrd 2795 . . 3 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → ∪ {𝐴, ((𝐴 +o 𝐵) ∖ 𝐴)} = (𝐴 +o 𝐵))
11 oaun3lem4 44379 . . . 4 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → {𝑧 ∣ ∃𝑎 ∈ 𝐴 ∃𝑏 ∈ 𝐵 𝑧 = (𝑎 +o 𝑏)} ∈ suc (𝐴 +o 𝐵))
12 unisng 4884 . . . 4 ({𝑧 ∣ ∃𝑎 ∈ 𝐴 ∃𝑏 ∈ 𝐵 𝑧 = (𝑎 +o 𝑏)} ∈ suc (𝐴 +o 𝐵) → ∪ {{𝑧 ∣ ∃𝑎 ∈ 𝐴 ∃𝑏 ∈ 𝐵 𝑧 = (𝑎 +o 𝑏)}} = {𝑧 ∣ ∃𝑎 ∈ 𝐴 ∃𝑏 ∈ 𝐵 𝑧 = (𝑎 +o 𝑏)})
1311, 12syl 18 . . 3 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → ∪ {{𝑧 ∣ ∃𝑎 ∈ 𝐴 ∃𝑏 ∈ 𝐵 𝑧 = (𝑎 +o 𝑏)}} = {𝑧 ∣ ∃𝑎 ∈ 𝐴 ∃𝑏 ∈ 𝐵 𝑧 = (𝑎 +o 𝑏)})
1410, 13uneq12d 4168 . 2 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → (∪ {𝐴, ((𝐴 +o 𝐵) ∖ 𝐴)} ∪ ∪ {{𝑧 ∣ ∃𝑎 ∈ 𝐴 ∃𝑏 ∈ 𝐵 𝑧 = (𝑎 +o 𝑏)}}) = ((𝐴 +o 𝐵) ∪ {𝑧 ∣ ∃𝑎 ∈ 𝐴 ∃𝑏 ∈ 𝐵 𝑧 = (𝑎 +o 𝑏)}))
15 uniun 4889 . . 3 ∪ ({𝐴, ((𝐴 +o 𝐵) ∖ 𝐴)} ∪ {{𝑧 ∣ ∃𝑎 ∈ 𝐴 ∃𝑏 ∈ 𝐵 𝑧 = (𝑎 +o 𝑏)}}) = (∪ {𝐴, ((𝐴 +o 𝐵) ∖ 𝐴)} ∪ ∪ {{𝑧 ∣ ∃𝑎 ∈ 𝐴 ∃𝑏 ∈ 𝐵 𝑧 = (𝑎 +o 𝑏)}})
16 df-tp 4588 . . . . 5 {𝐴, ((𝐴 +o 𝐵) ∖ 𝐴), {𝑧 ∣ ∃𝑎 ∈ 𝐴 ∃𝑏 ∈ 𝐵 𝑧 = (𝑎 +o 𝑏)}} = ({𝐴, ((𝐴 +o 𝐵) ∖ 𝐴)} ∪ {{𝑧 ∣ ∃𝑎 ∈ 𝐴 ∃𝑏 ∈ 𝐵 𝑧 = (𝑎 +o 𝑏)}})
17 rp-abid 44380 . . . . . . 7 𝐴 = {𝑥 ∣ ∃𝑎 ∈ 𝐴 𝑥 = 𝑎}
1817a1i 11 . . . . . 6 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → 𝐴 = {𝑥 ∣ ∃𝑎 ∈ 𝐴 𝑥 = 𝑎})
19 oadif1 44382 . . . . . 6 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → ((𝐴 +o 𝐵) ∖ 𝐴) = {𝑦 ∣ ∃𝑏 ∈ 𝐵 𝑦 = (𝐴 +o 𝑏)})
20 eqidd 2761 . . . . . 6 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → {𝑧 ∣ ∃𝑎 ∈ 𝐴 ∃𝑏 ∈ 𝐵 𝑧 = (𝑎 +o 𝑏)} = {𝑧 ∣ ∃𝑎 ∈ 𝐴 ∃𝑏 ∈ 𝐵 𝑧 = (𝑎 +o 𝑏)})
2118, 19, 20tpeq123d 4708 . . . . 5 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → {𝐴, ((𝐴 +o 𝐵) ∖ 𝐴), {𝑧 ∣ ∃𝑎 ∈ 𝐴 ∃𝑏 ∈ 𝐵 𝑧 = (𝑎 +o 𝑏)}} = {{𝑥 ∣ ∃𝑎 ∈ 𝐴 𝑥 = 𝑎}, {𝑦 ∣ ∃𝑏 ∈ 𝐵 𝑦 = (𝐴 +o 𝑏)}, {𝑧 ∣ ∃𝑎 ∈ 𝐴 ∃𝑏 ∈ 𝐵 𝑧 = (𝑎 +o 𝑏)}})
2216, 21eqtr3id 2809 . . . 4 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → ({𝐴, ((𝐴 +o 𝐵) ∖ 𝐴)} ∪ {{𝑧 ∣ ∃𝑎 ∈ 𝐴 ∃𝑏 ∈ 𝐵 𝑧 = (𝑎 +o 𝑏)}}) = {{𝑥 ∣ ∃𝑎 ∈ 𝐴 𝑥 = 𝑎}, {𝑦 ∣ ∃𝑏 ∈ 𝐵 𝑦 = (𝐴 +o 𝑏)}, {𝑧 ∣ ∃𝑎 ∈ 𝐴 ∃𝑏 ∈ 𝐵 𝑧 = (𝑎 +o 𝑏)}})
2322unieqd 4879 . . 3 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → ∪ ({𝐴, ((𝐴 +o 𝐵) ∖ 𝐴)} ∪ {{𝑧 ∣ ∃𝑎 ∈ 𝐴 ∃𝑏 ∈ 𝐵 𝑧 = (𝑎 +o 𝑏)}}) = ∪ {{𝑥 ∣ ∃𝑎 ∈ 𝐴 𝑥 = 𝑎}, {𝑦 ∣ ∃𝑏 ∈ 𝐵 𝑦 = (𝐴 +o 𝑏)}, {𝑧 ∣ ∃𝑎 ∈ 𝐴 ∃𝑏 ∈ 𝐵 𝑧 = (𝑎 +o 𝑏)}})
2415, 23eqtr3id 2809 . 2 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → (∪ {𝐴, ((𝐴 +o 𝐵) ∖ 𝐴)} ∪ ∪ {{𝑧 ∣ ∃𝑎 ∈ 𝐴 ∃𝑏 ∈ 𝐵 𝑧 = (𝑎 +o 𝑏)}}) = ∪ {{𝑥 ∣ ∃𝑎 ∈ 𝐴 𝑥 = 𝑎}, {𝑦 ∣ ∃𝑏 ∈ 𝐵 𝑦 = (𝐴 +o 𝑏)}, {𝑧 ∣ ∃𝑎 ∈ 𝐴 ∃𝑏 ∈ 𝐵 𝑧 = (𝑎 +o 𝑏)}})
25 oaun3lem2 44377 . . 3 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → {𝑧 ∣ ∃𝑎 ∈ 𝐴 ∃𝑏 ∈ 𝐵 𝑧 = (𝑎 +o 𝑏)} ⊆ (𝐴 +o 𝐵))
26 ssequn2 4187 . . 3 ({𝑧 ∣ ∃𝑎 ∈ 𝐴 ∃𝑏 ∈ 𝐵 𝑧 = (𝑎 +o 𝑏)} ⊆ (𝐴 +o 𝐵) ↔ ((𝐴 +o 𝐵) ∪ {𝑧 ∣ ∃𝑎 ∈ 𝐴 ∃𝑏 ∈ 𝐵 𝑧 = (𝑎 +o 𝑏)}) = (𝐴 +o 𝐵))
2725, 26sylib 221 . 2 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → ((𝐴 +o 𝐵) ∪ {𝑧 ∣ ∃𝑎 ∈ 𝐴 ∃𝑏 ∈ 𝐵 𝑧 = (𝑎 +o 𝑏)}) = (𝐴 +o 𝐵))
2814, 24, 273eqtr3rd 2804 1 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → (𝐴 +o 𝐵) = ∪ {{𝑥 ∣ ∃𝑎 ∈ 𝐴 𝑥 = 𝑎}, {𝑦 ∣ ∃𝑏 ∈ 𝐵 𝑦 = (𝐴 +o 𝑏)}, {𝑧 ∣ ∃𝑎 ∈ 𝐴 ∃𝑏 ∈ 𝐵 𝑧 = (𝑎 +o 𝑏)}})
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1569   ∈ wcel 2144  {cab 2738  ∃wrex 3086  Vcvv 3450   ⊆ wss 3895   ∖ cdif 4045   ∪ cun 4149  {csn 4583  {cpr 4585  {ctp 4587  ∪ cuni 4866  Oncon0 6362  suc csuc 6364  (class class class)co 7420   +o coa 8473
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-rep 5231  ax-sep 5248  ax-nul 5259  ax-pr 5390  ax-un 7751
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-rmo 3365  df-reu 3366  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3847  df-ss 3896  df-pss 4014  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-pw 4558  df-sn 4584  df-pr 4586  df-tp 4588  df-op 4590  df-uni 4867  df-int 4907  df-iun 4952  df-br 5103  df-opab 5167  df-mpt 5186  df-tr 5212  df-id 5545  df-eprel 5550  df-po 5558  df-so 5559  df-fr 5603  df-we 5605  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-rn 5661  df-res 5662  df-ima 5663  df-pred 6304  df-ord 6365  df-on 6366  df-lim 6367  df-suc 6368  df-iota 6494  df-fun 6540  df-fn 6541  df-f 6542  df-f1 6543  df-fo 6544  df-f1o 6545  df-fv 6546  df-ov 7423  df-oprab 7424  df-mpo 7425  df-om 7878  df-2nd 8002  df-frecs 8299  df-wrecs 8330  df-recs 8379  df-rdg 8418  df-oadd 8480
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator