Stafford38/Geometry/FiniteGradientBoundaryCertificateOver.lean

This project (Stafford38) · 1029fdb382eee06e7b59bcf32801f40931e2079a

1 module
2 public import Stafford38.Geometry.LaurentConormalResidueExtension
3 public import Stafford38.Geometry.CoisotropicTranslation
4 public import Stafford38.Geometry.RetractionSpecialization
5 
6 @[expose] public section
7 
8 /-!
9 # Shared finite-gradient boundary certificate
10 
11 This is the single record owner for finite-gradient boundary data over a
12 ground field `k` and a boundary residue field `K`.  The base-field producer
13 uses its checked `K = k` specialization; residue-extension consumers retain
14 the full coefficient-extension scope.
15 -/
16 
17 namespace Stafford38.Geometry.FiniteGradientResidueExtension
18 
19 open Stafford38.Geometry.AffineConormalSpan
20 open Stafford38.Geometry.CoisotropicTranslation
21 open Stafford38.Geometry.FormalDivisorLaurentConormal
22 open Stafford38.Geometry.LaurentConormalDirection
23 open Stafford38.Geometry.LaurentConormalResidueExtension
24 open Stafford38.Geometry.ProjectiveConormalDehomogenization
25 open Stafford38.GeometryRetractionSpecialization
26 
27 noncomputable section
28 
29 universe u
30 
31 variable {k K : Type u} [Field k] [Field K] [Algebra k K]
32 
33 /-- A completed projective arc and one finite gradient identity over the
34 natural boundary residue field `K`, for an affine ideal defined over `k`. -/
35 structure FiniteGradientBoundaryCertificateOver
36     (m : ℕ) (hm : 0 < m)
37     (I : Ideal (MvPolynomial (Fin m) k)) where
38   equationCount : ℕ
39   q : Fin (m + 1) → PowerSeries K
40   ell : Fin (m + 1) → PowerSeries K
41   q_origin_ne : q 0 ≠ 0
42   projective_annihilation :
43     ∑ i, laurentColumn ell i * laurentColumn q i = 0
44   base_vanish :
45     ∀ f ∈ I.map (groundPolynomialMap (k := k) (K := K) (Fin m)),
46       MvPolynomial.eval (dehomogenizedPoint (laurentColumn q)) f = 0
47   equations : Fin equationCount →
48     I.map (groundPolynomialMap (k := k) (K := K) (Fin m))
49   coefficients : Fin equationCount → LaurentSeries K
50   gradient_identity : ∀ i : Fin m,
51     laurentColumn ell i.succ =
52       ∑ j, coefficients j *
53         differentialAt (dehomogenizedPoint (laurentColumn q))
54           (equations j).1 i
55   residue_axis :
56     residueColumn (fun i : Fin m ↦ ell i.succ) =
57       (fun i : Fin m ↦ if i = ⟨0, hm⟩ then 1 else 0)
58 
59 end
60 
61 end Stafford38.Geometry.FiniteGradientResidueExtension
62