Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 2.10 — harmonic functions are real-analytic

Proved
HunterPDE.Harmonic.harmonic_real_analytic

by mikedeng1 · Sep 27, 2026 · Mathlib 0df444a (Lean v4.33.1)

analyticityharmonic-functionsp2o-batch-books5p2o-gran-per-chapterp2o-plan-bookp2o-v1pde

Let Ω⊆Rn\Omega \subseteq \mathbb{R}^nΩ⊆Rn be open. If u∈C2(Ω)u \in C^2(\Omega)u∈C2(Ω) is harmonic in Ω\OmegaΩ, then uuu is real-analytic in Ω\OmegaΩ: every x∈Ωx \in \Omegax∈Ω has a neighbourhood on which uuu is the sum of a convergent power series centred at xxx,

u(x+h)=∑α∈N0n∂αu(x)α!hα(∣h∣ small).u(x + h) = \sum_{\alpha \in \mathbb{N}_0^n} \frac{\partial^\alpha u(x)}{\alpha!} h^\alpha \qquad (|h| \text{ small}).u(x+h)=α∈N0n​∑​α!∂αu(x)​hα(∣h∣ small).

A C2C^2C2 solution of Laplace's equation is therefore determined on a connected open set by its germ at a single point (Corollary 2.11); this is the prototype of analytic regularity for elliptic equations.

Formalization Note. Real-analytic in Ω\OmegaΩ is Mathlib's AnalyticOnNhd ℝ u Ω (analytic at every point of Ω\OmegaΩ, i.e. a power series with positive radius converging to uuu near each point); it is not analyticity on a single ball. Harmonic on the open set Ω\OmegaΩ is InnerProductSpace.HarmonicOnNhd u Ω. The statement holds for every nnn.

Preamble
import Mathlib
Formal statement
namespace HunterPDE.Harmonic

/-- Theorem 2.10 of Hunter, *Notes on PDEs* (revised 6/18/2014), p. 24: if `u ∈ C²(Ω)` is harmonic
in an open set `Ω ⊆ ℝⁿ`, then `u` is real-analytic in `Ω`: at every point of `Ω` it has a power
series expansion converging to `u` on a ball of positive radius (`AnalyticOnNhd ℝ u Ω`). -/
theorem harmonic_real_analytic {n : ℕ} {Ω : Set (EuclideanSpace ℝ (Fin n))}
    {u : EuclideanSpace ℝ (Fin n) → ℝ} (hΩ : IsOpen Ω) (hu : InnerProductSpace.HarmonicOnNhd u Ω) :
    AnalyticOnNhd ℝ u Ω := by sorry

end HunterPDE.Harmonic
Source
Hunter, Notes on Partial Differential Equations (revised 6/18/2014), p. 24, Theorem 2.10
Read-back

What the Lean code literally says, in plain math · claude-opus-5-5

Let n∈Nn \in \mathbb{N}n∈N be arbitrary, and write Rn\mathbb{R}^nRn for nnn-dimensional Euclidean space: real nnn-tuples x=(x1,…,xn)x = (x_1, \dots, x_n)x=(x1​,…,xn​) with the standard Euclidean inner product and norm. Let Ω⊆Rn\Omega \subseteq \mathbb{R}^nΩ⊆Rn be a set, and let u:Rn→Ru : \mathbb{R}^n \to \mathbb{R}u:Rn→R be a real-valued function defined on all of Rn\mathbb{R}^nRn, not only on Ω\OmegaΩ. The statement makes two assumptions:

  1. Ω\OmegaΩ is open in Rn\mathbb{R}^nRn.
  2. uuu is harmonic on a neighbourhood of every point of Ω\OmegaΩ. Concretely, for every x∈Ωx \in \Omegax∈Ω both of the following hold:
    • uuu is C2C^2C2 at xxx, meaning uuu is twice continuously (Fréchet) differentiable on some open neighbourhood of xxx;
    • the Laplacian of uuu vanishes at every point of some neighbourhood UxU_xUx​ of xxx. The Laplacian is the trace of the second derivative with respect to an orthonormal basis, which here amounts to
Δu(y)  =  ∑i=1n∂2u∂xi2(y)  =  0for all y∈Ux.\Delta u(y) \;=\; \sum_{i=1}^{n} \frac{\partial^2 u}{\partial x_i^2}(y) \;=\; 0 \quad \text{for all } y \in U_x.Δu(y)=i=1∑n​∂xi2​∂2u​(y)=0for all y∈Ux​.

These neighbourhoods are only required to exist around each point of Ω\OmegaΩ. Nothing prevents them from reaching outside Ω\OmegaΩ, and no condition is placed on uuu away from such neighbourhoods.

Under these hypotheses, the theorem concludes that uuu is real-analytic at every point of Ω\OmegaΩ. That is, for every x0∈Ωx_0 \in \Omegax0​∈Ω there exist:

  • a formal power series ∑k≥0pk\sum_{k \ge 0} p_k∑k≥0​pk​ in the displacement, where each pkp_kpk​ is a continuous symmetric kkk-linear map on Rn\mathbb{R}^nRn, applied as pk(h,…,h)p_k(h, \dots, h)pk​(h,…,h);
  • a radius r>0r > 0r>0, not exceeding the series' radius of convergence,

such that

u(x0+h)  =  ∑k=0∞pk(h,…,h)for all h with ∥h∥<r,u(x_0 + h) \;=\; \sum_{k=0}^{\infty} p_k(h,\dots,h) \qquad \text{for all } h \text{ with } \|h\| < r,u(x0​+h)=k=0∑∞​pk​(h,…,h)for all h with ∥h∥<r,

with the series converging there. The radius rrr may depend on x0x_0x0​. The statement does not assert that the ball of radius rrr lies inside Ω\OmegaΩ, and it gives no uniformity of rrr across Ω\OmegaΩ.

Degenerate cases:

  • Ω=∅\Omega = \emptysetΩ=∅. Both the hypothesis and the conclusion are vacuous, so the statement asserts nothing.
  • n=0n = 0n=0. Here R0\mathbb{R}^0R0 is a single point. Every function on it is constant, the Laplacian is an empty sum and therefore identically 000, and the conclusion holds trivially for every uuu and every Ω\OmegaΩ.
  • Undefined second derivatives. No junk value of the Laplacian enters at points that matter: at every point of UxU_xUx​ where the vanishing is required, uuu is twice differentiable, provided UxU_xUx​ is taken inside the C2C^2C2 neighbourhood. The formal definition, however, does not itself insist on this.
  • The openness hypothesis. The assumption that Ω\OmegaΩ is open is stated separately. The conclusion concerns only points of Ω\OmegaΩ and neighbourhoods around them.
Human review
  • Endorsed by Shuze Chen · Oct 2, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 2, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me