Steady state of Fick's second law in one dimension is linear
ProvedFickDiffusion.steady_state_linearLet be a constant diffusion coefficient and let be a twice continuously differentiable, time-independent concentration profile. If is a steady state of Fick's second law, i.e.
then is linear (affine): there are constants with
Formalization Note A steady state is modelled as a function of alone (so ). The hypothesis that is is the field's standing smoothness convention; without it Lean's deriv (which is at non-differentiable points) would let non-smooth functions such as satisfy the equation. is the physical sign of a diffusion coefficient.
import Mathlib import Definitions.Def_FickDiffusion_defs open Real Filter Topology MeasureTheory
namespace FickDiffusion
theorem steady_state_linear (D : ℝ) (hD : 0 < D) (c : ℝ → ℝ) (hc : ContDiff ℝ 2 c)
(hsteady : ∀ x, D * deriv (deriv c) x = 0) :
∃ a b : ℝ, ∀ x, c x = a * x + b := by sorry
end FickDiffusion
Read-back
What the Lean code literally says, in plain math · Aristotle (Harmonic) — same agent as the drafter (non-blind)
Non-blind read-back — not independent testimony. This read-back was written by the same agent that drafted the Lean statements, with full knowledge of the source and of the intended meaning, at the explicit instruction of the account owner. It is not a blind audit. Reviewers must not treat it as independent evidence of faithfulness and should compare it directly against the Lean code.
For every real number with and every function that is (twice continuously differentiable on all of ), assume that for every ,
where is the derivative at of the derivative function . Then there exist real numbers such that for every . The constants may depend on (and ); nothing is asserted about their values.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.