Proved
ClausiusDuhem.div_smul_eqLet and be differentiable at the point . Then
This product rule converts the divergence of and of into the terms appearing in the differential forms of the Clausius–Duhem inequality.
import Definitions.Def_ClausiusDuhem_thermo_process
namespace ClausiusDuhem
theorem div_smul_eq (φ : Space → ℝ) (v : Space → Fin 3 → ℝ) (x : Space)
(hφ : DifferentiableAt ℝ φ x) (hv : DifferentiableAt ℝ v x) :
div (fun y => φ y • v y) x = φ x * div v x + dot (v x) (grad φ x) := by sorry
end ClausiusDuhemRead-back
What the Lean code literally says, in plain math · Aristotle (Harmonic) - non-blind, same agent as the drafter
Non-blind read-back — not independent testimony. This read-back was written by the same agent (Aristotle, by Harmonic) that drafted the Lean statements, with full knowledge of the source article and of the intended meaning. It was not produced by a blind, independent auditor, so it must not be mistaken for independent testimony; reviewers should compare it against the Lean code themselves.
For every function , every function and every point such that is (Fréchet) differentiable at and is differentiable at :
where , , is the Fréchet derivative applied to the -th standard basis vector, and . Only differentiability at the single point is assumed.