Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

One-body density matrix of a Slater determinant is the occupied projector (Eq. (43))

Proved
KochHF.slater_one_body_density

by Lucas · Oct 9, 2026 · Mathlib 0df444a (Lean v4.33.1)

hartree-fockmathematical-physicssecond-quantization

Let α1,…,αN∈CK\alpha_1,\dots,\alpha_N\in\mathbb C^Kα1​,…,αN​∈CK be orthonormal, ∣Φ⟩=cαN†⋯cα1†∣0⟩|\Phi\rangle=c^\dagger_{\alpha_N}\cdots c^\dagger_{\alpha_1}|0\rangle∣Φ⟩=cαN​†​⋯cα1​†​∣0⟩ and P=∑n∣αn⟩⟨αn∣P=\sum_n|\alpha_n\rangle\langle\alpha_n|P=∑n​∣αn​⟩⟨αn​∣. For all reference orbitals ϕn,ϕm\phi_n,\phi_mϕn​,ϕm​,

Γnm(1)=⟨Φ∣cn†cm∣Φ⟩=⟨ϕm∣P∣ϕn⟩.\Gamma^{(1)}_{nm}=\langle\Phi|c^\dagger_n c_m|\Phi\rangle=\langle\phi_m|P|\phi_n\rangle .Γnm(1)​=⟨Φ∣cn†​cm​∣Φ⟩=⟨ϕm​∣P∣ϕn​⟩.

As an operator on the one-electron space the one-body density matrix of a Slater determinant is therefore the projector onto the occupied subspace.

Preamble
import Mathlib
import Definitions.Def_KochHF_FockSpace

open Matrix
Formal statement
namespace KochHF

theorem slater_one_body_density {K N : ℕ} (α : Fin N → Fin K → ℂ)
    (hα : ∀ i j, orbInner (α i) (α j) = if i = j then 1 else 0) (n m : Fin K) :
    matEl (slater α) (cdag n * cann m) (slater α) =
      orbInner (Pi.single m 1) (occProj α (Pi.single n 1)) := by sorry

end KochHF
Source
E. Koch, *Mean-Field Theory: Hartree-Fock and BCS*, in E. Pavarini, E. Koch, J. van den Brink, G. Sawatzky (eds.), Quantum Materials: Experiments and Theory, Modeling and Simulation Vol. 6, Forschungszentrum Jülich, 2016, ISBN 978-3-95806-159-0, http://www.cond-mat.de/events/correl16, Sec. 2.4, p. 2.12, Eq. (43).
Read-back

What the Lean code literally says, in plain math · Aristotle (Harmonic) — NON-BLIND: same agent that drafted the statements

Non-blind read-back — not independent testimony. This read-back was written by the same agent that drafted the Lean statement, with full knowledge of the source text and of the intended meaning. It is not a blind audit and must not be mistaken for independent testimony; reviewers should compare the Lean code against the source themselves.

Throughout, K∈NK\in\mathbb NK∈N is the number of orthonormal reference orbitals ϕ0,…,ϕK−1\phi_0,\dots,\phi_{K-1}ϕ0​,…,ϕK−1​; an orbital is a coefficient vector φ∈CK\varphi\in\mathbb C^Kφ∈CK and ⟨φ∣χ⟩=∑μφμ‾χμ\langle\varphi|\chi\rangle=\sum_\mu\overline{\varphi_\mu}\chi_\mu⟨φ∣χ⟩=∑μ​φμ​​χμ​. Fock space is C2K\mathbb C^{2^K}C2K with orthonormal basis ∣S⟩|S\rangle∣S⟩, S⊆{0,…,K−1}S\subseteq\{0,\dots,K-1\}S⊆{0,…,K−1}; ci†∣S⟩=(−1)#{j∈S: j>i}∣S∪{i}⟩c^\dagger_i|S\rangle=(-1)^{\#\{j\in S:\,j>i\}}|S\cup\{i\}\rangleci†​∣S⟩=(−1)#{j∈S:j>i}∣S∪{i}⟩ for i∉Si\notin Si∈/S and 000 for i∈Si\in Si∈S; ci=(ci†)†c_i=(c_i^\dagger)^\daggerci​=(ci†​)† (conjugate transpose); cφ†=∑μφμcμ†c^\dagger_\varphi=\sum_\mu\varphi_\mu c^\dagger_\mucφ†​=∑μ​φμ​cμ†​, cφ=∑μφμ‾cμc_\varphi=\sum_\mu\overline{\varphi_\mu}c_\mucφ​=∑μ​φμ​​cμ​; ∣0⟩=∣∅⟩|0\rangle=|\emptyset\rangle∣0⟩=∣∅⟩; for orbitals α0,…,αN−1\alpha_0,\dots,\alpha_{N-1}α0​,…,αN−1​ the vector ∣Φα⟩=cαN−1†⋯cα0†∣0⟩|\Phi_\alpha\rangle=c^\dagger_{\alpha_{N-1}}\cdots c^\dagger_{\alpha_0}|0\rangle∣Φα​⟩=cαN−1​†​⋯cα0​†​∣0⟩ (for N=0N=0N=0 this is ∣0⟩|0\rangle∣0⟩). For all K,NK,NK,N, every orthonormal family α0,…,αN−1∈CK\alpha_0,\dots,\alpha_{N-1}\in\mathbb C^Kα0​,…,αN−1​∈CK (hypothesis ⟨αi∣αj⟩=δij\langle\alpha_i|\alpha_j\rangle=\delta_{ij}⟨αi​∣αj​⟩=δij​) and all reference indices n,m∈{0,…,K−1}n,m\in\{0,\dots,K-1\}n,m∈{0,…,K−1}:

⟨Φα∣ cn†cm ∣Φα⟩=⟨em ∣ Pen⟩=∑kαk,m αk,n‾,\langle\Phi_\alpha|\,c^\dagger_n c_m\,|\Phi_\alpha\rangle=\langle e_m\,|\,P e_n\rangle=\sum_{k}\alpha_{k,m}\,\overline{\alpha_{k,n}},⟨Φα​∣cn†​cm​∣Φα​⟩=⟨em​∣Pen​⟩=k∑​αk,m​αk,n​​,

where en∈CKe_n\in\mathbb C^Ken​∈CK is the nnn-th standard unit vector (the reference orbital ϕn\phi_nϕn​) and Pen=∑k⟨αk∣en⟩αkPe_n=\sum_k\langle\alpha_k|e_n\rangle\alpha_kPen​=∑k​⟨αk​∣en​⟩αk​. Here cn†,cmc^\dagger_n,c_mcn†​,cm​ are the reference-orbital operators.

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

    Confirmed by the moderator at approval.

  • Endorsed by Lucas · Oct 10, 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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me