Lean source
Lib.General.LinearAlgebra.BlockMatrices
Its 13 declarations
map_inclMatrixlemma, lines 20–21inclMatrix_transpose_mullemma, line 24inclMatrix_transpose_mul_selflemma, line 27residueDatumdef, lines 31–32extendGLdef, lines 36–37extendGL_mul_inclMatrixlemma, lines 39–40extendGL_speclemma, lines 42–43mem_stabilizer_col_ifflemma, line 45eq_inclMatrix_mul_ifflemma, lines 48–49rangeParabolicdef, lines 55–56mem_rangeParabolic_ifflemma, lines 59–60submatrix_mul_of_mem_rangeParaboliclemma, lines 62–64index_rangeParaboliclemma, lines 67–68
import Lib.Weil.Unramified.SphericalHeckeimport Lib.Weil.Construction.PairDefs/-! General lemmas of linear algebra and matrices (textbook or folklore).Set-up used by: Schrödinger and mixed models of the Weil representation; action of parabolicsubgroups.This file: Two-block matrices: inclusion matrices, block embedding of GL_r, block-triangularcriteria. -/open MatMul Matrix Setattribute [local simp] BlockTriangular Matrix.mul_apply invTransposeGL inclMatrix lt_iff_le_not_ge parabolicvariable {r n n' R ι : Type*} [CommRing R] {E} [Field E] [NumberField E] {T : Matrix n n' R} [Fintype r] [Fintype n] (u : r ↪ n) (g : GL r R) {x : GL n R} {f : ι → n'} {r' : Type*}lemma map_inclMatrix [CommRing ι] (f : R →+* ι) (u : r' → n') : (inclMatrix R u).map f = inclMatrix ι u := by aesopomit [Fintype r] inlemma inclMatrix_transpose_mul : (inclMatrix R u)ᵀ * T = T.submatrix u id := by aesopomit [Fintype r] in@[simp] lemma inclMatrix_transpose_mul_self : (inclMatrix R u)ᵀ * inclMatrix R u = 1 := by aesop/-- The function on adelic matrices x equal to f of the family of reductions modulo the places wi if x is integral at all of them, and 0 otherwise. -/noncomputable def residueDatum (w : ι → FinPlace E) (f : _ → ℂ) x := ite (∀ i p, x p (w i) ∈ LocInt _) (f fun i ↦ (@vecToMat n n' _ x).map (residueOrZero ∘ evalAt (w i))) 0/-- For an embedding u of index sets, the homomorphism GL_r(R) → GL_n(R), g ↦ diag(g, 1), with gacting on the indices in the image of u. -/@[local simp] noncomputable def extendGL : GL r R →* GL n R := Units.map ⟨⟨fun g ↦ 1 + inclMatrix R u * (g - 1) * (inclMatrix R u)ᵀ, by simp⟩, by simp [-inclMatrix, add_assoc, ← _ᵀ.mul_assoc]⟩@[simp] lemma extendGL_mul_inclMatrix : (extendGL u g).1 * inclMatrix R u = inclMatrix R u * g.1 := by aesoplemma extendGL_spec : (extendGL u g).1.submatrix u u = g ∧ ∀ i ∉ range u, ∀ j, extendGL u g i j = (1 : Matrix ..) i j := by simp [eq_comm]; aesoplemma mem_stabilizer_col_iff : x ∈ MulAction.stabilizer _ T.col ↔ x.1 * T = T := transpose_injomit [Fintype n] inlemma eq_inclMatrix_mul_iff : T = inclMatrix R u * T.submatrix u id ↔ ∀ i ∉ range u, ∀ j, T i j = 0 := ext_iff.symm.trans (forall_congr' (by by_cases ∃ x, · = u x <;> aesop))attribute [local instance] Prop.linearOrder/-- The parabolic subgroup of GL_n(R) of matrices whose rows with index in the image of u vanishin the columns with index outside that image. -/noncomputable def rangeParabolic : Subgroup (GL n R) := (parabolic (· ∉ range u)).map invTransposeGL.toMonoidHomomit [Fintype r] inlemma mem_rangeParabolic_iff : x ∈ rangeParabolic u ↔ ∀ i, ∀ j ∉ range u, x (u i) j = 0 := by erw [← inv_mem_iff, mem_image_equiv]; aesoplemma submatrix_mul_of_mem_rangeParabolic (h : x ∈ rangeParabolic u) : (x.1 * T).submatrix u f = x.1.submatrix u u * T.submatrix u f := ext (by simp; grind [Fintype.sum_of_injective u u.2, mem_rangeParabolic_iff])omit [Fintype r] inlemma index_rangeParabolic : (rangeParabolic (R := R) u).index = (parabolic (R := R) (· ∉ range u)).index := by simp [rangeParabolic]