Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 1.2.8 — maximum principle

Proved
LeblSCV.Holomorphic.maximum_principle

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

maximum-principlep2o-batch-books5p2o-gran-per-chapterp2o-plan-bookp2o-v1several-complex-variables

Let U⊂CnU \subset \mathbb{C}^nU⊂Cn be a domain and let f:U→Cf : U \to \mathbb{C}f:U→C be holomorphic. If ∣f(z)∣|f(z)|∣f(z)∣ attains a local maximum at some a∈Ua \in Ua∈U, then

f≡f(a)on U.f \equiv f(a) \quad \text{on } U.f≡f(a)on U.

Formalization Note. A domain is IsOpen U ∧ IsConnected U. "Local maximum at aaa" is IsLocalMaxOn (fun z => ‖f z‖) U a: ∣f(z)∣≤∣f(a)∣|f(z)| \le |f(a)|∣f(z)∣≤∣f(a)∣ for all z∈Uz \in Uz∈U near aaa (as UUU is open this is an ordinary local maximum). Holomorphy is Definition 1.1.2.

Preamble
import Mathlib
import Definitions.Def_LeblSCV_Holomorphic_IsHolomorphicOn
Formal statement
namespace LeblSCV.Holomorphic

/-- Theorem 1.2.8 (Maximum principle, Lebl, p. 25). Let `U ⊆ ℂⁿ` be a domain and `f` holomorphic
on `U`. If `|f|` attains a local maximum (relative to `U`) at some `a ∈ U`, then `f ≡ f(a)` on `U`. -/
theorem maximum_principle {n : ℕ} {U : Set (Fin n → ℂ)} (hU : IsOpen U) (hUc : IsConnected U)
    {f : (Fin n → ℂ) → ℂ} (hf : IsHolomorphicOn f U)
    {a : Fin n → ℂ} (ha : a ∈ U) (hmax : IsLocalMaxOn (fun z => ‖f z‖) U a) :
    ∀ z ∈ U, f z = f a := by sorry

end LeblSCV.Holomorphic
Source
Lebl, Tasty Bits of Several Complex Variables, version 4.4 (2026), p. 25, Theorem 1.2.8
Read-back

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

Setup. Let n∈Nn \in \mathbb{N}n∈N and let U⊆CnU \subseteq \mathbb{C}^nU⊆Cn be open and connected (in particular nonempty). Let f:Cn→Cf : \mathbb{C}^n \to \mathbb{C}f:Cn→C be holomorphic on UUU:

  • every p∈Up \in Up∈U has a neighbourhood NNN and a real MMM with ∣f∣≤M|f| \le M∣f∣≤M on N∩UN \cap UN∩U; and
  • for every z∈Uz \in Uz∈U and every kkk, the map ξ↦f(z+ξek)\xi \mapsto f(z + \xi e_k)ξ↦f(z+ξek​) is complex-differentiable at ξ=0\xi = 0ξ=0.

Let a∈Ua \in Ua∈U. Assume ∣f∣|f|∣f∣ has a local maximum at aaa relative to UUU: there is a neighbourhood WWW of aaa in Cn\mathbb{C}^nCn such that ∣f(z)∣≤∣f(a)∣|f(z)| \le |f(a)|∣f(z)∣≤∣f(a)∣ for every z∈W∩Uz \in W \cap Uz∈W∩U. The maximum is not required to be strict.

Conclusion. f(z)=f(a)f(z) = f(a)f(z)=f(a) for every z∈Uz \in Uz∈U. Nothing is asserted outside UUU.

Degenerate case. If n=0n = 0n=0, UUU is the single point aaa and the conclusion is trivial.

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