The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V02. Numbers

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)