A coordinate segment and its integral factor
DefinitionBianchiIX_Analysis_CoordinateFactorbianchi-ix-era-statisticsdynamical-systems
For , , and , define by replacing the th coordinate of by . Let be the th coordinate unit vector. For , define
The derivative in this total definition is zero at points where is not differentiable.
Definition code
import Mathlib.Analysis.Calculus.ParametricIntervalIntegral
import Mathlib.Analysis.Calculus.ContDiff.Operations
import Mathlib.Topology.Order.Compact
import Mathlib.MeasureTheory.Integral.DominatedConvergence
import Mathlib.Data.Fin.VecNotation
import Mathlib.Analysis.Calculus.Deriv.Pi
import Mathlib.MeasureTheory.Integral.IntervalIntegral.FundThmCalculus
noncomputable section
namespace BianchiIX
open Set MeasureTheory
def coordinateSegment {n : ℕ} (i : Fin n) (Y : Fin n → ℝ) (s : ℝ) : Fin n → ℝ :=
Function.update Y i (s * Y i)
def coordinateFactor {n : ℕ} (f : (Fin n → ℝ) → ℝ) (i : Fin n) (Y : Fin n → ℝ) : ℝ :=
∫ s in (0 : ℝ)..1, fderiv ℝ f (coordinateSegment i Y s) (Pi.single i 1)
end BianchiIX
Source