Equation (8): weighted velocity and marginal flux
ProvedFlowMatchingT1.marginal_velocity_identityLet , , any Borel measure on , , and . At fixed and , write and . Suppose and the conditional flux is -integrable. The velocity satisfies both
The first identity matches equation (8) in measure notation; the second identifies the flux appearing in the continuity equation. This local algebraic result imposes no time interval, conditional normalization, or probability assumption on .
import Definitions.Def_FlowMatchingT1 open MeasureTheory open FlowMatchingT1
theorem FlowMatchingT1.marginal_velocity_identity
{d : ℕ} (Q : Measure (Space d))
(ρ : ℝ → Space d → Space d → ℝ) (v : ℝ → Space d → Space d → Space d)
(t : ℝ) (x : Space d) (hp : 0 < marginalDensity Q ρ t x)
(hF : Integrable (fun z => conditionalFlux ρ v t x z) Q) :
marginalVelocity Q ρ v t x =
(∫ z, (ρ t x z / marginalDensity Q ρ t x) • v t x z ∂Q) ∧
marginalDensity Q ρ t x • marginalVelocity Q ρ v t x =
marginalFlux Q ρ v t x := by sorryRead-back
What the Lean code literally says, in plain math · gpt-6-astra
For every natural number , let , with its usual finite-dimensional real vector-space and Borel measurable structures. For every measure on , every function , every function , every real number , and every , define , , and , where multiplication of a vector by a real number is scalar multiplication and the vector integral is the Bochner integral. If and the function is Bochner integrable with respect to (almost everywhere strongly measurable with integrable norm), then both identities hold:
Here need not be finite or a probability measure, need not be pointwise nonnegative or normalized, and no differentiability, continuity equation, or time-interval restriction is assumed; the integrability assumption concerns the product , rather than separately. The integrals use the total Bochner-integral convention, which assigns zero to a nonintegrable function; consequently the strict inequality excludes a nonintegrable scalar density slice as well as a zero or negative scalar integral, and excludes the zero measure. Real inversion is total with , but the assumption excludes that denominator case. The quantification includes , for which is the one-element zero-dimensional vector space and both vector identities are identities of its unique vector, provided the same hypotheses hold.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.