Users' Mathboxes Mathbox for Stanislas Polu < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  unitadd Structured version   Visualization version   GIF version

Theorem unitadd 44185
Description: Theorem used in conjunction with decaddc 12634 to absorb carry when generating n-digit addition synthetic proofs. (Contributed by Stanislas Polu, 7-Apr-2020.)
Hypotheses
Ref Expression
unitadd.1 (𝐴 + 𝐵) = 𝐹
unitadd.2 (𝐶 + 1) = 𝐵
unitadd.3 𝐴 ∈ ℕ0
unitadd.4 𝐶 ∈ ℕ0
Assertion
Ref Expression
unitadd ((𝐴 + 𝐶) + 1) = 𝐹

Proof of Theorem unitadd
StepHypRef Expression
1 unitadd.3 . . . 4 𝐴 ∈ ℕ0
21nn0cni 12384 . . 3 𝐴 ∈ ℂ
3 unitadd.4 . . . 4 𝐶 ∈ ℕ0
43nn0cni 12384 . . 3 𝐶 ∈ ℂ
5 ax-1cn 11055 . . 3 1 ∈ ℂ
62, 4, 5addassi 11113 . 2 ((𝐴 + 𝐶) + 1) = (𝐴 + (𝐶 + 1))
7 unitadd.2 . . . . 5 (𝐶 + 1) = 𝐵
87eqcomi 2738 . . . 4 𝐵 = (𝐶 + 1)
98oveq2i 7351 . . 3 (𝐴 + 𝐵) = (𝐴 + (𝐶 + 1))
10 unitadd.1 . . 3 (𝐴 + 𝐵) = 𝐹
119, 10eqtr3i 2754 . 2 (𝐴 + (𝐶 + 1)) = 𝐹
126, 11eqtri 2752 1 ((𝐴 + 𝐶) + 1) = 𝐹
Colors of variables: wff setvar class
Syntax hints:   = wceq 1540  wcel 2109  (class class class)co 7340  1c1 10998   + caddc 11000  0cn0 12372
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1967  ax-7 2008  ax-8 2111  ax-9 2119  ax-10 2142  ax-11 2158  ax-12 2178  ax-ext 2701  ax-sep 5231  ax-nul 5241  ax-pr 5367  ax-un 7662  ax-1cn 11055  ax-icn 11056  ax-addcl 11057  ax-mulcl 11059  ax-addass 11062  ax-i2m1 11065
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3or 1087  df-3an 1088  df-tru 1543  df-fal 1553  df-ex 1780  df-nf 1784  df-sb 2066  df-mo 2533  df-eu 2562  df-clab 2708  df-cleq 2721  df-clel 2803  df-nfc 2878  df-ne 2926  df-ral 3045  df-rex 3054  df-reu 3344  df-rab 3393  df-v 3435  df-sbc 3739  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-pss 3919  df-nul 4281  df-if 4473  df-pw 4549  df-sn 4574  df-pr 4576  df-op 4580  df-uni 4857  df-iun 4940  df-br 5089  df-opab 5151  df-mpt 5170  df-tr 5196  df-id 5508  df-eprel 5513  df-po 5521  df-so 5522  df-fr 5566  df-we 5568  df-xp 5619  df-rel 5620  df-cnv 5621  df-co 5622  df-dm 5623  df-rn 5624  df-res 5625  df-ima 5626  df-pred 6243  df-ord 6304  df-on 6305  df-lim 6306  df-suc 6307  df-iota 6432  df-fun 6478  df-fn 6479  df-f 6480  df-f1 6481  df-fo 6482  df-f1o 6483  df-fv 6484  df-ov 7343  df-om 7791  df-2nd 7916  df-frecs 8205  df-wrecs 8236  df-recs 8285  df-rdg 8323  df-nn 12117  df-n0 12373
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator