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

Theorem deceq2 12820
Description: Equality theorem for the decimal constructor. (Contributed by Mario Carneiro, 17-Apr-2015.) (Revised by AV, 6-Sep-2021.)
Assertion
Ref Expression
deceq2 (𝐴 = 𝐵 → 𝐶𝐴 = 𝐶𝐵)

Proof of Theorem deceq2
StepHypRef Expression
1 oveq2 7428 . 2 (𝐴 = 𝐵 → (((9 + 1) · 𝐶) + 𝐴) = (((9 + 1) · 𝐶) + 𝐵))
2 df-dec 12815 . 2 𝐶𝐴 = (((9 + 1) · 𝐶) + 𝐴)
3 df-dec 12815 . 2 𝐶𝐵 = (((9 + 1) · 𝐶) + 𝐵)
41, 2, 33eqtr4g 2820 1 (𝐴 = 𝐵 → 𝐶𝐴 = 𝐶𝐵)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   = wceq 1569  (class class class)co 7420  1c1 11201   + caddc 11203   · cmul 11205  9c9 12404  cdc 12814
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-ext 2732
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-rab 3413  df-v 3452  df-ss 3896  df-dif 4047  df-un 4151  df-nul 4279  df-if 4482  df-sn 4584  df-pr 4586  df-op 4590  df-uni 4867  df-br 5103  df-iota 6494  df-fv 6546  df-ov 7423  df-dec 12815
This theorem is used by:  deceq2i  12822
  Copyright terms: Public domain W3C validator