Metamath Proof Explorer
Description: Split a decimal number into two parts. Base case: N = 0 .
(Contributed by Mario Carneiro, 16-Jul-2015) (Revised by AV, 8-Sep-2021)
|
|
Ref |
Expression |
|
Hypothesis |
decsplit0.1 |
โข ๐ด โ โ0 |
|
Assertion |
decsplit0 |
โข ( ( ๐ด ยท ( ; 1 0 โ 0 ) ) + 0 ) = ๐ด |
Proof
Step |
Hyp |
Ref |
Expression |
1 |
|
decsplit0.1 |
โข ๐ด โ โ0 |
2 |
1
|
decsplit0b |
โข ( ( ๐ด ยท ( ; 1 0 โ 0 ) ) + 0 ) = ( ๐ด + 0 ) |
3 |
1
|
nn0cni |
โข ๐ด โ โ |
4 |
3
|
addridi |
โข ( ๐ด + 0 ) = ๐ด |
5 |
2 4
|
eqtri |
โข ( ( ๐ด ยท ( ; 1 0 โ 0 ) ) + 0 ) = ๐ด |