chars
int64
40
24k
content_type
stringclasses
9 values
id
stringlengths
13
64
source
stringclasses
5 values
subset
stringclasses
31 values
text
stringlengths
40
24k
69
leanexplore_declaration
leanexplore:379713
leanexplore_sqlite
leanexplore_declarations
instance : Zero (WeightTwoAutomorphicForm F D R) where zero := zero
96
leanexplore_declaration
leanexplore:379714
leanexplore_sqlite
leanexplore_declarations
@[simp] theorem zero_apply (x : Dfx F D) : (0 : WeightTwoAutomorphicForm F D R) x = 0 := rfl
390
leanexplore_declaration
leanexplore:379715
leanexplore_sqlite
leanexplore_declarations
/-- Negation on the space of automorphic forms over a totally definite quaternion algebra. -/ def 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, ri...
66
leanexplore_declaration
leanexplore:379716
leanexplore_sqlite
leanexplore_declarations
instance : Neg (WeightTwoAutomorphicForm F D R) where neg := neg
149
leanexplore_declaration
leanexplore:379717
leanexplore_sqlite
leanexplore_declarations
@[simp, norm_cast] theorem neg_apply (φ : WeightTwoAutomorphicForm F D R) (x : Dfx F D) : (-φ : WeightTwoAutomorphicForm F D R) x = -(φ x) := rfl
490
leanexplore_declaration
leanexplore:379718
leanexplore_sqlite
leanexplore_declarations
/-- Addition on the space of automorphic forms over a totally definite quaternion algebra. -/ def 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⟩ := ψ.righ...
66
leanexplore_declaration
leanexplore:379719
leanexplore_sqlite
leanexplore_declarations
instance : Add (WeightTwoAutomorphicForm F D R) where add := add
128
leanexplore_declaration
leanexplore:379720
leanexplore_sqlite
leanexplore_declarations
@[simp, norm_cast] theorem add_apply (φ ψ : WeightTwoAutomorphicForm F D R) (x : Dfx F D) : (φ + ψ) x = (φ x) + (ψ x) := rfl
364
leanexplore_declaration
leanexplore:379721
leanexplore_sqlite
leanexplore_declarations
instance 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 ...
180
leanexplore_declaration
leanexplore:379722
leanexplore_sqlite
leanexplore_declarations
instance {G} [TopologicalSpace G] [DivInvMonoid G] [ContinuousMul G] : ContinuousConstSMul (ConjAct G) G where continuous_const_smul _ := IsTopologicalGroup.continuous_conj _
250
leanexplore_declaration
leanexplore:379723
leanexplore_sqlite
leanexplore_declarations
lemma _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
844
leanexplore_declaration
leanexplore:379724
leanexplore_sqlite
leanexplore_declarations
/-- The adelic group action on the space of automorphic forms over a totally definite quaternion algebra. -/ def 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...
85
leanexplore_declaration
leanexplore:379725
leanexplore_sqlite
leanexplore_declarations
instance : SMul (Dfx F D) (WeightTwoAutomorphicForm F D R) where smul := group_smul
134
leanexplore_declaration
leanexplore:379726
leanexplore_sqlite
leanexplore_declarations
@[simp] lemma group_smul_apply (g : Dfx F D) (φ : WeightTwoAutomorphicForm F D R) (x : Dfx F D) : (g • φ) x = φ (x * g) := rfl
234
leanexplore_declaration
leanexplore:379727
leanexplore_sqlite
leanexplore_declarations
instance 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]
249
leanexplore_declaration
leanexplore:379728
leanexplore_sqlite
leanexplore_declarations
instance 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]
481
leanexplore_declaration
leanexplore:379729
leanexplore_sqlite
leanexplore_declarations
/-- The scalar action on the space of weight 2 automorphic forms on a totally definite quaternion algebra. -/ def 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...
76
leanexplore_declaration
leanexplore:379730
leanexplore_sqlite
leanexplore_declarations
instance : SMul R (WeightTwoAutomorphicForm F D R) where smul := ring_smul
114
leanexplore_declaration
leanexplore:379731
leanexplore_sqlite
leanexplore_declarations
lemma smul_apply (r : R) (φ : WeightTwoAutomorphicForm F D R) (g : Dfx F D) : (r • φ) g = r • (φ g) := rfl
360
leanexplore_declaration
leanexplore:379732
leanexplore_sqlite
leanexplore_declarations
instance 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] ...
131
leanexplore_declaration
leanexplore:379733
leanexplore_sqlite
leanexplore_declarations
instance : SMulCommClass (Dfx F D) R (WeightTwoAutomorphicForm F D R) where smul_comm r g φ := by ext x simp [smul_apply]
338
leanexplore_declaration
leanexplore:379734
leanexplore_sqlite
leanexplore_declarations
/-- `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. -/ def WeightTwoAutomorphicFormOfLevel (U : Subgroup (Dfx F D)) (R : Type*) [CommRing R] : Type _ := MulAction.FixedPoints U (WeightTwoAuto...
154
leanexplore_declaration
leanexplore:379735
leanexplore_sqlite
leanexplore_declarations
/-- Enables coercion of automorphic forms to functions. -/ @[coe] def toFun (f : WeightTwoAutomorphicFormOfLevel U R) (x : Dfx F D) : R := f.1.toFun x
98
leanexplore_declaration
leanexplore:379736
leanexplore_sqlite
leanexplore_declarations
instance : CoeFun (WeightTwoAutomorphicFormOfLevel U R) (fun _ ↦ Dfx F D → R) where coe := toFun
144
leanexplore_declaration
leanexplore:379737
leanexplore_sqlite
leanexplore_declarations
@[ext] lemma ext ⦃f g : WeightTwoAutomorphicFormOfLevel U R⦄ (h : ∀ x, f x = g x) : f = g := Subtype.ext <| WeightTwoAutomorphicForm.ext _ _ h
92
leanexplore_declaration
leanexplore:379738
leanexplore_sqlite
leanexplore_declarations
@[ext] lemma ext ⦃f g : WeightTwoAutomorphicFormOfLevel U R⦄ (h : ∀ x, f x = g x) : f = g :=
137
leanexplore_declaration
leanexplore:379739
leanexplore_sqlite
leanexplore_declarations
lemma left_invt (f : WeightTwoAutomorphicFormOfLevel U R) (δ : Dˣ) (g : Dfx F D) : f ((incl₁ F D) δ * g) = f g := f.1.left_invt δ g
125
leanexplore_declaration
leanexplore:379740
leanexplore_sqlite
leanexplore_declarations
lemma right_invt (f : WeightTwoAutomorphicFormOfLevel U R) (g : Dfx F D) (u : U) : f (g * u) = f g := congr($(f.2 u) g)
157
leanexplore_declaration
leanexplore:379741
leanexplore_sqlite
leanexplore_declarations
instance : AddCommGroup (WeightTwoAutomorphicFormOfLevel U R) := inferInstanceAs <| AddCommGroup (MulAction.FixedPoints U (WeightTwoAutomorphicForm F D R))
149
leanexplore_declaration
leanexplore:379742
leanexplore_sqlite
leanexplore_declarations
instance : Module R (WeightTwoAutomorphicFormOfLevel U R) := inferInstanceAs <| Module R (MulAction.FixedPoints U (WeightTwoAutomorphicForm F D R))
2,196
leanexplore_declaration
leanexplore:379743
leanexplore_sqlite
leanexplore_declarations
/-- 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`. -/ theorem WeightTwoAutomorphicForm.finiteDimensional (hU : IsOpen (U : Set (Dfx F D))) : FiniteDimensional K (...
107
leanexplore_declaration
leanexplore:379744
leanexplore_sqlite
leanexplore_declarations
instance : AddCommMonoid (fixedPoints G A) := AddSubmonoid.toAddCommMonoid (FixedPoints.addSubmonoid G A)
74
leanexplore_declaration
leanexplore:379745
leanexplore_sqlite
leanexplore_declarations
@[simp, norm_cast] lemma coe_zero : ((0 : fixedPoints G A) : A) = 0 := rfl
109
leanexplore_declaration
leanexplore:379746
leanexplore_sqlite
leanexplore_declarations
@[simp, norm_cast] lemma coe_add (a b : fixedPoints G A) : ((a + b : fixedPoints G A) : A) = a + b := rfl
134
leanexplore_declaration
leanexplore:379747
leanexplore_sqlite
leanexplore_declarations
instance [SMul R A] [SMulCommClass G R A] : SMul R (fixedPoints G A) where smul r a := ⟨r • a.1, fun g ↦ by rw [smul_comm, a.2]⟩
149
leanexplore_declaration
leanexplore:379748
leanexplore_sqlite
leanexplore_declarations
@[simp, norm_cast] lemma coe_smul [SMul R A] [SMulCommClass G R A] (r : R) (a : fixedPoints G A) : ((r • a : fixedPoints G A) : A) = r • a := rfl
214
leanexplore_declaration
leanexplore:379749
leanexplore_sqlite
leanexplore_declarations
instance [Monoid R] [MulAction R A] [SMulCommClass G R A] : MulAction R (fixedPoints G A) where one_smul a := by ext push_cast simp mul_smul r s a := by ext push_cast simp [mul_smul]
372
leanexplore_declaration
leanexplore:379750
leanexplore_sqlite
leanexplore_declarations
instance 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 _ _ _...
390
leanexplore_declaration
leanexplore:379751
leanexplore_sqlite
leanexplore_declarations
lemma 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, ...
857
leanexplore_declaration
leanexplore:379752
leanexplore_sqlite
leanexplore_declarations
/-- 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` -/ lemma 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) = ∑...
1,169
leanexplore_declaration
leanexplore:379753
leanexplore_sqlite
leanexplore_declarations
/-- The Hecke operator T_g = [UgV] : A^V → A^U associated to the double coset UgV. -/ noncomputable def 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), ← ...
326
leanexplore_declaration
leanexplore:379754
leanexplore_sqlite
leanexplore_declarations
noncomputable def 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...
422
leanexplore_declaration
leanexplore:379755
leanexplore_sqlite
leanexplore_declarations
noncomputable def 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_t...
193
leanexplore_declaration
leanexplore:379756
leanexplore_sqlite
leanexplore_declarations
lemma 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
1,343
leanexplore_declaration
leanexplore:379757
leanexplore_sqlite
leanexplore_declarations
theorem 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 ...
633
leanexplore_declaration
leanexplore:379758
leanexplore_sqlite
leanexplore_declarations
lemma 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_pre...
167
leanexplore_declaration
leanexplore:379759
leanexplore_sqlite
leanexplore_declarations
/-- U1(S) -/ noncomputable abbrev U1 : Subgroup (D ⊗[F] (IsDedekindDomain.FiniteAdeleRing (𝓞 F) F))ˣ := Subgroup.map (Units.map r.symm.toMonoidHom) (GL2.TameLevel S)
121
leanexplore_declaration
leanexplore:379760
leanexplore_sqlite
leanexplore_declarations
lemma U1_compact : IsCompact (U1 r S : Set (D ⊗[F] (IsDedekindDomain.FiniteAdeleRing (𝓞 F) F))ˣ) := sorry -- #583, long
115
leanexplore_declaration
leanexplore:379761
leanexplore_sqlite
leanexplore_declarations
lemma U1_open : IsOpen (U1 r S : Set (D ⊗[F] (IsDedekindDomain.FiniteAdeleRing (𝓞 F) F))ˣ) := sorry -- #583, long
690
leanexplore_declaration
leanexplore:379762
leanexplore_sqlite
leanexplore_declarations
/-- The Hecke operator T_v as an R-linear map from R-valued quaternionic weight 2 automorphic forms of level U_1(S). -/ noncomputable def T (v : HeightOneSpectrum (𝓞 F)) : WeightTwoAutomorphicFormOfLevel (U1 r S) R →ₗ[R] WeightTwoAutomorphicFormOfLevel (U1 r S) R := letI : DecidableEq (HeightOneSpectrum (𝓞 ...
93
leanexplore_declaration
leanexplore:379763
leanexplore_sqlite
leanexplore_declarations
noncomputable instance : DecidableEq (HeightOneSpectrum (𝓞 F)) := Classical.typeDecidableEq _
263
leanexplore_declaration
leanexplore:379764
leanexplore_sqlite
leanexplore_declarations
/-- The (global) matrix element `diag[α, 1]`. -/ noncomputable abbrev diag : (D ⊗[F] (FiniteAdeleRing (𝓞 F) F))ˣ := Units.mapEquiv r.symm.toMulEquiv (FiniteAdeleRing.GL2.restrictedProduct.symm (RestrictedProduct.mulSingle _ _ (Local.GL2.diag α hα)))
483
leanexplore_declaration
leanexplore:379765
leanexplore_sqlite
leanexplore_declarations
/-- The (global) matrix element `(unipotent t) * (diag α hα) = !![α, t; 0, 1]`. Here `t ∈ 𝒪ᵥ / α` and we lift it arbitrarily to `𝒪ᵥ`. -/ noncomputable def unipotent_mul_diag (t : ↑(adicCompletionIntegers F v) ⧸ (Ideal.span {α})) : (D ⊗[F] (FiniteAdeleRing (𝓞 F) F))ˣ := Units.mapEquiv r.symm.toMulEquiv (Fin...
390
leanexplore_declaration
leanexplore:379766
leanexplore_sqlite
leanexplore_declarations
/-- 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`. -/ noncomputable def unipotent_mul_diag_image : Set (...
508
leanexplore_declaration
leanexplore:379767
leanexplore_sqlite
leanexplore_declarations
lemma 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...
217
leanexplore_declaration
leanexplore:379768
leanexplore_sqlite
leanexplore_declarations
/-- The double coset space `U₁(S) diag(αᵥ,1) U₁(S)` as a set of left cosets. -/ noncomputable def U1diagU1 : Set ((D ⊗[F] (FiniteAdeleRing (𝓞 F) F))ˣ ⧸ (U1 r S)) := QuotientGroup.mk '' ((U1 r S) * {diag r α hα})
174
leanexplore_declaration
leanexplore:379769
leanexplore_sqlite
leanexplore_declarations
theorem bijOn_unipotent_mul_diagU1_U1diagU1 : (unipotent_mul_diag_image r α hα).BijOn QuotientGroup.mk (U1diagU1 r S α hα) := sorry -- global double coset decomposition
293
leanexplore_declaration
leanexplore:379770
leanexplore_sqlite
leanexplore_declarations
lemma 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}))
280
leanexplore_declaration
leanexplore:379771
leanexplore_sqlite
leanexplore_declarations
lemma 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
645
leanexplore_declaration
leanexplore:379772
leanexplore_sqlite
leanexplore_declarations
/-- 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. Se...
143
leanexplore_declaration
leanexplore:379773
leanexplore_sqlite
leanexplore_declarations
lemma _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
143
leanexplore_declaration
leanexplore:379774
leanexplore_sqlite
leanexplore_declarations
noncomputable instance : DistribSMul (D ⊗[F] FiniteAdeleRing (𝓞 F) F)ˣ (WeightTwoAutomorphicForm F D R) := distribMulAction.toDistribSMul
211
leanexplore_declaration
leanexplore:379775
leanexplore_sqlite
leanexplore_declarations
lemma 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
346
leanexplore_declaration
leanexplore:379776
leanexplore_sqlite
leanexplore_declarations
lemma 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α))...
485
leanexplore_declaration
leanexplore:379777
leanexplore_sqlite
leanexplore_declarations
lemma 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 •...
519
leanexplore_declaration
leanexplore:379778
leanexplore_sqlite
leanexplore_declarations
lemma 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_ap...
229
leanexplore_declaration
leanexplore:379779
leanexplore_sqlite
leanexplore_declarations
lemma 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]
1,720
leanexplore_declaration
leanexplore:379780
leanexplore_sqlite
leanexplore_declarations
/-- `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...
232
leanexplore_declaration
leanexplore:379781
leanexplore_sqlite
leanexplore_declarations
noncomputable instance 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))
245
leanexplore_declaration
leanexplore:379782
leanexplore_sqlite
leanexplore_declarations
noncomputable instance 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))
159
leanexplore_declaration
leanexplore:379783
leanexplore_sqlite
leanexplore_declarations
noncomputable instance instCommRing : CommRing (HeckeAlgebra F D r S R) where __ := instRing F D r S R mul_comm := sorry -- #585 -- check on generators
236
leanexplore_declaration
leanexplore:379784
leanexplore_sqlite
leanexplore_declarations
/-- The Hecke operator Tᵥ as an element of the Hecke algebra. -/ noncomputable def 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⟩
305
leanexplore_declaration
leanexplore:379785
leanexplore_sqlite
leanexplore_declarations
/-- The Hecke operator Uᵥ,ₐ as an element of the Hecke algebra. -/ noncomputable def 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α⟩
143
leanexplore_declaration
leanexplore:379786
leanexplore_sqlite
leanexplore_declarations
/-- The subgroup `U1 v = GL2.localTameLevel v`. -/ noncomputable abbrev U1 : Subgroup (GL (Fin 2) (adicCompletion F v)) := GL2.localTameLevel v
318
leanexplore_declaration
leanexplore:379787
leanexplore_sqlite
leanexplore_declarations
/-- The matrix element `diag[α, 1]`. -/ noncomputable abbrev 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])
216
leanexplore_declaration
leanexplore:379788
leanexplore_sqlite
leanexplore_declarations
lemma 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
831
leanexplore_declaration
leanexplore:379789
leanexplore_sqlite
leanexplore_declarations
lemma 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...
670
leanexplore_declaration
leanexplore:379790
leanexplore_sqlite
leanexplore_declarations
lemma 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, Fi...
239
leanexplore_declaration
leanexplore:379791
leanexplore_sqlite
leanexplore_declarations
/-- The matrix element `(unipotent t) * (diag α hα) = !![α, t; 0, 1]`. -/ noncomputable def unipotent_mul_diag (t : v.adicCompletionIntegers F) : (GL (Fin 2) (adicCompletion F v)) := (unipotent (t : adicCompletion F v)) * (diag α hα)
511
leanexplore_declaration
leanexplore:379792
leanexplore_sqlite
leanexplore_declarations
/-- `!![α t₁; 0 1]⁻¹ * [α t₂; 0 1] = [1 (t₂ - t₁) / α; 0 1]`. -/ lemma 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 ...
136
leanexplore_declaration
leanexplore:379793
leanexplore_sqlite
leanexplore_declarations
lemma apply_mem_integer (i j : Fin 2) : (x i j) ∈ (adicCompletionIntegers F v) := GL2.v_le_one_of_mem_localFullLevel _ hx.left _ _
253
leanexplore_declaration
leanexplore:379794
leanexplore_sqlite
leanexplore_declarations
lemma 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
195
leanexplore_declaration
leanexplore:379795
leanexplore_sqlite
leanexplore_declarations
lemma 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
806
leanexplore_declaration
leanexplore:379796
leanexplore_sqlite
leanexplore_declarations
lemma 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_integ...
187
leanexplore_declaration
leanexplore:379797
leanexplore_sqlite
leanexplore_declarations
lemma 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))
2,878
leanexplore_declaration
leanexplore:379798
leanexplore_sqlite
leanexplore_declarations
lemma 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 : (a...
199
leanexplore_declaration
leanexplore:379799
leanexplore_sqlite
leanexplore_declarations
/-- The double coset space `U1 diag U1` as a set of left cosets. -/ noncomputable def U1diagU1 : Set ((GL (Fin 2) (adicCompletion F v)) ⧸ (U1 v)) := (QuotientGroup.mk '' ((U1 v) * {diag α hα}))
342
leanexplore_declaration
leanexplore:379800
leanexplore_sqlite
leanexplore_declarations
/-- For each `t ∈ O_v / αO_v`, the left coset `unipotent_mul_diag U1` for a lift of t to `O_v`. -/ noncomputable def 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 : adicCo...
295
leanexplore_declaration
leanexplore:379801
leanexplore_sqlite
leanexplore_declarations
/-- `unipotent_mul_diagU1` is contained in `U1diagU1` for all t. -/ lemma 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))
1,384
leanexplore_declaration
leanexplore:379802
leanexplore_sqlite
leanexplore_declarations
/-- Distinct t give distinct `unipotent_mul_diagU1`, i.e. we have a disjoint union. -/ lemma 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...
2,453
leanexplore_declaration
leanexplore:379803
leanexplore_sqlite
leanexplore_declarations
/-- Each coset in `U1diagU1` is of the form `unipotent_mul_diagU1` for some `t ∈ O_v`. -/ lemma 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...
362
leanexplore_declaration
leanexplore:379804
leanexplore_sqlite
leanexplore_declarations
/-- The double coset space `U1diagU1` is the disjoint union of `unipotent_mul_diagU1` as t ranges over `O_v / αO_v`. -/ theorem 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α, ...
414
leanexplore_declaration
leanexplore:379805
leanexplore_sqlite
leanexplore_declarations
/-- Fermat's Last Theorem as stated in mathlib (a statement `FermatLastTheorem` about naturals) implies Fermat's Last Theorem stated in terms of positive integers. -/ theorem PNat.pow_add_pow_ne_pow_of_FermatLastTheorem : FermatLastTheorem → ∀ (a b c : ℕ+) (n : ℕ) (_ : n > 2), a ^ n + b ^ n ≠ c ^ n := by intr...
567
leanexplore_declaration
leanexplore:379806
leanexplore_sqlite
leanexplore_declarations
/-- If Fermat's Last Theorem is true for primes `p ≥ 5`, then FLT is true. -/ lemma FermatLastTheorem.of_p_ge_5 (H : ∀ p ≥ 5, p.Prime → FermatLastTheoremFor p) : FermatLastTheorem := by apply FermatLastTheorem.of_odd_primes -- this is Fermat's proof for n=4, plus reduction to ...
733
leanexplore_declaration
leanexplore:379807
leanexplore_sqlite
leanexplore_declarations
/-- A *Frey Package* is a 4-tuple (a,b,c,p) of integers satisfying $a^p+b^p=c^p$ and some other inequalities and congruences. These facts guarantee that all of the all the results in section 4.1 of Serre's paper [serre] apply to the curve $Y^2=X(X-a^p)(X+b^p).$ -/ structure FreyPackage where /-- The integer `a` in th...
74
leanexplore_declaration
leanexplore:379808
leanexplore_sqlite
leanexplore_declarations
lemma hppos (P : FreyPackage) : 0 < P.p := lt_of_lt_of_le (by omega) P.hp5
52
leanexplore_declaration
leanexplore:379809
leanexplore_sqlite
leanexplore_declarations
lemma hp0 (P : FreyPackage) : P.p ≠ 0 := P.hppos.ne'
104
leanexplore_declaration
leanexplore:379810
leanexplore_sqlite
leanexplore_declarations
lemma hp_odd (P : FreyPackage) : Odd P.p := Nat.Prime.odd_of_ne_two P.pp <| have := P.hp5; by linarith
838
leanexplore_declaration
leanexplore:379811
leanexplore_sqlite
leanexplore_declarations
lemma gcdab_eq_gcdac {a b c : ℤ} {p : ℕ} (hp : 0 < p) (h : a ^ p + b ^ p = c ^ p) : gcd a b = gcd a c := by have foo : gcd a b ∣ gcd a c := by apply dvd_gcd (gcd_dvd_left a b) rw [← Int.pow_dvd_pow_iff hp.ne', ← h] apply dvd_add <;> rw [Int.pow_dvd_pow_iff hp.ne'] · exact gcd_dvd_left a b · ex...
103
leanexplore_declaration
leanexplore:379812
leanexplore_sqlite
leanexplore_declarations
lemma hgcdac (P : FreyPackage) : gcd P.a P.c = 1 := by rw [← gcdab_eq_gcdac P.hppos P.hFLT, P.hgcdab]