All proofs
Project-declaredLean 4.32.0 · mathlib@81a5d257c8e4

Cauchy Momentum Equation iff convective Cauchy Momentum Equation

FluidDynamics.CauchyFlow.cauchyMomentumEquation_iff_convectiveCauchyMomentumEquation

Plain-language statement

The conservative and convective Cauchy momentum equations are equivalent when the classical continuity equation holds. The differentiability assumptions are exactly the product-rule assumptions used to rewrite partial_t (rho u) and matrixDiv (rho u ⊗ u).

Exact Lean statement

lemma cauchyMomentumEquation_iff_convectiveCauchyMomentumEquation
    (d : ℕ) (flow : CauchyFlow d)
    (hContinuity : FluidFlow.ClassicalContinuityEquation d flow.toFluidFlow)
    (hRhoTime : ∀ t x, DifferentiableAt ℝ (flow.rho · x) t)
    (hVelocityTime : ∀ t x, DifferentiableAt ℝ (flow.velocity · x) t)
    (hMomentumDensity : ∀ t, Differentiable ℝ (FluidFlow.momentumDensity d flow.toFluidFlow t))
    (hVelocitySpace : ∀ t, Differentiable ℝ (flow.velocity t)) :
    CauchyMomentumEquation d flow ↔ ConvectiveCauchyMomentumEquation d flow

Formal artifact

Lean source

Canonical source
Full Lean sourceLean 4
lemma cauchyMomentumEquation_iff_convectiveCauchyMomentumEquation    (d : ) (flow : CauchyFlow d)    (hContinuity : FluidFlow.ClassicalContinuityEquation d flow.toFluidFlow)    (hRhoTime :  t x, DifferentiableAt  (flow.rho · x) t)    (hVelocityTime :  t x, DifferentiableAt  (flow.velocity · x) t)    (hMomentumDensity :  t, Differentiable  (FluidFlow.momentumDensity d flow.toFluidFlow t))    (hVelocitySpace :  t, Differentiable  (flow.velocity t)) :    CauchyMomentumEquation d flow  ConvectiveCauchyMomentumEquation d flow := by  have conservative_eq_convective_lhs :  t x,      ∂ₜ (FluidFlow.momentumDensity d flow.toFluidFlow · x) t +          matrixDiv d (FluidFlow.momentumFlux d flow.toFluidFlow t) x =        flow.rho t x • FluidFlow.materialAcceleration d flow.toFluidFlow t x := by    intro t x    have hResidual : FluidFlow.continuityResidual d flow.toFluidFlow t x = 0 := by      simpa [FluidFlow.continuityResidual] using        hContinuity t x (by simpa using hRhoTime t x) (hMomentumDensity t).differentiableAt    rw [FluidFlow.momentumTransport_eq_materialAcceleration_add_continuityResidual        d flow.toFluidFlow t x (hRhoTime t x) (hVelocityTime t x)        (hMomentumDensity t) (hVelocitySpace t), hResidual, zero_smul, add_zero]  exact fun h t x => (conservative_eq_convective_lhs t x).symm.trans (h t x),    fun h t x => (conservative_eq_convective_lhs t x).trans (h t x)
Project
Physlib
License
Apache-2.0
Commit
dd43e9e65791
Source
Physlib/FluidDynamics/CauchyFlow/Momentum.lean:92-112

Reuse this declaration

Bring the exact result into your workflow

The import identifies the source module. Your project still needs the pinned package dependency shown on this page.

What this badge means

This completion status comes from the project or community source. It has not yet been represented here as an independent rebuild and axiom audit.

Continue in this project

Related declarations

Project-declaredLean 4.32.0

Adiabatic relation log

adiabatic_relation_log

Plain-language statement

Adiabatic relation in logarithmic form: If S(Ua,Va,N) = S(Ub,Vb,N) with N fixed, then c * log (Ua/Ub) + log (Va/Vb) = 0.

physicsquantum field theoryrelativity

Source project: Physlib

Person-level attribution pending.

View proof record
Project-declaredLean 4.32.0

Adiabatic relation Ua Ub Va Vb

adiabatic_relation_UaUbVaVb

Plain-language statement

Adiabatic relation in product form: If S(Ua,Va,N) = S(Ub,Vb,N) with N fixed, then (Ua/Ub)^c * (Va/Vb) = 1.

physicsquantum field theoryrelativity

Source project: Physlib

Person-level attribution pending.

View proof record