Mathlib.Data.Int.Range
6 declarations. Mathlib docs · Source
def Int.range E1 #
ℤ → ℤ → List ℤ
List enumerating [m, n). This is the ℤ variant of List.Ico.
theorem Int.mem_range_iff E0 #
∀ {m n r : ℤ}, r ∈ m.range n ↔ m ≤ r ∧ r < n
instance Int.decidableLELT E0 #
(P : ℤ → Prop) → [DecidablePred P] → (m n : ℤ) → Decidable (∀ (r : ℤ), m ≤ r → r < n → P r)
instance Int.decidableLELE E0 #
(P : ℤ → Prop) → [DecidablePred P] → (m n : ℤ) → Decidable (∀ (r : ℤ), m ≤ r → r ≤ n → P r)
instance Int.decidableLTLT E0 #
(P : ℤ → Prop) → [DecidablePred P] → (m n : ℤ) → Decidable (∀ (r : ℤ), m < r → r < n → P r)
instance Int.decidableLTLE E0 #
(P : ℤ → Prop) → [DecidablePred P] → (m n : ℤ) → Decidable (∀ (r : ℤ), m < r → r ≤ n → P r)