import Definitions.Def_LanglandsTunnell_CubicInduction_Structure import Definitions.Def_AutomorphicForm_SmoothingKernel set_option autoImplicit false open Matrix IsDedekindDomain NumberField MeasureTheory noncomputable section namespace LanglandsTunnell.RankinSelberg open LanglandsTunnell.CubicInduction AutomorphicForm theorem iotaGL_transposeInvN {A : Type*} [CommRing A] (g : GL (Fin 2) A) : iotaGL (transposeInvN (Fin 2) g) = transposeInv3 (iotaGL g) := by refine Units.ext ?_ change embedMat2 _ = (((iotaGL g)โปยน : GL (Fin 3) A) : Matrix (Fin 3) (Fin 3) A)แต€ rw [โ† map_inv, coe_iotaGL, coe_transposeInvN] ext i j fin_cases i <;> fin_cases j <;> simp [embedMat2, Matrix.transpose_apply] attribute [local instance] NumberField.AdelicHaar.glBorel attribute [local instance] NumberField.AdelicHaar.borelSpace_glBorel def rsGlobalIntegral (D : Set (AdelicGL2 (๐“ž โ„š) โ„š)) (s : โ„‚) (ฯ† : AdelicGL2 (๐“ž โ„š) โ„š โ†’ โ„‚) (ฮ˜ : AdelicGL 3 (๐“ž โ„š) โ„š โ†’ โ„‚) : โ„‚ := โˆซ g in D, ฯ† g * ฮ˜ (iota (๐“ž โ„š) โ„š g) * ((detNorm g : โ„) : โ„‚) ^ (s - 1 / 2) โˆ‚(NumberField.AdelicHaar.adelicGLHaar (Fin 2) (๐“ž โ„š) โ„š) theorem rsGlobalIntegral_def (D : Set (AdelicGL2 (๐“ž โ„š) โ„š)) (s : โ„‚) (ฯ† : AdelicGL2 (๐“ž โ„š) โ„š โ†’ โ„‚) (ฮ˜ : AdelicGL 3 (๐“ž โ„š) โ„š โ†’ โ„‚) : rsGlobalIntegral D s ฯ† ฮ˜ = โˆซ g in D, ฯ† g * ฮ˜ (iota (๐“ž โ„š) โ„š g) * ((detNorm g : โ„) : โ„‚) ^ (s - 1 / 2) โˆ‚(NumberField.AdelicHaar.adelicGLHaar (Fin 2) (๐“ž โ„š) โ„š) := rfl @[simp] theorem rsGlobalIntegral_zero_left (D : Set (AdelicGL2 (๐“ž โ„š) โ„š)) (s : โ„‚) (ฮ˜ : AdelicGL 3 (๐“ž โ„š) โ„š โ†’ โ„‚) : rsGlobalIntegral D s 0 ฮ˜ = 0 := by simp [rsGlobalIntegral] end LanglandsTunnell.RankinSelberg end