import Definitions.Def_AutomorphicForm_AdelicKernel set_option autoImplicit false open scoped NumberField noncomputable section namespace AutomorphicForm variable (F : Type) [Field F] [NumberField F] def twistedAdelicKernel {M : Type*} [AddCommMonoid M] (ฯƒA : AdelicGL2 (๐“ž F) F โ†’* AdelicGL2 (๐“ž F) F) (f : AdelicGL2 (๐“ž F) F โ†’ M) (x y : AdelicGL2 (๐“ž F) F) : M := โˆ‘แถ  ฮณ : Matrix.GeneralLinearGroup (Fin 2) F, f (xโปยน * globalPoints (๐“ž F) F ฮณ * ฯƒA y) theorem twistedAdelicKernel_id {M : Type*} [AddCommMonoid M] (f : AdelicGL2 (๐“ž F) F โ†’ M) (x y : AdelicGL2 (๐“ž F) F) : twistedAdelicKernel F (MonoidHom.id _) f x y = adelicKernel F f x y := rfl theorem twistedAdelicKernel_one {M : Type*} [AddCommMonoid M] (f : AdelicGL2 (๐“ž F) F โ†’ M) (x y y' : AdelicGL2 (๐“ž F) F) : twistedAdelicKernel F 1 f x y = twistedAdelicKernel F 1 f x y' := rfl end AutomorphicForm