Stafford38/Weyl/PaperQuotientDescent.lean

This project (Stafford38) · 1029fdb382eee06e7b59bcf32801f40931e2079a

1 module
2 public import Stafford38.Weyl.FilteredScalarLifting
3 public import Stafford38.Characteristic.EmptySupportVanishing
4 public import Mathlib.RingTheory.Flat.FaithfullyFlat.Basic
5 
6 @[expose] public section
7 
8 /-!
9 # Paper-facing scalar extension and quotient descent
10 
11 This file records the algebraic descent steps in the paper's proof.  The
12 coefficient extension is an arbitrary field extension (so an algebraic
13 closure is available as the paper's closed coefficient field).  It keeps the
14 actual filtered quotient, its associated graded annihilator, and the
15 unfiltered right quotient distinct.
16 -/
17 
18 namespace Stafford38.PaperQuotientDescent
19 
20 open Stafford38.Characteristic
21 open Stafford38.CharacteristicAssociatedGradedModule
22 open Stafford38.CharacteristicEmptySupportVanishing
23 open Stafford38.CharacteristicFilteredQuotient
24 open Stafford38.CharacteristicInitialIdeal
25 open Stafford38.EulerSurjectivity
26 open Stafford38.Weyl.PresentedScalarExtension
27 open Stafford38.Weyl.FilteredScalarLifting
28 open Stafford38.WeylEulerResidue
29 open Stafford38.WeylIteratedEquivalence
30 open Stafford38.WeylPBWMonicBridge
31 open Stafford38.WeylUniversal
32 
33 noncomputable section
34 
35 set_option maxRecDepth 5000
36 
37 universe u v
38 
39 variable {k : Type u} {K : Type v}
40 variable [Field k] [Field K] [Algebra k K]
41 
42 section TensorQuotient
43 
44 variable {M : Type*} [AddCommGroup M] [Module k M]
45 
46 /-- Moving the field-extension factor to the left identifies the image of a
47 subspace quotient kernel with ordinary linear base change. -/
48 theorem comm_map_tensorSubmodule_range (J : Submodule k M) :
49     Submodule.map (TensorProduct.comm k M K).toLinearMap
50       (LinearMap.range (TensorProduct.map J.subtype
51         (LinearMap.id : K →ₗ[k] K))) = (J.baseChange K).restrictScalars k := by
52   have hcomp :
53       (TensorProduct.comm k M K).toLinearMap.comp
54           (TensorProduct.map J.subtype (LinearMap.id : K →ₗ[k] K)) =
55         ((J.subtype.baseChange K).restrictScalars k).comp
56           (TensorProduct.comm k J K).toLinearMap := by
57     ext j c
58     simp [LinearMap.comp_apply]
59   rw [← LinearMap.range_comp, hcomp, LinearMap.range_comp]
60   rw [LinearEquiv.range, Submodule.map_top]
61   change LinearMap.range ((J.subtype.baseChange K).restrictScalars k) =
62     Submodule.restrictScalars k (J.subtype.baseChange K).range
63   rw [LinearMap.range_restrictScalars]
64 
65 end TensorQuotient
66 
67 /-- Scalar extension of the actual canonical quotient is the quotient by the
68 scalar-extended canonical right ideal.  The proof goes through the tensor
69 quotient equivalence and the already-checked PBW identification. -/
70 def canonicalRightQuotient_scalarExtension_equiv
71     (n N : ℕ) (d : PresentedWeyl k (n + 1)) :
72     TensorProduct k (PresentedWeyl k (n + 1) ⧸
73       rightIdealKSubmodule k
74         (canonicalRightIdeal (presentedCoordinate k n) d N)) K ≃ₗ[k]
75       RightQuotient
76         (canonicalRightIdeal (presentedCoordinate K n)
77           (presentedWeylScalarExtension (k := k) (K := K) (n + 1) d) N) := by
78   let I := canonicalRightIdeal (presentedCoordinate k n) d N
79   let J := rightIdealKSubmodule k I
80   let eK := pbwTensorEquiv (k := k) (K := K) (n + 1)
81   let IK := canonicalRightIdeal (presentedCoordinate K n)
82     (presentedWeylScalarExtension (k := k) (K := K) (n + 1) d) N
83   let JK := rightIdealKSubmodule K IK
84   let f := (TensorProduct.comm k (PresentedWeyl k (n + 1)) K).trans
85     (LinearEquiv.restrictScalars k eK)
86   have hf : f.toLinearMap =
87       (LinearEquiv.restrictScalars k eK).toLinearMap.comp
88         (TensorProduct.comm k (PresentedWeyl k (n + 1)) K).toLinearMap := by
89     ext z
90     rfl
91   let D := LinearMap.range (TensorProduct.map J.subtype
92     (LinearMap.id : K →ₗ[k] K))
93   have hden : Submodule.map f.toLinearMap D = JK.restrictScalars k := by
94     rw [hf, Submodule.map_comp]
95     rw [comm_map_tensorSubmodule_range]
96     calc
97       Submodule.map (LinearEquiv.restrictScalars k eK).toLinearMap
98         (Submodule.restrictScalars k (J.baseChange K)) =
99         Submodule.restrictScalars k
100           (Submodule.map eK.toLinearMap (J.baseChange K)) := by
101           symm
102           exact Submodule.restrictScalars_map eK.toLinearMap (J.baseChange K)
103       _ = Submodule.restrictScalars k JK := by
104         rw [pbwTensorEquiv_map_canonicalRightIdeal]
105   have hquot :
106       TensorProduct k (PresentedWeyl k (n + 1) ⧸ J) K ≃ₗ[k]
107         (PresentedWeyl K (n + 1) ⧸ JK.restrictScalars k) :=
108     (TensorProduct.quotientTensorEquiv K J).trans
109       (Submodule.Quotient.equiv D (JK.restrictScalars k) f hden)
110   exact hquot.trans
111     ((Submodule.Quotient.restrictScalarsEquiv k JK).trans
112       (LinearEquiv.restrictScalars k
113         (filteredRightQuotientEquivRightQuotient K IK)))
114 
115 /-- Faithfully flat field extension descends vanishing of the actual right
116 quotient.  The scalar-extension equivalence above is the concrete bridge; the
117 last step is the standard faithful-flat reflection of a zero module. -/
118 theorem canonicalRightQuotient_subsingleton_of_scalarExtension
119     (n N : ℕ) (d : PresentedWeyl k (n + 1))
120     (hK : Subsingleton (RightQuotient
121       (canonicalRightIdeal (presentedCoordinate K n)
122         (presentedWeylScalarExtension (k := k) (K := K) (n + 1) d) N))) :
123     Subsingleton (RightQuotient
124       (canonicalRightIdeal (presentedCoordinate k n) d N)) := by
125   let I := canonicalRightIdeal (presentedCoordinate k n) d N
126   let e0 := filteredRightQuotientEquivRightQuotient k I
127   let e := (TensorProduct.congr e0 (LinearEquiv.refl k K)).trans
128     (canonicalRightQuotient_scalarExtension_equiv (k := k) (K := K) n N d)
129   have htensor : Subsingleton (TensorProduct k (RightQuotient I) K) :=
130     (Equiv.subsingleton_congr e.toEquiv).mpr hK
131   exact Module.FaithfullyFlat.rTensor_reflects_triviality k K (RightQuotient I)
132 
133 /-- The paper's support descent, stated for the canonical quotient: empty
134 support after a field extension implies empty support before extension.  It
135 factors through vanishing of the actual quotient on both fields. -/
136 theorem canonicalSupport_empty_of_scalarExtension_empty
137     (n N : ℕ) (d : PresentedWeyl k (n + 1))
138     (hK : orderCharacteristicSupport K
139       (canonicalRightIdeal (presentedCoordinate K n)
140         (presentedWeylScalarExtension (k := k) (K := K) (n + 1) d) N) = ∅) :
141     orderCharacteristicSupport k
142       (canonicalRightIdeal (presentedCoordinate k n) d N) = ∅ := by
143   apply (orderCharacteristicSupport_eq_empty_iff_rightQuotient_subsingleton k
144     (canonicalRightIdeal (presentedCoordinate k n) d N)).mpr
145   apply canonicalRightQuotient_subsingleton_of_scalarExtension
146     (k := k) (K := K) n N d
147   exact rightQuotient_subsingleton_of_orderCharacteristicSupport_eq_empty K _ hK
148 
149 /-- The canonical-support descent contract used by the official assembly,
150 proved through vanishing of the concrete canonical right quotient. -/
151 theorem canonicalSupportDescent_via_quotient :
152     Stafford38.CanonicalSupportVanishingReduction.CanonicalSupportDescent.{u} := by
153   intro hclosed
154   intro k _ _ n N d hN hd
155   let e := presentedWeylScalarExtension (k := k)
156     (K := AlgebraicClosure k) (n + 1)
157   have hdK : IsPBWMonicAt (AlgebraicClosure k)
158       (.inr (0 : Fin (n + 1))) N (e d) := by
159     exact presentedWeylScalarExtension_isPBWMonicAt
160       (k := k) (K := AlgebraicClosure k) n N hd
161   have hK : orderCharacteristicSupport (AlgebraicClosure k)
162       (canonicalRightIdeal (presentedCoordinate (AlgebraicClosure k) n)
163         (e d) N) = ∅ := hclosed (AlgebraicClosure k) n N (e d) hN hdK
164   exact canonicalSupport_empty_of_scalarExtension_empty
165     (k := k) (K := AlgebraicClosure k) n N d hK
166 
167 #print axioms canonicalRightQuotient_scalarExtension_equiv
168 #print axioms canonicalRightQuotient_subsingleton_of_scalarExtension
169 #print axioms canonicalSupport_empty_of_scalarExtension_empty
170 #print axioms canonicalSupportDescent_via_quotient
171 
172 /-- The annihilator of the actual order-associated-graded quotient is
173 compatible with the coefficient-field map for the canonical right ideal.
174 This is the paper's `gr`/annihilator comparison, with the filtered lifting
175 equality supplied by `FilteredScalarLifting`. -/
176 theorem canonicalAssociatedGraded_annihilator_scalarExtension
177     (n N : ℕ) (d : PresentedWeyl k (n + 1)) :
178     (Module.annihilator (SymbolRing k (n + 1))
179       (OrderAssociatedGradedModule k
180         (canonicalRightIdeal (presentedCoordinate k n) d N))).map
181         (symbolScalarExtension (k := k) (K := K) (n + 1)).toRingHom =
182       Module.annihilator (SymbolRing K (n + 1))
183         (OrderAssociatedGradedModule K
184           (canonicalRightIdeal (presentedCoordinate K n)
185             (presentedWeylScalarExtension (k := k) (K := K) (n + 1) d) N)) := by
186   rw [annihilator_orderAssociatedGradedModule,
187     annihilator_orderAssociatedGradedModule,
188     presentedWeylScalarExtension_map_orderInitialIdeal_eq]
189 
190 #print axioms canonicalAssociatedGraded_annihilator_scalarExtension
191 
192 end
193 
194 end Stafford38.PaperQuotientDescent
195