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 |
|---|---|---|---|---|---|
594 | leanexplore_declaration | leanexplore:381769 | leanexplore_sqlite | leanexplore_declarations | instance (α : OpenIdeals R) : ContinuousSMul R (PatchingModule.Component R M F α.1) := by
refine ContinuousSMul.of_nhds_zero (by simp) ?_ (by simp)
intro x
obtain ⟨x, rfl⟩ := UltraProduct.πₗ_surjective (fun _ ↦ R) x
simp only [← LinearMap.map_smul_of_tower, nhds_discrete, pure_zero, tendsto_zero,
UltraProdu... |
139 | leanexplore_declaration | leanexplore:381770 | leanexplore_sqlite | leanexplore_declarations | instance : ContinuousSMul R (PatchingModule R M F) :=
ContinuousSMul.induced ((PatchingModule.submodule R M F).restrictScalars R).subtype |
96 | leanexplore_declaration | leanexplore:381771 | leanexplore_sqlite | leanexplore_declarations | instance : TotallyDisconnectedSpace (PatchingModule R M F) :=
Subtype.totallyDisconnectedSpace |
105 | leanexplore_declaration | leanexplore:381772 | leanexplore_sqlite | leanexplore_declarations | instance : T2Space (PatchingModule R M F) :=
inferInstanceAs (T2Space (PatchingModule.submodule R M F)) |
179 | leanexplore_declaration | leanexplore:381773 | leanexplore_sqlite | leanexplore_declarations | def PatchingModule.π (α : OpenIdeals R) :
PatchingModule R M F →ₗ[ι → R] PatchingModule.Component R M F α.1 :=
(LinearMap.proj α) ∘ₗ (PatchingModule.submodule R M F).subtype |
222 | leanexplore_declaration | leanexplore:381774 | leanexplore_sqlite | leanexplore_declarations | def PatchingModule.ofPi :
(OpenIdeals R → Π i, M i) →ₗ[OpenIdeals R → ι → R]
Π α : OpenIdeals R, Component R M F α.1 :=
LinearMap.piMap' fun _ ↦ UltraProduct.πₗ _ _ _ ∘ₗ LinearMap.piMap' fun _ ↦ Submodule.mkQ _ |
145 | leanexplore_declaration | leanexplore:381775 | leanexplore_sqlite | leanexplore_declarations | @[simp]
lemma PatchingModule.ofPi_apply (x α) :
ofPi R M F x α = UltraProduct.πₗ (fun _ ↦ R) _ _ fun i ↦ Submodule.Quotient.mk (x α i) := rfl |
276 | leanexplore_declaration | leanexplore:381776 | leanexplore_sqlite | leanexplore_declarations | lemma PatchingModule.ofPi_surjective :
Function.Surjective (ofPi R M F) := by
intro x
choose y hy using fun a ↦ UltraProduct.πₗ_surjective (fun _ ↦ R) (x a)
choose z hz using fun i j ↦ Submodule.Quotient.mk_surjective _ (y i j)
exact ⟨z, by ext; simp [← hy, ← hz]⟩ |
224 | leanexplore_declaration | leanexplore:381777 | leanexplore_sqlite | leanexplore_declarations | def PatchingModule.incl :
(Π i, M i) →ₗ[ι → R] PatchingModule R M F :=
LinearMap.codRestrict (PatchingModule.submodule R M F)
((ofPi R M F).restrictScalars _ ∘ₗ LinearMap.pi fun _ ↦ .id) <| by
intro v α β h
rfl |
220 | leanexplore_declaration | leanexplore:381778 | leanexplore_sqlite | leanexplore_declarations | @[simp]
lemma PatchingModule.incl_apply (x) (α) :
(PatchingModule.incl R M F x).1 α =
UltraProduct.πₗ (fun _ ↦ R) (fun i ↦ M i ⧸ (α.1 • ⊤ : Submodule R (M i))) F
(fun i ↦ Submodule.Quotient.mk (x i)) := rfl |
772 | leanexplore_declaration | leanexplore:381779 | leanexplore_sqlite | leanexplore_declarations | instance {α : OpenIdeals R} [Module.UniformlyBoundedRank R M]
[∀ i, Module.Free (R ⧸ Ann R (M i)) (M i)] :
Finite (PatchingModule.Component R M F α.1) := by
let M₁ := fun i ↦ M i ⧸ (α.1 • ⊤ : Submodule R (M i))
have : Finite (R ⧸ α.1) := AddSubgroup.quotient_finite_of_isOpen _ α.2
have H₁ := UltraProduct.... |
428 | leanexplore_declaration | leanexplore:381780 | leanexplore_sqlite | leanexplore_declarations | abbrev PatchingModule.componentMapModule (α : Ideal R) :
Component R M F α →ₗ[ι → R] Component R N F α :=
UltraProduct.map (R := fun _ ↦ R)
(M := (fun i ↦ M i ⧸ (α • ⊤ : Submodule R (M i))))
(N := (fun i ↦ N i ⧸ (α • ⊤ : Submodule R (N i)))) F
(fun _ ↦ Submodule.mapQ _ _ (f _) (by
simp only [← S... |
357 | leanexplore_declaration | leanexplore:381781 | leanexplore_sqlite | leanexplore_declarations | lemma PatchingModule.componentMapModule_surjective
(hf : ∀ i, Function.Surjective (f i)) (α : Ideal R) :
Function.Surjective (componentMapModule R F f α) := by
apply UltraProduct.map_surjective
intro i
rw [← LinearMap.range_eq_top, Submodule.mapQ, Submodule.range_liftQ, LinearMap.range_eq_top]
exact (Su... |
678 | leanexplore_declaration | leanexplore:381782 | leanexplore_sqlite | leanexplore_declarations | def PatchingModule.map :
PatchingModule R M F →ₗ[ι → R] PatchingModule R N F :=
LinearMap.restrict (p := submodule R M F) (q := submodule R N F)
((LinearMap.piMap' fun α : OpenIdeals R ↦ componentMapModule R F f α.1).restrictScalars (ι → R))
(fun x hx α β h ↦ by
obtain ⟨a, ha⟩ := UltraProduct.πₗ_sur... |
139 | leanexplore_declaration | leanexplore:381783 | leanexplore_sqlite | leanexplore_declarations | @[simp]
lemma PatchingModule.map_apply (x : PatchingModule R M F) (α) :
(map R F f x).1 α = componentMapModule R F f α.1 (x.1 α) := rfl |
203 | leanexplore_declaration | leanexplore:381784 | leanexplore_sqlite | leanexplore_declarations | lemma PatchingModule.map_comp_apply (x) :
map R F (fun i ↦ g i ∘ₗ f i) x = map R F g (map R F f x) := by
refine Subtype.ext (funext fun α ↦ ?_)
obtain ⟨y, hy⟩ := ofPi_surjective x.1
simp [← hy] |
133 | leanexplore_declaration | leanexplore:381785 | leanexplore_sqlite | leanexplore_declarations | lemma PatchingModule.map_comp :
map R F (fun i ↦ g i ∘ₗ f i) = map R F g ∘ₗ map R F f :=
LinearMap.ext (map_comp_apply R F f g) |
216 | leanexplore_declaration | leanexplore:381786 | leanexplore_sqlite | leanexplore_declarations | @[simp]
lemma PatchingModule.map_id :
map R F (fun i ↦ .id (M := M i)) = .id := by
ext x
refine Subtype.ext (funext fun α ↦ ?_)
obtain ⟨y, hy⟩ := UltraProduct.πₗ_surjective (fun _ ↦ R) (x.1 α)
simp [← hy] |
323 | leanexplore_declaration | leanexplore:381787 | leanexplore_sqlite | leanexplore_declarations | @[simps! apply symm_apply]
def PatchingModule.mapEquiv (f : ∀ i, M i ≃ₗ[R] N i) :
PatchingModule R M F ≃ₗ[ι → R] PatchingModule R N F where
__ := map R F fun i ↦ (f i).toLinearMap
invFun := map R F fun i ↦ (f i).symm.toLinearMap
left_inv x := by simp [← map_comp_apply]
right_inv x := by simp [← map_comp_app... |
185 | leanexplore_declaration | leanexplore:381788 | leanexplore_sqlite | leanexplore_declarations | @[simps! apply symm_apply]
def PatchingModule.mapEquiv (f : ∀ i, M i ≃ₗ[R] N i) :
PatchingModule R M F ≃ₗ[ι → R] PatchingModule R N F where
__ := map R F fun i ↦ (f i).toLinearMap |
2,203 | leanexplore_declaration | leanexplore:381790 | leanexplore_sqlite | leanexplore_declarations | lemma PatchingModule.map_surjective
[IsLocalRing R] [IsAdicTopology R]
[Module.UniformlyBoundedRank R M]
[∀ i, Module.Free (R ⧸ Ann R (M i)) (M i)]
(hf : ∀ i, Function.Surjective (f i)) :
Function.Surjective (map R F f) := by
intro x
let s (α : OpenIdeals R) : Set (Component R M F α.1) :=
co... |
170 | leanexplore_declaration | leanexplore:381791 | leanexplore_sqlite | leanexplore_declarations | def PatchingModule.toConst (M) [AddCommGroup M] [Module R M] :
M →ₗ[R] PatchingModule R (fun _ ↦ M) F :=
(incl R (fun _ ↦ M) F).restrictScalars R ∘ₗ .pi fun _ ↦ .id |
1,264 | leanexplore_declaration | leanexplore:381792 | leanexplore_sqlite | leanexplore_declarations | lemma PatchingModule.toConst_surjective (M) [AddCommGroup M] [Module R M] [Module.Finite R M] :
Function.Surjective (toConst R F M) := by
letI := moduleTopology R M
have : IsModuleTopology R M := ⟨rfl⟩
have : CompactSpace M := IsModuleTopology.compactSpace R M
have H : Continuous (toConst R F M) := by
e... |
677 | leanexplore_declaration | leanexplore:381793 | leanexplore_sqlite | leanexplore_declarations | noncomputable
def PatchingModule.constEquiv [IsLocalRing R] [T2Space R] [IsNoetherianRing R]
(M) [AddCommGroup M] [Module R M] [Module.Finite R M] :
M ≃ₗ[R] PatchingModule R (fun _ ↦ M) F := by
refine .ofBijective (toConst R F M) ⟨?_, toConst_surjective R F M⟩
rw [injective_iff_map_eq_zero]
intro a ha
h... |
121 | leanexplore_declaration | leanexplore:381794 | leanexplore_sqlite | leanexplore_declarations | class IsPatchingSystem (F : Filter ι) : Prop where
cond : ∀ α : Ideal R, IsOpen (X := R) α → ∀ᶠ i in F, Ann R (M i) ≤ α |
207 | leanexplore_declaration | leanexplore:381795 | leanexplore_sqlite | leanexplore_declarations | noncomputable
def IsPatchingSystem.linearMap (α : Ideal R) (i) :
(Fin (rank R M F) → R ⧸ α) →ₗ[R] M i ⧸ (α • ⊤ : Submodule R (M i)) :=
Pi.liftQuotientₗ (Module.UniformlyBoundedRank.linearMap R M F i) _ |
327 | leanexplore_declaration | leanexplore:381796 | leanexplore_sqlite | leanexplore_declarations | lemma IsPatchingSystem.linearMap_compLeft (α : Ideal R) (i) (x) :
linearMap R M F α i ((Algebra.linearMap R (R ⧸ α)).compLeft _ x) =
Submodule.Quotient.mk (Module.UniformlyBoundedRank.linearMap R M F i x) := by
simp [linearMap, LinearMap.quotKerEquivOfSurjective, LinearEquiv.ofTop_symm_apply,
Pi.liftQuo... |
430 | leanexplore_declaration | leanexplore:381797 | leanexplore_sqlite | leanexplore_declarations | lemma IsPatchingSystem.linearMap_bijective (α : Ideal R) (hα : IsOpen (X := R) α) :
∀ᶠ i in F, Function.Bijective (linearMap R M F α i) := by
filter_upwards [linearMap_surjective R M F,
linearMap_eq_zero R M F,
IsPatchingSystem.cond (M := M) (F := F) α hα] with i h₁ h₂ h₃
refine Pi.liftQuotientₗ_bijecti... |
391 | leanexplore_declaration | leanexplore:381798 | leanexplore_sqlite | leanexplore_declarations | noncomputable
def PatchingModule.equivComponent (α : Ideal R) (hα : IsOpen (X := R) α) :
(Fin (rank R M F) → R ⧸ α) ≃ₗ[R] Component R M F α :=
haveI : Finite (R ⧸ α) := AddSubgroup.quotient_finite_of_isOpen _ hα
LinearEquiv.ofBijective _ (UltraProduct.bijective_of_eventually_bijective
(IsPatchingSystem.line... |
375 | leanexplore_declaration | leanexplore:381799 | leanexplore_sqlite | leanexplore_declarations | noncomputable
def PatchingModule.mapOfIsPatchingSystem :
(Fin (rank R M F) → R) →ₗ[R] PatchingModule R M F :=
LinearMap.codRestrict
((submodule R M F).restrictScalars R)
(LinearMap.pi fun α ↦ (equivComponent R M F α.1 α.2).toLinearMap ∘ₗ
(Algebra.linearMap _ _).compLeft _) fun c α β hαβ ↦ by
sim... |
141 | leanexplore_declaration | leanexplore:381800 | leanexplore_sqlite | leanexplore_declarations | lemma PatchingModule.continuous_ofPi : Continuous (mapOfIsPatchingSystem R M F) :=
LinearMap.continuous_on_pi (mapOfIsPatchingSystem R M F) |
1,118 | leanexplore_declaration | leanexplore:381801 | leanexplore_sqlite | leanexplore_declarations | lemma PatchingModule.mapOfIsPatchingSystem_bijective :
Function.Bijective (mapOfIsPatchingSystem R M F) := by
constructor
· rw [injective_iff_map_eq_zero]
intro x hx
ext i
replace hx : ∀ α : OpenIdeals R, equivComponent R M F α.1 α.2 _ = 0 :=
funext_iff.mp (congr_arg Subtype.val hx)
replac... |
145 | leanexplore_declaration | leanexplore:381802 | leanexplore_sqlite | leanexplore_declarations | instance : Module.Free R (PatchingModule R M F) :=
.of_equiv (LinearEquiv.ofBijective _ (PatchingModule.mapOfIsPatchingSystem_bijective R M F)) |
137 | leanexplore_declaration | leanexplore:381803 | leanexplore_sqlite | leanexplore_declarations | instance : Module.Finite R (PatchingModule R M F) :=
.of_surjective _ (PatchingModule.mapOfIsPatchingSystem_bijective R M F).surjective |
248 | leanexplore_declaration | leanexplore:381804 | leanexplore_sqlite | leanexplore_declarations | lemma PatchingModule.rank_patchingModule [Nontrivial R] :
Module.rank R (PatchingModule R M F) = rank R M F := by
simpa using LinearEquiv.lift_rank_eq
(LinearEquiv.ofBijective _ (PatchingModule.mapOfIsPatchingSystem_bijective R M F)).symm |
1,602 | leanexplore_declaration | leanexplore:381805 | leanexplore_sqlite | leanexplore_declarations | def Submodule.liftModIdeal {R M N : Type*} [CommRing R]
[AddCommGroup M] [Module R M] [AddCommGroup N] [Module R N] {I : Ideal R}
(f : M ⧸ (I • ⊤ : Submodule R M) →ₗ[R] N ⧸ (I • ⊤ : Submodule R N)) (J : Ideal R) :
(M ⧸ (J • ⊤ : Submodule R M)) ⧸ (I • ⊤ : Submodule R (M ⧸ (J • ⊤ : Submodule R M))) →ₗ[R]
... |
1,175 | leanexplore_declaration | leanexplore:381806 | leanexplore_sqlite | leanexplore_declarations | def Submodule.liftModIdealEquiv {R M N : Type*} [CommRing R]
[AddCommGroup M] [Module R M] [AddCommGroup N] [Module R N] {I : Ideal R}
(f : (M ⧸ (I • ⊤ : Submodule R M)) ≃ₗ[R] N ⧸ (I • ⊤ : Submodule R N)) (J : Ideal R) :
((M ⧸ (J • ⊤ : Submodule R M)) ⧸ (I • ⊤ : Submodule R (M ⧸ (J • ⊤ : Submodule R M)))) ≃... |
105 | leanexplore_declaration | leanexplore:381807 | leanexplore_sqlite | leanexplore_declarations | instance : Subsingleton (PatchingModule.Component Λ M F ⊤) :=
Module.subsingleton (Λ ⧸ (⊤ : Ideal Λ)) _ |
3,810 | leanexplore_declaration | leanexplore:381808 | leanexplore_sqlite | leanexplore_declarations | lemma PatchingModule.ker_componentMapModule_mkQ (α : OpenIdeals Λ) :
LinearMap.ker ((componentMapModule Λ F (fun i ↦
(𝔫 • ⊤ : Submodule Λ (M i)).mkQ) α.1).restrictScalars Λ) = 𝔫 • ⊤ := by
obtain ⟨α, hα₁⟩ := α
classical
set f := componentMapModule Λ F (fun i ↦ (𝔫 • ⊤ : Submodule Λ (M i)).mkQ) α
have... |
4,639 | leanexplore_declaration | leanexplore:381809 | leanexplore_sqlite | leanexplore_declarations | lemma PatchingModule.mem_smul_top (x : PatchingModule Λ M F) :
x ∈ (𝔫 • ⊤ : Submodule Λ (PatchingModule Λ M F)) ↔
∀ (α : OpenIdeals Λ), x.1 α ∈ (𝔫 • ⊤ : Submodule Λ (Component Λ M F α.1)) := by
classical
constructor
· intro H α
replace H := Submodule.mem_map_of_mem (f := (submodule Λ M F).subtype.... |
1,365 | leanexplore_declaration | leanexplore:381810 | leanexplore_sqlite | leanexplore_declarations | lemma PatchingModule.ker_map_mkQ :
LinearMap.ker ((PatchingModule.map Λ F fun i ↦
(𝔫 • ⊤ : Submodule Λ (M i)).mkQ).restrictScalars Λ) = 𝔫 • ⊤ := by
apply le_antisymm
· rintro ⟨x, hx⟩ H
replace H (α) : x α ∈ (𝔫 • ⊤ : Submodule Λ (Component Λ M F α.1)) := by
have : x α ∈ LinearMap.ker ((compone... |
317 | leanexplore_declaration | leanexplore:381811 | leanexplore_sqlite | leanexplore_declarations | noncomputable
def PatchingModule.quotientTo :
(PatchingModule Λ M F ⧸ (𝔫 • ⊤ : Submodule Λ (PatchingModule Λ M F))) →ₗ[Λ]
PatchingModule Λ (fun i ↦ (M i) ⧸ (𝔫 • ⊤ : Submodule Λ (M i))) F :=
Submodule.liftQ _
((PatchingModule.map Λ F fun _ ↦ Submodule.mkQ _).restrictScalars Λ) (ker_map_mkQ Λ M F 𝔫).ge |
611 | leanexplore_declaration | leanexplore:381812 | leanexplore_sqlite | leanexplore_declarations | noncomputable
def PatchingModule.quotientEquiv :
(PatchingModule Λ M F ⧸ (𝔫 • ⊤ : Submodule Λ (PatchingModule Λ M F))) ≃ₗ[Λ]
PatchingModule Λ (fun i ↦ (M i) ⧸ (𝔫 • ⊤ : Submodule Λ (M i))) F := by
refine LinearEquiv.ofBijective (quotientTo Λ M F 𝔫) ⟨?_, ?_⟩
· rw [quotientTo, ← LinearMap.ker_eq_bot, Subm... |
267 | leanexplore_declaration | leanexplore:381813 | leanexplore_sqlite | leanexplore_declarations | noncomputable
def PatchingModule.quotientEquivOver [Module.Finite Λ M₀] :
(PatchingModule Λ M F ⧸ (𝔫 • ⊤ : Submodule Λ (PatchingModule Λ M F))) ≃ₗ[Λ] M₀ :=
quotientEquiv Λ M F 𝔫 ≪≫ₗ (mapEquiv Λ F (by exact sM)).restrictScalars Λ ≪≫ₗ
(constEquiv Λ F M₀).symm |
1,074 | leanexplore_declaration | leanexplore:381814 | leanexplore_sqlite | leanexplore_declarations | noncomputable
def PatchingAlgebra.quotientTo
[∀ (i : ι), IsLocalRing (R i ⧸ Ideal.map (algebraMap Λ (R i)) 𝔫)] :
(PatchingAlgebra R F ⧸ 𝔫.map (algebraMap Λ (PatchingAlgebra R F))) →+*
PatchingAlgebra (fun i ↦ R i ⧸ 𝔫.map (algebraMap Λ (R i))) F :=
letI : ∀ (i : ι), IsLocalHom ((fun i ↦ Ideal.Quotient... |
506 | leanexplore_declaration | leanexplore:381815 | leanexplore_sqlite | leanexplore_declarations | noncomputable
def PatchingAlgebra.quotientToOver :
(PatchingAlgebra R F ⧸ 𝔫.map (algebraMap Λ (PatchingAlgebra R F))) →+* R₀ :=
have (i : ι) : Nontrivial (R i ⧸ Ideal.map (algebraMap Λ (R i)) 𝔫) :=
(sR i).toRingHom.domain_nontrivial
have (i : ι) : IsLocalRing (R i ⧸ Ideal.map (algebraMap Λ (R i)) 𝔫) :=
... |
768 | leanexplore_declaration | leanexplore:381816 | leanexplore_sqlite | leanexplore_declarations | lemma PatchingAlgebra.surjective_quotientToOver :
Function.Surjective (quotientToOver Λ R F 𝔫 sR) := by
have (i : ι) : Nontrivial (R i ⧸ Ideal.map (algebraMap Λ (R i)) 𝔫) :=
(sR i).toRingHom.domain_nontrivial
have (i : ι) : IsLocalRing (R i ⧸ Ideal.map (algebraMap Λ (R i)) 𝔫) :=
.of_surjective' (sR i... |
759 | leanexplore_declaration | leanexplore:381817 | leanexplore_sqlite | leanexplore_declarations | theorem ker_RtoT_le_nilradical : RingHom.ker RtoT ≤ nilradical R₀ := by
have : Module.Finite Λ M₀ := by
cases isEmpty_or_nonempty ι
· cases F.neBot.1 (Subsingleton.elim _ _)
have i := Nonempty.some (inferInstance : Nonempty ι)
exact Module.Finite.equiv (sM i)
have : Module.Finite R₀ M₀ := .of_restri... |
597 | leanexplore_declaration | leanexplore:381818 | leanexplore_sqlite | leanexplore_declarations | instance {R S M : Type*} [CommRing R] [CommRing S] [AddCommGroup M]
[Module R M] [Module S M] [SMulCommClass S R M] : SMul (Ideal R) (Submodule S M) where
smul I N := ⟨I.toAddSubmonoid • N.toAddSubmonoid, by
intro r
change I.toAddSubmonoid • N.toAddSubmonoid ≤
(I.toAddSubmonoid • N.toAddSubmonoid).c... |
871 | leanexplore_declaration | leanexplore:381819 | leanexplore_sqlite | leanexplore_declarations | lemma Submodule.map_algebraMap_smul {R S M : Type*} [CommRing R] [CommRing S] [AddCommGroup M]
[Module R M] [Module S M] [Algebra R S] [IsScalarTower R S M] (I : Ideal R)
(N : Submodule S M) :
I.map (algebraMap R S) • N = I • N := by
apply le_antisymm
· rw [Submodule.smul_le]
intro r hr n hn
ind... |
934 | leanexplore_declaration | leanexplore:381820 | leanexplore_sqlite | leanexplore_declarations | lemma maximalIdeal_pow_bound_le_smul_top (i) (α : OpenIdeals Λ) :
(maximalIdeal (R i) ^ (Nat.card (Λ ⧸ α.1) ^ bound Λ M) • ⊤ :
Submodule (R i) (M i)) ≤ α.1 • ⊤ := by
rw [← Submodule.map_algebraMap_smul α.1]
let α' := α.1.map (algebraMap Λ (R i))
have : Finite (Λ ⧸ α.1) := AddSubgroup.quotient_finite_of_... |
173 | leanexplore_declaration | leanexplore:381821 | leanexplore_sqlite | leanexplore_declarations | class PatchingAlgebra.smulData where
f : OpenIdeals Λ → ℕ
pow_f_smul_le : ∀ i α, (maximalIdeal (R i) ^ (f α) • ⊤ : Submodule (R i) (M i)) ≤ α.1 • ⊤
f_mono : Antitone f |
422 | leanexplore_declaration | leanexplore:381822 | leanexplore_sqlite | leanexplore_declarations | noncomputable
instance IsPatchingSystem.isModuleQuotient [PatchingAlgebra.smulData Λ R M] (α : OpenIdeals Λ) (i) :
Module (R i ⧸ (maximalIdeal (R i) ^ (PatchingAlgebra.smulData.f R M α)))
(M i ⧸ (α.1 • ⊤ : Submodule (R i) (M i))) := Module.IsTorsionBySet.module <| by
rw [Module.isTorsionBySet_quotient_iff]
... |
280 | leanexplore_declaration | leanexplore:381823 | leanexplore_sqlite | leanexplore_declarations | noncomputable
instance IsPatchingSystem.isModuleQuotient' [PatchingAlgebra.smulData Λ R M]
(α : OpenIdeals Λ) (i) :
Module (R i ⧸ (maximalIdeal (R i) ^ (PatchingAlgebra.smulData.f R M α)))
(M i ⧸ (α.1 • ⊤ : Submodule Λ (M i))) := IsPatchingSystem.isModuleQuotient .. |
214 | leanexplore_declaration | leanexplore:381824 | leanexplore_sqlite | leanexplore_declarations | noncomputable
instance [PatchingAlgebra.smulData Λ R M] (α : OpenIdeals Λ) :
Module (PatchingAlgebra.Component R F (PatchingAlgebra.smulData.f R M α))
(PatchingModule.Component Λ M F α.1) := inferInstance |
1,179 | leanexplore_declaration | leanexplore:381825 | leanexplore_sqlite | leanexplore_declarations | noncomputable
instance [PatchingAlgebra.smulData Λ R M] : SMul (PatchingAlgebra R F) (PatchingModule Λ M F) where
smul x m := ⟨fun α ↦ x.1 (PatchingAlgebra.smulData.f R M α) • m.1 α, by
intro α β h
dsimp only [LinearMap.coe_restrictScalars]
have : α.1.toAddSubgroup.FiniteIndex :=
@AddSubgroup.finite... |
568 | leanexplore_declaration | leanexplore:381826 | leanexplore_sqlite | leanexplore_declarations | noncomputable
instance [PatchingAlgebra.smulData Λ R M] : Module (PatchingAlgebra R F)
(PatchingModule Λ M F) where
one_smul _ := Subtype.ext <| funext fun _ ↦ one_smul _ _
mul_smul _ _ _ := Subtype.ext <| funext fun _ ↦ mul_smul _ _ _
smul_zero _ := Subtype.ext <| funext fun _ ↦ smul_zero _
smul_add _ _ _ ... |
533 | leanexplore_declaration | leanexplore:381827 | leanexplore_sqlite | leanexplore_declarations | instance [PatchingAlgebra.smulData Λ R M] :
IsScalarTower Λ (PatchingAlgebra R F) (PatchingModule Λ M F) := .of_algebraMap_smul <| by
intro r m
refine Subtype.ext (funext fun α ↦ ?_)
obtain ⟨x, hx⟩ := UltraProduct.πₗ_surjective (fun _ ↦ Λ) (m.1 α)
change (algebraMap Λ (Π i, R i ⧸ maximalIdeal (R i) ^
(P... |
157 | leanexplore_declaration | leanexplore:381828 | leanexplore_sqlite | leanexplore_declarations | instance [PatchingAlgebra.smulData Λ R M] : Module.Finite (PatchingAlgebra R F)
(PatchingModule Λ M F) :=
Module.Finite.of_restrictScalars_finite Λ _ _ |
370 | leanexplore_declaration | leanexplore:381829 | leanexplore_sqlite | leanexplore_declarations | noncomputable
instance : PatchingAlgebra.smulData Λ R M where
f α := α.1.toAddSubgroup.index ^ bound Λ M
pow_f_smul_le i α := maximalIdeal_pow_bound_le_smul_top Λ R M i α
f_mono α β h := by
have : α.1.toAddSubgroup.FiniteIndex :=
@AddSubgroup.finiteIndex_of_finite_quotient _ _ _
(AddSubgroup.quo... |
1,097 | leanexplore_declaration | leanexplore:381830 | leanexplore_sqlite | leanexplore_declarations | noncomputable
instance : PatchingAlgebra.smulData Λ (fun _ : ι ↦ R₀) (fun _ ↦ M₀) := by
classical
suffices ∀ α : OpenIdeals Λ, ∃ i, (maximalIdeal R₀ ^ i • ⊤ : Submodule R₀ M₀) ≤ α.1 • ⊤ by
refine ⟨fun α ↦ Nat.find (this α), fun _ α ↦ Nat.find_spec (this α),
fun α β h ↦ Nat.find_min' (this β) ((Nat.find_sp... |
1,845 | leanexplore_declaration | leanexplore:381831 | leanexplore_sqlite | leanexplore_declarations | lemma PatchingAlgebra.faithfulSMul
(H₀ : ringKrullDim Rₒₒ < ⊤)
(H : .some (Module.depth Λ Λ) = ringKrullDim Rₒₒ) :
FaithfulSMul (PatchingAlgebra R F) (PatchingModule Λ M F) := by
let f := PatchingAlgebra.lift R F (fun i ↦ (fRₒₒ i).toRingHom)
have hf : Function.Surjective f :=
lift_surjective R F _ h... |
323 | leanexplore_declaration | leanexplore:381832 | leanexplore_sqlite | leanexplore_declarations | lemma Ultrafilter.eventually_eventually_eq_of_finite
{α β : Type*} [Finite β] (F : Ultrafilter α) (f : α → β) :
∀ᶠ (i) (j) in F, f i = f j := by
obtain ⟨a, ha⟩ : ∃ a, ∀ᶠ i in F, f i = a := Ultrafilter.eventually_exists_iff.mp (by simp)
filter_upwards [ha] with i hi
filter_upwards [ha] with j hj
rw [hi, ... |
3,401 | leanexplore_declaration | leanexplore:381833 | leanexplore_sqlite | leanexplore_declarations | lemma smul_lemma₀
(HCompat : ∀ i m (r : R i), sM i (Submodule.Quotient.mk (r • m)) =
sR i (Ideal.Quotient.mk _ r) • sM i (Submodule.Quotient.mk m))
(x : PatchingModule Λ M F)
(m : PatchingAlgebra R F)
[∀ (i : ι), IsLocalHom (Ideal.Quotient.mk (𝔫.map (algebraMap Λ (R i))))] :
PatchingModule.ma... |
180 | leanexplore_declaration | leanexplore:381834 | leanexplore_sqlite | leanexplore_declarations | lemma smul_lemma₁
(x : M₀)
(m : R₀) :
(PatchingModule.constEquiv Λ F M₀) (m • x) =
(PatchingAlgebra.constEquiv F R₀) m • (PatchingModule.constEquiv Λ F M₀) x := rfl |
1,500 | leanexplore_declaration | leanexplore:381835 | leanexplore_sqlite | leanexplore_declarations | lemma smul_lemma
(HCompat : ∀ i m (r : R i), sM i (Submodule.Quotient.mk (r • m)) =
sR i (Ideal.Quotient.mk _ r) • sM i (Submodule.Quotient.mk m))
(m : PatchingAlgebra R F)
(x : PatchingModule Λ M F ⧸ (𝔫 • ⊤ : Submodule (PatchingAlgebra R F)
(PatchingModule Λ M F))) :
PatchingModule.quo... |
2,147 | leanexplore_declaration | leanexplore:381836 | leanexplore_sqlite | leanexplore_declarations | lemma support_eq_top
(HCompat : ∀ i m (r : R i), sM i (Submodule.Quotient.mk (r • m)) =
sR i (Ideal.Quotient.mk _ r) • sM i (Submodule.Quotient.mk m))
(H₀ : ringKrullDim Rₒₒ < ⊤)
(H : .some (Module.depth Λ Λ) = ringKrullDim Rₒₒ) : Module.support R₀ M₀ = Set.univ := by
have : Module.Finite Λ M₀ := by... |
292 | leanexplore_declaration | leanexplore:381837 | leanexplore_sqlite | leanexplore_declarations | def eventuallyProd (F : Filter ι) : Submodule (Π i, R i) (Π i, M i) where
carrier := { v | ∀ᶠ i in F, v i ∈ N i }
add_mem' hv hw := by filter_upwards [hv, hw]; simp_all [add_mem]
zero_mem' := by simp [zero_mem]
smul_mem' r v hv := by filter_upwards [hv]; simp_all [Submodule.smul_mem] |
116 | leanexplore_declaration | leanexplore:381838 | leanexplore_sqlite | leanexplore_declarations | @[simp]
lemma mem_eventuallyProd {F : Filter ι} {x} :
x ∈ eventuallyProd N F ↔ ∀ᶠ i in F, x i ∈ N i :=
Iff.rfl |
229 | leanexplore_declaration | leanexplore:381839 | leanexplore_sqlite | leanexplore_declarations | lemma eventuallyProd_mono_left
{N₁ N₂ : Π i, Submodule (R i) (M i)} (h : N₁ ≤ N₂) :
eventuallyProd N₁ F ≤ eventuallyProd N₂ F := by
simp_rw [Pi.le_def, SetLike.le_def] at h
exact fun x hx ↦ Eventually.mp hx (by aesop) |
144 | leanexplore_declaration | leanexplore:381840 | leanexplore_sqlite | leanexplore_declarations | lemma eventuallyProd_mono_right {F G : Filter ι} (e : F ≤ G) :
eventuallyProd N G ≤ eventuallyProd N F :=
fun _ ↦ Eventually.filter_mono e |
595 | leanexplore_declaration | leanexplore:381841 | leanexplore_sqlite | leanexplore_declarations | lemma eventuallyProd_eq_sup :
eventuallyProd N F = eventuallyProd ⊥ F ⊔ Submodule.pi' N := by
classical
refine le_antisymm ?_ (sup_le ?_ ?_)
· intro x hx
simp only [mem_eventuallyProd] at hx
suffices ∃ y : Π i, M i, (∀ᶠ i in F, y i = 0) ∧ ∀ i, x i - y i ∈ N i by
simpa [Submodule.mem_sup, @and_co... |
532 | leanexplore_declaration | leanexplore:381842 | leanexplore_sqlite | leanexplore_declarations | instance eventuallyProd.isPrime (F : Ultrafilter ι) [H : ∀ i, (I i).IsPrime] :
Ideal.IsPrime (eventuallyProd I F) where
ne_top' := by
rw [ne_eq, Ideal.eq_top_iff_one]
simp only [mem_eventuallyProd, Pi.one_apply, not_eventually]
simp only [← Ideal.eq_top_iff_one, (H _).ne_top, not_false_eq_true,
... |
88 | leanexplore_declaration | leanexplore:381843 | leanexplore_sqlite | leanexplore_declarations | def UltraProduct : Type _ :=
(Π i, M i) ⧸ eventuallyProd (R := fun _ ↦ ℤ) (M := M) ⊥ F |
138 | leanexplore_declaration | leanexplore:381844 | leanexplore_sqlite | leanexplore_declarations | instance : AddCommGroup (UltraProduct M F) := inferInstanceAs
(AddCommGroup ((Π i, M i) ⧸ eventuallyProd (R := fun _ ↦ ℤ) (M := M) ⊥ F)) |
122 | leanexplore_declaration | leanexplore:381845 | leanexplore_sqlite | leanexplore_declarations | instance : CommRing (UltraProduct R F) := inferInstanceAs
(CommRing ((Π i, R i) ⧸ eventuallyProd (R := R) (M := R) ⊥ F)) |
114 | leanexplore_declaration | leanexplore:381846 | leanexplore_sqlite | leanexplore_declarations | def UltraProduct.π : (Π i, R i) →+* UltraProduct R F :=
Ideal.Quotient.mk (eventuallyProd (R := R) (M := R) ⊥ F) |
140 | leanexplore_declaration | leanexplore:381847 | leanexplore_sqlite | leanexplore_declarations | instance : Module (Π i, R i) (UltraProduct M F) :=
inferInstanceAs (Module (Π i, R i) ((Π i, M i) ⧸ eventuallyProd (R := R) (M := M) ⊥ F)) |
120 | leanexplore_declaration | leanexplore:381848 | leanexplore_sqlite | leanexplore_declarations | def UltraProduct.πₗ : (Π i, M i) →ₗ[Π i, R i] UltraProduct M F :=
Submodule.mkQ (eventuallyProd (R := R) (M := M) ⊥ F) |
93 | leanexplore_declaration | leanexplore:381849 | leanexplore_sqlite | leanexplore_declarations | lemma UltraProduct.π_surjective : Function.Surjective (π R F) :=
Submodule.mkQ_surjective _ |
97 | leanexplore_declaration | leanexplore:381850 | leanexplore_sqlite | leanexplore_declarations | lemma UltraProduct.πₗ_surjective : Function.Surjective (πₗ R M F) :=
Submodule.mkQ_surjective _ |
434 | leanexplore_declaration | leanexplore:381851 | leanexplore_sqlite | leanexplore_declarations | instance : Algebra (Π i, R i) (UltraProduct A F) where
__ := (inferInstance : (Module (Π i, R i) (UltraProduct A F)))
algebraMap := (UltraProduct.π A F).comp (algebraMap _ _)
commutes' r x := Commute.all _ _
smul_def' r x := by
obtain ⟨x, rfl⟩ := UltraProduct.πₗ_surjective R x
rw [← map_smul, Algebra.sm... |
133 | leanexplore_declaration | leanexplore:381852 | leanexplore_sqlite | leanexplore_declarations | instance : Module R₀ (UltraProduct M F) :=
inferInstanceAs (Module R₀ ((Π i, M i) ⧸ eventuallyProd (R := fun _ ↦ R₀) (M := M) ⊥ F)) |
292 | leanexplore_declaration | leanexplore:381853 | leanexplore_sqlite | leanexplore_declarations | lemma UltraProduct.instIsScalarTower
{R₁ : Type*} [CommRing R₁] [∀ i, Module R₁ (M i)] [Algebra R₀ R₁]
[∀ i, IsScalarTower R₀ R₁ (M i)] :
IsScalarTower R₀ R₁ (UltraProduct M F) :=
inferInstanceAs (IsScalarTower R₀ R₁ ((Π i, M i) ⧸ eventuallyProd (R := fun _ ↦ R₁) (M := M) ⊥ F)) |
126 | leanexplore_declaration | leanexplore:381854 | leanexplore_sqlite | leanexplore_declarations | instance : Algebra R₀ (UltraProduct R F) :=
inferInstanceAs (Algebra R₀ ((Π i, R i) ⧸ eventuallyProd (R := R) (M := R) ⊥ F)) |
321 | leanexplore_declaration | leanexplore:381855 | leanexplore_sqlite | leanexplore_declarations | instance : IsScalarTower R₀ (Π i, R i) (UltraProduct M F) := by
apply IsScalarTower.of_algebraMap_smul
intro r m
obtain ⟨m, rfl⟩ := UltraProduct.πₗ_surjective R m
change _ = _ • Submodule.mkQ (eventuallyProd (R := fun _ ↦ R₀) (M := M) ⊥ F) m
rw [← map_smul, ← LinearMap.map_smul_of_tower, algebraMap_smul]
rf... |
116 | leanexplore_declaration | leanexplore:381856 | leanexplore_sqlite | leanexplore_declarations | @[simp]
lemma UltraProduct.πₗ_eq_zero {x} : πₗ R M F x = 0 ↔ ∀ᶠ i in F, x i = 0 :=
Submodule.Quotient.mk_eq_zero _ |
152 | leanexplore_declaration | leanexplore:381857 | leanexplore_sqlite | leanexplore_declarations | @[simp]
lemma UltraProduct.πₗ_eq_iff {x y} : πₗ R M F x = πₗ R M F y ↔ ∀ᶠ i in F, x i = y i :=
(Submodule.Quotient.eq _).trans (by simp [sub_eq_zero]) |
145 | leanexplore_declaration | leanexplore:381858 | leanexplore_sqlite | leanexplore_declarations | @[simp]
lemma UltraProduct.π_eq_iff {x y} : π R F x = π R F y ↔ ∀ᶠ i in F, x i = y i :=
(Submodule.Quotient.eq _).trans (by simp [sub_eq_zero]) |
106 | leanexplore_declaration | leanexplore:381859 | leanexplore_sqlite | leanexplore_declarations | @[simp]
lemma UltraProduct.π_eq_zero_iff {x} : π R F x = 0 ↔ ∀ᶠ i in F, x i = 0 :=
UltraProduct.π_eq_iff |
358 | leanexplore_declaration | leanexplore:381860 | leanexplore_sqlite | leanexplore_declarations | instance : SMul (UltraProduct R F) (UltraProduct M F) where
smul := Quotient.lift₂ (UltraProduct.πₗ R M F <| · • ·) fun r₁ m₁ r₂ m₂ e₁ e₂ ↦ by
rw [← sub_eq_zero]
simp only [← map_sub, UltraProduct.πₗ_eq_zero]
filter_upwards [(Submodule.quotientRel_def _).mp e₁,
(Submodule.quotientRel_def _).mp e₂] w... |
89 | leanexplore_declaration | leanexplore:381861 | leanexplore_sqlite | leanexplore_declarations | @[simp]
lemma UltraProduct.π_smul {r} {m : UltraProduct M F} : π R F r • m = r • m := rfl |
212 | leanexplore_declaration | leanexplore:381862 | leanexplore_sqlite | leanexplore_declarations | instance : Module (UltraProduct R F) (UltraProduct M F) :=
Function.Surjective.moduleLeft (Ideal.Quotient.mk (eventuallyProd (R := R) (M := R) ⊥ F))
UltraProduct.π_surjective fun _ _ ↦ UltraProduct.π_smul |
276 | leanexplore_declaration | leanexplore:381863 | leanexplore_sqlite | leanexplore_declarations | instance : IsScalarTower (Π i, R i) (UltraProduct R F) (UltraProduct M F) := by
constructor
intros r s m
obtain ⟨s, rfl⟩ := UltraProduct.π_surjective s
rw [UltraProduct.π_smul, ← UltraProduct.π_smul, smul_eq_mul, mul_smul,
UltraProduct.π_smul, UltraProduct.π_smul] |
351 | leanexplore_declaration | leanexplore:381864 | leanexplore_sqlite | leanexplore_declarations | instance : IsScalarTower R₀ (UltraProduct R F) (UltraProduct M F) := by
constructor
intros r s m
obtain ⟨s, rfl⟩ := UltraProduct.π_surjective s
rw [UltraProduct.π_smul, ← @IsScalarTower.algebraMap_smul R₀ (Π i, R i),
← UltraProduct.π_smul, smul_eq_mul, mul_smul, UltraProduct.π_smul,
UltraProduct.π_smul,... |
51 | leanexplore_declaration | leanexplore:381865 | leanexplore_sqlite | leanexplore_declarations | instance : TopologicalSpace (UltraProduct M F) := ⊥ |
55 | leanexplore_declaration | leanexplore:381866 | leanexplore_sqlite | leanexplore_declarations | instance : DiscreteTopology (UltraProduct M F) := ⟨rfl⟩ |
57 | leanexplore_declaration | leanexplore:381867 | leanexplore_sqlite | leanexplore_declarations | instance : IsTopologicalAddGroup (UltraProduct M F) where |
53 | leanexplore_declaration | leanexplore:381868 | leanexplore_sqlite | leanexplore_declarations | instance : IsTopologicalRing (UltraProduct R F) where |
297 | leanexplore_declaration | leanexplore:381869 | leanexplore_sqlite | leanexplore_declarations | def UltraProduct.map (f : ∀ i, M i →ₗ[R i] N i) :
UltraProduct M F →ₗ[∀ i, R i] UltraProduct N F :=
Submodule.mapQ (eventuallyProd (R := R) (M := M) ⊥ F)
(eventuallyProd (R := R) (M := N) ⊥ F) (LinearMap.piMap' f) fun v i ↦ by
filter_upwards [i] with i hi; simpa using congr(f i $hi) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.