Theorem 2.2 — a continuous function with the mean-value property is smooth and harmonic
ProvedHunterPDE.Harmonic.smooth_of_mean_value_propertyLet be open and let have the mean-value property (2.3): for every ball ,
Then and in .
Together with Theorem 2.1 this characterizes harmonic functions by the mean-value property and shows that every harmonic function is , which the proof of analyticity (Theorem 2.10) uses.
Formalization Note. is ContinuousOn u Ω; the mean-value property is HasMeanValueProperty Ω u from the definition item MeanValue (both identities of (2.3), for every with ). is ContDiffOn ℝ ∞ u Ω with ∞ the smooth order (not ω, which would be analyticity). is Mathlib's laplacian.
import Mathlib import Definitions.Def_HunterPDE_Harmonic_MeanValue open Laplacian open scoped ContDiff
namespace HunterPDE.Harmonic
/-- Theorem 2.2 of Hunter, *Notes on PDEs* (revised 6/18/2014), p. 21: if `u ∈ C(Ω)` has the
mean-value property (2.3) in the open set `Ω ⊆ ℝⁿ`, then `u ∈ C^∞(Ω)` and `Δu = 0` in `Ω`.
`∞` is `C^∞` (not `ω`, which would be analyticity). -/
theorem smooth_of_mean_value_property {n : ℕ} {Ω : Set (EuclideanSpace ℝ (Fin n))}
{u : EuclideanSpace ℝ (Fin n) → ℝ} (hΩ : IsOpen Ω) (hu : ContinuousOn u Ω)
(hmv : HasMeanValueProperty Ω u) :
ContDiffOn ℝ ∞ u Ω ∧ ∀ x ∈ Ω, Δ u x = 0 := by sorry
end HunterPDE.Harmonic
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Hypotheses.
- is arbitrary.
- is open.
- is continuous on .
- has the mean-value property on . For every and every with :
Here is Lebesgue measure and the unit sphere. The measure is . Each average is when its integrand is non-integrable or the measure of the domain is .
Conclusion. Both of the following hold:
- is infinitely differentiable () on , in the sense of relative to , which for open is ordinary smoothness near each point.
- for every , where .
Degenerate cases.
- Empty . Both conclusions hold trivially.
- . There is no hypothesis . The space is one point, the sphere average is , and the ball average is . So for the mean-value hypothesis amounts to . The conclusion is then automatic: any function is smooth on a point, and the Laplacian on a -dimensional space is the empty sum .
- Integrability. Continuity of on makes integrable over each admissible compact closed ball and its sphere. So the zero convention for non-integrable integrands is not triggered by admissible balls.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.