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 44705
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 8580 . . . . . 6 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → (𝐴 +o 𝐵) ∈ On)
21difexd 5299 . . . . 5 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → ((𝐴 +o 𝐵) ∖ 𝐴) ∈ V)
3 uniprg 4887 . . . . 5 ((𝐴 ∈ On ∧ ((𝐴 +o 𝐵) ∖ 𝐴) ∈ V) → ∪ {𝐴, ((𝐴 +o 𝐵) ∖ 𝐴)} = (𝐴 ∪ ((𝐴 +o 𝐵) ∖ 𝐴)))
42, 3syldan 603 . . . 4 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → ∪ {𝐴, ((𝐴 +o 𝐵) ∖ 𝐴)} = (𝐴 ∪ ((𝐴 +o 𝐵) ∖ 𝐴)))
5 undif2 4433 . . . . 5 (𝐴 ∪ ((𝐴 +o 𝐵) ∖ 𝐴)) = (𝐴 ∪ (𝐴 +o 𝐵))
6 oaword1 8597 . . . . . 6 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → 𝐴 ⊆ (𝐴 +o 𝐵))
7 ssequn1 4186 . . . . . 6 (𝐴 ⊆ (𝐴 +o 𝐵) ↔ (𝐴 ∪ (𝐴 +o 𝐵)) = (𝐴 +o 𝐵))
86, 7sylib 221 . . . . 5 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → (𝐴 ∪ (𝐴 +o 𝐵)) = (𝐴 +o 𝐵))
95, 8eqtrid 2813 . . . 4 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → (𝐴 ∪ ((𝐴 +o 𝐵) ∖ 𝐴)) = (𝐴 +o 𝐵))
104, 9eqtrd 2801 . . 3 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → ∪ {𝐴, ((𝐴 +o 𝐵) ∖ 𝐴)} = (𝐴 +o 𝐵))
11 oaun3lem4 44700 . . . 4 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → {𝑧 ∣ ∃𝑎 ∈ 𝐴 ∃𝑏 ∈ 𝐵 𝑧 = (𝑎 +o 𝑏)} ∈ suc (𝐴 +o 𝐵))
12 unisng 4889 . . . 4 ({𝑧 ∣ ∃𝑎 ∈ 𝐴 ∃𝑏 ∈ 𝐵 𝑧 = (𝑎 +o 𝑏)} ∈ suc (𝐴 +o 𝐵) → ∪ {{𝑧 ∣ ∃𝑎 ∈ 𝐴 ∃𝑏 ∈ 𝐵 𝑧 = (𝑎 +o 𝑏)}} = {𝑧 ∣ ∃𝑎 ∈ 𝐴 ∃𝑏 ∈ 𝐵 𝑧 = (𝑎 +o 𝑏)})
1311, 12syl 18 . . 3 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → ∪ {{𝑧 ∣ ∃𝑎 ∈ 𝐴 ∃𝑏 ∈ 𝐵 𝑧 = (𝑎 +o 𝑏)}} = {𝑧 ∣ ∃𝑎 ∈ 𝐴 ∃𝑏 ∈ 𝐵 𝑧 = (𝑎 +o 𝑏)})
1410, 13uneq12d 4170 . 2 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → (∪ {𝐴, ((𝐴 +o 𝐵) ∖ 𝐴)} ∪ ∪ {{𝑧 ∣ ∃𝑎 ∈ 𝐴 ∃𝑏 ∈ 𝐵 𝑧 = (𝑎 +o 𝑏)}}) = ((𝐴 +o 𝐵) ∪ {𝑧 ∣ ∃𝑎 ∈ 𝐴 ∃𝑏 ∈ 𝐵 𝑧 = (𝑎 +o 𝑏)}))
15 uniun 4894 . . 3 ∪ ({𝐴, ((𝐴 +o 𝐵) ∖ 𝐴)} ∪ {{𝑧 ∣ ∃𝑎 ∈ 𝐴 ∃𝑏 ∈ 𝐵 𝑧 = (𝑎 +o 𝑏)}}) = (∪ {𝐴, ((𝐴 +o 𝐵) ∖ 𝐴)} ∪ ∪ {{𝑧 ∣ ∃𝑎 ∈ 𝐴 ∃𝑏 ∈ 𝐵 𝑧 = (𝑎 +o 𝑏)}})
16 df-tp 4592 . . . . 5 {𝐴, ((𝐴 +o 𝐵) ∖ 𝐴), {𝑧 ∣ ∃𝑎 ∈ 𝐴 ∃𝑏 ∈ 𝐵 𝑧 = (𝑎 +o 𝑏)}} = ({𝐴, ((𝐴 +o 𝐵) ∖ 𝐴)} ∪ {{𝑧 ∣ ∃𝑎 ∈ 𝐴 ∃𝑏 ∈ 𝐵 𝑧 = (𝑎 +o 𝑏)}})
17 rp-abid 44701 . . . . . . 7 𝐴 = {𝑥 ∣ ∃𝑎 ∈ 𝐴 𝑥 = 𝑎}
1817a1i 11 . . . . . 6 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → 𝐴 = {𝑥 ∣ ∃𝑎 ∈ 𝐴 𝑥 = 𝑎})
19 oadif1 44703 . . . . . 6 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → ((𝐴 +o 𝐵) ∖ 𝐴) = {𝑦 ∣ ∃𝑏 ∈ 𝐵 𝑦 = (𝐴 +o 𝑏)})
20 eqidd 2767 . . . . . 6 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → {𝑧 ∣ ∃𝑎 ∈ 𝐴 ∃𝑏 ∈ 𝐵 𝑧 = (𝑎 +o 𝑏)} = {𝑧 ∣ ∃𝑎 ∈ 𝐴 ∃𝑏 ∈ 𝐵 𝑧 = (𝑎 +o 𝑏)})
2118, 19, 20tpeq123d 4710 . . . . 5 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → {𝐴, ((𝐴 +o 𝐵) ∖ 𝐴), {𝑧 ∣ ∃𝑎 ∈ 𝐴 ∃𝑏 ∈ 𝐵 𝑧 = (𝑎 +o 𝑏)}} = {{𝑥 ∣ ∃𝑎 ∈ 𝐴 𝑥 = 𝑎}, {𝑦 ∣ ∃𝑏 ∈ 𝐵 𝑦 = (𝐴 +o 𝑏)}, {𝑧 ∣ ∃𝑎 ∈ 𝐴 ∃𝑏 ∈ 𝐵 𝑧 = (𝑎 +o 𝑏)}})
2216, 21eqtr3id 2815 . . . 4 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → ({𝐴, ((𝐴 +o 𝐵) ∖ 𝐴)} ∪ {{𝑧 ∣ ∃𝑎 ∈ 𝐴 ∃𝑏 ∈ 𝐵 𝑧 = (𝑎 +o 𝑏)}}) = {{𝑥 ∣ ∃𝑎 ∈ 𝐴 𝑥 = 𝑎}, {𝑦 ∣ ∃𝑏 ∈ 𝐵 𝑦 = (𝐴 +o 𝑏)}, {𝑧 ∣ ∃𝑎 ∈ 𝐴 ∃𝑏 ∈ 𝐵 𝑧 = (𝑎 +o 𝑏)}})
2322unieqd 4884 . . 3 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → ∪ ({𝐴, ((𝐴 +o 𝐵) ∖ 𝐴)} ∪ {{𝑧 ∣ ∃𝑎 ∈ 𝐴 ∃𝑏 ∈ 𝐵 𝑧 = (𝑎 +o 𝑏)}}) = ∪ {{𝑥 ∣ ∃𝑎 ∈ 𝐴 𝑥 = 𝑎}, {𝑦 ∣ ∃𝑏 ∈ 𝐵 𝑦 = (𝐴 +o 𝑏)}, {𝑧 ∣ ∃𝑎 ∈ 𝐴 ∃𝑏 ∈ 𝐵 𝑧 = (𝑎 +o 𝑏)}})
2415, 23eqtr3id 2815 . 2 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → (∪ {𝐴, ((𝐴 +o 𝐵) ∖ 𝐴)} ∪ ∪ {{𝑧 ∣ ∃𝑎 ∈ 𝐴 ∃𝑏 ∈ 𝐵 𝑧 = (𝑎 +o 𝑏)}}) = ∪ {{𝑥 ∣ ∃𝑎 ∈ 𝐴 𝑥 = 𝑎}, {𝑦 ∣ ∃𝑏 ∈ 𝐵 𝑦 = (𝐴 +o 𝑏)}, {𝑧 ∣ ∃𝑎 ∈ 𝐴 ∃𝑏 ∈ 𝐵 𝑧 = (𝑎 +o 𝑏)}})
25 oaun3lem2 44698 . . 3 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → {𝑧 ∣ ∃𝑎 ∈ 𝐴 ∃𝑏 ∈ 𝐵 𝑧 = (𝑎 +o 𝑏)} ⊆ (𝐴 +o 𝐵))
26 ssequn2 4189 . . 3 ({𝑧 ∣ ∃𝑎 ∈ 𝐴 ∃𝑏 ∈ 𝐵 𝑧 = (𝑎 +o 𝑏)} ⊆ (𝐴 +o 𝐵) ↔ ((𝐴 +o 𝐵) ∪ {𝑧 ∣ ∃𝑎 ∈ 𝐴 ∃𝑏 ∈ 𝐵 𝑧 = (𝑎 +o 𝑏)}) = (𝐴 +o 𝐵))
2725, 26sylib 221 . 2 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → ((𝐴 +o 𝐵) ∪ {𝑧 ∣ ∃𝑎 ∈ 𝐴 ∃𝑏 ∈ 𝐵 𝑧 = (𝑎 +o 𝑏)}) = (𝐴 +o 𝐵))
2814, 24, 273eqtr3rd 2810 1 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → (𝐴 +o 𝐵) = ∪ {{𝑥 ∣ ∃𝑎 ∈ 𝐴 𝑥 = 𝑎}, {𝑦 ∣ ∃𝑏 ∈ 𝐵 𝑦 = (𝐴 +o 𝑏)}, {𝑧 ∣ ∃𝑎 ∈ 𝐴 ∃𝑏 ∈ 𝐵 𝑧 = (𝑎 +o 𝑏)}})
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1572   ∈ wcel 2150  {cab 2744  ∃wrex 3093  Vcvv 3453   ⊆ wss 3899   ∖ cdif 4047   ∪ cun 4151  {csn 4587  {cpr 4589  {ctp 4591  ∪ cuni 4871  Oncon0 6387  suc csuc 6389  (class class class)co 7450   +o coa 8510
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2152  ax-9 2160  ax-10 2183  ax-11 2200  ax-12 2219  ax-ext 2738  ax-rep 5237  ax-sep 5254  ax-nul 5265  ax-pr 5397  ax-un 7782
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1105  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2104  df-mo 2570  df-eu 2600  df-clab 2745  df-cleq 2758  df-clel 2842  df-nfc 2916  df-ne 2963  df-ral 3084  df-rex 3094  df-rmo 3368  df-reu 3369  df-rab 3416  df-v 3455  df-sbc 3742  df-csb 3851  df-ss 3900  df-pss 4016  df-dif 4049  df-in 4093  df-un 4153  df-nul 4281  df-if 4485  df-pw 4561  df-sn 4588  df-pr 4590  df-tp 4592  df-op 4840  df-uni 4872  df-int 4912  df-iun 4957  df-br 5108  df-opab 5173  df-mpt 5192  df-tr 5218  df-id 5552  df-eprel 5557  df-po 5565  df-so 5566  df-fr 5610  df-we 5612  df-xp 5663  df-rel 5664  df-cnv 5665  df-co 5666  df-dm 5667  df-rn 5668  df-res 5669  df-ima 5670  df-pred 6329  df-ord 6390  df-on 6391  df-lim 6392  df-suc 6393  df-iota 6519  df-fun 6567  df-fn 6568  df-f 6569  df-f1 6570  df-fo 6571  df-f1o 6572  df-fv 6573  df-ov 7453  df-oprab 7454  df-mpo 7455  df-om 7911  df-2nd 8035  df-frecs 8336  df-wrecs 8367  df-recs 8416  df-rdg 8455  df-oadd 8517
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator