int_square_symmetry
def
The eight symmetries of the square [−m, m]² acting on ℤ²: an optional swap of the two coordinates followed by a sign on each coordinate.
Statement
def int_square_symmetry (e₁ e₂ : ℤˣ) (sw : Bool) (v : ℤ × ℤ) : ℤ × ℤ- Defined in
- arXiv:2610.16562 (The Davenport constant of low-dimensional boxes), Theorem 1 and Conjecture 1 ('up to symmetries').
- Verified
- 14 Oct 2026
- Axioms
- none listed
- Used by 1
- int_square_symmetry_one_one_falseThe identity is among the eight square symmetries (signs +1, no swap).
Lean source view module on GitHub
/-- The eight symmetries of the square. -/ def int_square_symmetry (e₁ e₂ : ℤˣ) (sw : Bool) (v : ℤ × ℤ) : ℤ × ℤ := if sw then ((e₁ : ℤ) * v.2, (e₂ : ℤ) * v.1) else ((e₁ : ℤ) * v.1, (e₂ : ℤ) * v.2)