The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V07. Linear algebra

Mathlib.Algebra.Module.Submodule.Defs

81 declarations. Mathlib docs · Source

Submodules of a module

In this file we define

  • Submodule R M : a subset of a Module M that contains zero and is closed with respect to addition and scalar multiplication.

  • Subspace k M : an abbreviation for Submodule assuming that k is a Field.

Tags

submodule, subspace, linear map

theorem Submodule.mk.inj E1 #

∀ {R : Type u} {M : Type v} {inst : Semiring R} {inst_1 : AddCommMonoid M} {inst_2 : Module R M}
  {toAddSubmonoid : AddSubmonoid M}
  {smul_mem' : ∀ (c : R) {x : M}, x ∈ toAddSubmonoid.carrier → c • x ∈ toAddSubmonoid.carrier}
  {toAddSubmonoid_1 : AddSubmonoid M}
  {smul_mem'_1 : ∀ (c : R) {x : M}, x ∈ toAddSubmonoid_1.carrier → c • x ∈ toAddSubmonoid_1.carrier},
  { toAddSubmonoid := toAddSubmonoid, smul_mem' := smul_mem' } =
      { toAddSubmonoid := toAddSubmonoid_1, smul_mem' := smul_mem'_1 } →
    toAddSubmonoid = toAddSubmonoid_1

theorem Submodule.mk.injEq E0 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  (toAddSubmonoid : AddSubmonoid M)
  (smul_mem' : ∀ (c : R) {x : M}, x ∈ toAddSubmonoid.carrier → c • x ∈ toAddSubmonoid.carrier)
  (toAddSubmonoid_1 : AddSubmonoid M)
  (smul_mem'_1 : ∀ (c : R) {x : M}, x ∈ toAddSubmonoid_1.carrier → c • x ∈ toAddSubmonoid_1.carrier),
  ({ toAddSubmonoid := toAddSubmonoid, smul_mem' := smul_mem' } =
      { toAddSubmonoid := toAddSubmonoid_1, smul_mem' := smul_mem'_1 }) =
    (toAddSubmonoid = toAddSubmonoid_1)

def Submodule.ctorIdx E1 #

{R : Type u} →
  {M : Type v} → {inst : Semiring R} → {inst_1 : AddCommMonoid M} → {inst_2 : Module R M} → Submodule R M → ℕ

structure Submodule E3 #

(R : Type u) → (M : Type v) → [inst : Semiring R] → [inst_1 : AddCommMonoid M] → [Module R M] → Type v

A submodule of a module is one which is closed under vector operations. This is a sufficient condition for the subset of vectors in the submodule to themselves form a module.

abbrev Submodule.toAddSubmonoid E1 #

{R : Type u} →
  {M : Type v} →
    [inst : Semiring R] → [inst_1 : AddCommMonoid M] → [inst_2 : Module R M] → Submodule R M → AddSubmonoid M

Reinterpret a Submodule as an AddSubmonoid.

abbrev Submodule.toSubMulAction E1 #

{R : Type u} →
  {M : Type v} →
    [inst : Semiring R] → [inst_1 : AddCommMonoid M] → [inst_2 : Module R M] → Submodule R M → SubMulAction R M

Reinterpret a Submodule as a SubMulAction.

ctor Submodule.mk E0 #

{R : Type u} →
  {M : Type v} →
    [inst : Semiring R] →
      [inst_1 : AddCommMonoid M] →
        [inst_2 : Module R M] →
          (toAddSubmonoid : AddSubmonoid M) →
            (∀ (c : R) {x : M}, x ∈ toAddSubmonoid.carrier → c • x ∈ toAddSubmonoid.carrier) → Submodule R M

theorem Submodule.smul_mem' E1 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (self : Submodule R M)
  (c : R) {x : M}, x ∈ self.carrier → c • x ∈ self.carrier

The carrier set is closed under scalar multiplication.

instance Submodule.setLike E0 #

{R : Type u} →
  {M : Type v} → [inst : Semiring R] → [inst_1 : AddCommMonoid M] → [inst_2 : Module R M] → SetLike (Submodule R M) M

instance Submodule.instPartialOrder E0 #

{R : Type u} →
  {M : Type v} → [inst : Semiring R] → [inst_1 : AddCommMonoid M] → [inst_2 : Module R M] → PartialOrder (Submodule R M)

theorem Submodule.carrier_eq_coe E0 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (s : Submodule R M),
  s.carrier = ↑s

def Submodule.ofClass E1 #

{S : Type u_1} →
  {R : Type u_2} →
    {M : Type u_3} →
      [inst : Semiring R] →
        [inst_1 : AddCommMonoid M] →
          [inst_2 : Module R M] →
            [inst_3 : SetLike S M] → [AddSubmonoidClass S M] → [SMulMemClass S R M] → S → Submodule R M

The actual Submodule obtained from an element of a SMulMemClass and AddSubmonoidClass.

theorem Submodule.coe_ofClass E0 #

∀ {S : Type u_1} {R : Type u_2} {M : Type u_3} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [inst_3 : SetLike S M] [inst_4 : AddSubmonoidClass S M] [inst_5 : SMulMemClass S R M] (s : S),
  ↑(Submodule.ofClass s) = ↑s

def Submodule.ofLinearComb E1 #

{R : Type u} →
  {M : Type v} →
    [inst : Semiring R] →
      [inst_1 : AddCommMonoid M] →
        [inst_2 : Module R M] →
          (C : Set M) → C.Nonempty → (∀ x ∈ C, ∀ y ∈ C, ∀ (a b : R), a • x + b • y ∈ C) → Submodule R M

Construct a submodule from closure under two-element linear combinations. I.e., a nonempty set closed under two-element linear combinations is a submodule.

theorem Submodule.coe_ofLinearComb E0 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (C : Set M)
  (nonempty : C.Nonempty) (linearComb : ∀ x ∈ C, ∀ y ∈ C, ∀ (a b : R), a • x + b • y ∈ C),
  ↑(Submodule.ofLinearComb C nonempty linearComb) = C

instance Submodule.instCanLiftSetCoeAndMemOfNatForallForallForallForallHAddForallForallForallHSMul E0 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M],
  CanLift (Set M) (Submodule R M) SetLike.coe fun s ↦
    0 ∈ s ∧ (∀ {x y : M}, x ∈ s → y ∈ s → x + y ∈ s) ∧ ∀ (r : R) {x : M}, x ∈ s → r • x ∈ s

instance Submodule.addSubmonoidClass E0 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M],
  AddSubmonoidClass (Submodule R M) M

instance Submodule.smulMemClass E0 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M],
  SMulMemClass (Submodule R M) R M

theorem Submodule.mem_toAddSubmonoid E0 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (p : Submodule R M)
  (x : M), x ∈ p.toAddSubmonoid ↔ x ∈ p

theorem Submodule.mem_mk E0 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {S : AddSubmonoid M}
  {x : M} (h : ∀ (c : R) {x : M}, x ∈ S.carrier → c • x ∈ S.carrier),
  x ∈ { toAddSubmonoid := S, smul_mem' := h } ↔ x ∈ S

theorem Submodule.coe_set_mk E0 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (S : AddSubmonoid M)
  (h : ∀ (c : R) {x : M}, x ∈ S.carrier → c • x ∈ S.carrier), ↑{ toAddSubmonoid := S, smul_mem' := h } = ↑S

theorem Submodule.eta E0 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {p : Submodule R M}
  (h : ∀ (c : R) {x : M}, x ∈ p.carrier → c • x ∈ p.carrier), { toAddSubmonoid := p.toAddSubmonoid, smul_mem' := h } = p

theorem Submodule.mk_le_mk E0 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {S S' : AddSubmonoid M}
  (h : ∀ (c : R) {x : M}, x ∈ S.carrier → c • x ∈ S.carrier)
  (h' : ∀ (c : R) {x : M}, x ∈ S'.carrier → c • x ∈ S'.carrier),
  { toAddSubmonoid := S, smul_mem' := h } ≤ { toAddSubmonoid := S', smul_mem' := h' } ↔ S ≤ S'

theorem Submodule.ext_iff E0 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {p q : Submodule R M},
  p = q ↔ ∀ (x : M), x ∈ p ↔ x ∈ q

theorem Submodule.ext E1 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {p q : Submodule R M},
  (∀ (x : M), x ∈ p ↔ x ∈ q) → p = q

def Submodule.copy E1 #

{R : Type u} →
  {M : Type v} →
    [inst : Semiring R] →
      [inst_1 : AddCommMonoid M] → [inst_2 : Module R M] → (p : Submodule R M) → (s : Set M) → s = ↑p → Submodule R M

Copy of a submodule with a new carrier equal to the old one. Useful to fix definitional equalities.

theorem Submodule.coe_copy E0 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (p : Submodule R M)
  (s : Set M) (hs : s = ↑p), ↑(p.copy s hs) = s

theorem Submodule.copy_eq E0 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (S : Submodule R M)
  (s : Set M) (hs : s = ↑S), S.copy s hs = S

theorem Submodule.toAddSubmonoid_injective E1 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M],
  Function.Injective Submodule.toAddSubmonoid

theorem Submodule.toAddSubmonoid_inj E0 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {p q : Submodule R M},
  p.toAddSubmonoid = q.toAddSubmonoid ↔ p = q

theorem Submodule.coe_toAddSubmonoid E0 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (p : Submodule R M),
  ↑p.toAddSubmonoid = ↑p

theorem Submodule.toSubMulAction_injective E1 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M],
  Function.Injective Submodule.toSubMulAction

theorem Submodule.toSubMulAction_inj E1 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {p q : Submodule R M},
  p.toSubMulAction = q.toSubMulAction ↔ p = q

theorem Submodule.coe_toSubMulAction E0 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (p : Submodule R M),
  ↑p.toSubMulAction = ↑p

instance Submodule.decidableEq E0 #

{R : Type u} →
  {M : Type v} → [inst : Semiring R] → [inst_1 : AddCommMonoid M] → [inst_2 : Module R M] → DecidableEq (Submodule R M)

Submodule R M almost never has decidable equality. Given an element m ≠ 0 in M, Submodule R M has decidable equality iff all propositions are decidable. We add a global instance that Submodule R M has decidable equality, coming from the choice axiom, so that we don't have to provide [DecidableEq (Submodule R M)] arguments in lemma statements.

instance SMulMemClass.toModule E0 #

{R : Type u} →
  {M : Type v} →
    [inst : Semiring R] →
      [inst_1 : AddCommMonoid M] →
        [inst_2 : Module R M] →
          {A : Type u_1} →
            [inst_3 : SetLike A M] → [inst_4 : AddSubmonoidClass A M] → [SMulMemClass A R M] → (S' : A) → Module R ↥S'

A submodule of a Module is a Module.

def SMulMemClass.toModule' E1 #

(S : Type u_2) →
  (R' : Type u_3) →
    (R : Type u_4) →
      (A : Type u_5) →
        [inst : Semiring R] →
          [inst_1 : NonUnitalNonAssocSemiring A] →
            [inst_2 : Module R A] →
              [inst_3 : Semiring R'] →
                [inst_4 : SMul R' R] →
                  [inst_5 : Module R' A] →
                    [IsScalarTower R' R A] →
                      [inst_7 : SetLike S A] →
                        [inst_8 : AddSubmonoidClass S A] → [SMulMemClass S R A] → (s : S) → Module R' ↥s

This can't be an instance because Lean wouldn't know how to find R, but we can still use this to manually derive Module on specific types.

theorem Submodule.mem_carrier E0 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] {module_M : Module R M} (p : Submodule R M)
  {x : M}, x ∈ p.carrier ↔ x ∈ ↑p

theorem Submodule.zero_mem E2 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] {module_M : Module R M} (p : Submodule R M),
  0 ∈ p

theorem Submodule.add_mem E2 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] {module_M : Module R M} (p : Submodule R M)
  {x y : M}, x ∈ p → y ∈ p → x + y ∈ p

theorem Submodule.smul_mem E2 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] {module_M : Module R M} (p : Submodule R M)
  {x : M} (r : R), x ∈ p → r • x ∈ p

theorem Submodule.smul_of_tower_mem E1 #

∀ {S : Type u'} {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] {module_M : Module R M}
  (p : Submodule R M) {x : M} [inst_2 : SMul S R] [inst_3 : SMul S M] [IsScalarTower S R M] (r : S), x ∈ p → r • x ∈ p

theorem Submodule.smul_mem_iff' E0 #

∀ {G : Type u''} {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] {module_M : Module R M}
  (p : Submodule R M) {x : M} [inst_2 : Group G] [inst_3 : MulAction G M] [inst_4 : SMul G R] [IsScalarTower G R M]
  (g : G), g • x ∈ p ↔ x ∈ p

theorem Submodule.smul_mem_iff'' E0 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] {module_M : Module R M} (p : Submodule R M)
  {r : R} {x : M} [Invertible r], r • x ∈ p ↔ x ∈ p

theorem Submodule.smul_mem_iff_of_isUnit E1 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] {module_M : Module R M} (p : Submodule R M)
  {r : R} {x : M}, IsUnit r → (r • x ∈ p ↔ x ∈ p)

instance Submodule.add E0 #

{R : Type u} →
  {M : Type v} →
    [inst : Semiring R] → [inst_1 : AddCommMonoid M] → {module_M : Module R M} → (p : Submodule R M) → Add ↥p

instance Submodule.zero E0 #

{R : Type u} →
  {M : Type v} →
    [inst : Semiring R] → [inst_1 : AddCommMonoid M] → {module_M : Module R M} → (p : Submodule R M) → Zero ↥p

instance Submodule.inhabited E0 #

{R : Type u} →
  {M : Type v} →
    [inst : Semiring R] → [inst_1 : AddCommMonoid M] → {module_M : Module R M} → (p : Submodule R M) → Inhabited ↥p

instance Submodule.smul E0 #

{S : Type u'} →
  {R : Type u} →
    {M : Type v} →
      [inst : Semiring R] →
        [inst_1 : AddCommMonoid M] →
          {module_M : Module R M} →
            (p : Submodule R M) → [inst_2 : SMul S R] → [inst_3 : SMul S M] → [IsScalarTower S R M] → SMul S ↥p

instance Submodule.isScalarTower E0 #

∀ {S : Type u'} {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] {module_M : Module R M}
  (p : Submodule R M) [inst_2 : SMul S R] [inst_3 : SMul S M] [inst_4 : IsScalarTower S R M], IsScalarTower S R ↥p

instance Submodule.isScalarTower' E0 #

∀ {S : Type u'} {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] {module_M : Module R M}
  (p : Submodule R M) {S' : Type u_1} [inst_2 : SMul S R] [inst_3 : SMul S M] [inst_4 : SMul S' R] [inst_5 : SMul S' M]
  [inst_6 : SMul S S'] [inst_7 : IsScalarTower S' R M] [IsScalarTower S S' M] [inst_9 : IsScalarTower S R M],
  IsScalarTower S S' ↥p

theorem Submodule.nonempty E1 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] {module_M : Module R M} (p : Submodule R M),
  (↑p).Nonempty

theorem Submodule.mk_eq_zero E0 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] {module_M : Module R M} (p : Submodule R M)
  {x : M} (h : x ∈ p), ⟨x, h⟩ = 0 ↔ x = 0

theorem Submodule.coe_eq_zero E0 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] {module_M : Module R M} {p : Submodule R M}
  {x : ↥p}, ↑x = 0 ↔ x = 0

theorem Submodule.coe_add E0 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] {module_M : Module R M} {p : Submodule R M}
  (x y : ↥p), ↑(x + y) = ↑x + ↑y

theorem Submodule.coe_zero E0 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] {module_M : Module R M} {p : Submodule R M},
  ↑0 = 0

theorem Submodule.coe_smul E0 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] {module_M : Module R M} {p : Submodule R M}
  (r : R) (x : ↥p), ↑(r • x) = r • ↑x

theorem Submodule.coe_smul_of_tower E0 #

∀ {S : Type u'} {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] {module_M : Module R M}
  {p : Submodule R M} [inst_2 : SMul S R] [inst_3 : SMul S M] [inst_4 : IsScalarTower S R M] (r : S) (x : ↥p),
  ↑(r • x) = r • ↑x

theorem Submodule.coe_mk E0 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] {module_M : Module R M} {p : Submodule R M}
  (x : M) (hx : x ∈ p), ↑⟨x, hx⟩ = x

theorem Submodule.coe_mem E0 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] {module_M : Module R M} {p : Submodule R M}
  (x : ↥p), ↑x ∈ p

instance Submodule.addCommMonoid E0 #

{R : Type u} →
  {M : Type v} →
    [inst : Semiring R] → [inst_1 : AddCommMonoid M] → {module_M : Module R M} → (p : Submodule R M) → AddCommMonoid ↥p

instance Submodule.module' E0 #

{S : Type u'} →
  {R : Type u} →
    {M : Type v} →
      [inst : Semiring R] →
        [inst_1 : AddCommMonoid M] →
          {module_M : Module R M} →
            (p : Submodule R M) →
              [inst_2 : Semiring S] → [inst_3 : SMul S R] → [inst_4 : Module S M] → [IsScalarTower S R M] → Module S ↥p

instance Submodule.module E0 #

{R : Type u} →
  {M : Type v} →
    [inst : Semiring R] → [inst_1 : AddCommMonoid M] → {module_M : Module R M} → (p : Submodule R M) → Module R ↥p

instance Submodule.addSubgroupClass E0 #

∀ {R : Type u} {M : Type v} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M],
  AddSubgroupClass (Submodule R M) M

theorem Submodule.neg_mem E1 #

∀ {R : Type u} {M : Type v} [inst : Ring R] [inst_1 : AddCommGroup M] {module_M : Module R M} (p : Submodule R M)
  {x : M}, x ∈ p → -x ∈ p

def Submodule.toAddSubgroup E1 #

{R : Type u} →
  {M : Type v} → [inst : Ring R] → [inst_1 : AddCommGroup M] → {module_M : Module R M} → Submodule R M → AddSubgroup M

Reinterpret a submodule as an additive subgroup.

theorem Submodule.coe_toAddSubgroup E0 #

∀ {R : Type u} {M : Type v} [inst : Ring R] [inst_1 : AddCommGroup M] {module_M : Module R M} (p : Submodule R M),
  ↑p.toAddSubgroup = ↑p

theorem Submodule.mem_toAddSubgroup E0 #

∀ {R : Type u} {M : Type v} [inst : Ring R] [inst_1 : AddCommGroup M] {module_M : Module R M} (p : Submodule R M)
  {x : M}, x ∈ p.toAddSubgroup ↔ x ∈ p

theorem Submodule.toAddSubgroup_injective E1 #

∀ {R : Type u} {M : Type v} [inst : Ring R] [inst_1 : AddCommGroup M] {module_M : Module R M},
  Function.Injective Submodule.toAddSubgroup

theorem Submodule.toAddSubgroup_inj E1 #

∀ {R : Type u} {M : Type v} [inst : Ring R] [inst_1 : AddCommGroup M] {module_M : Module R M} (p p' : Submodule R M),
  p.toAddSubgroup = p'.toAddSubgroup ↔ p = p'

theorem Submodule.sub_mem E1 #

∀ {R : Type u} {M : Type v} [inst : Ring R] [inst_1 : AddCommGroup M] {module_M : Module R M} (p : Submodule R M)
  {x y : M}, x ∈ p → y ∈ p → x - y ∈ p

theorem Submodule.neg_mem_iff E0 #

∀ {R : Type u} {M : Type v} [inst : Ring R] [inst_1 : AddCommGroup M] {module_M : Module R M} (p : Submodule R M)
  {x : M}, -x ∈ p ↔ x ∈ p

theorem Submodule.add_mem_iff_left E1 #

∀ {R : Type u} {M : Type v} [inst : Ring R] [inst_1 : AddCommGroup M] {module_M : Module R M} (p : Submodule R M)
  {x y : M}, y ∈ p → (x + y ∈ p ↔ x ∈ p)

theorem Submodule.add_mem_iff_right E1 #

∀ {R : Type u} {M : Type v} [inst : Ring R] [inst_1 : AddCommGroup M] {module_M : Module R M} (p : Submodule R M)
  {x y : M}, x ∈ p → (x + y ∈ p ↔ y ∈ p)

theorem Submodule.coe_neg E0 #

∀ {R : Type u} {M : Type v} [inst : Ring R] [inst_1 : AddCommGroup M] {module_M : Module R M} (p : Submodule R M)
  (x : ↥p), ↑(-x) = -↑x

theorem Submodule.coe_sub E0 #

∀ {R : Type u} {M : Type v} [inst : Ring R] [inst_1 : AddCommGroup M] {module_M : Module R M} (p : Submodule R M)
  (x y : ↥p), ↑(x - y) = ↑x - ↑y

theorem Submodule.sub_mem_iff_left E1 #

∀ {R : Type u} {M : Type v} [inst : Ring R] [inst_1 : AddCommGroup M] {module_M : Module R M} (p : Submodule R M)
  {x y : M}, y ∈ p → (x - y ∈ p ↔ x ∈ p)

theorem Submodule.sub_mem_iff_right E1 #

∀ {R : Type u} {M : Type v} [inst : Ring R] [inst_1 : AddCommGroup M] {module_M : Module R M} (p : Submodule R M)
  {x y : M}, x ∈ p → (x - y ∈ p ↔ y ∈ p)

instance Submodule.addCommGroup E0 #

{R : Type u} →
  {M : Type v} →
    [inst : Ring R] → [inst_1 : AddCommGroup M] → {module_M : Module R M} → (p : Submodule R M) → AddCommGroup ↥p

instance SubmoduleClass.module' E0 #

{S : Type u'} →
  {R : Type u} →
    {M : Type v} →
      {T : Type u_1} →
        [inst : Semiring R] →
          [inst_1 : AddCommMonoid M] →
            [inst_2 : Semiring S] →
              [inst_3 : Module R M] →
                [inst_4 : SMul S R] →
                  [inst_5 : Module S M] →
                    [IsScalarTower S R M] →
                      [inst_7 : SetLike T M] →
                        [inst_8 : AddSubmonoidClass T M] → [SMulMemClass T R M] → (t : T) → Module S ↥t

instance SubmoduleClass.module E0 #

{S : Type u'} →
  {R : Type u} →
    {M : Type v} →
      [inst : Semiring R] →
        [inst_1 : AddCommMonoid M] →
          [inst_2 : Module R M] →
            [inst_3 : SetLike S M] → [inst_4 : AddSubmonoidClass S M] → [SMulMemClass S R M] → (s : S) → Module R ↥s