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
- self.toSubMulAction = { carrier := self.carrier, smul_mem' := ⋯ }
Instances For
Equations
- ⋯ = ⋯
Equations
- ⋯ = ⋯
Copy of a submodule with a new carrier
equal to the old one. Useful to fix definitional
equalities.
Equations
- p.copy s hs = { carrier := s, add_mem' := ⋯, zero_mem' := ⋯, smul_mem' := ⋯ }
Instances For
A submodule of a Module
is a Module
.
Equations
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
Equations
- p.zero = { zero := ⟨0, ⋯⟩ }
Equations
- p.inhabited = { default := 0 }
Equations
- ⋯ = ⋯
Equations
- ⋯ = ⋯
Equations
- p.addCommMonoid = AddCommMonoid.mk ⋯
Equations
- p.module = p.module'
Equations
- ⋯ = ⋯
Reinterpret a submodule as an additive subgroup.
Equations
- p.toAddSubgroup = { toAddSubmonoid := p.toAddSubmonoid, neg_mem' := ⋯ }
Instances For
Equations
- p.addCommGroup = AddCommGroup.mk ⋯
Equations
- SubmoduleClass.module' t = Module.mk ⋯ ⋯