The divergence theorem on affine parallelepipeds #
Let L be a real continuous linear automorphism of ι → ℝ, let p : ι → ℝ and write
A u = p + L u, so that A maps the unit cube [0, 1]^ι onto a parallelepiped. A flux field
F : ι → (ι → ℝ) → E (component i of the field is F i) is transported to the unit cube by
the cofactor pullback
H j u = det L • ∑ i, (L⁻¹)ⱼᵢ • F i (A u),
where (L⁻¹)ⱼᵢ = L.symm (Pi.single i 1) j is the (j, i) entry of the matrix of L⁻¹. The
matrix det L • L⁻¹ is the adjugate of L. The field H is the contravariant Piola transform
of F along A: it is the coordinate expression of the pullback along A of the flux form
∑ i, (-1)^i F i dx₀ ∧ ⋯ ∧ dxₙ (with dxᵢ omitted from the i-th product). Its divergence is
the signed determinant times the divergence of F:
∑ j, ∂ⱼ H j (u) = det L • ∑ i, ∂ᵢ F i (A u),
whenever every F i is differentiable at A u, because the coefficient of ∂ₖ F i is
det L • ∑ j, (L⁻¹)ⱼᵢ Lₖⱼ = det L • δₖᵢ (ContinuousLinearEquiv.sum_cofactor_comp_apply_single).
Unlike the absolute value in the change of variables formula, the determinant here is signed.
Applying Mathlib's divergence theorem on the unit cube,
MeasureTheory.integral_divergence_of_hasFDerivAt_off_countable', to H gives the divergence
theorem on the parallelepiped A '' [0, 1]^ι, with the boundary integrals of H over the faces
of the unit cube on one side. As in Mathlib, only continuity on the closed parallelepiped,
differentiability at the interior points off a countable set and integrability of the divergence
are assumed; no continuity of the derivative is needed.
Main declarations #
ContinuousLinearEquiv.affineFluxPullback: the cofactor pullbackHof a flux field.ContinuousLinearEquiv.hasFDerivAt_affineFluxPullback: the derivative ofH jatu.ContinuousLinearEquiv.sum_fderiv_affineFluxPullback: the divergence ofHatuisdet Ltimes the divergence ofFatA u.ContinuousLinearEquiv.integral_divergence_affineFluxPullback: the divergence theorem on an affine parallelepiped, in cofactor form on the unit cube.
References #
- P. G. Ciarlet, Mathematical Elasticity, Vol. I: Three-Dimensional Elasticity, North-Holland (1988), §1.7, for the Piola transform and the Piola identity, of which the cofactor pullback and its divergence formula are the affine case.
The cofactor pullback of a flux field F along the affine map u ↦ p + L u:
H j u = det L • ∑ i, (L⁻¹)ⱼᵢ • F i (p + L u), where (L⁻¹)ⱼᵢ = L.symm (Pi.single i 1) j.
When every F i is differentiable at p + L u, its divergence at u is det L times the
divergence of F at p + L u (ContinuousLinearEquiv.sum_fderiv_affineFluxPullback).
Instances For
For L the identity the cofactor pullback is the translated field u ↦ F j (p + u).
The cofactor pullback of a field continuous on the parallelepiped A '' s is continuous on
s, where A u = p + L u.
The derivative of a component of the cofactor pullback: if each F i has derivative F' i
at p + L u, then H j has derivative det L • ∑ i, (L⁻¹)ⱼᵢ • (F' i ∘ L) at u.
The divergence of the cofactor pullback. If every component of the field F is
differentiable at p + L u, then the divergence of the cofactor pullback at u is det L times
the divergence of F at p + L u.
The divergence theorem on an affine parallelepiped. Let A u = p + L u and let F be a
flux field continuous on the parallelepiped A '' [0, 1]ⁿ⁺¹, differentiable with derivatives
F' i at A u for every interior point u of the unit cube off a countable set, and with
u ↦ div F (A u) integrable on the unit cube. Then det L times the integral of div F ∘ A over
the unit cube is the boundary sum of the cofactor pullback H = L.affineFluxPullback p F: the sum
over j of the integral of H j over the front face u j = 1 minus that over the back face
u j = 0. The determinant is signed.