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.Circular.ZMod

7 declarations. Mathlib docs · Source

instance instCircularOrderInt E0 #

CircularOrder ℤ

theorem Int.btw_iff E0 #

∀ {a b c : ℤ}, btw a b c ↔ a ≤ b ∧ b ≤ c ∨ b ≤ c ∧ c ≤ a ∨ c ≤ a ∧ a ≤ b

theorem Int.sbtw_iff E0 #

∀ {a b c : ℤ}, sbtw a b c ↔ a < b ∧ b < c ∨ b < c ∧ c < a ∨ c < a ∧ a < b

instance instCircularOrderFin E0 #

(n : ℕ) → CircularOrder (Fin n)

theorem Fin.btw_iff E0 #

∀ {n : ℕ} {a b c : Fin n}, btw a b c ↔ a ≤ b ∧ b ≤ c ∨ b ≤ c ∧ c ≤ a ∨ c ≤ a ∧ a ≤ b

theorem Fin.sbtw_iff E0 #

∀ {n : ℕ} {a b c : Fin n}, sbtw a b c ↔ a < b ∧ b < c ∨ b < c ∧ c < a ∨ c < a ∧ a < b

instance instCircularOrderZMod E0 #

(n : ℕ) → CircularOrder (ZMod n)