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

Theorem addsval2 27278
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 27277 . 2 ((𝐴 No 𝐵 No ) → (𝐴 +s 𝐵) = (({𝑎 ∣ ∃𝑏 ∈ ( L ‘𝐴)𝑎 = (𝑏 +s 𝐵)} ∪ {𝑐 ∣ ∃𝑏 ∈ ( L ‘𝐵)𝑐 = (𝐴 +s 𝑏)}) |s ({𝑎 ∣ ∃𝑑 ∈ ( R ‘𝐴)𝑎 = (𝑑 +s 𝐵)} ∪ {𝑐 ∣ ∃𝑑 ∈ ( R ‘𝐵)𝑐 = (𝐴 +s 𝑑)})))
2 eqeq1 2741 . . . . . . 7 (𝑎 = 𝑦 → (𝑎 = (𝑏 +s 𝐵) ↔ 𝑦 = (𝑏 +s 𝐵)))
32rexbidv 3176 . . . . . 6 (𝑎 = 𝑦 → (∃𝑏 ∈ ( L ‘𝐴)𝑎 = (𝑏 +s 𝐵) ↔ ∃𝑏 ∈ ( L ‘𝐴)𝑦 = (𝑏 +s 𝐵)))
4 oveq1 7365 . . . . . . . 8 (𝑏 = 𝑙 → (𝑏 +s 𝐵) = (𝑙 +s 𝐵))
54eqeq2d 2748 . . . . . . 7 (𝑏 = 𝑙 → (𝑦 = (𝑏 +s 𝐵) ↔ 𝑦 = (𝑙 +s 𝐵)))
65cbvrexvw 3227 . . . . . 6 (∃𝑏 ∈ ( L ‘𝐴)𝑦 = (𝑏 +s 𝐵) ↔ ∃𝑙 ∈ ( L ‘𝐴)𝑦 = (𝑙 +s 𝐵))
73, 6bitrdi 287 . . . . 5 (𝑎 = 𝑦 → (∃𝑏 ∈ ( L ‘𝐴)𝑎 = (𝑏 +s 𝐵) ↔ ∃𝑙 ∈ ( L ‘𝐴)𝑦 = (𝑙 +s 𝐵)))
87cbvabv 2810 . . . 4 {𝑎 ∣ ∃𝑏 ∈ ( L ‘𝐴)𝑎 = (𝑏 +s 𝐵)} = {𝑦 ∣ ∃𝑙 ∈ ( L ‘𝐴)𝑦 = (𝑙 +s 𝐵)}
9 eqeq1 2741 . . . . . . 7 (𝑐 = 𝑧 → (𝑐 = (𝐴 +s 𝑏) ↔ 𝑧 = (𝐴 +s 𝑏)))
109rexbidv 3176 . . . . . 6 (𝑐 = 𝑧 → (∃𝑏 ∈ ( L ‘𝐵)𝑐 = (𝐴 +s 𝑏) ↔ ∃𝑏 ∈ ( L ‘𝐵)𝑧 = (𝐴 +s 𝑏)))
11 oveq2 7366 . . . . . . . 8 (𝑏 = 𝑚 → (𝐴 +s 𝑏) = (𝐴 +s 𝑚))
1211eqeq2d 2748 . . . . . . 7 (𝑏 = 𝑚 → (𝑧 = (𝐴 +s 𝑏) ↔ 𝑧 = (𝐴 +s 𝑚)))
1312cbvrexvw 3227 . . . . . 6 (∃𝑏 ∈ ( L ‘𝐵)𝑧 = (𝐴 +s 𝑏) ↔ ∃𝑚 ∈ ( L ‘𝐵)𝑧 = (𝐴 +s 𝑚))
1410, 13bitrdi 287 . . . . 5 (𝑐 = 𝑧 → (∃𝑏 ∈ ( L ‘𝐵)𝑐 = (𝐴 +s 𝑏) ↔ ∃𝑚 ∈ ( L ‘𝐵)𝑧 = (𝐴 +s 𝑚)))
1514cbvabv 2810 . . . 4 {𝑐 ∣ ∃𝑏 ∈ ( L ‘𝐵)𝑐 = (𝐴 +s 𝑏)} = {𝑧 ∣ ∃𝑚 ∈ ( L ‘𝐵)𝑧 = (𝐴 +s 𝑚)}
168, 15uneq12i 4122 . . 3 ({𝑎 ∣ ∃𝑏 ∈ ( L ‘𝐴)𝑎 = (𝑏 +s 𝐵)} ∪ {𝑐 ∣ ∃𝑏 ∈ ( L ‘𝐵)𝑐 = (𝐴 +s 𝑏)}) = ({𝑦 ∣ ∃𝑙 ∈ ( L ‘𝐴)𝑦 = (𝑙 +s 𝐵)} ∪ {𝑧 ∣ ∃𝑚 ∈ ( L ‘𝐵)𝑧 = (𝐴 +s 𝑚)})
17 eqeq1 2741 . . . . . . 7 (𝑎 = 𝑤 → (𝑎 = (𝑑 +s 𝐵) ↔ 𝑤 = (𝑑 +s 𝐵)))
1817rexbidv 3176 . . . . . 6 (𝑎 = 𝑤 → (∃𝑑 ∈ ( R ‘𝐴)𝑎 = (𝑑 +s 𝐵) ↔ ∃𝑑 ∈ ( R ‘𝐴)𝑤 = (𝑑 +s 𝐵)))
19 oveq1 7365 . . . . . . . 8 (𝑑 = 𝑟 → (𝑑 +s 𝐵) = (𝑟 +s 𝐵))
2019eqeq2d 2748 . . . . . . 7 (𝑑 = 𝑟 → (𝑤 = (𝑑 +s 𝐵) ↔ 𝑤 = (𝑟 +s 𝐵)))
2120cbvrexvw 3227 . . . . . 6 (∃𝑑 ∈ ( R ‘𝐴)𝑤 = (𝑑 +s 𝐵) ↔ ∃𝑟 ∈ ( R ‘𝐴)𝑤 = (𝑟 +s 𝐵))
2218, 21bitrdi 287 . . . . 5 (𝑎 = 𝑤 → (∃𝑑 ∈ ( R ‘𝐴)𝑎 = (𝑑 +s 𝐵) ↔ ∃𝑟 ∈ ( R ‘𝐴)𝑤 = (𝑟 +s 𝐵)))
2322cbvabv 2810 . . . 4 {𝑎 ∣ ∃𝑑 ∈ ( R ‘𝐴)𝑎 = (𝑑 +s 𝐵)} = {𝑤 ∣ ∃𝑟 ∈ ( R ‘𝐴)𝑤 = (𝑟 +s 𝐵)}
24 eqeq1 2741 . . . . . . 7 (𝑐 = 𝑡 → (𝑐 = (𝐴 +s 𝑑) ↔ 𝑡 = (𝐴 +s 𝑑)))
2524rexbidv 3176 . . . . . 6 (𝑐 = 𝑡 → (∃𝑑 ∈ ( R ‘𝐵)𝑐 = (𝐴 +s 𝑑) ↔ ∃𝑑 ∈ ( R ‘𝐵)𝑡 = (𝐴 +s 𝑑)))
26 oveq2 7366 . . . . . . . 8 (𝑑 = 𝑠 → (𝐴 +s 𝑑) = (𝐴 +s 𝑠))
2726eqeq2d 2748 . . . . . . 7 (𝑑 = 𝑠 → (𝑡 = (𝐴 +s 𝑑) ↔ 𝑡 = (𝐴 +s 𝑠)))
2827cbvrexvw 3227 . . . . . 6 (∃𝑑 ∈ ( R ‘𝐵)𝑡 = (𝐴 +s 𝑑) ↔ ∃𝑠 ∈ ( R ‘𝐵)𝑡 = (𝐴 +s 𝑠))
2925, 28bitrdi 287 . . . . 5 (𝑐 = 𝑡 → (∃𝑑 ∈ ( R ‘𝐵)𝑐 = (𝐴 +s 𝑑) ↔ ∃𝑠 ∈ ( R ‘𝐵)𝑡 = (𝐴 +s 𝑠)))
3029cbvabv 2810 . . . 4 {𝑐 ∣ ∃𝑑 ∈ ( R ‘𝐵)𝑐 = (𝐴 +s 𝑑)} = {𝑡 ∣ ∃𝑠 ∈ ( R ‘𝐵)𝑡 = (𝐴 +s 𝑠)}
3123, 30uneq12i 4122 . . 3 ({𝑎 ∣ ∃𝑑 ∈ ( R ‘𝐴)𝑎 = (𝑑 +s 𝐵)} ∪ {𝑐 ∣ ∃𝑑 ∈ ( R ‘𝐵)𝑐 = (𝐴 +s 𝑑)}) = ({𝑤 ∣ ∃𝑟 ∈ ( R ‘𝐴)𝑤 = (𝑟 +s 𝐵)} ∪ {𝑡 ∣ ∃𝑠 ∈ ( R ‘𝐵)𝑡 = (𝐴 +s 𝑠)})
3216, 31oveq12i 7370 . 2 (({𝑎 ∣ ∃𝑏 ∈ ( L ‘𝐴)𝑎 = (𝑏 +s 𝐵)} ∪ {𝑐 ∣ ∃𝑏 ∈ ( L ‘𝐵)𝑐 = (𝐴 +s 𝑏)}) |s ({𝑎 ∣ ∃𝑑 ∈ ( R ‘𝐴)𝑎 = (𝑑 +s 𝐵)} ∪ {𝑐 ∣ ∃𝑑 ∈ ( R ‘𝐵)𝑐 = (𝐴 +s 𝑑)})) = (({𝑦 ∣ ∃𝑙 ∈ ( L ‘𝐴)𝑦 = (𝑙 +s 𝐵)} ∪ {𝑧 ∣ ∃𝑚 ∈ ( L ‘𝐵)𝑧 = (𝐴 +s 𝑚)}) |s ({𝑤 ∣ ∃𝑟 ∈ ( R ‘𝐴)𝑤 = (𝑟 +s 𝐵)} ∪ {𝑡 ∣ ∃𝑠 ∈ ( R ‘𝐵)𝑡 = (𝐴 +s 𝑠)}))
331, 32eqtrdi 2793 1 ((𝐴 No 𝐵 No ) → (𝐴 +s 𝐵) = (({𝑦 ∣ ∃𝑙 ∈ ( L ‘𝐴)𝑦 = (𝑙 +s 𝐵)} ∪ {𝑧 ∣ ∃𝑚 ∈ ( L ‘𝐵)𝑧 = (𝐴 +s 𝑚)}) |s ({𝑤 ∣ ∃𝑟 ∈ ( R ‘𝐴)𝑤 = (𝑟 +s 𝐵)} ∪ {𝑡 ∣ ∃𝑠 ∈ ( R ‘𝐵)𝑡 = (𝐴 +s 𝑠)})))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 397   = wceq 1542  wcel 2107  {cab 2714  wrex 3074  cun 3909  cfv 6497  (class class class)co 7358   No csur 26991   |s cscut 27125   L cleft 27178   R cright 27179   +s cadds 27274
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2109  ax-9 2117  ax-10 2138  ax-11 2155  ax-12 2172  ax-ext 2708  ax-rep 5243  ax-sep 5257  ax-nul 5264  ax-pow 5321  ax-pr 5385  ax-un 7673
This theorem depends on definitions:  df-bi 206  df-an 398  df-or 847  df-3or 1089  df-3an 1090  df-tru 1545  df-fal 1555  df-ex 1783  df-nf 1787  df-sb 2069  df-mo 2539  df-eu 2568  df-clab 2715  df-cleq 2729  df-clel 2815  df-nfc 2890  df-ne 2945  df-ral 3066  df-rex 3075  df-rmo 3354  df-reu 3355  df-rab 3409  df-v 3448  df-sbc 3741  df-csb 3857  df-dif 3914  df-un 3916  df-in 3918  df-ss 3928  df-pss 3930  df-nul 4284  df-if 4488  df-pw 4563  df-sn 4588  df-pr 4590  df-tp 4592  df-op 4594  df-uni 4867  df-int 4909  df-iun 4957  df-br 5107  df-opab 5169  df-mpt 5190  df-tr 5224  df-id 5532  df-eprel 5538  df-po 5546  df-so 5547  df-fr 5589  df-se 5590  df-we 5591  df-xp 5640  df-rel 5641  df-cnv 5642  df-co 5643  df-dm 5644  df-rn 5645  df-res 5646  df-ima 5647  df-pred 6254  df-ord 6321  df-on 6322  df-suc 6324  df-iota 6449  df-fun 6499  df-fn 6500  df-f 6501  df-f1 6502  df-fo 6503  df-f1o 6504  df-fv 6505  df-riota 7314  df-ov 7361  df-oprab 7362  df-mpo 7363  df-1st 7922  df-2nd 7923  df-frecs 8213  df-wrecs 8244  df-recs 8318  df-1o 8413  df-2o 8414  df-no 26994  df-slt 26995  df-bday 26996  df-sslt 27124  df-scut 27126  df-made 27180  df-old 27181  df-left 27183  df-right 27184  df-norec2 27264  df-adds 27275
This theorem is referenced by:  addsproplem3  27286  sleadd1  27301  addsunif  27313  addsasslem1  27314  addsasslem2  27315
  Copyright terms: Public domain W3C validator