Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Second moments obey Heisenberg's equation S˙=[H,S]\dot S = [H, S]S˙=[H,S]

Proved
UnQuantumMechanics.second_moment_heisenberg_equation

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

hamiltonian-mechanicslinear-algebramathematical-physics

Let HHH be a Hamiltonian 2n×2n2n\times 2n2n×2n matrix and let τ↦Σ(τ)\tau\mapsto\Sigma(\tau)τ↦Σ(τ) be a matrix-valued function that, at the time τ\tauτ, is differentiable and satisfies the second-moment equation (40)

Σ˙(τ)=HΣ(τ)+Σ(τ)HT.\dot\Sigma(\tau) = H\Sigma(\tau) + \Sigma(\tau)H^T .Σ˙(τ)=HΣ(τ)+Σ(τ)HT.

Then the autocorrelation matrix S(t)=Σ(t)γ0TS(t) = \Sigma(t)\gamma_0^TS(t)=Σ(t)γ0T​ is differentiable at τ\tauτ and satisfies Heisenberg's equation (42)

S˙(τ)=HS(τ)−S(τ)H=[H,S(τ)].\dot S(\tau) = H S(\tau) - S(\tau) H = [H, S(\tau)] .S˙(τ)=HS(τ)−S(τ)H=[H,S(τ)].

Formalization Note Derivatives of matrix-valued functions are taken entrywise. Σ\SigmaΣ is any matrix-valued function obeying Eq. (40); its interpretation as an ensemble average ⟨ψψT⟩\langle\psi\psi^T\rangle⟨ψψT⟩ is not part of the statement.

Preamble
import Mathlib
import Definitions.Def_UnQM_phase_space

open Matrix
Formal statement
namespace UnQuantumMechanics

theorem second_moment_heisenberg_equation (n : ℕ) (H : Matrix (PhaseIdx n) (PhaseIdx n) ℝ) (hH : IsHamiltonianMatrix n H)
    (Sig : ℝ → Matrix (PhaseIdx n) (PhaseIdx n) ℝ) (τ : ℝ)
    (hSig : ∀ i j, HasDerivAt (fun t => Sig t i j) ((H * Sig τ + Sig τ * Hᵀ) i j) τ) :
    ∀ i j, HasDerivAt (fun t => autocorr n (Sig t) i j)
      ((H * autocorr n (Sig τ) - autocorr n (Sig τ) * H) i j) τ := by sorry

end UnQuantumMechanics
Source
C. Baumgarten, How to (Un-) Quantum Mechanics, arXiv:1810.06981v2 [physics.gen-ph] (v2 dated June 10, 2025), https://arxiv.org/abs/1810.06981, Sec. V, p. 15, Eqs. (40)–(42)
Read-back

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

Non-blind read-back — not independent testimony. This read-back was written by the same agent (Aristotle, by Harmonic) that drafted the Lean statement, at the explicit direction of the proposal owner. The author knew the intended meaning and the source text while writing it, so it must not be mistaken for a blind, independent audit. An independent blind read-back is still recommended before submission.

For every natural number nnn, every real 2n×2n2n\times2n2n×2n matrix HHH for which there is a symmetric AAA with H=γ0AH=\gamma_0AH=γ0​A, every function Σ:R→R2n×2n\Sigma:\mathbb R\to\mathbb R^{2n\times 2n}Σ:R→R2n×2n and every τ∈R\tau\in\mathbb Rτ∈R: if for all indices i,ji,ji,j the scalar function t↦Σ(t)ijt\mapsto\Sigma(t)_{ij}t↦Σ(t)ij​ is differentiable at τ\tauτ with derivative (HΣ(τ)+Σ(τ)HT)ij\big(H\Sigma(\tau)+\Sigma(\tau)H^T\big)_{ij}(HΣ(τ)+Σ(τ)HT)ij​, then for all indices i,ji,ji,j the scalar function t↦(Σ(t)γ0T)ijt\mapsto\big(\Sigma(t)\gamma_0^T\big)_{ij}t↦(Σ(t)γ0T​)ij​ is differentiable at τ\tauτ with derivative (HS−SH)ij\big(HS-SH\big)_{ij}(HS−SH)ij​, where S=Σ(τ)γ0TS = \Sigma(\tau)\gamma_0^TS=Σ(τ)γ0T​. The hypothesis is only about the single time τ\tauτ; no symmetry of Σ\SigmaΣ is assumed.

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

    Confirmed by the moderator at approval.

  • Endorsed by Lucas · 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