A gradient cutoff on a plane curve
DefinitionEsgk_PlaneCurveGradientCutoffalgebraic-geometrygeometry
This defines the gradient-square polynomial , its difference from a level , and the points of where that level is attained.
Definition code
-- Extracted dependency interfaces and their necessary proofs. import Definitions.Def_Esgk_IrreduciblePlaneInfiniteVanishing import Definitions.Def_LeanFormalizations_PachDeZeeuw_AlgebraicPrelim import Mathlib /- Copyright (c) 2026 Adam McKenna. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Adam McKenna -/ noncomputable section namespace Esgk open MvPolynomial open PachDeZeeuw.Algebraic def planeGradientSquare (G : PlanePoly) : PlanePoly := (pderiv (0 : Fin 2) G) ^ 2 + (pderiv (1 : Fin 2) G) ^ 2 def planeGradientCutoff (G : PlanePoly) (ε : ℝ) : PlanePoly := planeGradientSquare G - C ε def planeGradientCutoffZeroSet (G : PlanePoly) (ε : ℝ) : Set Point2 := PlaneCurveZeroSet G ∩ PlaneCurveZeroSet (planeGradientCutoff G ε) end Esgk