Documentation

LeanPool.Superdiffusion.Algsuperdiff.Section5.Support.FieldDivergenceTest

FieldDivergenceTest #

Ported from scottnarmstrong/Superdiffusion at 7f20476385d4af418f110303085ad0740c9eba46. Module imports, support namespace and local option directives adapted for Lean Pool.

Integrating a C¹ vector field by parts against a zero-trace Sobolev function #

Two of the Section 5.2 computations pair a classical vector field with the gradient of a Sobolev function of zero trace: the datum g(x) = x_1 e_1, whose divergence is the constant 1, and the gradient of a smooth barrier, whose divergence is its Laplacian. Both are instances of one identity,

  ∫_U F · ∇φ = - ∫_U (∇·F) φ ,   F ∈ C¹ ,  φ ∈ H¹₀(U) ,

on a bounded measurable set U. Against a smooth compactly supported test function the identity is the defining property of the weak partial derivatives of the components of F; the passage to a zero-trace Sobolev test function is the L² limit along the approximating sequence carried by H¹₀.

Main definitions #

Main results #

References #

The divergence of a matrix field, contracting the first index:

  (∇ · k)_j (x) = ∑_i ∂_i k_{i j}(x) .

This is the contraction that sends a ∇u to ∇ · a ∇u, and the one under which the manuscript's antisymmetry display has the printed signs.

Equations
Instances For

    The defining coordinate formula of matFieldDiv.

    theorem Algsuperdiff.Section5.Support.continuous_matFieldDiv_apply {d : ℕ} {k : HCPolySupport.Vec d → HCPolySupport.Mat d} (hk : ∀ (a b : Fin d), ContDiff ℝ 1 fun (x : HCPolySupport.Vec d) => k x a b) (j : Fin d) :

    Each coordinate of the divergence of a C¹ matrix field is continuous.

    The divergence of a vector field, (∇·F)(x) = ∑_i ∂_i F_i(x).

    Equations
    Instances For

      1. Square integrability on a bounded set #

      A continuous function is bounded on a bounded domain.

      Multiplication by a continuous function preserves L² on a bounded measurable domain.

      Right multiplication by a continuous function preserves L² on a bounded measurable domain.

      A continuous function is square integrable on a bounded measurable set.

      A continuous compactly supported function is square integrable on any set.

      The product of two square-integrable scalar fields is integrable.

      theorem Algsuperdiff.Section5.Support.integral_vecDot_eq_sum_coord {d : ℕ} {U : Set (HCPolySupport.Vec d)} {P G : HCPolySupport.Vec d → HCPolySupport.Vec d} (hP : ∀ (i : Fin d), HCPolySupport.MemScalarL2 U fun (x : HCPolySupport.Vec d) => P x i) (hG : ∀ (i : Fin d), HCPolySupport.MemScalarL2 U fun (x : HCPolySupport.Vec d) => G x i) :
      ∫ (x : HCPolySupport.Vec d) in U, HCPolySupport.vecDot (P x) (G x) = ∑ i : Fin d, ∫ (x : HCPolySupport.Vec d) in U, P x i * G x i

      The integral of an L² dot product is the sum of its coordinate integrals.

      2. The integration by parts #

      A C¹ vector field integrates by parts against a zero-trace Sobolev function: ∫_U F·∇φ = -∫_U (∇·F) φ.