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.StalkResidueFamily |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.ResidueSupportCoheight |
| 3 | |
| 4 | /-! # Normal Reciprocity -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Global.NormalReciprocity.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # LineBundleCycles: complete geometric residue reciprocity on normal finite-type schemes |
| 12 | |
| 13 | Every nonzero contribution is supported at coheight two. At each such |
| 14 | point the full boundary restricts to the actual local surface boundary, |
| 15 | which has been proved zero for all pairs of rational functions. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace _root_.Order |
| 19 | open scoped Classical |
| 20 | |
| 21 | variable (X : Scheme.{0}) [IsIntegral X] [AlgebraicGeometry.IsNoetherian X] |
| 22 | (hNormal : ∀ y : X, IsIntegrallyClosed (X.presheaf.stalk y)) |
| 23 | (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [LocallyOfFiniteType f] |
| 24 | |
| 25 | include f |
| 26 | |
| 27 | theorem normalResidueBoundaryCycle_zero (g h : X.functionFieldˣ) : |
| 28 | Normal.PointResidue.BundleCycles.normalResidueBoundaryCycle X hNormal g h = 0 := by |
| 29 | ext y |
| 30 | by_cases hy : coheight y = 2 |
| 31 | · exact StalkResidueFamily.BundleCycles.normalResidueBoundary_coefficient_zero_of_coheight_two X hNormal y g h hy |
| 32 | · unfold Normal.PointResidue.BundleCycles.normalResidueBoundaryCycle |
| 33 | rw [Finsupp.finsetSum_apply] |
| 34 | apply Finset.sum_eq_zero |
| 35 | intro p _ |
| 36 | by_contra hz |
| 37 | exact hy (ResidueSupportCoheight.BundleCycles.primeSupport_divisor_coheight_two f p (Normal.PointResidue.BundleCycles.residueDivisorSupport_coheight X g h p) |
| 38 | (Normal.PointResidue.BundleCycles.normalResidueFunctionOnSupport X hNormal g h p) y hz) |
| 39 | |
| 40 | theorem normalGradedResidueBoundaryCycle_zero (d : ℕ) |
| 41 | (hX : Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension f = d + 2) (g h : X.functionFieldˣ) : |
| 42 | Normal.PointResidue.BundleCycles.normalGradedResidueBoundaryCycle X hNormal f d g h = 0 := by |
| 43 | apply Graded.GlobalSpecialization.BundleCycles.schemeDimensionCycleInclusion_injective f d |
| 44 | rw [Normal.PointResidue.BundleCycles.normalGradedResidueBoundaryCycle_push X hNormal f d hX g h, |
| 45 | normalResidueBoundaryCycle_zero X hNormal f g h, map_zero] |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Global.NormalReciprocity.BundleCycles |