Riemann sums over the square lattice of mesh 1/n #
For a Lipschitz function F of the plane that vanishes outside the ball of radius R, the sum
∑_v (1/n)² F(v/n) over the lattice points of that ball differs from ∫ F by at most
Λ (2R+1)² / n, where Λ is the Lipschitz constant. The proof tiles the plane by the half-open
squares of side 1/n and bounds the integral over each square against the value at its corner.
The half-open square of side 1/n with lower corner gpt n v.
Equations
- Lightlike.Regge.Linear.cell n v = Set.univ.pi fun (k : Fin 2) => Set.Ico (Lightlike.Regge.Linear.gpt n v k) (Lightlike.Regge.Linear.gpt n v k + 1 / ↑n)
Instances For
The lattice points with both coordinates in [-R n, R n], i.e. in the square of radius R.
Equations
- Lightlike.Regge.Linear.gbox R n = Finset.Icc (-↑(R * n)) ↑(R * n) ×ˢ Finset.Icc (-↑(R * n)) ↑(R * n)