Metamath Proof Explorer


Theorem cnm2m1cnm3

Description: Subtracting 2 and afterwards 1 from a number results in the difference between the number and 3. (Contributed by Alexander van der Vekens, 16-Sep-2018)

Ref Expression
Assertion cnm2m1cnm3 AA-2-1=A3

Proof

Step Hyp Ref Expression
1 id AA
2 2cnd A2
3 1cnd A1
4 1 2 3 subsub4d AA-2-1=A2+1
5 2p1e3 2+1=3
6 5 a1i A2+1=3
7 6 oveq2d AA2+1=A3
8 4 7 eqtrd AA-2-1=A3