Scalar boundary integration formula on a spherical annulus in a constant direction
ProvedMeasureTheory.integral_directional_derivative_annulusLet , and , and let be continuously differentiable in a neighbourhood of every point of the punctured closed ball . Put . For every constant vector ,
Here is the surface measure on the unit sphere. The outward unit normal of the annulus is on the outer sphere and on the inner sphere. No assumption is made on at the centre , so the formula applies to kernels with a singularity at the centre, such as for smooth away from the origin.
Formalization Note. Ambient space EuclideanSpace ℝ (Fin n); the regularity hypothesis is ContDiffAt ℝ 1 f y at each y ∈ closedBall x R with y ≠ x; the derivative is the Fréchet derivative fderiv ℝ f y v; the boundary is parametrized by the unit sphere with Mathlib's volume.toSphere, and , are the surface scaling factors.
import Mathlib.Analysis.Calculus.ContDiff.Basic import Mathlib.MeasureTheory.Integral.Bochner.Set import Mathlib.MeasureTheory.Constructions.HaarToSphere import Mathlib.MeasureTheory.Measure.Haar.InnerProductSpace open MeasureTheory
namespace MeasureTheory
/-- Scalar boundary integration formula on a spherical annulus in a constant direction, for a
function that is `C¹` on the closed ball punctured at its centre. -/
theorem integral_directional_derivative_annulus {n : ℕ} (hn : 0 < n)
{f : EuclideanSpace ℝ (Fin n) → ℝ} {x : EuclideanSpace ℝ (Fin n)} {r R : ℝ}
(hr : 0 < r) (hrR : r < R)
(hf : ∀ y ∈ Metric.closedBall x R, y ≠ x → ContDiffAt ℝ 1 f y)
(v : EuclideanSpace ℝ (Fin n)) :
(∫ y in Metric.ball x R \ Metric.closedBall x r, fderiv ℝ f y v) =
R ^ (n - 1) *
(∫ ω : Metric.sphere (0 : EuclideanSpace ℝ (Fin n)) 1,
f (x + R • ω.1) * inner ℝ v ω.1 ∂volume.toSphere)
- r ^ (n - 1) *
(∫ ω : Metric.sphere (0 : EuclideanSpace ℝ (Fin n)) 1,
f (x + r • ω.1) * inner ℝ v ω.1 ∂volume.toSphere) := by sorry
end MeasureTheory