Metamath Proof Explorer


Theorem decsuc

Description: The successor of a decimal integer (no carry). (Contributed by Mario Carneiro, 17-Apr-2015) (Revised by AV, 6-Sep-2021)

Ref Expression
Hypotheses declt.a โŠข ๐ด โˆˆ โ„•0
declt.b โŠข ๐ต โˆˆ โ„•0
decsuc.c โŠข ( ๐ต + 1 ) = ๐ถ
decsuc.n โŠข ๐‘ = ๐ด ๐ต
Assertion decsuc ( ๐‘ + 1 ) = ๐ด ๐ถ

Proof

Step Hyp Ref Expression
1 declt.a โŠข ๐ด โˆˆ โ„•0
2 declt.b โŠข ๐ต โˆˆ โ„•0
3 decsuc.c โŠข ( ๐ต + 1 ) = ๐ถ
4 decsuc.n โŠข ๐‘ = ๐ด ๐ต
5 10nn0 โŠข 1 0 โˆˆ โ„•0
6 dfdec10 โŠข ๐ด ๐ต = ( ( 1 0 ยท ๐ด ) + ๐ต )
7 4 6 eqtri โŠข ๐‘ = ( ( 1 0 ยท ๐ด ) + ๐ต )
8 5 1 2 3 7 numsuc โŠข ( ๐‘ + 1 ) = ( ( 1 0 ยท ๐ด ) + ๐ถ )
9 dfdec10 โŠข ๐ด ๐ถ = ( ( 1 0 ยท ๐ด ) + ๐ถ )
10 8 9 eqtr4i โŠข ( ๐‘ + 1 ) = ๐ด ๐ถ