Lean source
Lib.DiscreteSeries.Bessel.UnipotentCoords
Its 43 declarations
Shape.abbrev, line 22G₁ Shape.abbrev, line 25FrameMat Shape.abbrev, line 29J₁ Shape.abbrev, line 32frameCols Shape.abbrev, line 36dualFrameCols Shape.abbrev, line 40isotropicCols Shape.abbrev, line 43definiteCols Shape.abbrev, line 47dualCols Shape.abbrev, line 50zCol Shape.abbrev, line 54UnipotentParams frameVectordef, line 60realFrameGramabbrev, line 64freeEntriesdef, lines 68–72IsFreeEntry₀def, line 76IsFreeEntrydef, lines 80–81actOnColsdef, lines 87–88UpperEntriesabbrev, line 92unitriMatrixdef, lines 96–97continuous_unitriMatrixlemma, lines 99–100isHermInvolution_J₁instance, lines 102–103(instance)instance, line 105lintegral_bruhat_coordslemma, lines 116–138conjTranspose_inclMatrix_mullemma, lines 149–150inclMatrix_gram_eq_zerolemma, lines 152–153inclMatrix_gram_eq_onelemma, lines 155–156mul_mul_eq_of_mul_eqlemma, line 160inclMatrix_gram_mul_eq_zerolemma, lines 162–163inclMatrix_gram_mul_eq_selflemma, lines 165–166J₁_eqlemma, lines 168–169unipotentOfdef, lines 176–178embedHabbrev, line 182norm_embedH_mullemma, lines 184–185liftUnitridef, lines 189–195coe_embedHlemma, line 202unipotentOf_mem_besselU0lemma, line 204frameMatrix_liftUnitrilemma, line 208liftUnitri_mem_besselUlemma, lines 212–213exists_mul_unipotentOf_dualCols_eqlemma, lines 217–221exists_embedH_eq_of_fix_frameColslemma, lines 223–226mem_besselU0_iff_unipotentOflemma, lines 228–231Shape.def, line 235besselHaar₀ Shape.def, lines 239–240besselHaar besselQuotMeasureabbrev, line 244
import Lib.Adelic.Poincare.MiddleGroupEmbeddingimport Lib.DiscreteSeries.Haar.HaarMass/-! General lemmas of measure and integration (textbook or folklore).Part of: Bessel subgroup of a real unitary group: coordinates, Haar measure, Bessel functions (knownresult; see Lib.DiscreteSeries.Bessel.RealMeasures).This file: Names for the real unitary group, frames, coordinates and measures on unipotentsubgroups. Lebesgue measure on complex matrices in Gauss (LDU) coordinates, with its Jacobian.Matrix coordinates for the unipotent and compact subgroups fixing the frame. -/noncomputable sectionsectionopen Matrixvariable (𝔰 : Shape)/-- The complex unitary group G₁ of the whole space, for the form with ϱ hyperbolic planes, Grammatrix 1 on X₀ and −1 at z. -/abbrev Shape.G₁ := (𝔰.middleGram (1 : ℂ)).G/-- The space of complex n×n matrices, where n = ϱ + 1 is the length of a frame. -/abbrev Shape.FrameMat := Matrix (Fin (𝔰.ϱ + 1)) (Fin (𝔰.ϱ + 1)) ℂ/-- The complex Gram matrix J₁ of the whole space in the standard basis: ϱ hyperbolic planes, 1on X₀ and −1 at z; G₁ is its unitary group. -/abbrev Shape.J₁ := (𝔰.middleGram (1 : ℂ)).splitGram/-- The complex matrix whose columns are the frame vectors e₁, …, e_ϱ, z in the standard basis. -/abbrev Shape.frameCols := inclMatrix ℂ 𝔰.besselFrame/-- The complex matrix with ϱ+1 columns: the basis vectors e*₁, …, e*_ϱ, then the chosen basisvector of X₀ of index k₀. -/abbrev Shape.dualFrameCols := inclMatrix ℂ (Fin.snoc eStar (𝔰.indexX₀ 𝔰.k₀))/-- The complex matrix whose columns are the standard basis vectors e₁, …, e_ϱ of the firstblock. -/abbrev Shape.isotropicCols := inclMatrix ℂ (.inl : _ → 𝔰.BesselIndex)/-- The complex matrix whose columns are the standard basis vectors of X₀, indexed by κ. -/abbrev Shape.definiteCols := inclMatrix ℂ 𝔰.indexX₀/-- The complex matrix whose columns are the standard basis vectors e*₁, …, e*_ϱ of the lastblock. -/abbrev Shape.dualCols := inclMatrix ℂ (eStar : _ → 𝔰.BesselIndex)/-- The complex matrix with a single column, the standard basis vector z. -/abbrev Shape.zCol := inclMatrix ℂ fun _ : Unit ↦ 𝔰.z/-- The space of pairs (a, b) with a a complex ϱ×κ matrix and b a real ϱ×ϱ matrix: theparameters of the isometries `unipotentOf`. -/abbrev Shape.UnipotentParams := Matrix (Fin 𝔰.ϱ) 𝔰.κ ℂ × Matrix (Fin 𝔰.ϱ) (Fin 𝔰.ϱ) ℝvariable {𝔰} (y : 𝔰.G₁) (a : Fin (𝔰.ϱ + 1)) {j}/-- For y in G₁, the a-th vector y⁻¹f_a of the frame moved by y⁻¹, as a vector of the standardEuclidean space. -/def frameVector : EuclideanSpace ℂ 𝔰.BesselIndex := .toLp 2 (y⁻¹.1 · (𝔰.besselFrame a))/-- For y∈G₁, the (ϱ+1)×(ϱ+1) complex matrix Z(y) of products h(f_j, y f_l) of the frame withits translate. -/abbrev realFrameGram := (𝔰.middleGram 1).frameGram y.1.1/-- The continuous ℝ-linear map sending a matrix M to its entries M(e_a, i) at the positions (a,i) satisfying p, together with the imaginary parts of the entries M(e_a, e*_a). -/@[simps apply_fst apply_snd] def freeEntries (p : Fin 𝔰.ϱ × 𝔰.BesselIndex → _) : Matrix 𝔰.BesselIndex 𝔰.BesselIndex ℂ →L[ℝ] (Subtype p → ℂ) × (Fin 𝔰.ϱ → ℝ) where toFun M := (fun x ↦ M (.inl x.1.1) x.1.2, fun a ↦ (M (.inl a) (eStar a)).im) map_add' := by simp [funext_iff] map_smul' := by simp [funext_iff]/-- The matrix positions (a,i), a among the first ϱ rows, with column in the κ part of themiddle block or column e*_j for j>a. -/@[simp] def IsFreeEntry₀ (x : _ × _) := (∃ i, x.2 = 𝔰.indexX₀ i) ∨ ∃ b > x.1, x.2 = eStar b/-- The matrix positions (a,i), a among the first ϱ rows, with column e_j or e*_j for j>a, orany column of the middle block. -/def IsFreeEntry : Fin 𝔰.ϱ × 𝔰.BesselIndex → Prop | (a, .inl b) | (a, eStar b) => a < b | (_, .inr (.inl _)) => Trueattribute [simp] IsFreeEntry.eq_1 IsFreeEntry.eq_2 IsFreeEntry.eq_3/-- The matrix 1 − CCᴴ + ChCᴴ; for orthonormal columns C it acts by h on their span and fixesthe orthogonal complement. -/def actOnCols {m} [Fintype m] (C : Matrix 𝔰.BesselIndex m ℂ) (h : Matrix m m ℂ) := 1 - C * Cᴴ + C * h * Cᴴ/-- The space of complex families indexed by the pairs a < b among j indices: the entries of aj×j matrix strictly above the diagonal. -/abbrev UpperEntries j := {p : Fin j × _ // p.1 < p.2} → ℂ/-- The upper unitriangular j×j complex matrix whose entries above the diagonal are the givenfamily x. -/def unitriMatrix (x : UpperEntries j) := of fun a b ↦ dite (a < b) (x ⟨(a, b), ·⟩) fun _ ↦ ite (a = b) 1 0@[fun_prop] lemma continuous_unitriMatrix : Continuous (@unitriMatrix j) := by unfold unitriMatrix; continuityinstance isHermInvolution_J₁ : IsHermInvolution 𝔰.J₁ := by constructor <;> apply ext <;> simp [eq_comm, splitGram, middleGram, mul_apply]instance : IsHermUnit 𝔰.J₁ := ⟨IsHermInvolution.isHermitian, IsHermInvolution.isUnit⟩endopen Matrix MeasureTheory Measure Complex MeasurableEquiv Finattribute [local instance] sigmaFinite_map/-- Integration in Bruhat coordinates Z = x⁻ diag(c) x⁺, x^± unitriangular: for measurable f ≥ 0on n×n complex matrices, ∫ f dZ = ∫ ∏_a |c_a|^{4(n−1−a)} ∫ f(x⁻ diag(c) x⁺) dx⁻dx⁺ dc, witha numbered from 0. -/lemma lintegral_bruhat_coords {n f} (hf : Measurable f) : ∫⁻ c : Fin n → ℂ, (∏ a : Fin n, ‖c a‖ₑ ^ (4 * a.rev.1)) * ∫⁻ q : _ × _, f ((unitriMatrix q.1)ᴴ * diagonal c * unitriMatrix q.2).row = ∫⁻ Z, f Z := by have A := volume_measurePreserving_arrowProdEquivProdArrow ℂ ℂ induction' n with n ih <;> simp (disch := with_unfolding_all fun_prop [row]) only [volume, lintegral_map, lintegral_prod, ← (measurePreserving_piFinSuccAbove _ 0).symm.2, ← pi_map_pi, ← (measurePreserving_arrowProdEquivProdArrow ..).symm.2] simp [empty_eq] apply lintegral_congr_ae ((ae_ne _ 0).mono fun c _ ↦ .symm ?_) erw [lintegral_eq_det_mul (c • 1), lintegral_lintegral_swap, lintegral_eq_det_mul (c • 1), lintegral_lintegral, ← funext fun u ↦ lintegral_add_left_eq_self _ (u.1 · • c • u.2), lintegral_lintegral_swap, ← ih] simp [consEquiv, prod_univ_succ, ← lintegral_const_mul'] ring_nf; congr! erw [lintegral_lintegral, lintegral_lintegral, ← (((A _).prod ((A _).comp (volume_preserving_pi fun _ ↦ conjLIE.measurePreserving.prod (.id _)))).comp ((measurePreserving_sumPiEquivProdPi _).comp ((measurePreserving_piCongrLeft _ (.ofBijective ((⟨·.1.map succ succ, by grind⟩) ⊕ᵥ (⟨⟨0, succ ·⟩, by simp⟩)) (.of_existsUnique _ ?_))).trans (A _)).symm)).lintegral_comp (α := UpperEntries _ × _)] congr! all_goals first | fun_prop [row] | simp [funext_iff, diagonal, sumPiEquivProdPi, mul_apply, unitriMatrix, piCongrLeft, arrowProdEquivProdArrow, forall_fin_succ, sum_univ_succ, ExistsUnique]; grindopen MatMul Norms.L2Operatorattribute [local simp] forall_fin_succ' Matrix.mul_apply frameMatrix inclMatrix val_toBesselH_apply_coevariable {𝔰 : Shape} {s u : 𝔰.G₁} {l m n o : Type} [Fintype n] {e : m → n} {e' : l → n} (q : 𝔰.UnipotentParams) {M : Matrix m o ℂ} (x : UpperEntries 𝔰.n) {A : Matrix l n ℂ} {B : Matrix n m ℂ}lemma conjTranspose_inclMatrix_mul (M : Matrix _ l ℂ) : (inclMatrix ℂ e)ᴴ * M = M.submatrix e id := by aesoplemma inclMatrix_gram_eq_zero : (∀ i j, e' i ≠ e j) → (inclMatrix ℂ e')ᴴ * inclMatrix ℂ e = 0 := by aesoplemma inclMatrix_gram_eq_one : (∀ i j, e i = e j → i = j) → (inclMatrix ℂ e)ᴴ * inclMatrix ℂ e = 1 := by aesopvariable [Fintype m]lemma mul_mul_eq_of_mul_eq {C} : A * B = C → A * (B * M) = C * M := by aesoplemma inclMatrix_gram_mul_eq_zero : (∀ i j, e' i ≠ e j) → (inclMatrix ℂ e')ᴴ * (inclMatrix ℂ e * M) = 0 := by aesoplemma inclMatrix_gram_mul_eq_self (h : ∀ i j, e i = e j → i = j) : (inclMatrix ℂ e)ᴴ * (inclMatrix ℂ e * M) = M := by simp [↓mul_mul_eq_of_mul_eq (inclMatrix_gram_eq_one h)]lemma J₁_eq : 𝔰.J₁ = 𝔰.isotropicCols * 𝔰.dualColsᴴ + 𝔰.dualCols * 𝔰.isotropicColsᴴ + 𝔰.definiteCols * 𝔰.definiteColsᴴ - 𝔰.zCol * 𝔰.zColᴴ := by aesopattribute [local simp] FI.level Fin.ne_of_gt J₁_eq inclMatrix_gram_mul_eq_zero inclMatrix_gram_mul_eq_self mem_besselU mem_besselU0_iff unitriMatrix/-- For q = (a, b), a complex ϱ×κ, b real ϱ×ϱ: the isometry 1 + XaWᴴ − WaᴴDᴴ + X(sk b − ½aaᴴ)Dᴴ,where X, W, D have columns e_i, x_i, e*_i and sk = `skewOfReal`. -/def unipotentOf : 𝔰.G₁ := U.of IsHermUnit.isUnit (1 + 𝔰.isotropicCols * q.1 * 𝔰.definiteColsᴴ - 𝔰.definiteCols * q.1ᴴ * 𝔰.dualColsᴴ + 𝔰.isotropicCols * (skewOfReal q.2 - (2⁻¹ : ℂ) • (q.1 * q.1ᴴ)) * 𝔰.dualColsᴴ) (by simp [-inclMatrix]; module)/-- For h in the unitary group U(κ), the element of G₁ acting as h on X₀ and as the identity onthe other basis vectors. -/abbrev embedH h := (toBesselH 𝔰 1 h : 𝔰.G₁)lemma norm_embedH_mul h : ‖(embedH h * u).1.1‖ = ‖u.1.1‖ := CStarRing.norm_mem_unitary_mul _ (by simp [unitary, star, ← U.inv_val_eq_conjTranspose])/-- The lift to G₁ of the upper unitriangular matrix `unitriMatrix` x of size ϱ+1: an explicitisometry acting by this matrix on the frame e₁, …, e_ϱ, z and fixing X₀. -/def liftUnitri : 𝔰.G₁ := let v := (unitriMatrix x).submatrix castSucc fun _ : Unit ↦ 𝔰.top let a := (unitriMatrix x).submatrix castSucc castSucc U.of IsHermUnit.isUnit (𝔰.definiteCols * 𝔰.definiteColsᴴ + 𝔰.zCol * 𝔰.zColᴴ + 𝔰.isotropicCols * (a * 𝔰.isotropicColsᴴ + v * 𝔰.zColᴴ) + (𝔰.dualCols + 𝔰.zCol * vᴴ + (2⁻¹ : ℂ) • (𝔰.isotropicCols * v * vᴴ)) * a.adjugateᴴ * 𝔰.dualColsᴴ) (by simp [det_eq_one_of_unitriangular (lev := id) (Z := a) (by simp [a]; lia), adjugate_conjTranspose, mul_mul_eq_of_mul_eq (mul_adjugate _), mul_mul_eq_of_mul_eq (adjugate_mul _), -inclMatrix]; module)attribute [local simp ←] ext_iffattribute [simps (attr := local simp) (rhsMd := .default) -isSimp coe_val, irreducible] liftUnitri unipotentOflemma coe_embedH h : (embedH h).1.1 = actOnCols 𝔰.definiteCols h := by simp [actOnCols]lemma unipotentOf_mem_besselU0 : unipotentOf q ∈ besselU0 := by simp; lia/-- The block of the lift of x on the rows and columns of the frame (e₁, …, e_ϱ, z) is the upperunitriangular matrix with entries x above the diagonal. -/@[simp] lemma frameMatrix_liftUnitri : frameMatrix (liftUnitri x) = unitriMatrix x := by simp; grind/-- For every family x of entries above the diagonal of a (ϱ+1)×(ϱ+1) complex matrix, the liftof x lies in the subgroup 𝖴 (`Shape.Form.besselU`) of G₁. -/lemma liftUnitri_mem_besselU : liftUnitri x ∈ besselU := by simp; grind [by simpa using (unitriGroup_dual_row (s := liftUnitri x) (by simp [mem_unitriGroup]; lia) <| isLt ·)]/-- If B has ϱ columns that span an isotropic space and are dual to the frame sf (h(sf_a, B_b) =δ_ab, with h(sz, B_b) = 0), then B = su(e*₁, …, e*_ϱ) for some u = `unipotentOf` q in 𝖴⁰. -/lemma exists_mul_unipotentOf_dualCols_eq {B} (a : (s.1.1 * 𝔰.frameCols)ᴴ * 𝔰.J₁ * B = inclMatrix ℂ castSucc) (b : Bᴴ * 𝔰.J₁ * B = 0) : ∃ q, (s * unipotentOf q).1.1 * 𝔰.dualCols = B := by obtain ⟨B, rfl⟩ : ∃ C, B = s.1.1 * C := ⟨s⁻¹.1.1 * B, by simp⟩ use (-Bᴴ * 𝔰.definiteCols, skewCoords (skewAdjointPart ℝ B.toRows₁)); convert! Matrix.mul_assoc .. simp_all [↓U.gram_invariant, -map_sub]; grindlemma exists_embedH_eq_of_fix_frameCols (H : s.1.1 * 𝔰.frameCols = 𝔰.frameCols) : ∃ q h, s * unipotentOf q = embedH h := (@exists_mul_unipotentOf_dualCols_eq _ s 𝔰.dualCols (by simp [↓H]) (by simp)).imp fun q _ ↦ have := (unipotentOf_mem_besselU0 q).2 exists_toBesselH_eq (by simp_all [mem_floorGroup, -val_unipotentOf_coe])lemma mem_besselU0_iff_unipotentOf : u ∈ besselU0 ↔ ∃ q, u = unipotentOf q := ⟨(fun H ↦ (exists_embedH_eq_of_fix_frameCols (by simp_all [-inv_mem_iff]; grind)).imp fun q ⟨_, e⟩ ↦ inv_mul_eq_one.1 (e ▸ by ext : 2; simpa [e] using mul_mem H (unipotentOf_mem_besselU0 q))) ∘ inv_mem, by grind [unipotentOf_mem_besselU0]⟩/-- The measure on 𝖴⁰ that is the image of Lebesgue measure on the parameter space`Shape.UnipotentParams` under the parametrisation `unipotentOf`. -/def Shape.besselHaar₀ := volume.map (β := besselU0) (⟨_, @unipotentOf_mem_besselU0 𝔰 ·⟩)/-- The measure on 𝖴 that is the image of dx du under (x, u) ↦ u·x̃, with x unitriangular, x̃its lift, dx Lebesgue measure and du = `Shape.besselHaar₀`. -/def Shape.besselHaar := (volume.prod 𝔰.besselHaar₀).map (β := besselU) fun q ↦ ⟨_, mul_mem q.2.2.1 (liftUnitri_mem_besselU q.1)⟩/-- The measure on G₁ that computes integrals over 𝖴\G₁: Haar measure weighted by a chosencutoff for the measure `Shape.besselHaar` on 𝖴. -/abbrev besselQuotMeasure : Measure 𝔰.G₁ := orbitMeasure 𝔰.besselHaar volume