Module

MvPolynomialEvalNeZeroMacaulayPowFinrankPieceSupAddLe.lean

Nyll.AlgebraicCurves.Foundations.Polynomial.MvPolynomialEvalNeZeroMacaulayPowFinrankPieceSupAddLe
69 declarations indexed from sourceView source ↗

Mv Polynomial exists forall eval ne zero macaulay Pow finrank piece sup add le

Imports50
  • Lean.Elab.Tactic.Omega
  • Mathlib.Algebra.BigOperators.Fin
  • Mathlib.Algebra.Module.LinearMap.Defs
  • Mathlib.Algebra.Module.Submodule.Ker
  • Mathlib.Algebra.Module.Submodule.Map
  • Mathlib.Algebra.Module.Submodule.Range
  • Mathlib.Algebra.Module.Submodule.RestrictScalars
  • Mathlib.Algebra.MvPolynomial.Basic
  • Mathlib.Algebra.MvPolynomial.Division
  • Mathlib.Algebra.MvPolynomial.Eval
  • Mathlib.Algebra.MvPolynomial.Funext
  • Mathlib.Algebra.MvPolynomial.Monad
  • Mathlib.Algebra.MvPolynomial.Rename
  • Mathlib.Algebra.MvPolynomial.Variables
  • Mathlib.Data.Fin.Tuple.Basic
  • Mathlib.Data.Finsupp.Order
  • Mathlib.Data.Finsupp.Weight
  • Mathlib.Data.Nat.Choose.Basic
  • Mathlib.Data.Nat.Find
  • Mathlib.LinearAlgebra.Basis.Basic
  • Mathlib.LinearAlgebra.Basis.Defs
  • Mathlib.LinearAlgebra.Basis.VectorSpace
  • Mathlib.LinearAlgebra.Dimension.Constructions
  • Mathlib.LinearAlgebra.Dimension.Finite
  • Mathlib.LinearAlgebra.Dimension.Finrank
  • Mathlib.LinearAlgebra.Dimension.Free
  • Mathlib.LinearAlgebra.Dimension.RankNullity
  • Mathlib.LinearAlgebra.Dimension.StrongRankCondition
  • Mathlib.LinearAlgebra.FiniteDimensional.Basic
  • Mathlib.LinearAlgebra.FiniteDimensional.Lemmas
  • Mathlib.LinearAlgebra.FreeModule.Finite.Basic
  • Mathlib.LinearAlgebra.LinearIndependent.Basic
  • Mathlib.LinearAlgebra.LinearIndependent.Defs
  • Mathlib.LinearAlgebra.Matrix.Determinant.Basic
  • Mathlib.LinearAlgebra.Quotient.Basic
  • Mathlib.LinearAlgebra.Quotient.Defs
  • Mathlib.RingTheory.Finiteness.Basic
  • Mathlib.RingTheory.GradedAlgebra.Basic
  • Mathlib.RingTheory.Ideal.Span
  • Mathlib.RingTheory.MvPolynomial.Basic
  • Mathlib.RingTheory.MvPolynomial.Homogeneous
  • Mathlib.RingTheory.Noetherian.Basic
  • Mathlib.Tactic.Choose
  • Mathlib.Tactic.Convert
  • Mathlib.Tactic.Ext
  • Mathlib.Tactic.Push
  • Mathlib.Tactic.Ring.RingNF
  • Mathlib.Tactic.Set
  • Nyll.AlgebraicCurves.Hilbert.Functor.Basic
  • Nyll.SchemeTheory.RingTheory.Polynomial.Macaulay
Imported by3

Declarations

AlgebraicCurves.Foundations.Polynomial.Proofs.MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le.GreenHRT.fam

The linear combination of a finite family of linear maps with the given coefficients.

Source context 10 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
universe u
section ProofImplementation
namespace AlgebraicCurves.Foundations.Polynomial.Proofs
namespace MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le
namespace GreenHRT
open MvPolynomial
section SemiCont
variable {K : Type u} [Field K] {N : ℕ}
variable {E F : Type*} [AddCommGroup E] [Module K E] [AddCommGroup F] [Module K F]
def fam (g : Fin N → E →ₗ[K] F) (a : Fin N → K) : E →ₗ[K] F
AlgebraicCurves.Foundations.Polynomial.Proofs.MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le.GreenHRT.fam_apply
Source context 10 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
universe u
section ProofImplementation
namespace AlgebraicCurves.Foundations.Polynomial.Proofs
namespace MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le
namespace GreenHRT
open MvPolynomial
section SemiCont
variable {K : Type u} [Field K] {N : ℕ}
variable {E F : Type*} [AddCommGroup E] [Module K E] [AddCommGroup F] [Module K F]
theorem fam_apply (g : Fin N → E →ₗ[K] F) (a : Fin N → K) (x : E) : fam g a x = ∑ i, a i • g i x
AlgebraicCurves.Foundations.Polynomial.Proofs.MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le.GreenHRT.exists_generic_rank
Source context 10 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
universe u
section ProofImplementation
namespace AlgebraicCurves.Foundations.Polynomial.Proofs
namespace MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le
namespace GreenHRT
open MvPolynomial
section SemiCont
variable {K : Type u} [Field K] {N : ℕ}
variable {E F : Type*} [AddCommGroup E] [Module K E] [AddCommGroup F] [Module K F]
theorem exists_generic_rank [Module.Finite K E] (g : Fin N → E →ₗ[K] F) :
    ∃ G : MvPolynomial (Fin N) K, G ≠ 0 ∧ ∀ a : Fin N → K, eval a G ≠ 0 →
      ∀ a' : Fin N → K, Module.finrank K ↥(LinearMap.range (fam g a')) ≤
        Module.finrank K ↥(LinearMap.range (fam g a))
AlgebraicCurves.Foundations.Polynomial.Proofs.MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le.GreenHRT.HS

The submodule of homogeneous polynomials of the specified degree.

Source context 9 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
universe u
section ProofImplementation
namespace AlgebraicCurves.Foundations.Polynomial.Proofs
namespace MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le
namespace GreenHRT
open MvPolynomial
section Pieces
variable (K : Type u) [Field K] (M : ℕ)
abbrev HS (m : ℕ) : Submodule K (MvPolynomial (Fin M) K)
AlgebraicCurves.Foundations.Polynomial.Proofs.MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le.GreenHRT.lin

The linear form with the given coefficients.

Source context 10 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
universe u
section ProofImplementation
namespace AlgebraicCurves.Foundations.Polynomial.Proofs
namespace MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le
namespace GreenHRT
open MvPolynomial
section Pieces
variable (K : Type u) [Field K] (M : ℕ)
variable {K M}
def lin (a : Fin M → K) : MvPolynomial (Fin M) K
AlgebraicCurves.Foundations.Polynomial.Proofs.MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le.GreenHRT.lin_isHomogeneous
Source context 10 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
universe u
section ProofImplementation
namespace AlgebraicCurves.Foundations.Polynomial.Proofs
namespace MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le
namespace GreenHRT
open MvPolynomial
section Pieces
variable (K : Type u) [Field K] (M : ℕ)
variable {K M}
theorem lin_isHomogeneous (a : Fin M → K) : (lin a).IsHomogeneous 1
AlgebraicCurves.Foundations.Polynomial.Proofs.MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le.GreenHRT.lin_mem
Source context 10 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
universe u
section ProofImplementation
namespace AlgebraicCurves.Foundations.Polynomial.Proofs
namespace MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le
namespace GreenHRT
open MvPolynomial
section Pieces
variable (K : Type u) [Field K] (M : ℕ)
variable {K M}
theorem lin_mem (a : Fin M → K) : lin a ∈ HS K M 1
AlgebraicCurves.Foundations.Polynomial.Proofs.MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le.GreenHRT.coeff_lin_single
Source context 10 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
universe u
section ProofImplementation
namespace AlgebraicCurves.Foundations.Polynomial.Proofs
namespace MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le
namespace GreenHRT
open MvPolynomial
section Pieces
variable (K : Type u) [Field K] (M : ℕ)
variable {K M}
theorem coeff_lin_single (a : Fin M → K) (i : Fin M) : (lin a).coeff (Finsupp.single i 1) = a i
AlgebraicCurves.Foundations.Polynomial.Proofs.MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le.GreenHRT.lin_ne_zero
Source context 10 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
universe u
section ProofImplementation
namespace AlgebraicCurves.Foundations.Polynomial.Proofs
namespace MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le
namespace GreenHRT
open MvPolynomial
section Pieces
variable (K : Type u) [Field K] (M : ℕ)
variable {K M}
theorem lin_ne_zero {a : Fin M → K} {i : Fin M} (h : a i ≠ 0) : lin a ≠ 0
AlgebraicCurves.Foundations.Polynomial.Proofs.MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le.GreenHRT.lin_zero
Source context 10 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
universe u
section ProofImplementation
namespace AlgebraicCurves.Foundations.Polynomial.Proofs
namespace MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le
namespace GreenHRT
open MvPolynomial
section Pieces
variable (K : Type u) [Field K] (M : ℕ)
variable {K M}
theorem lin_zero : lin (0 : Fin M → K) = 0
AlgebraicCurves.Foundations.Polynomial.Proofs.MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le.GreenHRT.lin_add
Source context 10 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
universe u
section ProofImplementation
namespace AlgebraicCurves.Foundations.Polynomial.Proofs
namespace MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le
namespace GreenHRT
open MvPolynomial
section Pieces
variable (K : Type u) [Field K] (M : ℕ)
variable {K M}
theorem lin_add (a b : Fin M → K) : lin (a + b) = lin a + lin b
AlgebraicCurves.Foundations.Polynomial.Proofs.MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le.GreenHRT.lin_smul
Source context 10 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
universe u
section ProofImplementation
namespace AlgebraicCurves.Foundations.Polynomial.Proofs
namespace MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le
namespace GreenHRT
open MvPolynomial
section Pieces
variable (K : Type u) [Field K] (M : ℕ)
variable {K M}
theorem lin_smul (c : K) (a : Fin M → K) : lin (c • a) = C c * lin a
AlgebraicCurves.Foundations.Polynomial.Proofs.MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le.GreenHRT.lin_single
Source context 10 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
universe u
section ProofImplementation
namespace AlgebraicCurves.Foundations.Polynomial.Proofs
namespace MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le
namespace GreenHRT
open MvPolynomial
section Pieces
variable (K : Type u) [Field K] (M : ℕ)
variable {K M}
theorem lin_single [DecidableEq (Fin M)] (i : Fin M) : lin (Pi.single i (1 : K)) = X i
AlgebraicCurves.Foundations.Polynomial.Proofs.MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le.GreenHRT.exists_eq_single_of_degree_eq_one
Source context 10 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
universe u
section ProofImplementation
namespace AlgebraicCurves.Foundations.Polynomial.Proofs
namespace MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le
namespace GreenHRT
open MvPolynomial
section Pieces
variable (K : Type u) [Field K] (M : ℕ)
variable {K M}
theorem exists_eq_single_of_degree_eq_one (s : Fin M →₀ ℕ) (hs : s.degree = 1) :
    ∃ i, s = Finsupp.single i 1
AlgebraicCurves.Foundations.Polynomial.Proofs.MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le.GreenHRT.eq_lin_of_mem_one
Source context 10 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
universe u
section ProofImplementation
namespace AlgebraicCurves.Foundations.Polynomial.Proofs
namespace MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le
namespace GreenHRT
open MvPolynomial
section Pieces
variable (K : Type u) [Field K] (M : ℕ)
variable {K M}
theorem eq_lin_of_mem_one {p : MvPolynomial (Fin M) K} (hp : p ∈ HS K M 1) :
    p = lin (fun i => p.coeff (Finsupp.single i 1)) := by
  classical
  ext s
  by_cases hs : s.degree = 1
  · obtain ⟨i, rfl⟩ := exists_eq_single_of_degree_eq_one s hs
    rw [coeff_lin_single]
  · have h1 : p.coeff s = 0 := by
      by_contra h
      exact hs (by simpa only [Finsupp.degree_eq_weight_one, Pi.one_def] using hp h)
    have h2 : (lin fun i => p.coeff (Finsupp.single i 1)).coeff s = 0 := by
      by_contra h
      exact hs (by
        simpa only [Finsupp.degree_eq_weight_one, Pi.one_def] using lin_isHomogeneous _ h)
    rw [h1, h2]
AlgebraicCurves.Foundations.Polynomial.Proofs.MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le.GreenHRT.mulSub

The image of the homogeneous piece under multiplication by the specified polynomial.

Source context 10 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
universe u
section ProofImplementation
namespace AlgebraicCurves.Foundations.Polynomial.Proofs
namespace MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le
namespace GreenHRT
open MvPolynomial
section Pieces
variable (K : Type u) [Field K] (M : ℕ)
variable {K M}
def mulSub (ℓ : MvPolynomial (Fin M) K) (m : ℕ) : Submodule K (MvPolynomial (Fin M)
  K)
AlgebraicCurves.Foundations.Polynomial.Proofs.MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le.GreenHRT.finite_mulSub
Source context 10 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
universe u
section ProofImplementation
namespace AlgebraicCurves.Foundations.Polynomial.Proofs
namespace MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le
namespace GreenHRT
open MvPolynomial
section Pieces
variable (K : Type u) [Field K] (M : ℕ)
variable {K M}
instance finite_mulSub (ℓ : MvPolynomial (Fin M) K) (m : ℕ) :
    Module.Finite K ↥(mulSub ℓ m)
AlgebraicCurves.Foundations.Polynomial.Proofs.MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le.GreenHRT.mul_mem_mulSub
Source context 10 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
universe u
section ProofImplementation
namespace AlgebraicCurves.Foundations.Polynomial.Proofs
namespace MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le
namespace GreenHRT
open MvPolynomial
section Pieces
variable (K : Type u) [Field K] (M : ℕ)
variable {K M}
theorem mul_mem_mulSub (ℓ : MvPolynomial (Fin M) K) {m : ℕ} {p : MvPolynomial (Fin M) K} (hp : p ∈
  HS K M m) :
    ℓ * p ∈ mulSub ℓ m
AlgebraicCurves.Foundations.Polynomial.Proofs.MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le.GreenHRT.mem_mulSub_iff
Source context 10 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
universe u
section ProofImplementation
namespace AlgebraicCurves.Foundations.Polynomial.Proofs
namespace MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le
namespace GreenHRT
open MvPolynomial
section Pieces
variable (K : Type u) [Field K] (M : ℕ)
variable {K M}
theorem mem_mulSub_iff (ℓ : MvPolynomial (Fin M) K) (m : ℕ) (q : MvPolynomial (Fin M) K) :
    q ∈ mulSub ℓ m ↔ ∃ p ∈ HS K M m, ℓ * p = q
AlgebraicCurves.Foundations.Polynomial.Proofs.MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le.GreenHRT.mulSub_le
Source context 10 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
universe u
section ProofImplementation
namespace AlgebraicCurves.Foundations.Polynomial.Proofs
namespace MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le
namespace GreenHRT
open MvPolynomial
section Pieces
variable (K : Type u) [Field K] (M : ℕ)
variable {K M}
theorem mulSub_le {ℓ : MvPolynomial (Fin M) K} (hℓ : ℓ ∈ HS K M 1) (m : ℕ) : mulSub ℓ m ≤ HS K M (m
  + 1)
AlgebraicCurves.Foundations.Polynomial.Proofs.MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le.GreenHRT.finrank_mulSub
Source context 10 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
universe u
section ProofImplementation
namespace AlgebraicCurves.Foundations.Polynomial.Proofs
namespace MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le
namespace GreenHRT
open MvPolynomial
section Pieces
variable (K : Type u) [Field K] (M : ℕ)
variable {K M}
theorem finrank_mulSub {ℓ : MvPolynomial (Fin M) K} (hℓ : ℓ ≠ 0) (m : ℕ) :
    Module.finrank K ↥(mulSub ℓ m) = Module.finrank K ↥(HS K M m)
AlgebraicCurves.Foundations.Polynomial.Proofs.MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le.GreenHRT.mulSub_zero
Source context 10 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
universe u
section ProofImplementation
namespace AlgebraicCurves.Foundations.Polynomial.Proofs
namespace MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le
namespace GreenHRT
open MvPolynomial
section Pieces
variable (K : Type u) [Field K] (M : ℕ)
variable {K M}
theorem mulSub_zero (m : ℕ) : mulSub (0 : MvPolynomial (Fin M) K) m = ⊥
AlgebraicCurves.Foundations.Polynomial.Proofs.MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le.GreenHRT.codim

The dimension of the homogeneous piece minus the dimension of the given submodule.

Source context 10 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
universe u
section ProofImplementation
namespace AlgebraicCurves.Foundations.Polynomial.Proofs
namespace MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le
namespace GreenHRT
open MvPolynomial
section Pieces
variable (K : Type u) [Field K] (M : ℕ)
variable {K M}
def codim (K : Type u) [Field K] (M m : ℕ)
    (V : Submodule K (MvPolynomial (Fin M) K)) : ℕ
AlgebraicCurves.Foundations.Polynomial.Proofs.MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le.GreenHRT.finrank_le_of_le
Source context 10 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
universe u
section ProofImplementation
namespace AlgebraicCurves.Foundations.Polynomial.Proofs
namespace MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le
namespace GreenHRT
open MvPolynomial
section Pieces
variable (K : Type u) [Field K] (M : ℕ)
variable {K M}
theorem finrank_le_of_le {m : ℕ} {V : Submodule K (MvPolynomial (Fin M) K)} (hV : V ≤ HS K M m) :
    Module.finrank K ↥V ≤ Module.finrank K ↥(HS K M m)
AlgebraicCurves.Foundations.Polynomial.Proofs.MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le.GreenHRT.finrank_map_add
Source context 10 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
universe u
section ProofImplementation
namespace AlgebraicCurves.Foundations.Polynomial.Proofs
namespace MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le
namespace GreenHRT
open MvPolynomial
section Pieces
variable (K : Type u) [Field K] (M : ℕ)
variable {K M}
theorem finrank_map_add {X' : Type*} [AddCommGroup X'] [Module K X']
    (f : MvPolynomial (Fin M) K →ₗ[K] X') (p W : Submodule K (MvPolynomial (Fin M) K))
      [Module.Finite K ↥p]
    (hW : W ≤ p) (hker : ∀ x ∈ p, f x = 0 ↔ x ∈ W) :
    Module.finrank K ↥(p.map f) + Module.finrank K ↥W = Module.finrank K ↥p
AlgebraicCurves.Foundations.Polynomial.Proofs.MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le.GreenHRT.finrank_sup_eq
Source context 10 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
universe u
section ProofImplementation
namespace AlgebraicCurves.Foundations.Polynomial.Proofs
namespace MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le
namespace GreenHRT
open MvPolynomial
section Pieces
variable (K : Type u) [Field K] (M : ℕ)
variable {K M}
theorem finrank_sup_eq (V A : Submodule K (MvPolynomial (Fin M) K)) [Module.Finite K ↥V]
  [Module.Finite K ↥A] :
    Module.finrank K ↥(V ⊔ A) = Module.finrank K ↥V + Module.finrank K ↥(A.map V.mkQ)
AlgebraicCurves.Foundations.Polynomial.Proofs.MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le.GreenHRT.finrank_sup_mulSub_add
Source context 10 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
universe u
section ProofImplementation
namespace AlgebraicCurves.Foundations.Polynomial.Proofs
namespace MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le
namespace GreenHRT
open MvPolynomial
section Pieces
variable (K : Type u) [Field K] (M : ℕ)
variable {K M}
theorem finrank_sup_mulSub_add {m : ℕ} (V : Submodule K (MvPolynomial (Fin M) K)) [Module.Finite K
  ↥V]
    (ℓ : MvPolynomial (Fin M) K) :
    Module.finrank K ↥(V ⊔ mulSub ℓ m) +
        Module.finrank K ↥(HS K M m ⊓ V.comap (LinearMap.mulLeft K ℓ)) =
      Module.finrank K ↥V + Module.finrank K ↥(HS K M m)
AlgebraicCurves.Foundations.Polynomial.Proofs.MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le.GreenHRT.codim_eq_colon_add
Source context 10 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
universe u
section ProofImplementation
namespace AlgebraicCurves.Foundations.Polynomial.Proofs
namespace MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le
namespace GreenHRT
open MvPolynomial
section Pieces
variable (K : Type u) [Field K] (M : ℕ)
variable {K M}
theorem codim_eq_colon_add {m : ℕ} {V : Submodule K (MvPolynomial (Fin M) K)} (hV : V ≤ HS K M (m +
  1))
    {ℓ : MvPolynomial (Fin M) K} (hℓ : ℓ ∈ HS K M 1) :
    codim K M (m + 1) V =
      codim K M m (HS K M m ⊓ V.comap (LinearMap.mulLeft K ℓ)) + codim K M (m + 1) (V ⊔ mulSub ℓ m)
AlgebraicCurves.Foundations.Polynomial.Proofs.MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le.GreenHRT.exists_generic_codim
Source context 10 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
universe u
section ProofImplementation
namespace AlgebraicCurves.Foundations.Polynomial.Proofs
namespace MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le
namespace GreenHRT
open MvPolynomial
section Pieces
variable (K : Type u) [Field K] (M : ℕ)
variable {K M}
theorem exists_generic_codim (m : ℕ) (V : Submodule K (MvPolynomial (Fin M) K)) [Module.Finite K
  ↥V] :
    ∃ G : MvPolynomial (Fin M) K, G ≠ 0 ∧ ∀ a : Fin M → K, eval a G ≠ 0 →
      ∀ a' : Fin M → K, Module.finrank K ↥(V ⊔ mulSub (lin a') m) ≤ Module.finrank K ↥(V ⊔ mulSub
        (lin a) m)
AlgebraicCurves.Foundations.Polynomial.Proofs.MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le.GreenHRT.exists_eval_ne_zero
Source context 11 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
universe u
section ProofImplementation
namespace AlgebraicCurves.Foundations.Polynomial.Proofs
namespace MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le
namespace GreenHRT
open MvPolynomial
section Pieces
variable (K : Type u) [Field K] (M : ℕ)
variable {K M}
variable [Infinite K]
theorem exists_eval_ne_zero {G : MvPolynomial (Fin M) K} (hG : G ≠ 0) : ∃ a : Fin M → K, eval a G ≠
  0
AlgebraicCurves.Foundations.Polynomial.Proofs.MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le.GreenHRT.bvec

The negative ratios of the initial coefficients to the last coefficient.

Source context 9 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
universe u
section ProofImplementation
namespace AlgebraicCurves.Foundations.Polynomial.Proofs
namespace MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le
namespace GreenHRT
open MvPolynomial
section Restrict
variable {K : Type u} [Field K] {N : ℕ}
def bvec (a : Fin (N + 1) → K) : Fin N → K
AlgebraicCurves.Foundations.Polynomial.Proofs.MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le.GreenHRT.θ

The substitution retaining the initial variables and replacing the last by a linear form.

Source context 9 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
universe u
section ProofImplementation
namespace AlgebraicCurves.Foundations.Polynomial.Proofs
namespace MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le
namespace GreenHRT
open MvPolynomial
section Restrict
variable {K : Type u} [Field K] {N : ℕ}
def θ (a : Fin (N + 1) → K) : Fin (N + 1) → MvPolynomial (Fin N) K
AlgebraicCurves.Foundations.Polynomial.Proofs.MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le.GreenHRT.θ_castSucc
Source context 9 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
universe u
section ProofImplementation
namespace AlgebraicCurves.Foundations.Polynomial.Proofs
namespace MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le
namespace GreenHRT
open MvPolynomial
section Restrict
variable {K : Type u} [Field K] {N : ℕ}
theorem θ_castSucc (a : Fin (N + 1) → K) (j : Fin N) : θ a (Fin.castSucc j) = X j
AlgebraicCurves.Foundations.Polynomial.Proofs.MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le.GreenHRT.θ_last
Source context 9 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
universe u
section ProofImplementation
namespace AlgebraicCurves.Foundations.Polynomial.Proofs
namespace MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le
namespace GreenHRT
open MvPolynomial
section Restrict
variable {K : Type u} [Field K] {N : ℕ}
theorem θ_last (a : Fin (N + 1) → K) : θ a (Fin.last N) = lin (bvec a)
AlgebraicCurves.Foundations.Polynomial.Proofs.MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le.GreenHRT.θ_isHomogeneous
Source context 9 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
universe u
section ProofImplementation
namespace AlgebraicCurves.Foundations.Polynomial.Proofs
namespace MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le
namespace GreenHRT
open MvPolynomial
section Restrict
variable {K : Type u} [Field K] {N : ℕ}
theorem θ_isHomogeneous (a : Fin (N + 1) → K) (i : Fin (N + 1)) : (θ a i).IsHomogeneous 1
AlgebraicCurves.Foundations.Polynomial.Proofs.MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le.GreenHRT.φ

The algebra homomorphism defined by the substitution eliminating the last variable.

Source context 9 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
universe u
section ProofImplementation
namespace AlgebraicCurves.Foundations.Polynomial.Proofs
namespace MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le
namespace GreenHRT
open MvPolynomial
section Restrict
variable {K : Type u} [Field K] {N : ℕ}
def φ (a : Fin (N + 1) → K) : MvPolynomial (Fin (N + 1)) K →ₐ[K] MvPolynomial (Fin N)
  K
AlgebraicCurves.Foundations.Polynomial.Proofs.MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le.GreenHRT.φ_mem
Source context 9 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
universe u
section ProofImplementation
namespace AlgebraicCurves.Foundations.Polynomial.Proofs
namespace MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le
namespace GreenHRT
open MvPolynomial
section Restrict
variable {K : Type u} [Field K] {N : ℕ}
theorem φ_mem {a : Fin (N + 1) → K} {m : ℕ} {p : MvPolynomial (Fin (N + 1)) K} (hp : p ∈ HS K (N +
  1) m) :
    φ a p ∈ HS K N m
AlgebraicCurves.Foundations.Polynomial.Proofs.MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le.GreenHRT.map_φ_le
Source context 9 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
universe u
section ProofImplementation
namespace AlgebraicCurves.Foundations.Polynomial.Proofs
namespace MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le
namespace GreenHRT
open MvPolynomial
section Restrict
variable {K : Type u} [Field K] {N : ℕ}
theorem map_φ_le (a : Fin (N + 1) → K) (m : ℕ) : (HS K (N + 1) m).map (φ a).toLinearMap ≤ HS K N m
AlgebraicCurves.Foundations.Polynomial.Proofs.MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le.GreenHRT.φ_rename
Source context 9 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
universe u
section ProofImplementation
namespace AlgebraicCurves.Foundations.Polynomial.Proofs
namespace MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le
namespace GreenHRT
open MvPolynomial
section Restrict
variable {K : Type u} [Field K] {N : ℕ}
theorem φ_rename (a : Fin (N + 1) → K) (q : MvPolynomial (Fin N) K) : φ a (rename Fin.castSucc q) =
  q
AlgebraicCurves.Foundations.Polynomial.Proofs.MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le.GreenHRT.map_φ_eq
Source context 9 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
universe u
section ProofImplementation
namespace AlgebraicCurves.Foundations.Polynomial.Proofs
namespace MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le
namespace GreenHRT
open MvPolynomial
section Restrict
variable {K : Type u} [Field K] {N : ℕ}
theorem map_φ_eq (a : Fin (N + 1) → K) (m : ℕ) : (HS K (N + 1) m).map (φ a).toLinearMap = HS K N m
AlgebraicCurves.Foundations.Polynomial.Proofs.MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le.GreenHRT.φ_X_castSucc
Source context 9 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
universe u
section ProofImplementation
namespace AlgebraicCurves.Foundations.Polynomial.Proofs
namespace MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le
namespace GreenHRT
open MvPolynomial
section Restrict
variable {K : Type u} [Field K] {N : ℕ}
theorem φ_X_castSucc (a : Fin (N + 1) → K) (j : Fin N) : φ a (X (Fin.castSucc j)) = X j
AlgebraicCurves.Foundations.Polynomial.Proofs.MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le.GreenHRT.φ_X_last
Source context 9 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
universe u
section ProofImplementation
namespace AlgebraicCurves.Foundations.Polynomial.Proofs
namespace MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le
namespace GreenHRT
open MvPolynomial
section Restrict
variable {K : Type u} [Field K] {N : ℕ}
theorem φ_X_last (a : Fin (N + 1) → K) : φ a (X (Fin.last N)) = lin (bvec a)
AlgebraicCurves.Foundations.Polynomial.Proofs.MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le.GreenHRT.algHom_lin
Source context 9 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
universe u
section ProofImplementation
namespace AlgebraicCurves.Foundations.Polynomial.Proofs
namespace MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le
namespace GreenHRT
open MvPolynomial
section Restrict
variable {K : Type u} [Field K] {N : ℕ}
theorem algHom_lin {M M' : ℕ} (f : MvPolynomial (Fin M) K →ₐ[K] MvPolynomial (Fin M') K) (a : Fin M
  → K) :
    f (lin a) = ∑ i, C (a i) * f (X i)
AlgebraicCurves.Foundations.Polynomial.Proofs.MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le.GreenHRT.Lmap

The coefficients of a linear form after substituting for its last variable.

Source context 9 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
universe u
section ProofImplementation
namespace AlgebraicCurves.Foundations.Polynomial.Proofs
namespace MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le
namespace GreenHRT
open MvPolynomial
section Restrict
variable {K : Type u} [Field K] {N : ℕ}
def Lmap (a a' : Fin (N + 1) → K) : Fin N → K
AlgebraicCurves.Foundations.Polynomial.Proofs.MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le.GreenHRT.φ_lin
Source context 9 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
universe u
section ProofImplementation
namespace AlgebraicCurves.Foundations.Polynomial.Proofs
namespace MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le
namespace GreenHRT
open MvPolynomial
section Restrict
variable {K : Type u} [Field K] {N : ℕ}
theorem φ_lin (a a' : Fin (N + 1) → K) : φ a (lin a') = lin (Lmap a a')
AlgebraicCurves.Foundations.Polynomial.Proofs.MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le.GreenHRT.Lmap_self
Source context 9 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
universe u
section ProofImplementation
namespace AlgebraicCurves.Foundations.Polynomial.Proofs
namespace MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le
namespace GreenHRT
open MvPolynomial
section Restrict
variable {K : Type u} [Field K] {N : ℕ}
theorem Lmap_self (a : Fin (N + 1) → K) (ha : a (Fin.last N) ≠ 0) : Lmap a a = 0
AlgebraicCurves.Foundations.Polynomial.Proofs.MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le.GreenHRT.φ_lin_self
Source context 9 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
universe u
section ProofImplementation
namespace AlgebraicCurves.Foundations.Polynomial.Proofs
namespace MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le
namespace GreenHRT
open MvPolynomial
section Restrict
variable {K : Type u} [Field K] {N : ℕ}
theorem φ_lin_self (a : Fin (N + 1) → K) (ha : a (Fin.last N) ≠ 0) : φ a (lin a) = 0
AlgebraicCurves.Foundations.Polynomial.Proofs.MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le.GreenHRT.Lmap_snoc
Source context 9 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
universe u
section ProofImplementation
namespace AlgebraicCurves.Foundations.Polynomial.Proofs
namespace MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le
namespace GreenHRT
open MvPolynomial
section Restrict
variable {K : Type u} [Field K] {N : ℕ}
theorem Lmap_snoc (a : Fin (N + 1) → K) (b : Fin N → K) : Lmap a (Fin.snoc b 0) = b
AlgebraicCurves.Foundations.Polynomial.Proofs.MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le.GreenHRT.pull

The polynomial obtained by adding the prescribed multiples of the last variable.

Source context 9 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
universe u
section ProofImplementation
namespace AlgebraicCurves.Foundations.Polynomial.Proofs
namespace MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le
namespace GreenHRT
open MvPolynomial
section Restrict
variable {K : Type u} [Field K] {N : ℕ}
def pull (a : Fin (N + 1) → K) (G : MvPolynomial (Fin N) K) : MvPolynomial (Fin (N +
  1)) K
AlgebraicCurves.Foundations.Polynomial.Proofs.MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le.GreenHRT.eval_pull
Source context 9 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
universe u
section ProofImplementation
namespace AlgebraicCurves.Foundations.Polynomial.Proofs
namespace MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le
namespace GreenHRT
open MvPolynomial
section Restrict
variable {K : Type u} [Field K] {N : ℕ}
theorem eval_pull (a a' : Fin (N + 1) → K) (G : MvPolynomial (Fin N) K) :
    eval a' (pull a G) = eval (Lmap a a') G
AlgebraicCurves.Foundations.Polynomial.Proofs.MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le.GreenHRT.pull_ne_zero
Source context 9 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
universe u
section ProofImplementation
namespace AlgebraicCurves.Foundations.Polynomial.Proofs
namespace MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le
namespace GreenHRT
open MvPolynomial
section Restrict
variable {K : Type u} [Field K] {N : ℕ}
theorem pull_ne_zero [Infinite K] (a : Fin (N + 1) → K) {G : MvPolynomial (Fin N) K} (hG : G ≠ 0) :
    pull a G ≠ 0
AlgebraicCurves.Foundations.Polynomial.Proofs.MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le.GreenHRT.mem_mulSub_X_of_φ_eq_zero
Source context 9 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
universe u
section ProofImplementation
namespace AlgebraicCurves.Foundations.Polynomial.Proofs
namespace MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le
namespace GreenHRT
open MvPolynomial
section Restrict
variable {K : Type u} [Field K] {N : ℕ}
theorem mem_mulSub_X_of_φ_eq_zero (a : Fin (N + 1) → K) (haX : φ a (X (Fin.last N)) = 0) {m : ℕ}
    {p : MvPolynomial (Fin (N + 1)) K} (hp : p ∈ HS K (N + 1) (m + 1)) (h0 : φ a p = 0) :
    p ∈ mulSub (X (Fin.last N) : MvPolynomial (Fin (N + 1)) K) m
AlgebraicCurves.Foundations.Polynomial.Proofs.MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le.GreenHRT.gA

The substitution homomorphism restricted to the specified homogeneous piece.

Source context 11 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
universe u
section ProofImplementation
namespace AlgebraicCurves.Foundations.Polynomial.Proofs
namespace MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le
namespace GreenHRT
open MvPolynomial
section Restrict
variable {K : Type u} [Field K] {N : ℕ}
section Kernel
variable (a : Fin (N + 1) → K)
def gA (m : ℕ) : ↥(HS K (N + 1) (m + 1)) →ₗ[K] MvPolynomial (Fin N) K
AlgebraicCurves.Foundations.Polynomial.Proofs.MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le.GreenHRT.finrank_ker_gA
Source context 11 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
universe u
section ProofImplementation
namespace AlgebraicCurves.Foundations.Polynomial.Proofs
namespace MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le
namespace GreenHRT
open MvPolynomial
section Restrict
variable {K : Type u} [Field K] {N : ℕ}
section Kernel
variable (a : Fin (N + 1) → K)
theorem finrank_ker_gA (m : ℕ) :
    Module.finrank K ↥(HS K N (m + 1)) + Module.finrank K ↥(LinearMap.ker (gA a m)) =
      Module.finrank K ↥(HS K (N + 1) (m + 1))
AlgebraicCurves.Foundations.Polynomial.Proofs.MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le.GreenHRT.BA

The submodule of the homogeneous piece consisting of multiples of the chosen linear form.

Source context 11 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
universe u
section ProofImplementation
namespace AlgebraicCurves.Foundations.Polynomial.Proofs
namespace MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le
namespace GreenHRT
open MvPolynomial
section Restrict
variable {K : Type u} [Field K] {N : ℕ}
section Kernel
variable (a : Fin (N + 1) → K)
def BA (m : ℕ) : Submodule K ↥(HS K (N + 1) (m + 1))
AlgebraicCurves.Foundations.Polynomial.Proofs.MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le.GreenHRT.BA_le_ker
Source context 12 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
universe u
section ProofImplementation
namespace AlgebraicCurves.Foundations.Polynomial.Proofs
namespace MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le
namespace GreenHRT
open MvPolynomial
section Restrict
variable {K : Type u} [Field K] {N : ℕ}
section Kernel
variable (a : Fin (N + 1) → K)
variable {a}
theorem BA_le_ker (ha : a (Fin.last N) ≠ 0) (m : ℕ) : BA a m ≤ LinearMap.ker (gA a m)
AlgebraicCurves.Foundations.Polynomial.Proofs.MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le.GreenHRT.finrank_BA
Source context 12 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
universe u
section ProofImplementation
namespace AlgebraicCurves.Foundations.Polynomial.Proofs
namespace MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le
namespace GreenHRT
open MvPolynomial
section Restrict
variable {K : Type u} [Field K] {N : ℕ}
section Kernel
variable (a : Fin (N + 1) → K)
variable {a}
theorem finrank_BA (ha : a (Fin.last N) ≠ 0) (m : ℕ) :
    Module.finrank K ↥(BA a m) = Module.finrank K ↥(HS K (N + 1) m)
AlgebraicCurves.Foundations.Polynomial.Proofs.MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le.GreenHRT.finrank_HS_succ
Source context 9 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
universe u
section ProofImplementation
namespace AlgebraicCurves.Foundations.Polynomial.Proofs
namespace MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le
namespace GreenHRT
open MvPolynomial
section Restrict
variable {K : Type u} [Field K] {N : ℕ}
theorem finrank_HS_succ (m : ℕ) :
    Module.finrank K ↥(HS K (N + 1) (m + 1)) =
      Module.finrank K ↥(HS K N (m + 1)) + Module.finrank K ↥(HS K (N + 1) m)
AlgebraicCurves.Foundations.Polynomial.Proofs.MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le.GreenHRT.φ_eq_zero_iff
Source context 9 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
universe u
section ProofImplementation
namespace AlgebraicCurves.Foundations.Polynomial.Proofs
namespace MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le
namespace GreenHRT
open MvPolynomial
section Restrict
variable {K : Type u} [Field K] {N : ℕ}
theorem φ_eq_zero_iff {a : Fin (N + 1) → K} (ha : a (Fin.last N) ≠ 0) {m : ℕ}
    {p : MvPolynomial (Fin (N + 1)) K} (hp : p ∈ HS K (N + 1) (m + 1)) :
    φ a p = 0 ↔ p ∈ mulSub (lin a) m
AlgebraicCurves.Foundations.Polynomial.Proofs.MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le.GreenHRT.codim_map_φ
Source context 9 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
universe u
section ProofImplementation
namespace AlgebraicCurves.Foundations.Polynomial.Proofs
namespace MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le
namespace GreenHRT
open MvPolynomial
section Restrict
variable {K : Type u} [Field K] {N : ℕ}
theorem codim_map_φ (a : Fin (N + 1) → K) (ha : a (Fin.last N) ≠ 0) {m : ℕ}
    {U : Submodule K (MvPolynomial (Fin (N + 1)) K)} (h1 : mulSub (lin a) m ≤ U) (h2 : U ≤ HS K (N
      + 1) (m + 1)) :
    codim K N (m + 1) (U.map (φ a).toLinearMap) = codim K (N + 1) (m + 1) U
AlgebraicCurves.Foundations.Polynomial.Proofs.MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le.GreenHRT.map_mulSub
Source context 9 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
universe u
section ProofImplementation
namespace AlgebraicCurves.Foundations.Polynomial.Proofs
namespace MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le
namespace GreenHRT
open MvPolynomial
section Restrict
variable {K : Type u} [Field K] {N : ℕ}
theorem map_mulSub (a : Fin (N + 1) → K) (ℓ : MvPolynomial (Fin (N + 1)) K) (m : ℕ) :
    (mulSub ℓ m).map (φ a).toLinearMap = mulSub (φ a ℓ) m
AlgebraicCurves.Foundations.Polynomial.Proofs.MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le.GreenHRT.map_colon_le
Source context 9 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
universe u
section ProofImplementation
namespace AlgebraicCurves.Foundations.Polynomial.Proofs
namespace MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le
namespace GreenHRT
open MvPolynomial
section Restrict
variable {K : Type u} [Field K] {N : ℕ}
theorem map_colon_le (a : Fin (N + 1) → K) {m : ℕ} (V : Submodule K (MvPolynomial (Fin (N + 1)) K))
    (ℓ : MvPolynomial (Fin (N + 1)) K) :
    (HS K (N + 1) m ⊓ V.comap (LinearMap.mulLeft K ℓ)).map (φ a).toLinearMap ≤
      HS K N m ⊓ (V.map (φ a).toLinearMap).comap (LinearMap.mulLeft K (φ a ℓ))
AlgebraicCurves.Foundations.Polynomial.Proofs.MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le.GreenHRT.HS_zero_vars
Source context 9 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
universe u
section ProofImplementation
namespace AlgebraicCurves.Foundations.Polynomial.Proofs
namespace MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le
namespace GreenHRT
open MvPolynomial
section Main
variable {K : Type u} [Field K]
theorem HS_zero_vars (m : ℕ) : HS K 0 (m + 1) = ⊥
AlgebraicCurves.Foundations.Polynomial.Proofs.MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le.GreenHRT.main
Source context 10 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
universe u
section ProofImplementation
namespace AlgebraicCurves.Foundations.Polynomial.Proofs
namespace MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le
namespace GreenHRT
open MvPolynomial
section Main
variable {K : Type u} [Field K]
variable [Infinite K]
theorem main : ∀ (M e : ℕ) (V : Submodule K (MvPolynomial (Fin M) K)), V ≤ HS K M (e + 1) →
    ∃ G : MvPolynomial (Fin M) K, G ≠ 0 ∧ ∀ a : Fin M → K, eval a G ≠ 0 →
      Nat.macaulayPow (e + 1) (codim K M (e + 1) (V ⊔ mulSub (lin a) e)) + codim K M (e + 1) V ≤
        Nat.macaulayPow (e + 1) (codim K M (e + 1) V)
AlgebraicCurves.Foundations.Polynomial.Proofs.MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le.GreenHRT.finrank_piece_eq_codim
Source context 11 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
universe u
section ProofImplementation
namespace AlgebraicCurves.Foundations.Polynomial.Proofs
namespace MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le
namespace GreenHRT
open MvPolynomial
section Ideals
variable {K : Type u} [Field K] {n : ℕ}
attribute [local instance] MvPolynomial.gradedAlgebra
open AlgebraicGeometry.HilbertFunctor
theorem finrank_piece_eq_codim (I : Ideal (MvPolynomial (Fin (n + 1)) K)) (m : ℕ) :
    Module.finrank K (piece I m) = codim K (n + 1) m (HS K (n + 1) m ⊓ I.restrictScalars K)
AlgebraicCurves.Foundations.Polynomial.Proofs.MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le.GreenHRT.decompose_eq
Source context 11 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
universe u
section ProofImplementation
namespace AlgebraicCurves.Foundations.Polynomial.Proofs
namespace MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le
namespace GreenHRT
open MvPolynomial
section Ideals
variable {K : Type u} [Field K] {n : ℕ}
attribute [local instance] MvPolynomial.gradedAlgebra
open AlgebraicGeometry.HilbertFunctor
theorem decompose_eq (q : MvPolynomial (Fin (n + 1)) K) (d : ℕ) :
    (DirectSum.decompose (homogeneousSubmodule (Fin (n + 1)) K) q d : MvPolynomial (Fin (n + 1)) K)
      =
      homogeneousComponent d q
AlgebraicCurves.Foundations.Polynomial.Proofs.MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le.GreenHRT.homogeneousComponent_mul_add
Source context 11 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
universe u
section ProofImplementation
namespace AlgebraicCurves.Foundations.Polynomial.Proofs
namespace MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le
namespace GreenHRT
open MvPolynomial
section Ideals
variable {K : Type u} [Field K] {n : ℕ}
attribute [local instance] MvPolynomial.gradedAlgebra
open AlgebraicGeometry.HilbertFunctor
theorem homogeneousComponent_mul_add {G : MvPolynomial (Fin (n + 1)) K} {m : ℕ} (hG :
  G.IsHomogeneous m)
    (a : MvPolynomial (Fin (n + 1)) K) (d : ℕ) :
    homogeneousComponent (m + d) (a * G) = homogeneousComponent d a * G
AlgebraicCurves.Foundations.Polynomial.Proofs.MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le.GreenHRT.HS_inf_sup_span
Source context 11 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
universe u
section ProofImplementation
namespace AlgebraicCurves.Foundations.Polynomial.Proofs
namespace MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le
namespace GreenHRT
open MvPolynomial
section Ideals
variable {K : Type u} [Field K] {n : ℕ}
attribute [local instance] MvPolynomial.gradedAlgebra
open AlgebraicGeometry.HilbertFunctor
theorem HS_inf_sup_span {J : Ideal (MvPolynomial (Fin (n + 1)) K)}
    (hJ : ∀ p ∈ J, ∀ i : ℕ, homogeneousComponent i p ∈ J) (a : Fin (n + 1) → K) (e : ℕ) :
    HS K (n + 1) (e + 1) ⊓ (J ⊔ Ideal.span {lin a}).restrictScalars K =
      (HS K (n + 1) (e + 1) ⊓ J.restrictScalars K) ⊔ mulSub (lin a) e
MvPolynomial.exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le
Source context 6 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
universe u
section ProofImplementation
namespace AlgebraicCurves.Foundations.Polynomial.Proofs
namespace MvPolynomial_exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le
open MvPolynomial AlgebraicGeometry.HilbertFunctor GreenHRT in
theorem _root_.MvPolynomial.exists_forall_eval_ne_zero_macaulayPow_finrank_piece_sup_add_le (n d :
  ℕ) (hd : 1 ≤ d) (K : Type u) [Field K] [Infinite K]
    (J : Ideal (MvPolynomial (Fin (n + 1)) K)) (hJ : ∀ p ∈ J, ∀ i : ℕ, homogeneousComponent i p ∈
      J) :
    ∃ G : MvPolynomial (Fin (n + 1)) K, G ≠ 0 ∧ ∀ a : Fin (n + 1) → K, MvPolynomial.eval a G ≠ 0 →
      Nat.macaulayPow d (Module.finrank K (piece (J ⊔ Ideal.span {∑ i, C (a i) * X i}) d)) +
          Module.finrank K (piece J d) ≤
        Nat.macaulayPow d (Module.finrank K (piece J d))