Hamiltonian matrices form a space of dimension
ProvedUnQuantumMechanics.hamiltonian_matrices_finrankThe real Hamiltonian matrices span a real vector space of dimension
Formalization Note "Number of linearly independent elements" is formalized as the dimension of the real linear span of the set of Hamiltonian matrices (which is in fact a linear subspace).
import Mathlib import Definitions.Def_UnQM_phase_space open Matrix
namespace UnQuantumMechanics
theorem hamiltonian_matrices_finrank (n : ℕ) :
Module.finrank ℝ (Submodule.span ℝ {M | IsHamiltonianMatrix n M}) = n * (2 * n + 1) := by sorry
end UnQuantumMechanicsRead-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 : the real linear span, inside the real vector space of real matrices, of the set of all matrices for which there is a symmetric with , has (finite) dimension exactly . For this says the dimension is .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.