Stafford38/Geometry/AsymptoticChartArcAdapter.lean

This project (Stafford38) · 1029fdb382eee06e7b59bcf32801f40931e2079a

1 module
2 public import Stafford38.Geometry.ProjectiveBoundaryFrameRank
3 public import Stafford38.Geometry.ArcFrameConormal
4 public import Stafford38.Geometry.JacobianConormalComparison
5 
6 @[expose] public section
7 
8 /-!
9 # The exact completed-chart to arc-frame adapter boundary
10 
11 The completed projective certificate canonically supplies an affine
12 power-series arc after deleting its normalized chart coordinate.  Its
13 dehomogenized first jet is exactly the uniformizer member of
14 `residueFrameVector`.
15 
16 The remaining projective residue columns cannot be interpreted as
17 coefficient-field derivations over the field stored in the certificate: every
18 `k`-derivation of `k` is zero, whereas those columns are independent.  Thus a
19 smaller base field and geometric residue-field derivations are genuinely new
20 data, not consequences of `CompletedProjectiveBoundaryChart`.
21 
22 For the separate closed-tangent obligation, independent Jacobian rows from
23 the actual boundary ideal give the sharp annihilator-dimension formula and
24 therefore the finrank bound consumed by `ArcFrameConormal`.  This regularity
25 criterion concerns the closed point directly; no generic-rank specialization
26 is used.
27 -/
28 
29 namespace Stafford38.Geometry.AsymptoticChartArcAdapter
30 
31 open Stafford38.Geometry.AffineConormalSpan
32 open Stafford38.Geometry.ArcFrameConormal
33 open Stafford38.Geometry.CanonicalAsymptoticLaurentProducer
34 open Stafford38.Geometry.ContinuousPowerSeriesTangentFrame
35 open Stafford38.Geometry.JacobianConormalComparison
36 open Stafford38.Geometry.ProjectiveBoundaryFrameRank
37 open Stafford38.GeometryRetractionSpecialization
38 
39 noncomputable section
40 
41 universe u v
42 
43 variable {k : Type u} [Field k]
44 
45 /-! ## The canonical affine arc and its first jet -/
46 
47 /-- The complement of one coordinate in `Fin (m+1)` has `m` elements. -/
48 def chartAffineCoordinateEquiv {m : ℕ} (chart : Fin (m + 1)) :
49     Fin m ≃ ChartAffineIndex (Fin (m + 1)) chart := by
50   classical
51   apply (Fintype.equivFinOfCardEq (α := ChartAffineIndex (Fin (m + 1)) chart) ?_).symm
52   rw [Fintype.card_subtype_compl]
53   simp
54 
55 /-- Affine power-series coordinates obtained by deleting the normalized
56 projective chart coordinate.  Since that coordinate is exactly one, no
57 power-series division is needed. -/
58 def completedChartAffineArc [CharZero k]
59     {m : ℕ} (hm : 0 < m) (I : Ideal (MvPolynomial (Fin m) k))
60     (W : CompletedProjectiveBoundaryChart k m hm I) :
61     Fin m → PowerSeries k :=
62   fun i ↦ W.q ((chartAffineCoordinateEquiv W.chart i).1)
63 
64 /-- The first coefficient of every projective power-series coordinate. -/
65 abbrev projectiveFirstJet {ι : Type v} (q : ι → PowerSeries k) : ι → k :=
66   powerSeriesFirstCoefficient q
67 
68 /-- The actual uniformizer residue vector of the affine chart arc is exactly
69 the dehomogenized projective first jet. -/
70 theorem completedChart_uniformizerResidueFrame_eq_dehomogenizedFirstJet
71     [CharZero k] {m r : ℕ} (hm : 0 < m)
72     (I : Ideal (MvPolynomial (Fin m) k))
73     (W : CompletedProjectiveBoundaryChart k m hm I)
74     (D : Fin r → Derivation k k k) (i : Fin m) :
75     residueFrameVector (completedChartAffineArc hm I W) D none i =
76       chartDehomogenizedTangentColumn W.chart
77         (residueColumn W.q) (projectiveFirstJet W.q)
78         (chartAffineCoordinateEquiv W.chart i) := by
79   simp [completedChartAffineArc, chartDehomogenizedTangentColumn,
80     projectiveFirstJet, residueColumn, W.q_chart]
81   simpa [powerSeriesFirstCoefficient] using
82     congrFun (powerSeriesFirstCoefficient_eq_constantCoeff_derivative W.q)
83       ((chartAffineCoordinateEquiv W.chart i).1)
84 
85 /-! ## Why the remaining columns are not a self-relative arc frame -/
86 
87 /-- Every derivation of a field relative to itself is zero. -/
88 theorem selfDerivation_apply_eq_zero (D : Derivation k k k) (a : k) :
89     D a = 0 := by
90   simpa using D.map_algebraMap a
91 
92 /-- Consequently every coefficient member of a `k/k` residue frame is the
93 zero tangent vector. -/
94 theorem residueFrameVector_coefficient_self_eq_zero
95     {m : ℕ} (q : Fin m → PowerSeries k)
96     {κ : Type v} (D : κ → Derivation k k k) (j : κ) :
97     residueFrameVector q D (some j) = 0 := by
98   funext i
99   rw [residueFrameVector_coefficient]
100   exact selfDerivation_apply_eq_zero (D j) _
101 
102 /-- If the completed chart has at least one divisor-tangent column, its
103 independent projective residue frame cannot equal a coefficient-derivation
104 frame over `k/k`, even after the canonical affine-coordinate reindexing. -/
105 theorem completedChart_no_selfRelative_fullResidueFrameIdentification
106     [CharZero k] {m : ℕ} (hm : 0 < m)
107     (I : Ideal (MvPolynomial (Fin m) k))
108     (W : CompletedProjectiveBoundaryChart k m hm I)
109     (hpositive : 0 < W.tangentCount) :
110     ¬ ∃ (q : Fin m → PowerSeries k)
111         (D : Fin W.tangentCount → Derivation k k k),
112       ∀ (j : Fin W.tangentCount) (i : Fin m),
113         residueFrameVector q D (some j) i =
114           chartDehomogenizedTangentColumn W.chart
115             (residueColumn W.q)
116             (fun a ↦ PowerSeries.constantCoeff
117               (nonpositionPowerSeriesMatrix W.Z W.tau a (Sum.inl j)))
118             (chartAffineCoordinateEquiv W.chart i) := by
119   rintro ⟨q, D, hidentify⟩
120   let j : Fin W.tangentCount := ⟨0, hpositive⟩
121   have hprojective :=
122     (completedBoundaryChart_residueFrame_linearIndependent hm I W).ne_zero
123       (Sum.inl j)
124   apply hprojective
125   funext a
126   let i : Fin m := (chartAffineCoordinateEquiv W.chart).symm a
127   have hz := congrFun (residueFrameVector_coefficient_self_eq_zero q D j) i
128   have hid := hidentify j i
129   have hres : residueColumn W.q = fun i ↦ PowerSeries.constantCoeff (W.q i) := rfl
130   simpa [i, hres, Equiv.apply_symm_apply] using hid.symm.trans hz
131 
132 /-! ## Closed-boundary Jacobian regularity -/
133 
134 /-- Independent Jacobian rows have the expected common-kernel dimension. -/
135 theorem finrank_jacobianTangentSpace_eq_sub_of_linearIndependent
136     {n : ℕ} {ι : Type v} [Fintype ι]
137     (y : Fin n → k) (equations : ι → MvPolynomial (Fin n) k)
138     (hindependent :
139       LinearIndependent k (fun i ↦ differentialCovector y (equations i))) :
140     Module.finrank k (jacobianTangentSpace y equations) =
141       n - Fintype.card ι := by
142   have hspan : Module.finrank k (jacobianCovectorSpan y equations) =
143       Fintype.card ι := by
144     exact finrank_span_eq_card hindependent
145   have hdimension :=
146     Subspace.finrank_add_finrank_dualCoannihilator_eq
147       (jacobianCovectorSpan y equations)
148   rw [hspan, Module.finrank_pi, Fintype.card_fin] at hdimension
149   rw [jacobianTangentSpace]
150   omega
151 
152 /-- Independent differentials of equations belonging to `I` give a sharp
153 upper bound on the equation-defined closed tangent space. -/
154 theorem zariskiTangent_finrank_le_sub_of_independentEquations
155     {n : ℕ} {ι : Type v} [Fintype ι]
156     (y : Fin n → k) (I : Ideal (MvPolynomial (Fin n) k))
157     (equations : ι → MvPolynomial (Fin n) k)
158     (hequations : ∀ i, equations i ∈ I)
159     (hindependent :
160       LinearIndependent k (fun i ↦ differentialCovector y (equations i))) :
161     Module.finrank k (zariskiTangentSpace y I) ≤
162       n - Fintype.card ι := by
163   have hcovectors :
164       jacobianCovectorSpan y equations ≤ equationCovectorSpan y I :=
165     jacobianCovectorSpan_le_equationCovectorSpan y I equations hequations
166   have htangent : zariskiTangentSpace y I ≤
167       jacobianTangentSpace y equations := by
168     exact Submodule.dualCoannihilator_anti hcovectors
169   calc
170     Module.finrank k (zariskiTangentSpace y I) ≤
171         Module.finrank k (jacobianTangentSpace y equations) :=
172       Submodule.finrank_mono htangent
173     _ = n - Fintype.card ι :=
174       finrank_jacobianTangentSpace_eq_sub_of_linearIndependent
175         y equations hindependent
176 
177 /-- Cardinal form matching the `ArcFrameConormal` consumer: enough
178 independent closed-point Jacobian equations discharge its finrank input. -/
179 theorem zariskiTangent_finrank_le_frameCard_of_independentEquations
180     {n frameCount : ℕ} {ι : Type v} [Fintype ι]
181     (y : Fin n → k) (I : Ideal (MvPolynomial (Fin n) k))
182     (equations : ι → MvPolynomial (Fin n) k)
183     (hequations : ∀ i, equations i ∈ I)
184     (hindependent :
185       LinearIndependent k (fun i ↦ differentialCovector y (equations i)))
186     (hcodimension : n ≤ Fintype.card ι + frameCount) :
187     Module.finrank k (zariskiTangentSpace y I) ≤ frameCount := by
188   have hbound := zariskiTangent_finrank_le_sub_of_independentEquations
189     y I equations hequations hindependent
190   omega
191 
192 /-- An annihilating arc with an independent residue frame spans the closed
193 tangent space once enough independent boundary Jacobian equations are
194 exhibited.  The finrank premise of `ArcFrameConormal` is now a conclusion. -/
195 theorem tangent_le_span_residueFrame_of_independentBoundaryEquations
196     {K : Type u} [Field K] [Algebra k K]
197     {m : ℕ} {κ : Type v} [Fintype κ]
198     {ι : Type v} [Fintype ι]
199     (I : Ideal (MvPolynomial (Fin m) k))
200     (q : Fin m → PowerSeries K)
201     (D : κ → Derivation k K K)
202     (equations : ι → MvPolynomial (Fin m) K)
203     (hequations : ∀ i,
204       equations i ∈ I.map (MvPolynomial.map (algebraMap k K)))
205     (hjacobian : LinearIndependent K (fun i ↦
206       differentialCovector
207         (fun a ↦ PowerSeries.constantCoeff (q a)) (equations i)))
208     (hcodimension :
209       m ≤ Fintype.card ι + Fintype.card (FrameIndex κ))
210     (hq : ∀ f ∈ I,
211       MvPolynomial.eval₂ (algebraMap k (PowerSeries K)) q f = 0)
212     (hframe : LinearIndependent K (residueFrameVector q D)) :
213     zariskiTangentSpace
214         (fun i ↦ PowerSeries.constantCoeff (q i))
215         (I.map (MvPolynomial.map (algebraMap k K))) ≤
216       Submodule.span K (Set.range (residueFrameVector q D)) := by
217   apply tangent_le_span_residueFrame_of_annihilatingArc I q D hq hframe
218   exact zariskiTangent_finrank_le_frameCard_of_independentEquations
219     _ _ equations hequations hjacobian hcodimension
220 
221 #print axioms completedChart_uniformizerResidueFrame_eq_dehomogenizedFirstJet
222 #print axioms completedChart_no_selfRelative_fullResidueFrameIdentification
223 #print axioms finrank_jacobianTangentSpace_eq_sub_of_linearIndependent
224 #print axioms zariskiTangent_finrank_le_sub_of_independentEquations
225 #print axioms tangent_le_span_residueFrame_of_independentBoundaryEquations
226 
227 end
228 
229 end Stafford38.Geometry.AsymptoticChartArcAdapter
230