set_option linter.style.longLine false
Derived Lemmas for the FlatTorus3 Typeclass #
Lemmas derived from the FlatTorus3 axioms: spatial multiplication, gradient vanishing,
chain rules for log, integration by parts consequences, Laplacian sign at extrema,
and Maxwellian parameter regularity.
Scalar multiplication: ∫ g(x) * c = (∫ g) * c.
Proved from Mathlib's integral_mul_const.
Zero gradient implies spatially constant (derived from hHarmonic_const + hDivLinear).
Chain rule for log: gradX(log ∘ g) = (1/g) · gradX(g) when g > 0. Derived from hGradChainExp: gradX(exp(log g)) = g · gradX(log g) = gradX(g).
Gradient integral vanishes (Stokes for 0-forms: ∫_M dg = 0). Derived from hIBP_spatial + hGradConst + hGradIntegrable.
Adding a constant doesn't change the gradient. Derived from hGradChainExp + hGradScalarMul via the exp trick: exp(f+c) = exp(c)*exp(f), so by the chain rule and scalar multiplication, exp(f(x)+c) * gradX(f+c)(x) = exp(c) * exp(f(x)) * gradX(f)(x). Cancelling exp(f(x)+c) > 0 gives gradX(f+c) = gradX(f).
Second derivative test: Laplacian ≥ 0 at a minimum. Derived from hLaplacianMaxNonpos applied to -φ, using linearity of grad and div.
Maxwellian regularity: if f(x,v) = exp(a(x) + b(x)·v + c(x)|v|²) with f > 0 and f(·,v) spatially differentiable for each v, then a, bⱼ, c are spatially differentiable.
Proof: Evaluate log f at v = 0, eⱼ, 2e₀ to extract the coefficients as linear combinations of the spatially differentiable functions x ↦ log f(x, v).