Metamath Proof Explorer


Theorem decmul1c

Description: The product of a numeral with a number (with carry). (Contributed by Mario Carneiro, 18-Feb-2014) (Revised by AV, 6-Sep-2021)

Ref Expression
Hypotheses decmul1.p ⊢ P ∈ ℕ 0
decmul1.a ⊢ A ∈ ℕ 0
decmul1.b ⊢ B ∈ ℕ 0
decmul1.n No typesetting found for |- N = ; A B with typecode |-
decmul1.0 ⊢ D ∈ ℕ 0
decmul1c.e ⊢ E ∈ ℕ 0
decmul1c.c ⊢ A ⁢ P + E = C
decmul1c.2 No typesetting found for |- ( B x. P ) = ; E D with typecode |-
Assertion decmul1c Could not format assertion : No typesetting found for |- ( N x. P ) = ; C D with typecode |-

Proof

Step Hyp Ref Expression
1 decmul1.p ⊢ P ∈ ℕ 0
2 decmul1.a ⊢ A ∈ ℕ 0
3 decmul1.b ⊢ B ∈ ℕ 0
4 decmul1.n Could not format N = ; A B : No typesetting found for |- N = ; A B with typecode |-
5 decmul1.0 ⊢ D ∈ ℕ 0
6 decmul1c.e ⊢ E ∈ ℕ 0
7 decmul1c.c ⊢ A ⁢ P + E = C
8 decmul1c.2 Could not format ( B x. P ) = ; E D : No typesetting found for |- ( B x. P ) = ; E D with typecode |-
9 10nn0 ⊢ 10 ∈ ℕ 0
10 dfdec10 Could not format ; A B = ( ( ; 1 0 x. A ) + B ) : No typesetting found for |- ; A B = ( ( ; 1 0 x. A ) + B ) with typecode |-
11 4 10 eqtri ⊢ N = 10 ⁢ A + B
12 dfdec10 Could not format ; E D = ( ( ; 1 0 x. E ) + D ) : No typesetting found for |- ; E D = ( ( ; 1 0 x. E ) + D ) with typecode |-
13 8 12 eqtri ⊢ B ⁢ P = 10 ⁢ E + D
14 9 1 2 3 11 5 6 7 13 nummul1c ⊢ N ⁢ P = 10 ⁢ C + D
15 dfdec10 Could not format ; C D = ( ( ; 1 0 x. C ) + D ) : No typesetting found for |- ; C D = ( ( ; 1 0 x. C ) + D ) with typecode |-
16 14 15 eqtr4i Could not format ( N x. P ) = ; C D : No typesetting found for |- ( N x. P ) = ; C D with typecode |-