Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Corollary 2.8 — Liouville: a bounded harmonic function on ℝⁿ is constant

Proved
HunterPDE.Harmonic.liouville

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

harmonic-functionsliouville-theoremp2o-batch-books5p2o-gran-per-chapterp2o-plan-bookp2o-v1pde

If u∈C2(Rn)u \in C^2(\mathbb{R}^n)u∈C2(Rn) is bounded and harmonic in Rn\mathbb{R}^nRn, then uuu is constant: there is c∈Rc \in \mathbb{R}c∈R with

u(x)=cfor all x∈Rn.u(x) = c \qquad \text{for all } x \in \mathbb{R}^n.u(x)=cfor all x∈Rn.

This is the nnn-dimensional analogue of Liouville's theorem for bounded entire functions.

Formalization Note. Harmonic in Rn\mathbb{R}^nRn is InnerProductSpace.HarmonicOnNhd u Set.univ; bounded is ∃M,∀x,∣u(x)∣≤M\exists M, \forall x, |u(x)| \le M∃M,∀x,∣u(x)∣≤M. The statement holds for every nnn, including the trivial n=0n = 0n=0.

Preamble
import Mathlib
Formal statement
namespace HunterPDE.Harmonic

/-- Corollary 2.8 of Hunter, *Notes on PDEs* (revised 6/18/2014), p. 23 (Liouville): if
`u ∈ C²(ℝⁿ)` is bounded and harmonic in `ℝⁿ`, then `u` is constant. -/
theorem liouville {n : ℕ} {u : EuclideanSpace ℝ (Fin n) → ℝ}
    (hu : InnerProductSpace.HarmonicOnNhd u Set.univ) (hb : ∃ M : ℝ, ∀ x, |u x| ≤ M) :
    ∃ c : ℝ, ∀ x, u x = c := by sorry

end HunterPDE.Harmonic
Source
Hunter, Notes on Partial Differential Equations (revised 6/18/2014), p. 23, Corollary 2.8
Read-back

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

Hypotheses.

  • n∈Nn \in \mathbb{N}n∈N is arbitrary.
  • u:Rn→Ru : \mathbb{R}^n \to \mathbb{R}u:Rn→R is harmonic near every point of Rn\mathbb{R}^nRn. For every ppp:
    • uuu is C2C^2C2 on a neighbourhood of ppp;
    • Δu=∑iD2u(⋅)(ei,ei)\Delta u = \sum_i D^2u(\cdot)(e_i,e_i)Δu=∑i​D2u(⋅)(ei​,ei​) vanishes on a neighbourhood of ppp.
  • uuu is bounded: there is a real MMM with ∣u(x)∣≤M|u(x)| \le M∣u(x)∣≤M for all x∈Rnx \in \mathbb{R}^nx∈Rn.

Conclusion. uuu is constant: there is a real ccc with u(x)=cu(x) = cu(x)=c for all x∈Rnx \in \mathbb{R}^nx∈Rn.

Degenerate cases.

  • n=0n = 0n=0. The space is a single point, so every function is constant and the conclusion holds with c=u(0)c = u(0)c=u(0).
  • Sign of MMM. Only the existence of some bound MMM is assumed. Such an MMM is necessarily ≥0\ge 0≥0.
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