Documentation

Lightlike.Regge.Conv3.LatticeSum

Lattice Riemann sums on the unit cube of Fin 3 → ℝ #

A sum over the cubical lattice of mesh 1/N of a function with a uniform C/N error against a sup-norm Lipschitz limit differs from the integral of the limit by at most (C + Lf)/N.

The unit cube [0,1]³ in Fin 3 → ℝ.

Equations
Instances For
    noncomputable def Lightlike.Regge.Conv3.latticePt (N : ℕ) (x : Fin 3 → Fin N) :
    Fin 3 → ℝ

    The lattice point x / N of the cubical lattice of mesh 1/N.

    Equations
    Instances For
      def Lightlike.Regge.Conv3.latticeCell (N : ℕ) (x : Fin 3 → Fin N) :
      Set (Fin 3 → ℝ)

      The half-open cell of the lattice of mesh 1/N with lower corner x / N.

      Equations
      Instances For

        Lattice cells are measurable.

        A lattice cell of mesh 1/N has volume (1/N)³.

        Distinct lattice cells are disjoint.

        theorem Lightlike.Regge.Conv3.latticeCell_iUnion {N : ℕ} (hN : 0 < N) :
        ⋃ (x : Fin 3 → Fin N), latticeCell N x = Set.univ.pi fun (x : Fin 3) => Set.Ico 0 1

        The lattice cells tile the half-open unit cube.

        theorem Lightlike.Regge.Conv3.riemann_sum_lipschitz {f : (Fin 3 → ℝ) → ℝ} {Lf : ℝ} (hL : 0 ≤ Lf) (hf : ∀ x ∈ unitCube, ∀ y ∈ unitCube, |f x - f y| ≤ Lf * ‖x - y‖) {N : ℕ} (hN : 0 < N) :
        |(∑ x : Fin 3 → Fin N, f (latticePt N x)) * (1 / ↑N) ^ 3 - ∫ (y : Fin 3 → ℝ) in unitCube, f y| ≤ Lf / ↑N

        Riemann sum on the cubical lattice. If f is Lipschitz with constant Lf for the sup norm on the unit cube, the left-corner Riemann sum of mesh 1/N differs from the integral by at most Lf / N.

        theorem Lightlike.Regge.Conv3.latticePt_mem {N : ℕ} (hN : 0 < N) (x : Fin 3 → Fin N) :

        A lattice point of mesh lies in the unit cube.

        theorem Lightlike.Regge.Conv3.lattice_sum_converges {ρ : ℕ → (Fin 3 → ℝ) → ℝ} {F : (Fin 3 → ℝ) → ℝ} {C Lf : ℝ} (hL : 0 ≤ Lf) (hF : ∀ x ∈ unitCube, ∀ y ∈ unitCube, |F x - F y| ≤ Lf * ‖x - y‖) {N : ℕ} (hN : 0 < N) (hρ : ∀ (x : Fin 3 → Fin N), |ρ N (latticePt N x) - F (latticePt N x)| ≤ C / ↑N) :
        |(∑ x : Fin 3 → Fin N, ρ N (latticePt N x)) * (1 / ↑N) ^ 3 - ∫ (y : Fin 3 → ℝ) in unitCube, F y| ≤ (C + Lf) / ↑N

        From a uniform per-vertex expansion to the integral. If the vertex densities ρ N agree with a sup-norm Lipschitz limit F up to C / N on the lattice, the normalised lattice sum of ρ N is within (C + Lf) / N of the integral of F. Used with F = -(R/2) √det g.