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

Theorem addsval2 27835
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 27834 . 2 ((𝐴 No 𝐵 No ) → (𝐴 +s 𝐵) = (({𝑎 ∣ ∃𝑏 ∈ ( L ‘𝐴)𝑎 = (𝑏 +s 𝐵)} ∪ {𝑐 ∣ ∃𝑏 ∈ ( L ‘𝐵)𝑐 = (𝐴 +s 𝑏)}) |s ({𝑎 ∣ ∃𝑑 ∈ ( R ‘𝐴)𝑎 = (𝑑 +s 𝐵)} ∪ {𝑐 ∣ ∃𝑑 ∈ ( R ‘𝐵)𝑐 = (𝐴 +s 𝑑)})))
2 eqeq1 2730 . . . . . . 7 (𝑎 = 𝑦 → (𝑎 = (𝑏 +s 𝐵) ↔ 𝑦 = (𝑏 +s 𝐵)))
32rexbidv 3172 . . . . . 6 (𝑎 = 𝑦 → (∃𝑏 ∈ ( L ‘𝐴)𝑎 = (𝑏 +s 𝐵) ↔ ∃𝑏 ∈ ( L ‘𝐴)𝑦 = (𝑏 +s 𝐵)))
4 oveq1 7412 . . . . . . . 8 (𝑏 = 𝑙 → (𝑏 +s 𝐵) = (𝑙 +s 𝐵))
54eqeq2d 2737 . . . . . . 7 (𝑏 = 𝑙 → (𝑦 = (𝑏 +s 𝐵) ↔ 𝑦 = (𝑙 +s 𝐵)))
65cbvrexvw 3229 . . . . . 6 (∃𝑏 ∈ ( L ‘𝐴)𝑦 = (𝑏 +s 𝐵) ↔ ∃𝑙 ∈ ( L ‘𝐴)𝑦 = (𝑙 +s 𝐵))
73, 6bitrdi 287 . . . . 5 (𝑎 = 𝑦 → (∃𝑏 ∈ ( L ‘𝐴)𝑎 = (𝑏 +s 𝐵) ↔ ∃𝑙 ∈ ( L ‘𝐴)𝑦 = (𝑙 +s 𝐵)))
87cbvabv 2799 . . . 4 {𝑎 ∣ ∃𝑏 ∈ ( L ‘𝐴)𝑎 = (𝑏 +s 𝐵)} = {𝑦 ∣ ∃𝑙 ∈ ( L ‘𝐴)𝑦 = (𝑙 +s 𝐵)}
9 eqeq1 2730 . . . . . . 7 (𝑐 = 𝑧 → (𝑐 = (𝐴 +s 𝑏) ↔ 𝑧 = (𝐴 +s 𝑏)))
109rexbidv 3172 . . . . . 6 (𝑐 = 𝑧 → (∃𝑏 ∈ ( L ‘𝐵)𝑐 = (𝐴 +s 𝑏) ↔ ∃𝑏 ∈ ( L ‘𝐵)𝑧 = (𝐴 +s 𝑏)))
11 oveq2 7413 . . . . . . . 8 (𝑏 = 𝑚 → (𝐴 +s 𝑏) = (𝐴 +s 𝑚))
1211eqeq2d 2737 . . . . . . 7 (𝑏 = 𝑚 → (𝑧 = (𝐴 +s 𝑏) ↔ 𝑧 = (𝐴 +s 𝑚)))
1312cbvrexvw 3229 . . . . . 6 (∃𝑏 ∈ ( L ‘𝐵)𝑧 = (𝐴 +s 𝑏) ↔ ∃𝑚 ∈ ( L ‘𝐵)𝑧 = (𝐴 +s 𝑚))
1410, 13bitrdi 287 . . . . 5 (𝑐 = 𝑧 → (∃𝑏 ∈ ( L ‘𝐵)𝑐 = (𝐴 +s 𝑏) ↔ ∃𝑚 ∈ ( L ‘𝐵)𝑧 = (𝐴 +s 𝑚)))
1514cbvabv 2799 . . . 4 {𝑐 ∣ ∃𝑏 ∈ ( L ‘𝐵)𝑐 = (𝐴 +s 𝑏)} = {𝑧 ∣ ∃𝑚 ∈ ( L ‘𝐵)𝑧 = (𝐴 +s 𝑚)}
168, 15uneq12i 4156 . . 3 ({𝑎 ∣ ∃𝑏 ∈ ( L ‘𝐴)𝑎 = (𝑏 +s 𝐵)} ∪ {𝑐 ∣ ∃𝑏 ∈ ( L ‘𝐵)𝑐 = (𝐴 +s 𝑏)}) = ({𝑦 ∣ ∃𝑙 ∈ ( L ‘𝐴)𝑦 = (𝑙 +s 𝐵)} ∪ {𝑧 ∣ ∃𝑚 ∈ ( L ‘𝐵)𝑧 = (𝐴 +s 𝑚)})
17 eqeq1 2730 . . . . . . 7 (𝑎 = 𝑤 → (𝑎 = (𝑑 +s 𝐵) ↔ 𝑤 = (𝑑 +s 𝐵)))
1817rexbidv 3172 . . . . . 6 (𝑎 = 𝑤 → (∃𝑑 ∈ ( R ‘𝐴)𝑎 = (𝑑 +s 𝐵) ↔ ∃𝑑 ∈ ( R ‘𝐴)𝑤 = (𝑑 +s 𝐵)))
19 oveq1 7412 . . . . . . . 8 (𝑑 = 𝑟 → (𝑑 +s 𝐵) = (𝑟 +s 𝐵))
2019eqeq2d 2737 . . . . . . 7 (𝑑 = 𝑟 → (𝑤 = (𝑑 +s 𝐵) ↔ 𝑤 = (𝑟 +s 𝐵)))
2120cbvrexvw 3229 . . . . . 6 (∃𝑑 ∈ ( R ‘𝐴)𝑤 = (𝑑 +s 𝐵) ↔ ∃𝑟 ∈ ( R ‘𝐴)𝑤 = (𝑟 +s 𝐵))
2218, 21bitrdi 287 . . . . 5 (𝑎 = 𝑤 → (∃𝑑 ∈ ( R ‘𝐴)𝑎 = (𝑑 +s 𝐵) ↔ ∃𝑟 ∈ ( R ‘𝐴)𝑤 = (𝑟 +s 𝐵)))
2322cbvabv 2799 . . . 4 {𝑎 ∣ ∃𝑑 ∈ ( R ‘𝐴)𝑎 = (𝑑 +s 𝐵)} = {𝑤 ∣ ∃𝑟 ∈ ( R ‘𝐴)𝑤 = (𝑟 +s 𝐵)}
24 eqeq1 2730 . . . . . . 7 (𝑐 = 𝑡 → (𝑐 = (𝐴 +s 𝑑) ↔ 𝑡 = (𝐴 +s 𝑑)))
2524rexbidv 3172 . . . . . 6 (𝑐 = 𝑡 → (∃𝑑 ∈ ( R ‘𝐵)𝑐 = (𝐴 +s 𝑑) ↔ ∃𝑑 ∈ ( R ‘𝐵)𝑡 = (𝐴 +s 𝑑)))
26 oveq2 7413 . . . . . . . 8 (𝑑 = 𝑠 → (𝐴 +s 𝑑) = (𝐴 +s 𝑠))
2726eqeq2d 2737 . . . . . . 7 (𝑑 = 𝑠 → (𝑡 = (𝐴 +s 𝑑) ↔ 𝑡 = (𝐴 +s 𝑠)))
2827cbvrexvw 3229 . . . . . 6 (∃𝑑 ∈ ( R ‘𝐵)𝑡 = (𝐴 +s 𝑑) ↔ ∃𝑠 ∈ ( R ‘𝐵)𝑡 = (𝐴 +s 𝑠))
2925, 28bitrdi 287 . . . . 5 (𝑐 = 𝑡 → (∃𝑑 ∈ ( R ‘𝐵)𝑐 = (𝐴 +s 𝑑) ↔ ∃𝑠 ∈ ( R ‘𝐵)𝑡 = (𝐴 +s 𝑠)))
3029cbvabv 2799 . . . 4 {𝑐 ∣ ∃𝑑 ∈ ( R ‘𝐵)𝑐 = (𝐴 +s 𝑑)} = {𝑡 ∣ ∃𝑠 ∈ ( R ‘𝐵)𝑡 = (𝐴 +s 𝑠)}
3123, 30uneq12i 4156 . . 3 ({𝑎 ∣ ∃𝑑 ∈ ( R ‘𝐴)𝑎 = (𝑑 +s 𝐵)} ∪ {𝑐 ∣ ∃𝑑 ∈ ( R ‘𝐵)𝑐 = (𝐴 +s 𝑑)}) = ({𝑤 ∣ ∃𝑟 ∈ ( R ‘𝐴)𝑤 = (𝑟 +s 𝐵)} ∪ {𝑡 ∣ ∃𝑠 ∈ ( R ‘𝐵)𝑡 = (𝐴 +s 𝑠)})
3216, 31oveq12i 7417 . 2 (({𝑎 ∣ ∃𝑏 ∈ ( L ‘𝐴)𝑎 = (𝑏 +s 𝐵)} ∪ {𝑐 ∣ ∃𝑏 ∈ ( L ‘𝐵)𝑐 = (𝐴 +s 𝑏)}) |s ({𝑎 ∣ ∃𝑑 ∈ ( R ‘𝐴)𝑎 = (𝑑 +s 𝐵)} ∪ {𝑐 ∣ ∃𝑑 ∈ ( R ‘𝐵)𝑐 = (𝐴 +s 𝑑)})) = (({𝑦 ∣ ∃𝑙 ∈ ( L ‘𝐴)𝑦 = (𝑙 +s 𝐵)} ∪ {𝑧 ∣ ∃𝑚 ∈ ( L ‘𝐵)𝑧 = (𝐴 +s 𝑚)}) |s ({𝑤 ∣ ∃𝑟 ∈ ( R ‘𝐴)𝑤 = (𝑟 +s 𝐵)} ∪ {𝑡 ∣ ∃𝑠 ∈ ( R ‘𝐵)𝑡 = (𝐴 +s 𝑠)}))
331, 32eqtrdi 2782 1 ((𝐴 No 𝐵 No ) → (𝐴 +s 𝐵) = (({𝑦 ∣ ∃𝑙 ∈ ( L ‘𝐴)𝑦 = (𝑙 +s 𝐵)} ∪ {𝑧 ∣ ∃𝑚 ∈ ( L ‘𝐵)𝑧 = (𝐴 +s 𝑚)}) |s ({𝑤 ∣ ∃𝑟 ∈ ( R ‘𝐴)𝑤 = (𝑟 +s 𝐵)} ∪ {𝑡 ∣ ∃𝑠 ∈ ( R ‘𝐵)𝑡 = (𝐴 +s 𝑠)})))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395   = wceq 1533  wcel 2098  {cab 2703  wrex 3064  cun 3941  cfv 6537  (class class class)co 7405   No csur 27528   |s cscut 27670   L cleft 27727   R cright 27728   +s cadds 27831
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1789  ax-4 1803  ax-5 1905  ax-6 1963  ax-7 2003  ax-8 2100  ax-9 2108  ax-10 2129  ax-11 2146  ax-12 2163  ax-ext 2697  ax-rep 5278  ax-sep 5292  ax-nul 5299  ax-pow 5356  ax-pr 5420  ax-un 7722
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 845  df-3or 1085  df-3an 1086  df-tru 1536  df-fal 1546  df-ex 1774  df-nf 1778  df-sb 2060  df-mo 2528  df-eu 2557  df-clab 2704  df-cleq 2718  df-clel 2804  df-nfc 2879  df-ne 2935  df-ral 3056  df-rex 3065  df-rmo 3370  df-reu 3371  df-rab 3427  df-v 3470  df-sbc 3773  df-csb 3889  df-dif 3946  df-un 3948  df-in 3950  df-ss 3960  df-pss 3962  df-nul 4318  df-if 4524  df-pw 4599  df-sn 4624  df-pr 4626  df-tp 4628  df-op 4630  df-uni 4903  df-int 4944  df-iun 4992  df-br 5142  df-opab 5204  df-mpt 5225  df-tr 5259  df-id 5567  df-eprel 5573  df-po 5581  df-so 5582  df-fr 5624  df-se 5625  df-we 5626  df-xp 5675  df-rel 5676  df-cnv 5677  df-co 5678  df-dm 5679  df-rn 5680  df-res 5681  df-ima 5682  df-pred 6294  df-ord 6361  df-on 6362  df-suc 6364  df-iota 6489  df-fun 6539  df-fn 6540  df-f 6541  df-f1 6542  df-fo 6543  df-f1o 6544  df-fv 6545  df-riota 7361  df-ov 7408  df-oprab 7409  df-mpo 7410  df-1st 7974  df-2nd 7975  df-frecs 8267  df-wrecs 8298  df-recs 8372  df-1o 8467  df-2o 8468  df-no 27531  df-slt 27532  df-bday 27533  df-sslt 27669  df-scut 27671  df-made 27729  df-old 27730  df-left 27732  df-right 27733  df-norec2 27821  df-adds 27832
This theorem is referenced by:  addsproplem3  27843  sleadd1  27861  addsuniflem  27873  addsasslem1  27875  addsasslem2  27876  addsdilem1  28006
  Copyright terms: Public domain W3C validator