More operations on modules and ideals #
Equations
- Submodule.hasSMul' = { smul := Submodule.map₂ (LinearMap.lsmul R M) }
This duplicates the global smul_eq_mul
, but doesn't have to unfold anywhere near as much to
apply.
Module.annihilator R M
is the ideal of all elements r : R
such that r • M = 0
.
Equations
- Module.annihilator R M = LinearMap.ker (LinearMap.lsmul R M)
N.annihilator
is the ideal of all elements r : R
such that r • N = 0
.
Equations
Dependent version of Submodule.smul_induction_on
.
Given s
, a generating set of R
, to check that an x : M
falls in a
submodule M'
of x
, we only need to show that r ^ n • x ∈ M'
for some n
for each r : s
.
If x
is an I
-multiple of the submodule spanned by f '' s
,
then we can write x
as an I
-linear combination of the elements of f '' s
.
N.colon P
is the ideal of all elements r : R
such that r • P ⊆ N
.
Equations
- Submodule.colon N P = Submodule.annihilator (Submodule.map (Submodule.mkQ N) P)
Equations
- ⋯ = ⋯
Equations
- ⋯ = ⋯
The radical of an ideal I
consists of the elements r
such that r ^ n ∈ I
for some n
.
Equations
- Ideal.radical I = { toAddSubmonoid := { toAddSubsemigroup := { carrier := {r : R | ∃ (n : ℕ), r ^ n ∈ I}, add_mem' := ⋯ }, zero_mem' := ⋯ }, smul_mem' := ⋯ }
An ideal is radical if it contains its radical.
Equations
- Ideal.IsRadical I = (Ideal.radical I ≤ I)
An ideal is radical iff it is equal to its radical.
Alias of the reverse direction of Ideal.radical_eq_iff
.
An ideal is radical iff it is equal to its radical.
The reverse inclusion does not hold for e.g. I := fun n : ℕ ↦ Ideal.span {(2 ^ n : ℤ)}
.
Equations
- Ideal.instIdemCommSemiringIdealToSemiring = inferInstance
Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6.
If I
divides J
, then I
contains J
.
In a Dedekind domain, to divide and contain are equivalent, see Ideal.dvd_iff_le
.
Equations
- Ideal.uniqueUnits = { toInhabited := { default := 1 }, uniq := ⋯ }
I.comap f
is the preimage of I
under f
.
Equations
- Ideal.comap f I = { toAddSubmonoid := { toAddSubsemigroup := { carrier := ⇑f ⁻¹' ↑I, add_mem' := ⋯ }, zero_mem' := ⋯ }, smul_mem' := ⋯ }
Instances For
The Ideal
version of Set.image_subset_preimage_of_inverse
.
The Ideal
version of Set.preimage_subset_image_of_inverse
.
Equations
- ⋯ = ⋯
The smallest S
-submodule that contains all x ∈ I * y ∈ J
is also the smallest R
-submodule that does so.
map
and comap
are adjoint, and the composition map f ∘ comap f
is the
identity
Equations
- Ideal.giMapComap f hf = GaloisInsertion.monotoneIntro ⋯ ⋯ ⋯ ⋯
If f : R ≃+* S
is a ring isomorphism and I : Ideal R
,
then comap f (comap f.symm I) = I
.
Correspondence theorem
Equations
- One or more equations did not get rendered due to their size.
The map on ideals induced by a surjective map preserves inclusion.
Equations
- One or more equations did not get rendered due to their size.
Special case of the correspondence theorem for isomorphic rings
Equations
- Ideal.relIsoOfBijective f hf = { toEquiv := { toFun := Ideal.comap f, invFun := Ideal.map f, left_inv := ⋯, right_inv := ⋯ }, map_rel_iff' := ⋯ }
The pushforward Ideal.map
as a monoid-with-zero homomorphism.
Equations
- Ideal.mapHom f = { toZeroHom := { toFun := Ideal.map f, map_zero' := ⋯ }, map_one' := ⋯, map_mul' := ⋯ }
A proper ideal I
is primary iff xy ∈ I
implies x ∈ I
or y ∈ radical I
.
A variant of Finsupp.total
that takes in vectors valued in I
.
Equations
- Ideal.finsuppTotal ι M I v = LinearMap.comp (Finsupp.total ι M R v) (Finsupp.mapRange.linearMap (Submodule.subtype I))
A basis on S
gives a basis on Ideal.span {x}
, by multiplying everything by x
.
Equations
- One or more equations did not get rendered due to their size.
An element x
lies in the span of v
iff it can be written as sum ∑ cᵢ • vᵢ = x
.
If I : Ideal S
has a finite basis over R
,
x ∈ I
iff it is a linear combination of basis vectors.
Kernel of a ring homomorphism as an ideal of the domain.
Equations
- RingHom.ker f = Ideal.comap f ⊥
An element is in the kernel if and only if it maps to zero.
If the target is not the zero ring, then one is not in the kernel.
The kernel of a homomorphism to a domain is a prime ideal.
The kernel of a homomorphism to a field is a maximal ideal.
Auxiliary definition used to define liftOfRightInverse
Equations
- One or more equations did not get rendered due to their size.
liftOfRightInverse f hf g hg
is the unique ring homomorphism φ
- such that
φ.comp f = g
(RingHom.liftOfRightInverse_comp
), - where
f : A →+* B
has a right_inversef_inv
(hf
), - and
g : B →+* C
satisfieshg : f.ker ≤ g.ker
.
See RingHom.eq_liftOfRightInverse
for the uniqueness lemma.
A .
| \
f | \ g
| \
v \⌟
B ----> C
∃!φ
Equations
- One or more equations did not get rendered due to their size.
A non-computable version of RingHom.liftOfRightInverse
for when no computable right
inverse is available, that uses Function.surjInv
.
Equations
- RingHom.liftOfSurjective f hf = RingHom.liftOfRightInverse f (Function.surjInv hf) ⋯