lemmacomponentClosed_sup {IJ : Ideal (MvPolynomial σ K)}
(hI : ComponentClosed w I) (hJ : ComponentClosed w J) :
ComponentClosed w (I ⊔ J) :=by
proof · 5
lines
intro p hp d
obtain ⟨i,hi,j,hj,rfl⟩ :=Submodule.mem_sup.mp hp
rw [map_add]
exact Ideal.add_mem _ (Submodule.mem_sup_left (hI i hi d))
(Submodule.mem_sup_right (hJ j hj d))
lemmacomponentClosed_span_single {a : MvPolynomial σ K} {e : G}
(ha : a.IsWeightedHomogeneous w e) :
ComponentClosed w (Ideal.span {a}) :=by
proof · 4
lines
intro p hp d
obtain ⟨g,rfl⟩ :=Ideal.mem_span_singleton.mp hp
rw [project_mul w ha]
exact Ideal.mul_mem_right _ _ (Ideal.subset_span (Set.mem_singleton a))
noncomputabledefmulPiece {a : MvPolynomial σ K} {e : G}
(ha : a.IsWeightedHomogeneous w e) (d : G) :
Piece (K:=K) w (d-e) →ₗ[K] Piece (K:=K) w d :=
body · 4
lines
((LinearMap.mulLeft K a).comp (Piece (K:=K) w (d-e)).subtype).codRestrict _
(fun p =>by
change IsWeightedHomogeneous w (a * p.val) d
simpa only [add_sub_cancel] using ha.mul p.property)
@[simp]lemmacomponentMul_mk {a : MvPolynomial σ K} {e : G}
(ha : a.IsWeightedHomogeneous w e) (IJ : Ideal (MvPolynomial σ K))
(h : ∀ p ∈I, a*p ∈J) (d : G) (p : Piece (K:=K) w (d-e)) :
componentMul w ha IJ h d (Submodule.Quotient.mk p) =
Submodule.Quotient.mk (mulPiece w ha d p) := rfl
theoremfinrank_product_split (I : Ideal (MvPolynomial σ K))
(hI : ComponentClosed w I) {a b : MvPolynomial σ K} {e : G}
(ha : a.IsWeightedHomogeneous w e) (d : G)
[Module.FiniteK (Piece (K:=K) w d)]
[Module.FiniteK (Piece (K:=K) w (d-e))] :
Module.finrank K (componentQuotient w (I ⊔ Ideal.span {a*b}) d) ≤Module.finrank K (componentQuotient w (I ⊔ Ideal.span {a}) d) +
Module.finrank K (componentQuotient w (I ⊔ Ideal.span {b}) (d-e)) :=by
proof · 46
lines
letB:=I ⊔ Ideal.span {a*b}
letA:=I ⊔ Ideal.span {a}
letC:=I ⊔ Ideal.span {b}
havehBA : B≤A:=by
apply sup_le le_sup_left
apply Ideal.span_le.mpr
rintro _ rfl
exact Submodule.mem_sup_right (Ideal.mul_mem_right _ _ (Ideal.subset_span rfl))
havehm : ∀ p ∈C, a*p ∈B:=by
intro p hp
obtain ⟨i,hi,z,hz,rfl⟩ :=Submodule.mem_sup.mp hp
obtain ⟨g,rfl⟩ :=Ideal.mem_span_singleton.mp hz
rw [mul_add, ← mul_assoc]
exact Ideal.add_mem _ (Submodule.mem_sup_left (I.mul_mem_left a hi))
(Submodule.mem_sup_right (Ideal.mul_mem_right _ _ (Ideal.subset_span rfl)))
let f := componentMap w hBA d
let g := componentMul w ha CB hm d
havehker : LinearMap.ker f ≤LinearMap.range g :=by
intro x hx
obtain ⟨p,rfl⟩ :=Submodule.mkQ_surjective _ x
change (Submodule.Quotient.mk p : componentQuotient w A d) = 0 at hx
havehp : p.val ∈A:= (Submodule.Quotient.mk_eq_zero
((A.restrictScalars K).comap (Piece (K:=K) w d).subtype)).mp hx
obtain ⟨i,hi,z,hz,hp⟩ :=Submodule.mem_sup.mp hp
obtain ⟨u,rfl⟩ :=Ideal.mem_span_singleton.mp hz
letv : Piece (K:=K) w (d-e) :=
⟨weightedHomogeneousComponent w (d-e) u, weightedHomogeneousComponent_mem w u (d-e)⟩
refine ⟨Submodule.Quotient.mk v, ?_⟩
change Submodule.Quotient.mk (mulPiece w ha d v) = Submodule.Quotient.mk p
rw [Submodule.Quotient.eq]
change a * weightedHomogeneousComponent w (d-e) u - p.val ∈Bhavehe : weightedHomogeneousComponent w d i +
a * weightedHomogeneousComponent w (d-e) u = p.val :=byhave hh := congrArg (weightedHomogeneousComponent w d) hp
simpa only [map_add, project_mul w ha,
weightedHomogeneousComponent_eq_self p.property] using hh
have hi' := hI i hi d
havehe' : a * weightedHomogeneousComponent w (d-e) u - p.val =
-(weightedHomogeneousComponent w d i) :=by rw [← he]; abel
rw [he']
exact Submodule.mem_sup_left (I.neg_mem hi')
have hk := (Submodule.finrank_mono hker).trans (LinearMap.finrank_range_le g)
have hf :=Submodule.finrank_le (LinearMap.range f)
have hr :=LinearMap.finrank_range_add_finrank_ker f
dsimp only [B,A,C] at hk hf hr
omega
noncomputabledefsplitBound (I : Ideal (MvPolynomial σ K)) (d : G) :
List (FactorPair (K:=K) w) →ℕ
body · 3
lines
| [] =>Module.finrank K (componentQuotient w I d)
| q :: qs => splitBound (I ⊔ Ideal.span {q.left}) d qs +
splitBound (I ⊔ Ideal.span {q.right}) (d-q.leftDegree) qs
lemmaproductIdeal_closed (qs : List (FactorPair (K:=K) w)) :
ComponentClosed w (productIdeal w qs) :=by
proof · 5
lines
induction qs with
| nil => exact componentClosed_bot w
| cons q qs ih =>
exact componentClosed_sup w
(componentClosed_span_single w (q.left_homogeneous.mul q.right_homogeneous)) ih
theoremfinrank_le_splitBound [∀ d, Module.FiniteK (Piece (K:=K) w d)]
(qs : List (FactorPair (K:=K) w)) (I : Ideal (MvPolynomial σ K))
(hI : ComponentClosed w I) (d : G) :
Module.finrank K (componentQuotient w (I ⊔ productIdeal w qs) d) ≤
splitBound w I d qs :=by
proof · 27
lines
induction qs generalizing I d with
| nil => rw [productIdeal, sup_bot_eq, splitBound]
| cons q qs ih =>have hs := finrank_product_split w (b := q.right) (I ⊔ productIdeal w qs)
(componentClosed_sup w hI (productIdeal_closed w qs)) q.left_homogeneous d
have h₁ := ih (I ⊔ Ideal.span {q.left})
(componentClosed_sup w hI (componentClosed_span_single w q.left_homogeneous)) d
have h₂ := ih (I ⊔ Ideal.span {q.right})
(componentClosed_sup w hI (componentClosed_span_single w q.right_homogeneous))
(d-q.leftDegree)
calc
_ ≤Module.finrank K (componentQuotient w
((I ⊔ Ideal.span {q.left}) ⊔ productIdeal w qs) d) +
Module.finrank K (componentQuotient w
((I ⊔ Ideal.span {q.right}) ⊔ productIdeal w qs) (d-q.leftDegree)) :=byhaveh₀ : I ⊔ productIdeal w (q::qs) =
(I ⊔ productIdeal w qs) ⊔ Ideal.span {q.left*q.right} :=by
dsimp only [productIdeal]
rw [sup_comm (Ideal.span {q.left*q.right}) (productIdeal w qs), ← sup_assoc]
havehₐ : (I ⊔ productIdeal w qs) ⊔ Ideal.span {q.left} =
(I ⊔ Ideal.span {q.left}) ⊔ productIdeal w qs := sup_right_comm _ _ _
have hᵦ : (I ⊔ productIdeal w qs) ⊔ Ideal.span {q.right} =
(I ⊔ Ideal.span {q.right}) ⊔ productIdeal w qs := sup_right_comm _ _ _
rw [hₐ,hᵦ] at hs
rw [h₀]
exact hs
_ ≤ _ :=Nat.add_le_add h₁ h₂
apply (Finsupp.finite_of_degree_le (∑ j, d j).toNat).subset
intro m hm
have hs := sum_blockWeight group m
rw [hm] at hs
change m.degree ≤ (∑ j, d j).toNat
rw [hs]
simp
theoremcomponent_finrank_le_one_of_linear_relations (group : σ → ι)
(I : Ideal (MvPolynomial σ K)) (z : ι →MvPolynomial σ K) (c : σ →K)
(hrel : ∀ v, X v - C (c v) * z (group v) ∈I) (d : ι →ℤ) :
Module.finrank K (componentQuotient (blockWeight group) I d) ≤1:=by
proof · 50
lines
classical
let q :=Ideal.Quotient.mkₐ KIletZ:=∏ j, q (z j) ^ (d j).toNat
have hX (v : σ) : q (X v) = algebraMap K _ (c v) * q (z (group v)) :=byhave h :=Ideal.Quotient.eq.mpr (hrel v)
change q (X v) = q (C (c v) * z (group v)) at h
rw [map_mul] at h
exact h.trans (congrArg (· * q (z (group v))) (q.commutes (c v)))
have hmon (m : σ →₀ ℕ) (r : K) (hm : Finsupp.weight (blockWeight group) m = d) :
q (monomial m r) ∈Submodule.span K {Z} :=by
apply Submodule.mem_span_singleton.mpr
refine ⟨r * ∏ v, c v ^ m v, ?_⟩
havehexp : ∀ j, blockExponent group m j = (d j).toNat :=by
intro j
have h := congrFun hm j
rw [weight_blockExponent] at h
rw [← h, Int.toNat_natCast]
rw [monomial_eq, Finsupp.prod_pow, map_mul, map_prod]
simp only [map_pow, hX, mul_pow, Finset.prod_mul_distrib]
rw [prod_blockExponent group m (fun j => q (z j))]
simp only [hexp]
change (r * ∏ v, c v ^ m v) • Z =
algebraMap K _ r * ((∏ v, (algebraMap K _ (c v)) ^ m v) * Z)
havehe : (r * ∏ v, c v ^ m v) • Z =
algebraMap K (MvPolynomial σ K ⧸ I) (r * ∏ v, c v ^ m v) * Z:=Algebra.smul_def (R:=K) (A:=MvPolynomial σ K ⧸ I) (r * ∏ v, c v ^ m v) Z
rw [he, map_mul, map_prod]
simp only [map_pow]
ring
have hpiece (p : Piece (K:=K) (blockWeight group) d) :
q p.val ∈Submodule.span K {Z} :=by
rcases p with ⟨p,hp⟩
induction hp usingIsWeightedHomogeneous.induction_on with
| zero => simp
| add p₁ p₂ _ _ h₁ h₂ => simpa only [map_add] usingSubmodule.add_mem _ h₁ h₂
| monomial m r hm => exact hmon m r hm
let f := (componentEmbed group I d).codRestrict (Submodule.span K {Z}) (by
intro x
obtain ⟨p,rfl⟩ :=Submodule.Quotient.mk_surjective
((I.restrictScalars K).comap (Piece (K:=K) (blockWeight group) d).subtype) x
exact hpiece p)
havehf : Function.Injective f :=fun a b h =>
componentEmbed_injective group I d (congrArg Subtype.val h)
exact (LinearMap.finrank_le_finrank_of_injective hf).trans
(by
apply finrank_le_one_iff.mpr
refine ⟨⟨Z, Submodule.subset_span (Set.mem_singleton Z)⟩, ?_⟩
intro x
obtain ⟨c,hc⟩ :=Submodule.mem_span_singleton.mp x.property
exact ⟨c, Subtype.ext hc⟩)