Documentation

Lightlike.Regge.CMS.Tests

Trust checks for the curvature side of the weighted deficit convergence (RC6b) #

The right-hand side of IsRiemMetric.cms_convergence is ∫_Ω f (R/2) √det g. These checks show that this integral is the right one:

theorem Lightlike.CMS.flat_scalarCurvature (x : Fin 2 → ℝ) :
scalarCurvature (fun (x : Fin 2 → ℝ) => 1) x = 0

The constant metric is flat: its scalar curvature vanishes.

theorem Lightlike.CMS.flat_density (x : Fin 2 → ℝ) :
scalarCurvature (fun (x : Fin 2 → ℝ) => 1) x / 2 * √((fun (x : Fin 2 → ℝ) => 1) x).det = 0

Flat check. The density (R/2) √det g of the constant metric is identically 0.

The chart box (0, π) × (0, 2π) of the sphere.

Equations
Instances For

    On the box, the density of the unit sphere is sin θ.

    theorem Lightlike.CMS.box_integral (a b : ℝ → ℝ) :
    ∫ (x : Fin 2 → ℝ) in sphereBox, a (x 0) * b (x 1) = (∫ (t : ℝ) in Set.Ioo 0 Real.pi, a t) * ∫ (t : ℝ) in Set.Ioo 0 (2 * Real.pi), b t

    A product-form integral over the box: ∫_box a(θ) b(φ) = (∫_0^π a)(∫_0^{2π} b).

    Sphere check. With the weight f = 1 the density integrates to 4π over the chart of the round unit sphere (the total curvature, Gauss-Bonnet).

    Wrong-model check. Without the volume density √det g the same integral is 2π², not 4π.