Lean source
Lib.DiscreteSeries.Bruhat.FloorGroups
Its 57 declarations
floorOfdef, line 17oppositeIndexdef, line 21orbitPointdef, line 27floorOf_level_caseslemma, lines 29–31oppositeIndex_speclemma, lines 35–37splitGram_eq_ite_oppositeIndexlemma, lines 40–41weylOndef, lines 45–50weylElemdef, line 54floorWeyldef, line 58inverse_star_unitlemma, line 60Shape.def, line 66Form. GT Shape.def, lines 70–71Form. unipotentBelow floorUnipotentdef, line 74Shape.def, lines 78–79Form. unitriGroup mem_floorGrouplemma, line 86floorGroup_applylemma, lines 88–91mem_unipotentBelowlemma, lines 93–94mem_unitriGrouplemma, lines 96–97floorOf_besselFramelemma, line 99orbitPoint_eq_ifflemma, lines 107–108mem_unitriGroup_succ_ifflemma, lines 110–112inv_mul_mem_of_orbitPoint_eqlemma, lines 114–116mem_unitriGroup_of_mem_besselUlemma, line 118unipotentBelow_eq_besselUlemma, line 122unipotentBelow_le_besselUlemma, line 124unipotentBelow_le_unitriGrouplemma, line 126unitriGroup_antilemma, line 128floorGroup_antilemma, line 130floorGroup_zerolemma, line 132floorGroup_eq_botlemma, lines 134–135unitriGroup_top_eq_besselUlemma, line 138unitriGroup_inf_floorGroup_lastlemma, lines 140–141mem_unitriGroup_of_mem_floorGrouplemma, line 143eq_one_of_mem_floorGroup_inflemma, lines 145–146floorUnipotent_superdiag_eq_zerolemma, lines 148–149conj_mem_unipotentBelowlemma, lines 151–152conj_mem_floorUnipotentlemma, lines 154–156superdiag_conj_eqlemma, lines 158–162splitGram_collemma, lines 168–169splitGram_mulVec_pairlemma, lines 171–173inclMatrix_val_mulVeclemma, lines 175–177inclMatrix_mulVec_floor_blocklemma, lines 181–184floorGroup_apply_besselFramelemma, lines 188–191floorWeyl_mem_floorGrouplemma, line 193commute_weylOnlemma, lines 195–198weylElem_zerolemma, line 200weylElem_succlemma, lines 202–203weylElem_updatelemma, lines 205–206commute_weylElemlemma, line 208weylElem_starlemma, line 210weylElem_mul_left_commlemma, lines 212–214frameGram_eq_form_orbitPointlemma, lines 219–221frameGram_floorWeyllemma, lines 223–224level_le_or_exists_duallemma, lines 226–227unipotentBelow_mulVec_applylemma, lines 229–231unitriGroup_dual_rowlemma, lines 235–238unitriGroup_mulVec_duallemma, lines 240–242
import Lib.Adelic.Witt.FrameAction/-! Part of: Isotropic flags in unitary groups: Heisenberg radicals, big Bruhat cell, Haar measure(known result; see Lib.DiscreteSeries.Bruhat.ComplexPlace).This file: Flag stabilisers, unipotent radicals, Levi factors and Weyl-torus elements of a unitarygroup. -/noncomputable sectionopen Matrix FI Sum Subgroup Ring Fintypevariable {A : Type} [CommRing A] [StarRing A] {𝔰 : Shape} {T : 𝔰.Form A} (l : ℕ) {a : Fin 𝔰.ϱ}/-- The floor of a basis index: a for e_{a+1} and e*_{a+1}, ϱ for z, and ϱ+1 for the basisvectors of X₀. -/def floorOf : 𝔰.BesselIndex → ℕ | inl a | eStar a => a | inr (inl (inl _)) => 𝔰.n | _ => 𝔰.ϱ/-- The involution of the basis indices that exchanges e_a and e*_a and fixes the indices of themiddle block. -/def oppositeIndex : 𝔰.BesselIndex → 𝔰.BesselIndex | inl a => eStar a | eStar a => inl a | i => iattribute [simp] floorOf.eq_1 floorOf.eq_2 floorOf.eq_3 floorOf.eq_4 oppositeIndex.eq_1 oppositeIndex.eq_2 oppositeIndex.eq_3/-- For b ≤ ϱ and an isometry g, the vector g⁻¹f_{b+1}, where f = (e₁, …, e_ϱ, z) is the frame. -/def orbitPoint b (g : T.G) := g⁻¹.1.1 *ᵥ Pi.single (𝔰.besselFrame b) 1@[grind .] lemma floorOf_level_cases : ∀ i : 𝔰.BesselIndex, (floorOf i = level i ∨ level i + floorOf i = 2 * 𝔰.ϱ) ∧ floorOf i < 𝔰.ϱ ∨ level i = 𝔰.ϱ ∧ 𝔰.ϱ ≤ floorOf i ∧ floorOf i ≤ 𝔰.n := by simp [level]; liaattribute [-simp] Fintype.sum_sum_typelemma oppositeIndex_spec : ∀ i : 𝔰.BesselIndex, oppositeIndex (oppositeIndex i) = i ∧ floorOf (oppositeIndex i) = floorOf i ∧ level (oppositeIndex i) + level i = 2 * 𝔰.ϱ := by simp [level]; liaomit [StarRing A] in@[simp] lemma splitGram_eq_ite_oppositeIndex : ∀ i j, floorOf i < 𝔰.ϱ ∨ floorOf j < 𝔰.ϱ → T.splitGram i j = ite (oppositeIndex i = j) 1 0 := by simp [splitGram]/-- The isometry e ↦ ce*, e* ↦ e/c̄, c = p(a), on the hyperbolic pair of each floor a < ϱsatisfying P with p(a) a unit; it fixes the other basis vectors. -/def weylOn (P : ℕ → Prop) (p : ℕ → A) : T.G := let M (p : ℕ → A) := of fun i j ↦ let s := P (floorOf j) ∧ floorOf j < 𝔰.ϱ ∧ IsUnit (p (floorOf j)); ite (i = ite s (oppositeIndex j) j) (ite s (ite (level j < 𝔰.ϱ) (p (floorOf j)) (star (p (floorOf j)))⁻¹ʳ) 1) 0; by use ⟨M p, M (star p), ?_, ?_⟩ <;> ext <;> simp [M, mul_apply, apply_ite star, inverse_star] <;> grind [splitGram_eq_ite_oppositeIndex, oppositeIndex_spec, inverse_mul_cancel]/-- The Weyl element w_p of length l: e_a ↦ p_a e*_a and e*_a ↦ e_a/p̄_a on the first lhyperbolic pairs, fixing the other basis vectors. -/def weylElem (p : ℕ → Aˣ) : T.G := weylOn (· < l) (p ·)/-- The Weyl element w_l(c): e_{l+1} ↦ ce*_{l+1}, e*_{l+1} ↦ e_{l+1}/c̄, fixing the other basisvectors; it is 1 if l ≥ ϱ or c is not a unit. -/def floorWeyl c := (weylOn (· = l) fun _ ↦ c : T.G)@[simp ↓] lemma inverse_star_unit (u : Aˣ) : (star ↑u)⁻¹ʳ = star u⁻¹.1 := by aesopattribute [local simp] weylOn weylElem floorWeyl level frameGram Matrix.mul_apply funext_iff/-- The subgroup H_l of the unitary group fixing e_a and e*_a for a ≤ l; also z if l > ϱ, andevery basis vector if l > ϱ + 1. -/def Shape.Form.GT := (agreeWithOneOn (fun _ j ↦ floorOf j < l) A).subgroupOf T.G/-- The subgroup 𝒩_{<l} of the unitary group: block upper triangular with identity diagonalblocks for e₁, …, e_l, V_l, e*_l, …, e*₁; for l ≥ ϱ it is 𝖴. -/def Shape.Form.unipotentBelow := (unitriangular (fun i ↦ ite (floorOf i < l) (level i) 𝔰.ϱ) A).subgroupOf T.G/-- The group 𝒩_l = H_l ∩ 𝒩_{<l+1}, where H_l = U(V_l). -/def floorUnipotent := T.GT l ⊓ T.unipotentBelow (l + 1)/-- The subgroup Q_l of the unitary group: for l ≤ ϱ + 1, elements unitriangular on the first lvectors of the frame (e₁, …, e_ϱ, z); otherwise 𝖴. -/def Shape.Form.unitriGroup := (agreeWithOneOn (fun i j ↦ level j ≤ level i ∧ (floorOf j ⊔ level j < l ∨ 𝔰.n < l)) A).subgroupOf T.Gexport Shape.Form (GT unipotentBelow unitriGroup)variable {l} {g s σ τ : T.G} {b : Fin 𝔰.n} {e v : 𝔰.BesselIndex → A} {P : ℕ → Prop} {p : ℕ → Aˣ} {j : ℕ}lemma mem_floorGroup : g ∈ GT l ↔ ∀ i j, floorOf j < l → g.1 i j = (1 : Matrix ..) i j := .rfllemma floorGroup_apply (h : g ∈ GT l) i j (e : floorOf i < l ∧ floorOf i < 𝔰.ϱ ∨ floorOf j < l) : g.1 i j = (1 : Matrix ..) i j := e.elim (by simpa [mem_floorGroup.1 h, oppositeIndex_spec, ·, apply_ite] using congrFun₂ g.2 (oppositeIndex i) j) (h i j)lemma mem_unipotentBelow : g ∈ unipotentBelow l ↔ ∀ i j, ite (floorOf j < l) (level j) 𝔰.ϱ ≤ ite (floorOf i < l) (level i) 𝔰.ϱ → g.1 i j = (1 : Matrix ..) i j := .rfllemma mem_unitriGroup : g ∈ unitriGroup l ↔ ∀ i j, level j ≤ level i → floorOf j ⊔ level j < l ∨ 𝔰.n < l → g.1 i j = (1 : Matrix ..) i j := forall₂_congr (by simp)lemma floorOf_besselFrame : floorOf (𝔰.besselFrame b) = b := b.lastCases (by simp) (by simp)attribute [grind .] mem_floorGroup mem_unipotentBelow mem_unitriGroup floorOf_besselFrame level_besselFrame floorGroup_applyattribute [local grind .] mem_besselU one_apply_ne mem_inf oppositeIndex_spec IsConcreteLE.le_iff floorUnipotent Antitonelemma orbitPoint_eq_iff : orbitPoint b g = e ↔ g *ᵥ e = Pi.single (𝔰.besselFrame b) 1 := inv_smul_eq_iff (g := g).trans commlemma mem_unitriGroup_succ_iff (h : s ∈ GT b) : s ∈ unitriGroup (b + 1) ↔ orbitPoint b s = Pi.single (𝔰.besselFrame b) 1 := by simp [↓orbitPoint_eq_iff, ← Matrix.one_apply]; grind [show ∀ j, floorOf j ⊔ level j = b → j = 𝔰.besselFrame b by cases b using Fin.lastCases <;> simp <;> lia]lemma inv_mul_mem_of_orbitPoint_eq (h : σ ∈ GT b) (k : τ ∈ GT b) (e : orbitPoint b σ⁻¹ = orbitPoint b τ⁻¹) : σ⁻¹ * τ ∈ unitriGroup (b + 1) ⊓ GT b := by simpa [mem_unitriGroup_succ_iff, mul_mem, ↓orbitPoint_eq_iff, orbitPoint, *] using! e@[simp] lemma mem_unitriGroup_of_mem_besselU : g ∈ besselU → g ∈ unitriGroup l := by grind/-- For l ≥ ϱ, the block unitriangular group 𝒩_{<l} (`unipotentBelow`) equals the Besselunipotent group 𝖴. -/lemma unipotentBelow_eq_besselU (h : 𝔰.ϱ ≤ l) : unipotentBelow l = T.besselU := by ext; grindlemma unipotentBelow_le_besselU : unipotentBelow l ≤ T.besselU := by grindlemma unipotentBelow_le_unitriGroup : T.unipotentBelow j ≤ unitriGroup l := by grindlemma unitriGroup_anti : Antitone T.unitriGroup := by grindlemma floorGroup_anti : Antitone T.GT := by grind@[simp] lemma floorGroup_zero : T.GT 0 = ⊤ := by grindlemma floorGroup_eq_bot (h : 𝔰.ϱ + 2 ≤ l) : T.GT l = ⊥ := bot_unique fun _ _ ↦ by ext; push_cast; grind/-- The top group Q_{ϱ+2} equals the Bessel unipotent group 𝖴. -/@[simp] lemma unitriGroup_top_eq_besselU : unitriGroup (𝔰.ϱ + 2) = T.besselU := by ext; grindlemma unitriGroup_inf_floorGroup_last : unitriGroup (𝔰.top + 1) ⊓ GT 𝔰.top = T.GT 𝔰.n := by ext; grind@[simp] lemma mem_unitriGroup_of_mem_floorGroup : g ∈ GT l → g ∈ unitriGroup l := by grindlemma eq_one_of_mem_floorGroup_inf (k : g ∈ GT l ⊓ unipotentBelow j) (h : j ≤ l ∨ 𝔰.ϱ ≤ l) : g = 1 := by ext;push_cast;grindlemma floorUnipotent_superdiag_eq_zero (a : Fin _) : s ∈ floorUnipotent l → l ≠ a → s.1 (𝔰.besselFrame a.castSucc) (𝔰.besselFrame a.succ) = 0 := by grindlemma conj_mem_unipotentBelow (h : σ ∈ GT l) : g ∈ unipotentBelow l → σ * g * σ⁻¹ ∈ unipotentBelow l := conj_mem_unitriangular (d := σ⁻¹.1) fun _ ↦ by grind [inv_mem h]lemma conj_mem_floorUnipotent (h : g ∈ floorUnipotent l) σ (k : σ ∈ GT (l + 1)) : σ * g * σ⁻¹ ∈ floorUnipotent l := by simp_all [floorUnipotent, conj_mem_unipotentBelow, mul_mem, floorGroup_anti l.le_succ k]lemma superdiag_conj_eq (hn : g ∈ unipotentBelow l) (hs : s ∈ GT (l + 1)) : (s * g * s⁻¹).1 (𝔰.besselFrame a.castSucc) (𝔰.besselFrame a.succ) = g.1 (𝔰.besselFrame a.castSucc) (𝔰.besselFrame a.succ) := by by_cases a < l; simp [floorGroup_apply (l := l + 1), floorOf_besselFrame, le_of_lt, *, -coe_inv, -InvMemClass.coe_inv]; grind [conj_mem_unipotentBelow (floorGroup_anti l.le_succ hs) hn]sectionomit [StarRing A]@[simp] lemma splitGram_col : ∀ i, floorOf i < 𝔰.ϱ → T.splitGram.col i = Pi.single (oppositeIndex i) 1 := by simp@[simp] lemma splitGram_mulVec_pair : ∀ i, floorOf i < 𝔰.ϱ → (T.splitGram *ᵥ e) i = e (oppositeIndex i) ∧ (e ᵥ* T.splitGram) i = e (oppositeIndex i) := by simp [splitGram, fromBlocks_mulVec, vecMul_fromBlocks]lemma inclMatrix_val_mulVec u (i : 𝔰.BesselIndex) : (inclMatrix A Subtype.val *ᵥ u) i = if h : l ≤ floorOf i then u ⟨i, h⟩ else 0 := by split <;> simp [inclMatrix, mulVec_eq_sum, Subtype.coe_eq_iff, *]endlemma inclMatrix_mulVec_floor_block (hl : l ≤ 𝔰.ϱ) (h : s ∈ GT l) u : inclMatrix A (↑) *ᵥ s.1.1.toSquareBlockProp (l ≤ floorOf ·) *ᵥ u = s.1.1 *ᵥ inclMatrix A (↑) *ᵥ u := by simp [mul_inclMatrix, -funext_iff]; rcongr; apply (inclMatrix_val_mulVec ..).trans; simp [toSquareBlockProp]; grind/-- For 0 ≤ b ≤ ϱ, σ in H_b and s in Q_{b+1}, the vector σf_{b+1} has coordinate zero at e_a ande*_a for a ≤ b, and the coordinate of σs f_{b+1} at every other basis vector. -/lemma floorGroup_apply_besselFrame (h : σ ∈ GT b) (k : s ∈ unitriGroup (b + 1)) i : σ.1 i (𝔰.besselFrame b) = ite (floorOf i < b) 0 ((σ * s).1 i (𝔰.besselFrame b)) := by split; grind; exact congrFun₂ (mul_one σ.1.1) .. ▸ sum_congr _ _ fun j ↦ by by_cases floorOf j < b; simp [mem_floorGroup.1 h, *]; all_goals grind@[simp] lemma floorWeyl_mem_floorGroup {c} : floorWeyl l c ∈ T.GT l := fun _ ↦ by simp; lialemma commute_weylOn {p} (h : ∀ a, P a → a < l) (hs : s ∈ GT l) : Commute (weylOn P p) s := by ext i; have := floorGroup_apply hs; simp [-Sum.forall] at *; rw [sum_eq_single (ite (P (floorOf i) ∧ floorOf i < 𝔰.ϱ ∧ IsUnit (p (floorOf i))) (oppositeIndex i) i)] <;> grind (splits := 20) only [oppositeIndex_spec]@[simp] lemma weylElem_zero : (weylElem 0 p : T.G) = 1 := by aesoplemma weylElem_succ : (weylElem (l + 1) p : T.G) = floorWeyl l (p l).1 * weylElem l p := by ext; simp; grind@[simp] lemma weylElem_update c : (weylElem l (Function.update p l c) : T.G) = weylElem l p := by ext; simp; grindlemma commute_weylElem : s ∈ GT l → Commute (weylElem l p) s := commute_weylOn (by lia)@[simp] lemma weylElem_star : (weylElem l (star p) : T.G) = (weylElem l p)⁻¹ := by ext; rfllemma weylElem_mul_left_comm (h : s ∈ GT l) : weylElem l p * (s * g) = s * (weylElem l p * g) ∧ (weylElem l p)⁻¹ * (s * g) = s * ((weylElem l p)⁻¹ * g) := by simp [← weylElem_star, (commute_weylElem h).left_comm, -weylElem]/-- Let the form h with Gram matrix `T.splitGram` be hermitian and invertible. For isometries σ, τand 0 ≤ b ≤ ϱ, the diagonal entry of Z(στ⁻¹) at the frame vector f_{b+1} is h(σ⁻¹f_{b+1},τ⁻¹f_{b+1}). -/lemma frameGram_eq_form_orbitPoint : T.frameGram (σ * τ⁻¹).1 b b = star (orbitPoint b σ) ⬝ᵥ T.splitGram *ᵥ orbitPoint b τ := by rw [← U.form_mulVec_mulVec, orbitPoint_eq_iff.1 rfl, orbitPoint]; simp [↓mulVec_mulVec, mul_assoc]lemma frameGram_floorWeyl (c : Aˣ) : T.frameGram (floorWeyl a c : T.G).1 a.castSucc a.castSucc = c := by simplemma level_le_or_exists_dual (k : 𝔰.BesselIndex) : level k ≤ 𝔰.ϱ ∨ ∃ b, k = eStar b ∧ floorOf k = b := by boundlemma unipotentBelow_mulVec_apply (hν : g ∈ unipotentBelow j) (hv : ∀ b : Fin _, b < j → v (eStar b) = 0) i (hi : j ≤ floorOf i ∨ 𝔰.ϱ < level i) : (g *ᵥ v) i = v i := congr($(one_mulVec v) i) ▸ sum_congr _ _ (by grind [level_le_or_exists_dual ·])/-- For s in Q_j and a < j (hyperbolic pairs indexed from 0), the row of s at e*_a equals thatof the identity matrix in every column other than those of the e*_b with b < a. -/lemma unitriGroup_dual_row (hs : s ∈ unitriGroup j) (ha : a < j) k : (∀ b < a, k ≠ eStar b) → s.1 (eStar a) k = (1 : Matrix 𝔰.BesselIndex ..) (eStar a) k := by obtain _ := (mem_unitriGroup.1 (inv_mem hs) · (inl a)), congr($(U.form_mul_inv_eq s⁻¹) (inl a)) simp_all [sum_sum_type]; grind [star_zero, star_one]lemma unitriGroup_mulVec_dual (hs : s ∈ unitriGroup j) (ha : a < j) (h : ∀ b < a, v (eStar b) = 0) : (s.1.1 *ᵥ v) (eStar a) = v (eStar a) := congr($(one_mulVec v) _) ▸ sum_congr _ _ (by grind [unitriGroup_dual_row])