so(n): BSo ordered basis
ProvedQAlgorithms.Papers.Independent.Gap48.P15.so_ordered_basisAll matrices and spans are over , and the Lie bracket is . The source uses one-based matrix indices. Write for the matrix unit, and . Here rank means Lie rank, and a Cartan subalgebra means a nilpotent, self-normalizing Lie subalgebra.
For every integer , let . Enumerate by increasing and then increasing , obtaining the ordered family . Then
For this is the empty basis of the zero Lie algebra.
The explicit family is asserted to be linearly independent and to span the indicated subalgebra; these properties are conclusions. This records the mathematical assertion accompanying the source output.
import Definitions.Def_QAlgorithms_Papers_Independent_Gap48_P15
namespace QAlgorithms.Papers.Independent.Gap48.P15
attribute [local instance 100] LieRing.ofAssociativeRing
-- Reuse Mathlib Matrix and Matrix.single directly. Natural one-based
-- coordinates are restricted to Fin coordinates with Matrix.submatrix.
/-- BSo is an ordered real basis of so(t), including its stated cardinality.
Source: PDF p. 5, BSo. The positive-size convention includes t=1 and its empty basis. -/
theorem so_ordered_basis (t : ℕ) (ht : 0 < t) :
(bSo t).length = t * (t - 1) / 2 ∧
isBasisFor (LieAlgebra.Orthogonal.so (Fin t) ℝ) (listFamily (bSo t)) := by sorry
end QAlgorithms.Papers.Independent.Gap48.P15
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For every natural number , let denote the real matrix with a single in row , column , using labels , and zeros elsewhere. Form the ordered list of matrices by taking in increasing order and, for each , taking in increasing order. This list has length , and the family obtained by indexing its entries from zero is linearly independent over and has real linear span equal to the space
In particular, is included: the list is empty and its span is the zero space; is excluded by the hypothesis.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.