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

Theorem onaddscl 28181
Description: The surreal ordinals are closed under addition. (Contributed by Scott Fenton, 22-Aug-2025.)
Assertion
Ref Expression
onaddscl ((𝐴 ∈ Ons𝐵 ∈ Ons) → (𝐴 +s 𝐵) ∈ Ons)

Proof of Theorem onaddscl
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 fvex 6878 . . . . 5 ( L ‘𝐴) ∈ V
21abrexex 7950 . . . 4 {𝑥 ∣ ∃𝑦 ∈ ( L ‘𝐴)𝑥 = (𝑦 +s 𝐵)} ∈ V
3 fvex 6878 . . . . 5 ( L ‘𝐵) ∈ V
43abrexex 7950 . . . 4 {𝑥 ∣ ∃𝑦 ∈ ( L ‘𝐵)𝑥 = (𝐴 +s 𝑦)} ∈ V
52, 4unex 7727 . . 3 ({𝑥 ∣ ∃𝑦 ∈ ( L ‘𝐴)𝑥 = (𝑦 +s 𝐵)} ∪ {𝑥 ∣ ∃𝑦 ∈ ( L ‘𝐵)𝑥 = (𝐴 +s 𝑦)}) ∈ V
65a1i 11 . 2 ((𝐴 ∈ Ons𝐵 ∈ Ons) → ({𝑥 ∣ ∃𝑦 ∈ ( L ‘𝐴)𝑥 = (𝑦 +s 𝐵)} ∪ {𝑥 ∣ ∃𝑦 ∈ ( L ‘𝐵)𝑥 = (𝐴 +s 𝑦)}) ∈ V)
7 leftssno 27799 . . . . . . . . 9 ( L ‘𝐴) ⊆ No
87sseli 3950 . . . . . . . 8 (𝑦 ∈ ( L ‘𝐴) → 𝑦 No )
98adantl 481 . . . . . . 7 (((𝐴 ∈ Ons𝐵 ∈ Ons) ∧ 𝑦 ∈ ( L ‘𝐴)) → 𝑦 No )
10 onsno 28163 . . . . . . . 8 (𝐵 ∈ Ons𝐵 No )
1110ad2antlr 727 . . . . . . 7 (((𝐴 ∈ Ons𝐵 ∈ Ons) ∧ 𝑦 ∈ ( L ‘𝐴)) → 𝐵 No )
129, 11addscld 27894 . . . . . 6 (((𝐴 ∈ Ons𝐵 ∈ Ons) ∧ 𝑦 ∈ ( L ‘𝐴)) → (𝑦 +s 𝐵) ∈ No )
13 eleq1 2817 . . . . . 6 (𝑥 = (𝑦 +s 𝐵) → (𝑥 No ↔ (𝑦 +s 𝐵) ∈ No ))
1412, 13syl5ibrcom 247 . . . . 5 (((𝐴 ∈ Ons𝐵 ∈ Ons) ∧ 𝑦 ∈ ( L ‘𝐴)) → (𝑥 = (𝑦 +s 𝐵) → 𝑥 No ))
1514rexlimdva 3136 . . . 4 ((𝐴 ∈ Ons𝐵 ∈ Ons) → (∃𝑦 ∈ ( L ‘𝐴)𝑥 = (𝑦 +s 𝐵) → 𝑥 No ))
1615abssdv 4039 . . 3 ((𝐴 ∈ Ons𝐵 ∈ Ons) → {𝑥 ∣ ∃𝑦 ∈ ( L ‘𝐴)𝑥 = (𝑦 +s 𝐵)} ⊆ No )
17 onsno 28163 . . . . . . . 8 (𝐴 ∈ Ons𝐴 No )
1817ad2antrr 726 . . . . . . 7 (((𝐴 ∈ Ons𝐵 ∈ Ons) ∧ 𝑦 ∈ ( L ‘𝐵)) → 𝐴 No )
19 leftssno 27799 . . . . . . . . 9 ( L ‘𝐵) ⊆ No
2019sseli 3950 . . . . . . . 8 (𝑦 ∈ ( L ‘𝐵) → 𝑦 No )
2120adantl 481 . . . . . . 7 (((𝐴 ∈ Ons𝐵 ∈ Ons) ∧ 𝑦 ∈ ( L ‘𝐵)) → 𝑦 No )
2218, 21addscld 27894 . . . . . 6 (((𝐴 ∈ Ons𝐵 ∈ Ons) ∧ 𝑦 ∈ ( L ‘𝐵)) → (𝐴 +s 𝑦) ∈ No )
23 eleq1 2817 . . . . . 6 (𝑥 = (𝐴 +s 𝑦) → (𝑥 No ↔ (𝐴 +s 𝑦) ∈ No ))
2422, 23syl5ibrcom 247 . . . . 5 (((𝐴 ∈ Ons𝐵 ∈ Ons) ∧ 𝑦 ∈ ( L ‘𝐵)) → (𝑥 = (𝐴 +s 𝑦) → 𝑥 No ))
2524rexlimdva 3136 . . . 4 ((𝐴 ∈ Ons𝐵 ∈ Ons) → (∃𝑦 ∈ ( L ‘𝐵)𝑥 = (𝐴 +s 𝑦) → 𝑥 No ))
2625abssdv 4039 . . 3 ((𝐴 ∈ Ons𝐵 ∈ Ons) → {𝑥 ∣ ∃𝑦 ∈ ( L ‘𝐵)𝑥 = (𝐴 +s 𝑦)} ⊆ No )
2716, 26unssd 4163 . 2 ((𝐴 ∈ Ons𝐵 ∈ Ons) → ({𝑥 ∣ ∃𝑦 ∈ ( L ‘𝐴)𝑥 = (𝑦 +s 𝐵)} ∪ {𝑥 ∣ ∃𝑦 ∈ ( L ‘𝐵)𝑥 = (𝐴 +s 𝑦)}) ⊆ No )
281elpw 4575 . . . . . 6 (( L ‘𝐴) ∈ 𝒫 No ↔ ( L ‘𝐴) ⊆ No )
297, 28mpbir 231 . . . . 5 ( L ‘𝐴) ∈ 𝒫 No
30 nulssgt 27717 . . . . 5 (( L ‘𝐴) ∈ 𝒫 No → ( L ‘𝐴) <<s ∅)
3129, 30mp1i 13 . . . 4 ((𝐴 ∈ Ons𝐵 ∈ Ons) → ( L ‘𝐴) <<s ∅)
323elpw 4575 . . . . . 6 (( L ‘𝐵) ∈ 𝒫 No ↔ ( L ‘𝐵) ⊆ No )
3319, 32mpbir 231 . . . . 5 ( L ‘𝐵) ∈ 𝒫 No
34 nulssgt 27717 . . . . 5 (( L ‘𝐵) ∈ 𝒫 No → ( L ‘𝐵) <<s ∅)
3533, 34mp1i 13 . . . 4 ((𝐴 ∈ Ons𝐵 ∈ Ons) → ( L ‘𝐵) <<s ∅)
36 onscutleft 28171 . . . . 5 (𝐴 ∈ Ons𝐴 = (( L ‘𝐴) |s ∅))
3736adantr 480 . . . 4 ((𝐴 ∈ Ons𝐵 ∈ Ons) → 𝐴 = (( L ‘𝐴) |s ∅))
38 onscutleft 28171 . . . . 5 (𝐵 ∈ Ons𝐵 = (( L ‘𝐵) |s ∅))
3938adantl 481 . . . 4 ((𝐴 ∈ Ons𝐵 ∈ Ons) → 𝐵 = (( L ‘𝐵) |s ∅))
4031, 35, 37, 39addsunif 27916 . . 3 ((𝐴 ∈ Ons𝐵 ∈ Ons) → (𝐴 +s 𝐵) = (({𝑥 ∣ ∃𝑦 ∈ ( L ‘𝐴)𝑥 = (𝑦 +s 𝐵)} ∪ {𝑥 ∣ ∃𝑦 ∈ ( L ‘𝐵)𝑥 = (𝐴 +s 𝑦)}) |s ({𝑥 ∣ ∃𝑦 ∈ ∅ 𝑥 = (𝑦 +s 𝐵)} ∪ {𝑥 ∣ ∃𝑦 ∈ ∅ 𝑥 = (𝐴 +s 𝑦)})))
41 rex0 4331 . . . . . . 7 ¬ ∃𝑦 ∈ ∅ 𝑥 = (𝑦 +s 𝐵)
4241abf 4377 . . . . . 6 {𝑥 ∣ ∃𝑦 ∈ ∅ 𝑥 = (𝑦 +s 𝐵)} = ∅
43 rex0 4331 . . . . . . 7 ¬ ∃𝑦 ∈ ∅ 𝑥 = (𝐴 +s 𝑦)
4443abf 4377 . . . . . 6 {𝑥 ∣ ∃𝑦 ∈ ∅ 𝑥 = (𝐴 +s 𝑦)} = ∅
4542, 44uneq12i 4137 . . . . 5 ({𝑥 ∣ ∃𝑦 ∈ ∅ 𝑥 = (𝑦 +s 𝐵)} ∪ {𝑥 ∣ ∃𝑦 ∈ ∅ 𝑥 = (𝐴 +s 𝑦)}) = (∅ ∪ ∅)
46 un0 4365 . . . . 5 (∅ ∪ ∅) = ∅
4745, 46eqtri 2753 . . . 4 ({𝑥 ∣ ∃𝑦 ∈ ∅ 𝑥 = (𝑦 +s 𝐵)} ∪ {𝑥 ∣ ∃𝑦 ∈ ∅ 𝑥 = (𝐴 +s 𝑦)}) = ∅
4847oveq2i 7405 . . 3 (({𝑥 ∣ ∃𝑦 ∈ ( L ‘𝐴)𝑥 = (𝑦 +s 𝐵)} ∪ {𝑥 ∣ ∃𝑦 ∈ ( L ‘𝐵)𝑥 = (𝐴 +s 𝑦)}) |s ({𝑥 ∣ ∃𝑦 ∈ ∅ 𝑥 = (𝑦 +s 𝐵)} ∪ {𝑥 ∣ ∃𝑦 ∈ ∅ 𝑥 = (𝐴 +s 𝑦)})) = (({𝑥 ∣ ∃𝑦 ∈ ( L ‘𝐴)𝑥 = (𝑦 +s 𝐵)} ∪ {𝑥 ∣ ∃𝑦 ∈ ( L ‘𝐵)𝑥 = (𝐴 +s 𝑦)}) |s ∅)
4940, 48eqtrdi 2781 . 2 ((𝐴 ∈ Ons𝐵 ∈ Ons) → (𝐴 +s 𝐵) = (({𝑥 ∣ ∃𝑦 ∈ ( L ‘𝐴)𝑥 = (𝑦 +s 𝐵)} ∪ {𝑥 ∣ ∃𝑦 ∈ ( L ‘𝐵)𝑥 = (𝐴 +s 𝑦)}) |s ∅))
506, 27, 49elons2d 28167 1 ((𝐴 ∈ Ons𝐵 ∈ Ons) → (𝐴 +s 𝐵) ∈ Ons)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395   = wceq 1540  wcel 2109  {cab 2708  wrex 3055  Vcvv 3455  cun 3920  wss 3922  c0 4304  𝒫 cpw 4571   class class class wbr 5115  cfv 6519  (class class class)co 7394   No csur 27558   <<s csslt 27699   |s cscut 27701   L cleft 27760   +s cadds 27873  Onscons 28159
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-10 2142  ax-11 2158  ax-12 2178  ax-ext 2702  ax-rep 5242  ax-sep 5259  ax-nul 5269  ax-pow 5328  ax-pr 5395  ax-un 7718
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-nf 1784  df-sb 2066  df-mo 2534  df-eu 2563  df-clab 2709  df-cleq 2722  df-clel 2804  df-nfc 2880  df-ne 2928  df-ral 3047  df-rex 3056  df-rmo 3357  df-reu 3358  df-rab 3412  df-v 3457  df-sbc 3762  df-csb 3871  df-dif 3925  df-un 3927  df-in 3929  df-ss 3939  df-pss 3942  df-nul 4305  df-if 4497  df-pw 4573  df-sn 4598  df-pr 4600  df-tp 4602  df-op 4604  df-ot 4606  df-uni 4880  df-int 4919  df-iun 4965  df-br 5116  df-opab 5178  df-mpt 5197  df-tr 5223  df-id 5541  df-eprel 5546  df-po 5554  df-so 5555  df-fr 5599  df-se 5600  df-we 5601  df-xp 5652  df-rel 5653  df-cnv 5654  df-co 5655  df-dm 5656  df-rn 5657  df-res 5658  df-ima 5659  df-pred 6282  df-ord 6343  df-on 6344  df-suc 6346  df-iota 6472  df-fun 6521  df-fn 6522  df-f 6523  df-f1 6524  df-fo 6525  df-f1o 6526  df-fv 6527  df-riota 7351  df-ov 7397  df-oprab 7398  df-mpo 7399  df-1st 7977  df-2nd 7978  df-frecs 8269  df-wrecs 8300  df-recs 8349  df-1o 8443  df-2o 8444  df-nadd 8641  df-no 27561  df-slt 27562  df-bday 27563  df-sle 27664  df-sslt 27700  df-scut 27702  df-0s 27743  df-made 27762  df-old 27763  df-left 27765  df-right 27766  df-norec2 27863  df-adds 27874  df-ons 28160
This theorem is referenced by:  peano2ons  28183
  Copyright terms: Public domain W3C validator