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 #
matFieldDiv k— the matrix-field divergence, contracting its first index.vecFieldDiv F— the divergence(∇·F)(x) = ∑_i ∂_i F_i(x)of a vector field, contracting the index of the field against the direction of differentiation.
Main results #
integral_vecDot_h10Grad_eq_neg_integral_vecFieldDiv_mul— the identity above.
References #
- ABK26, the exit-time comparison of Section 5.2.
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
- Algsuperdiff.Section5.Support.matFieldDiv k x j = ∑ i : Fin d, HCPolySupport.euclideanCoordDeriv i (fun (y : HCPolySupport.Vec d) => k y i j) x
Instances For
The defining coordinate formula of matFieldDiv.
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
- Algsuperdiff.Section5.Support.vecFieldDiv F x = ∑ i : Fin d, (fderiv ℝ (fun (z : HCPolySupport.Vec d) => F z i) x) (HCPolySupport.basisVec i)
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.
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) φ.