Stafford38/Characteristic/CanonicalAxisMonicInitialTop.lean

This project (Stafford38) · 1029fdb382eee06e7b59bcf32801f40931e2079a

1 module
2 public import Stafford38.Characteristic.AssociatedGradedFinite
3 public import Stafford38.Characteristic.CanonicalUnitPreimageFromInitialTop
4 public import Stafford38.Characteristic.FilteredQuotientReesAction
5 public import Stafford38.Characteristic.HyperplaneRestriction
6 public import Stafford38.Weyl.QuotientTransport
7 
8 @[expose] public section
9 
10 /-!
11 # Rees--Koszul criteria for canonical axis cancellation
12 
13 This file relates ordinary coordinate surjectivity to restriction on the
14 actual order-associated-graded module and to a one-element Rees--Koszul
15 complex. It does not identify ordinary quotient surjectivity with graded
16 surjectivity. The current canonical-support proof uses the separate
17 canonical-page argument in `CanonicalKoszulContradiction`.
18 -/
19 
20 namespace Stafford38.CanonicalAxisMonicInitialTop
21 
22 open Stafford38.CanonicalUnitCoordinatePreimage
23 open Stafford38.CanonicalUnitPreimageFromInitialTop
24 open Stafford38.Characteristic
25 open Stafford38.Characteristic.AssociatedGradedFinite
26 open Stafford38.CharacteristicAssociatedGradedModule
27 open Stafford38.CharacteristicFilteredQuotient
28 open Stafford38.CharacteristicFilteredQuotientReesAction
29 open Stafford38.CharacteristicInitialIdeal
30 open Stafford38.EulerSurjectivity
31 open AlgebraicAnalysis.HyperplaneRestriction
32 open Stafford38.WeylEulerResidue
33 open Stafford38.WeylIteratedEquivalence
34 open Stafford38.WeylPBWMonicBridge
35 open Stafford38.WeylQuotientTransport
36 
37 noncomputable section
38 
39 universe u
40 
41 variable (k : Type u) [Field k] [Algebra ℚ k]
42 
43 abbrev CanonicalIdeal (n N : ℕ)
44     (d : PresentedWeyl k (n + 1)) :=
45   canonicalRightIdeal (presentedCoordinate k n) d N
46 
47 /-- The distinguished base-coordinate symbol. -/
48 abbrev AxisCoordinate (n : ℕ) : SymbolRing k (n + 1) :=
49   MvPolynomial.X (.inl (0 : Fin (n + 1)))
50 
51 /-- Zeroth Koszul homology of the distinguished coordinate on the actual
52 order-associated graded canonical quotient.  Through the exact Rees special
53 fibre constructed elsewhere, this is the specialized Rees restriction. -/
54 abbrev CanonicalGradedCoordinateKoszulH0 (n N : ℕ)
55     (d : PresentedWeyl k (n + 1)) :=
56   Restriction
57     (R := SymbolRing k (n + 1))
58     (M := OrderAssociatedGradedModule k (CanonicalIdeal k n N d))
59     (AxisCoordinate k n)
60 
61 /-- Ordinary zeroth Koszul homology of the coordinate on the canonical
62 filtered quotient, before Rees specialization. -/
63 abbrev CanonicalOrdinaryCoordinateKoszulH0 (n N : ℕ)
64     (d : PresentedWeyl k (n + 1)) :=
65   FilteredRightQuotient k (CanonicalIdeal k n N d) ⧸
66     LinearMap.range
67       (filteredRightMul k (CanonicalIdeal k n N d)
68         (presentedCoordinate k n))
69 
70 /-- The initial-ideal target is exactly surjectivity of coordinate
71 multiplication on the actual order-associated graded module.  Cyclicity is
72 used in both directions, and the annihilator is the literal order initial
73 ideal. -/
74 theorem canonical_orderInitialIdeal_sup_coordinate_eq_top_iff_graded_surjective
75     (n N : ℕ) (d : PresentedWeyl k (n + 1)) :
76     orderInitialIdeal k (CanonicalIdeal k n N d) ⊔
77           Ideal.span {AxisCoordinate k n} = ⊤ ↔
78       Function.Surjective
79         (fun q : OrderAssociatedGradedModule k (CanonicalIdeal k n N d) ↦
80           AxisCoordinate k n • q) := by
81   classical
82   let I := CanonicalIdeal k n N d
83   let X := AxisCoordinate k n
84   let g := orderAssociatedGradedGenerator k I
85   constructor
86   · intro htop q
87     obtain ⟨P, rfl⟩ := exists_smul_orderAssociatedGradedGenerator k I q
88     have hone : (1 : SymbolRing k (n + 1)) ∈
89         orderInitialIdeal k I ⊔ Ideal.span {X} := by
90       rw [htop]
91       exact Submodule.mem_top
92     obtain ⟨j, hj, s, hs, hjs⟩ := Submodule.mem_sup.mp hone
93     obtain ⟨a, ha⟩ := Ideal.mem_span_singleton.mp hs
94     have hjg : j • g = 0 :=
95       (smul_orderAssociatedGradedGenerator_eq_zero_iff k I j).2 hj
96     have hsg : s • g = g := by
97       calc
98         s • g = (j + s) • g := by rw [add_smul, hjg, zero_add]
99         _ = 1 • g := congrArg (fun r : SymbolRing k (n + 1) => r • g) hjs
100         _ = g := one_smul _ _
101     refine ⟨(P * a) • g, ?_⟩
102     calc
103       X • ((P * a) • g) = (X * (P * a)) • g := by rw [smul_smul]
104       _ = (P * s) • g := by rw [ha]; ring
105       _ = P • (s • g) := by rw [smul_smul]
106       _ = P • g := by rw [hsg]
107   · intro hsurj
108     obtain ⟨q, hq⟩ := hsurj
109       (orderAssociatedGradedGenerator k I)
110     obtain ⟨P, hP⟩ := exists_smul_orderAssociatedGradedGenerator k I q
111     have hq' : X • (P • orderAssociatedGradedGenerator k I) =
112         orderAssociatedGradedGenerator k I := by
113       rw [hP]
114       simpa [X, I] using hq
115     have hkill : (X * P - 1) • orderAssociatedGradedGenerator k I = 0 := by
116       rw [sub_smul, mul_smul, hq', one_smul, sub_self]
117     have hrel : X * P - 1 ∈ orderInitialIdeal k I :=
118       (smul_orderAssociatedGradedGenerator_eq_zero_iff k I (X * P - 1)).1
119         hkill
120     apply (Ideal.eq_top_iff_one _).2
121     rw [show (1 : SymbolRing k (n + 1)) = -(X * P - 1) + X * P by ring]
122     apply Submodule.add_mem
123     · exact Submodule.mem_sup_left ((orderInitialIdeal k I).neg_mem hrel)
124     · apply Submodule.mem_sup_right
125       exact (Ideal.span {X}).mul_mem_right P
126         (Ideal.subset_span (Set.mem_singleton X))
127 
128 /-- Exact Koszul formulation of the requested theorem: the initial ideal and
129 the coordinate generate one iff the specialized one-coordinate Koszul
130 `H₀` is zero. -/
131 theorem canonical_orderInitialIdeal_sup_coordinate_eq_top_iff_koszulH0_subsingleton
132     (n N : ℕ) (d : PresentedWeyl k (n + 1)) :
133     orderInitialIdeal k (CanonicalIdeal k n N d) ⊔
134           Ideal.span {AxisCoordinate k n} = ⊤ ↔
135       Subsingleton (CanonicalGradedCoordinateKoszulH0 k n N d) := by
136   rw [canonical_orderInitialIdeal_sup_coordinate_eq_top_iff_graded_surjective]
137   exact (restriction_subsingleton_iff_smul_surjective
138     (R := SymbolRing k (n + 1))
139     (M := OrderAssociatedGradedModule k (CanonicalIdeal k n N d))
140     (x := AxisCoordinate k n)).symm
141 
142 /-- Monicity already kills ordinary coordinate restriction on the literal
143 canonical right quotient.  This is the source side of the still-missing
144 strict Rees--Koszul base-change theorem. -/
145 theorem canonical_ordinary_coordinate_surjective_of_axisMonic
146     (n N : ℕ) {d : PresentedWeyl k (n + 1)}
147     (hd : IsPBWMonicAt k (.inr (0 : Fin (n + 1))) N d) :
148     Function.Surjective
149       (rightMul (CanonicalIdeal k n N d) (presentedCoordinate k n)) :=
150   presentedCanonicalRightQuotient_rightMul_coordinate_surjective n N hd
151 
152 /-- The filtered additive model and the literal regular-right-module quotient
153 intertwine their written right coordinate actions. -/
154 theorem filteredRightQuotientEquivRightQuotient_coordinate
155     (n N : ℕ) (d : PresentedWeyl k (n + 1))
156     (q : FilteredRightQuotient k (CanonicalIdeal k n N d)) :
157     filteredRightQuotientEquivRightQuotient k (CanonicalIdeal k n N d)
158         (filteredRightMul k (CanonicalIdeal k n N d)
159           (presentedCoordinate k n) q) =
160       rightMul (CanonicalIdeal k n N d) (presentedCoordinate k n)
161         (filteredRightQuotientEquivRightQuotient k
162           (CanonicalIdeal k n N d) q) := by
163   refine Submodule.Quotient.induction_on _ q ?_
164   intro z
165   rfl
166 
167 /-- PBW monicity makes the ordinary one-coordinate Koszul `H₀` literally
168 zero.  The requested initial-top theorem is the assertion that this remains
169 true after passing to the order-Rees special fibre. -/
170 theorem canonical_ordinary_coordinateKoszulH0_subsingleton_of_axisMonic
171     (n N : ℕ) {d : PresentedWeyl k (n + 1)}
172     (hd : IsPBWMonicAt k (.inr (0 : Fin (n + 1))) N d) :
173     Subsingleton (CanonicalOrdinaryCoordinateKoszulH0 k n N d) := by
174   rw [Submodule.Quotient.subsingleton_iff]
175   apply top_unique
176   intro q hq
177   let e := filteredRightQuotientEquivRightQuotient k
178     (CanonicalIdeal k n N d)
179   obtain ⟨r, hr⟩ :=
180     canonical_ordinary_coordinate_surjective_of_axisMonic k n N hd (e q)
181   refine ⟨e.symm r, ?_⟩
182   apply e.injective
183   rw [filteredRightQuotientEquivRightQuotient_coordinate]
184   simpa [e] using hr
185 
186 /-- The initial-top statement and the existing strict unit predecessor are
187 equivalent for the literal canonical quotient. -/
188 theorem canonical_orderInitialIdeal_sup_coordinate_eq_top_iff_strictUnit
189     (n N : ℕ) (d : PresentedWeyl k (n + 1)) :
190     orderInitialIdeal k (CanonicalIdeal k n N d) ⊔
191           Ideal.span {AxisCoordinate k n} = ⊤ ↔
192       StrictUnitCoordinatePreimage k n N d := by
193   constructor
194   · exact fun h ↦
195       strictUnitCoordinatePreimage_of_orderInitialIdeal_sup_coordinate_eq_top
196         k n N h
197   · exact fun h ↦
198       canonical_orderInitialIdeal_sup_coordinate_eq_top_of_strictUnit
199         k n N h
200 
201 #print axioms canonical_orderInitialIdeal_sup_coordinate_eq_top_iff_graded_surjective
202 #print axioms canonical_orderInitialIdeal_sup_coordinate_eq_top_iff_koszulH0_subsingleton
203 #print axioms canonical_ordinary_coordinate_surjective_of_axisMonic
204 #print axioms filteredRightQuotientEquivRightQuotient_coordinate
205 #print axioms canonical_ordinary_coordinateKoszulH0_subsingleton_of_axisMonic
206 #print axioms canonical_orderInitialIdeal_sup_coordinate_eq_top_iff_strictUnit
207 
208 end
209 
210 end Stafford38.CanonicalAxisMonicInitialTop
211