Source context 4 commands
Surrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
noncomputable section
universe u v w t
open scoped TensorProduct BigOperatorstheorem exists_smul_mem_span_of_localized_span_eq_top
{B T N : Type*} [CommRing B] [CommRing T] [Algebra B T]
[AddCommGroup N] [Module B N] (M : Submonoid B) [IsLocalization M T]
{ι : Type*} (v : ι → N)
(hv : Submodule.span T (Set.range (fun i => (1 : T) ⊗ₜ[B] v i)) = ⊤) (x : N) :
∃ s : M, (s : B) • x ∈ Submodule.span B (Set.range v) := by
let f : N →ₗ[B] T ⊗[B] N := TensorProduct.mk B T N 1
let K := Submodule.span B (Set.range v)
have hle : Submodule.span T (Set.range (fun i => (1 : T) ⊗ₜ[B] v i)) ≤
K.localized' T M f := by
apply Submodule.span_le.mpr
rintro _ ⟨i, rfl⟩
exact ⟨v i, Submodule.subset_span (Set.mem_range_self i), 1,
IsLocalizedModule.mk'_one M f (v i)⟩
have hx : f x ∈ K.localized' T M f := hle (hv ▸ Submodule.mem_top)
obtain ⟨y, hy, s, hs⟩ := hx
have heq : f y = f ((s : B) • x) :=
((IsLocalizedModule.mk'_eq_iff (S := M) (f := f)).mp hs).trans
(f.map_smul (s : B) x).symm
obtain ⟨c, hc⟩ := IsLocalizedModule.exists_of_eq (S := M) heq
change (c : B) • y = (c : B) • ((s : B) • x) at hc
refine ⟨c * s, ?_⟩
change ((c : B) * (s : B)) • x ∈ K
rw [mul_smul, ← hc]
exact K.smul_mem (c : B) hy