Lattice points in a quarter circle: count
ProvedClassNumberFormula.quarter_circle_lattice_countclass-number-formulanumber-theory
The number of lattice points in the quarter disc of radius satisfies
This is the lattice-point estimate from the Gauss circle problem, and it gives the average of the coefficients of .
Formalization Note The quarter disc is taken with , , which matches the coefficient count in the preceding milestone; any choice of boundary gives the same limit.
Preamble
import Mathlib open NumberField NumberField.InfinitePlace NumberField.Units Filter Topology Real
Formal statement
namespace ClassNumberFormula
theorem quarter_circle_lattice_count :
Tendsto (fun N : ℕ =>
(Nat.card {p : ℤ × ℤ // 0 < p.1 ∧ 0 ≤ p.2 ∧ p.1 ^ 2 + p.2 ^ 2 ≤ N} : ℝ) / N)
atTop (𝓝 (π / 4)) := by sorry
end ClassNumberFormulaSource
Wikipedia, "Class number formula" (revision oldid=1366411311), https://en.wikipedia.org/w/index.php?title=Class_number_formula&oldid=1366411311, section "Proof", second paragraph ("approximating the number of lattice points inside of a quarter circle centered at the origin"); see also the Gauss circle problem
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.