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

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

Proof of Theorem deceq1
StepHypRef Expression
1 oveq2 7420 . . 3 (𝐴 = 𝐵 → ((9 + 1) · 𝐴) = ((9 + 1) · 𝐵))
21oveq1d 7427 . 2 (𝐴 = 𝐵 → (((9 + 1) · 𝐴) + 𝐶) = (((9 + 1) · 𝐵) + 𝐶))
3 df-dec 12718 . 2 𝐴𝐶 = (((9 + 1) · 𝐴) + 𝐶)
4 df-dec 12718 . 2 𝐵𝐶 = (((9 + 1) · 𝐵) + 𝐶)
52, 3, 43eqtr4g 2822 1 (𝐴 = 𝐵𝐴𝐶 = 𝐵𝐶)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  wi 4   = wceq 1569  (class class class)co 7412  1c1 11107   + caddc 11109   · cmul 11111  9c9 12308  cdc 12717
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1824  ax-4 1838  ax-5 1939  ax-6 1996  ax-7 2037  ax-8 2144  ax-9 2152  ax-ext 2734
This proof depends on definitions:  df-bi 210  df-an 401  df-or 861  df-3an 1104  df-tru 1572  df-fal 1582  df-ex 1809  df-sb 2096  df-clab 2741  df-cleq 2754  df-clel 2837  df-rab 3416  df-v 3456  df-dif 3907  df-un 3909  df-ss 3921  df-nul 4286  df-if 4487  df-sn 4589  df-pr 4591  df-op 4595  df-uni 4872  df-br 5109  df-iota 6492  df-fv 6544  df-ov 7415  df-dec 12718
This theorem is used by:  deceq1i  12724
  Copyright terms: Public domain W3C validator