Hodge conjecture: the CM case in Lean, read and discussed
OpenAI's Lean proof of the Hodge conjecture for CM abelian varieties: rerun it, read its statement, and keep the open questions with their sources. The conjecture is open

| 1 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveFinite.EtalePointPairingAligned |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.ResidueDataAnnihilation |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.FiniteEtaleResidueDetection |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.TotalAdjunctionDimensionData |
| 5 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.SectionEvaluation |
| 6 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.ResidueReferenceValue |
| 7 | |
| 8 | /-! # Etale Point Residue -/ |
| 9 | |
| 10 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveFinite.EtalePointResidue |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! The actual finite local point class is a selected source residue. |
| 15 | Both trace pairings and scalar annihilation are derived from the original |
| 16 | fixed point and the genuine projective parameter chart. -/ |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.MvPolynomial _root_.Module Opposite _root_.HomologicalComplex |
| 18 | set_option backward.defeqAttrib.useBackward true |
| 19 | set_option backward.isDefEq.respectTransparency false |
| 20 | set_option backward.isDefEq.respectTransparency.types false |
| 21 | universe u |
| 22 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.IntrinsicOverlap.Intrinsic |
| 23 | open OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveCoefficient.HomLocal OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.FlatCoefficientSections |
| 24 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] [Module.Injective R R] |
| 25 | [IsArtinianRing R] [IsLocalRing R] {n c g : ℕ} (hcg : c+g=n+1) |
| 26 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 27 | Projective.LocalAdjunction.ambientAlgebra Projective.ParameterChart.coordinateOrder |
| 28 | attribute [local instance] Finite.FlatCoefficientSections.quotientAlgebra |
| 29 | Finite.FlatCoefficientSections.coefficientAlgebra Finite.FlatCoefficientSections.ambientAlgebra |
| 30 | variable (X Y : Over (Spec (CommRingCat.of R))) [Nonempty X.left] (f : Y ⟶ X) |
| 31 | [IsFinite f.left] [Etale f.left] |
| 32 | (i : X ⟶ Projective.IntrinsicOverlap.Intrinsic.model R (n+1)) [IsClosedImmersion i.left] |
| 33 | [Smooth X.hom] [IsProper X.hom] [GeometricallyConnected X.hom] |
| 34 | [Smooth Y.hom] [IsProper Y.hom] [GeometricallyConnected Y.hom] |
| 35 | [SmoothOfRelativeDimension g X.hom] |
| 36 | (s₀ : Spec (CommRingCat.of R) ⟶ Y.left) (hbase : s₀ ≫ Y.hom = 𝟙 _) |
| 37 | (B : ℕ) (hB : n+2≤B) |
| 38 | (U : (Projective.IntrinsicOverlap.Intrinsic.space R (n+1)).Opens) (hU : IsAffineOpen U) |
| 39 | (hcontains : ⊤ ≤ ((s₀ ≫ f.left) ≫ i.left) ⁻¹ᵁ U) |
| 40 | (hgood : FiniteEtale.TraceBasis.Good R Y X f (i.left ⁻¹ᵁ U)) |
| 41 | (k : Fin (n+2)) (hUk : U ≤ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) k) |
| 42 | (s : Fin c → Γ(Projective.IntrinsicOverlap.Intrinsic.space R (n+1), U)) |
| 43 | (hs : Koszul.OrientedTopCohomology.ideal Γ(Projective.IntrinsicOverlap.Intrinsic.space R (n+1), U) s = Projective.LocalAdjunction.ideal X i U hU) |
| 44 | (hreg : RingTheory.Sequence.IsWeaklyRegular Γ(Projective.IntrinsicOverlap.Intrinsic.space R (n+1), U) (List.ofFn s)) |
| 45 | (bI : Basis (Fin c) (Projective.LocalAdjunction.quotient X i U hU) (Projective.LocalAdjunction.ideal X i U hU).Cotangent) |
| 46 | (hI : ∀ a, bI a = (Projective.LocalAdjunction.ideal X i U hU).toCotangent |
| 47 | (ConormalKoszulPurity.conormalVectors Γ(Projective.IntrinsicOverlap.Intrinsic.space R (n+1), U) (Projective.LocalAdjunction.ideal X i U hU) s hs a)) |
| 48 | (bQ : Basis (Fin g) (Projective.LocalAdjunction.quotient X i U hU) Ω[Projective.LocalAdjunction.quotient X i U hU⁄R]) |
| 49 | (t : Fin g → Γ(Projective.IntrinsicOverlap.Intrinsic.space R (n+1), U)) |
| 50 | (ht : ∀ a, bQ a = KaehlerDifferential.D R (Projective.LocalAdjunction.quotient X i U hU) |
| 51 | (Ideal.Quotient.mk (Projective.LocalAdjunction.ideal X i U hU) (t a))) |
| 52 | (hst : KoszulPartial.Resolution.pointIdeal Γ(Projective.IntrinsicOverlap.Intrinsic.space R (n+1), U) s t = |
| 53 | ((s₀ ≫ f.left) ≫ i.left).ker.ideal ⟨U,hU⟩) |
| 54 | (hregst : RingTheory.Sequence.IsWeaklyRegular Γ(Projective.IntrinsicOverlap.Intrinsic.space R (n+1), U) (List.ofFn (Fin.append s t))) |
| 55 | (b : Basis (Fin (n+1)) Γ(Projective.IntrinsicOverlap.Intrinsic.space R (n+1), U) Ω[Γ(Projective.IntrinsicOverlap.Intrinsic.space R (n+1), U)⁄R]) |
| 56 | (hb : (fun a : Fin (c+g) => b (Fin.cast hcg a)) = |
| 57 | Fin.append (fun a => KaehlerDifferential.D R Γ(Projective.IntrinsicOverlap.Intrinsic.space R (n+1), U) (s a)) |
| 58 | (fun a => KaehlerDifferential.D R Γ(Projective.IntrinsicOverlap.Intrinsic.space R (n+1), U) (t a))) |
| 59 | (τ : Type u) [Fintype τ] |
| 60 | [Algebra (MvPolynomial τ R) (Intrinsic.SmoothClosedSections.ring R X (i.left ⁻¹ᵁ U))] |
| 61 | [IsScalarTower R (MvPolynomial τ R) (Intrinsic.SmoothClosedSections.ring R X (i.left ⁻¹ᵁ U))] |
| 62 | [Algebra.Etale (MvPolynomial τ R) (Intrinsic.SmoothClosedSections.ring R X (i.left ⁻¹ᵁ U))] |
| 63 | |
| 64 | local instance composite_smooth : Smooth (i.left ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ) := by |
| 65 | change Smooth (i.left ≫ (Projective.IntrinsicOverlap.Intrinsic.model R (n+1)).hom) |
| 66 | rw [Over.w i] |
| 67 | infer_instance |
| 68 | local instance composite_proper : IsProper (i.left ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ) := by |
| 69 | change IsProper (i.left ≫ (Projective.IntrinsicOverlap.Intrinsic.model R (n+1)).hom) |
| 70 | rw [Over.w i] |
| 71 | infer_instance |
| 72 | local instance composite_connected : GeometricallyConnected (i.left ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ) := by |
| 73 | change GeometricallyConnected (i.left ≫ (Projective.IntrinsicOverlap.Intrinsic.model R (n+1)).hom) |
| 74 | rw [Over.w i] |
| 75 | infer_instance |
| 76 | |
| 77 | include i hbase in |
| 78 | omit [IsNoetherianRing R] [Module.Injective R R] [Nonempty ↥X.left] [IsFinite (Over.Hom.left f)] [Etale (Over.Hom.left f)] [IsClosedImmersion (Over.Hom.left i)] [Smooth X.hom] [IsProper X.hom] [GeometricallyConnected X.hom] [Smooth Y.hom] [IsProper Y.hom] [GeometricallyConnected Y.hom] in |
| 79 | private theorem pointClosed : IsClosedImmersion (s₀ ≫ f.left) := by |
| 80 | let : Subsingleton (Spec (CommRingCat.of R)) := Ring.KrullDimLE.subsingleton_primeSpectrum R |
| 81 | exact isClosedImmersion_of_comp_eq_id (i.left ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ) (s₀ ≫ f.left) |
| 82 | (FiniteEtale.SectionUnit.section_over X Y f i s₀ hbase) |
| 83 | |
| 84 | private def scalarValue |
| 85 | (D : ProjectivePoint.PointParameterData.Chart.Data X i (s₀ ≫ f.left) g U hU) : |
| 86 | (Principal.FiniteEtaleResidueDetection.ambientFunctor U |
| 87 | (PrincipalPoint.Fraction.family U D.parameters) D.codimension (D.codimension+g)).obj |
| 88 | (Principal.SectionPresheaf.modules U hU (ProjectivePoint.KoszulMap.scalar i.left)) := by |
| 89 | letI : IsClosedImmersion (s₀ ≫ f.left) := pointClosed |
| 90 | (X := X) (Y := Y) (f := f) (i := i) (s₀ := s₀) (hbase := hbase) |
| 91 | exact ProjectivePoint.ResidueData.residue X i (s₀ ≫ f.left) |
| 92 | (SectionEvaluationNaturality.image_retraction R Y X f s₀ hbase) B hB U hU D |
| 93 | |
| 94 | private def finiteValue : |
| 95 | (Principal.FiniteEtaleResidueDetection.ambientFunctor U |
| 96 | (PrincipalPoint.Fraction.family U t) c (c+g)).obj |
| 97 | (Principal.SectionPresheaf.modules U hU ((Scheme.Modules.pushforward i.left).obj |
| 98 | (FiniteEtale.FormSheafDuality.source R Y X f g))) := by |
| 99 | letI : IsClosedImmersion (s₀ ≫ f.left) := pointClosed |
| 100 | (X := X) (Y := Y) (f := f) (i := i) (s₀ := s₀) (hbase := hbase) |
| 101 | letI := Finite.MapPureTrace.coefficients_quasicoherent f.left i.left |
| 102 | letI := Finite.MapPureTrace.coefficients_finiteType f.left i.left |
| 103 | exact Principal.FiniteEtaleAdjunctionPairing.finiteMap hcg X Y f i |
| 104 | (ProjectivePoint.Survivor.chart (R := R) (n := n)) B hB U hU |
| 105 | (PrincipalPoint.Fraction.family U t) (c+g) |
| 106 | (ProjectivePoint.CoefficientLocalClass.value i.left (s₀ ≫ f.left) |
| 107 | (FiniteEtale.SectionUnit.section_over X Y f i s₀ hbase) B hB |
| 108 | (Cech.StructurePullbackUnit.coefficients f.left i.left) |
| 109 | (Cech.SectionCoefficientUnit.sheafMap s₀ f.left i.left) U hU s t hst hcg) |
| 110 | |
| 111 | private abbrev parameterData : ProjectivePoint.PointParameterData.Chart.Data X i (s₀ ≫ f.left) g U hU := |
| 112 | { coordinate := k |
| 113 | below_coordinate := hUk |
| 114 | contains := hcontains |
| 115 | codimension := c |
| 116 | dimension := hcg |
| 117 | equations := s |
| 118 | generates := hs |
| 119 | regular := hreg |
| 120 | conormalBasis := bI |
| 121 | conormalBasis_apply := hI |
| 122 | parameters := t |
| 123 | quotientBasis := bQ |
| 124 | quotientBasis_apply := ht |
| 125 | point_generates := hst |
| 126 | point_regular := hregst |
| 127 | coordinateIndex := τ |
| 128 | finiteVariables := inferInstance |
| 129 | coordinates := inferInstance |
| 130 | coordinateTower := inferInstance |
| 131 | coordinateEtale := inferInstance |
| 132 | ambientBasis := b |
| 133 | ambientBasis_apply := hb } |
| 134 | |
| 135 | omit [SmoothOfRelativeDimension g X.hom] in |
| 136 | omit [Nonempty ↥X.left] [IsFinite (Over.Hom.left f)] [Etale (Over.Hom.left f)] [Smooth X.hom] [IsProper X.hom] [GeometricallyConnected X.hom] [Smooth Y.hom] [IsProper Y.hom] [GeometricallyConnected Y.hom] in |
| 137 | private theorem scalar_annihilated |
| 138 | (D : ProjectivePoint.PointParameterData.Chart.Data X i (s₀ ≫ f.left) g U hU) |
| 139 | (v : Γ(Projective.IntrinsicOverlap.Intrinsic.space R (n+1), U)) |
| 140 | (hv : v ∈ ((s₀ ≫ f.left) ≫ i.left).ker.ideal ⟨U,hU⟩) : |
| 141 | v • scalarValue (X := X) (Y := Y) (f := f) (i := i) |
| 142 | (s₀ := s₀) (hbase := hbase) (B := B) (hB := hB) (U := U) (hU := hU) D = 0 := by |
| 143 | let : IsClosedImmersion (s₀ ≫ f.left) := pointClosed |
| 144 | (X := X) (Y := Y) (f := f) (i := i) (s₀ := s₀) (hbase := hbase) |
| 145 | exact ProjectivePoint.ResidueDataAnnihilation.annihilated X i (s₀ ≫ f.left) |
| 146 | (SectionEvaluationNaturality.image_retraction R Y X f s₀ hbase) B hB U hU D v hv |
| 147 | |
| 148 | private theorem pairing_align {A : Type*} {a b c d : A} |
| 149 | (h : a = b) (ha : c = a) (hb : b = d) : c = d := |
| 150 | ha.trans (h.trans hb) |
| 151 | |
| 152 | local instance pairingTargetBase : Algebra R (Finite.FlatCoefficientSections.quotientRing i.left U) := |
| 153 | AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra R X (i.left ⁻¹ᵁ U) |
| 154 | local instance pairingSourceBase : Algebra R (Finite.FlatCoefficientSections.coefficientRing f.left i.left U) := |
| 155 | AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra R Y (f.left ⁻¹ᵁ (i.left ⁻¹ᵁ U)) |
| 156 | |
| 157 | omit [Nonempty ↥X.left] [GeometricallyConnected X.hom] [Smooth Y.hom] [IsProper Y.hom] [GeometricallyConnected Y.hom] in |
| 158 | private theorem pairing_data |
| 159 | (D : ProjectivePoint.PointParameterData.Chart.Data X i (s₀ ≫ f.left) g U hU) |
| 160 | (x : Finite.FlatCoefficientSections.coefficientRing f.left i.left U) : |
| 161 | (Principal.FiniteEtaleResidueDetection.ambientFunctor U |
| 162 | (PrincipalPoint.Fraction.family U D.parameters) D.codimension (D.codimension+g)).map |
| 163 | ((Principal.ModuleFunctor.functor U hU).map |
| 164 | (Principal.FiniteEtaleFormTensor.coefficientIso R X Y f i.left g).hom ≫ |
| 165 | Principal.HomEvaluation.map U hU (ProjectiveCoefficient.HomLocal.coefficient X f.left i) (ProjectiveCoefficient.HomLocal.formSheaf X i g) x) |
| 166 | (finiteValue (hcg := D.dimension) (X := X) (Y := Y) (f := f) (i := i) |
| 167 | (s₀ := s₀) (hbase := hbase) (B := B) (hB := hB) (U := U) (hU := hU) |
| 168 | (s := D.equations) (t := D.parameters) (hst := D.point_generates)) = |
| 169 | algebraMap R Γ(Projective.IntrinsicOverlap.Intrinsic.space R (n+1), U) |
| 170 | (Finite.SectionEvaluation.evaluation R X Y f s₀ hbase (i.left ⁻¹ᵁ U) D.contains x) • |
| 171 | (Principal.FiniteEtaleResidueDetection.ambientFunctor U |
| 172 | (PrincipalPoint.Fraction.family U D.parameters) D.codimension (D.codimension+g)).map |
| 173 | (Principal.PushforwardSection.map i.left U hU |
| 174 | (GeometricComparison.Integral.FormsModules.IntegralFormsModules.sheaf R X g) |
| 175 | (Integral.FormSectionUnit.unit R X g (i.left ⁻¹ᵁ U) |
| 176 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R (Finite.FlatCoefficientSections.quotientRing i.left U) 1 |
| 177 | (fun a => i.left.app U (D.parameters a))))) |
| 178 | (scalarValue (X := X) (Y := Y) (f := f) (i := i) |
| 179 | (s₀ := s₀) (hbase := hbase) (B := B) (hB := hB) (U := U) (hU := hU) D) := by |
| 180 | let := D.finiteVariables |
| 181 | let := D.coordinates |
| 182 | let := D.coordinateTower |
| 183 | let := D.coordinateEtale |
| 184 | have h := EtalePointPairingAligned.comparison D.dimension X Y f i s₀ hbase B hB |
| 185 | U hU D.contains D.coordinate D.below_coordinate D.equations D.generates D.regular |
| 186 | D.conormalBasis D.conormalBasis_apply D.quotientBasis D.parameters D.quotientBasis_apply |
| 187 | D.point_generates D.point_regular D.ambientBasis D.ambientBasis_apply D.coordinateIndex x |
| 188 | let : IsClosedImmersion (s₀ ≫ f.left) := pointClosed |
| 189 | (X := X) (Y := Y) (f := f) (i := i) (s₀ := s₀) (hbase := hbase) |
| 190 | have hn := ProjectivePoint.ResidueReferenceValue.Reference.comparison X i (s₀ ≫ f.left) |
| 191 | (SectionEvaluationNaturality.image_retraction R Y X f s₀ hbase) B hB U hU D |
| 192 | have hr := congrArg (fun y => |
| 193 | algebraMap R Γ(Projective.IntrinsicOverlap.Intrinsic.space R (n+1), U) |
| 194 | (Finite.SectionEvaluation.evaluation R X Y f s₀ hbase (i.left ⁻¹ᵁ U) D.contains x) • |
| 195 | (Supported.CechHomotopyEquivalence.functor |
| 196 | (R := Γ(Projective.IntrinsicOverlap.Intrinsic.space R (n+1), U)) (PrincipalPoint.Fraction.family U D.parameters) |
| 197 | (D.codimension+g)).map |
| 198 | ((single ((Principal.SectionPresheaf.Index U)ᵒᵖ ⥤ |
| 199 | ModuleCat.{u} Γ(Projective.IntrinsicOverlap.Intrinsic.space R (n+1), U)) (.up ℕ) D.codimension).map |
| 200 | (Principal.DifferentialSymbol.map R X (Projective.IntrinsicOverlap.Intrinsic.model R (n+1)) i U hU g |
| 201 | (fun a => i.left.app U (D.parameters a)))) y) hn |
| 202 | refine pairing_align h ?_ ?_ |
| 203 | · as_aux_lemma => rfl |
| 204 | · refine pairing_align hr ?_ ?_ |
| 205 | · as_aux_lemma => rfl |
| 206 | · as_aux_lemma => rfl |
| 207 | |
| 208 | abbrev formulas := by |
| 209 | let hsec := FiniteEtale.SectionUnit.section_over X Y f i s₀ hbase |
| 210 | let hsX := SectionEvaluationNaturality.image_retraction R Y X f s₀ hbase |
| 211 | let hpoint : ((s₀ ≫ f.left) ≫ i.left) ≫ (Projective.IntrinsicOverlap.Intrinsic.model R (n+1)).hom = 𝟙 _ := |
| 212 | (Category.assoc _ _ _).trans hsec |
| 213 | letI : IsClosedImmersion (s₀ ≫ f.left) := pointClosed |
| 214 | (X := X) (Y := Y) (f := f) (i := i) (s₀ := s₀) (hbase := hbase) |
| 215 | letI : Algebra R (Finite.FlatCoefficientSections.quotientRing i.left U) := AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra R X (i.left ⁻¹ᵁ U) |
| 216 | letI : Algebra R (Finite.FlatCoefficientSections.coefficientRing f.left i.left U) := |
| 217 | AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra R Y (f.left ⁻¹ᵁ (i.left ⁻¹ᵁ U)) |
| 218 | letI := Finite.SectionEvaluation.quotientAlgebra R X Y f s₀ hbase (i.left ⁻¹ᵁ U) hcontains |
| 219 | let ε := Finite.SectionEvaluation.evaluation R X Y f s₀ hbase (i.left ⁻¹ᵁ U) hcontains |
| 220 | let W := PrincipalPoint.Fraction.family U t |
| 221 | let F := Principal.FiniteEtaleResidueDetection.ambientFunctor U W c (c+g) |
| 222 | let D := parameterData (hcg := hcg) (X := X) (Y := Y) (f := f) (i := i) (s₀ := s₀) |
| 223 | (U := U) (hU := hU) (hcontains := hcontains) (k := k) (hUk := hUk) |
| 224 | (s := s) (hs := hs) (hreg := hreg) (bI := bI) (hI := hI) (bQ := bQ) |
| 225 | (t := t) (ht := ht) (hst := hst) (hregst := hregst) (b := b) (hb := hb) (τ := τ) |
| 226 | let r := scalarValue (X := X) (Y := Y) (f := f) (i := i) |
| 227 | (s₀ := s₀) (hbase := hbase) (B := B) (hB := hB) (U := U) (hU := hU) D |
| 228 | let a := finiteValue (hcg := hcg) (X := X) (Y := Y) (f := f) (i := i) |
| 229 | (s₀ := s₀) (hbase := hbase) (B := B) (hB := hB) (U := U) (hU := hU) |
| 230 | (s := s) (t := t) (hst := hst) |
| 231 | let ω := AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R (Finite.FlatCoefficientSections.quotientRing i.left U) 1 (fun v => i.left.app U (t v)) |
| 232 | have hlift (v : R) : |
| 233 | algebraMap (Finite.FlatCoefficientSections.quotientRing i.left U) R (i.left.app U (algebraMap R Γ(Projective.IntrinsicOverlap.Intrinsic.space R (n+1), U) v)) = v := by |
| 234 | change Intrinsic.SectionEvaluation.evaluation R X (s₀ ≫ f.left) hsX |
| 235 | (i.left ⁻¹ᵁ U) hcontains (i.left.app U (algebraMap R Γ(Projective.IntrinsicOverlap.Intrinsic.space R (n+1), U) v)) = v |
| 236 | rw [SectionEvaluationNaturality.pullback R X (Projective.IntrinsicOverlap.Intrinsic.model R (n+1)) i (s₀ ≫ f.left) hsX U hcontains] |
| 237 | exact (Intrinsic.SectionEvaluation.evaluation R (Projective.IntrinsicOverlap.Intrinsic.model R (n+1)) |
| 238 | ((s₀ ≫ f.left) ≫ i.left) hpoint U hcontains).commutes v |
| 239 | have hscalar (v : Γ(Projective.IntrinsicOverlap.Intrinsic.space R (n+1), U)) |
| 240 | (hv : algebraMap (Finite.FlatCoefficientSections.quotientRing i.left U) R (i.left.app U v) = 0) : v • r = 0 := by |
| 241 | have he := SectionEvaluationNaturality.pullback R X (Projective.IntrinsicOverlap.Intrinsic.model R (n+1)) i |
| 242 | (s₀ ≫ f.left) hsX U hcontains v |
| 243 | change Intrinsic.SectionEvaluation.evaluation R X (s₀ ≫ f.left) hsX |
| 244 | (i.left ⁻¹ᵁ U) hcontains (i.left.app U v) = 0 at hv |
| 245 | have hz : Intrinsic.SectionEvaluation.evaluation R (Projective.IntrinsicOverlap.Intrinsic.model R (n+1)) |
| 246 | ((s₀ ≫ f.left) ≫ i.left) hpoint U hcontains v = 0 := he.symm.trans hv |
| 247 | have hk : v ∈ ((s₀ ≫ f.left) ≫ i.left).ker.ideal ⟨U,hU⟩ := by |
| 248 | rw [← Intrinsic.SectionEvaluation.kernel R (Projective.IntrinsicOverlap.Intrinsic.model R (n+1)) |
| 249 | ((s₀ ≫ f.left) ≫ i.left) hpoint U hcontains hU] |
| 250 | exact hz |
| 251 | exact scalar_annihilated (X := X) (Y := Y) (f := f) (i := i) |
| 252 | (s₀ := s₀) (hbase := hbase) (B := B) (hB := hB) (U := U) (hU := hU) D v hk |
| 253 | have hpair (x : Finite.FlatCoefficientSections.coefficientRing f.left i.left U) : |
| 254 | F.map ((Principal.ModuleFunctor.functor U hU).map |
| 255 | (Principal.FiniteEtaleFormTensor.coefficientIso R X Y f i.left g).hom ≫ |
| 256 | Principal.HomEvaluation.map U hU (ProjectiveCoefficient.HomLocal.coefficient X f.left i) (ProjectiveCoefficient.HomLocal.formSheaf X i g) x) a = |
| 257 | algebraMap R Γ(Projective.IntrinsicOverlap.Intrinsic.space R (n+1), U) (ε x) • |
| 258 | F.map (Principal.PushforwardSection.map i.left U hU |
| 259 | (GeometricComparison.Integral.FormsModules.IntegralFormsModules.sheaf R X g) |
| 260 | (Integral.FormSectionUnit.unit R X g (i.left ⁻¹ᵁ U) ω)) r := by |
| 261 | exact pairing_data (X := X) (Y := Y) (f := f) (i := i) |
| 262 | (s₀ := s₀) (hbase := hbase) (B := B) (hB := hB) (U := U) (hU := hU) D x |
| 263 | exact And.intro |
| 264 | (Principal.FiniteEtaleResidueDetection.exists_residue R X Y f i.left U hU hgood g W c (c+g) |
| 265 | ε (algebraMap R Γ(Projective.IntrinsicOverlap.Intrinsic.space R (n+1), U)) hlift ω r a hscalar hpair) |
| 266 | (Principal.FiniteEtaleResidueDetection.eq_residue R X Y f i.left U hU hgood g W c (c+g) |
| 267 | ε (algebraMap R Γ(Projective.IntrinsicOverlap.Intrinsic.space R (n+1), U)) hlift ω r a hscalar hpair) |
| 268 | |
| 269 | abbrev exists_residue := |
| 270 | (formulas hcg X Y f i s₀ hbase B hB U hU hcontains hgood k hUk s hs hreg |
| 271 | bI hI bQ t ht hst hregst b hb τ).1 |
| 272 | |
| 273 | abbrev eq_residue := |
| 274 | (formulas hcg X Y f i s₀ hbase B hB U hU hcontains hgood k hUk s hs hreg |
| 275 | bI hI bQ t ht hst hregst b hb τ).2 |
| 276 | |
| 277 | end |
| 278 | |
| 279 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveFinite.EtalePointResidue |