Hohenberg-Kohn Theorem 2 (variational principle)
ProvedDFT.hk_variational_principleThis is Hohenberg-Kohn Theorem 2: "the functional that delivers the ground-state energy of the system gives the lowest energy if and only if the input density is the true ground-state density".
Fix an external potential with nondegenerate ground state , and write for the ground-state energy and for the ground-state density. For every -representable density , the energy functional
satisfies
So the exact energy functional attains its minimum precisely at the ground-state density, and the minimum value is the ground-state energy. This is the variational principle that every practical DFT calculation minimizes.
import Definitions.Def_DFT_HohenbergKohn open MeasureTheory
namespace DFT
theorem hk_variational_principle (M : HKModel) {v : M.Pot} {Ψ₀ : M.Wf}
(h₀ : M.IsNondegenerateGroundState v Ψ₀) {n : M.Dens} (hn : M.VRepresentable n) :
M.energy v Ψ₀ ≤ M.hkFunctional n + M.ext v n ∧
(M.hkFunctional n + M.ext v n = M.energy v Ψ₀ ↔ n = M.dens Ψ₀) := by sorry
end DFTRead-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.
Work in an arbitrary instance of the model record, with energy , the functional and the predicate " is representable" as defined in the bundle (there exists a state with density that is a strict energy minimizer for some potential).
Hypotheses: a potential and a state such that for every ; and a density that is representable in the above sense — note the potential witnessing the representability of is arbitrary and need not be .
The conclusion is a conjunction of two parts:
a non-strict inequality; 2.
an equivalence in both directions: equality of the two real numbers holds exactly when is the density of , as elements of the set .
Observations. Part 2 in the direction () is itself a nontrivial assertion, namely that really is , i.e. that the choice operator hidden in does not produce some other value. The representability hypothesis on cannot be dropped: without it would be the junk value and the inequality would be a statement about alone. The inequality is not strict, consistent with part 2 identifying exactly when equality occurs. No hypothesis relates to the potential , and none asserts that a ground state exists for the potential witnessing 's representability beyond what representability itself provides.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.