Submodules of a module #
In this file we define
-
Submodule R M
: a subset of aModule
M
that contains zero and is closed with respect to addition and scalar multiplication. -
Subspace k M
: an abbreviation forSubmodule
assuming thatk
is aField
.
Tags #
submodule, subspace, linear map
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.
Instances For
Reinterpret a Submodule
as a SubMulAction
.
Equations
- Submodule.toSubMulAction self = { carrier := self.carrier, smul_mem' := (_ : ∀ (c : R) {x : M}, x ∈ self.carrier → c • x ∈ self.carrier) }
Instances For
Copy of a submodule with a new carrier
equal to the old one. Useful to fix definitional
equalities.
Equations
- One or more equations did not get rendered due to their size.
Instances For
A submodule of a Module
is a Module
.
Equations
- SMulMemClass.toModule S' = Function.Injective.module R (AddSubmonoidClass.subtype S') (_ : Function.Injective fun a => ↑a) (_ : ∀ (r : R) (x : { x // x ∈ S' }), ↑(r • x) = r • ↑x)
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.
Equations
- SMulMemClass.toModule' S R' R A s = SMulMemClass.toModule s
Instances For
The natural R
-linear map from a submodule of an R
-module M
to M
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Submodule.add p = { add := fun x y => { val := ↑x + ↑y, property := (_ : ↑x + ↑y ∈ p) } }
Equations
- Submodule.zero p = { zero := { val := 0, property := (_ : 0 ∈ p) } }
Equations
- Submodule.inhabited p = { default := 0 }
Equations
- Submodule.smul p = { smul := fun c x => { val := c • ↑x, property := (_ : c • ↑x ∈ p) } }
Equations
- Submodule.addCommMonoid p = let src := AddSubmonoid.toAddCommMonoid p.toAddSubmonoid; AddCommMonoid.mk (_ : ∀ (a b : { x // x ∈ p.toAddSubmonoid }), a + b = b + a)
Equations
- One or more equations did not get rendered due to their size.
Equations
Note the AddSubmonoid
version of this lemma is called AddSubmonoid.coe_finset_sum
.
Additive actions by Submodule
s #
These instances transfer the action by an element m : M
of an R
-module M
written as m +ᵥ a
onto the action by an element s : S
of a submodule S : Submodule R M
such that
s +ᵥ a = (s : M) +ᵥ a
.
These instances work particularly well in conjunction with add_group.to_add_action
, enabling
s +ᵥ m
as an alias for ↑s + m
.
Equations
- Submodule.instVAddSubtypeMemSubmoduleInstMembershipSetLike p = AddSubmonoid.vadd p.toAddSubmonoid
Equations
- One or more equations did not get rendered due to their size.
The action by a submodule is the action by the underlying module.
V.restrict_scalars S
is the S
-submodule of the S
-module given by restriction of scalars,
corresponding to V
, an R
-submodule of the original R
-module.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Even though p.restrictScalars S
has type Submodule S M
, it is still an R
-module.
Equations
- Submodule.restrictScalars.origModule S R M p = inferInstance
restrictScalars S
is an embedding of the lattice of R
-submodules into
the lattice of S
-submodules.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Turning p : Submodule R M
into an S
-submodule gives the same module structure
as turning it into a type and adding a module structure.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Reinterpret a submodule as an additive subgroup.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Submodule.addCommGroup p = let src := AddSubgroup.toAddCommGroup (Submodule.toAddSubgroup p); AddCommGroup.mk (_ : ∀ (a b : { x // x ∈ Submodule.toAddSubgroup p }), a + b = b + a)
A submodule of an OrderedAddCommMonoid
is an OrderedAddCommMonoid
.
Equations
- One or more equations did not get rendered due to their size.
A submodule of a LinearOrderedAddCommMonoid
is a LinearOrderedAddCommMonoid
.
Equations
- One or more equations did not get rendered due to their size.
A submodule of an OrderedCancelAddCommMonoid
is an OrderedCancelAddCommMonoid
.
Equations
- One or more equations did not get rendered due to their size.
A submodule of a LinearOrderedCancelAddCommMonoid
is a
LinearOrderedCancelAddCommMonoid
.
Equations
- One or more equations did not get rendered due to their size.
A submodule of an OrderedAddCommGroup
is an OrderedAddCommGroup
.
Equations
- One or more equations did not get rendered due to their size.
A submodule of a LinearOrderedAddCommGroup
is a
LinearOrderedAddCommGroup
.
Equations
- One or more equations did not get rendered due to their size.