AFTD Auto-Formalizing Theoretical Domains

int_box_two

def

The two-dimensional integer box ⟦−m, m⟧² = {(x, y) ∈ ℤ² : |x|, |y| ≤ m}.

Statement

noncomputable def int_box_two (m : ℕ) : Finset (ℤ × ℤ)
Defined in
arXiv:2610.16562 (The Davenport constant of low-dimensional boxes), Sec. 1 (the boxes ⟦−m, m⟧^d).
Verified
14 Oct 2026
Axioms
none listed
Built on 2
  • LinearOrder.toTotalPreorderEvery LinearOrder is a TotalPreorder.
  • TotalPreorderA total preorder: a preorder where ≤ is total (complete). This is weaker than LinearOrder — it does NOT require antisymmetry or…
Used by 1
  • davenport_constant_int_box_two_geFor every m ≥ 2, the Davenport constant of the box ⟦−m, m⟧² is at least 4m² − q(m), q(m) the smallest prime not dividing m: S(m) is a…

Lean source view module on GitHub

/-- The two-dimensional integer box `⟦-m, m⟧²`. -/
noncomputable def int_box_two (m : ℕ) : Finset (ℤ × ℤ) :=
  Finset.Icc (-(m : ℤ)) m ×ˢ Finset.Icc (-(m : ℤ)) m
See it in the graphDiscuss this resultChallenge it