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

Theorem pncan3s 28232
Description: Subtraction and addition of equals. (Contributed by Scott Fenton, 4-Feb-2025.)
Assertion
Ref Expression
pncan3s ((𝐴 No 𝐵 No ) → (𝐴 +s (𝐵 -s 𝐴)) = 𝐵)

Proof of Theorem pncan3s
StepHypRef Expression
1 eqid 2769 . 2 (𝐵 -s 𝐴) = (𝐵 -s 𝐴)
2 simpr 489 . . 3 ((𝐴 No 𝐵 No ) → 𝐵 No )
3 simpl 487 . . 3 ((𝐴 No 𝐵 No ) → 𝐴 No )
42, 3subscld 28222 . . 3 ((𝐴 No 𝐵 No ) → (𝐵 -s 𝐴) ∈ No )
52, 3, 4subaddsd 28230 . 2 ((𝐴 No 𝐵 No ) → ((𝐵 -s 𝐴) = (𝐵 -s 𝐴) ↔ (𝐴 +s (𝐵 -s 𝐴)) = 𝐵))
61, 5mpbii 236 1 ((𝐴 No 𝐵 No ) → (𝐴 +s (𝐵 -s 𝐴)) = 𝐵)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 400   = wceq 1567  wcel 2149  (class class class)co 7411   No csur 27770   +s cadds 28118   -s csubs 28179
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1822  ax-4 1836  ax-5 1937  ax-6 1994  ax-7 2035  ax-8 2151  ax-9 2159  ax-10 2182  ax-11 2198  ax-12 2219  ax-ext 2741  ax-rep 5240  ax-sep 5259  ax-nul 5271  ax-pow 5337  ax-pr 5405  ax-un 7733
This theorem depends on definitions:  df-bi 210  df-an 401  df-or 861  df-3or 1102  df-3an 1103  df-tru 1570  df-fal 1580  df-ex 1807  df-nf 1811  df-sb 2098  df-mo 2573  df-eu 2603  df-clab 2748  df-cleq 2761  df-clel 2844  df-nfc 2918  df-ne 2965  df-ral 3086  df-rex 3096  df-rmo 3375  df-reu 3376  df-rab 3423  df-v 3463  df-sbc 3752  df-csb 3860  df-dif 3914  df-un 3916  df-in 3918  df-ss 3928  df-pss 3931  df-nul 4293  df-if 4491  df-pw 4567  df-sn 4593  df-pr 4595  df-tp 4597  df-op 4599  df-ot 4601  df-uni 4875  df-int 4915  df-iun 4960  df-br 5112  df-opab 5176  df-mpt 5195  df-tr 5221  df-id 5557  df-eprel 5562  df-po 5570  df-so 5571  df-fr 5615  df-se 5616  df-we 5617  df-xp 5668  df-rel 5669  df-cnv 5670  df-co 5671  df-dm 5672  df-rn 5673  df-res 5674  df-ima 5675  df-pred 6303  df-ord 6364  df-on 6365  df-suc 6367  df-iota 6493  df-fun 6539  df-fn 6540  df-f 6541  df-f1 6542  df-fo 6543  df-f1o 6544  df-fv 6545  df-riota 7368  df-ov 7414  df-oprab 7415  df-mpo 7416  df-1st 7986  df-2nd 7987  df-frecs 8278  df-wrecs 8309  df-recs 8358  df-1o 8453  df-2o 8454  df-nadd 8652  df-no 27773  df-lts 27774  df-bday 27775  df-les 27875  df-slts 27917  df-cuts 27919  df-0s 27966  df-made 27986  df-old 27987  df-left 27989  df-right 27990  df-norec 28097  df-norec2 28108  df-adds 28119  df-negs 28180  df-subs 28181
This theorem is referenced by:  npcans  28234  nncansd  28256  subsdid  28317  mulsunif2lem  28328  n0ltsp1le  28524  elreno2  28654
  Copyright terms: Public domain W3C validator