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
98
leanexplore_declaration
leanexplore:380333
leanexplore_sqlite
leanexplore_declarations
noncomputable instance : Field (residueField (𝓞 := 𝓞)) := inferInstanceAs (Field (ResidueField 𝓞))
646
leanexplore_declaration
leanexplore:380334
leanexplore_sqlite
leanexplore_declarations
/-- The quotient map of a `ProartinianCat` to the residue field. -/ noncomputable def toResidueField (R : ProartinianCat 𝓞) : R ⟶ residueField where hom := ⟨(IsResidueAlgebra.algEquiv 𝓞 R).symm.toAlgHom.comp (IsScalarTower.toAlgHom 𝓞 R _), by refine (RingHom.continuous_iff_isOpen_ker (β := residueField) (f := ...
190
leanexplore_declaration
leanexplore:380335
leanexplore_sqlite
leanexplore_declarations
lemma toResidueField_surjective (R : ProartinianCat 𝓞) : Function.Surjective (toResidueField R).hom := (IsResidueAlgebra.algEquiv 𝓞 R).symm.surjective.comp Ideal.Quotient.mk_surjective
268
leanexplore_declaration
leanexplore:380336
leanexplore_sqlite
leanexplore_declarations
lemma ker_toResidueField (R : ProartinianCat 𝓞) : RingHom.ker (toResidueField R).hom = maximalIdeal R := (RingHom.ker_comp_of_injective _ (f := (IsResidueAlgebra.algEquiv 𝓞 R).symm.toRingHom) (IsResidueAlgebra.algEquiv 𝓞 R).symm.injective).trans Ideal.mk_ker
544
leanexplore_declaration
leanexplore:380337
leanexplore_sqlite
leanexplore_declarations
lemma to_residueField_apply {R : 𝓒 𝓞} (f : R ⟶ residueField) (r : R.carrier) : f.hom r = residue _ (IsResidueAlgebra.preimage 𝓞 r) := by trans f.hom (algebraMap _ _ (IsResidueAlgebra.preimage 𝓞 r)) · rw [← sub_eq_zero, ← map_sub, ← not_ne_iff, ← @isUnit_iff_ne_zero _ _ (f.hom (r - (algebraMap 𝓞 ↑R) ...
158
leanexplore_declaration
leanexplore:380338
leanexplore_sqlite
leanexplore_declarations
noncomputable instance (R : ProartinianCat 𝓞) : Unique (R ⟶ residueField) := by refine ⟨⟨toResidueField R⟩, fun f ↦ ?_⟩ ext simp [to_residueField_apply]
135
leanexplore_declaration
leanexplore:380339
leanexplore_sqlite
leanexplore_declarations
/-- `𝕜` is initial in `ProartinianCat`. -/ noncomputable def isTerminalResidueField : IsTerminal (residueField (𝓞 := 𝓞)) := .ofUnique _
197
leanexplore_declaration
leanexplore:380340
leanexplore_sqlite
leanexplore_declarations
/-- `IsTopologicalModule R M` states that the topology in `M` makes scalar multiplication and addition into continuous maps. -/ class IsTopologicalModule extends ContinuousSMul R M, ContinuousAdd M
524
leanexplore_declaration
leanexplore:380341
leanexplore_sqlite
leanexplore_declarations
protected theorem Topology.IsInducing.topologicalModule {F : Type*} (R : Type*) [Ring R] [TopologicalSpace R] {M : Type*} [AddCommGroup M] [Module R M] [TopologicalSpace M] [IsTopologicalModule R M] {H : Type*} [AddCommGroup H] [Module R H] [TopologicalSpace H] [FunLike F H M] [LinearMapClass F R H M] (...
158
leanexplore_declaration
leanexplore:380342
leanexplore_sqlite
leanexplore_declarations
instance Submodule.instIsTopologicalModuleSubtypeMem (S : Submodule R M) : IsTopologicalModule R S := IsInducing.subtypeVal.topologicalModule R S.subtypeL
364
leanexplore_declaration
leanexplore:380343
leanexplore_sqlite
leanexplore_declarations
instance Pi.instTopologicalModule {ι : Type*} (R : Type*) [Ring R] [TopologicalSpace R] {M : ι → Type*} [∀ i, AddCommGroup (M i)] [∀ i, Module R (M i)] [∀ i, TopologicalSpace (M i)] [∀ i, IsTopologicalModule R (M i)] : IsTopologicalModule R ((i : ι) → M i) where continuous_smul := by apply continuous_smul...
461
leanexplore_declaration
leanexplore:380344
leanexplore_sqlite
leanexplore_declarations
/-- A topological ring is proartinian if it is linearly topologized, complete hausdorff, and all its discrete quotients are artinian. This is also called the category of "pseudo-compact" rings in section 0 of Exp VII_B of SGA3. -/ class IsProartinian : Prop extends IsLinearTopology R R, T0Space R, letI := IsTopolo...
312
leanexplore_declaration
leanexplore:380345
leanexplore_sqlite
leanexplore_declarations
lemma isProartinian_iff_isArtinianRing [DiscreteTopology R] : IsProartinian R ↔ IsArtinianRing R := by constructor <;> intro · have := IsProartinian.isArtinianRing_quotient (⊥ : Ideal R) (isOpen_discrete _) exact (RingEquiv.quotientBot R).surjective.isArtinianRing · exact ⟨fun I _ ↦ inferInstance⟩
113
leanexplore_declaration
leanexplore:380346
leanexplore_sqlite
leanexplore_declarations
instance [DiscreteTopology R] [IsArtinianRing R] : IsProartinian R := by rwa [isProartinian_iff_isArtinianRing]
245
leanexplore_declaration
leanexplore:380347
leanexplore_sqlite
leanexplore_declarations
instance [IsLocalRing R] [IsLocalRing.IsAdicTopology R] [IsNoetherianRing R] [CompactSpace R] : IsProartinian R where isArtinianRing_quotient I hI := have : Finite (R ⧸ I) := AddSubgroup.quotient_finite_of_isOpen _ hI inferInstance
221
leanexplore_declaration
leanexplore:380348
leanexplore_sqlite
leanexplore_declarations
lemma isOpen_maximalIdeal_of_isProartinian [IsProartinian R] : IsOpen (X := R) (maximalIdeal R) := by obtain ⟨I, hI, hI'⟩ := IsLinearTopology.exists_ideal_isMaximal_and_isOpen R exact (isMaximal_iff _).mp hI ▸ hI'
736
leanexplore_declaration
leanexplore:380349
leanexplore_sqlite
leanexplore_declarations
lemma exists_maximalIdeal_pow_le_of_isProartinian [IsProartinian R] (I : Ideal R) (hI : IsOpen (X := R) I) : ∃ n, maximalIdeal R ^ n ≤ I := by by_cases hI' : I = ⊤ · exact ⟨1, by simp [hI']⟩ have := IsProartinian.isArtinianRing_quotient I hI have : Nontrivial (R ⧸ I) := Ideal.Quotient.nontrivial_iff.2 h...
597
leanexplore_declaration
leanexplore:380350
leanexplore_sqlite
leanexplore_declarations
lemma isContinuous_of_isProartinian_of_isLocalHom [IsLocalRing.IsAdicTopology R] (f : R →+* S) [IsProartinian S] [IsLocalHom f] : Continuous f := by apply continuous_of_continuousAt_zero simp only [ContinuousAt, map_zero] rw [(IsLocalRing.hasBasis_maximalIdeal_pow R).tendsto_iff (IsLinearTopology.hasB...
395
leanexplore_declaration
leanexplore:380351
leanexplore_sqlite
leanexplore_declarations
lemma isLocalHom_of_isContinuous_of_isProartinian [IsProartinian R] (f : R →+* S) [IsProartinian S] (h : Continuous f) : IsLocalHom f := by constructor intro a ha by_contra ha' obtain ⟨n, hn⟩ := exists_maximalIdeal_pow_le_of_isProartinian ((maximalIdeal S).comap f) (isOpen_maximalIdeal_of_isProartinian....
329
leanexplore_declaration
leanexplore:380352
leanexplore_sqlite
leanexplore_declarations
/-- `IsResidueAlgebra 𝓞` indicates that `A` `[Algebra 𝓞 A]` has the same residue field as `𝓞`. It is sufficient for the natural map 𝓞 to 𝓴 A to be surjective. The actual `≃+*` between residue fields is given in `IsResidueAlgebra.ringEquiv`. -/ class IsResidueAlgebra : Prop where isSurjective' : Surjective (algeb...
78
leanexplore_declaration
leanexplore:380353
leanexplore_sqlite
leanexplore_declarations
lemma algebraMap_surjective : Surjective (algebraMap 𝓞 (𝓴 A)) := isSurjective'
312
leanexplore_declaration
leanexplore:380354
leanexplore_sqlite
leanexplore_declarations
lemma algebraMap_bijective : Bijective (algebraMap (𝓴 𝓞) (𝓴 A)) := by have hsurj1 := IsLocalRing.residue_surjective (R := 𝓞) have hsurj2 := IsResidueAlgebra.algebraMap_surjective 𝓞 A exact ⟨(algebraMap (𝓴 𝓞) (𝓴 A)).injective, (Function.Surjective.of_comp_iff (algebraMap (𝓴 𝓞) (𝓴 A)) hsurj1).mp hsur...
182
leanexplore_declaration
leanexplore:380355
leanexplore_sqlite
leanexplore_declarations
/-- The isomorphism of residue fields for a residue algebra. -/ noncomputable def algEquiv : 𝓴 𝓞 ≃ₐ[𝓞] 𝓴 A := .ofBijective (IsScalarTower.toAlgHom _ _ _) (algebraMap_bijective _ _)
83
leanexplore_declaration
leanexplore:380356
leanexplore_sqlite
leanexplore_declarations
instance [IsLocalRing 𝓞] : IsResidueAlgebra 𝓞 𝓞 := ⟨IsLocalRing.residue_surjective⟩
323
leanexplore_declaration
leanexplore:380357
leanexplore_sqlite
leanexplore_declarations
instance (I : Ideal A) [Nontrivial (A ⧸ I)] : IsResidueAlgebra 𝓞 (A ⧸ I) where isSurjective' := have : IsLocalHom (Ideal.Quotient.mk I) := .of_surjective _ Ideal.Quotient.mk_surjective (IsLocalRing.ResidueField.map_surjective _ Ideal.Quotient.mk_surjective).comp (IsResidueAlgebra.algebraMap_surjective ...
268
leanexplore_declaration
leanexplore:380358
leanexplore_sqlite
leanexplore_declarations
lemma of_restrictScalars [Algebra A B] [IsScalarTower 𝓞 A B] : IsResidueAlgebra A B where isSurjective' := by refine .of_comp (g := algebraMap 𝓞 A) ?_ rw [← RingHom.coe_comp, ← IsScalarTower.algebraMap_eq] exact IsResidueAlgebra.algebraMap_surjective _ _
229
leanexplore_declaration
leanexplore:380359
leanexplore_sqlite
leanexplore_declarations
lemma exists_sub_mem_maximalIdeal (r : A) : ∃ a, r - algebraMap 𝓞 A a ∈ maximalIdeal _ := by obtain ⟨a, ha⟩ := IsResidueAlgebra.algebraMap_surjective 𝓞 _ (residue _ r) refine ⟨a, ?_⟩ rw [← Ideal.Quotient.eq] exact ha.symm
173
leanexplore_declaration
leanexplore:380360
leanexplore_sqlite
leanexplore_declarations
/-- For an `r : A`, this is an arbitrary choice of `x : 𝓞` such that `r ≡ x (mod 𝔪_A)`. -/ noncomputable def preimage (r : A) : 𝓞 := (exists_sub_mem_maximalIdeal 𝓞 r).choose
131
leanexplore_declaration
leanexplore:380361
leanexplore_sqlite
leanexplore_declarations
lemma preimage_spec (r : A) : r - algebraMap 𝓞 A (preimage 𝓞 r) ∈ maximalIdeal _ := (exists_sub_mem_maximalIdeal 𝓞 r).choose_spec
142
leanexplore_declaration
leanexplore:380362
leanexplore_sqlite
leanexplore_declarations
lemma residue_preimage (r : A) : residue _ (algebraMap _ _ (preimage 𝓞 r)) = residue _ r := (Ideal.Quotient.eq.mpr (preimage_spec 𝓞 r)).symm
259
leanexplore_declaration
leanexplore:380363
leanexplore_sqlite
leanexplore_declarations
lemma residue_preimage_eq_iff {r : A} {a} : residue _ (preimage 𝓞 r) = a ↔ residue _ r = ResidueField.map (algebraMap 𝓞 A) a := by rw [← (IsResidueAlgebra.algebraMap_bijective 𝓞 A).1.eq_iff] erw [ResidueField.map_residue] rw [residue_preimage] rfl
588
leanexplore_declaration
leanexplore:380364
leanexplore_sqlite
leanexplore_declarations
lemma IsLinearTopology.exists_ideal_isMaximal_and_isOpen (R : Type*) [CommRing R] [TopologicalSpace R] [IsTopologicalRing R] [IsLinearTopology R R] [Nontrivial R] [T0Space R] : ∃ I : Ideal R, I.IsMaximal ∧ IsOpen (X := R) I := by obtain ⟨I, hI, hI'⟩ := IsLinearTopology.hasBasis_open_ideal.mem_iff.mp (...
395
leanexplore_declaration
leanexplore:380365
leanexplore_sqlite
leanexplore_declarations
/-- The continuous group homomorphism on units induced by a `ContinuousMonoidHom`. -/ @[simps!] def Units.mapₜ {M N : Type*} [Monoid M] [Monoid N] [TopologicalSpace M] [TopologicalSpace N] (f : M →ₜ* N) : Mˣ →ₜ* Nˣ := ⟨Units.map f, continuous_induced_rng.mpr (continuous_prodMk.mpr ⟨f.2.comp Units.continuous_val...
135
leanexplore_declaration
leanexplore:380366
leanexplore_sqlite
leanexplore_declarations
@[simps!] def Units.mapₜ {M N : Type*} [Monoid M] [Monoid N] [TopologicalSpace M] [TopologicalSpace N] (f : M →ₜ* N) : Mˣ →ₜ* Nˣ :=
498
leanexplore_declaration
leanexplore:380368
leanexplore_sqlite
leanexplore_declarations
/-- The `ContinuousAlgHom` between spaces of square matrices induced by an `ContinuousAlgHom` between their coefficients. This is Matrix.map as an `ContinuousAlgHom`. -/ @[simps!] def ContinuousAlgHom.mapMatrix {R A B n : Type*} [CommSemiring R] [Semiring A] [Semiring B] [TopologicalSpace A] [TopologicalSpace B...
268
leanexplore_declaration
leanexplore:380369
leanexplore_sqlite
leanexplore_declarations
@[simps!] def ContinuousAlgHom.mapMatrix {R A B n : Type*} [CommSemiring R] [Semiring A] [Semiring B] [TopologicalSpace A] [TopologicalSpace B] [Algebra R A] [Algebra R B] (f : A →A[R] B) [Fintype n] [DecidableEq n] : Matrix n n A →A[R] Matrix n n B :=
294
leanexplore_declaration
leanexplore:380370
leanexplore_sqlite
leanexplore_declarations
/-- Coerce a `ContinuousAlgHom` to `ContinuousMonoidHom`. -/ def ContinuousAlgHom.toContinuousMonoidHom {R A B : Type*} [CommSemiring R] [Semiring A] [Semiring B] [TopologicalSpace A] [TopologicalSpace B] [Algebra R A] [Algebra R B] (f : A →A[R] B) : A →ₜ* B := ⟨f.1.toMonoidHom, f.2⟩
260
leanexplore_declaration
leanexplore:380371
leanexplore_sqlite
leanexplore_declarations
@[simp] lemma ContinuousAlgHom.coe_toContinuousMonoidHom {R A B : Type*} [CommSemiring R] [Semiring A] [Semiring B] [TopologicalSpace A] [TopologicalSpace B] [Algebra R A] [Algebra R B] (f : A →A[R] B) : (f.toContinuousMonoidHom : A → B) = f := rfl
287
leanexplore_declaration
leanexplore:380372
leanexplore_sqlite
leanexplore_declarations
instance {α M G : Type*} [Monoid M] [Monoid G] [Monoid α] [MulDistribMulAction α G] : MulAction α (M →* G) where smul a f := ⟨⟨a • f, by simp⟩, by simp⟩ one_smul _ := by ext; exact one_smul _ _ mul_smul a b f := by ext x; change (a * b) • (f x) = a • b • (f x); simp [mul_smul]
167
leanexplore_declaration
leanexplore:380373
leanexplore_sqlite
leanexplore_declarations
@[simp] lemma MonoidHom.coe_smul {α M G : Type*} [Monoid M] [Monoid G] [Monoid α] [MulDistribMulAction α G] (a : α) (f : M →* G) : ⇑(a • f) = a • ⇑f := rfl
359
leanexplore_declaration
leanexplore:380374
leanexplore_sqlite
leanexplore_declarations
instance {α M G : Type*} [Monoid M] [Monoid G] [Monoid α] [MulDistribMulAction α G] [TopologicalSpace M] [TopologicalSpace G] [ContinuousConstSMul α G] : MulAction α (M →ₜ* G) where smul a f := ⟨a • f, .const_smul f.2 _⟩ one_smul _ := by ext; exact one_smul _ _ mul_smul a b f := by ext x; change (a * b) •...
250
leanexplore_declaration
leanexplore:380375
leanexplore_sqlite
leanexplore_declarations
@[simp] lemma ContinuousMonoidHom.coe_smul {α M G : Type*} [Monoid M] [Monoid G] [Monoid α] [MulDistribMulAction α G] [TopologicalSpace M] [TopologicalSpace G] [ContinuousConstSMul α G] (a : α) (f : M →ₜ* G) : ⇑(a • f) = a • ⇑f := rfl
183
leanexplore_declaration
leanexplore:380376
leanexplore_sqlite
leanexplore_declarations
instance {G : Type*} [Group G] [TopologicalSpace G] [ContinuousMul G] : ContinuousConstSMul (ConjAct G) G := ⟨fun _ ↦ .mul (continuous_const.mul continuous_id) continuous_const⟩
367
leanexplore_declaration
leanexplore:380377
leanexplore_sqlite
leanexplore_declarations
@[to_additive] instance IsTopologicalGroup.discreteUniformity {G : Type*} [Group G] [TopologicalSpace G] [IsTopologicalGroup G] [DiscreteTopology G] : letI := IsTopologicalGroup.rightUniformSpace G DiscreteUniformity G := by simp only [discreteUniformity_iff_setRelId_mem_uniformity] exact ⟨{1}, by simp ...
205
leanexplore_declaration
leanexplore:380378
leanexplore_sqlite
leanexplore_declarations
@[to_additive] instance IsTopologicalGroup.discreteUniformity {G : Type*} [Group G] [TopologicalSpace G] [IsTopologicalGroup G] [DiscreteTopology G] : letI := IsTopologicalGroup.rightUniformSpace G
329
leanexplore_declaration
leanexplore:380379
leanexplore_sqlite
leanexplore_declarations
lemma IsLocalRing.ResidueField.map_surjective {R S : Type*} [CommRing R] [CommRing S] [IsLocalRing R] [IsLocalRing S] (f : R →+* S) [IsLocalHom f] (H : Function.Surjective f) : Function.Surjective (IsLocalRing.ResidueField.map f) := Ideal.Quotient.lift_surjective_of_surjective _ _ (Ideal.Quotient.mk_surjectiv...
427
leanexplore_declaration
leanexplore:380380
leanexplore_sqlite
leanexplore_declarations
@[to_additive] lemma MonoidHom.continuous_iff_isOpen_ker {α β : Type*} [TopologicalSpace α] [TopologicalSpace β] [Group α] [MulOneClass β] {f : α →* β} [DiscreteTopology β] [IsTopologicalGroup α] : Continuous f ↔ IsOpen (X := α) f.ker := by refine ⟨fun H ↦ H.1 {1} (isOpen_discrete _), fun H ↦ continuous_of_co...
248
leanexplore_declaration
leanexplore:380381
leanexplore_sqlite
leanexplore_declarations
@[to_additive] lemma MonoidHom.continuous_iff_isOpen_ker {α β : Type*} [TopologicalSpace α] [TopologicalSpace β] [Group α] [MulOneClass β] {f : α →* β} [DiscreteTopology β] [IsTopologicalGroup α] : Continuous f ↔ IsOpen (X := α) f.ker := by
303
leanexplore_declaration
leanexplore:380382
leanexplore_sqlite
leanexplore_declarations
lemma RingHom.continuous_iff_isOpen_ker {α β : Type*} [TopologicalSpace α] [TopologicalSpace β] [Ring α] [Semiring β] {f : α →+* β} [DiscreteTopology β] [IsTopologicalAddGroup α] : Continuous f ↔ IsOpen (X := α) (RingHom.ker f) := AddMonoidHom.continuous_iff_isOpen_ker (f := f.toAddMonoidHom)
208
leanexplore_declaration
leanexplore:380383
leanexplore_sqlite
leanexplore_declarations
lemma continuousAt_discrete_rng {α β : Type*} [TopologicalSpace α] [TopologicalSpace β] {f : α → β} {x : α} [DiscreteTopology β] : ContinuousAt f x ↔ ∀ᶠ y in 𝓝 x, f y = f x := by simp [ContinuousAt]
243
leanexplore_declaration
leanexplore:380384
leanexplore_sqlite
leanexplore_declarations
nonrec instance ContinuousAlgHom.isLocalHom_id {R A : Type*} [CommSemiring R] [Semiring A] [Algebra R A] [TopologicalSpace A] : IsLocalHom (ContinuousAlgHom.id R A) := by convert isLocalHom_id A exact ⟨fun ⟨H⟩ ↦ ⟨H⟩, fun ⟨H⟩ ↦ ⟨H⟩⟩
284
leanexplore_declaration
leanexplore:380385
leanexplore_sqlite
leanexplore_declarations
lemma ContinuousAlgHom.isLocalHom_toRingHom {R A B : Type*} [CommSemiring R] [Semiring A] [Semiring B] [Algebra R A] [Algebra R B] [TopologicalSpace A] [TopologicalSpace B] {f : A →A[R] B} : IsLocalHom f.toRingHom ↔ IsLocalHom f := ⟨fun ⟨H⟩ ↦ ⟨H⟩, fun ⟨H⟩ ↦ ⟨H⟩⟩
253
leanexplore_declaration
leanexplore:380386
leanexplore_sqlite
leanexplore_declarations
instance {R A B : Type*} [CommSemiring R] [Semiring A] [Semiring B] [Algebra R A] [Algebra R B] [TopologicalSpace A] [TopologicalSpace B] (f : A →A[R] B) [IsLocalHom f] : IsLocalHom f.toRingHom := by rwa [ContinuousAlgHom.isLocalHom_toRingHom]
264
leanexplore_declaration
leanexplore:380387
leanexplore_sqlite
leanexplore_declarations
instance {R A B : Type*} [CommSemiring R] [Semiring A] [Semiring B] [Algebra R A] [Algebra R B] [TopologicalSpace A] [TopologicalSpace B] (f : A ≃A[R] B) : IsLocalHom (f : A →A[R] B) := by convert isLocalHom_equiv f exact ⟨fun ⟨H⟩ ↦ ⟨H⟩, fun ⟨H⟩ ↦ ⟨H⟩⟩
231
leanexplore_declaration
leanexplore:380389
leanexplore_sqlite
leanexplore_declarations
instance {A B : Type*} [Semiring A] [Semiring B] (F : Type*) [EquivLike F A B] [RingEquivClass F A B] (f : F) : IsLocalHom (RingHomClass.toRingHom f) := by convert isLocalHom_equiv f exact ⟨fun ⟨H⟩ ↦ ⟨H⟩, fun ⟨H⟩ ↦ ⟨H⟩⟩
128
leanexplore_declaration
leanexplore:380390
leanexplore_sqlite
leanexplore_declarations
instance {R S} [Semiring R] [Semiring S] (e : R ≃+* S) : IsLocalHom e.toRingHom := ⟨fun x hx ↦ by convert hx.map e.symm; simp⟩
433
leanexplore_declaration
leanexplore:380391
leanexplore_sqlite
leanexplore_declarations
instance ContinuousAlgHom.isLocalHom_comp {R A B C : Type*} [CommSemiring R] [Semiring A] [Semiring B] [Semiring C] [Algebra R A] [Algebra R B] [Algebra R C] [TopologicalSpace A] [TopologicalSpace B] [TopologicalSpace C] {g : B →A[R] C} {f : A →A[R] B} [IsLocalHom g] [IsLocalHom f] : IsLocalHom ...
88
leanexplore_declaration
leanexplore:380392
leanexplore_sqlite
leanexplore_declarations
instance {R : Type*} [CommSemiring R] : IsLocalHom (algebraMap R R) := isLocalHom_id R
158
leanexplore_declaration
leanexplore:380393
leanexplore_sqlite
leanexplore_declarations
instance {R : Type*} [CommRing R] [IsLocalRing R] : IsLocalHom (algebraMap R (ResidueField R)) := IsLocalRing.instIsLocalHomResidueFieldRingHomResidue _
337
leanexplore_declaration
leanexplore:380394
leanexplore_sqlite
leanexplore_declarations
/-- Given a field extension, this is an arbitrarily chosen map between their `AlgebraicClosure`s. -/ noncomputable def AlgebraicClosure.map {K L : Type*} [Field K] [Field L] (f : K →+* L) : AlgebraicClosure K →+* AlgebraicClosure L := letI := f.toAlgebra (IsAlgClosed.lift : AlgebraicClosure K →ₐ[K] AlgebraicClo...
250
leanexplore_declaration
leanexplore:380395
leanexplore_sqlite
leanexplore_declarations
lemma AlgebraicClosure.map_algebraMap {K L : Type*} [Field K] [Field L] (f : K →+* L) (x) : map f (algebraMap K _ x) = algebraMap _ _ (f x) := letI := f.toAlgebra (IsAlgClosed.lift : AlgebraicClosure K →ₐ[K] AlgebraicClosure L).commutes _
404
leanexplore_declaration
leanexplore:380396
leanexplore_sqlite
leanexplore_declarations
lemma IntermediateField.adjoin_adjoin_right {K L E : Type*} [Field K] [Field L] [Field E] [Algebra K L] [Algebra L E] [Algebra K E] [IsScalarTower K L E] (s : Set E) : adjoin L (adjoin K s : Set E) = adjoin L s := by apply le_antisymm · exact adjoin_le_iff.mpr (adjoin_le_iff (T := (adjoin L s).restrictScala...
1,025
leanexplore_declaration
leanexplore:380397
leanexplore_sqlite
leanexplore_declarations
nonrec lemma IsModuleTopology.continuous_det {A : Type*} [CommRing A] [TopologicalSpace A] [IsTopologicalRing A] {M : Type*} [AddCommGroup M] [Module A M] [TopologicalSpace (Module.End A M)] [IsModuleTopology A (Module.End A M)] : Continuous (LinearMap.det : Module.End A M →* A) := by classical by_cases...
179
leanexplore_declaration
leanexplore:380398
leanexplore_sqlite
leanexplore_declarations
/-- `End_A(A) ≃ A`. -/ def Module.endSelf {A : Type*} [CommSemiring A] : Module.End A A ≃ₐ[A] A := AlgEquiv.ofLinearEquiv (LinearMap.ringLmapEquivSelf A A A) (by simp) (by simp)
492
leanexplore_declaration
leanexplore:380399
leanexplore_sqlite
leanexplore_declarations
/-- Given a `ContinuousMonoidHom` from a group to a monoid, we may lift it to map into the group of units of the monoid. -/ @[simps!] def ContinuousMonoidHom.toHomUnits {G M : Type*} [Group G] [Monoid M] [TopologicalSpace G] [IsTopologicalGroup G] [TopologicalSpace M] (f : G →ₜ* M) : G →ₜ* Mˣ := ⟨MonoidHom.toHomU...
176
leanexplore_declaration
leanexplore:380400
leanexplore_sqlite
leanexplore_declarations
@[simps!] def ContinuousMonoidHom.toHomUnits {G M : Type*} [Group G] [Monoid M] [TopologicalSpace G] [IsTopologicalGroup G] [TopologicalSpace M] (f : G →ₜ* M) : G →ₜ* Mˣ :=
167
leanexplore_declaration
leanexplore:380402
leanexplore_sqlite
leanexplore_declarations
/-- `Units.val` as a `ContinuousMonoidHom`. -/ @[simps!] def Units.coeHomₜ (M : Type*) [Monoid M] [TopologicalSpace M] : Mˣ →ₜ* M := ⟨coeHom M, Units.continuous_val⟩
85
leanexplore_declaration
leanexplore:380403
leanexplore_sqlite
leanexplore_declarations
@[simps!] def Units.coeHomₜ (M : Type*) [Monoid M] [TopologicalSpace M] : Mˣ →ₜ* M :=
173
leanexplore_declaration
leanexplore:380404
leanexplore_sqlite
leanexplore_declarations
instance {A n m : Type*} [CommRing A] [TopologicalSpace A] [Finite n] [Finite m] [IsTopologicalRing A] : IsModuleTopology A (Matrix n m A) := IsModuleTopology.instPi
666
leanexplore_declaration
leanexplore:380405
leanexplore_sqlite
leanexplore_declarations
/-- We can upgrade an `AlgEquiv` between algebras with the module topology into a `ContinuousAlgEquiv`. -/ def ContinuousAlgEquiv.ofIsModuleTopology {R A B : Type*} [CommSemiring R] [Semiring A] [Semiring B] [Algebra R A] [Algebra R B] [TopologicalSpace A] [TopologicalSpace B] [TopologicalSpace R] [IsModuleTopo...
204
leanexplore_declaration
leanexplore:380406
leanexplore_sqlite
leanexplore_declarations
@[simp] lemma ContinuousMonoidHom.mk_toMonoidHom {M N : Type*} [Monoid M] [Monoid N] [TopologicalSpace M] [TopologicalSpace N] (f : M →* N) (hf : Continuous f) : (ContinuousMonoidHom.mk f hf) = f := rfl
197
leanexplore_declaration
leanexplore:380407
leanexplore_sqlite
leanexplore_declarations
@[simp] lemma ContinuousMonoidHom.coe_mk {M N : Type*} [Monoid M] [Monoid N] [TopologicalSpace M] [TopologicalSpace N] (f : M →* N) (hf : Continuous f) : ⇑(ContinuousMonoidHom.mk f hf) = f := rfl
662
leanexplore_declaration
leanexplore:380408
leanexplore_sqlite
leanexplore_declarations
instance {G K L : Type*} [Field K] [Field L] [Algebra K L] [Monoid G] [MulSemiringAction G L] [SMulCommClass G K L] (E : IntermediateField K L) [Normal K E] : MulSemiringAction G E where smul σ x := ⟨σ • x, by convert ((MulSemiringAction.toAlgHom K L σ).restrictNormal E x).2 exact ((MulSemiringAction....
463
leanexplore_declaration
leanexplore:380409
leanexplore_sqlite
leanexplore_declarations
instance {G K : Type*} [Field K] [Monoid G] [MulSemiringAction G K] : MulSemiringAction G (𝓞 K) where smul σ x := ⟨σ • x, x.2.map (MulSemiringAction.toAlgHom ℤ K σ)⟩ one_smul _ := Subtype.ext (one_smul _ _) mul_smul _ _ _ := Subtype.ext (mul_smul _ _ _) smul_zero _ := Subtype.ext (smul_zero _) smul_add _...
109
leanexplore_declaration
leanexplore:380410
leanexplore_sqlite
leanexplore_declarations
lemma Subring.algebraMap_def {R : Type*} [CommRing R] (S : Subring R) : algebraMap S R = S.subtype := rfl
172
leanexplore_declaration
leanexplore:380411
leanexplore_sqlite
leanexplore_declarations
instance {K A : Type*} [Field K] [CommRing A] [Algebra K A] (R : ValuationSubring K) [FaithfulSMul K A] : FaithfulSMul R A := Subsemiring.instFaithfulSMulSubtypeMem R
189
leanexplore_declaration
leanexplore:380412
leanexplore_sqlite
leanexplore_declarations
instance {K L : Type*} [Field K] [Field L] [Algebra K L] [NumberField K] (E : IntermediateField K L) [FiniteDimensional K E] : NumberField E where to_finiteDimensional := .trans ℚ K E
284
leanexplore_declaration
leanexplore:380413
leanexplore_sqlite
leanexplore_declarations
instance {K L : Type*} [Field K] [Semiring L] (O : ValuationSubring K) [Algebra K L] : Algebra O L where smul r x := r.1 • x algebraMap := (algebraMap K L).comp (algebraMap O K) commutes' _ _ := by simp [Algebra.commutes] smul_def' _ _ := by simp [← Algebra.smul_def]; rfl
292
leanexplore_declaration
leanexplore:380414
leanexplore_sqlite
leanexplore_declarations
instance IntermediateField.smulCommClass_of_normal {K L G : Type*} [Field K] [Field L] [Algebra K L] (E : IntermediateField K L) [Monoid G] [MulSemiringAction G L] [SMulCommClass G K L] [Normal K E] : SMulCommClass G K E where smul_comm g k e := Subtype.ext <| smul_comm g k e.1
253
leanexplore_declaration
leanexplore:380415
leanexplore_sqlite
leanexplore_declarations
instance ValuationSubring.smulCommClass (K L G : Type*) [Field K] [Semiring L] (O : ValuationSubring K) [Algebra K L] [Monoid G] [MulSemiringAction G L] [SMulCommClass G K L] : SMulCommClass G O L where smul_comm g o l := smul_comm g o.1 l
263
leanexplore_declaration
leanexplore:380416
leanexplore_sqlite
leanexplore_declarations
theorem Subgroup.index_op {G : Type*} [Group G] (H : Subgroup G) : H.op.index = H.index := by trans (H.comap (MulEquiv.inv' G).symm.toMonoidHom).index · congr 1 ext; simp · exact Subgroup.index_comap_of_surjective _ (MulEquiv.inv' G).symm.surjective
159
leanexplore_declaration
leanexplore:380417
leanexplore_sqlite
leanexplore_declarations
instance {G : Type*} [Group G] (H : Subgroup G) [H.FiniteIndex] : H.op.FiniteIndex := ⟨by rw [Subgroup.index_op]; exact Subgroup.FiniteIndex.index_ne_zero⟩
817
leanexplore_declaration
leanexplore:380418
leanexplore_sqlite
leanexplore_declarations
lemma IsTopologicalGroup.totallyBounded {G : Type*} [Group G] [TopologicalSpace G] [IsTopologicalGroup G] (H : ∀ s ∈ nhds (1 : G), ∃ H : Subgroup G, H.FiniteIndex ∧ ↑H ⊆ s) : letI := IsTopologicalGroup.rightUniformSpace G TotallyBounded (Set.univ : Set G) := by letI := IsTopologicalGroup.rightUniformSpace...
376
leanexplore_declaration
leanexplore:380419
leanexplore_sqlite
leanexplore_declarations
noncomputable instance Additive.instDistrbMulAction {G M : Type*} [Monoid G] [Monoid M] [MulDistribMulAction G M] : DistribMulAction G (Additive M) where smul g m := .ofMul (g • m.toMul) one_smul m := one_smul _ m.toMul mul_smul g h m := mul_smul g h m.toMul smul_zero g := smul_one (N := M) g smul_add...
247
leanexplore_declaration
leanexplore:380420
leanexplore_sqlite
leanexplore_declarations
/-- `repnFunctor n G 𝓞` is the functor taking `R` to continuous reps `G → GLₙ(R)`. -/ def repnFunctor : ProartinianCat 𝓞 ⥤ Type u where obj R := G →ₜ* GL n R map {R S} f := ↾ (fun ρ ↦ .comp (Units.mapₜ f.hom.mapMatrix.toContinuousMonoidHom) ρ)
240
leanexplore_declaration
leanexplore:380421
leanexplore_sqlite
leanexplore_declarations
@[simp] lemma repnFunctor_map {R S : ProartinianCat 𝓞} (f : R ⟶ S) (ρ : G →ₜ* GL n R) (x : G) : DFunLike.coe (F := G →ₜ* GL n S) ((repnFunctor n G 𝓞).map f ρ) x = Matrix.GeneralLinearGroup.map (n := n) f.hom.toRingHom (ρ x) := rfl
254
leanexplore_declaration
leanexplore:380422
leanexplore_sqlite
leanexplore_declarations
/-- Turn an element in `repnFunctor` into an actual `Representation`. -/ def toRepresentation {R} (ρ : (repnFunctor n G 𝓞).obj R) : Representation R G (n → R) := (Units.coeHom _).comp (Matrix.GeneralLinearGroup.toLin.toMonoidHom.comp ρ.toMonoidHom)
202
leanexplore_declaration
leanexplore:380423
leanexplore_sqlite
leanexplore_declarations
/-- Turn an element in `repnFunctor` into an actual `GaloisRep`. -/ noncomputable def toFramedGaloisRep {R} (ρ : (repnFunctor n (Γ K) 𝓞).obj R) : FramedGaloisRep K R n := FramedGaloisRep.GL.symm ρ
296
leanexplore_declaration
leanexplore:380424
leanexplore_sqlite
leanexplore_declarations
lemma toFramedGaloisRep_map {R S : ProartinianCat 𝓞} (f : R ⟶ S) (ρ : (repnFunctor n (Γ K) 𝓞).obj R) : toFramedGaloisRep ((repnFunctor n (Γ K) 𝓞).map f ρ) = (toFramedGaloisRep ρ).baseChange f.hom f.hom.cont := by apply FramedGaloisRep.GL.injective ext simp [toFramedGaloisRep]
1,111
leanexplore_declaration
leanexplore:380425
leanexplore_sqlite
leanexplore_declarations
/-- `repnQuotFunctor n G 𝓞` is the functor taking `R` to continuous reps `G → GLₙ(R)` up to conjugation by some `γ` in the kernel of `GLₙ(R) → GLₙ(𝕜)`. -/ noncomputable def repnQuotFunctor : ProartinianCat 𝓞 ⥤ Type u where obj R := MulAction.orbitRel.Quotient ((Matrix.GeneralLinearGroup.map (n := n) (Proartini...
217
leanexplore_declaration
leanexplore:380426
leanexplore_sqlite
leanexplore_declarations
/-- The quotient map taking representations to "representations up to equivalence". -/ noncomputable def toRepnQuot : repnFunctor n G 𝓞 ⟶ repnQuotFunctor n G 𝓞 where app _ := ↾Quotient.mk'' naturality _ _ _ := rfl
265
leanexplore_declaration
leanexplore:380427
leanexplore_sqlite
leanexplore_declarations
/-- `liftFunctor n G 𝓞` is the functor taking `R` to lifts `G → GLₙ(R)` of `ρ : G → GLₙ(𝕜)`. -/ noncomputable def liftFunctor (ρ : (repnFunctor n G 𝓞).obj .residueField) : Subfunctor (repnFunctor n G 𝓞) := .ofIsTerminal _ ProartinianCat.isTerminalResidueField {ρ}
378
leanexplore_declaration
leanexplore:380428
leanexplore_sqlite
leanexplore_declarations
/-- `deformationFunctor n G 𝓞` is the functor taking `R` to lifts `G → GLₙ(R)` of `ρ : G → GLₙ(𝕜)`, up to conjugation by some `γ` in the kernel of `GLₙ(R) → GLₙ(𝕜)`. -/ noncomputable def deformationFunctor (ρ : (repnFunctor n G 𝓞).obj .residueField) : Subfunctor (repnQuotFunctor n G 𝓞) := .ofIsTerminal _ Pro...
263
leanexplore_declaration
leanexplore:380429
leanexplore_sqlite
leanexplore_declarations
/-- The subfunctor of flat lifts. This probably only makes sense when `𝓞` is `v`-adic. -/ def flatFunctor (v : Ω K) : Subfunctor (repnFunctor n (Γ K) 𝓞) where obj R := { ρ | (toFramedGaloisRep ρ).IsFlatAt v } map := sorry -- See e.g. Conrad Theorem 1.6 of CSS
433
leanexplore_declaration
leanexplore:380430
leanexplore_sqlite
leanexplore_declarations
/-- The subfunctor of unramified (at `v`) representations. -/ def unramifiedFunctor (v : Ω K) : Subfunctor (repnFunctor n (Γ K) 𝓞) where obj R := { ρ | (toFramedGaloisRep ρ).IsUnramifiedAt v } map {R S} f ρ hρ := by have : (toFramedGaloisRep ρ).IsUnramifiedAt v := hρ simp only [Set.preimage_setOf_eq, toFra...
672
leanexplore_declaration
leanexplore:380431
leanexplore_sqlite
leanexplore_declarations
/-- The subfunctor of representations whose trace is `2` on `ker(Iᵥ → k(v)ˣ)`. -/ def traceConditionFunctor (v : Ω K) : Subfunctor (repnFunctor (Fin 2) (Γ K) 𝓞) where obj R := { ρ | ∀ σ ∈ localTameAbelianInertiaGroup v, LinearMap.trace _ _ ((toFramedGaloisRep ρ).toLocal v σ) = 2 } map {R S} f ρ hρ σ hσ := by ...
654
leanexplore_declaration
leanexplore:380432
leanexplore_sqlite
leanexplore_declarations
/-- The subfunctor of representations whose trace is `2` on `Iᵥ`. -/ def narrowTraceConditionFunctor (v : Ω K) : Subfunctor (repnFunctor (Fin 2) (Γ K) 𝓞) where obj R := { ρ | ∀ σ ∈ localInertiaGroup v, LinearMap.trace _ _ ((toFramedGaloisRep ρ).toLocal v σ) = 2 } map {R S} f ρ hρ σ hσ := by have := hρ σ hσ...
570
leanexplore_declaration
leanexplore:380433
leanexplore_sqlite
leanexplore_declarations
/-- The subfunctor of representations with `det = εₗ`. -/ def detConditionFunctor (l : ℕ) [Fact l.Prime] [Algebra ℤ_[l] 𝓞] : Subfunctor (repnFunctor n (Γ K) 𝓞) where obj R := { ρ | ∀ σ, (toFramedGaloisRep ρ).det σ = algebraMap 𝓞 R (algebraMap ℤ_[l] 𝓞 (cyclotomicCharacter (Kᵃˡᵍ) l σ)) } map {R S} f ρ hρ ...
164
leanexplore_declaration
leanexplore:380434
leanexplore_sqlite
leanexplore_declarations
lemma isCorepresentable_deformationFunctor : (deformationFunctor n G 𝓞 ρ).toFunctor.IsCorepresentable := by sorry -- de Smit and Lenstra, Proposition 2.3 (1).
629
leanexplore_declaration
leanexplore:380435
leanexplore_sqlite
leanexplore_declarations
/-- The functor of `S`-lifts of `ρ`, consisting of representations of `GL₂` satisfying: 1. It is a lift of `ρ`. 2. Its determinant is equal to `εₗ`, the `l`-adic cyclotomic character. 3. It is unramified outside `l` and `S`. 4. Its trace is `2` on `ker(Iᵥ → k(v)ˣ)`. 5. It is flat at all `v | l`. -/ def SLiftFunctor : S...