This project (Stafford38) · 1029fdb382eee06e7b59bcf32801f40931e2079a
1 module 2 public import Stafford38.Geometry.CanonicalFiniteGradientProjectiveCoordinates 3 public import Stafford38.Geometry.CanonicalVisibleDivisorFrameProduction 4 5 @[expose] public section 6 7 /-! 8 # Interfaces for compatible visible divisor frames 9 10 This file packages adapters from retained DVR data, a normalized projective 11 column, and a compatible differential frame to `HasVisibleDivisorFrame`. 12 `ExactDivisorialVisibleFrameExistence` proves the higher-dimensional producer; 13 `GeneralDivisorialVisibleFrame` supplies the richer same-witness record used 14 by the paper-facing route. 15 -/ 16 17 namespace Stafford38.Geometry.ExactVisibleDivisorFrameInterface 18 19 open IsLocalRing 20 open Stafford38 21 open Stafford38.Characteristic 22 open Stafford38.Characteristic.CanonicalBaseVariety 23 open Stafford38.Characteristic.ReducedSupportIdeal 24 open Stafford38.CharacteristicInitialIdeal 25 open Stafford38.EulerSurjectivity 26 open Stafford38.Geometry.AffineComponentCoordinateSplit 27 open Stafford38.Geometry.AsymptoticDivisorExistence 28 open Stafford38.Geometry.CanonicalFiniteGradientProjectiveCoordinates 29 open Stafford38.Geometry.CanonicalVisibleDivisorFrameProduction 30 open Stafford38.Geometry.ComponentFunctionFieldBoundary 31 open Stafford38.Geometry.ComponentProjectiveOrder 32 open Stafford38.Geometry.ComponentProjectiveClosure 33 open Stafford38.Geometry.DivisorTangentLattice 34 open Stafford38.Geometry.RelativeRetainedBoundaryPlace 35 open Stafford38.WeylEulerResidue 36 open Stafford38.WeylIteratedEquivalence 37 38 noncomputable section 39 40 universe u 41 42 set_option maxHeartbeats 4000000 43 set_option synthInstance.maxHeartbeats 400000 44 45 variable {k : Type u} [Field k] {m : ℕ} 46 47 /-- The compatibility predicate used by the normalized-column adapter. It 48 requires a visible differential frame on the same retained column, including 49 the explicit modulo-`D.t` inclusion. The complete producer is 50 `ExactDivisorialVisibleFrameExistence`. -/ 51 def HasCompatibleVisibleFrame 52 (P : PrimeSpectrum (MvPolynomial (Fin m) k)) (hm : 0 < m) 53 [CharZero k] 54 (W : Data k (ComponentFractionField P) (componentCoordinate P ⟨0, hm⟩)) : 55 letI : Algebra (CoordinateZeroLocalRing W.coefficientField) 56 (ComponentFractionField P) := W.ambientAlgebra 57 (Fin (m + 1) → W.place.valuation.toSubring) → Prop := by 58 letI : Algebra (CoordinateZeroLocalRing W.coefficientField) 59 (ComponentFractionField P) := W.ambientAlgebra 60 let V := W.place.valuation.toSubring 61 letI : IsDiscreteValuationRing V := W.place.isDiscrete 62 exact fun q ↦ 63 ∃ D : VisibleDivisorFrame (V := V) 64 (KaehlerDifferential.D k (ComponentFractionField P)) (Fin m), 65 D.Q₀ = q 0 ∧ 66 D.Q₁ = q (Fin.succ ⟨0, hm⟩) ∧ 67 ∀ j, D.Q j = q (Fin.succ j) 68 69 /-- Once the compatible frame is supplied, the retained data, common-scale 70 normalization, and exact parameter identity are exactly the fields required by 71 `HasVisibleDivisorFrame`. -/ 72 theorem hasVisibleDivisorFrame_of_compatible_normalized_column 73 [CharZero k] 74 (P : PrimeSpectrum (MvPolynomial (Fin m) k)) (hm : 0 < m) 75 (W : Data k (ComponentFractionField P) (componentCoordinate P ⟨0, hm⟩)) : 76 letI : Algebra (CoordinateZeroLocalRing W.coefficientField) 77 (ComponentFractionField P) := W.ambientAlgebra 78 let V := W.place.valuation.toSubring 79 letI : IsDiscreteValuationRing V := W.place.isDiscrete 80 ∀ (q : Fin (m + 1) → V) (scale : ComponentFractionField P), 81 q 0 ≠ 0 → 82 (∀ a, (q a : ComponentFractionField P) = 83 scale * componentProjectivePoint P a) → 84 q (Fin.succ ⟨0, hm⟩) = q 0 * W.place.parameter → 85 HasCompatibleVisibleFrame P hm W q → 86 HasVisibleDivisorFrame P hm := by 87 letI : Algebra (CoordinateZeroLocalRing W.coefficientField) 88 (ComponentFractionField P) := W.ambientAlgebra 89 let V := W.place.valuation.toSubring 90 letI : IsDiscreteValuationRing V := W.place.isDiscrete 91 dsimp only 92 intro q scale hq0 hq hratio hframe 93 obtain ⟨D, hQ₀, hQ₁, hQ⟩ := hframe 94 exact ⟨W, q, scale, hq0, hq, hratio, D, hQ₀, hQ₁, hQ⟩ 95 96 /-- A trust-zero prefix exposing normalized retained-place data and the 97 compatibility premise consumed by the adapter. The complete higher-dimensional 98 producer is `ExactDivisorialVisibleFrameExistence`. -/ 99 theorem exists_normalized_column_with_exact_frame_obligation 100 [CharZero k] 101 (P : PrimeSpectrum (MvPolynomial (Fin m) k)) (hm : 0 < m) 102 (hi : Transcendental k (componentCoordinate P ⟨0, hm⟩)) : 103 ∃ W : Data k (ComponentFractionField P) (componentCoordinate P ⟨0, hm⟩), 104 letI : Algebra (CoordinateZeroLocalRing W.coefficientField) 105 (ComponentFractionField P) := W.ambientAlgebra 106 let V := W.place.valuation.toSubring 107 letI : IsDiscreteValuationRing V := W.place.isDiscrete 108 ∃ (chart : Fin (m + 1)) (q : Fin (m + 1) → V) 109 (scale : ComponentFractionField P), 110 scale ≠ 0 ∧ q chart = 1 ∧ q 0 ≠ 0 ∧ 111 (∀ a, (q a : ComponentFractionField P) = 112 scale * componentProjectivePoint P a) ∧ 113 q (Fin.succ ⟨0, hm⟩) = q 0 * W.place.parameter ∧ 114 (HasCompatibleVisibleFrame P hm W q → HasVisibleDivisorFrame P hm) := by 115 obtain ⟨W, chart, q, scale, hscale, hchart, hq0, hq, hratio⟩ := 116 exists_normalizedProjectivePoint_relativeRetainedBoundaryPlace P ⟨0, hm⟩ hi 117 letI : Algebra (CoordinateZeroLocalRing W.coefficientField) 118 (ComponentFractionField P) := W.ambientAlgebra 119 let V := W.place.valuation.toSubring 120 letI : IsDiscreteValuationRing V := W.place.isDiscrete 121 refine ⟨W, chart, q, scale, hscale, hchart, hq0, hq, hratio, ?_⟩ 122 exact hasVisibleDivisorFrame_of_compatible_normalized_column P hm W q scale 123 hq0 hq hratio 124 125 /-- In the actual axis-avoidance context, the existing trust-zero prefix also 126 forces the normalized denominator to be a nonunit. Together with the retained 127 parameter's nonzero/nonunit fields, this supplies the order-theoretic inputs; 128 the compatible visible frame remains the first gap. -/ 129 theorem exists_axisAvoiding_normalized_column_with_exact_frame_obligation 130 [CharZero k] [IsAlgClosed k] 131 (I : RightIdeal (PresentedWeyl k m)) (hm : 0 < m) 132 (hdisjoint : Disjoint 133 (orderCharacteristicSupport k I) 134 (PrimeSpectrum.zeroLocus 135 ({MvPolynomial.X (.inl (⟨0, hm⟩ : Fin m))} : Set (SymbolRing k m)))) 136 (P : PrimeSpectrum (MvPolynomial (Fin m) k)) 137 (hBP : reducedOrderBaseIdeal k I ≤ P.asIdeal) 138 (hi : Transcendental k (componentCoordinate P ⟨0, hm⟩)) : 139 ∃ W : Data k (ComponentFractionField P) (componentCoordinate P ⟨0, hm⟩), 140 letI : Algebra (CoordinateZeroLocalRing W.coefficientField) 141 (ComponentFractionField P) := W.ambientAlgebra 142 let V := W.place.valuation.toSubring 143 letI : IsDiscreteValuationRing V := W.place.isDiscrete 144 ∃ (chart : Fin (m + 1)) (q : Fin (m + 1) → V) 145 (scale : ComponentFractionField P), 146 scale ≠ 0 ∧ q chart = 1 ∧ q 0 ≠ 0 ∧ 147 (∀ a, (q a : ComponentFractionField P) = 148 scale * componentProjectivePoint P a) ∧ 149 q (Fin.succ ⟨0, hm⟩) = q 0 * W.place.parameter ∧ 150 ¬ IsUnit (q 0) ∧ 151 (HasCompatibleVisibleFrame P hm W q → HasVisibleDivisorFrame P hm) := by 152 obtain ⟨W, chart, q, scale, hscale, hchart, hq0, hq, hratio⟩ := 153 exists_normalizedProjectivePoint_relativeRetainedBoundaryPlace P ⟨0, hm⟩ hi 154 letI : Algebra (CoordinateZeroLocalRing W.coefficientField) 155 (ComponentFractionField P) := W.ambientAlgebra 156 let V := W.place.valuation.toSubring 157 letI : IsDiscreteValuationRing V := W.place.isDiscrete 158 have hq0nonunit : ¬ IsUnit (q 0) := 159 normalizedComponentProjectivePoint_zero_nonunit 160 I ⟨0, hm⟩ hdisjoint P hBP W q scale hq 161 refine ⟨W, chart, q, scale, hscale, hchart, hq0, hq, hratio, 162 hq0nonunit, ?_⟩ 163 exact hasVisibleDivisorFrame_of_compatible_normalized_column P hm W q scale 164 hq0 hq hratio 165 166 /-- A proposition packaging retained `Data`, a normalized projective column, 167 the exact parameter identity, and a compatible `VisibleDivisorFrame` on the 168 same witnesses. `ExactDivisorialVisibleFrameExistence` constructs this data in 169 the canonical application. -/ 170 def HasNormalizedCompatibleVisibleFrame 171 [CharZero k] 172 (P : PrimeSpectrum (MvPolynomial (Fin m) k)) (hm : 0 < m) : Prop := 173 ∃ W : Data k (ComponentFractionField P) (componentCoordinate P ⟨0, hm⟩), 174 letI : Algebra (CoordinateZeroLocalRing W.coefficientField) 175 (ComponentFractionField P) := W.ambientAlgebra 176 let V := W.place.valuation.toSubring 177 letI : IsDiscreteValuationRing V := W.place.isDiscrete 178 ∃ (chart : Fin (m + 1)) (q : Fin (m + 1) → V) 179 (scale : ComponentFractionField P), 180 scale ≠ 0 ∧ q chart = 1 ∧ q 0 ≠ 0 ∧ 181 (∀ a, (q a : ComponentFractionField P) = 182 scale * componentProjectivePoint P a) ∧ 183 q (Fin.succ ⟨0, hm⟩) = q 0 * W.place.parameter ∧ 184 HasCompatibleVisibleFrame P hm W q 185 186 /-- The exact witness above forgets to the pre-existing terminal input. -/ 187 theorem hasVisibleDivisorFrame_of_normalizedCompatibleVisibleFrame 188 [CharZero k] 189 (P : PrimeSpectrum (MvPolynomial (Fin m) k)) (hm : 0 < m) 190 (h : HasNormalizedCompatibleVisibleFrame P hm) : 191 HasVisibleDivisorFrame P hm := by 192 obtain ⟨W, chart, q, scale, hscale, hchart, hq0, hq, hratio, hframe⟩ := h 193 exact hasVisibleDivisorFrame_of_compatible_normalized_column P hm W q scale 194 hq0 hq hratio hframe 195 196 /-- Repaired residual with exactly the ambient hypotheses of the actual lane C 197 consumer. The target-context hypotheses are retained because, in particular, 198 axis avoidance is needed to force the homogeneous denominator to vanish; the 199 component-only strengthening is false in general. -/ 200 def ExactDivisorialVisibleFrameExistence : Prop := 201 ∀ (k : Type u) [Field k] [CharZero k] [IsAlgClosed k] 202 (n N : ℕ) (d : PresentedWeyl k (n + 1)), 203 0 < n → 204 Disjoint 205 (orderCharacteristicSupport k 206 (canonicalRightIdeal (presentedCoordinate k n) d N)) 207 (PrimeSpectrum.zeroLocus 208 ({MvPolynomial.X (.inl (0 : Fin (n + 1)))} : 209 Set (SymbolRing k (n + 1)))) → 210 ∀ P : PrimeSpectrum (MvPolynomial (Fin (n + 1)) k), 211 P.asIdeal ∈ 212 (reducedOrderBaseIdeal k 213 (canonicalRightIdeal (presentedCoordinate k n) d N)).minimalPrimes → 214 Transcendental k 215 (componentCoordinate P ⟨0, Nat.zero_lt_succ n⟩) → 216 HasNormalizedCompatibleVisibleFrame P (Nat.zero_lt_succ n) 217 218 /-- The repaired residual has a direct, trust-zero adapter to the actual 219 higher-dimensional producer. -/ 220 theorem higherDimensionalCanonicalVisibleDivisorFrameProduction_of_exactResidual 221 (h : ExactDivisorialVisibleFrameExistence.{u}) : 222 HigherDimensionalCanonicalVisibleDivisorFrameProduction.{u} := by 223 intro k _ _ _ n N d hn hdisjoint P hP htrans 224 exact hasVisibleDivisorFrame_of_normalizedCompatibleVisibleFrame P 225 (Nat.zero_lt_succ n) (h k n N d hn hdisjoint P hP htrans) 226 227 #print axioms HasCompatibleVisibleFrame 228 #print axioms hasVisibleDivisorFrame_of_compatible_normalized_column 229 #print axioms exists_normalized_column_with_exact_frame_obligation 230 #print axioms exists_axisAvoiding_normalized_column_with_exact_frame_obligation 231 #print axioms HasNormalizedCompatibleVisibleFrame 232 #print axioms hasVisibleDivisorFrame_of_normalizedCompatibleVisibleFrame 233 #print axioms ExactDivisorialVisibleFrameExistence 234 #print axioms higherDimensionalCanonicalVisibleDivisorFrameProduction_of_exactResidual 235 236 end 237 238 end Stafford38.Geometry.ExactVisibleDivisorFrameInterface 239