The continuity equation #
Let E be a finite-dimensional real normed space, μ : ℝ → Measure E a family of Borel measures
and v : ℝ → E → E a Borel velocity field. The continuity equation on the time interval (a, b)
is ∂ₜ μₜ + div (vₜ μₜ) = 0, understood in the sense of distributions: for every smooth compactly
supported test function φ : ℝ × E → ℝ whose support lies in (a, b) × E,
∫_a^b ∫_E (∂ₜ φ (t, x) + ⟨∇ₓ φ (t, x), vₜ x⟩) dμₜ(x) dt = 0.
In a normed space the integrand is the space-time derivative of φ applied to the space-time
velocity (1, vₜ x), that is fderiv ℝ φ (t, x) (1, v t x); this fixes the sign convention of the
equation together with its test-function identity. Finite dimensionality is essential: in an
infinite-dimensional space every compactly supported continuous function vanishes, so the identity
would be vacuous. The definition TauCeti.IsContinuityEquation also records the measurability of
the time slices t ↦ μₜ and of v, and the integrability of the total mass t ↦ μₜ E and of
∫ ‖vₜ‖ dμₜ over (a, b), which make every integral in the identity absolutely convergent.
The continuity equation is the Eulerian description of mass moving with velocity v. Its basic
source of solutions is the Lagrangian one: if P is a finite measure on a parameter space Ω and
γ : Ω → ℝ → E is a measurable family of absolutely continuous curves with
deriv γ_ω t = vₜ (γ_ω t) for almost every (ω, t), and with finite expected length
∫ ∫_a^b ‖vₜ (γ_ω t)‖ dt dP(ω) < ∞, then the laws μₜ = (γ · t)₊ P of the
positions at time t solve the continuity equation with velocity v
(TauCeti.isContinuityEquation_map). For Ω a space of curves and γ the evaluation map this is
the statement for a law on paths. A translating law, a stationary law and a Dirac mass moving along
an absolutely continuous curve are special cases.
The curves need not follow a common velocity field. If γ_ω has derivative V ω t at almost
every time, with V jointly measurable and of finite expected length, then the laws μₜ solve the
continuity equation with the barycentric velocity v: its value at the position γ_ω t is the
conditional expectation of V ω t given the time t and the position γ_ω t, for the measure
dt ⊗ P (TauCeti.exists_isContinuityEquation_map). By Jensen's inequality,
∫_a^b ∫ ‖vₜ‖ ^ p dμₜ dt ≤ ∫ ∫_a^b ‖V ω t‖ ^ p dt dP(ω) for every p ≥ 1: the action of the
velocity field is at most the expected action of the curves.
Main definitions #
TauCeti.IsContinuityEquation μ v a b: the familyμsolves the continuity equation with velocityvin the sense of distributions on the time interval(a, b).
Main results #
TauCeti.IsContinuityEquation.mono: a solution on(a, b)is a solution on every subinterval.TauCeti.IsContinuityEquation.congr: the velocity field matters onlyμₜ-almost everywhere, for almost every timet.TauCeti.IsContinuityEquation.lintegral_lintegral_enorm_fderiv_lt_top,TauCeti.IsContinuityEquation.ae_integrable_fderivandTauCeti.IsContinuityEquation.integrableOn_integral_fderiv: for everyC¹compactly supported test function, the integrand of the continuity equation is absolutely integrable againstμₜ dt, integrable againstμₜfor almost everyt, and its spatial integral is integrable in time.TauCeti.IsContinuityEquation.integrableOn_integral_of_norm_le: the spatial integral of a bounded jointly strongly measurable function with values in a normed real vector space is integrable over(a, b).TauCeti.IsContinuityEquation.integrableOn_integral_fderiv_of_norm_fderiv_le: for a real-valued function with bounded derivative, the spatial integral of the integrand of the continuity equation is integrable over(a, b).TauCeti.isContinuityEquation_map: the laws at timetof a measurable family of absolutely continuous curves followingv, with finite expected length, solve the continuity equation with velocityv.TauCeti.exists_isContinuityEquation_map: the laws at timetof a measurable family of absolutely continuous curves with finite expected length solve the continuity equation with their barycentric velocity, whosep-action is at most the expectedp-action of the curves.TauCeti.isContinuityEquation_map_add_smul: a law translating with constant velocitywsolves the continuity equation with velocity fieldw.TauCeti.isContinuityEquation_const: a stationary law solves it with velocity field0.TauCeti.isContinuityEquation_dirac: a Dirac mass moving along an absolutely continuous curveγsolves it with any velocity field equal toderiv γalongγ.
References #
- L. Ambrosio, N. Gigli and G. Savaré, Gradient Flows in Metric Spaces and in the Space of Probability Measures, Birkhäuser, 2nd ed. 2008, §8.1, and §8.3 for the barycentric velocity of a law on curves.
- F. Santambrogio, Optimal Transport for Applied Mathematicians, Birkhäuser 2015, §4.1.
The family of measures μ : ℝ → Measure E solves the continuity equation
∂ₜ μₜ + div (vₜ μₜ) = 0 with velocity field v on the time interval (a, b), in the sense of
distributions: for every smooth compactly supported φ : ℝ × E → ℝ with support in (a, b) × E,
∫_a^b ∫ (∂ₜ φ (t, x) + ⟨∇ₓ φ (t, x), vₜ x⟩) dμₜ(x) dt = 0, the integrand being written as the
space-time derivative fderiv ℝ φ (t, x) applied to (1, v t x). The time slices t ↦ μₜ and the
velocity field are measurable, and the total mass and ∫ ‖vₜ‖ dμₜ are integrable over (a, b).
The space E is finite-dimensional with its Borel σ-algebra, so that the test functions separate
measures and every integrand in the identity is measurable.
- measurable : Measurable μ
The time slices
t ↦ μₜform a measurable family of measures. - measurable_velocity : Measurable (Function.uncurry v)
The velocity field is jointly measurable in time and space.
The total mass of
μₜis integrable over the time interval.The velocity field is integrable against
μₜ dt.- integral_integral_fderiv_eq_zero ⦃φ : ℝ × E → ℝ⦄ (hφ : ContDiff ℝ (↑⊤) φ) (hφc : HasCompactSupport φ) (hφs : tsupport φ ⊆ Set.Ioo a b ×ˢ Set.univ) : ∫ (t : ℝ) in Set.Ioo a b, ∫ (x : E), (fderiv ℝ φ (t, x)) (1, v t x) ∂μ t = 0
The distributional identity
∫_a^b ∫ (∂ₜ φ + ⟨∇ₓ φ, vₜ⟩) dμₜ dt = 0.
Instances For
A solution of the continuity equation on (a, b) solves it on every subinterval (c, d).
The velocity field of a solution of the continuity equation matters only μₜ-almost
everywhere, for almost every time t: replacing it by a measurable field which agrees with it
there gives another solution.
The integrand of the continuity equation is absolutely integrable against μₜ dt on (a, b),
for every C¹ compactly supported test function φ.
For almost every time t ∈ (a, b), the integrand of the continuity equation is integrable
against μₜ, for every C¹ compactly supported test function φ.
The spatial integral of the integrand of the continuity equation is integrable over (a, b),
for every C¹ compactly supported test function φ.
For almost every time t ∈ (a, b), the slice μₜ is finite and vₜ is μₜ-integrable.
The total mass of μₜ is integrable over (a, b).
The μₜ-integral of ‖vₜ‖ is integrable over (a, b).
For a bounded jointly strongly measurable function f of time and space with values in a
normed real vector space, the function
t ↦ ∫ f (t, x) dμₜ(x) is integrable over (a, b).
For a function u of time and space with bounded derivative, the spatial integral
t ↦ ∫ fderiv ℝ u (t, x) (1, vₜ x) dμₜ(x) of the integrand of the continuity equation is
integrable over (a, b).
Lagrangian solutions of the continuity equation. Let P be a finite measure on a parameter
space Ω and γ : Ω → ℝ → E a jointly measurable family of curves. If P-almost every curve is
absolutely continuous on [a, b] and follows the velocity field v, in the sense that
deriv γ_ω t = vₜ (γ_ω t) for almost every t ∈ (a, b), and the expected length
∫ ∫_a^b ‖vₜ (γ_ω t)‖ dt dP(ω) is finite, then the laws (γ · t)₊ P of the positions at time t
solve the continuity equation with velocity v on (a, b).
The barycentric velocity of a law on curves. Let P be a finite measure on a parameter
space Ω and γ : Ω → ℝ → E a jointly measurable family of curves, P-almost every one of which
is absolutely continuous on [a, b] with derivative V ω t at almost every t ∈ (a, b), where
V is jointly measurable with finite expected length ∫ ∫_a^b ‖V ω t‖ dt dP(ω). Then the laws
μₜ = (γ · t)₊ P of the positions at time t solve the continuity equation on (a, b) with a
velocity field v whose value at the position γ ω t is the conditional expectation of the
velocity V ω t given the time and the position, for the measure dt ⊗ P on (a, b) × Ω. By
Jensen's inequality its action is at most the expected action of the curves:
∫_a^b ∫ ‖vₜ‖ ^ p dμₜ dt ≤ ∫ ∫_a^b ‖V ω t‖ ^ p dt dP(ω) for every p ≥ 1.
Unlike TauCeti.isContinuityEquation_map, the curves need not follow a common velocity field:
curves crossing at the same position at the same time may have different velocities there, which
the conditional expectation averages.
A translating law solves the continuity equation. Translating a finite measure μ with
constant velocity w, so that its law at time t is the pushforward of μ by x ↦ x + t • w,
solves the continuity equation with the constant velocity field w.
A stationary law solves the continuity equation. A finite measure which does not move
solves the continuity equation with velocity field 0.
A moving Dirac mass solves the continuity equation. If γ is a measurable curve which is
absolutely continuous on [a, b] and v is a measurable velocity field with
deriv γ t = vₜ (γ t) for almost every t ∈ (a, b), then the Dirac masses δ_{γ t} solve the
continuity equation with velocity v on (a, b). The finite length ∫_a^b ‖vₜ (γ t)‖ dt < ∞
follows from absolute continuity in finite dimension.