Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Hamiltonian 2n×2n2n\times 2n2n×2n matrices form a space of dimension n(2n+1)n(2n+1)n(2n+1)

Proved
UnQuantumMechanics.hamiltonian_matrices_finrank

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

hamiltonian-mechanicslinear-algebramathematical-physics

The real 2n×2n2n\times 2n2n×2n Hamiltonian matrices span a real vector space of dimension

νs=n(2n+1).\nu_s = n(2n+1).νs​=n(2n+1).

Formalization Note "Number of linearly independent elements" is formalized as the dimension of the real linear span of the set of Hamiltonian 2n×2n2n\times 2n2n×2n matrices (which is in fact a linear subspace).

Preamble
import Mathlib
import Definitions.Def_UnQM_phase_space

open Matrix
Formal statement
namespace UnQuantumMechanics

theorem hamiltonian_matrices_finrank (n : ℕ) :
    Module.finrank ℝ (Submodule.span ℝ {M | IsHamiltonianMatrix n M}) = n * (2 * n + 1) := 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. VI.B, p. 17, Eq. (55)
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: the real linear span, inside the real vector space of 2n×2n2n\times2n2n×2n real matrices, of the set of all matrices MMM for which there is a symmetric AAA with M=γ0AM = \gamma_0AM=γ0​A, has (finite) dimension exactly n⋅(2n+1)n\cdot(2n+1)n⋅(2n+1). For n=0n=0n=0 this says the dimension is 000.

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