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.AlgebraicGeometry.Divisors.LineBundles.Geometric.ResidueRegular |
| 2 | import Mathlib.RingTheory.DiscreteValuationRing.TFAE |
| 3 | import Mathlib.RingTheory.KrullDimension.Field |
| 4 | |
| 5 | /-! # Point Residue -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Normal.PointResidue.BundleCycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! |
| 14 | # LineBundleCycles: residue functions at normal codimension-one points |
| 15 | |
| 16 | An integrally closed codimension-one local ring on an integral Noetherian |
| 17 | scheme is a DVR. The local-ring dimension and non-field conditions are |
| 18 | proved from the actual point's coheight. A uniformizer can then be chosen |
| 19 | to construct the already proved, choice-independent geometric residue |
| 20 | function. This is the local normality criterion used on normalization. |
| 21 | -/ |
| 22 | |
| 23 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace _root_.Order |
| 24 | |
| 25 | variable (X : Scheme) [IsIntegral X] [AlgebraicGeometry.IsNoetherian X] |
| 26 | variable (x : X) (hx : coheight x = 1) [IsIntegrallyClosed (X.presheaf.stalk x)] |
| 27 | |
| 28 | include hx |
| 29 | |
| 30 | theorem normal_stalk_isDVR : IsDiscreteValuationRing (X.presheaf.stalk x) := by |
| 31 | let R := X.presheaf.stalk x |
| 32 | let : Ring.KrullDimLE 1 R := krullDimLE_of_coheight_le hx.le |
| 33 | let : Ring.DimensionLEOne R := ⟨fun hn hp => hp.isMaximal_of_ne_bot hn⟩ |
| 34 | let : IsDedekindDomain R := |
| 35 | { toIsDomain := inferInstance |
| 36 | toIsDedekindRing := |
| 37 | { toIsNoetherian := inferInstance |
| 38 | toDimensionLEOne := inferInstance |
| 39 | toIsIntegralClosure := inferInstance } } |
| 40 | have hn : ¬ IsField R := by |
| 41 | intro hf |
| 42 | have hzero := ringKrullDim_eq_zero_of_isField hf |
| 43 | change ringKrullDim (X.presheaf.stalk x) = 0 at hzero |
| 44 | rw [ringKrullDim_stalk_eq_coheight, hx] at hzero |
| 45 | exact (by decide : (1 : WithBot ℕ∞) ≠ 0) hzero |
| 46 | have ht : IsDiscreteValuationRing R ↔ IsDedekindDomain R := |
| 47 | (IsDiscreteValuationRing.TFAE R hn).out 1 3 |
| 48 | exact ht.mpr inferInstance |
| 49 | |
| 50 | def normalPointResidueFunction (g h : X.functionFieldˣ) : |
| 51 | (CycleClass.Geometric.GenericPoint.reducedSupportScheme (irreducibleSetEquivPoints.symm x)).functionField := |
| 52 | letI := normal_stalk_isDVR X x hx |
| 53 | let π := Classical.choose (IsDiscreteValuationRing.exists_irreducible (X.presheaf.stalk x)) |
| 54 | Geometric.ResidueFunction.BundleCycles.geometricResidueFunction X x π (Classical.choose_spec (IsDiscreteValuationRing.exists_irreducible _)) g h |
| 55 | |
| 56 | theorem normalPointResidueFunction_ne_zero (g h : X.functionFieldˣ) : |
| 57 | normalPointResidueFunction X x hx g h ≠ 0 := by |
| 58 | let := normal_stalk_isDVR X x hx |
| 59 | exact Geometric.ResidueFunction.BundleCycles.geometricResidueFunction_ne_zero X x _ _ g h |
| 60 | |
| 61 | theorem normalPointResidueFunction_eq (π : X.presheaf.stalk x) (hπ : Irreducible π) |
| 62 | (g h : X.functionFieldˣ) : |
| 63 | letI := normal_stalk_isDVR X x hx |
| 64 | normalPointResidueFunction X x hx g h = Geometric.ResidueFunction.BundleCycles.geometricResidueFunction X x π hπ g h := by |
| 65 | let := normal_stalk_isDVR X x hx |
| 66 | exact Geometric.ResidueFunction.BundleCycles.geometricResidueFunction_independent X x _ _ π hπ g h |
| 67 | |
| 68 | end |
| 69 | |
| 70 | /-! |
| 71 | # LineBundleCycles: the finite geometric residue boundary on a normal scheme |
| 72 | |
| 73 | The union of the two actual principal-divisor supports is finite and |
| 74 | consists of codimension-one points. Local integral closure supplies the |
| 75 | nonzero rational residue function on each reduced support. Their actual |
| 76 | principal divisors form a finite cycle, with complete grading recovery |
| 77 | and zero Chow class. The further equality with the iterated intersection |
| 78 | boundary requires reciprocity and is not asserted here. |
| 79 | -/ |
| 80 | |
| 81 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace _root_.Order |
| 82 | |
| 83 | variable (X : Scheme) [IsIntegral X] [AlgebraicGeometry.IsNoetherian X] |
| 84 | |
| 85 | theorem principalDivisor_support_coheight (g : X.functionField) (x : X) |
| 86 | (hx : x ∈ (Ord.BundleCycles.principalDivisor X g).support) : coheight x = 1 := by |
| 87 | by_contra h |
| 88 | exact (Finsupp.mem_support_iff.mp hx) (Scheme.ord_eq_zero_of_coheight_neq_one h g) |
| 89 | |
| 90 | def residueDivisorSupport (g h : X.functionFieldˣ) : Finset X := by |
| 91 | classical |
| 92 | exact (Ord.BundleCycles.principalDivisor X (g : X.functionField)).support ∪ (Ord.BundleCycles.principalDivisor X (h : X.functionField)).support |
| 93 | |
| 94 | theorem residueDivisorSupport_coheight (g h : X.functionFieldˣ) (x : residueDivisorSupport X g h) : |
| 95 | coheight (x : X) = 1 := by |
| 96 | classical |
| 97 | rcases Finset.mem_union.mp x.2 with hx | hx |
| 98 | · exact principalDivisor_support_coheight X (g : X.functionField) x hx |
| 99 | · exact principalDivisor_support_coheight X (h : X.functionField) x hx |
| 100 | |
| 101 | variable (hNormal : ∀ x : X, IsIntegrallyClosed (X.presheaf.stalk x)) |
| 102 | |
| 103 | def normalResidueFunctionOnSupport (g h : X.functionFieldˣ) (x : residueDivisorSupport X g h) : |
| 104 | (CycleClass.Geometric.GenericPoint.reducedSupportScheme (irreducibleSetEquivPoints.symm (x : X))).functionField := |
| 105 | letI := hNormal x |
| 106 | normalPointResidueFunction X x (residueDivisorSupport_coheight X g h x) g h |
| 107 | |
| 108 | theorem normalResidueFunctionOnSupport_ne_zero (g h : X.functionFieldˣ) |
| 109 | (x : residueDivisorSupport X g h) : normalResidueFunctionOnSupport X hNormal g h x ≠ 0 := by |
| 110 | let := hNormal x |
| 111 | exact normalPointResidueFunction_ne_zero X x (residueDivisorSupport_coheight X g h x) g h |
| 112 | |
| 113 | /-- The actual finite sum of principal divisors of the residue functions. -/ |
| 114 | def normalResidueBoundaryCycle (g h : X.functionFieldˣ) : X →₀ ℚ := |
| 115 | ∑ x : residueDivisorSupport X g h, |
| 116 | Graded.GlobalSpecialization.BundleCycles.schemePrincipalPointDivisor (irreducibleSetEquivPoints.symm (x : X)) |
| 117 | (normalResidueFunctionOnSupport X hNormal g h x) |
| 118 | |
| 119 | variable (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) |
| 120 | |
| 121 | def normalGradedResidueBoundaryCycle (d : ℕ) (g h : X.functionFieldˣ) : Graded.GlobalSpecialization.BundleCycles.SchemeDimensionCyclePoint f d →₀ ℚ := |
| 122 | ∑ x : residueDivisorSupport X g h, |
| 123 | Graded.GlobalSpecialization.BundleCycles.schemeGradedPrincipalDivisor f d (irreducibleSetEquivPoints.symm (x : X)) |
| 124 | (normalResidueFunctionOnSupport X hNormal g h x) |
| 125 | |
| 126 | variable [LocallyOfFiniteType f] |
| 127 | |
| 128 | theorem normalResidueSupport_dimension (d : ℕ) (hX : Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension f = d + 2) |
| 129 | (g h : X.functionFieldˣ) (x : residueDivisorSupport X g h) : |
| 130 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension (irreducibleSetEquivPoints.symm (x : X)) f = d + 1 := by |
| 131 | have hd := DivisorClass.Chern.SupportCodimension.Construction.pointClosure_dimension_add_one f x (residueDivisorSupport_coheight X g h x) |
| 132 | omega |
| 133 | |
| 134 | theorem normalGradedResidueBoundaryCycle_push (d : ℕ) (hX : Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension f = d + 2) |
| 135 | (g h : X.functionFieldˣ) : |
| 136 | Graded.GlobalSpecialization.BundleCycles.schemeDimensionCycleInclusion f d (normalGradedResidueBoundaryCycle X hNormal f d g h) = |
| 137 | normalResidueBoundaryCycle X hNormal g h := by |
| 138 | unfold normalGradedResidueBoundaryCycle normalResidueBoundaryCycle |
| 139 | rw [map_sum] |
| 140 | apply Finset.sum_congr rfl |
| 141 | intro x _ |
| 142 | exact Graded.GlobalSpecialization.BundleCycles.schemeGradedPrincipalDivisor_push f d _ (normalResidueSupport_dimension X f d hX g h x) _ |
| 143 | |
| 144 | /-- Every summand is a constructed principal divisor of the correct dimension. -/ |
| 145 | theorem normalGradedResidueBoundaryCycle_chow_zero (d : ℕ) (hX : Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension f = d + 2) |
| 146 | (g h : X.functionFieldˣ) : |
| 147 | DimensionChow.BundleCycles.dimensionCycleToChowQ f d (normalGradedResidueBoundaryCycle X hNormal f d g h) = 0 := by |
| 148 | unfold normalGradedResidueBoundaryCycle |
| 149 | rw [map_sum] |
| 150 | apply Finset.sum_eq_zero |
| 151 | intro x _ |
| 152 | exact DimensionChow.BundleCycles.dimensionCycleToChowQ_principal f d _ (normalResidueSupport_dimension X f d hX g h x) _ |
| 153 | (normalResidueFunctionOnSupport_ne_zero X hNormal g h x) |
| 154 | |
| 155 | end |
| 156 | |
| 157 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Normal.PointResidue.BundleCycles |