Metamath Proof Explorer


Theorem fzval3

Description: Expressing a closed integer range as a half-open integer range. (Contributed by Stefan O'Rear, 15-Aug-2015)

Ref Expression
Assertion fzval3 NMN=M..^N+1

Proof

Step Hyp Ref Expression
1 peano2z NN+1
2 fzoval N+1M..^N+1=MN+1-1
3 1 2 syl NM..^N+1=MN+1-1
4 zcn NN
5 ax-1cn 1
6 pncan N1N+1-1=N
7 4 5 6 sylancl NN+1-1=N
8 7 oveq2d NMN+1-1=MN
9 3 8 eqtr2d NMN=M..^N+1