Stafford38/Geometry/LaurentConormalDirection.lean

This project (Stafford38) · 1029fdb382eee06e7b59bcf32801f40931e2079a

1 module
2 public import Mathlib.RingTheory.LaurentSeries
3 public import Stafford38.Geometry.RetractionSpecialization
4 public import Stafford38.Geometry.ScalarExtensionPoints
5 
6 @[expose] public section
7 
8 /-!
9 # Laurent specialization of projected conormal directions
10 
11 A Laurent-valued phase point need not specialize to a finite phase point: its
12 base coordinates may have poles.  Its fibre coordinates can nevertheless be
13 regular power series.  This file records exactly the consequence that survives:
14 the residue of those fibre coordinates belongs to the ground-coefficient
15 vanishing hull of the projected fibre image.
16 
17 The construction is then specialized to the scalar-extended
18 `equationConormalLocus`.  The final theorem is the corresponding direct
19 polynomial obstruction for a ground-field symbol using only fibre variables.
20 
21 No full phase-space closure, compatibility of closure with base change,
22 normalization chart, asymptotic-conormal producer, or Gabber theorem is proved
23 here.
24 -/
25 
26 namespace Stafford38.Geometry.LaurentConormalDirection
27 
28 open Stafford38.Characteristic
29 open Stafford38.Geometry.AffineConormalClosure
30 open Stafford38.Geometry.ScalarExtensionPoints
31 open Stafford38.GeometryRetractionSpecialization
32 
33 noncomputable section
34 
35 variable {k K : Type*} [Field k] [Field K] [Algebra k K]
36 variable {n : ℕ}
37 
38 /-- Forget the base coordinate of a set of phase points. -/
39 def fibreImage (S : Set (PhaseVar n → K)) : Set (Fin n → K) :=
40   (fun q i ↦ q (Sum.inr i)) '' S
41 
42 /-- The ground-field affine vanishing hull of the fibre directions of a set
43 of extension-valued phase points.  Both projection and extension-valued
44 vanishing are explicit; this is not a full phase-space closure. -/
45 def extensionFibreClosure (S : Set (PhaseVar n → K)) : Set (Fin n → k) :=
46   MvPolynomial.zeroLocus k
47     (extensionValuedVanishingIdeal (k := k) (K := K) (fibreImage S))
48 
49 /-- Evaluating a ground-field polynomial on power-series coordinates and then
50 embedding in Laurent series is the same as evaluating directly on the
51 embedded Laurent coordinates. -/
52 theorem algebraMap_eval_powerSeries_eq_eval₂_laurent
53     (P : MvPolynomial (Fin n) k) (xi : Fin n → PowerSeries k) :
54     algebraMap (PowerSeries k) (LaurentSeries k)
55         (MvPolynomial.eval xi (MvPolynomial.map (PowerSeries.C) P)) =
56       MvPolynomial.eval₂ (algebraMap k (LaurentSeries k))
57         (fun i ↦ algebraMap (PowerSeries k) (LaurentSeries k) (xi i)) P := by
58   have hcoeff :
59       (algebraMap (PowerSeries k) (LaurentSeries k)).comp
60           (PowerSeries.C) =
61         algebraMap k (LaurentSeries k) := by
62     ext r
63     simp [LaurentSeries.algebraMap_apply]
64   rw [MvPolynomial.eval_map, MvPolynomial.eval₂_comp_left, hcoeff]
65   rfl
66 
67 /-- A Laurent-valued phase point whose fibre coordinates are regular power
68 series specializes, after forgetting its possibly singular base coordinate,
69 to the ground-field extension-valued vanishing hull of the projected fibre
70 image. -/
71 theorem residue_mem_extensionFibreClosure_of_laurent_generic
72     (S : Set (PhaseVar n → LaurentSeries k))
73     (y : Fin n → LaurentSeries k)
74     (xi : Fin n → PowerSeries k)
75     (hgeneric :
76       Sum.elim y
77           (fun i ↦ algebraMap (PowerSeries k) (LaurentSeries k) (xi i)) ∈ S) :
78     residueColumn xi ∈
79       extensionFibreClosure (k := k) (K := LaurentSeries k) S := by
80   rw [extensionFibreClosure, MvPolynomial.mem_zeroLocus_iff]
81   intro P hP
82   have hzeroLaurent :
83       MvPolynomial.eval₂ (algebraMap k (LaurentSeries k))
84           (fun i ↦ algebraMap (PowerSeries k) (LaurentSeries k) (xi i)) P = 0 := by
85     apply (mem_extensionValuedVanishingIdeal_iff
86       (k := k) (K := LaurentSeries k) (fibreImage S) P).mp hP
87     exact ⟨Sum.elim y
88       (fun i ↦ algebraMap (PowerSeries k) (LaurentSeries k) (xi i)),
89       hgeneric, rfl⟩
90   have hzeroPowerSeries :
91       MvPolynomial.eval xi (MvPolynomial.map (PowerSeries.C) P) = 0 := by
92     apply HahnSeries.ofPowerSeries_injective (Γ := ℤ)
93     change algebraMap (PowerSeries k) (LaurentSeries k)
94         (MvPolynomial.eval xi (MvPolynomial.map (PowerSeries.C) P)) =
95       algebraMap (PowerSeries k) (LaurentSeries k) 0
96     rw [map_zero, algebraMap_eval_powerSeries_eq_eval₂_laurent]
97     exact hzeroLaurent
98   exact residue_eval_eq_zero_of_eval_map_eq_zero P xi hzeroPowerSeries
99 
100 /-- The projected Laurent-direction hull of the scalar-extended
101 equation-defined conormal locus. -/
102 def laurentEquationConormalDirectionClosure
103     (I : Ideal (MvPolynomial (Fin n) k)) : Set (Fin n → k) :=
104   extensionFibreClosure (k := k) (K := LaurentSeries k)
105     (equationConormalLocus
106       (I.map
107         (scalarPolynomialMap
108           (k := k) (K := LaurentSeries k) (Fin n))))
109 
110 /-- Projected-direction specialization for a Laurent-valued point of the
111 scalar-extended equation conormal locus. -/
112 theorem residue_mem_laurentEquationConormalDirectionClosure
113     (I : Ideal (MvPolynomial (Fin n) k))
114     (y : Fin n → LaurentSeries k)
115     (xi : Fin n → PowerSeries k)
116     (hgeneric :
117       Sum.elim y
118           (fun i ↦ algebraMap (PowerSeries k) (LaurentSeries k) (xi i)) ∈
119         equationConormalLocus
120           (I.map
121             (scalarPolynomialMap
122               (k := k) (K := LaurentSeries k) (Fin n)))) :
123     residueColumn xi ∈ laurentEquationConormalDirectionClosure I := by
124   exact residue_mem_extensionFibreClosure_of_laurent_generic
125     (S := equationConormalLocus
126       (I.map
127         (scalarPolynomialMap
128           (k := k) (K := LaurentSeries k) (Fin n))))
129     y xi hgeneric
130 
131 /-- Embed a ground-field polynomial in fibre variables as a fibre-only phase
132 symbol. -/
133 def fibreLift (P : MvPolynomial (Fin n) k) : SymbolRing k n :=
134   MvPolynomial.rename Sum.inr P
135 
136 /-- Evaluation of a fibre-only phase symbol ignores the base coordinate. -/
137 theorem eval₂_fibreLift
138     (P : MvPolynomial (Fin n) k)
139     (y xi : Fin n → K) :
140     MvPolynomial.eval₂ (algebraMap k K) (Sum.elim y xi) (fibreLift P) =
141       MvPolynomial.eval₂ (algebraMap k K) xi P := by
142   rw [fibreLift, MvPolynomial.eval₂_rename]
143   rfl
144 
145 /-- Direct projected-direction contradiction.  A fibre-only ground-field
146 symbol cannot both evaluate to one on the residue axis and vanish on a
147 Laurent generic conormal direction whose fibre coordinates have that residue.
148 
149 The conormal hypothesis is used only to place the generic fibre in the
150 projected set; no specialization of its base coordinate is asserted. -/
151 theorem false_of_fibreOnly_symbol_one_on_residue_and_vanishes_on_laurentConormal
152     (I : Ideal (MvPolynomial (Fin n) k))
153     (P : MvPolynomial (Fin n) k)
154     (axis : Fin n → k)
155     (y : Fin n → LaurentSeries k)
156     (xi : Fin n → PowerSeries k)
157     (hgeneric :
158       Sum.elim y
159           (fun i ↦ algebraMap (PowerSeries k) (LaurentSeries k) (xi i)) ∈
160         equationConormalLocus
161           (I.map
162             (scalarPolynomialMap
163               (k := k) (K := LaurentSeries k) (Fin n))))
164     (hresidue : residueColumn xi = axis)
165     (hvanishes :
166       ∀ q ∈ equationConormalLocus
167           (I.map
168             (scalarPolynomialMap
169               (k := k) (K := LaurentSeries k) (Fin n))),
170         MvPolynomial.eval₂ (algebraMap k (LaurentSeries k)) q
171           (fibreLift P) = 0)
172     (haxis : MvPolynomial.eval axis P = 1) : False := by
173   let S : Set (PhaseVar n → LaurentSeries k) :=
174     equationConormalLocus
175       (I.map
176         (scalarPolynomialMap
177           (k := k) (K := LaurentSeries k) (Fin n)))
178   have hP :
179       P ∈ extensionValuedVanishingIdeal
180         (k := k) (K := LaurentSeries k) (fibreImage S) := by
181     rw [mem_extensionValuedVanishingIdeal_iff]
182     intro v hv
183     rcases hv with ⟨q, hq, rfl⟩
184     rw [← eval₂_fibreLift P (fun i ↦ q (Sum.inl i))]
185     have hsplit :
186         Sum.elim (fun i ↦ q (Sum.inl i)) (fun i ↦ q (Sum.inr i)) = q := by
187       funext i
188       rcases i with i | i <;> rfl
189     rw [hsplit]
190     exact hvanishes q hq
191   have hresidueInHull :
192       residueColumn xi ∈
193         extensionFibreClosure (k := k) (K := LaurentSeries k) S :=
194     residue_mem_extensionFibreClosure_of_laurent_generic
195       (S := S) y xi hgeneric
196   rw [extensionFibreClosure, MvPolynomial.mem_zeroLocus_iff] at hresidueInHull
197   have hzeroResidue := hresidueInHull P hP
198   rw [hresidue, MvPolynomial.aeval_eq_eval, haxis] at hzeroResidue
199   exact one_ne_zero hzeroResidue
200 
201 /-! The declarations below make the scope boundary executable: projection
202 forgets arbitrary base coordinates, whereas membership in a full phase set
203 still retains them.  In particular no converse reconstructing a finite phase
204 specialization is available from `fibreImage`. -/
205 
206 theorem fibre_mem_fibreImage_of_phase_mem
207     (S : Set (PhaseVar n → K)) (q : PhaseVar n → K) (hq : q ∈ S) :
208     (fun i ↦ q (Sum.inr i)) ∈ fibreImage S :=
209   ⟨q, hq, rfl⟩
210 
211 #print axioms fibreImage
212 #print axioms extensionFibreClosure
213 #print axioms algebraMap_eval_powerSeries_eq_eval₂_laurent
214 #print axioms residue_mem_extensionFibreClosure_of_laurent_generic
215 #print axioms laurentEquationConormalDirectionClosure
216 #print axioms residue_mem_laurentEquationConormalDirectionClosure
217 #print axioms fibreLift
218 #print axioms eval₂_fibreLift
219 #print axioms false_of_fibreOnly_symbol_one_on_residue_and_vanishes_on_laurentConormal
220 #print axioms fibre_mem_fibreImage_of_phase_mem
221 
222 end
223 
224 end Stafford38.Geometry.LaurentConormalDirection
225