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

Theorem addsubsd 28538
Description: Law for surreal addition and subtraction. (Contributed by Scott Fenton, 4-Mar-2025.)
Hypotheses
Ref Expression
addsubsassd.1 (𝜑 → 𝐴 ∈ No)
addsubsassd.2 (𝜑 → 𝐵 ∈ No)
addsubsassd.3 (𝜑 → 𝐶 ∈ No)
Assertion
Ref Expression
addsubsd (𝜑 → ((𝐴 +s 𝐵) −s 𝐶) = ((𝐴 −s 𝐶) +s 𝐵))

Proof of Theorem addsubsd
StepHypRef Expression
1 addsubsassd.1 . . 3 (𝜑 → 𝐴 ∈ No)
2 addsubsassd.2 . . 3 (𝜑 → 𝐵 ∈ No)
3 addsubsassd.3 . . . 4 (𝜑 → 𝐶 ∈ No)
43negscld 28493 . . 3 (𝜑 → ( -s‘𝐶) ∈ No)
51, 2, 4adds32d 28463 . 2 (𝜑 → ((𝐴 +s 𝐵) +s ( -s‘𝐶)) = ((𝐴 +s ( -s‘𝐶)) +s 𝐵))
61, 2addscld 28436 . . 3 (𝜑 → (𝐴 +s 𝐵) ∈ No)
76, 3subsvald 28517 . 2 (𝜑 → ((𝐴 +s 𝐵) −s 𝐶) = ((𝐴 +s 𝐵) +s ( -s‘𝐶)))
81, 3subsvald 28517 . . 3 (𝜑 → (𝐴 −s 𝐶) = (𝐴 +s ( -s‘𝐶)))
98oveq1d 7470 . 2 (𝜑 → ((𝐴 −s 𝐶) +s 𝐵) = ((𝐴 +s ( -s‘𝐶)) +s 𝐵))
105, 7, 93eqtr4d 2814 1 (𝜑 → ((𝐴 +s 𝐵) −s 𝐶) = ((𝐴 −s 𝐶) +s 𝐵))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   = wceq 1572   ∈ wcel 2151  ‘cfv 6570  (class class class)co 7455  Nocsur 28067   +s cadds 28415   -scnegs 28475   −s csubs 28476
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-ot 4867  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-nadd 8717  df-no 28070  df-lts 28071  df-bday 28072  df-les 28172  df-slts 28214  df-cuts 28216  df-0s 28263  df-made 28283  df-old 28284  df-left 28286  df-right 28287  df-norec 28394  df-norec2 28405  df-adds 28416  df-negs 28477  df-subs 28478
This theorem is used by:  addsubs4d  28557  mulsproplem5  28576  mulsproplem6  28577  mulsproplem7  28578  mulsproplem8  28579  sltmuls1  28603  sltmuls2  28604  mulsuniflem  28605  addsdilem3  28609  addsdilem4  28610  mulsasslem3  28621  mulsunif2lem  28625  zseo  28878  pw2cut2  28918  bdayfinbndlem1  28923  readdscl  28955
  Copyright terms: Public domain W3C validator