Metamath Proof Explorer


Theorem sub1m1

Description: Subtracting two times 1 from a number. (Contributed by AV, 23-Oct-2018)

Ref Expression
Assertion sub1m1 N N - 1 - 1 = N 2

Proof

Step Hyp Ref Expression
1 id N N
2 1cnd N 1
3 1 2 2 subsub4d N N - 1 - 1 = N 1 + 1
4 1p1e2 1 + 1 = 2
5 4 a1i N 1 + 1 = 2
6 5 oveq2d N N 1 + 1 = N 2
7 3 6 eqtrd N N - 1 - 1 = N 2