Kohn-Sham density integrates to the electron number
ProvedDFT.ks_density_normalizationIn the Kohn-Sham scheme the density of the auxiliary non-interacting system is built from orbitals,
This statement records that such a density carries the right electron number: if the orbitals are orthonormal in , that is
then
The normalization is the consistency condition every self-consistent Kohn-Sham iteration relies on: the density produced from the occupied orbitals describes exactly electrons.
import Definitions.Def_DFT_HohenbergKohn open MeasureTheory
namespace DFT
theorem ks_density_normalization {N : ℕ} (φ : Fin N → Pos → ℂ)
(hmem : ∀ i, MemLp (φ i) 2 volume)
(horth : ∀ i j, ∫ r : Pos, (starRingEnd ℂ) (φ i r) * φ j r = if i = j then 1 else 0) :
∫ r : Pos, ∑ i, ‖φ i r‖ ^ 2 = (N : ℝ) := 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.
Fix a natural number (possibly ) and a family of complex-valued functions on three-dimensional Euclidean space , which carries Lebesgue measure.
Hypotheses:
- each is square-integrable, i.e. belongs to (in particular each is measurable);
- for every pair of indices ,
an equality of complex numbers, the integral being the Bochner integral of a complex-valued function.
Conclusion:
an equality of real numbers, with on the right meaning the natural number cast to a real number, and the modulus of a complex number.
Notes. When the family is empty, hypothesis 2 is vacuous, the integrand is the zero function and the claim reads . The orthogonality hypothesis is stated for all pairs including , so it contains the normalization . The statement asserts nothing about pointwise values of the sum, only about its integral, and no nonnegativity or decay assumption beyond square-integrability appears.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.