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
77
leanexplore_declaration
leanexplore:380645
leanexplore_sqlite
leanexplore_declarations
instance : IsTopologicalRing (Dinf K D) := inferInstance -- instance shortcut
90
leanexplore_declaration
leanexplore:380646
leanexplore_sqlite
leanexplore_declarations
instance (vi : InfinitePlace K) : TopologicalSpace (D ⊗[K] vi.Completion) := inferInstance
1,408
leanexplore_declaration
leanexplore:380647
leanexplore_sqlite
leanexplore_declarations
lemma isCentralSimple_infinite_addHaarScalarFactor_left_mul_eq_right_mul [Algebra.IsCentral K D] (u : (Dinf K D)ˣ) : addEquivAddHaarChar (ContinuousAddEquiv.mulLeft u) = addEquivAddHaarChar (ContinuousAddEquiv.mulRight u) := by -- infinite places -- use `Dinf_tensorPi_equiv_piTensor` to reduce to -- `...
168
leanexplore_declaration
leanexplore:380648
leanexplore_sqlite
leanexplore_declarations
/-- We give 𝔸_K^f ⊗ D the 𝔸_K^f-module topology. -/ local instance : TopologicalSpace ((FiniteAdeleRing (𝓞 K) K) ⊗[K] D) := moduleTopology (FiniteAdeleRing (𝓞 K) K) _
141
leanexplore_declaration
leanexplore:380649
leanexplore_sqlite
leanexplore_declarations
/-- We give 𝔸_K^f ⊗ D the Borel measurable space structure. -/ local instance : MeasurableSpace ((FiniteAdeleRing (𝓞 K) K) ⊗[K] D) := borel _
71
leanexplore_declaration
leanexplore:380650
leanexplore_sqlite
leanexplore_declarations
local instance : BorelSpace ((FiniteAdeleRing (𝓞 K) K) ⊗[K] D) := ⟨rfl⟩
1,381
leanexplore_declaration
leanexplore:380651
leanexplore_sqlite
leanexplore_declarations
lemma isCentralSimple_addHaarScalarFactor_left_mul_eq_right_mul [Algebra.IsCentral K D] (u : D_𝔸ˣ) : addEquivAddHaarChar (ContinuousAddEquiv.mulLeft u) = addEquivAddHaarChar (ContinuousAddEquiv.mulRight u) := by open IsDedekindDomain MeasureTheory in let u' := D𝔸_prodRight_units K D u have hl : ...
152
leanexplore_declaration
leanexplore:380652
leanexplore_sqlite
leanexplore_declarations
/-- An auxiliary compact subset of D_𝔸^f with nonempty interior -/ def Uf : Set (D ⊗[K] (FiniteAdeleRing (𝓞 K) K)) := (exists_compact_mem_nhds 0).choose
99
leanexplore_declaration
leanexplore:380653
leanexplore_sqlite
leanexplore_declarations
theorem Uf.spec : IsCompact (Uf K D) ∧ (Uf K D) ∈ nhds 0 := (exists_compact_mem_nhds 0).choose_spec
146
leanexplore_declaration
leanexplore:380654
leanexplore_sqlite
leanexplore_declarations
/-- An auxiliary compact subset of D_∞ with nonempty interior -/ def Ui : Set (D ⊗[K] (InfiniteAdeleRing K)) := (exists_compact_mem_nhds 0).choose
99
leanexplore_declaration
leanexplore:380655
leanexplore_sqlite
leanexplore_declarations
theorem Ui.spec : IsCompact (Ui K D) ∧ (Ui K D) ∈ nhds 0 := (exists_compact_mem_nhds 0).choose_spec
321
leanexplore_declaration
leanexplore:380656
leanexplore_sqlite
leanexplore_declarations
/-- An auxiliary definition of an increasing family of compact subsets of D_𝔸, defined as the product of a compact neighbourhood of 0 at the finite places and a compact neighbourhood of 0, scaled by `r`, at the infinite places. -/ def Efamily (r : ℝ) : Set (D_𝔸) := (D𝔸_prodRight'' K D).symm '' (r • Ui K D) ×ˢ (Uf ...
235
leanexplore_declaration
leanexplore:380657
leanexplore_sqlite
leanexplore_declarations
lemma E_family_compact (r : ℝ) : IsCompact (Efamily K D r) := by refine IsCompact.image ?_ (by fun_prop) refine IsCompact.prod ?_ (Uf.spec K D).1 exact IsCompact.image (Ui.spec K D).1 (show Continuous (fun x ↦ r • x) by fun_prop)
402
leanexplore_declaration
leanexplore:380658
leanexplore_sqlite
leanexplore_declarations
lemma E_family_nonempty_interior : (interior (Efamily K D 1)).Nonempty := by unfold Efamily rw [one_smul] change (interior ((D𝔸_prodRight'' K D).toHomeomorph.symm '' Ui K D ×ˢ Uf K D)).Nonempty rw [← Homeomorph.image_interior, Set.image_nonempty] use 0 rw [mem_interior_iff_mem_nhds, Prod.zero_eq_mk, mem_nh...
2,847
leanexplore_declaration
leanexplore:380659
leanexplore_sqlite
leanexplore_declarations
lemma E_family_unbounded (B : ℝ≥0) : ∃ r, MeasureTheory.Measure.addHaar (Efamily K D r) > B := by -- For r a nonzero real, let di(r) be the image of r in D_∞ˣ let di (r : ℝˣ) : (Dinf K D)ˣ := ((Units.map (algebraMap ℝ (Dinf K D))) r) -- For r a nonzero real, let d(r) be the element (r,1)=(di(r),i) in D_𝔸ˣ, s...
1,158
leanexplore_declaration
leanexplore:380660
leanexplore_sqlite
leanexplore_declarations
lemma existsE : ∃ E : Set (D_𝔸), IsCompact E ∧ ∀ φ : D_𝔸 ≃ₜ+ D_𝔸, addEquivAddHaarChar φ = 1 → ∃ e₁ ∈ E, ∃ e₂ ∈ E, e₁ ≠ e₂ ∧ φ e₁ - φ e₂ ∈ Set.range (Algebra.TensorProduct.includeLeft : D →ₐ[K] D_𝔸) := by obtain ⟨B, hB⟩ := not_injective_of_large_measure K D obtain ⟨r, hr⟩ := E_family_unbounded K D B le...
104
leanexplore_declaration
leanexplore:380661
leanexplore_sqlite
leanexplore_declarations
/-- An auxiliary set E used in the proof of Fujisaki's lemma. -/ def E : Set D_𝔸 := (existsE K D).choose
66
leanexplore_declaration
leanexplore:380662
leanexplore_sqlite
leanexplore_declarations
lemma E_compact : IsCompact (E K D) := (existsE K D).choose_spec.1
259
leanexplore_declaration
leanexplore:380663
leanexplore_sqlite
leanexplore_declarations
lemma E_noninjective_left {x : D_𝔸ˣ} (h : x ∈ ringHaarChar_ker D_𝔸) : ∃ e₁ ∈ E K D, ∃ e₂ ∈ E K D, e₁ ≠ e₂ ∧ x * e₁ - x * e₂ ∈ Set.range (Algebra.TensorProduct.includeLeft : D →ₐ[K] D_𝔸) := (existsE K D).choose_spec.2 (ContinuousAddEquiv.mulLeft x) h
516
leanexplore_declaration
leanexplore:380664
leanexplore_sqlite
leanexplore_declarations
lemma E_noninjective_right [Algebra.IsCentral K D] {x : D_𝔸ˣ} (h : x ∈ ringHaarChar_ker D_𝔸) : ∃ e₁ ∈ E K D, ∃ e₂ ∈ E K D, e₁ ≠ e₂ ∧ e₁ * x⁻¹ - e₂ * x⁻¹ ∈ Set.range (Algebra.TensorProduct.includeLeft : D →ₐ[K] D_𝔸) := by let φ : D_𝔸 ≃ₜ+ D_𝔸 := ContinuousAddEquiv.mulRight x⁻¹ have hφ : addEquivAddHaarC...
115
leanexplore_declaration
leanexplore:380665
leanexplore_sqlite
leanexplore_declarations
/-- An auxiliary set X used in the proof of Fukisaki's lemma. Defined as E - E. -/ def X : Set D_𝔸 := E K D - E K D
115
leanexplore_declaration
leanexplore:380666
leanexplore_sqlite
leanexplore_declarations
/-- An auxiliary set Y used in the proof of Fukisaki's lemma. Defined as X * X. -/ def Y : Set D_𝔸 := X K D * X K D
221
leanexplore_declaration
leanexplore:380667
leanexplore_sqlite
leanexplore_declarations
lemma X_compact : IsCompact (X K D) := by simpa only [Set.image_prod, Set.image2_sub] using (IsCompact.image_of_continuousOn ((E_compact K D).prod (E_compact K D)) ((continuous_fst.sub continuous_snd).continuousOn))
236
leanexplore_declaration
leanexplore:380668
leanexplore_sqlite
leanexplore_declarations
lemma Y_compact : IsCompact (Y K D) := by simpa only [Pi.mul_def, Set.image_prod, Set.image2_mul, Y] using (IsCompact.image_of_continuousOn ((X_compact K D).prod (X_compact K D)) ((continuous_fst.mul continuous_snd).continuousOn))
732
leanexplore_declaration
leanexplore:380669
leanexplore_sqlite
leanexplore_declarations
lemma X_meets_kernel {β : D_𝔸ˣ} (hβ : β ∈ ringHaarChar_ker D_𝔸) : ∃ x ∈ X K D, ∃ d ∈ Set.range (incl K D : Dˣ → D_𝔸ˣ), β * x = d := by obtain ⟨e1, he1, e2, he2, noteq, b, hb⟩ := E_noninjective_left K D hβ refine ⟨e1 - e2, by simpa only using (Set.sub_mem_sub he1 he2), ?_⟩ obtain ⟨b1, rfl⟩ : IsUnit b := by ...
753
leanexplore_declaration
leanexplore:380670
leanexplore_sqlite
leanexplore_declarations
lemma X_meets_kernel' [Algebra.IsCentral K D] {β : D_𝔸ˣ} (hβ : β ∈ ringHaarChar_ker D_𝔸) : ∃ x ∈ X K D, ∃ d ∈ Set.range (incl K D : Dˣ → D_𝔸ˣ), x * β⁻¹ = d := by obtain ⟨e1, he1, e2, he2, noteq, b, hb⟩ := E_noninjective_right K D hβ refine ⟨e1 - e2, by simpa only using (Set.sub_mem_sub he1 he2), ?_⟩ obtain...
171
leanexplore_declaration
leanexplore:380671
leanexplore_sqlite
leanexplore_declarations
/-- An auxiliary set T used in the proof of Fukisaki's lemma. Defined as Y ∩ Dˣ. -/ def T : Set D_𝔸ˣ := ((↑) : D_𝔸ˣ → D_𝔸) ⁻¹' (Y K D) ∩ Set.range ((incl K D : Dˣ → D_𝔸ˣ))
359
leanexplore_declaration
leanexplore:380672
leanexplore_sqlite
leanexplore_declarations
lemma T_finite_extracted1 : IsCompact (Y K D ∩ Set.range (Algebra.TensorProduct.includeLeft : D →ₐ[K] D_𝔸)) := by refine IsCompact.inter_right (Y_compact K D) ?_ have : DiscreteTopology (includeLeft_subgroup K D).carrier := by infer_instance simpa [includeLeft_subgroup] using AddSubgroup.isClosed_of_disc...
451
leanexplore_declaration
leanexplore:380673
leanexplore_sqlite
leanexplore_declarations
lemma T_finite : Set.Finite (T K D) := by have h := IsCompact.finite (T_finite_extracted1 K D) ⟨(inter_Discrete (includeLeft_subgroup K D).carrier (Y K D))⟩ have h1 : Units.val '' T K D ⊆ (Y K D) ∩ (Set.range (Algebra.TensorProduct.includeLeft : D →ₐ[K] D_𝔸)) := by rintro _ ⟨t, ⟨ht1, d, rfl⟩, rfl⟩ ...
165
leanexplore_declaration
leanexplore:380674
leanexplore_sqlite
leanexplore_declarations
/-- An auxiliary set C used in the proof of Fukisaki's lemma. Defined as T⁻¹X × X. -/ def C : Set (D_𝔸 × D_𝔸) := ((((↑) : D_𝔸ˣ → D_𝔸) '' (T K D)⁻¹) * X K D) ×ˢ X K D
454
leanexplore_declaration
leanexplore:380675
leanexplore_sqlite
leanexplore_declarations
lemma C_compact : IsCompact (C K D) := by refine IsCompact.prod ?_ (X_compact K D) simpa only [Pi.mul_def, Set.image_prod, Set.image2_mul] using (IsCompact.image_of_continuousOn (IsCompact.prod (IsCompact.image_of_continuousOn (IsCompact.inv (Set.Finite.isCompact (T_finite K D))) (Continuous.comp_continuous...
1,401
leanexplore_declaration
leanexplore:380676
leanexplore_sqlite
leanexplore_declarations
lemma antidiag_mem_C [Algebra.IsCentral K D] {β : D_𝔸ˣ} (hβ : β ∈ ringHaarChar_ker D_𝔸) : ∃ b ∈ Set.range (incl K D : Dˣ → D_𝔸ˣ), ∃ ν ∈ ringHaarChar_ker D_𝔸, β = b * ν ∧ ((ν : D_𝔸), ((ν⁻¹ : D_𝔸ˣ) : D_𝔸)) ∈ C K D := by obtain ⟨x1, hx1, b1, ⟨b1, rfl⟩, eq1⟩ := X_meets_kernel K D hβ obtain ⟨x2, hx2, ...
217
leanexplore_declaration
leanexplore:380677
leanexplore_sqlite
leanexplore_declarations
/-- The inclusion of `ringHaarChar_ker D_𝔸` into the product space `D_𝔸 × D_𝔸ᵐᵒᵖ`. -/ def incl₂ : ringHaarChar_ker D_𝔸 → Prod D_𝔸 D_𝔸ᵐᵒᵖ := fun u => Units.embedProduct D_𝔸 (Subgroup.subtype (ringHaarChar_ker D_𝔸) u)
189
leanexplore_declaration
leanexplore:380678
leanexplore_sqlite
leanexplore_declarations
/-- An auxiliary set used in the proof of compact_quotient'. -/ def M : Set (ringHaarChar_ker D_𝔸) := Set.preimage (incl₂ K D) (Set.image (fun p => (p.1, MulOpposite.op p.2)) (Aux.C K D))
361
leanexplore_declaration
leanexplore:380679
leanexplore_sqlite
leanexplore_declarations
/-- The map from `ringHaarChar_ker D_𝔸` to the quotient `Dˣ \ ringHaarChar_ker D_𝔸`. -/ abbrev toQuot (a : ringHaarChar_ker D_𝔸) : (_root_.Quotient (QuotientGroup.rightRel ((MonoidHom.range (incl K D)).comap (ringHaarChar_ker D_𝔸).subtype))) := (Quotient.mk (QuotientGroup.rightRel ((MonoidHom.range (incl K D)...
82
leanexplore_declaration
leanexplore:380680
leanexplore_sqlite
leanexplore_declarations
lemma toQuot_cont : Continuous (toQuot K D) where isOpen_preimage := fun _ a ↦ a
980
leanexplore_declaration
leanexplore:380681
leanexplore_sqlite
leanexplore_declarations
lemma toQuot_surjective [Algebra.IsCentral K D] : (toQuot K D) '' (M K D) = Set.univ := by rw [Set.eq_univ_iff_forall] rintro ⟨a, ha⟩ obtain ⟨c, hc, ν, hν, rfl, h31⟩ := Aux.antidiag_mem_C K D ha simp only [toQuot, Subgroup.comap_subtype, Set.mem_image, Subtype.exists] refine ⟨ν, hν, ?_, ?_ ⟩ · simp only [M,...
600
leanexplore_declaration
leanexplore:380682
leanexplore_sqlite
leanexplore_declarations
lemma incl₂_isClosedEmbedding : Topology.IsClosedEmbedding (incl₂ K D) := by apply Units.isClosedEmbedding_embedProduct.comp refine Topology.IsClosedEmbedding.of_continuous_injective_isClosedMap (continuous_iff_le_induced.mpr fun U a ↦ a) (Subgroup.subtype_injective (ringHaarChar_ker (D ⊗[K] AdeleRing (𝓞 K...
140
leanexplore_declaration
leanexplore:380683
leanexplore_sqlite
leanexplore_declarations
lemma ImAux_isCompact : IsCompact ((fun p ↦ (p.1, MulOpposite.op p.2)) '' Aux.C K D) := IsCompact.image (Aux.C_compact K D) <| by fun_prop
138
leanexplore_declaration
leanexplore:380684
leanexplore_sqlite
leanexplore_declarations
lemma M_compact : IsCompact (M K D) := Topology.IsClosedEmbedding.isCompact_preimage (incl₂_isClosedEmbedding K D) (ImAux_isCompact K D)
181
leanexplore_declaration
leanexplore:380685
leanexplore_sqlite
leanexplore_declarations
/-- The restriction of ringHaarChar_ker D_𝔸 to (D ⊗ 𝔸_K^∞)ˣ via D𝔸_iso_prod_units. -/ abbrev rest₁ : ringHaarChar_ker D_𝔸 → Dfx K D := fun a => (D𝔸_prodRight_units K D) a.val |>.2
156
leanexplore_declaration
leanexplore:380686
leanexplore_sqlite
leanexplore_declarations
lemma rest₁_continuous : Continuous (rest₁ K D) := Continuous.comp continuous_snd (Continuous.comp (D𝔸_prodRight_units_cont K D) continuous_subtype_val)
241
leanexplore_declaration
leanexplore:380687
leanexplore_sqlite
leanexplore_declarations
lemma ringHaarChar_D𝔸_prodRight_units_aux (r : ℝ) (h : r > 0) : ∃ y, ringHaarChar ((D𝔸_prodRight_units K D).symm (y,1)) = r := by obtain ⟨ρ, hρ⟩ := ringHaarChar_D𝔸_real_surjective K D r h use ((Units.map (algebraMap ℝ (Dinf K D))) ρ)
819
leanexplore_declaration
leanexplore:380688
leanexplore_sqlite
leanexplore_declarations
lemma rest₁_surjective : Function.Surjective (rest₁ K D) := by intro x simp only [Subtype.exists] set r : ℝ≥0 := ringHaarChar ((D𝔸_prodRight_units K D).symm (1,x)) with hr_def have hr : r > 0 := addEquivAddHaarChar_pos _ obtain ⟨y, hy⟩ : ∃ y, ringHaarChar ((D𝔸_prodRight_units K D).symm (y,1)) = r := by ...
864
leanexplore_declaration
leanexplore:380689
leanexplore_sqlite
leanexplore_declarations
lemma incl_D𝔸quot_equivariant : ∀ (a b : ↥(ringHaarChar_ker D_𝔸)), (QuotientGroup.rightRel (Subgroup.comap (ringHaarChar_ker D_𝔸).subtype (AdeleRing.DivisionAlgebra.Aux.incl K D).range)) a b → (Quotient.mk (QuotientGroup.rightRel (incl₁ K D).range) (rest₁ K D a) = Quotient.mk (QuotientGroup.rightRel...
418
leanexplore_declaration
leanexplore:380690
leanexplore_sqlite
leanexplore_declarations
/-- The obvious map Dˣ \ D_𝔸^(1) to Dˣ \ (Dfx K D). -/ abbrev incl_D𝔸quot : Quotient (QuotientGroup.rightRel ((MonoidHom.range (NumberField.AdeleRing.DivisionAlgebra.Aux.incl K D)).comap (ringHaarChar_ker D_𝔸).subtype)) → Quotient (QuotientGroup.rightRel (incl₁ K D).range) := Quot.lift (fun a => Qu...
215
leanexplore_declaration
leanexplore:380691
leanexplore_sqlite
leanexplore_declarations
lemma incl_D𝔸quot_continuous : Continuous (incl_D𝔸quot K D) := by refine Continuous.quotient_lift ?_ (incl_D𝔸quot_equivariant K D) exact Continuous.comp' ({isOpen_preimage := fun s a ↦ a}) (rest₁_continuous K D)
464
leanexplore_declaration
leanexplore:380692
leanexplore_sqlite
leanexplore_declarations
lemma incl_D𝔸quot_surjective : Function.Surjective (incl_D𝔸quot K D) := by refine (Quot.surjective_lift (f := fun a => Quotient.mk (QuotientGroup.rightRel (incl₁ K D).range) (rest₁ K D a)) (incl_D𝔸quot_equivariant K D)).mpr ?_ refine Set.range_eq_univ.mp ?_ ext x simp only [Set.mem_range, Subtype.exists,...
359
leanexplore_declaration
leanexplore:380693
leanexplore_sqlite
leanexplore_declarations
/-- Dˣ \ D_𝔸^{(1)} is compact. -/ lemma compact_quotient [Algebra.IsCentral K D] : CompactSpace (_root_.Quotient (QuotientGroup.rightRel ((MonoidHom.range (incl K D)).comap (ringHaarChar_ker D_𝔸).subtype))) := isCompact_univ_iff.mp (by simpa only [toQuot_surjective, Set.image_univ] using (((IsCompact.im...
463
leanexplore_declaration
leanexplore:380694
leanexplore_sqlite
leanexplore_declarations
/-- Dˣ \ D_𝔸^fˣ is compact. -/ theorem _root_.NumberField.FiniteAdeleRing.DivisionAlgebra.units_cocompact : CompactSpace (_root_.Quotient (QuotientGroup.rightRel (incl₁ K D).range)) := by have := isCompact_univ_iff.mpr (NumberField.AdeleRing.DivisionAlgebra.compact_quotient K D) apply isCompact_univ_iff.mp h...
948
leanexplore_declaration
leanexplore:380695
leanexplore_sqlite
leanexplore_declarations
theorem _root_.NumberField.FiniteAdeleRing.DivisionAlgebra.finiteDoubleCoset {U : Subgroup (Dfx K D)} (hU : IsOpen (U : Set (Dfx K D))) : Finite (DoubleCoset.Quotient (Set.range (incl₁ K D)) U) := by have ToFinCover := IsCompact.elim_finite_subcover (ι := (DoubleCoset.Quotient (Set.range (incl₁ K D)) U)) ...
85
leanexplore_declaration
leanexplore:380696
leanexplore_sqlite
leanexplore_declarations
abbrev WeierstrassCurve.n_torsion (n : ℕ) : Type u := Submodule.torsionBy ℤ (E ⟮k⟯) n
132
leanexplore_declaration
leanexplore:380697
leanexplore_sqlite
leanexplore_declarations
noncomputable instance (n : ℕ) : Module (ZMod n) (E.n_torsion n) := AddCommGroup.zmodModule <| by intro ⟨P, hP⟩ simpa using hP
96
leanexplore_declaration
leanexplore:380698
leanexplore_sqlite
leanexplore_declarations
theorem WeierstrassCurve.n_torsion_finite {n : ℕ} (hn : 0 < n) : Finite (E.n_torsion n) := sorry
128
leanexplore_declaration
leanexplore:380699
leanexplore_sqlite
leanexplore_declarations
theorem WeierstrassCurve.n_torsion_card [IsSepClosed k] {n : ℕ} (hn : (n : k) ≠ 0) : Nat.card (E.n_torsion n) = n^2 := sorry
232
leanexplore_declaration
leanexplore:380700
leanexplore_sqlite
leanexplore_declarations
theorem group_theory_lemma {A : Type*} [AddCommGroup A] {n : ℕ} (hn : 0 < n) (r : ℕ) (h : ∀ d : ℕ, d ∣ n → Nat.card (Submodule.torsionBy ℤ A d) = d ^ r) : Nonempty ((Submodule.torsionBy ℤ A n) ≃+ (Fin r → (ZMod n))) := sorry
446
leanexplore_declaration
leanexplore:380701
leanexplore_sqlite
leanexplore_declarations
theorem WeierstrassCurve.n_torsion_dimension [IsSepClosed k] {n : ℕ} (hn : (n : k) ≠ 0) : Nonempty (E.n_torsion n ≃+ (ZMod n) × (ZMod n)) := by obtain ⟨φ⟩ : Nonempty (E.n_torsion n ≃+ (Fin 2 → (ZMod n))) := by apply group_theory_lemma (Nat.pos_of_ne_zero fun h ↦ by simp [h] at hn) intro d hd apply E.n...
80
leanexplore_declaration
leanexplore:380702
leanexplore_sqlite
leanexplore_declarations
noncomputable instance (n : ℕ) : Module.Finite (ZMod n) (E.n_torsion n) := sorry
339
leanexplore_declaration
leanexplore:380703
leanexplore_sqlite
leanexplore_declarations
/-- The map on points for an elliptic curve over `k` induced by a morphism of `k`-algebras is a group homomorphism. -/ noncomputable def WeierstrassCurve.Points.map {K L : Type u} [Field K] [Field L] [Algebra k K] [Algebra k L] [DecidableEq K] [DecidableEq L] (f : K →ₐ[k] L) : E ⟮K⟯ →+ E ⟮L⟯ := WeierstrassCurve...
228
leanexplore_declaration
leanexplore:380704
leanexplore_sqlite
leanexplore_declarations
lemma WeierstrassCurve.Points.map_id (K : Type u) [Field K] [DecidableEq K] [Algebra k K] : WeierstrassCurve.Points.map E (AlgHom.id k K) = AddMonoidHom.id _ := by ext exact WeierstrassCurve.Affine.Point.map_id _
429
leanexplore_declaration
leanexplore:380705
leanexplore_sqlite
leanexplore_declarations
lemma WeierstrassCurve.Points.map_comp (K L M : Type u) [Field K] [Field L] [Field M] [DecidableEq K] [DecidableEq L] [DecidableEq M] [Algebra k K] [Algebra k L] [Algebra k M] (f : K →ₐ[k] L) (g : L →ₐ[k] M) : (WeierstrassCurve.Affine.Point.map g).comp (WeierstrassCurve.Affine.Point.map f) = Weierstrass...
284
leanexplore_declaration
leanexplore:380706
leanexplore_sqlite
leanexplore_declarations
/-- The Galois action on the points of an elliptic curve. -/ noncomputable instance WeierstrassCurve.galoisRepresentation_smul (K : Type u) [Field K] [DecidableEq K] [Algebra k K] : SMul (K ≃ₐ[k] K) (E ⟮K⟯) := ⟨ fun g P ↦ WeierstrassCurve.Affine.Point.map (g : K →ₐ[k] K) P⟩
352
leanexplore_declaration
leanexplore:380707
leanexplore_sqlite
leanexplore_declarations
/-- The Galois action on the points of an elliptic curve. -/ noncomputable instance WeierstrassCurve.galoisRepresentation (K : Type u) [Field K] [DecidableEq K] [Algebra k K] : DistribMulAction (K ≃ₐ[k] K) (E ⟮K⟯) where one_smul := sorry -- these should all be easy mul_smul := sorry smul_zero ...
351
leanexplore_declaration
leanexplore:380708
leanexplore_sqlite
leanexplore_declarations
/-- The continuous Galois representation associated to an elliptic curve over a field. -/ def WeierstrassCurve.galoisRep {K : Type u} [Field K] (E : WeierstrassCurve K) [E.IsElliptic] [DecidableEq K] [DecidableEq (AlgebraicClosure K)] (n : ℕ) (hn : 0 < n) : GaloisRep K (ZMod n) ((E.map (algebraMap K (AlgebraicClo...
2,028
leanexplore_declaration
leanexplore:380709
leanexplore_sqlite
leanexplore_declarations
/-- A 2-dimensional Galois representation `ρ` of the absolute Galois group of a totally real field of even degree is said to be automorphic if it comes from a weight 2 trivial character square-free level automorphic form on a totally definite quaternion algebra of discriminant 1. More precisely, the level at each bad p...
182
leanexplore_declaration
leanexplore:380710
leanexplore_sqlite
leanexplore_declarations
instance {F E D : Type*} [Field F] [Field E] [Algebra F E] [Ring D] [Algebra F D] [IsQuaternionAlgebra F D] : IsQuaternionAlgebra E (E ⊗[F] D) := sorry -- Ask Edison?
88
leanexplore_declaration
leanexplore:380711
leanexplore_sqlite
leanexplore_declarations
noncomputable instance : NormedSpace ℚ_[p] (PadicAlgCl p) := spectralNorm.normedSpace ..
156
leanexplore_declaration
leanexplore:380712
leanexplore_sqlite
leanexplore_declarations
instance : ContinuousSMul ℤ_[p] (AlgebraicClosure ℚ_[p]) := continuousSMul_of_algebraMap _ _ ((continuous_algebraMap ℚ_[p] _).comp continuous_subtype_val)
3,743
leanexplore_declaration
leanexplore:380713
leanexplore_sqlite
leanexplore_declarations
/-- Cyclic base change. Let `E/F` be a finite solvable extension of totally real fields of even degree, let `p>2` be a prime and let `ρ : Gal(F-bar/F) -> GL_2(Q_p-bar)` be a continuous representation, which is irreducible even when restricted to `Gal(E-bar/E)`. Let `S` be a finite set of finite places of `F`, not divi...
282
leanexplore_declaration
leanexplore:380714
leanexplore_sqlite
leanexplore_declarations
lemma IsAlgClosed.card_rootsOfUnity (N : ℕ) [NeZero N] : Fintype.card (rootsOfUnity N L) = N := by obtain ⟨z, hz⟩ : ∃ z : L, IsPrimitiveRoot z N := IsCyclotomicExtension.exists_isPrimitiveRoot L _ (show _ ∈ ⊤ by simp) (NeZero.ne N) exact IsPrimitiveRoot.card_rootsOfUnity hz
97
leanexplore_declaration
leanexplore:380715
leanexplore_sqlite
leanexplore_declarations
@[norm_cast] lemma PNat.coe_dvd_iff (A B : ℕ+) : (A : ℕ) ∣ B ↔ A ∣ B := by exact Iff.symm dvd_iff
202
leanexplore_declaration
leanexplore:380716
leanexplore_sqlite
leanexplore_declarations
lemma rootsOfUnity.pow_eq_pow {a b c : ℕ} {G : Type} [Group G] {t : G} (h : t ^ a = 1) (h2 : b ≡ c [MOD a]) : t ^ b = t ^ c := by rw [pow_eq_pow_mod b h, pow_eq_pow_mod c h] exact congr_arg _ h2
224
leanexplore_declaration
leanexplore:380717
leanexplore_sqlite
leanexplore_declarations
lemma PNat.castHom_val_modEq {D : ℕ} {N : ℕ+} (h : D ∣ N) (e : ZMod N) : (ZMod.castHom h _ e : ZMod D).val ≡ e.val [MOD D] := by rw [ZMod.castHom_apply, ZMod.cast_eq_val, ZMod.val_natCast] exact Nat.mod_modEq e.val D
622
leanexplore_declaration
leanexplore:380718
leanexplore_sqlite
leanexplore_declarations
/-- The cyclotomic character -/ noncomputable def CyclotomicCharacter_aux : (L ≃+* L) →* ZHat where toFun g := ⟨fun N ↦ modularCyclotomicCharacter L (IsAlgClosed.card_rootsOfUnity L N) g, by intros D M h apply modularCyclotomicCharacter.unique intros t htD -- norm_cast at h rw [modularCyclotomicCha...
106
leanexplore_declaration
leanexplore:380719
leanexplore_sqlite
leanexplore_declarations
noncomputable def CyclotomicCharacterZHat : (L ≃+* L) →* ZHatˣ := (CyclotomicCharacter_aux L).toHomUnits
137
leanexplore_declaration
leanexplore:380720
leanexplore_sqlite
leanexplore_declarations
/-- Z2bar is the ring of integers of `ℚ_[2]ᵃˡᵍ`. -/ noncomputable abbrev Z2bar : ValuationSubring (ℚ_[2]ᵃˡᵍ) := Valued.v.valuationSubring
286
leanexplore_declaration
leanexplore:380721
leanexplore_sqlite
leanexplore_declarations
instance : MulAction (Γ ℚ_[2]) Z2bar where smul g z := ⟨g z, by obtain ⟨z, hz⟩ := z rw [Valuation.mem_valuationSubring_iff] at hz ⊢ convert hz using 1 apply NNReal.coe_injective exact (spectralNorm_eq_of_equiv g z).symm⟩ one_smul z := rfl mul_smul g h z := rfl
1,952
leanexplore_declaration
leanexplore:380722
leanexplore_sqlite
leanexplore_declarations
/-- Let `R` be a compact Hausdorff local topological ring (for example any complete Noetherian local ring with the maximal ideal-adic topology) having finite residue field of characteristic `ℓ > 2`, and let `ρ : Gal(Qbar/Q) → GL_2(R)` be a continuous 2-dimensional representation. We say that `ρ` is *hardly ramified* if...
1,920
leanexplore_declaration
leanexplore:380723
leanexplore_sqlite
leanexplore_declarations
theorem mem_isCompatible (hρ : IsHardlyRamified hpodd hv ρ) : -- Then `ρ` lives in a compatible family of Galois representations -- i.e., there's a family σ of 2-dimensional representations of Γ_ℚ -- parametrised by maps from a number field M → ℚ_p-bar ∃ (E : Type v) (_ : Field E) (_ : NumberField E) (σ...
169
leanexplore_declaration
leanexplore:380724
leanexplore_sqlite
leanexplore_declarations
/-- The natural `ℤ_p`-algebra structure on `ℤ/pℤ`. -/ noncomputable local instance (p : ℕ) [Fact p.Prime] : Algebra ℤ_[p] (ZMod p) := RingHom.toAlgebra PadicInt.toZMod
275
leanexplore_declaration
leanexplore:380725
leanexplore_sqlite
leanexplore_declarations
/-- We cannot hope to make a constructive decidable equality on `AlgebraicClosure ℚ` because it is defined in a completely nonconstructive way, so we add the classical instance. -/ noncomputable local instance : DecidableEq (AlgebraicClosure ℚ) := Classical.typeDecidableEq _
192
leanexplore_declaration
leanexplore:380726
leanexplore_sqlite
leanexplore_declarations
theorem FreyCurve.torsion_isHardlyRamified : haveI : Fact (P.p.Prime) := ⟨P.pp⟩ IsHardlyRamified P.hp_odd sorry (P.freyCurve.galoisRep P.p (show 0 < P.p from P.hppos)) := sorry
180
leanexplore_declaration
leanexplore:380727
leanexplore_sqlite
leanexplore_declarations
theorem FreyCurve.torsion_not_isIrreducible : haveI : Fact (P.p.Prime) := ⟨P.pp⟩ ¬ GaloisRep.IsIrreducible (P.freyCurve.galoisRep P.p P.hppos) := sorry -- TODO prove this
800
leanexplore_declaration
leanexplore:380728
leanexplore_sqlite
leanexplore_declarations
/-- An irreducible mod p hardly ramified representation lifts to a p-adic one. -/ theorem lifts (ρ : GaloisRep ℚ k V) (hρirred : ρ.IsIrreducible) (hρ : IsHardlyRamified hpodd hV ρ) : ∃ (R : Type u) (_ : CommRing R) (_ : IsLocalRing R) (_ : TopologicalSpace R) (_ : IsTopologicalRing R) (_ : Algebra ℤ...
557
leanexplore_declaration
leanexplore:380729
leanexplore_sqlite
leanexplore_declarations
/-- A mod 3 hardly ramified representation is an extension of trivial by cyclo -/ -- Probably `Field k` can be replaced with `(3 : k) = 0` theorem mod_three {k : Type u} [Finite k] [Field k] [Algebra ℤ_[3] k] -- [TopologicalSpace k] [DiscreteTopology k] (V : Type*) [AddCommGroup V] [Module k V] [Module.Finite k...
667
leanexplore_declaration
leanexplore:380730
leanexplore_sqlite
leanexplore_declarations
/-- A 3-adic hardly ramified representation has trace(Frob_p) = 1 + p for all p ≠ 2,3 -/ theorem three_adic {R : Type*} [CommRing R] [Algebra ℤ_[3] R] [Module.Finite ℤ_[3] R] [Module.Free ℤ_[3] R] [TopologicalSpace R] [IsTopologicalRing R] [IsLocalRing R] [IsModuleTopology ℤ_[3] R] (V : Type*) [AddCommGroup...
333
leanexplore_declaration
leanexplore:380731
leanexplore_sqlite
leanexplore_declarations
/-- The action of a Lie `R`-algebra on a Lie `R`-module, as an `R`-bilinear map. -/ @[simps!] def bracketBilin (R L M) [CommRing R] [LieRing L] [LieAlgebra R L] [AddCommGroup M] [Module R M] [LieRingModule L M] [LieModule R L M] : L →ₗ[R] M →ₗ[R] M := LinearMap.mk₂ _ (Bracket.bracket) add_lie smul_lie lie...
175
leanexplore_declaration
leanexplore:380732
leanexplore_sqlite
leanexplore_declarations
@[simps!] def bracketBilin (R L M) [CommRing R] [LieRing L] [LieAlgebra R L] [AddCommGroup M] [Module R M] [LieRingModule L M] [LieModule R L M] : L →ₗ[R] M →ₗ[R] M :=
460
leanexplore_declaration
leanexplore:380735
leanexplore_sqlite
leanexplore_declarations
noncomputable instance instLieAlgebra' (S R A L : Type*) [CommRing S] [CommRing R] [CommRing A] [Algebra R A] [LieRing L] [LieAlgebra R L] [Algebra S A] [SMulCommClass R S A] : LieAlgebra S (A ⊗[R] L) where lie_smul a x y := by induction x using TensorProduct.induction_on generalizing y · simp ·...
493
leanexplore_declaration
leanexplore:380736
leanexplore_sqlite
leanexplore_declarations
theorem diamond_fix : LieAlgebra.ExtendScalars.instBracketTensorProduct R A B B = Ring.instBracket := by ext x y conv_lhs => rw [← @bracketBilin_apply_apply R _ _ _ _] rw [← @bracketBilin_apply_apply R _ _ _ (_) (.ofAssociativeAlgebra) _ _ (_) (_) x y] rotate_left · exact @lieAlgebraSelfModule .. refine...
203
leanexplore_declaration
leanexplore:380737
leanexplore_sqlite
leanexplore_declarations
def action : LeftInvariantDerivation 𝓘(ℝ, E) G →ₗ⁅ℝ⁆ (Module.End ℝ C^∞⟮𝓘(ℝ, E), G; ℝ⟯) where toFun l := Derivation.toLinearMap l map_add' _ _ := rfl map_smul' _ _ := rfl map_lie' {_ _} := rfl
719
leanexplore_declaration
leanexplore:380738
leanexplore_sqlite
leanexplore_declarations
def LieModuleHom.baseChange (A : Type*) {R L M N : Type*} [CommRing R] [CommRing A] [Algebra R A] [LieRing L] [LieAlgebra R L] [AddCommGroup M] [Module R M] [LieRingModule L M] [LieModule R L M] [AddCommGroup N] [Module R N] [LieRingModule L N] [LieModule R L N] (f : M →ₗ⁅R,L⁆ N) : A ⊗[R] M →ₗ⁅A...
562
leanexplore_declaration
leanexplore:380739
leanexplore_sqlite
leanexplore_declarations
def LieHom.baseChange (A : Type*) {R L L' : Type*} [CommRing R] [CommRing A] [Algebra R A] [LieRing L] [LieAlgebra R L] [LieRing L'] [LieAlgebra R L'] (f : L →ₗ⁅R⁆ L') : A ⊗[R] L →ₗ⁅A⁆ A ⊗[R] L' where __ := (LinearMap.baseChange A f : A ⊗[R] L →ₗ[A] A ⊗[R] L') map_lie' := by simp only [AddHo...
151
leanexplore_declaration
leanexplore:380740
leanexplore_sqlite
leanexplore_declarations
def actionTensorC : ℂ ⊗[ℝ] LeftInvariantDerivation 𝓘(ℝ, E) G →ₗ⁅ℂ⁆ (ℂ ⊗[ℝ] (Module.End ℝ C^∞⟮𝓘(ℝ, E), G; ℝ⟯)) := LieHom.baseChange _ (action _ _)
553
leanexplore_declaration
leanexplore:380741
leanexplore_sqlite
leanexplore_declarations
def actionTensorCAlg : UniversalEnvelopingAlgebra ℂ (ℂ ⊗[ℝ] LeftInvariantDerivation 𝓘(ℝ, E) G) →ₐ[ℂ] ℂ ⊗[ℝ] (Module.End ℝ C^∞⟮𝓘(ℝ, E), G; 𝓘(ℝ, ℝ), ℝ⟯) := by have := actionTensorC G E; revert this convert ⇑(UniversalEnvelopingAlgebra.lift ℂ (L := ℂ ⊗[ℝ] LeftInvariantDerivation 𝓘(ℝ, E) G) (A := ℂ ⊗[...
222
leanexplore_declaration
leanexplore:380742
leanexplore_sqlite
leanexplore_declarations
def actionTensorCAlg' : UniversalEnvelopingAlgebra ℂ (ℂ ⊗[ℝ] LeftInvariantDerivation 𝓘(ℝ, E) G) →ₐ[ℂ] Module.End ℂ (ℂ ⊗[ℝ] C^∞⟮𝓘(ℝ, E), G; 𝓘(ℝ, ℝ), ℝ⟯) := (LinearMap.tensorProductEnd ..).comp (actionTensorCAlg G E)
242
leanexplore_declaration
leanexplore:380743
leanexplore_sqlite
leanexplore_declarations
def actionTensorCAlg'2 : Subalgebra.center ℂ (UniversalEnvelopingAlgebra ℂ (ℂ ⊗[ℝ] LeftInvariantDerivation 𝓘(ℝ, E) G)) →ₐ[ℂ] Module.End ℂ (ℂ ⊗[ℝ] C^∞⟮𝓘(ℝ, E), G; 𝓘(ℝ, ℝ), ℝ⟯) := (actionTensorCAlg' G E).comp (SubalgebraClass.val _)
64
leanexplore_declaration
leanexplore:380744
leanexplore_sqlite
leanexplore_declarations
instance : Module ℝ C^∞⟮𝓘(ℝ, E), G; 𝓘(ℝ, ℝ), ℝ⟯ := inferInstance
56
leanexplore_declaration
leanexplore:380745
leanexplore_sqlite
leanexplore_declarations
instance : Module ℂ C^∞⟮𝓘(ℝ, E), G; 𝓘(ℝ, ℂ), ℂ⟯ := sorry
82
leanexplore_declaration
leanexplore:380746
leanexplore_sqlite
leanexplore_declarations
def Alg := UniversalEnvelopingAlgebra ℂ (ℂ ⊗[ℝ] LeftInvariantDerivation 𝓘(ℝ, E) G)