Metamath Proof Explorer


Theorem fz1fzo0m1

Description: Translation of one between closed and open integer ranges. (Contributed by Thierry Arnoux, 28-Jul-2020)

Ref Expression
Assertion fz1fzo0m1 ⊢ M ∈ 1 … N → M − 1 ∈ 0 ..^ N

Proof

Step Hyp Ref Expression
1 elfzmlbm ⊢ M ∈ 1 … N → M − 1 ∈ 0 … N − 1
2 elfzel2 ⊢ M ∈ 1 … N → N ∈ ℤ
3 fzoval ⊢ N ∈ ℤ → 0 ..^ N = 0 … N − 1
4 2 3 syl ⊢ M ∈ 1 … N → 0 ..^ N = 0 … N − 1
5 1 4 eleqtrrd ⊢ M ∈ 1 … N → M − 1 ∈ 0 ..^ N