@@ -40,7 +40,7 @@ variable {x : M} (p p' : Submodule R M)
4040
4141variable [Semiring R₂] {σ₁₂ : R →+* R₂}
4242
43- variable [AddCommMonoid M₂] [Module R₂ M₂]
43+ variable [AddCommMonoid M₂] [Module R₂ M₂] {F : Type _} [SemilinearMapClass F σ₁₂ M M₂]
4444
4545section
4646
@@ -92,7 +92,7 @@ theorem span_coe_eq_restrictScalars [Semiring S] [SMul S R] [Module S M] [IsScal
9292 span_eq (p.restrictScalars S)
9393#align submodule.span_coe_eq_restrict_scalars Submodule.span_coe_eq_restrictScalars
9494
95- theorem map_span [RingHomSurjective σ₁₂] (f : M →ₛₗ[σ₁₂] M₂ ) (s : Set M) :
95+ theorem map_span [RingHomSurjective σ₁₂] (f : F ) (s : Set M) :
9696 (span R s).map f = span R₂ (f '' s) :=
9797 Eq.symm <|
9898 span_eq_of_le _ (Set.image_subset f subset_span) <|
@@ -102,9 +102,9 @@ theorem map_span [RingHomSurjective σ₁₂] (f : M →ₛₗ[σ₁₂] M₂) (
102102alias Submodule.map_span ← _root_.LinearMap.map_span
103103#align linear_map.map_span LinearMap.map_span
104104
105- theorem map_span_le [RingHomSurjective σ₁₂] (f : M →ₛₗ[σ₁₂] M₂ ) (s : Set M) (N : Submodule R₂ M₂) :
105+ theorem map_span_le [RingHomSurjective σ₁₂] (f : F ) (s : Set M) (N : Submodule R₂ M₂) :
106106 map f (span R s) ≤ N ↔ ∀ m ∈ s, f m ∈ N := by
107- rw [f. map_span, span_le, Set.image_subset_iff]
107+ rw [map_span, span_le, Set.image_subset_iff]
108108 exact Iff.rfl
109109#align submodule.map_span_le Submodule.map_span_le
110110
@@ -119,7 +119,7 @@ theorem span_insert_zero : span R (insert (0 : M) s) = span R s := by
119119#align submodule.span_insert_zero Submodule.span_insert_zero
120120
121121-- See also `span_preimage_eq` below.
122- theorem span_preimage_le (f : M →ₛₗ[σ₁₂] M₂ ) (s : Set M₂) :
122+ theorem span_preimage_le (f : F ) (s : Set M₂) :
123123 span R (f ⁻¹' s) ≤ (span R₂ s).comap f := by
124124 rw [span_le, comap_coe]
125125 exact preimage_mono subset_span
@@ -583,18 +583,18 @@ theorem span_singleton_eq_span_singleton {R M : Type _} [Ring R] [AddCommGroup M
583583#align submodule.span_singleton_eq_span_singleton Submodule.span_singleton_eq_span_singleton
584584
585585@[simp]
586- theorem span_image [RingHomSurjective σ₁₂] (f : M →ₛₗ[σ₁₂] M₂ ) :
586+ theorem span_image [RingHomSurjective σ₁₂] (f : F ) :
587587 span R₂ (f '' s) = map f (span R s) :=
588588 (map_span f s).symm
589589#align submodule.span_image Submodule.span_image
590590
591- theorem apply_mem_span_image_of_mem_span [RingHomSurjective σ₁₂] (f : M →ₛₗ[σ₁₂] M₂ ) {x : M}
591+ theorem apply_mem_span_image_of_mem_span [RingHomSurjective σ₁₂] (f : F ) {x : M}
592592 {s : Set M} (h : x ∈ Submodule.span R s) : f x ∈ Submodule.span R₂ (f '' s) := by
593593 rw [Submodule.span_image]
594594 exact Submodule.mem_map_of_mem h
595595#align submodule.apply_mem_span_image_of_mem_span Submodule.apply_mem_span_image_of_mem_span
596596
597- theorem apply_mem_span_image_iff_mem_span [RingHomSurjective σ₁₂] {f : M →ₛₗ[σ₁₂] M₂ } {x : M}
597+ theorem apply_mem_span_image_iff_mem_span [RingHomSurjective σ₁₂] {f : F } {x : M}
598598 {s : Set M} (hf : Function.Injective f) :
599599 f x ∈ Submodule.span R₂ (f '' s) ↔ x ∈ Submodule.span R s := by
600600 rw [← Submodule.mem_comap, ← Submodule.map_span, Submodule.comap_map_eq_of_injective hf]
@@ -605,7 +605,7 @@ theorem map_subtype_span_singleton {p : Submodule R M} (x : p) :
605605#align submodule.map_subtype_span_singleton Submodule.map_subtype_span_singleton
606606
607607/-- `f` is an explicit argument so we can `apply` this theorem and obtain `h` as a new goal. -/
608- theorem not_mem_span_of_apply_not_mem_span_image [RingHomSurjective σ₁₂] (f : M →ₛₗ[σ₁₂] M₂ ) {x : M}
608+ theorem not_mem_span_of_apply_not_mem_span_image [RingHomSurjective σ₁₂] (f : F ) {x : M}
609609 {s : Set M} (h : f x ∉ Submodule.span R₂ (f '' s)) : x ∉ Submodule.span R s :=
610610 h.imp (apply_mem_span_image_of_mem_span f)
611611#align submodule.not_mem_span_of_apply_not_mem_span_image Submodule.not_mem_span_of_apply_not_mem_span_image
@@ -837,7 +837,7 @@ variable [Ring R] [AddCommGroup M] [Module R M]
837837theorem span_neg (s : Set M) : span R (-s) = span R s :=
838838 calc
839839 span R (-s) = span R ((-LinearMap.id : M →ₗ[R] M) '' s) := by simp
840- _ = map (-LinearMap.id) (span R s) := ((-LinearMap.id).map_span _).symm
840+ _ = map (-LinearMap.id) (span R s) := (map_span (-LinearMap.id) _).symm
841841 _ = span R s := by simp
842842#align submodule.span_neg Submodule.span_neg
843843
0 commit comments