The areas / V09. Commutative algebra I: ideals, polynomials, factorization
Mathlib.Algebra.MonoidAlgebra.Grading
22 declarations. Mathlib docs · Source
abbrev AddMonoidAlgebra.gradeBy E1 #
{M : Type u_1} →
{ι : Type u_2} → (R : Type u_3) → [inst : CommSemiring R] → (M → ι) → ι → Submodule R (AddMonoidAlgebra R M)
The submodule corresponding to each grade given by the degree function f.
abbrev AddMonoidAlgebra.grade E1 #
{M : Type u_1} → (R : Type u_3) → [inst : CommSemiring R] → M → Submodule R (AddMonoidAlgebra R M)
The submodule corresponding to each grade.
theorem AddMonoidAlgebra.gradeBy_id E1 #
∀ {M : Type u_1} (R : Type u_3) [inst : CommSemiring R], AddMonoidAlgebra.gradeBy R id = AddMonoidAlgebra.grade R
theorem AddMonoidAlgebra.mem_gradeBy_iff E0 #
∀ {M : Type u_1} {ι : Type u_2} (R : Type u_3) [inst : CommSemiring R] (f : M → ι) (i : ι) (a : AddMonoidAlgebra R M),
a ∈ AddMonoidAlgebra.gradeBy R f i ↔ ↑a.coeff.support ⊆ f ⁻¹' {i}
theorem AddMonoidAlgebra.mem_grade_iff E0 #
∀ {M : Type u_1} (R : Type u_3) [inst : CommSemiring R] (m : M) (a : AddMonoidAlgebra R M),
a ∈ AddMonoidAlgebra.grade R m ↔ a.coeff.support ⊆ {m}
theorem AddMonoidAlgebra.mem_grade_iff' E0 #
∀ {M : Type u_1} (R : Type u_3) [inst : CommSemiring R] (m : M) (a : AddMonoidAlgebra R M),
a ∈ AddMonoidAlgebra.grade R m ↔ a ∈ (AddMonoidAlgebra.lsingle m).range
theorem AddMonoidAlgebra.grade_eq_lsingle_range E1 #
∀ {M : Type u_1} (R : Type u_3) [inst : CommSemiring R] (m : M),
AddMonoidAlgebra.grade R m = (AddMonoidAlgebra.lsingle m).range
theorem AddMonoidAlgebra.single_mem_gradeBy E1 #
∀ {M : Type u_1} {ι : Type u_2} {R : Type u_4} [inst : CommSemiring R] (f : M → ι) (m : M) (r : R),
AddMonoidAlgebra.single m r ∈ AddMonoidAlgebra.gradeBy R f (f m)
theorem AddMonoidAlgebra.single_mem_grade E1 #
∀ {M : Type u_1} {R : Type u_4} [inst : CommSemiring R] (i : M) (r : R),
AddMonoidAlgebra.single i r ∈ AddMonoidAlgebra.grade R i
instance AddMonoidAlgebra.gradeBy.gradedMonoid E0 #
∀ {M : Type u_1} {ι : Type u_2} {R : Type u_3} [inst : AddMonoid M] [inst_1 : AddMonoid ι] [inst_2 : CommSemiring R]
(f : M →+ ι), SetLike.GradedMonoid (AddMonoidAlgebra.gradeBy R ⇑f)
instance AddMonoidAlgebra.grade.gradedMonoid E0 #
∀ {M : Type u_1} {R : Type u_3} [inst : AddMonoid M] [inst_1 : CommSemiring R],
SetLike.GradedMonoid (AddMonoidAlgebra.grade R)
def AddMonoidAlgebra.decomposeAux E0 #
{M : Type u_1} →
{ι : Type u_2} →
{R : Type u_3} →
[inst : AddMonoid M] →
[inst_1 : DecidableEq ι] →
[inst_2 : AddMonoid ι] →
[inst_3 : CommSemiring R] →
(f : M →+ ι) → AddMonoidAlgebra R M →ₐ[R] DirectSum ι fun i ↦ ↥(AddMonoidAlgebra.gradeBy R (⇑f) i)
Auxiliary definition; the canonical grade decomposition, used to provide
DirectSum.decompose.
theorem AddMonoidAlgebra.decomposeAux_single E1 #
∀ {M : Type u_1} {ι : Type u_2} {R : Type u_3} [inst : AddMonoid M] [inst_1 : DecidableEq ι] [inst_2 : AddMonoid ι]
[inst_3 : CommSemiring R] (f : M →+ ι) (m : M) (r : R),
(AddMonoidAlgebra.decomposeAux f) (AddMonoidAlgebra.single m r) =
(DirectSum.of (fun i ↦ ↥(AddMonoidAlgebra.gradeBy R (⇑f) i)) (f m)) ⟨AddMonoidAlgebra.single m r, ⋯⟩
theorem AddMonoidAlgebra.decomposeAux_coe E0 #
∀ {M : Type u_1} {ι : Type u_2} {R : Type u_3} [inst : AddMonoid M] [inst_1 : DecidableEq ι] [inst_2 : AddMonoid ι]
[inst_3 : CommSemiring R] (f : M →+ ι) {i : ι} (x : ↥(AddMonoidAlgebra.gradeBy R (⇑f) i)),
(AddMonoidAlgebra.decomposeAux f) ↑x = (DirectSum.of (fun i ↦ ↥(AddMonoidAlgebra.gradeBy R (⇑f) i)) i) x
instance AddMonoidAlgebra.gradeBy.gradedAlgebra E0 #
{M : Type u_1} →
{ι : Type u_2} →
{R : Type u_3} →
[inst : AddMonoid M] →
[inst_1 : DecidableEq ι] →
[inst_2 : AddMonoid ι] →
[inst_3 : CommSemiring R] → (f : M →+ ι) → GradedAlgebra (AddMonoidAlgebra.gradeBy R ⇑f)
theorem AddMonoidAlgebra.decomposeAux_eq_decompose E0 #
∀ {M : Type u_1} {ι : Type u_2} {R : Type u_3} [inst : AddMonoid M] [inst_1 : DecidableEq ι] [inst_2 : AddMonoid ι]
[inst_3 : CommSemiring R] (f : M →+ ι),
⇑(AddMonoidAlgebra.decomposeAux f) = ⇑(DirectSum.decompose (AddMonoidAlgebra.gradeBy R ⇑f))
theorem AddMonoidAlgebra.GradesBy.decompose_single E1 #
∀ {M : Type u_1} {ι : Type u_2} {R : Type u_3} [inst : AddMonoid M] [inst_1 : DecidableEq ι] [inst_2 : AddMonoid ι]
[inst_3 : CommSemiring R] (f : M →+ ι) (m : M) (r : R),
(DirectSum.decompose (AddMonoidAlgebra.gradeBy R ⇑f)) (AddMonoidAlgebra.single m r) =
(DirectSum.of (fun i ↦ ↥(AddMonoidAlgebra.gradeBy R (⇑f) i)) (f m)) ⟨AddMonoidAlgebra.single m r, ⋯⟩
instance AddMonoidAlgebra.grade.gradedAlgebra E0 #
{ι : Type u_2} →
{R : Type u_3} →
[inst : DecidableEq ι] →
[inst_1 : AddMonoid ι] → [inst_2 : CommSemiring R] → GradedAlgebra (AddMonoidAlgebra.grade R)
theorem AddMonoidAlgebra.grade.decompose_single E1 #
∀ {ι : Type u_2} {R : Type u_3} [inst : DecidableEq ι] [inst_1 : AddMonoid ι] [inst_2 : CommSemiring R] (i : ι) (r : R),
(DirectSum.decompose (AddMonoidAlgebra.grade R)) (AddMonoidAlgebra.single i r) =
(DirectSum.of (fun i ↦ ↥(AddMonoidAlgebra.grade R i)) i) ⟨AddMonoidAlgebra.single i r, ⋯⟩
theorem AddMonoidAlgebra.grade.decompose_apply E0 #
∀ {ι : Type u_2} {R : Type u_3} [inst : DecidableEq ι] [inst_1 : AddMonoid ι] [inst_2 : CommSemiring R]
(x : AddMonoidAlgebra R ι) (i : ι),
↑(((DirectSum.decompose (AddMonoidAlgebra.grade R)) x) i) = AddMonoidAlgebra.single i (x.coeff i)
The component of degree i in the decomposition of x is its i-term.
theorem AddMonoidAlgebra.gradeBy.isInternal E1 #
∀ {M : Type u_1} {ι : Type u_2} {R : Type u_3} [inst : AddMonoid M] [inst_1 : DecidableEq ι] [inst_2 : AddMonoid ι]
[inst_3 : CommSemiring R] (f : M →+ ι), DirectSum.IsInternal (AddMonoidAlgebra.gradeBy R ⇑f)
AddMonoidAlgebra.gradeBy describe an internally graded algebra.
theorem AddMonoidAlgebra.grade.isInternal E1 #
∀ {ι : Type u_2} {R : Type u_3} [inst : DecidableEq ι] [AddMonoid ι] [inst_2 : CommSemiring R],
DirectSum.IsInternal (AddMonoidAlgebra.grade R)
AddMonoidAlgebra.grade describe an internally graded algebra.