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
240
leanexplore_declaration
leanexplore:380544
leanexplore_sqlite
leanexplore_declarations
@[simp] lemma GaloisRep.baseChange_tmul [IsTopologicalRing B] [Algebra A B] [ContinuousSMul A B] [Module.Finite A M] [Module.Free A M] (ρ : GaloisRep K A M) (σ : Γ K) (r : B) (x : M) : ρ.baseChange B σ (r ⊗ₜ x) = r ⊗ₜ (ρ σ x) := rfl
233
leanexplore_declaration
leanexplore:380545
leanexplore_sqlite
leanexplore_declarations
lemma GaloisRep.ker_baseChange [IsTopologicalRing B] [Algebra A B] [ContinuousSMul A B] [Module.Finite A M] [Module.Free A M] (ρ : GaloisRep K A M) : ρ.ker ≤ (ρ.baseChange B).ker := by intro _; simp +contextual [baseChange]
226
leanexplore_declaration
leanexplore:380546
leanexplore_sqlite
leanexplore_declarations
lemma GaloisRep.baseChange_map [IsTopologicalRing B] [Algebra A B] [ContinuousSMul A B] [Module.Finite A M] [Module.Free A M] (ρ : GaloisRep K A M) (f : K →+* L) : (ρ.baseChange B).map f = (ρ.map f).baseChange B := rfl
366
leanexplore_declaration
leanexplore:380547
leanexplore_sqlite
leanexplore_declarations
/-- Make a framed `n` dimensional `A`-linear galois rep into a `B`-linear rep by composing with `GLₙ(A) → GLₙ(B)`. -/ noncomputable def FramedGaloisRep.baseChange [IsTopologicalRing B] (ρ : FramedGaloisRep K A n) (f : A →+* B) (hf : Continuous f) : FramedGaloisRep K B n := .ofGL (.comp (Units.mapₜ ⟨f.mapMatrix.to...
217
leanexplore_declaration
leanexplore:380548
leanexplore_sqlite
leanexplore_declarations
@[simp] lemma FramedGaloisRep.baseChange_GL [IsTopologicalRing B] (ρ : FramedGaloisRep K A n) (f : A →+* B) (hf : Continuous f) {σ i j} : (ρ.baseChange f hf).GL σ i j = f (ρ.GL σ i j) := by simp [baseChange]
387
leanexplore_declaration
leanexplore:380549
leanexplore_sqlite
leanexplore_declarations
lemma GaloisRep.frame_baseChange [IsTopologicalRing B] [Algebra A B] [ContinuousSMul A B] [Module.Finite A M] [Module.Free A M] (ρ : GaloisRep K A M) (b : Module.Basis n A M) : (ρ.baseChange B).frame (b.baseChange B) = (ρ.frame b).baseChange _ (continuous_algebraMap A B) := by apply FramedGaloisRep....
456
leanexplore_declaration
leanexplore:380550
leanexplore_sqlite
leanexplore_declarations
lemma FramedGaloisRep.baseChange_def [IsTopologicalRing B] (ρ : FramedGaloisRep K A n) (f : A →+* B) (hf : Continuous f) : ρ.baseChange f hf = letI := f.toAlgebra haveI : ContinuousSMul A B := continuousSMul_of_algebraMap A B hf (GaloisRep.baseChange B ρ).frame ((Pi.basisFun A n).baseChange B)...
205
leanexplore_declaration
leanexplore:380551
leanexplore_sqlite
leanexplore_declarations
lemma FramedGaloisRep.baseChange_map [IsTopologicalRing B] (ρ : FramedGaloisRep K A n) (f : A →+* B) (hf : Continuous f) (g : K →+* L) : (ρ.baseChange f hf).map g = (ρ.map g).baseChange f hf := rfl
238
leanexplore_declaration
leanexplore:380552
leanexplore_sqlite
leanexplore_declarations
lemma Matrix.map_det {F α β n : Type*} [CommRing β] [CommRing α] [Fintype n] [DecidableEq n] (M : Matrix n n α) (f : F) [FunLike F α β] [RingHomClass F α β] : (M.map f).det = f M.det := (RingHom.map_det (f : α →+* β) M).symm
164
leanexplore_declaration
leanexplore:380553
leanexplore_sqlite
leanexplore_declarations
lemma LinearMap.trace_toLin' {R n : Type*} [CommSemiring R] [DecidableEq n] [Fintype n] (M : Matrix n n R) : LinearMap.trace _ _ M.toLin' = M.trace := by simp
349
leanexplore_declaration
leanexplore:380554
leanexplore_sqlite
leanexplore_declarations
lemma FramedGaloisRep.det_baseChange [IsTopologicalRing B] (ρ : FramedGaloisRep K A n) (f : A →+* B) (hf : Continuous f) : (ρ.baseChange f hf).det = .comp ⟨f, hf⟩ ρ.det := by ext σ dsimp [baseChange, GaloisRep.det] rw [GL_symm_apply] dsimp [← Matrix.toLin'_apply'] rw [LinearMap.det_toLin', Matrix.map_...
354
leanexplore_declaration
leanexplore:380555
leanexplore_sqlite
leanexplore_declarations
/-- Given a (global) galois rep, this is the local galois rep at a finite prime `v`. Note: this fixes an arbitrary embedding `Kᵃˡᵍ → Kᵥᵃˡᵍ`, or equivalently, an arbitrary choice of valuation on `Kᵃˡᵍ` extending `v`. -/ noncomputable abbrev GaloisRep.toLocal (ρ : GaloisRep K A M) (v : Ω K) : GaloisRep (v.adicCompletion ...
241
leanexplore_declaration
leanexplore:380556
leanexplore_sqlite
leanexplore_declarations
/-- The class of galois reps unramified at `v`. -/ class GaloisRep.IsUnramifiedAt (ρ : GaloisRep K A M) (v : Ω K) : Prop where localInertiaGroup_le : letI := moduleTopology A (Module.End A M) localInertiaGroup v ≤ (ρ.toLocal v).ker
216
leanexplore_declaration
leanexplore:380557
leanexplore_sqlite
leanexplore_declarations
instance (ρ : GaloisRep K A M) (v : Ω K) [ρ.IsUnramifiedAt v] (e : M ≃ₗ[A] N) : (ρ.conj e).IsUnramifiedAt v where localInertiaGroup_le := (GaloisRep.IsUnramifiedAt.localInertiaGroup_le (ρ := ρ)).trans (by simp)
316
leanexplore_declaration
leanexplore:380558
leanexplore_sqlite
leanexplore_declarations
instance [IsTopologicalRing B] [Algebra A B] [ContinuousSMul A B] [Module.Finite A M] [Module.Free A M] (ρ : GaloisRep K A M) (v : Ω K) [ρ.IsUnramifiedAt v] : (ρ.baseChange B).IsUnramifiedAt v := ⟨(GaloisRep.IsUnramifiedAt.localInertiaGroup_le (ρ := ρ)).trans (((ρ.toLocal v).ker_baseChange (B := B)))⟩
194
leanexplore_declaration
leanexplore:380559
leanexplore_sqlite
leanexplore_declarations
/-- The characteristic polynomial of the frobenious conjugacy class at `v` under `ρ`. -/ noncomputable def GaloisRep.charFrob (ρ : GaloisRep K A M) : Polynomial A := (ρ.toLocal v Frobᵥ).charpoly
534
leanexplore_declaration
leanexplore:380560
leanexplore_sqlite
leanexplore_declarations
lemma GaloisRep.charFrob_eq (ρ : GaloisRep K A M) [ρ.IsUnramifiedAt v] (σ : Γ Kᵥ) (hσ : IsArithFrobAt 𝒪ᵥ σ (𝔪 (IntegralClosure 𝒪ᵥ (Kᵥᵃˡᵍ)))) : (ρ.toLocal v σ).charpoly = ρ.charFrob v := by have := IsUnramifiedAt.localInertiaGroup_le (ρ := ρ) (hσ.mul_inv_mem_inertia (Field.AbsoluteGaloisGroup.isArithFro...
193
leanexplore_declaration
leanexplore:380561
leanexplore_sqlite
leanexplore_declarations
/-- The underlying space of a galois rep. This is a type class synonym that allows `G` to act on it via `ρ`. -/ @[nolint unusedArguments] def GaloisRep.Space (ρ : GaloisRep K A M) : Type _ := M
89
leanexplore_declaration
leanexplore:380562
leanexplore_sqlite
leanexplore_declarations
instance (ρ : GaloisRep K A M) : AddCommGroup ρ.Space := inferInstanceAs (AddCommGroup M)
322
leanexplore_declaration
leanexplore:380563
leanexplore_sqlite
leanexplore_declarations
noncomputable instance (ρ : GaloisRep K A M) : DistribMulAction (Γ K) ρ.Space where smul g v := ρ g v one_smul b := by unfold HSMul.hSMul; simp [instHSMul] mul_smul := by unfold HSMul.hSMul; simp [instHSMul] smul_zero := by unfold HSMul.hSMul; simp [instHSMul] smul_add := by unfold HSMul.hSMul; simp [instHSMu...
1,102
leanexplore_declaration
leanexplore:380564
leanexplore_sqlite
leanexplore_declarations
/-- A galois rep `ρ : Γ K → Aut_A(M)` has a flat prolongation at `v` if `M` (when viewed as a `Γ Kᵥ`) module is isomorphic to the geometric points of a finite etale hopf algebra over `Kᵥ`, and there exists an finite flat hopf algebra over `𝒪ᵥ` whose generic fiber is isomorphic to it. In particular this requires `M` (a...
298
leanexplore_declaration
leanexplore:380565
leanexplore_sqlite
leanexplore_declarations
/-- A galois rep `ρ : Γ K → Aut_A(M)` is flat at `v` if `A/I ⊗ M` has a flat prolongation at `v` for all open ideals `I`. -/ class GaloisRep.IsFlatAt [IsLocalRing A] (ρ : GaloisRep K A M) : Prop where cond : ∀ (I : Ideal A), IsOpen (I : Set A) → (ρ.baseChange (A ⧸ I)).HasFlatProlongationAt v
259
leanexplore_declaration
leanexplore:380566
leanexplore_sqlite
leanexplore_declarations
/-- A Galois representation is a representation (note that we are forgetting topological information here). -/ def GaloisRep.toRepresentation (ρ : GaloisRep K A M) : Representation A (Γ K) M := letI := moduleTopology A (Module.End A M) -- ?! ρ.toMonoidHom
215
leanexplore_declaration
leanexplore:380567
leanexplore_sqlite
leanexplore_declarations
/-- Irreducibility of a Galois representation over a field. -/ def GaloisRep.IsIrreducible {k : Type*} [Field k] [TopologicalSpace k] [Module k M] (ρ : GaloisRep K k M) : Prop := ρ.toRepresentation.IsIrreducible
551
leanexplore_declaration
leanexplore:380568
leanexplore_sqlite
leanexplore_declarations
/-- `GaloisRepFamily K E d` is an (unrelated) collection of d-dimensional p-adic Galois representations of the absolute Galois group of the field K, parametrised by field maps from the number field `E` into the algebraic closure of ℚ_p as p runs through the primes. -/ @[nolint unusedArguments] def GaloisRepFamily...
1,103
leanexplore_declaration
leanexplore:380569
leanexplore_sqlite
leanexplore_declarations
/-- A family `ρ_λ` of `E_λ`-adic Galois representations `GaloisRepFamily K E d` of the absolute Galois group of a number field `K` is *compatible* if there is a finite set `S` of finite places of `K` and, for each finite place `v` of `K` not in `S`, a monic degree `d` polynomial `P_v` with coefficients in `E`, such tha...
193
leanexplore_declaration
leanexplore:380570
leanexplore_sqlite
leanexplore_declarations
/-- `IntegralClosure R A` is the integral closure of `R` in `A` as a type. We don't use the subring directly to avoid horrendous timeouts. -/ def IntegralClosure : Type _ := integralClosure R A
77
leanexplore_declaration
leanexplore:380571
leanexplore_sqlite
leanexplore_declarations
instance : CommRing (IntegralClosure R A) := (integralClosure R A).toCommRing
75
leanexplore_declaration
leanexplore:380572
leanexplore_sqlite
leanexplore_declarations
instance : Algebra R (IntegralClosure R A) := (integralClosure R A).algebra
77
leanexplore_declaration
leanexplore:380573
leanexplore_sqlite
leanexplore_declarations
instance : Algebra (IntegralClosure R A) A := (integralClosure R A).toAlgebra
100
leanexplore_declaration
leanexplore:380574
leanexplore_sqlite
leanexplore_declarations
instance [IsDomain A] : IsDomain (IntegralClosure R A) := by delta IntegralClosure; infer_instance
99
leanexplore_declaration
leanexplore:380575
leanexplore_sqlite
leanexplore_declarations
instance : Algebra.IsIntegral R (IntegralClosure R A) := by delta IntegralClosure; infer_instance
93
leanexplore_declaration
leanexplore:380576
leanexplore_sqlite
leanexplore_declarations
instance : IsScalarTower R (IntegralClosure R A) A := (integralClosure R A).isScalarTower_mid
213
leanexplore_declaration
leanexplore:380577
leanexplore_sqlite
leanexplore_declarations
instance [FaithfulSMul R A] : FaithfulSMul R (IntegralClosure R A) := by refine (faithfulSMul_iff_algebraMap_injective _ _).mpr (.of_comp (f := algebraMap _ A) ?_) exact (FaithfulSMul.algebraMap_injective R A)
573
leanexplore_declaration
leanexplore:380578
leanexplore_sqlite
leanexplore_declarations
instance mulSemiringActionIntegralClosure {G R K : Type*} [CommRing R] [Field K] [Algebra R K] [Monoid G] [MulSemiringAction G K] [SMulCommClass G R K] : MulSemiringAction G (IntegralClosure R K) where smul σ x := ⟨σ • x.1, x.2.map (MulSemiringAction.toAlgHom R K σ)⟩ one_smul _ := Subtype.ext (one_smul ...
259
leanexplore_declaration
leanexplore:380579
leanexplore_sqlite
leanexplore_declarations
instance smulCommClass_integralClosure {G R K : Type*} [CommRing R] [Field K] [Algebra R K] [Monoid G] [MulSemiringAction G K] [SMulCommClass G R K] : SMulCommClass G R (IntegralClosure R K) where smul_comm _ _ _ := Subtype.ext (smul_comm _ _ _)
665
leanexplore_declaration
leanexplore:380580
leanexplore_sqlite
leanexplore_declarations
lemma not_isField_integralClosure {K L : Type*} [Field K] [Field L] [Algebra K L] (R : ValuationSubring K) (hR : R ≠ ⊤) : ¬ IsField (IntegralClosure R L) := by have : FaithfulSMul K L := inferInstance contrapose! hR letI := hR.toField let F := IsFractionRing.liftAlgHom (K := K) (g := Algebra.ofId R (Int...
639
leanexplore_declaration
leanexplore:380581
leanexplore_sqlite
leanexplore_declarations
instance isInvariant_integralClosure {G K L : Type*} [Field K] [Field L] [Algebra K L] [Group G] [MulSemiringAction G L] [SMulCommClass G K L] [Algebra.IsInvariant K L G] (R : ValuationSubring K) : Algebra.IsInvariant R (IntegralClosure R L) G where isInvariant := by rintro ⟨x, hx : IsIntegral _ _⟩ hx...
417
leanexplore_declaration
leanexplore:380582
leanexplore_sqlite
leanexplore_declarations
instance continuousSMulDiscrete_integralClosure {G R L : Type*} [CommRing R] [Field L] [Algebra R L] [Group G] [MulSemiringAction G L] [SMulCommClass G R L] [TopologicalSpace G] [ContinuousSMulDiscrete G L] : ContinuousSMulDiscrete G (IntegralClosure R L) where isOpen_smul_eq x y := by simpa only [Int...
225
leanexplore_declaration
leanexplore:380583
leanexplore_sqlite
leanexplore_declarations
instance {R S : Type*} [CommRing R] [CommRing S] {I : Ideal S} [Algebra R S] [Nontrivial R] [IsDomain S] [Algebra.IsIntegral R S] [NeZero I] : NeZero (I.under R) := ⟨fun H ↦ NeZero.ne I (Ideal.eq_bot_of_comap_eq_bot H)⟩
175
leanexplore_declaration
leanexplore:380584
leanexplore_sqlite
leanexplore_declarations
class IsAbsolutelyIrreducible (ρ : Representation k G W) : Prop where absolutelyIrreducible : ∀ k' : Type u, ∀ _ : Field k', ∀ _ : Algebra k k', IsIrreducible (k' ⊗ᵣ' ρ)
307
leanexplore_declaration
leanexplore:380585
leanexplore_sqlite
leanexplore_declarations
/-- The subfunctor defined by pulling back a subset of the terminal component. -/ def ofIsTerminal {X : C} (hX : Limits.IsTerminal X) (s : Set (F.obj X)) : Subfunctor F where obj U := F.map (hX.from U) ⁻¹' s map {U V} i := by simp only [← Set.preimage_comp, ← hX.comp_from i, F.map_comp] rfl
87
leanexplore_declaration
leanexplore:380586
leanexplore_sqlite
leanexplore_declarations
/-- `D_𝔸` is notation for `D ⊗[K] 𝔸_K`. -/ notation "D_𝔸" => (D ⊗[K] AdeleRing (𝓞 K) K)
81
leanexplore_declaration
leanexplore:380587
leanexplore_sqlite
leanexplore_declarations
/-- Df is notation for D ⊗ 𝔸_K^∞ -/ abbrev Df := D ⊗[K] (FiniteAdeleRing (𝓞 K) K)
64
leanexplore_declaration
leanexplore:380588
leanexplore_sqlite
leanexplore_declarations
/-- Dfx is notation for (D ⊗ 𝔸_K^∞)ˣ. -/ abbrev Dfx := (Df K D)ˣ
93
leanexplore_declaration
leanexplore:380589
leanexplore_sqlite
leanexplore_declarations
/-- Dinf is notation for D ⊗ 𝔸_K^∞ -/ abbrev Dinf := D ⊗[K] (NumberField.InfiniteAdeleRing K)
69
leanexplore_declaration
leanexplore:380590
leanexplore_sqlite
leanexplore_declarations
/-- Dinfx is notation for (D ⊗ 𝔸_K^∞)ˣ -/ abbrev Dinfx := (Dinf K D)ˣ
148
leanexplore_declaration
leanexplore:380591
leanexplore_sqlite
leanexplore_declarations
/-- The inclusion Dˣ → D_𝔸ˣ as a group homomorphism. -/ abbrev incl : Dˣ →* D_𝔸ˣ := Units.map Algebra.TensorProduct.includeLeftRingHom.toMonoidHom
174
leanexplore_declaration
leanexplore:380592
leanexplore_sqlite
leanexplore_declarations
/-- The inclusion Dˣ → (D ⊗ 𝔸_K^∞)ˣ as a group homomorphism. -/ noncomputable abbrev incl₁ : Dˣ →* Dfx K D := Units.map Algebra.TensorProduct.includeLeftRingHom.toMonoidHom
196
leanexplore_declaration
leanexplore:380593
leanexplore_sqlite
leanexplore_declarations
/-- The inclusion of K^n into 𝔸^n. -/ abbrev incl_Kn_𝔸Kn : (Fin (Module.finrank K D) → K) → (Fin (Module.finrank K D) → AdeleRing (𝓞 K) K) := fun x i ↦ algebraMap K (AdeleRing (𝓞 K) K) (x i)
257
leanexplore_declaration
leanexplore:380594
leanexplore_sqlite
leanexplore_declarations
/-- The ℝ-algebra structure on Dinf K D. -/ instance : Algebra ℝ (Dinf K D) := RingHom.toAlgebra' ((algebraMap (InfiniteAdeleRing K) (Dinf K D)).comp (algebraMap ℝ (InfiniteAdeleRing K))) <| by intro c x rw [RingHom.comp_apply, Algebra.commutes]
109
leanexplore_declaration
leanexplore:380595
leanexplore_sqlite
leanexplore_declarations
instance : IsScalarTower ℝ (InfiniteAdeleRing K) (Dinf K D) := IsScalarTower.of_algebraMap_eq (fun _ ↦ rfl)
113
leanexplore_declaration
leanexplore:380596
leanexplore_sqlite
leanexplore_declarations
/-- We put the Borel measurable space structure on D_𝔸 in this file. -/ instance : MeasurableSpace D_𝔸 := borel _
95
leanexplore_declaration
leanexplore:380598
leanexplore_sqlite
leanexplore_declarations
instance : Module.Finite ℝ (Dinf K D) := Module.Finite.trans (InfiniteAdeleRing K) (Dinf K D)
331
leanexplore_declaration
leanexplore:380599
leanexplore_sqlite
leanexplore_declarations
/-- Dinf K D has the ℝ-module topology. -/ instance : IsModuleTopology ℝ (Dinf K D) := by /- (InfiniteAdeleRing K) has the ℝ-module topology. Now since (Dinf K D) has the (InfiniteAdeleRing K)-module topolology it also has the ℝ-module topology. -/ rw [IsModuleTopology.trans ℝ (InfiniteAdeleRing K)] inf...
126
leanexplore_declaration
leanexplore:380600
leanexplore_sqlite
leanexplore_declarations
/-- Dinf K D is given the borel sigma algebra (for Haar measure). -/ instance : MeasurableSpace (Dinf K D) := borel (Dinf K D)
59
leanexplore_declaration
leanexplore:380601
leanexplore_sqlite
leanexplore_declarations
instance : BorelSpace (Dinf K D) := {measurable_eq := rfl }
120
leanexplore_declaration
leanexplore:380602
leanexplore_sqlite
leanexplore_declarations
/-- Df K D is given the borel sigma algebra (for Haar measure). -/ instance : MeasurableSpace (Df K D) := borel (Df K D)
58
leanexplore_declaration
leanexplore:380603
leanexplore_sqlite
leanexplore_declarations
instance : BorelSpace (Df K D) := { measurable_eq := rfl }
101
leanexplore_declaration
leanexplore:380604
leanexplore_sqlite
leanexplore_declarations
instance : SecondCountableTopology (Dinf K D) := Module.Finite.secondCountabletopology ℝ (Dinf K D)
287
leanexplore_declaration
leanexplore:380605
leanexplore_sqlite
leanexplore_declarations
theorem Kn_discrete : ∀ x : (Fin (Module.finrank K D) → K), ∃ U : Set (Fin (Module.finrank K D) → AdeleRing (𝓞 K) K), IsOpen U ∧ (incl_Kn_𝔸Kn K D)⁻¹' U = {x} := by exact (DiscretePi (algebraMap K (AdeleRing (𝓞 K) K)) (Module.finrank K D)) (NumberField.AdeleRing.discrete K)
133
leanexplore_declaration
leanexplore:380606
leanexplore_sqlite
leanexplore_declarations
/-- The K-algebra equivalence of D and K^n. -/ abbrev D_iso : (D ≃ₗ[K] ((Fin (Module.finrank K D) → K))) := Module.Finite.equivPi K D
304
leanexplore_declaration
leanexplore:380607
leanexplore_sqlite
leanexplore_declarations
/-- The 𝔸_K-algebra equivalence of D_𝔸 and 𝔸_K^d. -/ abbrev D𝔸_iso : (D_𝔸 ≃ₗ[(AdeleRing (𝓞 K) K)] ((Fin (Module.finrank K D) → AdeleRing (𝓞 K) K))) := ((TensorProduct.RightActions.Module.TensorProduct.comm _ _ _).symm).trans (TensorProduct.AlgebraTensorModule.finiteEquivPi K D (AdeleRing (𝓞 K) K))
216
leanexplore_declaration
leanexplore:380608
leanexplore_sqlite
leanexplore_declarations
/-- The topological 𝔸_K-linear equivalence D_𝔸 ≃ 𝔸_K^d. -/ abbrev D𝔸_iso_top : D_𝔸 ≃L[(AdeleRing (𝓞 K) K)] ((Fin (Module.finrank K D) → AdeleRing (𝓞 K) K)) := IsModuleTopology.continuousLinearEquiv (D𝔸_iso K D)
581
leanexplore_declaration
leanexplore:380609
leanexplore_sqlite
leanexplore_declarations
theorem D_discrete_aux (U : Set (Fin (Module.finrank K D) → AdeleRing (𝓞 K) K)) : incl_Kn_𝔸Kn K D ⁻¹' U = (D_iso K D) '' (⇑(D𝔸_iso_top K D) ∘ (Algebra.TensorProduct.includeLeft : D →ₐ[K] D_𝔸) ⁻¹' U) := by ext x constructor · intro hx use (D_iso K D).symm x simpa [← Algebra.algebraMap_eq...
492
leanexplore_declaration
leanexplore:380610
leanexplore_sqlite
leanexplore_declarations
theorem D_discrete : ∀ x : D, ∃ U : Set D_𝔸, IsOpen U ∧ (Algebra.TensorProduct.includeLeft : D →ₐ[K] D_𝔸) ⁻¹' U = {x} := by apply Discrete_of_HomeoDiscrete (Y' := ((Fin (Module.finrank K D) → AdeleRing (𝓞 K) K))) (Algebra.TensorProduct.includeLeft : D →ₐ[K] D_𝔸) (D𝔸_iso_top K D) apply Discrete_of_HomDi...
164
leanexplore_declaration
leanexplore:380611
leanexplore_sqlite
leanexplore_declarations
/-- The additive subgroup D of D_𝔸. -/ def includeLeft_subgroup : AddSubgroup D_𝔸 := AddMonoidHom.range (G := D) (Algebra.TensorProduct.includeLeft : D →ₐ[K] D_𝔸)
591
leanexplore_declaration
leanexplore:380612
leanexplore_sqlite
leanexplore_declarations
instance discrete_includeLeft_subgroup : DiscreteTopology (includeLeft_subgroup K D).carrier := by rw [includeLeft_subgroup, discreteTopology_iff_isOpen_singleton] rintro ⟨a, a', rfl⟩ obtain ⟨U, hUopen, hUeq⟩ := (D_discrete K D) a' refine isOpen_mk.mpr ⟨U, hUopen, Set.image_val_inj.mp ?_⟩ simp only [Subty...
93
leanexplore_declaration
leanexplore:380613
leanexplore_sqlite
leanexplore_declarations
instance : T2Space (D ⊗[K] AdeleRing (𝓞 K) K) := IsModuleTopology.t2Space (AdeleRing (𝓞 K) K)
542
leanexplore_declaration
leanexplore:380614
leanexplore_sqlite
leanexplore_declarations
instance discrete_principalSubgroup : DiscreteTopology (principalSubgroup (𝓞 K) K : Set (AdeleRing (𝓞 K) K)) := by rw [discreteTopology_iff_isOpen_singleton] rintro ⟨-, y, rfl⟩ obtain ⟨U, hUopen, hU⟩ := NumberField.AdeleRing.discrete K y refine isOpen_mk.mpr ⟨U, hUopen, Set.image_val_inj.mp ?_⟩ simp onl...
2,352
leanexplore_declaration
leanexplore:380615
leanexplore_sqlite
leanexplore_declarations
instance compact_includeLeft_subgroup : CompactSpace (D_𝔸 ⧸ (includeLeft_subgroup K D)) := by let H := includeLeft_subgroup K D change CompactSpace (D_𝔸 ⧸ H) have key := NumberField.AdeleRing.cocompact K let π : (Fin (Module.finrank K D) → AdeleRing (𝓞 K) K) →+ (Fin (Module.finrank K D) → AdeleRing...
644
leanexplore_declaration
leanexplore:380616
leanexplore_sqlite
leanexplore_declarations
lemma not_injective_of_large_measure : ∃ B : ℝ≥0, ∀ U : Set D_𝔸, IsOpen U → B < MeasureTheory.Measure.addHaar U → ¬ U.InjOn (QuotientAddGroup.mk : D_𝔸 → D_𝔸 ⧸ (Algebra.TensorProduct.includeLeftRingHom : D →+* D_𝔸).range.toAddSubgroup) := by let H := includeLeft_subgroup K D have : DiscreteTopolog...
247
leanexplore_declaration
leanexplore:380617
leanexplore_sqlite
leanexplore_declarations
/-- The K-algebra isomorphism `D_𝔸 ≃ D_∞ × D_f` -- adelic D is infinite adele D times finite adele D. -/ abbrev D𝔸_prodRight : D_𝔸 ≃ₐ[K] Dinf K D × Df K D := (Algebra.TensorProduct.prodRight K K D (InfiniteAdeleRing K) (FiniteAdeleRing (𝓞 K) K))
687
leanexplore_declaration
leanexplore:380618
leanexplore_sqlite
leanexplore_declarations
/-- The (InfiniteAdeleRing K × FiniteAdeleRing (𝓞 K) K)-module structure on (Dinf K D × Df K D). -/ instance : Module (AdeleRing (𝓞 K) K) (Dinf K D × Df K D) where smul rs mn := (rs.1 • mn.1, rs.2 • mn.2) one_smul mn := by cases mn; ext; exacts [one_smul _ _, one_smul _ _] mul_smul rs rs' mn := by cases rs;...
183
leanexplore_declaration
leanexplore:380619
leanexplore_sqlite
leanexplore_declarations
/-- (Dinf K D × Df K D) has the 𝔸_K module topology. -/ instance [FiniteDimensional K D] : IsModuleTopology (AdeleRing (𝓞 K) K) (Dinf K D × Df K D) := IsModuleTopology.instProd'
588
leanexplore_declaration
leanexplore:380620
leanexplore_sqlite
leanexplore_declarations
/-- The 𝔸_K linear map `D_𝔸 ≃ D_∞ × D_f`. -/ abbrev D𝔸_prodRight' : D_𝔸 ≃ₗ[AdeleRing (𝓞 K) K] (Dinf K D × Df K D) := { toFun := D𝔸_prodRight K D __ := D𝔸_prodRight K D map_add' a b := by exact RingHom.map_add (D𝔸_prodRight K D).toRingHom a b map_smul' m x := by simp only [RingHom.id_apply] o...
338
leanexplore_declaration
leanexplore:380621
leanexplore_sqlite
leanexplore_declarations
/-- The continuous additive isomorphism `D_𝔸 ≃ D_∞ × D_f`. -/ abbrev D𝔸_prodRight'' : D_𝔸 ≃ₜ+ Dinf K D × Df K D where __ := D𝔸_prodRight K D continuous_toFun := IsModuleTopology.continuous_of_linearMap (D𝔸_prodRight' K D).toLinearMap continuous_invFun := IsModuleTopology.continuous_of_linearMap (D𝔸_prodRigh...
231
leanexplore_declaration
leanexplore:380622
leanexplore_sqlite
leanexplore_declarations
/-- The equivalence of the units of D_𝔸 and the product of the units of (D ⊗ 𝔸_K^f) and (D ⊗ 𝔸_K^∞). -/ abbrev D𝔸_prodRight_units : D_𝔸ˣ ≃* (Dinfx K D) × (Dfx K D) := (Units.mapEquiv (D𝔸_prodRight K D)).trans (MulEquiv.prodUnits)
249
leanexplore_declaration
leanexplore:380623
leanexplore_sqlite
leanexplore_declarations
lemma smul_D𝔸_prodRight_symm (a : (Dinf K D)ˣ) (b : (Df K D)ˣ) (di : Dinf K D) (df : Df K D) : ((D𝔸_prodRight_units K D).symm (a, b)) • ((D𝔸_prodRight K D).symm (di, df)) = (D𝔸_prodRight K D).symm (a • di, b • df) := (map_mul _ _ _).symm
519
leanexplore_declaration
leanexplore:380624
leanexplore_sqlite
leanexplore_declarations
lemma D𝔸_prodRight_units_cont : Continuous (D𝔸_prodRight_units K D) := by rw [ MulEquiv.coe_trans] -- annoying that fun_prop and continuity can't seem to do this -- it's about monoid and ring homs, it's the usual problem. apply Continuous.comp ?_ ?_ · apply Continuous.prodMk · apply Continuous.units_map...
310
leanexplore_declaration
leanexplore:380625
leanexplore_sqlite
leanexplore_declarations
lemma ringHaarChar_D𝔸 (a : Dinfx K D) (b : Dfx K D) : ringHaarChar ((D𝔸_prodRight_units K D).symm (a, b)) = ringHaarChar (MulEquiv.prodUnits.symm (a, b)) := by apply MeasureTheory.addEquivAddHaarChar_eq_addEquivAddHaarChar_of_continuousAddEquiv (D𝔸_prodRight'' K D) simp [MulEquivClass.map_mul]
1,107
leanexplore_declaration
leanexplore:380626
leanexplore_sqlite
leanexplore_declarations
/-- For any positive real `r`, there's some `ρ ∈ ℝˣ` such that the haar character of `(ρ, 1) ∈ D_f × D_∞` is `r`. -/ lemma ringHaarChar_D𝔸_real_surjective (r : ℝ) (h : r > 0) : ∃ (ρ : ℝˣ), ringHaarChar ((D𝔸_prodRight_units K D).symm (((Units.map (algebraMap ℝ (Dinf K D))) ρ),1)) = r := by have a : IsUnit ...
139
leanexplore_declaration
leanexplore:380627
leanexplore_sqlite
leanexplore_declarations
instance (vi : InfinitePlace K) : SecondCountableTopology (D ⊗[K] vi.Completion) := Module.Finite.secondCountabletopology vi.Completion _
73
leanexplore_declaration
leanexplore:380628
leanexplore_sqlite
leanexplore_declarations
instance (vi : InfinitePlace K) : Module K vi.Completion := inferInstance
1,153
leanexplore_declaration
leanexplore:380629
leanexplore_sqlite
leanexplore_declarations
/-- Left and right Haar characters agree for `u : (Π vi : InfinitePlace K, (D ⊗[K] vi.Completion))ˣ`. -/ lemma isCentralSimple_infinite_addHaarScalarFactor_left_mul_eq_right_mul_aux [Algebra.IsCentral K D] (u : (Π vi : InfinitePlace K, (D ⊗[K] vi.Completion))ˣ) : addEquivAddHaarChar (ContinuousAddEquiv.mulLeft ...
363
leanexplore_declaration
leanexplore:380630
leanexplore_sqlite
leanexplore_declarations
/-- The canonical `ℝ`-algebra structure on `InfinitePlace.Completion`. -/ def real_to_completion (vi : InfinitePlace K) : ℝ →+* vi.Completion := if h : vi.IsReal then (InfinitePlace.Completion.ringEquivRealOfIsReal h).symm.toRingHom else (InfinitePlace.Completion.ringEquivComplexOfIsComplex (by simpa using h)...
98
leanexplore_declaration
leanexplore:380631
leanexplore_sqlite
leanexplore_declarations
instance (vi : InfinitePlace K) : Algebra ℝ vi.Completion := (real_to_completion K vi).toAlgebra
124
leanexplore_declaration
leanexplore:380632
leanexplore_sqlite
leanexplore_declarations
lemma algebraMap_completion_def (vi : InfinitePlace K) : (algebraMap ℝ vi.Completion) = (real_to_completion K vi) := rfl
811
leanexplore_declaration
leanexplore:380633
leanexplore_sqlite
leanexplore_declarations
instance (vi : InfinitePlace K) : Module.Finite ℝ vi.Completion := by by_cases h : vi.IsReal · let e : vi.Completion ≃ₗ[ℝ] ℝ := { __ := InfinitePlace.Completion.ringEquivRealOfIsReal h map_smul' r x := by simp_all [Algebra.smul_def, algebraMap_completion_def, real_to_completion, ↓reduceDIte, ...
540
leanexplore_declaration
leanexplore:380634
leanexplore_sqlite
leanexplore_declarations
instance (vi : InfinitePlace K) : ContinuousSMul ℝ vi.Completion := by refine continuousSMul_of_algebraMap ℝ vi.Completion ?_ rw [algebraMap_completion_def] by_cases h : vi.IsReal · have := (InfinitePlace.Completion.isometryEquivRealOfIsReal h).symm.isometry_toFun.continuous simpa [real_to_completion, h, ↓r...
107
leanexplore_declaration
leanexplore:380635
leanexplore_sqlite
leanexplore_declarations
instance (vi : InfinitePlace K) : IsModuleTopology ℝ vi.Completion := isModuleTopologyOfFiniteDimensional
116
leanexplore_declaration
leanexplore:380636
leanexplore_sqlite
leanexplore_declarations
instance (vi : InfinitePlace K) : Algebra ℝ (D ⊗[K] vi.Completion) := Algebra.compHom _ <| real_to_completion K vi
119
leanexplore_declaration
leanexplore:380637
leanexplore_sqlite
leanexplore_declarations
instance (vi : InfinitePlace K) : IsScalarTower ℝ vi.Completion (D ⊗[K] vi.Completion) := IsScalarTower.of_compHom ..
144
leanexplore_declaration
leanexplore:380638
leanexplore_sqlite
leanexplore_declarations
instance (vi : InfinitePlace K) : IsModuleTopology ℝ (D ⊗[K] vi.Completion) := by rw [IsModuleTopology.trans ℝ vi.Completion] infer_instance
107
leanexplore_declaration
leanexplore:380639
leanexplore_sqlite
leanexplore_declarations
instance : IsModuleTopology ℝ (Π vi : InfinitePlace K, (D ⊗[K] vi.Completion)) := IsModuleTopology.instPi
585
leanexplore_declaration
leanexplore:380640
leanexplore_sqlite
leanexplore_declarations
lemma algebraMap_completion {vi : InfinitePlace K} {x : ℝ} : (algebraMap ℝ (InfiniteAdeleRing K)) x vi = (algebraMap ℝ vi.Completion) x := by change ((InfiniteAdeleRing.ringEquiv_mixedSpace K).symm.toRingHom.comp (algebraMap ℝ _)) x vi = real_to_completion K vi x by_cases h : vi.IsReal · simp_all [rea...
848
leanexplore_declaration
leanexplore:380641
leanexplore_sqlite
leanexplore_declarations
lemma tensorPi_equiv_piTensor_map_mul {x y : Dinf K D} : tensorPi_equiv_piTensor K D InfinitePlace.Completion (x * y) = tensorPi_equiv_piTensor K D InfinitePlace.Completion x * tensorPi_equiv_piTensor K D InfinitePlace.Completion y := by -- we need that `tensorPi_equiv_piTensor` is a ring hom -- **TOD...
858
leanexplore_declaration
leanexplore:380642
leanexplore_sqlite
leanexplore_declarations
/-- `tensorPi_equiv_piTensor` applied to `Dinf`, as a `ℝ`-linear equiv. -/ def Dinf_tensorPi_equiv_piTensor_aux : (Dinf K D) ≃ₗ[ℝ] Π vi : InfinitePlace K, (D ⊗[K] vi.Completion) := { __ := tensorPi_equiv_piTensor K D InfinitePlace.Completion map_smul' x y := by change tensorPi_equiv_piTensor K D InfinitePla...
481
leanexplore_declaration
leanexplore:380643
leanexplore_sqlite
leanexplore_declarations
/-- `tensorPi_equiv_piTensor` applied to `Dinf`, as a continuous `ℝ`-linear equiv. -/ def Dinf_tensorPi_equiv_piTensor : (Dinf K D) ≃L[ℝ] Π vi : InfinitePlace K, (D ⊗[K] vi.Completion) := { __ := Dinf_tensorPi_equiv_piTensor_aux .. continuous_toFun := IsModuleTopology.continuous_of_linearMap (Dinf_tensorPi_...
277
leanexplore_declaration
leanexplore:380644
leanexplore_sqlite
leanexplore_declarations
/-- `tensorPi_equiv_piTensor` applied to `Dinf`, as a mul equiv. -/ def Dinf_tensorPi_equiv_piTensor_mulEquiv : (Dinf K D) ≃* Π vi : InfinitePlace K, (D ⊗[K] vi.Completion) := { __ := Dinf_tensorPi_equiv_piTensor K D map_mul' _ _ := tensorPi_equiv_piTensor_map_mul .. }