Lean source
Lib.General.LinearAlgebra.ElementOfMatrix
Its 2 declarations
G.def, line 15ofMat G.lemma, line 17mat_ofMat
import Lib.Adelic.Unitary.SpaceGram/-! General lemmas of linear algebra and matrices (textbook or folklore).Part of: Adelic Weil representation of a unitary group and the invariant theta functional (knownresult; see Lib.Weil.DualPair.PairSplitting).This file: The element of an adelic unitary group with a given isometric matrix. -/variable {E} [Field E] [NumberField E] [NumberField.IsCMField E] {n} [Fintype n] {s : n → _}/-- The element of the adelic unitary group of signs s given by an adelic matrix m with m*εm =ε, ε the standard form. -/noncomputable def G.ofMat m h := (toUnitary.symm (U.of isUnit_stdForm m h) : G E s)@[simp] lemma G.mat_ofMat m h : (ofMat m h : G E s).mat = m := rfl