This is an inofficial mirror of http://metamath.tirix.org for personal testing of a visualizer extension only.

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 M L N N - L - M L = N M

Proof

Step Hyp Ref Expression
1 elfz2 M L N L N M L M M N
2 zcn N N
3 zcn M M
4 zcn L L
5 2 3 4 3anim123i N M L N M L
6 5 3comr L N M N M L
7 6 adantr L N M L M M N N M L
8 1 7 sylbi M L N N M L
9 nnncan2 N M L N - L - M L = N M
10 8 9 syl M L N N - L - M L = N M