Metamath Proof Explorer


Theorem fz0

Description: A finite set of sequential integers is empty if its bounds are not integers. (Contributed by AV, 13-Oct-2018)

Ref Expression
Assertion fz0 ⊢ M ∉ ℤ ∨ N ∉ ℤ → M … N = ∅

Proof

Step Hyp Ref Expression
1 df-nel ⊢ M ∉ ℤ ↔ ¬ M ∈ ℤ
2 df-nel ⊢ N ∉ ℤ ↔ ¬ N ∈ ℤ
3 1 2 orbi12i ⊢ M ∉ ℤ ∨ N ∉ ℤ ↔ ¬ M ∈ ℤ ∨ ¬ N ∈ ℤ
4 ianor ⊢ ¬ M ∈ ℤ ∧ N ∈ ℤ ↔ ¬ M ∈ ℤ ∨ ¬ N ∈ ℤ
5 fzf ⊢ … : ℤ × ℤ ⟶ 𝒫 ℤ
6 5 fdmi ⊢ dom ⁡ … = ℤ × ℤ
7 6 ndmov ⊢ ¬ M ∈ ℤ ∧ N ∈ ℤ → M … N = ∅
8 4 7 sylbir ⊢ ¬ M ∈ ℤ ∨ ¬ N ∈ ℤ → M … N = ∅
9 3 8 sylbi ⊢ M ∉ ℤ ∨ N ∉ ℤ → M … N = ∅