Documentation

Lightlike.Regge.Linear.Riemann

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.

noncomputable def Lightlike.Regge.Linear.gpt (n : ℕ) (v : ℤ × ℤ) :
Fin 2 → ℝ

The lattice point v / n of the grid of mesh 1/n.

Equations
Instances For
    noncomputable def Lightlike.Regge.Linear.cell (n : ℕ) (v : ℤ × ℤ) :
    Set (Fin 2 → ℝ)

    The half-open square of side 1/n with lower corner gpt n v.

    Equations
    Instances For

      The lattice points with both coordinates in [-R n, R n], i.e. in the square of radius R.

      Equations
      Instances For
        theorem Lightlike.Regge.Linear.volume_real_cell {n : ℕ} (hn : 0 < n) (v : ℤ × ℤ) :
        MeasureTheory.volume.real (cell n v) = (1 / ↑n) ^ 2
        theorem Lightlike.Regge.Linear.aux_iff {n : ℕ} (hn : 0 < n) (a x : ℝ) :
        a / ↑n ≤ x ∧ x < a / ↑n + 1 / ↑n ↔ a ≤ ↑n * x ∧ ↑n * x < a + 1
        theorem Lightlike.Regge.Linear.mem_cell_iff {n : ℕ} (hn : 0 < n) {x : Fin 2 → ℝ} {v : ℤ × ℤ} :
        x ∈ cell n v ↔ (↑v.1 ≤ ↑n * x 0 ∧ ↑n * x 0 < ↑v.1 + 1) ∧ ↑v.2 ≤ ↑n * x 1 ∧ ↑n * x 1 < ↑v.2 + 1
        theorem Lightlike.Regge.Linear.cell_disjoint {n : ℕ} (hn : 0 < n) {v w : ℤ × ℤ} (hvw : v ≠ w) :
        Disjoint (cell n v) (cell n w)
        theorem Lightlike.Regge.Linear.mem_cell_floor {n : ℕ} (hn : 0 < n) (x : Fin 2 → ℝ) :
        x ∈ cell n (⌊↑n * x 0⌋, ⌊↑n * x 1⌋)

        Every point lies in the cell of the lattice point (⌊n x₀⌋, ⌊n x₁⌋).

        theorem Lightlike.Regge.Linear.floor_mem_gbox {n R : ℕ} (hn : 0 < n) {x : Fin 2 → ℝ} (hx : ‖x‖ ≤ ↑R) :
        (⌊↑n * x 0⌋, ⌊↑n * x 1⌋) ∈ gbox R n
        theorem Lightlike.Regge.Linear.card_gbox (R n : ℕ) :
        ↑(gbox R n).card = (2 * ↑(R * n) + 1) ^ 2
        theorem Lightlike.Regge.Linear.coord_le {n : ℕ} (hn : 0 < n) {a x : ℝ} (h1 : a ≤ ↑n * x) (h2 : ↑n * x < a + 1) :
        |x - a / ↑n| ≤ 1 / ↑n
        theorem Lightlike.Regge.Linear.riemann_sum {F : (Fin 2 → ℝ) → ℝ} {Λ : NNReal} (hF : LipschitzWith Λ F) {R : ℕ} (hR : ∀ (x : Fin 2 → ℝ), ↑R < ‖x‖ → F x = 0) {n : ℕ} (hn : 0 < n) :
        |∑ v ∈ gbox R n, (1 / ↑n) ^ 2 * F (gpt n v) - ∫ (x : Fin 2 → ℝ), F x| ≤ ↑Λ * (2 * ↑R + 1) ^ 2 / ↑n

        Riemann sums on the lattice.