Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Hohenberg-Kohn Theorem 1 (the potential is determined up to a constant)

Proved
DFT.potential_diff_const_of_eigenfunction

by LG · Sep 22, 2026 · Mathlib 0df444a (Lean v4.33.1)

functional-analysismathematical-physicsquantum-mechanics

This is the potential half of Hohenberg-Kohn Theorem 1: "if two systems of electrons, one trapped in a potential v1v_1v1​ and the other in v2v_2v2​, have the same ground-state density, then v1−v2v_1 - v_2v1​−v2​ is necessarily a constant".

Suppose N=n+1N = n+1N=n+1 electrons move in R3\mathbb R^3R3 and that a single wavefunction Ψ\PsiΨ on (R3)N(\mathbb R^3)^{N}(R3)N is a ground state of the two Hamiltonians built from external potentials v1v_1v1​ and v2v_2v2​. Subtracting the two eigenvalue equations leaves the algebraic relation

(∑i=1Nw(ri)) Ψ(r1,…,rN)  =  c Ψ(r1,…,rN),w:=v1−v2,c:=E1−E2.\Bigl(\sum_{i=1}^{N} w(r_i)\Bigr)\,\Psi(r_1,\dots,r_N) \;=\; c\,\Psi(r_1,\dots,r_N), \qquad w := v_1 - v_2,\quad c := E_1 - E_2 .(i=1∑N​w(ri​))Ψ(r1​,…,rN​)=cΨ(r1​,…,rN​),w:=v1​−v2​,c:=E1​−E2​.

The theorem states the conclusion drawn from that relation: if www is measurable and Ψ\PsiΨ is nonzero almost everywhere on configuration space, and the displayed relation holds almost everywhere, then

w(r)  =  cNfor almost every r∈R3,w(r) \;=\; \frac{c}{N} \quad \text{for almost every } r \in \mathbb R^3 ,w(r)=Nc​for almost every r∈R3,

so the two external potentials differ by a constant, and the constant is the energy difference divided by the electron number.

The hypothesis that Ψ\PsiΨ does not vanish on a set of positive measure is where unique continuation for Schrodinger operators enters the physical argument; here it is an explicit hypothesis, so the statement is a clean measure-theoretic lemma independent of any operator theory.

Formalization Note. Almost-everywhere statements are with respect to Lebesgue measure on (R3)N(\mathbb R^3)^{N}(R3)N and on R3\mathbb R^3R3 respectively. The electron number is written n+1n+1n+1 so that it is positive, which is needed for the division by NNN.

Preamble
import Definitions.Def_DFT_HohenbergKohn

open MeasureTheory
Formal statement
namespace DFT

theorem potential_diff_const_of_eigenfunction {n : ℕ} (w : Pos → ℝ) (hw : Measurable w)
    (c : ℝ) (Ψ : Config n → ℂ) (hΨ : ∀ᵐ x, Ψ x ≠ 0)
    (heq : ∀ᵐ x, (∑ i, w (x i)) • Ψ x = c • Ψ x) :
    ∀ᵐ r, w r = c / (n + 1) := by sorry

end DFT
Source
Wikipedia, 'Density functional theory' (uploaded PDF), sections 'Derivation and formalism', 'Hohenberg-Kohn theorems' (Theorem 1, Corollary 1, Theorem 2) and 'Kohn-Sham equations'; https://en.wikipedia.org/wiki/Density_functional_theory . Primary sources cited there: P. Hohenberg and W. Kohn, 'Inhomogeneous electron gas', Phys. Rev. 136 (1964) B864, https://doi.org/10.1103/PhysRev.136.B864 ; W. Kohn and L. J. Sham, Phys. Rev. 140 (1965) A1133, https://doi.org/10.1103/PhysRev.140.A1133 ; M. Levy, Proc. Natl. Acad. Sci. USA 76 (1979) 6062, https://doi.org/10.1073/pnas.76.12.6062 .
Read-back

What the Lean code literally says, in plain math · Aristotle (Harmonic) — same agent as the drafter; non-blind

Read-back provenance note (non-blind). This read-back was written by the same agent that drafted the Lean statement it describes; it is not independent, blind auditor testimony, and no reviewer should treat it as such. It was produced with full knowledge of the intended statement and the source material, so it cannot be relied on to expose a mismatch between intent and code. Please audit the Lean code directly against the source.

Fix a natural number nnn (possibly 000) and set N=n+1≥1N = n+1 \ge 1N=n+1≥1. Write R3\mathbb R^3R3 for three-dimensional Euclidean space and X=(R3)NX = (\mathbb R^3)^{N}X=(R3)N for the space of NNN-tuples of points of R3\mathbb R^3R3; both carry Lebesgue measure, and XXX carries the product measure.

The data are: a function w:R3→Rw : \mathbb R^3 \to \mathbb Rw:R3→R assumed measurable, a real number ccc, and a function Ψ:X→C\Psi : X \to \mathbb CΨ:X→C on which no measurability, integrability or square-integrability assumption is made.

The hypotheses are two almost-everywhere statements on XXX:

  1. for almost every x=(x1,…,xN)∈Xx = (x_1,\dots,x_N) \in Xx=(x1​,…,xN​)∈X, Ψ(x)≠0\Psi(x) \ne 0Ψ(x)=0;
  2. for almost every x∈Xx \in Xx∈X,
(∑i=1Nw(xi))⋅Ψ(x)  =  c⋅Ψ(x),\Bigl(\sum_{i=1}^{N} w(x_i)\Bigr)\cdot \Psi(x) \;=\; c \cdot \Psi(x),(i=1∑N​w(xi​))⋅Ψ(x)=c⋅Ψ(x),

where both products are multiplication of the complex number Ψ(x)\Psi(x)Ψ(x) by a real scalar.

The conclusion is a statement on R3\mathbb R^3R3: for almost every r∈R3r \in \mathbb R^3r∈R3,

w(r)  =  cn+1.w(r) \;=\; \frac{c}{n+1}.w(r)=n+1c​.

Points to note. The conclusion is almost-everywhere equality, not equality everywhere: www may differ from c/Nc/Nc/N on a null set. The divisor is the number of particles n+1n+1n+1, which is never zero, so no division-by-zero convention is invoked. Hypothesis 2 alone would be satisfiable by taking Ψ≡0\Psi \equiv 0Ψ≡0, which is why hypothesis 1 is present; with hypothesis 1 the two together force ∑iw(xi)=c\sum_i w(x_i) = c∑i​w(xi​)=c almost everywhere. Nothing in the statement refers to any Hamiltonian, potential energy operator, eigenvalue, or ground state: it is purely the assertion that a sum of copies of www evaluated at independent coordinates is almost everywhere a constant only if www itself is almost everywhere that constant divided by NNN. The hypotheses are satisfiable (take www constant and Ψ\PsiΨ nowhere zero), so the statement is not vacuous.

Human review
  • Endorsed by Shuze Chen · Oct 8, 2026

    Confirmed by the moderator at approval.

  • Endorsed by LG · Oct 8, 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