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

Theorem addsval2 28419
Description: The value of surreal addition with different choices for each bound variable. Definition from [Conway] p. 5. (Contributed by Scott Fenton, 21-Jan-2025.)
Assertion
Ref Expression
addsval2 ((𝐴 ∈ No ∧ 𝐵 ∈ No) → (𝐴 +s 𝐵) = (({𝑦 ∣ ∃𝑙 ∈ (L‘𝐴)𝑦 = (𝑙 +s 𝐵)} ∪ {𝑧 ∣ ∃𝑚 ∈ (L‘𝐵)𝑧 = (𝐴 +s 𝑚)}) |s ({𝑤 ∣ ∃𝑟 ∈ (R‘𝐴)𝑤 = (𝑟 +s 𝐵)} ∪ {𝑡 ∣ ∃𝑠 ∈ (R‘𝐵)𝑡 = (𝐴 +s 𝑠)})))
Distinct variable groups:   𝐴,𝑙,𝑦   𝐴,𝑚,𝑧   𝐴,𝑟,𝑤   𝐴,𝑠,𝑡   𝐵,𝑙,𝑦   𝐵,𝑚,𝑧   𝐵,𝑟,𝑤   𝐵,𝑠,𝑡

Proof of Theorem addsval2
Dummy variables 𝑎 𝑏 𝑐 𝑑 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 addsval 28418 . 2 ((𝐴 ∈ No ∧ 𝐵 ∈ No) → (𝐴 +s 𝐵) = (({𝑎 ∣ ∃𝑏 ∈ (L‘𝐴)𝑎 = (𝑏 +s 𝐵)} ∪ {𝑐 ∣ ∃𝑏 ∈ (L‘𝐵)𝑐 = (𝐴 +s 𝑏)}) |s ({𝑎 ∣ ∃𝑑 ∈ (R‘𝐴)𝑎 = (𝑑 +s 𝐵)} ∪ {𝑐 ∣ ∃𝑑 ∈ (R‘𝐵)𝑐 = (𝐴 +s 𝑑)})))
2 eqeq1 2773 . . . . . . 7 (𝑎 = 𝑦 → (𝑎 = (𝑏 +s 𝐵) ↔ 𝑦 = (𝑏 +s 𝐵)))
32rexbidv 3196 . . . . . 6 (𝑎 = 𝑦 → (∃𝑏 ∈ (L‘𝐴)𝑎 = (𝑏 +s 𝐵) ↔ ∃𝑏 ∈ (L‘𝐴)𝑦 = (𝑏 +s 𝐵)))
4 oveq1 7462 . . . . . . . 8 (𝑏 = 𝑙 → (𝑏 +s 𝐵) = (𝑙 +s 𝐵))
54eqeq2d 2780 . . . . . . 7 (𝑏 = 𝑙 → (𝑦 = (𝑏 +s 𝐵) ↔ 𝑦 = (𝑙 +s 𝐵)))
65cbvrexvw 3248 . . . . . 6 (∃𝑏 ∈ (L‘𝐴)𝑦 = (𝑏 +s 𝐵) ↔ ∃𝑙 ∈ (L‘𝐴)𝑦 = (𝑙 +s 𝐵))
73, 6bitrdi 290 . . . . 5 (𝑎 = 𝑦 → (∃𝑏 ∈ (L‘𝐴)𝑎 = (𝑏 +s 𝐵) ↔ ∃𝑙 ∈ (L‘𝐴)𝑦 = (𝑙 +s 𝐵)))
87cbvabv 2840 . . . 4 {𝑎 ∣ ∃𝑏 ∈ (L‘𝐴)𝑎 = (𝑏 +s 𝐵)} = {𝑦 ∣ ∃𝑙 ∈ (L‘𝐴)𝑦 = (𝑙 +s 𝐵)}
9 eqeq1 2773 . . . . . . 7 (𝑐 = 𝑧 → (𝑐 = (𝐴 +s 𝑏) ↔ 𝑧 = (𝐴 +s 𝑏)))
109rexbidv 3196 . . . . . 6 (𝑐 = 𝑧 → (∃𝑏 ∈ (L‘𝐵)𝑐 = (𝐴 +s 𝑏) ↔ ∃𝑏 ∈ (L‘𝐵)𝑧 = (𝐴 +s 𝑏)))
11 oveq2 7463 . . . . . . . 8 (𝑏 = 𝑚 → (𝐴 +s 𝑏) = (𝐴 +s 𝑚))
1211eqeq2d 2780 . . . . . . 7 (𝑏 = 𝑚 → (𝑧 = (𝐴 +s 𝑏) ↔ 𝑧 = (𝐴 +s 𝑚)))
1312cbvrexvw 3248 . . . . . 6 (∃𝑏 ∈ (L‘𝐵)𝑧 = (𝐴 +s 𝑏) ↔ ∃𝑚 ∈ (L‘𝐵)𝑧 = (𝐴 +s 𝑚))
1410, 13bitrdi 290 . . . . 5 (𝑐 = 𝑧 → (∃𝑏 ∈ (L‘𝐵)𝑐 = (𝐴 +s 𝑏) ↔ ∃𝑚 ∈ (L‘𝐵)𝑧 = (𝐴 +s 𝑚)))
1514cbvabv 2840 . . . 4 {𝑐 ∣ ∃𝑏 ∈ (L‘𝐵)𝑐 = (𝐴 +s 𝑏)} = {𝑧 ∣ ∃𝑚 ∈ (L‘𝐵)𝑧 = (𝐴 +s 𝑚)}
168, 15uneq12i 4170 . . 3 ({𝑎 ∣ ∃𝑏 ∈ (L‘𝐴)𝑎 = (𝑏 +s 𝐵)} ∪ {𝑐 ∣ ∃𝑏 ∈ (L‘𝐵)𝑐 = (𝐴 +s 𝑏)}) = ({𝑦 ∣ ∃𝑙 ∈ (L‘𝐴)𝑦 = (𝑙 +s 𝐵)} ∪ {𝑧 ∣ ∃𝑚 ∈ (L‘𝐵)𝑧 = (𝐴 +s 𝑚)})
17 eqeq1 2773 . . . . . . 7 (𝑎 = 𝑤 → (𝑎 = (𝑑 +s 𝐵) ↔ 𝑤 = (𝑑 +s 𝐵)))
1817rexbidv 3196 . . . . . 6 (𝑎 = 𝑤 → (∃𝑑 ∈ (R‘𝐴)𝑎 = (𝑑 +s 𝐵) ↔ ∃𝑑 ∈ (R‘𝐴)𝑤 = (𝑑 +s 𝐵)))
19 oveq1 7462 . . . . . . . 8 (𝑑 = 𝑟 → (𝑑 +s 𝐵) = (𝑟 +s 𝐵))
2019eqeq2d 2780 . . . . . . 7 (𝑑 = 𝑟 → (𝑤 = (𝑑 +s 𝐵) ↔ 𝑤 = (𝑟 +s 𝐵)))
2120cbvrexvw 3248 . . . . . 6 (∃𝑑 ∈ (R‘𝐴)𝑤 = (𝑑 +s 𝐵) ↔ ∃𝑟 ∈ (R‘𝐴)𝑤 = (𝑟 +s 𝐵))
2218, 21bitrdi 290 . . . . 5 (𝑎 = 𝑤 → (∃𝑑 ∈ (R‘𝐴)𝑎 = (𝑑 +s 𝐵) ↔ ∃𝑟 ∈ (R‘𝐴)𝑤 = (𝑟 +s 𝐵)))
2322cbvabv 2840 . . . 4 {𝑎 ∣ ∃𝑑 ∈ (R‘𝐴)𝑎 = (𝑑 +s 𝐵)} = {𝑤 ∣ ∃𝑟 ∈ (R‘𝐴)𝑤 = (𝑟 +s 𝐵)}
24 eqeq1 2773 . . . . . . 7 (𝑐 = 𝑡 → (𝑐 = (𝐴 +s 𝑑) ↔ 𝑡 = (𝐴 +s 𝑑)))
2524rexbidv 3196 . . . . . 6 (𝑐 = 𝑡 → (∃𝑑 ∈ (R‘𝐵)𝑐 = (𝐴 +s 𝑑) ↔ ∃𝑑 ∈ (R‘𝐵)𝑡 = (𝐴 +s 𝑑)))
26 oveq2 7463 . . . . . . . 8 (𝑑 = 𝑠 → (𝐴 +s 𝑑) = (𝐴 +s 𝑠))
2726eqeq2d 2780 . . . . . . 7 (𝑑 = 𝑠 → (𝑡 = (𝐴 +s 𝑑) ↔ 𝑡 = (𝐴 +s 𝑠)))
2827cbvrexvw 3248 . . . . . 6 (∃𝑑 ∈ (R‘𝐵)𝑡 = (𝐴 +s 𝑑) ↔ ∃𝑠 ∈ (R‘𝐵)𝑡 = (𝐴 +s 𝑠))
2925, 28bitrdi 290 . . . . 5 (𝑐 = 𝑡 → (∃𝑑 ∈ (R‘𝐵)𝑐 = (𝐴 +s 𝑑) ↔ ∃𝑠 ∈ (R‘𝐵)𝑡 = (𝐴 +s 𝑠)))
3029cbvabv 2840 . . . 4 {𝑐 ∣ ∃𝑑 ∈ (R‘𝐵)𝑐 = (𝐴 +s 𝑑)} = {𝑡 ∣ ∃𝑠 ∈ (R‘𝐵)𝑡 = (𝐴 +s 𝑠)}
3123, 30uneq12i 4170 . . 3 ({𝑎 ∣ ∃𝑑 ∈ (R‘𝐴)𝑎 = (𝑑 +s 𝐵)} ∪ {𝑐 ∣ ∃𝑑 ∈ (R‘𝐵)𝑐 = (𝐴 +s 𝑑)}) = ({𝑤 ∣ ∃𝑟 ∈ (R‘𝐴)𝑤 = (𝑟 +s 𝐵)} ∪ {𝑡 ∣ ∃𝑠 ∈ (R‘𝐵)𝑡 = (𝐴 +s 𝑠)})
3216, 31oveq12i 7467 . 2 (({𝑎 ∣ ∃𝑏 ∈ (L‘𝐴)𝑎 = (𝑏 +s 𝐵)} ∪ {𝑐 ∣ ∃𝑏 ∈ (L‘𝐵)𝑐 = (𝐴 +s 𝑏)}) |s ({𝑎 ∣ ∃𝑑 ∈ (R‘𝐴)𝑎 = (𝑑 +s 𝐵)} ∪ {𝑐 ∣ ∃𝑑 ∈ (R‘𝐵)𝑐 = (𝐴 +s 𝑑)})) = (({𝑦 ∣ ∃𝑙 ∈ (L‘𝐴)𝑦 = (𝑙 +s 𝐵)} ∪ {𝑧 ∣ ∃𝑚 ∈ (L‘𝐵)𝑧 = (𝐴 +s 𝑚)}) |s ({𝑤 ∣ ∃𝑟 ∈ (R‘𝐴)𝑤 = (𝑟 +s 𝐵)} ∪ {𝑡 ∣ ∃𝑠 ∈ (R‘𝐵)𝑡 = (𝐴 +s 𝑠)}))
331, 32eqtrdi 2820 1 ((𝐴 ∈ No ∧ 𝐵 ∈ No) → (𝐴 +s 𝐵) = (({𝑦 ∣ ∃𝑙 ∈ (L‘𝐴)𝑦 = (𝑙 +s 𝐵)} ∪ {𝑧 ∣ ∃𝑚 ∈ (L‘𝐵)𝑧 = (𝐴 +s 𝑚)}) |s ({𝑤 ∣ ∃𝑟 ∈ (R‘𝐴)𝑤 = (𝑟 +s 𝐵)} ∪ {𝑡 ∣ ∃𝑠 ∈ (R‘𝐵)𝑡 = (𝐴 +s 𝑠)})))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1572   ∈ wcel 2151  {cab 2747  ∃wrex 3096   ∪ cun 4154  ‘cfv 6570  (class class class)co 7455  Nocsur 28067   |s ccuts 28215  Lcleft 28281  Rcright 28282   +s cadds 28415
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 2153  ax-9 2161  ax-10 2184  ax-11 2201  ax-12 2220  ax-ext 2741  ax-rep 5241  ax-sep 5258  ax-nul 5269  ax-pow 5337  ax-pr 5401  ax-un 7787
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 2105  df-mo 2571  df-eu 2601  df-clab 2748  df-cleq 2761  df-clel 2845  df-nfc 2919  df-ne 2966  df-ral 3087  df-rex 3097  df-rmo 3371  df-reu 3372  df-rab 3419  df-v 3458  df-sbc 3745  df-csb 3854  df-ss 3903  df-pss 4019  df-dif 4052  df-in 4096  df-un 4156  df-nul 4284  df-if 4488  df-pw 4564  df-sn 4591  df-pr 4593  df-tp 4595  df-op 4844  df-uni 4876  df-int 4916  df-iun 4961  df-br 5112  df-opab 5177  df-mpt 5196  df-tr 5222  df-id 5556  df-eprel 5561  df-po 5569  df-so 5570  df-fr 5614  df-se 5615  df-we 5616  df-xp 5667  df-rel 5668  df-cnv 5669  df-co 5670  df-dm 5671  df-rn 5672  df-res 5673  df-ima 5674  df-pred 6334  df-ord 6395  df-on 6396  df-suc 6398  df-iota 6524  df-fun 6572  df-fn 6573  df-f 6574  df-f1 6575  df-fo 6576  df-f1o 6577  df-fv 6578  df-riota 7412  df-ov 7458  df-oprab 7459  df-mpo 7460  df-1st 8039  df-2nd 8040  df-frecs 8341  df-wrecs 8372  df-recs 8421  df-1o 8518  df-2o 8519  df-no 28070  df-lts 28071  df-bday 28072  df-slts 28214  df-cuts 28216  df-made 28283  df-old 28284  df-left 28286  df-right 28287  df-norec2 28405  df-adds 28416
This theorem is used by:  addsproplem3  28427  leadds1  28445  addsuniflem  28457  addsasslem1  28459  addsasslem2  28460  addbday  28474  addsdilem1  28607
  Copyright terms: Public domain W3C validator