Metamath Proof Explorer


Theorem fzval

Description: The value of a finite set of sequential integers. E.g., 2 ... 5 means the set { 2 , 3 , 4 , 5 } . A special case of this definition (starting at 1) appears as Definition 11-2.1 of Gleason p. 141, where NN_k means our 1 ... k ; he calls these setssegments of the integers. (Contributed by NM, 6-Sep-2005) (Revised by Mario Carneiro, 3-Nov-2013)

Ref Expression
Assertion fzval MNMN=k|MkkN

Proof

Step Hyp Ref Expression
1 breq1 m=MmkMk
2 1 anbi1d m=MmkknMkkn
3 2 rabbidv m=Mk|mkkn=k|Mkkn
4 breq2 n=NknkN
5 4 anbi2d n=NMkknMkkN
6 5 rabbidv n=Nk|Mkkn=k|MkkN
7 df-fz =m,nk|mkkn
8 zex V
9 8 rabex k|MkkNV
10 3 6 7 9 ovmpo MNMN=k|MkkN