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.NormalPrincipalChow |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.LineBundle.FinitePointProjection |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.NormalizationDivisorPushforward |
| 4 | import OAI.AlgebraicGeometry.Divisors.LineBundles.NormalizationResidue |
| 5 | |
| 6 | /-! # Principal Chow -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.LineBundle.PrincipalChow.Cycles |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! # LineBundleCycles: line-bundle intersection kills actual principal divisors on singular integral schemes affine over projective schemes -/ |
| 13 | |
| 14 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Normalization.Scheme OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Normalization.Fields OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.CyclePushforward |
| 17 | |
| 18 | variable {X Y : Scheme.{0}} [IsIntegral X] [AlgebraicGeometry.IsNoetherian X] |
| 19 | {fY : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} (P : Foundations.Scheme.SmoothProjective.ProjectivePresentation Y fY) (q : X ⟶ Y) [IsAffineHom q] |
| 20 | (L : LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle X) (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [LocallyOfFiniteType f] |
| 21 | (d : ℕ) (hX : Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension f = d + 2) |
| 22 | |
| 23 | include P q hX in |
| 24 | theorem lineBundlePointIntersection_principal_zero (g : X.functionFieldˣ) : |
| 25 | Point.CycleChow.BundleCycles.pointCycleToChowQ f d (Intersection.Cycles.lineBundlePointIntersection L (RationalDivisorRestriction.BundleCycles.rationalPrincipalPointDivisor X g.val)) = 0 := by |
| 26 | let N := IntersectionTheory.ProjectionFormula.Normalization.Scheme.normalization X |
| 27 | let ν := IntersectionTheory.ProjectionFormula.Normalization.Scheme.normalizationMap X |
| 28 | let : IsFinite ν := IntersectionTheory.ProjectionFormula.Normalization.Scheme.normalizationMap_isFinite X f |
| 29 | let : AlgebraicGeometry.IsNoetherian N := NormalizationResidue.BundleCycles.finiteNormalization_noetherian X f |
| 30 | let gN := NormalizationResidue.BundleCycles.normalizationFunctionUnit X g |
| 31 | have hN : Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension (ν ≫ f) = d + 2 := (NormalizationResidue.BundleCycles.finiteNormalization_dimension X f).trans hX |
| 32 | have hn := NormalPrincipalChow.Cycles.normalLineBundlePointIntersection_principal_zero P (ν ≫ q) (L.pullback ν) |
| 33 | (IntersectionTheory.ProjectionFormula.Normalization.Scheme.normalization_stalk_integrallyClosed X) (ν ≫ f) d hN gN |
| 34 | have hdim : ∀ x : N, RationalDivisorRestriction.BundleCycles.rationalPrincipalPointDivisor N gN.val x ≠ 0 → |
| 35 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension (irreducibleSetEquivPoints.symm x) (ν ≫ f) = d + 1 := by |
| 36 | intro x hx |
| 37 | have horder : Ord.BundleCycles.principalDivisor N gN.val x ≠ 0 := by |
| 38 | intro hz |
| 39 | apply hx |
| 40 | change (Ord.BundleCycles.principalDivisor N gN.val x : ℚ) = 0 |
| 41 | rw [hz, Int.cast_zero] |
| 42 | have hc := Normal.PointResidue.BundleCycles.principalDivisor_support_coheight N gN.val x (Finsupp.mem_support_iff.mpr horder) |
| 43 | have hd := DivisorClass.Chern.SupportCodimension.Construction.pointClosure_dimension_add_one (ν ≫ f) x hc |
| 44 | omega |
| 45 | have hp := FinitePointProjection.Cycles.lineBundlePointIntersection_finite_projection ν f L d (RationalDivisorRestriction.BundleCycles.rationalPrincipalPointDivisor N gN.val) hdim |
| 46 | have hz := congrArg (Finite.ChowPushforward.BundleCycles.finiteChowPushforward ν f d) hn |
| 47 | rw [map_zero] at hz |
| 48 | have he := hp.symm.trans hz |
| 49 | have hg := NormalizationDivisorPushforward.BundleCycles.normalizationPrincipalDivisor_pushforward X f g.val g.ne_zero |
| 50 | exact (congrArg (fun z => Point.CycleChow.BundleCycles.pointCycleToChowQ f d (Intersection.Cycles.lineBundlePointIntersection L z)) hg).symm.trans he |
| 51 | |
| 52 | include P q hX in |
| 53 | theorem lineBundlePointIntersection_principal_nonzero (g : X.functionField) (hg : g ≠ 0) : |
| 54 | Point.CycleChow.BundleCycles.pointCycleToChowQ f d (Intersection.Cycles.lineBundlePointIntersection L (RationalDivisorRestriction.BundleCycles.rationalPrincipalPointDivisor X g)) = 0 := |
| 55 | lineBundlePointIntersection_principal_zero P q L f d hX (Units.mk0 g hg) |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.Divisors.LineBundles.LineBundle.PrincipalChow.Cycles |