Metamath Proof Explorer


Theorem fzmmmeqm

Description: Subtracting the difference of a member of a finite range of integers and the lower bound of the range from the difference of the upper bound and the lower bound of the range results in the difference of the upper bound of the range and the member. (Contributed by Alexander van der Vekens, 27-May-2018)

Ref Expression
Assertion fzmmmeqm MLNN-L-ML=NM

Proof

Step Hyp Ref Expression
1 elfz2 MLNLNMLMMN
2 zcn NN
3 zcn MM
4 zcn LL
5 2 3 4 3anim123i NMLNML
6 5 3comr LNMNML
7 6 adantr LNMLMMNNML
8 1 7 sylbi MLNNML
9 nnncan2 NMLN-L-ML=NM
10 8 9 syl MLNN-L-ML=NM