Lemma 5.1: trace form, Gram determinant and dual basis
ProvedQAlgorithms.Papers.Independent.Intake100.P88.trace_gram_dual_equivalencesLet be a finite-dimensional unital algebra over a field , let be linear with , and let be a finite basis. Set . The following are equivalent:
The nonzero qualification follows the source's proof, correcting its preceding prose. This criterion supplies actual dual bases for trace averaging, including the zero-dimensional algebra with empty Gram determinant one.
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P88
noncomputable section
namespace QAlgorithms.Papers.Independent.Intake100.P88
attribute [local instance] Classical.propDecidable
open scoped BigOperators Matrix
open QAlgorithms.Papers.Independent.Information100.P65 (hookLength)
open QAlgorithms.Papers.Independent.Renew46.P30 (TensorIndex)
universe u v w x y
/-- Nondegeneracy, determinant, and existence of dual basis, PDF p.39, Lemma 5.1.
SOURCE CORRECTION: nondegeneracy tests nonzero `b`, as the proof explicitly requires. -/
theorem trace_gram_dual_equivalences (F A I : Type*) [Field F] [Ring A] [Algebra F A]
[FiniteDimensional F A] [Fintype I] [DecidableEq I]
(t : A →ₗ[F] F) (_htrace : ∀ a b : A, t (a * b) = t (b * a)) (b : Module.Basis I F A) :
(TraceNondegenerate (fun a => t a) ↔ (traceGram t b).det ≠ 0) ∧
((traceGram t b).det ≠ 0 ↔ ∃ c : Module.Basis I F A, IsTraceDualBasis t b c) := by sorry
end QAlgorithms.Papers.Independent.Intake100.P88
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
Let be a field, a finite-dimensional -algebra whose underlying structure is a ring, and a finite index type with decidable equality. Let be -linear and satisfy for every , and let be an -basis of . Define . Then both equivalences hold: the condition that every nonzero admits with is equivalent to ; and is equivalent to the existence of an -basis of satisfying for every . The latter assertion is existence, without a uniqueness clause. Empty is included: its matrix has determinant , and its basis forces to be the zero vector space, making the nonzero-element condition vacuous.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.