Documentation

Mathlib.Order.Circular.ZMod

The circular order on ZMod n #

This file defines the circular order on ZMod n.

theorem Int.btw_iff {a b c : ℤ} :
btw a b c ↔ a ≤ b ∧ b ≤ c ∨ b ≤ c ∧ c ≤ a ∨ c ≤ a ∧ a ≤ b
theorem Int.sbtw_iff {a b c : ℤ} :
sbtw a b c ↔ a < b ∧ b < c ∨ b < c ∧ c < a ∨ c < a ∧ a < b
theorem Fin.btw_iff {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 {n : ℕ} {a b c : Fin n} :
sbtw a b c ↔ a < b ∧ b < c ∨ b < c ∧ c < a ∨ c < a ∧ a < b
@[instance_reducible]
Equations
  • One or more equations did not get rendered due to their size.