Stafford38/Geometry/PaperRetainedChartWitnessColumns.lean

This project (Stafford38) · 1029fdb382eee06e7b59bcf32801f40931e2079a

1 module
2 public import Stafford38.Geometry.GeneralDivisorialVisibleFrame
3 public import Stafford38.Geometry.PaperRetainedChartAssembly
4 public import Stafford38.Geometry.FormalDivisorLaurentConormal
5 public import Stafford38.Geometry.ComponentProjectiveClosureNormalization
6 
7 @[expose] public section
8 
9 /-!
10 # Coefficient columns from the actual retained divisorial witness
11 
12 This adapter specializes the retained chart-column result to the same `W`,
13 normalized `q`, and residue algebraicity carried by the Lane-C witness.
14 -/
15 
16 namespace Stafford38.Geometry.PaperRetainedChartWitnessColumns
17 
18 open IsLocalRing
19 open Stafford38.Geometry.GeneralDivisorialVisibleFrame
20 open Stafford38.Geometry.PaperRetainedChartAssembly
21 open Stafford38.Geometry.ComponentProjectiveClosure
22 open Stafford38.Geometry.AffineComponentCoordinateSplit
23 open Stafford38.Geometry.AsymptoticDivisorExistence
24 open Stafford38.Geometry.RelativeCoefficientDVR
25 open Stafford38.Geometry.RetainedProjectiveCompletion
26 open Stafford38.Geometry.RetainedDVR
27 open Stafford38.Geometry.RetainedPlaceConormalTransport
28 open Stafford38.Geometry.RetainedGroundMapIdentification
29 open Stafford38.GeometryResidueMinorSelection
30 open Stafford38.GeometrySplitTangentMatrix
31 open Stafford38.Geometry.KaehlerVisibleDerivationFrame
32 open Stafford38.Geometry.LaurentConormalResidueExtension
33 open Stafford38.Geometry.ProjectiveConormalDehomogenization
34 open Stafford38.Geometry.FormalDivisorLaurentConormal
35 open Stafford38.Geometry.ComponentProjectiveClosureNormalization
36 
37 universe u
38 
39 variable {k : Type u} [Field k] [CharZero k] {m : ℕ}
40 
41 set_option maxHeartbeats 4000000
42 set_option synthInstance.maxHeartbeats 400000
43 set_option autoImplicit false
44 
45 /-- The witness's own normalized projective column and residue algebraicity
46 yield the actual completed coefficientwise derivation columns. -/
47 theorem columns_of_visible_witness
48     (hm : 0 < m) (P : PrimeSpectrum (MvPolynomial (Fin m) k))
49     (w : GeneralDivisorialVisibleFrameWitness hm P) :
50     let C := w.column
51     let W := C.W
52     letI : Algebra (CoordinateZeroLocalRing W.coefficientField)
53       (ComponentFractionField P) := W.ambientAlgebra
54     let V := W.place.valuation.toSubring
55     letI : IsDiscreteValuationRing V := W.place.isDiscrete
56     letI : Algebra W.coefficientField V :=
57       (relativeCoefficientMap W.coefficientField W.place).toAlgebra
58     let κ := ResidueField V
59     letI : Algebra k κ := retainedResidueGroundAlgebra P ⟨0, hm⟩ W
60     ∃ (rows : Fin (Module.finrank κ (Ω[κ⁄k])) ↪ Fin (m + 1))
61       (D : Fin (Module.finrank κ (Ω[κ⁄k])) → Derivation k κ κ),
62       (∀ i j, D j (PowerSeries.constantCoeff
63         (retainedToCompletedPowerSeries W (C.q (rows i)))) =
64           if i = j then 1 else 0) ∧
65       PowerSeries.constantCoeff
66         (selectedMinor
67           (coefficientwiseTangentMatrix
68             (fun a ↦ retainedToCompletedPowerSeries W (C.q a)) D) rows).det = 1 := by
69   let C := w.column
70   let W := C.W
71   letI : Algebra (CoordinateZeroLocalRing W.coefficientField)
72       (ComponentFractionField P) := W.ambientAlgebra
73   let V := W.place.valuation.toSubring
74   letI : IsDiscreteValuationRing V := W.place.isDiscrete
75   letI : Algebra W.coefficientField V :=
76     (relativeCoefficientMap W.coefficientField W.place).toAlgebra
77   let κ := ResidueField V
78   letI : Algebra k κ := retainedResidueGroundAlgebra P ⟨0, hm⟩ W
79   dsimp only
80   exact exists_retained_projective_derivation_columns P ⟨0, hm⟩
81     W C.q w.halg
82 
83 
84 end Stafford38.Geometry.PaperRetainedChartWitnessColumns
85