Metamath Proof Explorer


Theorem decrmac

Description: Perform a multiply-add of two numerals M and N against a fixed multiplicand P (with carry). (Contributed by AV, 16-Sep-2021)

Ref Expression
Hypotheses decrmanc.a A0
decrmanc.b B0
decrmanc.n N0
decrmanc.m No typesetting found for |- M = ; A B with typecode |-
decrmanc.p P0
decrmac.f F0
decrmac.g G0
decrmac.e AP+G=E
decrmac.2 No typesetting found for |- ( ( B x. P ) + N ) = ; G F with typecode |-
Assertion decrmac Could not format assertion : No typesetting found for |- ( ( M x. P ) + N ) = ; E F with typecode |-

Proof

Step Hyp Ref Expression
1 decrmanc.a A0
2 decrmanc.b B0
3 decrmanc.n N0
4 decrmanc.m Could not format M = ; A B : No typesetting found for |- M = ; A B with typecode |-
5 decrmanc.p P0
6 decrmac.f F0
7 decrmac.g G0
8 decrmac.e AP+G=E
9 decrmac.2 Could not format ( ( B x. P ) + N ) = ; G F : No typesetting found for |- ( ( B x. P ) + N ) = ; G F with typecode |-
10 0nn0 00
11 3 dec0h N=0 N
12 7 nn0cni G
13 12 addid2i 0+G=G
14 13 oveq2i AP+0+G=AP+G
15 14 8 eqtri AP+0+G=E
16 1 2 10 3 4 11 5 6 7 15 9 decmac Could not format ( ( M x. P ) + N ) = ; E F : No typesetting found for |- ( ( M x. P ) + N ) = ; E F with typecode |-