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 / V04. Order and lattices

Mathlib.Order.Fin.Prod

3 declarations. Mathlib docs · Source

theorem Fin.prod_zero_zero_lt_iff E0 #

∀ {p q : ℕ} (i : Fin (p + 1) × Fin (q + 1)), (0, 0) < i ↔ 0 < ↑i.1 + ↑i.2

theorem Fin.prod_lt_last_last_iff E0 #

∀ {p q : ℕ} (i : Fin (p + 1) × Fin (q + 1)), i < (Fin.last p, Fin.last q) ↔ ↑i.1 + ↑i.2 < p + q

theorem Fin.prod_exists_lt_lt_of_le_of_le E1 #

∀ {p q : ℕ} (k₀ k₂ : Fin p × Fin q), k₀ ≤ k₂ → ↑k₀.1 + ↑k₀.2 + 2 ≤ ↑k₂.1 + ↑k₂.2 → ∃ k₁, k₀ < k₁ ∧ k₁ < k₂