Dataset Viewer
Auto-converted to Parquet Duplicate
statement
stringlengths
2
2.94k
proof
stringlengths
0
6.15k
type
stringclasses
9 values
symbolic_name
stringlengths
4
131
library
stringclasses
71 values
filename
stringclasses
155 values
imports
listlengths
0
12
deps
listlengths
0
11
docstring
stringlengths
0
1.4k
source_url
stringclasses
1 value
commit
stringclasses
1 value
PNat.pow_add_pow_ne_pow (x y z : β„•+) (n : β„•) (hn : n > 2) : x^n + y^n β‰  z^n
PNat.pow_add_pow_ne_pow_of_FermatLastTheorem Wiles_Taylor_Wiles x y z n hn /-- info: 'PNat.pow_add_pow_ne_pow' depends on axioms: [propext, sorryAx, Classical.choice, Quot.sound] -/ #guard_msgs in #print axioms PNat.pow_add_pow_ne_pow
theorem
PNat.pow_add_pow_ne_pow
Root
FermatsLastTheorem.lean
[ "FLT" ]
[ "PNat.pow_add_pow_ne_pow_of_FermatLastTheorem", "Wiles_Taylor_Wiles" ]
Fermat's Last Theorem for positive naturals.
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
main (args : List String) : IO UInt32
Informal.PreviewManifest.manualMainWithSharedPreviewManifest (%doc FLTBlueprint.Blueprint) args (extensionImpls := by exact extension_impls%)
def
main
blueprint-verso
blueprint-verso/FLTBlueprintMain.lean
[ "VersoManual", "VersoBlueprint.PreviewManifest", "FLTBlueprint.Blueprint" ]
[]
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
knownin1980s {P : Prop} : P
axiom
knownin1980s
Assumptions
FLT/Assumptions/KnownIn1980s.lean
[]
[]
`knownin1980s` is a term which provides a proof of an arbitrary proposition. In this current phase of the FLT project, `knownin1980s` will be allowed as a proof of any theorem which would have been easy for an expert to deduce from the pre-1990 literature. This stretches from standard easy statements about things like ...
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
"knownin1980s" : tactic => `(tactic| exact knownin1980s)
macro
knownin1980s
Assumptions
FLT/Assumptions/KnownIn1980s.lean
[]
[]
`knownin1980s` is a term which provides a proof of an arbitrary proposition. In this current phase of the FLT project, `knownin1980s` will be allowed as a proof of any theorem which would have been easy for an expert to deduce from the pre-1990 literature. This stretches from standard easy statements about things like ...
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
Mazur_statement (E : WeierstrassCurve β„š) [E.IsElliptic] : (AddCommGroup.torsion (Eβ„β„š).Point : Set (Eβ„β„š).Point).ncard ≀ 16
axiom
Mazur_statement
Assumptions
FLT/Assumptions/Mazur.lean
[]
[]
Mazur's bound for the size of the torsion subgroup of an elliptic curve over the rationals .
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
Odlyzko_statement (K : Type*) [Field K] [NumberField K] [IsTotallyComplex K] (hdim : finrank β„š K β‰₯ 18) : |(discr K : ℝ)| β‰₯ 8.25 ^ finrank β„š K
axiom
Odlyzko_statement
Assumptions
FLT/Assumptions/Odlyzko.lean
[]
[]
An "Odlyzko bound" for the root discriminant of a totally complex number field of degree 18 and above.
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
Dfx
(D βŠ—[F] (FiniteAdeleRing (π“ž F) F))Λ£
abbrev
TotallyDefiniteQuaternionAlgebra.Dfx
AutomorphicForm.QuaternionAlgebra
FLT/AutomorphicForm/QuaternionAlgebra/Defs.lean
[ "Mathlib.MeasureTheory.Integral.Bochner.Basic" ]
[]
`Dfx` is an abbreviation for $(D\otimes_F\mathbb{A}_F^\infty)^\times.$
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
incl₁ : DΛ£ β†’* Dfx F D
Units.map (Algebra.TensorProduct.includeLeftRingHom.toMonoidHom)
abbrev
TotallyDefiniteQuaternionAlgebra.incl₁
AutomorphicForm.QuaternionAlgebra
FLT/AutomorphicForm/QuaternionAlgebra/Defs.lean
[ "Mathlib.MeasureTheory.Integral.Bochner.Basic" ]
[]
incl₁ is an abbreviation for the inclusion $D^\times\to(D\otimes_F\mathbb{A}_F^\infty)^\times.$ Remark: I wrote the `incl₁` docstring in LaTeX and the `inclβ‚‚` one in unicode. Which is better?
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
inclβ‚‚ : (FiniteAdeleRing (π“ž F) F)Λ£ β†’* Dfx F D
Units.map (algebraMap _ _).toMonoidHom
abbrev
TotallyDefiniteQuaternionAlgebra.inclβ‚‚
AutomorphicForm.QuaternionAlgebra
FLT/AutomorphicForm/QuaternionAlgebra/Defs.lean
[ "Mathlib.MeasureTheory.Integral.Bochner.Basic" ]
[]
`inclβ‚‚` is he inclusion `𝔸_F^∞ˣ β†’ (D βŠ— 𝔸_F^∞ˣ)`. Remark: I wrote the `incl₁` docstring in LaTeX and the `inclβ‚‚` one in unicode. Which is better?
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
range_inclβ‚‚_le_center : MonoidHom.range (inclβ‚‚ F D) ≀ Subgroup.center (Dfx F D)
by rintro x ⟨y, rfl⟩ refine Subgroup.mem_center_iff.mpr fun g ↦ Units.ext ?_ exact (Algebra.commutes _ _).symm
lemma
TotallyDefiniteQuaternionAlgebra.range_inclβ‚‚_le_center
AutomorphicForm.QuaternionAlgebra
FLT/AutomorphicForm/QuaternionAlgebra/Defs.lean
[ "Mathlib.MeasureTheory.Integral.Bochner.Basic" ]
[]
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
WeightTwoAutomorphicForm -- defined over R (R : Type*) [AddCommMonoid R] where /-- The function underlying an automorphic form. -/ toFun : Dfx F D β†’ R left_invt : βˆ€ (Ξ΄ : DΛ£) (g : Dfx F D), toFun (incl₁ F D Ξ΄ * g) = (toFun g) right_invt : βˆƒ (U : Subgroup (Dfx F D)), IsOpen (U : Set (Dfx F D)) ∧ βˆ€...
structure
TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm
AutomorphicForm.QuaternionAlgebra
FLT/AutomorphicForm/QuaternionAlgebra/Defs.lean
[ "Mathlib.MeasureTheory.Integral.Bochner.Basic" ]
[]
This definition is made in mathlib-generality but is *not* the definition of a weight 2 automorphic form unless `DΛ£` is compact mod centre at infinity. This hypothesis will be true if `D` is a totally definite quaternion algebra over a totally real field.
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
ext (Ο† ψ : WeightTwoAutomorphicForm F D R) (h : βˆ€ x, Ο† x = ψ x) : Ο† = ψ
by cases Ο†; cases ψ; simp only [mk.injEq]; ext; apply h
theorem
TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm.ext
AutomorphicForm.QuaternionAlgebra
FLT/AutomorphicForm/QuaternionAlgebra/Defs.lean
[ "Mathlib.MeasureTheory.Integral.Bochner.Basic" ]
[]
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
zero : (WeightTwoAutomorphicForm F D R)
where toFun := 0 left_invt Ξ΄ _ := by simp -- this used to be `by simp` but now it times out doing some crazy typeclass search for -- `DiscreteTopology (D βŠ—[F] FiniteAdeleRing (π“ž F) F)Λ£` right_invt := ⟨⊀, by simp only [Subgroup.coe_top, isOpen_univ, Subgroup.mem_top, Pi.zero_apply, imp_self, implies_true,...
def
TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm.zero
AutomorphicForm.QuaternionAlgebra
FLT/AutomorphicForm/QuaternionAlgebra/Defs.lean
[ "Mathlib.MeasureTheory.Integral.Bochner.Basic" ]
[]
The zero automorphic form for a totally definite quaterion algebra.
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
zero_apply (x : Dfx F D) : (0 : WeightTwoAutomorphicForm F D R) x = 0
rfl
theorem
TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm.zero_apply
AutomorphicForm.QuaternionAlgebra
FLT/AutomorphicForm/QuaternionAlgebra/Defs.lean
[ "Mathlib.MeasureTheory.Integral.Bochner.Basic" ]
[]
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
neg (Ο† : WeightTwoAutomorphicForm F D R) : WeightTwoAutomorphicForm F D R
where toFun x := - Ο† x left_invt Ξ΄ g := by simp [left_invt] right_invt := by obtain ⟨U, hU⟩ := Ο†.right_invt simp_all only [neg_inj, right_invt] trivial_central_char g z := by simp [trivial_central_char]
def
TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm.neg
AutomorphicForm.QuaternionAlgebra
FLT/AutomorphicForm/QuaternionAlgebra/Defs.lean
[ "Mathlib.MeasureTheory.Integral.Bochner.Basic" ]
[]
Negation on the space of automorphic forms over a totally definite quaternion algebra.
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
neg_apply (Ο† : WeightTwoAutomorphicForm F D R) (x : Dfx F D) : (-Ο† : WeightTwoAutomorphicForm F D R) x = -(Ο† x)
rfl
theorem
TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm.neg_apply
AutomorphicForm.QuaternionAlgebra
FLT/AutomorphicForm/QuaternionAlgebra/Defs.lean
[ "Mathlib.MeasureTheory.Integral.Bochner.Basic" ]
[]
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
add (Ο† ψ : WeightTwoAutomorphicForm F D R) : WeightTwoAutomorphicForm F D R
where toFun x := Ο† x + ψ x left_invt := by simp [left_invt] right_invt := by obtain ⟨U, hU⟩ := Ο†.right_invt obtain ⟨V, hV⟩ := ψ.right_invt use U βŠ“ V simp_all only [Subgroup.coe_inf, IsOpen.inter, Subgroup.mem_inf, implies_true, and_self] trivial_central_char := by simp [trivial_central_char]
def
TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm.add
AutomorphicForm.QuaternionAlgebra
FLT/AutomorphicForm/QuaternionAlgebra/Defs.lean
[ "Mathlib.MeasureTheory.Integral.Bochner.Basic" ]
[]
Addition on the space of automorphic forms over a totally definite quaternion algebra.
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
add_apply (Ο† ψ : WeightTwoAutomorphicForm F D R) (x : Dfx F D) : (Ο† + ψ) x = (Ο† x) + (ψ x)
rfl
theorem
TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm.add_apply
AutomorphicForm.QuaternionAlgebra
FLT/AutomorphicForm/QuaternionAlgebra/Defs.lean
[ "Mathlib.MeasureTheory.Integral.Bochner.Basic" ]
[]
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
addCommGroup : AddCommGroup (WeightTwoAutomorphicForm F D R)
where add := (Β· + Β·) add_assoc := by intros; ext; simp [add_assoc]; zero := 0 zero_add := by intros; ext; simp add_zero := by intros; ext; simp nsmul := nsmulRec neg := (-Β·) zsmul := zsmulRec neg_add_cancel := by intros; ext; simp add_comm := by intros; ext; simp [add_comm]
instance
TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm.addCommGroup
AutomorphicForm.QuaternionAlgebra
FLT/AutomorphicForm/QuaternionAlgebra/Defs.lean
[ "Mathlib.MeasureTheory.Integral.Bochner.Basic" ]
[]
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
_root_.ConjAct.isOpen_smul {G : Type*} [Group G] [TopologicalSpace G] [IsTopologicalGroup G] {U : Subgroup G} (hU : IsOpen (U : Set G)) (g : ConjAct G) : IsOpen ((g β€’ U : Subgroup G) : Set G)
(Homeomorph.smul g).isOpen_image.mpr hU
lemma
ConjAct.isOpen_smul
AutomorphicForm.QuaternionAlgebra
FLT/AutomorphicForm/QuaternionAlgebra/Defs.lean
[ "Mathlib.MeasureTheory.Integral.Bochner.Basic" ]
[]
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
group_smul (g : Dfx F D) (Ο† : WeightTwoAutomorphicForm F D R) : WeightTwoAutomorphicForm F D R
where toFun x := Ο† (x * g) left_invt Ξ΄ x := by simp [left_invt, mul_assoc] right_invt := by obtain ⟨U, hU⟩ := Ο†.right_invt refine ⟨(toConjAct g) β€’ U, ?_, ?_⟩ Β· replace hU := hU.1 exact isOpen_smul hU (toConjAct g) Β· rintro k x ⟨u, hu, rfl⟩ simp only [MulDistribMulAction.toMonoidEnd_app...
def
TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm.group_smul
AutomorphicForm.QuaternionAlgebra
FLT/AutomorphicForm/QuaternionAlgebra/Defs.lean
[ "Mathlib.MeasureTheory.Integral.Bochner.Basic" ]
[]
The adelic group action on the space of automorphic forms over a totally definite quaternion algebra.
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
group_smul_apply (g : Dfx F D) (Ο† : WeightTwoAutomorphicForm F D R) (x : Dfx F D) : (g β€’ Ο†) x = Ο† (x * g)
rfl
lemma
TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm.group_smul_apply
AutomorphicForm.QuaternionAlgebra
FLT/AutomorphicForm/QuaternionAlgebra/Defs.lean
[ "Mathlib.MeasureTheory.Integral.Bochner.Basic" ]
[]
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
mulAction : MulAction (Dfx F D) (WeightTwoAutomorphicForm F D R)
where smul := group_smul one_smul Ο† := by ext; simp only [group_smul_apply, mul_one] mul_smul g h Ο† := by ext; simp only [group_smul_apply, mul_assoc]
instance
TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm.mulAction
AutomorphicForm.QuaternionAlgebra
FLT/AutomorphicForm/QuaternionAlgebra/Defs.lean
[ "Mathlib.MeasureTheory.Integral.Bochner.Basic" ]
[]
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
distribMulAction : DistribMulAction (Dfx F D) (WeightTwoAutomorphicForm F D R)
where __ := mulAction smul_zero g := by ext; simp only [group_smul_apply, zero_apply] smul_add g Ο† ψ := by ext; simp only [group_smul_apply, add_apply]
instance
TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm.distribMulAction
AutomorphicForm.QuaternionAlgebra
FLT/AutomorphicForm/QuaternionAlgebra/Defs.lean
[ "Mathlib.MeasureTheory.Integral.Bochner.Basic" ]
[]
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
ring_smul (r : R) (Ο† : WeightTwoAutomorphicForm F D R) : WeightTwoAutomorphicForm F D R
where toFun g := r β€’ Ο† g left_invt := by simp [left_invt] right_invt := by obtain ⟨U, hU⟩ := Ο†.right_invt use U simp_all only [smul_eq_mul, implies_true, and_self] trivial_central_char g z := by simp only [trivial_central_char]
def
TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm.ring_smul
AutomorphicForm.QuaternionAlgebra
FLT/AutomorphicForm/QuaternionAlgebra/Defs.lean
[ "Mathlib.MeasureTheory.Integral.Bochner.Basic" ]
[]
The scalar action on the space of weight 2 automorphic forms on a totally definite quaternion algebra.
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
smul_apply (r : R) (Ο† : WeightTwoAutomorphicForm F D R) (g : Dfx F D) : (r β€’ Ο†) g = r β€’ (Ο† g)
rfl
lemma
TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm.smul_apply
AutomorphicForm.QuaternionAlgebra
FLT/AutomorphicForm/QuaternionAlgebra/Defs.lean
[ "Mathlib.MeasureTheory.Integral.Bochner.Basic" ]
[]
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
module : Module R (WeightTwoAutomorphicForm F D R)
where one_smul g := by ext; simp [smul_apply] mul_smul r s g := by ext; simp [smul_apply, mul_assoc] smul_zero r := by ext; simp [smul_apply] smul_add r f g := by ext; simp [smul_apply, mul_add] add_smul r s g := by ext; simp [smul_apply, add_mul] zero_smul g := by ext; simp [smul_apply]
instance
TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm.module
AutomorphicForm.QuaternionAlgebra
FLT/AutomorphicForm/QuaternionAlgebra/Defs.lean
[ "Mathlib.MeasureTheory.Integral.Bochner.Basic" ]
[]
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
WeightTwoAutomorphicFormOfLevel (U : Subgroup (Dfx F D)) (R : Type*) [CommRing R] : Type _
MulAction.FixedPoints U (WeightTwoAutomorphicForm F D R)
def
TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicFormOfLevel
AutomorphicForm.QuaternionAlgebra
FLT/AutomorphicForm/QuaternionAlgebra/Defs.lean
[ "Mathlib.MeasureTheory.Integral.Bochner.Basic" ]
[ "MulAction.FixedPoints" ]
`WeightTwoAutomorphicFormOfLevel U R` is the `R`-valued weight 2 automorphic forms of a fixed level `U` for a totally definite quaternion algebra over a totally real field.
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
toFun (f : WeightTwoAutomorphicFormOfLevel U R) (x : Dfx F D) : R
f.1.toFun x
def
TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicFormOfLevel.toFun
AutomorphicForm.QuaternionAlgebra
FLT/AutomorphicForm/QuaternionAlgebra/Defs.lean
[ "Mathlib.MeasureTheory.Integral.Bochner.Basic" ]
[]
Enables coercion of automorphic forms to functions.
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
ext ⦃f g : WeightTwoAutomorphicFormOfLevel U R⦄ (h : βˆ€ x, f x = g x) : f = g
Subtype.ext <| WeightTwoAutomorphicForm.ext _ _ h
lemma
TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicFormOfLevel.ext
AutomorphicForm.QuaternionAlgebra
FLT/AutomorphicForm/QuaternionAlgebra/Defs.lean
[ "Mathlib.MeasureTheory.Integral.Bochner.Basic" ]
[]
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
left_invt (f : WeightTwoAutomorphicFormOfLevel U R) (Ξ΄ : DΛ£) (g : Dfx F D) : f ((incl₁ F D) Ξ΄ * g) = f g
f.1.left_invt Ξ΄ g
lemma
TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicFormOfLevel.left_invt
AutomorphicForm.QuaternionAlgebra
FLT/AutomorphicForm/QuaternionAlgebra/Defs.lean
[ "Mathlib.MeasureTheory.Integral.Bochner.Basic" ]
[]
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
right_invt (f : WeightTwoAutomorphicFormOfLevel U R) (g : Dfx F D) (u : U) : f (g * u) = f g
congr($(f.2 u) g)
lemma
TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicFormOfLevel.right_invt
AutomorphicForm.QuaternionAlgebra
FLT/AutomorphicForm/QuaternionAlgebra/Defs.lean
[ "Mathlib.MeasureTheory.Integral.Bochner.Basic" ]
[]
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
WeightTwoAutomorphicForm.finiteDimensional (hU : IsOpen (U : Set (Dfx F D))) : FiniteDimensional K (WeightTwoAutomorphicFormOfLevel U K)
by let H' : Subgroup (Dfx F D) := (incl₁ F D).range -- We will define a free K-module with a basis indexed by -- the elements of a double coset space which (in the totally -- definite case) is finite) let X := DoubleCoset.Quotient (Set.range (incl₁ F D)) U borelize (D βŠ—[F] AdeleRing (π“ž F) F) -- (the fini...
theorem
TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm.finiteDimensional
AutomorphicForm.QuaternionAlgebra
FLT/AutomorphicForm/QuaternionAlgebra/FiniteDimensional.lean
[ "FLT.DivisionAlgebra.Finiteness", "Mathlib.RingTheory.PicardGroup" ]
[ "NumberField.FiniteAdeleRing.DivisionAlgebra.finiteDoubleCoset" ]
Let `D/F` be a totally definite quaterion algebra over a totally real field. Then the space of `K`-valued weight 2 level `U` quaternionic automorphic forms for `DΛ£` is finite-dimensional over `K`.
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
coe_zero : ((0 : fixedPoints G A) : A) = 0
rfl
lemma
FixedPoints.coe_zero
AutomorphicForm.QuaternionAlgebra.HeckeOperators
FLT/AutomorphicForm/QuaternionAlgebra/HeckeOperators/Abstract.lean
[ "Mathlib.Algebra.BigOperators.GroupWithZero.Action", "Mathlib.GroupTheory.GroupAction.Quotient" ]
[]
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
coe_add (a b : fixedPoints G A) : ((a + b : fixedPoints G A) : A) = a + b
rfl
lemma
FixedPoints.coe_add
AutomorphicForm.QuaternionAlgebra.HeckeOperators
FLT/AutomorphicForm/QuaternionAlgebra/HeckeOperators/Abstract.lean
[ "Mathlib.Algebra.BigOperators.GroupWithZero.Action", "Mathlib.GroupTheory.GroupAction.Quotient" ]
[]
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
coe_smul [SMul R A] [SMulCommClass G R A] (r : R) (a : fixedPoints G A) : ((r β€’ a : fixedPoints G A) : A) = r β€’ a
rfl
lemma
FixedPoints.coe_smul
AutomorphicForm.QuaternionAlgebra.HeckeOperators
FLT/AutomorphicForm/QuaternionAlgebra/HeckeOperators/Abstract.lean
[ "Mathlib.Algebra.BigOperators.GroupWithZero.Action", "Mathlib.GroupTheory.GroupAction.Quotient" ]
[]
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
module [Ring R] [Module R A] [SMulCommClass G R A] : Module R (fixedPoints G A)
where one_smul a := one_smul _ _ mul_smul r s a := mul_smul _ _ _ smul_zero a := by ext exact smul_zero _ smul_add r s a := by ext exact smul_add _ _ _ add_smul r s a := by ext exact add_smul _ _ _ zero_smul a := by ext exact zero_smul _ _
instance
FixedPoints.module
AutomorphicForm.QuaternionAlgebra.HeckeOperators
FLT/AutomorphicForm/QuaternionAlgebra/HeckeOperators/Abstract.lean
[ "Mathlib.Algebra.BigOperators.GroupWithZero.Action", "Mathlib.GroupTheory.GroupAction.Quotient" ]
[]
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
Set.bijOn_smul (hu : u ∈ U) : Set.BijOn (fun x ↦ u β€’ x) ((U : Set G) * X) (U * X)
by refine ⟨?_, Set.injOn_of_injective (MulAction.injective u), ?_⟩ · rintro x ⟨u', hu', x, hx, rfl⟩ exact ⟨u * u', mul_mem hu hu', x, hx, by simp [mul_assoc]⟩ · rintro x ⟨u', hu', x, hx, rfl⟩ exact ⟨(u⁻¹ * u') * x, ⟨u⁻¹ * u', mul_mem (inv_mem hu) hu', x, hx, rfl⟩, by simp [mul_assoc]⟩
lemma
Set.bijOn_smul
AutomorphicForm.QuaternionAlgebra.HeckeOperators
FLT/AutomorphicForm/QuaternionAlgebra/HeckeOperators/Abstract.lean
[ "Mathlib.Algebra.BigOperators.GroupWithZero.Action", "Mathlib.GroupTheory.GroupAction.Quotient" ]
[]
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
eq_finsum_quotient_out_of_bijOn' (a : fixedPoints V A) {X : Set (G β§Έ V)} {s : Set G} (hs : s.BijOn (QuotientGroup.mk : G β†’ G β§Έ V) X) : βˆ‘αΆ  g ∈ s, g β€’ (a : A) = βˆ‘αΆ  g ∈ Quotient.out '' X, g β€’ (a : A)
by let e (g : G) : G := Quotient.out (QuotientGroup.mk g : G β§Έ V) have heβ‚€ : Set.BijOn e s (Quotient.out '' X) := by refine Set.BijOn.comp ?_ hs exact Set.InjOn.bijOn_image <| Set.injOn_of_injective Quotient.out_injective have he₁ : βˆ€ g ∈ s, g β€’ (a : A) = (Quotient.out (QuotientGroup.mk g : G β§Έ V)) β€’ a :=...
lemma
AbstractHeckeOperator.eq_finsum_quotient_out_of_bijOn'
AutomorphicForm.QuaternionAlgebra.HeckeOperators
FLT/AutomorphicForm/QuaternionAlgebra/HeckeOperators/Abstract.lean
[ "Mathlib.Algebra.BigOperators.GroupWithZero.Action", "Mathlib.GroupTheory.GroupAction.Quotient" ]
[]
If `a` is fixed by `V` then `βˆ‘αΆ  g ∈ s, g β€’ a` is independent of the choice `s` of coset representatives in `G` for a subset of `G β§Έ V`
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
HeckeOperator_toFun (a : fixedPoints V A) : fixedPoints U A
βŸ¨βˆ‘αΆ  gα΅’ ∈ Quotient.out '' (QuotientGroup.mk '' (U * {g}) : Set (G β§Έ V)), gα΅’ β€’ a.1, by rintro ⟨u, huU⟩ rw [smul_finsum_mem (h.image Quotient.out), ← eq_finsum_quotient_out_of_bijOn' a] Β· rw [finsum_mem_eq_of_bijOn (fun g ↦ u β€’ g)] Β· exact Set.InjOn.bijOn_image <| Set.injOn_of_injective (MulAction.injective u) ...
def
AbstractHeckeOperator.HeckeOperator_toFun
AutomorphicForm.QuaternionAlgebra.HeckeOperators
FLT/AutomorphicForm/QuaternionAlgebra/HeckeOperators/Abstract.lean
[ "Mathlib.Algebra.BigOperators.GroupWithZero.Action", "Mathlib.GroupTheory.GroupAction.Quotient" ]
[ "Set.bijOn_smul" ]
The Hecke operator T_g = [UgV] : A^V β†’ A^U associated to the double coset UgV.
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
HeckeOperator_addMonoidHom : fixedPoints V A β†’+ fixedPoints U A
where toFun := HeckeOperator_toFun h map_zero' := by ext simp [HeckeOperator_toFun] map_add' a b := by ext simp only [HeckeOperator_toFun, FixedPoints.coe_add, smul_add, finsum_mem_add_distrib (h.image Quotient.out)]
def
AbstractHeckeOperator.HeckeOperator_addMonoidHom
AutomorphicForm.QuaternionAlgebra.HeckeOperators
FLT/AutomorphicForm/QuaternionAlgebra/HeckeOperators/Abstract.lean
[ "Mathlib.Algebra.BigOperators.GroupWithZero.Action", "Mathlib.GroupTheory.GroupAction.Quotient" ]
[ "FixedPoints.coe_add" ]
The Hecke operator `T_g = [UgV] : A^V β†’ A^U` packaged as an additive monoid homomorphism.
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
HeckeOperator : fixedPoints V A β†’β‚—[R] fixedPoints U A
where toFun := HeckeOperator_toFun h map_add' a b := by ext simp only [HeckeOperator_toFun, FixedPoints.coe_add, smul_add, finsum_mem_add_distrib (h.image Quotient.out)] map_smul' r a := by ext simp only [HeckeOperator_toFun, FixedPoints.coe_smul, smul_comm, smul_finsum_mem (h.image Qu...
def
AbstractHeckeOperator.HeckeOperator
AutomorphicForm.QuaternionAlgebra.HeckeOperators
FLT/AutomorphicForm/QuaternionAlgebra/HeckeOperators/Abstract.lean
[ "Mathlib.Algebra.BigOperators.GroupWithZero.Action", "Mathlib.GroupTheory.GroupAction.Quotient" ]
[ "FixedPoints.coe_add", "FixedPoints.coe_smul" ]
The Hecke operator `T_g = [UgV] : A^V β†’ A^U` as an `R`-linear map, where `R` is any ring acting on `A` and commuting with the `G`-action.
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
HeckeOperator_apply (a : fixedPoints V A) : (HeckeOperator (R := R) g U V h a : A) = βˆ‘αΆ  (gα΅’ ∈ Quotient.out '' (QuotientGroup.mk '' (U * {g}) : Set (G β§Έ V))), gα΅’ β€’ (a : A)
rfl
lemma
AbstractHeckeOperator.HeckeOperator_apply
AutomorphicForm.QuaternionAlgebra.HeckeOperators
FLT/AutomorphicForm/QuaternionAlgebra/HeckeOperators/Abstract.lean
[ "Mathlib.Algebra.BigOperators.GroupWithZero.Action", "Mathlib.GroupTheory.GroupAction.Quotient" ]
[]
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
comm {g₁ gβ‚‚ : G} (h₁ : (QuotientGroup.mk '' (U * {g₁}) : Set (G β§Έ U)).Finite) (hβ‚‚ : (QuotientGroup.mk '' (U * {gβ‚‚}) : Set (G β§Έ U)).Finite) (hcomm : βˆƒ s₁ sβ‚‚ : Set G, Set.BijOn QuotientGroup.mk s₁ (QuotientGroup.mk '' (U * {g₁}) : Set (G β§Έ U)) ∧ Set.BijOn QuotientGroup.mk sβ‚‚ (QuotientGroup.mk '' (U * ...
by ext a rcases hcomm with ⟨s₁, sβ‚‚, hs₁, hsβ‚‚, hcomm⟩ simp only [LinearMap.coe_comp, Function.comp_apply] nth_rw 1 [HeckeOperator_apply] rw [← eq_finsum_quotient_out_of_bijOn' _ hs₁] nth_rw 1 [HeckeOperator_apply] rw [← eq_finsum_quotient_out_of_bijOn' _ hsβ‚‚] nth_rw 1 [HeckeOperator_apply] rw [← eq_fin...
theorem
AbstractHeckeOperator.comm
AutomorphicForm.QuaternionAlgebra.HeckeOperators
FLT/AutomorphicForm/QuaternionAlgebra/HeckeOperators/Abstract.lean
[ "Mathlib.Algebra.BigOperators.GroupWithZero.Action", "Mathlib.GroupTheory.GroupAction.Quotient" ]
[]
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
QuotientGroup.mk_image_finite_of_compact_of_open (hU : IsCompact (U : Set G)) (hVopen : IsOpen (V : Set G)) : (QuotientGroup.mk '' (U * {g}) : Set (G β§Έ V)).Finite
by have : DiscreteTopology (G β§Έ V) := by rw [discreteTopology_iff_forall_isOpen] intro s rw [← (isQuotientMap_mk V).isOpen_preimage, ← (QuotientGroup.mk_surjective).image_preimage s, preimage_image_mk_eq_iUnion_image, iUnion_subtype] conv in ⋃ x ∈ _, _ => change ⋃ x ∈ (V : Set G), _ rw [iUni...
lemma
QuotientGroup.mk_image_finite_of_compact_of_open
AutomorphicForm.QuaternionAlgebra.HeckeOperators
FLT/AutomorphicForm/QuaternionAlgebra/HeckeOperators/Concrete.lean
[]
[]
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
U1 : Subgroup (D βŠ—[F] (IsDedekindDomain.FiniteAdeleRing (π“ž F) F))Λ£
Subgroup.map (Units.map r.symm.toMonoidHom) (GL2.TameLevel S)
abbrev
TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm.U1
AutomorphicForm.QuaternionAlgebra.HeckeOperators
FLT/AutomorphicForm/QuaternionAlgebra/HeckeOperators/Concrete.lean
[]
[]
U1(S)
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
U1_compact : IsCompact (U1 r S : Set (D βŠ—[F] (IsDedekindDomain.FiniteAdeleRing (π“ž F) F))Λ£)
sorry
lemma
TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm.U1_compact
AutomorphicForm.QuaternionAlgebra.HeckeOperators
FLT/AutomorphicForm/QuaternionAlgebra/HeckeOperators/Concrete.lean
[]
[]
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
U1_open : IsOpen (U1 r S : Set (D βŠ—[F] (IsDedekindDomain.FiniteAdeleRing (π“ž F) F))Λ£)
sorry
lemma
TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm.U1_open
AutomorphicForm.QuaternionAlgebra.HeckeOperators
FLT/AutomorphicForm/QuaternionAlgebra/HeckeOperators/Concrete.lean
[]
[]
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
T (v : HeightOneSpectrum (π“ž F)) : WeightTwoAutomorphicFormOfLevel (U1 r S) R β†’β‚—[R] WeightTwoAutomorphicFormOfLevel (U1 r S) R
letI : DecidableEq (HeightOneSpectrum (π“ž F)) := Classical.typeDecidableEq _ let g : (D βŠ—[F] (IsDedekindDomain.FiniteAdeleRing (π“ž F) F))Λ£ := Units.map r.symm.toMonoidHom (Matrix.GeneralLinearGroup.diagonal ![FiniteAdeleRing.localUniformiserUnit F v, 1]) AbstractHeckeOperator.HeckeOperator (R := R) g (U1 r ...
def
TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm.HeckeOperator.T
AutomorphicForm.QuaternionAlgebra.HeckeOperators
FLT/AutomorphicForm/QuaternionAlgebra/HeckeOperators/Concrete.lean
[]
[ "AbstractHeckeOperator.HeckeOperator", "Matrix.GeneralLinearGroup.diagonal", "QuotientGroup.mk_image_finite_of_compact_of_open" ]
The Hecke operator T_v as an R-linear map from R-valued quaternionic weight 2 automorphic forms of level U_1(S).
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
diag : (D βŠ—[F] (FiniteAdeleRing (π“ž F) F))Λ£
Units.mapEquiv r.symm.toMulEquiv (FiniteAdeleRing.GL2.restrictedProduct.symm (RestrictedProduct.mulSingle _ _ (Local.GL2.diag Ξ± hΞ±)))
abbrev
TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm.HeckeOperator.diag
AutomorphicForm.QuaternionAlgebra.HeckeOperators
FLT/AutomorphicForm/QuaternionAlgebra/HeckeOperators/Concrete.lean
[]
[]
The (global) matrix element `diag[Ξ±, 1]`.
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
unipotent_mul_diag (t : ↑(adicCompletionIntegers F v) β§Έ (Ideal.span {Ξ±})) : (D βŠ—[F] (FiniteAdeleRing (π“ž F) F))Λ£
Units.mapEquiv r.symm.toMulEquiv (FiniteAdeleRing.GL2.restrictedProduct.symm (RestrictedProduct.mulSingle _ _ (Local.GL2.unipotent_mul_diag Ξ± hΞ± (Quotient.out t : adicCompletionIntegers F v))))
def
TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm.HeckeOperator.unipotent_mul_diag
AutomorphicForm.QuaternionAlgebra.HeckeOperators
FLT/AutomorphicForm/QuaternionAlgebra/HeckeOperators/Concrete.lean
[]
[]
The (global) matrix element `(unipotent t) * (diag Ξ± hΞ±) = !![Ξ±, t; 0, 1]`. Here `t ∈ π’ͺα΅₯ / Ξ±` and we lift it arbitrarily to `π’ͺα΅₯`.
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
unipotent_mul_diag_image : Set (D βŠ—[F] (FiniteAdeleRing (π“ž F) F))Λ£
(unipotent_mul_diag r α hα) '' ⊀
def
TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm.HeckeOperator.unipotent_mul_diag_image
AutomorphicForm.QuaternionAlgebra.HeckeOperators
FLT/AutomorphicForm/QuaternionAlgebra/HeckeOperators/Concrete.lean
[]
[ "IsQuaternionAlgebra" ]
The set of elements `unipotent_mul_diag`, that is, the elements of `(D βŠ— 𝔸_F^∞)Λ£` which are `(Ξ± t;0 1)` at `v` and the identity elsewhere, as `t` runs through a set of coset reps of `π“žα΅₯ / Ξ±`. These will form a set of coset representatives for `U1 diag U1`.
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
unipotent_mul_diag_inj : Set.InjOn (unipotent_mul_diag r α hα) ⊀
by intro t₁ h₁ tβ‚‚ hβ‚‚ h simp only [unipotent_mul_diag, EmbeddingLike.apply_eq_iff_eq, RestrictedProduct.ext_iff] at h let h' := h v; simp only [RestrictedProduct.mulSingle_eq_same, Units.ext_iff] at h' rw [← Matrix.ext_iff] at h' let h'' := h' 0 1 simpa [Local.GL2.unipotent_mul_diag, Matrix.GeneralLinearGrou...
lemma
TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm.HeckeOperator.unipotent_mul_diag_inj
AutomorphicForm.QuaternionAlgebra.HeckeOperators
FLT/AutomorphicForm/QuaternionAlgebra/HeckeOperators/Concrete.lean
[]
[ "Matrix.GeneralLinearGroup.GL2.unipotent", "Matrix.GeneralLinearGroup.diagonal" ]
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
U1diagU1 : Set ((D βŠ—[F] (FiniteAdeleRing (π“ž F) F))Λ£ β§Έ (U1 r S))
QuotientGroup.mk '' ((U1 r S) * {diag r Ξ± hΞ±})
def
TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm.HeckeOperator.U1diagU1
AutomorphicForm.QuaternionAlgebra.HeckeOperators
FLT/AutomorphicForm/QuaternionAlgebra/HeckeOperators/Concrete.lean
[]
[]
The double coset space `U₁(S) diag(Ξ±α΅₯,1) U₁(S)` as a set of left cosets.
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
bijOn_unipotent_mul_diagU1_U1diagU1 : (unipotent_mul_diag_image r Ξ± hΞ±).BijOn QuotientGroup.mk (U1diagU1 r S Ξ± hΞ±)
sorry
theorem
TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm.HeckeOperator.bijOn_unipotent_mul_diagU1_U1diagU1
AutomorphicForm.QuaternionAlgebra.HeckeOperators
FLT/AutomorphicForm/QuaternionAlgebra/HeckeOperators/Concrete.lean
[]
[]
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
unipotent_mul_diag_image_finite : (unipotent_mul_diag_image r Ξ± hΞ±).Finite
by apply (Set.BijOn.finite_iff_finite (bijOn_unipotent_mul_diagU1_U1diagU1 r {v} Ξ± hΞ±)).mpr unfold U1diagU1 exact (QuotientGroup.mk_image_finite_of_compact_of_open (U1_compact r {v}) (U1_open r {v}))
lemma
TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm.HeckeOperator.unipotent_mul_diag_image_finite
AutomorphicForm.QuaternionAlgebra.HeckeOperators
FLT/AutomorphicForm/QuaternionAlgebra/HeckeOperators/Concrete.lean
[]
[ "QuotientGroup.mk_image_finite_of_compact_of_open" ]
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
quot_top_finite (r : Rigidification F D) (Ξ± : v.adicCompletionIntegers F) (hΞ± : Ξ± β‰  0) : (⊀ : Set ((adicCompletionIntegers F v) β§Έ (Ideal.span {Ξ±}))).Finite
by apply Set.Finite.of_finite_image _ (unipotent_mul_diag_inj r Ξ± hΞ±) apply unipotent_mul_diag_image_finite
lemma
TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm.HeckeOperator.quot_top_finite
AutomorphicForm.QuaternionAlgebra.HeckeOperators
FLT/AutomorphicForm/QuaternionAlgebra/HeckeOperators/Concrete.lean
[]
[]
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
U : WeightTwoAutomorphicFormOfLevel (U1 r S) R β†’β‚—[R] WeightTwoAutomorphicFormOfLevel (U1 r S) R
AbstractHeckeOperator.HeckeOperator (R := R) (diag r Ξ± hΞ±) (U1 r S) (U1 r S) (QuotientGroup.mk_image_finite_of_compact_of_open (U1_compact r S) (U1_open r S))
def
TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm.HeckeOperator.U
AutomorphicForm.QuaternionAlgebra.HeckeOperators
FLT/AutomorphicForm/QuaternionAlgebra/HeckeOperators/Concrete.lean
[]
[ "AbstractHeckeOperator.HeckeOperator", "QuotientGroup.mk_image_finite_of_compact_of_open" ]
The Hecke operator U_{v,Ξ±} associated to the matrix (Ξ± 0;0 1) at v, considered as an R-linear map from R-valued quaternionic weight 2 automorphic forms of level U_1(S). Here Ξ± is a nonzero element of π“žα΅₯. We do not demand the condition v ∈ S, the bad primes, but this operator should only be used in this setting. See al...
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
_root_.Ne.mul {Mβ‚€ : Type*} [Mul Mβ‚€] [Zero Mβ‚€] [NoZeroDivisors Mβ‚€] {a b : Mβ‚€} (ha : a β‰  0) (hb : b β‰  0) : a * b β‰  0
mul_ne_zero ha hb
lemma
Ne.mul
AutomorphicForm.QuaternionAlgebra.HeckeOperators
FLT/AutomorphicForm/QuaternionAlgebra/HeckeOperators/Concrete.lean
[]
[]
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
U_apply (a : WeightTwoAutomorphicFormOfLevel (U1 r S) R) : ((U r S R Ξ± hΞ±) a).1 = βˆ‘αΆ  (gα΅’ : (D βŠ—[F] FiniteAdeleRing (π“ž F) F)Λ£) (_ : gα΅’ ∈ Quotient.out '' (U1diagU1 r S Ξ± hΞ±)), gα΅’ β€’ a.1
rfl
lemma
TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm.HeckeOperator.U_apply
AutomorphicForm.QuaternionAlgebra.HeckeOperators
FLT/AutomorphicForm/QuaternionAlgebra/HeckeOperators/Concrete.lean
[]
[]
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
U_apply_eq_finsum_unipotent_mul_diag_image (a : WeightTwoAutomorphicFormOfLevel (U1 r S) R) : ((U r S R Ξ± hΞ±) a).1 = βˆ‘αΆ  (g : (D βŠ—[F] FiniteAdeleRing (π“ž F) F)Λ£) (_ : g ∈ unipotent_mul_diag_image r Ξ± hΞ±), g β€’ a.1
(eq_finsum_quotient_out_of_bijOn' a (bijOn_unipotent_mul_diagU1_U1diagU1 r S Ξ± hΞ±)) β–Έ U_apply r S R Ξ± hΞ± a
lemma
TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm.HeckeOperator.U_apply_eq_finsum_unipotent_mul_diag_image
AutomorphicForm.QuaternionAlgebra.HeckeOperators
FLT/AutomorphicForm/QuaternionAlgebra/HeckeOperators/Concrete.lean
[]
[]
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
U_mul_aux {v : HeightOneSpectrum (π“ž F)} {Ξ± Ξ² : v.adicCompletionIntegers F} (hΞ± : Ξ± β‰  0) (hΞ² : Ξ² β‰  0) (a : WeightTwoAutomorphicFormOfLevel (U1 r S) R) : βˆ‘αΆ  (i : (adicCompletionIntegers F v) β§Έ Ideal.span {Ξ±}) (j : (adicCompletionIntegers F v) β§Έ Ideal.span {Ξ²}), unipotent_mul_diag r Ξ± hΞ± i β€’ unipo...
sorry
lemma
TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm.HeckeOperator.U_mul_aux
AutomorphicForm.QuaternionAlgebra.HeckeOperators
FLT/AutomorphicForm/QuaternionAlgebra/HeckeOperators/Concrete.lean
[]
[]
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
U_mul {v : HeightOneSpectrum (π“ž F)} {Ξ± Ξ² : v.adicCompletionIntegers F} (hΞ± : Ξ± β‰  0) (hΞ² : Ξ² β‰  0) : (U r S R Ξ± hΞ± βˆ˜β‚— U r S R Ξ² hΞ²) = U r S R (Ξ± * Ξ²) (hΞ±.mul hΞ²)
by ext1 a apply (Subtype.coe_inj).mp simp only [U_apply_eq_finsum_unipotent_mul_diag_image, LinearMap.coe_comp, Function.comp_apply, smul_finsum_mem (unipotent_mul_diag_image_finite r Ξ² hΞ²)] unfold unipotent_mul_diag_image simp only [finsum_mem_image (unipotent_mul_diag_inj _ _ _)] simpa using U_mul...
lemma
TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm.HeckeOperator.U_mul
AutomorphicForm.QuaternionAlgebra.HeckeOperators
FLT/AutomorphicForm/QuaternionAlgebra/HeckeOperators/Concrete.lean
[]
[]
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
U_comm {v : HeightOneSpectrum (π“ž F)} {Ξ± Ξ² : v.adicCompletionIntegers F} (hΞ± : Ξ± β‰  0) (hΞ² : Ξ² β‰  0) : U r S R Ξ± hΞ± βˆ˜β‚— U r S R Ξ² hΞ² = U r S R Ξ² hΞ² βˆ˜β‚— U r S R Ξ± hΞ±
by rw [U_mul, U_mul] congr 1 rw [mul_comm]
lemma
TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm.HeckeOperator.U_comm
AutomorphicForm.QuaternionAlgebra.HeckeOperators
FLT/AutomorphicForm/QuaternionAlgebra/HeckeOperators/Concrete.lean
[]
[]
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
HeckeAlgebra : Type _
(Algebra.adjoin R ({T r R v | v βˆ‰ S} βˆͺ {Ο† | βˆƒ (v : HeightOneSpectrum (π“ž F)) (_hv : v ∈ S) (Ξ± : v.adicCompletionIntegers F) (hΞ± : Ξ± β‰  0), Ο† = U r S R Ξ± hΞ±}) : Subalgebra R (WeightTwoAutomorphicFormOfLevel (U1 r S) R β†’β‚—[R] WeightTwoAutomorphicFormOfLevel (U1 r S) R))
def
TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm.HeckeAlgebra
AutomorphicForm.QuaternionAlgebra.HeckeOperators
FLT/AutomorphicForm/QuaternionAlgebra/HeckeOperators/Concrete.lean
[]
[]
`HeckeAlgebra F D r S R` is the Hecke algebra associated to the weight 2 `R`-valued automorphic forms associated to the discriminant 1 totally definite quaternion algebra `D` over the totally real field `F`, of level `U₁(S)` where `S` is a finite set of nonzero primes `v` of `π“ž F`. To make sense of this definition we ...
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
instRing : Ring (HeckeAlgebra F D r S R)
inferInstanceAs <| Ring (Algebra.adjoin R _ : Subalgebra R (WeightTwoAutomorphicFormOfLevel (U1 r S) R β†’β‚—[R] WeightTwoAutomorphicFormOfLevel (U1 r S) R))
instance
TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm.HeckeAlgebra.instRing
AutomorphicForm.QuaternionAlgebra.HeckeOperators
FLT/AutomorphicForm/QuaternionAlgebra/HeckeOperators/Concrete.lean
[]
[]
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
instAlgebra : Algebra R (HeckeAlgebra F D r S R)
inferInstanceAs <| Algebra R (Algebra.adjoin R _ : Subalgebra R (WeightTwoAutomorphicFormOfLevel (U1 r S) R β†’β‚—[R] WeightTwoAutomorphicFormOfLevel (U1 r S) R))
instance
TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm.HeckeAlgebra.instAlgebra
AutomorphicForm.QuaternionAlgebra.HeckeOperators
FLT/AutomorphicForm/QuaternionAlgebra/HeckeOperators/Concrete.lean
[]
[]
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
instCommRing : CommRing (HeckeAlgebra F D r S R)
where __ := instRing F D r S R mul_comm := sorry
instance
TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm.HeckeAlgebra.instCommRing
AutomorphicForm.QuaternionAlgebra.HeckeOperators
FLT/AutomorphicForm/QuaternionAlgebra/HeckeOperators/Concrete.lean
[]
[]
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
T (v : HeightOneSpectrum (π“ž F)) (hv : v βˆ‰ S) : HeckeAlgebra F D r S R
⟨HeckeOperator.T r R v, by apply Algebra.subset_adjoin left use v⟩
def
TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm.HeckeAlgebra.T
AutomorphicForm.QuaternionAlgebra.HeckeOperators
FLT/AutomorphicForm/QuaternionAlgebra/HeckeOperators/Concrete.lean
[]
[]
The Hecke operator Tα΅₯ as an element of the Hecke algebra.
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
U (v : HeightOneSpectrum (π“ž F)) (hv : v ∈ S) (Ξ± : v.adicCompletionIntegers F) (hΞ± : Ξ± β‰  0) : HeckeAlgebra F D r S R
⟨HeckeOperator.U r S R α hα, by apply Algebra.subset_adjoin right use v, hv, α, hα⟩
def
TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm.HeckeAlgebra.U
AutomorphicForm.QuaternionAlgebra.HeckeOperators
FLT/AutomorphicForm/QuaternionAlgebra/HeckeOperators/Concrete.lean
[]
[]
The Hecke operator Uα΅₯,ₐ as an element of the Hecke algebra.
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
U1 : Subgroup (GL (Fin 2) (adicCompletion F v))
GL2.localTameLevel v
abbrev
TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm.HeckeOperator.Local.U1
AutomorphicForm.QuaternionAlgebra.HeckeOperators
FLT/AutomorphicForm/QuaternionAlgebra/HeckeOperators/Local.lean
[ "FLT.DedekindDomain.AdicValuation" ]
[]
The subgroup `U1 v = GL2.localTameLevel v`.
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
diag : (GL (Fin 2) (adicCompletion F v))
Matrix.GeneralLinearGroup.diagonal (![⟨(Ξ± : v.adicCompletion F), (Ξ± : v.adicCompletion F)⁻¹, by rw [mul_inv_cancelβ‚€] exact_mod_cast hΞ±, by rw [inv_mul_cancelβ‚€] exact_mod_cast hα⟩, 1])
abbrev
TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm.HeckeOperator.Local.GL2.diag
AutomorphicForm.QuaternionAlgebra.HeckeOperators
FLT/AutomorphicForm/QuaternionAlgebra/HeckeOperators/Local.lean
[ "FLT.DedekindDomain.AdicValuation" ]
[ "Matrix.GeneralLinearGroup.diagonal" ]
The matrix element `diag[Ξ±, 1]`.
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
diag_def : (diag Ξ± hΞ± : Matrix (Fin 2) (Fin 2) (adicCompletion F v)) = !![↑α, 0; 0, 1]
by rw[diag, Matrix.GeneralLinearGroup.diagonal] ext i j; fin_cases i; all_goals fin_cases j all_goals simp
lemma
TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm.HeckeOperator.Local.GL2.diag_def
AutomorphicForm.QuaternionAlgebra.HeckeOperators
FLT/AutomorphicForm/QuaternionAlgebra/HeckeOperators/Local.lean
[ "FLT.DedekindDomain.AdicValuation" ]
[ "Matrix.GeneralLinearGroup.diagonal" ]
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
conjBy_diag {a b c d : adicCompletion F v} : (diag α hα)⁻¹ * !![a, b; c, d] * diag α hα = !![a, (α : v.adicCompletion F)⁻¹ * b; c * α, d]
by simp only [Matrix.coe_units_inv, diag_def, Matrix.inv_def, Matrix.det_fin_two_of, mul_one, mul_zero, sub_zero, Ring.inverse_eq_inv', Matrix.adjugate_fin_two_of, neg_zero, Matrix.smul_of, Matrix.smul_cons, smul_eq_mul, Matrix.smul_empty, Matrix.cons_mul, Nat.succ_eq_add_one, Nat.reduceAdd, Matrix.vecMul...
lemma
TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm.HeckeOperator.Local.GL2.conjBy_diag
AutomorphicForm.QuaternionAlgebra.HeckeOperators
FLT/AutomorphicForm/QuaternionAlgebra/HeckeOperators/Local.lean
[ "FLT.DedekindDomain.AdicValuation" ]
[]
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
unipotent_mem_U1 (t : v.adicCompletionIntegers F) : unipotent ↑t ∈ (U1 v)
by unfold unipotent constructor Β· apply GL2.mem_localFullLevel_iff_v_le_one_and_v_det_eq_one.mpr constructor Β· intro i j fin_cases i; all_goals fin_cases j all_goals simp only [Matrix.unitOfDetInvertible, Fin.mk_one, Fin.isValue, Fin.zero_eta, val_unitOfInvertible, Matrix.of_apply, Mat...
lemma
TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm.HeckeOperator.Local.GL2.unipotent_mem_U1
AutomorphicForm.QuaternionAlgebra.HeckeOperators
FLT/AutomorphicForm/QuaternionAlgebra/HeckeOperators/Local.lean
[ "FLT.DedekindDomain.AdicValuation" ]
[]
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
unipotent_mul_diag (t : v.adicCompletionIntegers F) : (GL (Fin 2) (adicCompletion F v))
(unipotent (t : adicCompletion F v)) * (diag Ξ± hΞ±)
def
TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm.HeckeOperator.Local.GL2.unipotent_mul_diag
AutomorphicForm.QuaternionAlgebra.HeckeOperators
FLT/AutomorphicForm/QuaternionAlgebra/HeckeOperators/Local.lean
[ "FLT.DedekindDomain.AdicValuation" ]
[]
The matrix element `(unipotent t) * (diag Ξ± hΞ±) = !![Ξ±, t; 0, 1]`.
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
unipotent_mul_diag_inv_mul_unipotent_mul_diag (t₁ tβ‚‚ : v.adicCompletionIntegers F) : (unipotent_mul_diag Ξ± hΞ± t₁)⁻¹ * unipotent_mul_diag Ξ± hΞ± tβ‚‚ = unipotent ((Ξ± : v.adicCompletion F)⁻¹ * ((tβ‚‚ + -t₁) : adicCompletion F v ))
by ext i j push_cast [unipotent_mul_diag, mul_inv_rev, unipotent_inv] rw [← mul_assoc]; nth_rw 2 [mul_assoc] rw_mod_cast [unipotent_mul]; push_cast [unipotent_def] rw_mod_cast [conjBy_diag] simp
lemma
TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm.HeckeOperator.Local.GL2.unipotent_mul_diag_inv_mul_unipotent_mul_diag
AutomorphicForm.QuaternionAlgebra.HeckeOperators
FLT/AutomorphicForm/QuaternionAlgebra/HeckeOperators/Local.lean
[ "FLT.DedekindDomain.AdicValuation" ]
[]
`!![Ξ± t₁; 0 1]⁻¹ * [Ξ± tβ‚‚; 0 1] = [1 (tβ‚‚ - t₁) / Ξ±; 0 1]`.
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
apply_mem_integer (i j : Fin 2) : (x i j) ∈ (adicCompletionIntegers F v)
GL2.v_le_one_of_mem_localFullLevel _ hx.left _ _
lemma
TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm.HeckeOperator.Local.U1.apply_mem_integer
AutomorphicForm.QuaternionAlgebra.HeckeOperators
FLT/AutomorphicForm/QuaternionAlgebra/HeckeOperators/Local.lean
[ "FLT.DedekindDomain.AdicValuation" ]
[]
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
apply_zero_zero_sub_apply_one_one_mem_maximalIdeal : (⟨(x 0 0), apply_mem_integer hx _ _⟩ - ⟨(x 1 1), apply_mem_integer hx _ _⟩) ∈ IsLocalRing.maximalIdeal (adicCompletionIntegers F v)
(mem_completionIdeal_iff _ v _).mpr hx.right.left
lemma
TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm.HeckeOperator.Local.U1.apply_zero_zero_sub_apply_one_one_mem_maximalIdeal
AutomorphicForm.QuaternionAlgebra.HeckeOperators
FLT/AutomorphicForm/QuaternionAlgebra/HeckeOperators/Local.lean
[ "FLT.DedekindDomain.AdicValuation" ]
[]
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
apply_one_zero_mem_maximalIdeal : ⟨(x 1 0), apply_mem_integer hx _ _⟩ ∈ IsLocalRing.maximalIdeal (adicCompletionIntegers F v)
(mem_completionIdeal_iff _ v _).mpr hx.right.right
lemma
TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm.HeckeOperator.Local.U1.apply_one_zero_mem_maximalIdeal
AutomorphicForm.QuaternionAlgebra.HeckeOperators
FLT/AutomorphicForm/QuaternionAlgebra/HeckeOperators/Local.lean
[ "FLT.DedekindDomain.AdicValuation" ]
[]
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
apply_one_one_notMem_maximalIdeal : ⟨(x 1 1), apply_mem_integer hx _ _⟩ βˆ‰ IsLocalRing.maximalIdeal (adicCompletionIntegers F v)
by by_contra mem_maximalIdeal have det_mem_maximalIdeal : ⟨(x 0 0), apply_mem_integer hx _ _⟩ * ⟨(x 1 1), apply_mem_integer hx _ _⟩ - ⟨(x 0 1), apply_mem_integer hx _ _⟩ * ⟨(x 1 0), apply_mem_integer hx _ _⟩ ∈ IsLocalRing.maximalIdeal (adicCompletionIntegers F v) := Ideal.sub_mem _ (Idea...
lemma
TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm.HeckeOperator.Local.U1.apply_one_one_notMem_maximalIdeal
AutomorphicForm.QuaternionAlgebra.HeckeOperators
FLT/AutomorphicForm/QuaternionAlgebra/HeckeOperators/Local.lean
[ "FLT.DedekindDomain.AdicValuation" ]
[]
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
isUnit_apply_one_one : IsUnit (⟨(x 1 1), apply_mem_integer hx _ _⟩ : adicCompletionIntegers F v)
(IsLocalRing.notMem_maximalIdeal.mp (apply_one_one_notMem_maximalIdeal hx))
lemma
TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm.HeckeOperator.Local.U1.isUnit_apply_one_one
AutomorphicForm.QuaternionAlgebra.HeckeOperators
FLT/AutomorphicForm/QuaternionAlgebra/HeckeOperators/Local.lean
[ "FLT.DedekindDomain.AdicValuation" ]
[]
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
conjBy_diag_mem_U1_iff_apply_zero_one_mem_ideal : (diag Ξ± hΞ±)⁻¹ * x * diag Ξ± hΞ± ∈ U1 v ↔ ⟨(x 0 1), apply_mem_integer hx _ _⟩ ∈ (Ideal.span {Ξ±})
by let a : (adicCompletionIntegers F v) := ⟨_, apply_mem_integer hx 0 0⟩ let b : (adicCompletionIntegers F v) := ⟨_, apply_mem_integer hx 0 1⟩ let c : (adicCompletionIntegers F v) := ⟨_, apply_mem_integer hx 1 0 ⟩ let d : (adicCompletionIntegers F v) := ⟨_, apply_mem_integer hx 1 1⟩ have hx₁ : x = !![(a : adi...
lemma
TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm.HeckeOperator.Local.U1.conjBy_diag_mem_U1_iff_apply_zero_one_mem_ideal
AutomorphicForm.QuaternionAlgebra.HeckeOperators
FLT/AutomorphicForm/QuaternionAlgebra/HeckeOperators/Local.lean
[ "FLT.DedekindDomain.AdicValuation" ]
[]
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
U1diagU1 : Set ((GL (Fin 2) (adicCompletion F v)) β§Έ (U1 v))
(QuotientGroup.mk '' ((U1 v) * {diag Ξ± hΞ±}))
def
TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm.HeckeOperator.Local.U1diagU1
AutomorphicForm.QuaternionAlgebra.HeckeOperators
FLT/AutomorphicForm/QuaternionAlgebra/HeckeOperators/Local.lean
[ "FLT.DedekindDomain.AdicValuation" ]
[]
The double coset space `U1 diag U1` as a set of left cosets.
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
unipotent_mul_diagU1 (t : ↑(adicCompletionIntegers F v) β§Έ (Ideal.span {Ξ±})) : ((GL (Fin 2) (adicCompletion F v)) β§Έ ↑(U1 v))
QuotientGroup.mk (unipotent_mul_diag Ξ± hΞ± (Quotient.out t : adicCompletionIntegers F v))
def
TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm.HeckeOperator.Local.unipotent_mul_diagU1
AutomorphicForm.QuaternionAlgebra.HeckeOperators
FLT/AutomorphicForm/QuaternionAlgebra/HeckeOperators/Local.lean
[ "FLT.DedekindDomain.AdicValuation" ]
[]
For each `t ∈ O_v / αO_v`, the left coset `unipotent_mul_diag U1` for a lift of t to `O_v`.
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
mapsTo_unipotent_mul_diagU1_U1diagU1 : Set.MapsTo (unipotent_mul_diagU1 v α hα) ⊀ (U1diagU1 v α hα)
(fun t _ => Set.mem_image_of_mem QuotientGroup.mk (Set.mul_mem_mul (unipotent_mem_U1 (Quotient.out t)) rfl))
lemma
TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm.HeckeOperator.Local.mapsTo_unipotent_mul_diagU1_U1diagU1
AutomorphicForm.QuaternionAlgebra.HeckeOperators
FLT/AutomorphicForm/QuaternionAlgebra/HeckeOperators/Local.lean
[ "FLT.DedekindDomain.AdicValuation" ]
[]
`unipotent_mul_diagU1` is contained in `U1diagU1` for all t.
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
injOn_unipotent_mul_diagU1 : Set.InjOn (unipotent_mul_diagU1 v α hα) ⊀
by intro t₁ h₁ tβ‚‚ hβ‚‚ h /- If `unipotent_mul_diagU1 t₁ = unipotent_mul_diagU1 tβ‚‚`, then `(unipotent_mul_diag t₁)⁻¹ * (unipotent_mul_diag tβ‚‚)` is in `U1 v`. Note `unipotent_mul_diag_inv_mul_unipotent_mul_diag` tells us that `(unipotent_mul_diag t₁)⁻¹ * (unipotent_mul_diag tβ‚‚)` is `unipotent`. -/ have unipoten...
lemma
TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm.HeckeOperator.Local.injOn_unipotent_mul_diagU1
AutomorphicForm.QuaternionAlgebra.HeckeOperators
FLT/AutomorphicForm/QuaternionAlgebra/HeckeOperators/Local.lean
[ "FLT.DedekindDomain.AdicValuation" ]
[]
Distinct t give distinct `unipotent_mul_diagU1`, i.e. we have a disjoint union.
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
surjOn_unipotent_mul_diagU1_U1diagU1 : Set.SurjOn (unipotent_mul_diagU1 v α hα) ⊀ (U1diagU1 v α hα)
by rintro _ ⟨_, ⟨x, hx, _, rfl, rfl⟩, rfl⟩ /- Each element of `U1diagU1` can be written as `x * diag`, where `x = !![a,b;c,d]` is viewed as a matrix over `O_v`. -/ let a : (adicCompletionIntegers F v) := ⟨_, apply_mem_integer hx 0 0⟩ let b : (adicCompletionIntegers F v) := ⟨_, apply_mem_integer hx 0 1⟩ let ...
lemma
TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm.HeckeOperator.Local.surjOn_unipotent_mul_diagU1_U1diagU1
AutomorphicForm.QuaternionAlgebra.HeckeOperators
FLT/AutomorphicForm/QuaternionAlgebra/HeckeOperators/Local.lean
[ "FLT.DedekindDomain.AdicValuation" ]
[]
Each coset in `U1diagU1` is of the form `unipotent_mul_diagU1` for some `t ∈ O_v`.
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
bijOn_unipotent_mul_diagU1_U1diagU1 : Set.BijOn (unipotent_mul_diagU1 v α hα) ⊀ (U1diagU1 v α hα)
⟨mapsTo_unipotent_mul_diagU1_U1diagU1 α hα, injOn_unipotent_mul_diagU1 α hα, surjOn_unipotent_mul_diagU1_U1diagU1 α hα⟩
theorem
TotallyDefiniteQuaternionAlgebra.WeightTwoAutomorphicForm.HeckeOperator.Local.bijOn_unipotent_mul_diagU1_U1diagU1
AutomorphicForm.QuaternionAlgebra.HeckeOperators
FLT/AutomorphicForm/QuaternionAlgebra/HeckeOperators/Local.lean
[ "FLT.DedekindDomain.AdicValuation" ]
[]
The double coset space `U1diagU1` is the disjoint union of `unipotent_mul_diagU1` as t ranges over `O_v / Ξ±O_v`.
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
Hurwitz : Type where /-- The coefficient of `1` in the basis `1, Ο‰, i, Ο‰i`. -/ re : β„€ -- 1 /-- The coefficient of `Ο‰ = (-1+i+j+k)/2` in the basis `1, Ο‰, i, Ο‰i`. -/ im_o : β„€ -- Ο‰ /-- The coefficient of `i` in the basis `1, Ο‰, i, Ο‰i`. -/ im_i : β„€ -- i /-- The coefficient of `Ο‰i = (-1-i+j-k)/2` in the basis ...
structure
Hurwitz
Data
FLT/Data/Hurwitz.lean
[]
[]
Hurwitz integers in the quaternions. β„€-Basis 1, Ο‰=(-1+i+j+k)/2, i and Ο‰i=(-1-i+j-k)/2.
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
toQuaternion (z : π“ž) : ℍ
where re := z.re - 2⁻¹ * z.im_o - 2⁻¹ * z.im_oi imI := z.im_i + 2⁻¹ * z.im_o - 2⁻¹ * z.im_oi imJ := 2⁻¹ * z.im_o + 2⁻¹ * z.im_oi imK := 2⁻¹ * z.im_o - 2⁻¹ * z.im_oi
def
Hurwitz.toQuaternion
Data
FLT/Data/Hurwitz.lean
[]
[]
The embedding of the Hurwitz integers into the rational quaternions.
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
fromQuaternion (z : ℍ) : π“ž
where re := Int.floor <| z.re + z.imJ im_o := Int.floor <| z.imJ + z.imK im_i := Int.floor <| z.imI - z.imK im_oi := Int.floor <| z.imJ - z.imK
def
Hurwitz.fromQuaternion
Data
FLT/Data/Hurwitz.lean
[]
[]
Rounds a quaternion to a nearby Hurwitz integer; serves as a left inverse to `toQuaternion`.
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
leftInverse_fromQuaternion_toQuaternion : Function.LeftInverse fromQuaternion toQuaternion
by intro z simp only [fromQuaternion, toQuaternion, sub_add_add_cancel, sub_add_cancel, Int.floor_intCast, add_add_sub_cancel, ← two_mul, ne_eq, OfNat.ofNat_ne_zero, not_false_eq_true, mul_inv_cancel_leftβ‚€, sub_sub_sub_cancel_right, add_sub_cancel_right, add_sub_sub_cancel]
lemma
Hurwitz.leftInverse_fromQuaternion_toQuaternion
Data
FLT/Data/Hurwitz.lean
[]
[]
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
toQuaternion_injective : Function.Injective toQuaternion
leftInverse_fromQuaternion_toQuaternion.injective
lemma
Hurwitz.toQuaternion_injective
Data
FLT/Data/Hurwitz.lean
[]
[]
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
leftInvOn_toQuaternion_fromQuaternion : Set.LeftInvOn toQuaternion fromQuaternion { q : ℍ | βˆƒ a b c d : β„€, q = ⟨a, b, c, d⟩ ∨ q = ⟨a + 2⁻¹, b + 2⁻¹, c + 2⁻¹, d + 2⁻¹⟩ }
by have hβ‚€ (x y : β„€) : (x + 2 ⁻¹ : ℝ) + (y + 2⁻¹) = ↑(x + y + 1) := by field_simp; norm_cast; ring intro q hq simp only [Set.mem_setOf] at hq simp only [toQuaternion, fromQuaternion] obtain ⟨a, b, c, d, rfl|rfl⟩ := hq <;> ext <;> simp only [hβ‚€, add_sub_add_right_eq_sub, Int.floor_sub_intCast, Int.floo...
lemma
Hurwitz.leftInvOn_toQuaternion_fromQuaternion
Data
FLT/Data/Hurwitz.lean
[]
[]
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
fromQuaternion_injOn : Set.InjOn fromQuaternion { q : ℍ | βˆƒ a b c d : β„€, q = ⟨a, b, c, d⟩ ∨ q = ⟨a + 2⁻¹, b + 2⁻¹, c + 2⁻¹, d + 2⁻¹⟩ }
leftInvOn_toQuaternion_fromQuaternion.injOn
lemma
Hurwitz.fromQuaternion_injOn
Data
FLT/Data/Hurwitz.lean
[]
[]
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
zero : π“ž
⟨0, 0, 0, 0⟩
def
Hurwitz.zero
Data
FLT/Data/Hurwitz.lean
[]
[]
The Hurwitz number 0
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
zero_re : re (0 : π“ž) = 0
rfl
lemma
Hurwitz.zero_re
Data
FLT/Data/Hurwitz.lean
[]
[]
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
zero_im_o : im_o (0 : π“ž) = 0
rfl
lemma
Hurwitz.zero_im_o
Data
FLT/Data/Hurwitz.lean
[]
[]
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
zero_im_i : im_i (0 : π“ž) = 0
rfl
lemma
Hurwitz.zero_im_i
Data
FLT/Data/Hurwitz.lean
[]
[]
https://github.com/ImperialCollegeLondon/FLT
6cffefeb368ca4cfabc907f86f96783a49ae4033
End of preview. Expand in Data Studio

Lean4-FLT

Structured dataset from FLT β€” Formalization of Fermat's Last Theorem.

Source

Schema

Column Type Description
statement string Declaration signature/claim with the leading keyword removed (verbatim slice); the full declaration minus its proof
proof string Verbatim proof/body, empty if the declaration has none
type string Declaration keyword
symbolic_name string Declaration identifier
library string Sub-library
filename string Repository-relative source path
imports list[string] File-level Require/Import modules
deps list[string] Intra-corpus identifiers referenced
docstring string Preceding documentation comment, empty if absent
source_url string Upstream repository
commit string Upstream commit extracted

Statistics

  • Entries: 1,754
  • With proof: 1,712 (97.6%)
  • With docstring: 700 (39.9%)
  • Libraries: 71

By type

Type Count
lemma 784
def 467
theorem 297
instance 88
abbrev 75
class 25
structure 14
axiom 3
macro 1

Example

PNat.pow_add_pow_ne_pow
    (x y z : β„•+)
    (n : β„•) (hn : n > 2) :
    x^n + y^n β‰  z^n
PNat.pow_add_pow_ne_pow_of_FermatLastTheorem Wiles_Taylor_Wiles x y z n hn

/--
info: 'PNat.pow_add_pow_ne_pow' depends on axioms: [propext, sorryAx, Classical.choice, Quot.sound]
-/
#guard_msgs in
#print axioms PNat.pow_add_pow_ne_pow
  • type: theorem | symbolic_name: PNat.pow_add_pow_ne_pow | FermatsLastTheorem.lean

Use

Each declaration is split into a statement (signature/claim) and a proof (body) that are disjoint and together form the complete declaration, for proof modeling, autoformalization, retrieval, and dependency analysis via deps.

Citation

@misc{lean4_flt_dataset,
  title  = {Lean4-FLT},
  author = {Norton, Charles},
  year   = {2026},
  note   = {Extracted from https://github.com/ImperialCollegeLondon/FLT, commit 6cffefeb368c},
  url    = {https://huggingface.co/datasets/phanerozoic/Lean4-FLT}
}
Downloads last month
35

Collection including phanerozoic/Lean4-FLT