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.LineBundle.ProperReciprocity |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.LineBundle.ProperResidueFamily |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.LineBundle.Intersection |
| 4 | |
| 5 | /-! # Proper Residue Chow -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.LineBundle.ProperResidueChow.Cycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! # LineBundleCycles: proper reciprocity kills line-bundle intersection with an actual principal divisor on a normal support -/ |
| 12 | |
| 13 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace _root_.Order |
| 14 | |
| 15 | variable {X : Scheme.{0}} [IsIntegral X] [AlgebraicGeometry.IsNoetherian X] |
| 16 | (L : LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle X) (a g : X.functionFieldˣ) |
| 17 | (hproper : Disjoint (L.rationalSectionPointDivisorWithCoefficient a).support (Ord.BundleCycles.principalDivisor X g.val).support) |
| 18 | (hNormal : ∀ x : X, IsIntegrallyClosed (X.presheaf.stalk x)) |
| 19 | (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [LocallyOfFiniteType f] (d : ℕ) |
| 20 | (hX : Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension f = d + 2) |
| 21 | |
| 22 | include hX |
| 23 | |
| 24 | theorem properLineBundleResidueContribution_chow (x : {x : X // coheight x = 1}) : |
| 25 | Point.CycleChow.BundleCycles.pointCycleToChowQ f d (ProperResidueContribution.Cycles.properLineBundleResidueContribution L a g hproper hNormal x) = |
| 26 | (X.ord g.val x : ℚ) • Point.CycleChow.BundleCycles.pointCycleToChowQ f d (Intersection.Cycles.lineBundleDivisorOnSupport L (irreducibleSetEquivPoints.symm x.val)) := by |
| 27 | let := hNormal x |
| 28 | have hW : Foundations.Scheme.SupportDimension.supportTranscendenceDimension (irreducibleSetEquivPoints.symm x.val) f = d + 1 := by |
| 29 | have h := DivisorClass.Chern.SupportCodimension.Construction.pointClosure_dimension_add_one f x x.property |
| 30 | omega |
| 31 | by_cases ha : L.rationalSectionPointDivisorWithCoefficient a x = 0 |
| 32 | · rw [ProperResidueContribution.Cycles.properLineBundleResidueContribution_zero_section L a g hproper hNormal x ha, map_zsmul, |
| 33 | L.restrictedRationalSectionPointCycle_class a x x.property ha f d hW] |
| 34 | exact (Int.cast_smul_eq_zsmul ℚ _ _).symm |
| 35 | · have hg := ProperResidueContribution.Cycles.properSection_function_order_zero L a g hproper x ha |
| 36 | rw [ProperResidueContribution.Cycles.properLineBundleResidueContribution_nonzero_section L a g hproper hNormal x ha, map_neg, map_zsmul, |
| 37 | Point.CycleChow.BundleCycles.pointCycleToChowQ_principal f d _ hW, smul_zero, neg_zero, hg, Int.cast_zero, zero_smul] |
| 38 | |
| 39 | theorem properLineBundleResidueCycle_chow : |
| 40 | Point.CycleChow.BundleCycles.pointCycleToChowQ f d (ProperResidueFamily.Cycles.properLineBundleResidueCycle L a g hproper hNormal) = |
| 41 | Point.CycleChow.BundleCycles.pointCycleToChowQ f d (Intersection.Cycles.lineBundlePointIntersection L (RationalDivisorRestriction.BundleCycles.rationalPrincipalPointDivisor X g.val)) := by |
| 42 | classical |
| 43 | rw [ProperResidueFamily.Cycles.properLineBundleResidueCycle_sum, map_sum, |
| 44 | Intersection.Cycles.lineBundlePointIntersection_divisor_sum L g.val (ProperResidueFamily.Cycles.properLineBundleResidueSupport L a g) Finset.subset_union_right, |
| 45 | map_sum] |
| 46 | apply Finset.sum_congr rfl |
| 47 | intro x _ |
| 48 | rw [map_smul] |
| 49 | exact properLineBundleResidueContribution_chow L a g hproper hNormal f d hX |
| 50 | ⟨x, ProperResidueFamily.Cycles.properLineBundleResidueSupport_coheight L a g x⟩ |
| 51 | |
| 52 | include a hproper hNormal in |
| 53 | theorem lineBundlePointIntersection_principal_zero_of_proper : |
| 54 | Point.CycleChow.BundleCycles.pointCycleToChowQ f d (Intersection.Cycles.lineBundlePointIntersection L (RationalDivisorRestriction.BundleCycles.rationalPrincipalPointDivisor X g.val)) = 0 := by |
| 55 | rw [← properLineBundleResidueCycle_chow L a g hproper hNormal f d hX, |
| 56 | ProperReciprocity.Cycles.properLineBundleResidueCycle_zero L a g hproper hNormal f, map_zero] |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.Divisors.LineBundles.LineBundle.ProperResidueChow.Cycles |