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.AffineSource.ChowDegreeOpen |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.TopDimensionChow |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Free.InfinityDegreeAllRanks |
| 4 | import OAI.AlgebraicGeometry.Divisors.LineBundles.AffineBundle.Localization |
| 5 | |
| 6 | /-! # Projective Chart Top Degree -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Free.ProjectiveChartTopDegree.BundleCycles |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! An actual finite free projective chart around the generic point |
| 13 | determines the top intersection degree over an integral base. -/ |
| 14 | |
| 15 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 16 | |
| 17 | variable {E X : Scheme.{0}} [AlgebraicGeometry.IsNoetherian E] |
| 18 | [AlgebraicGeometry.IsNoetherian X] [E.IsSeparated] [X.IsSeparated] [IsIntegral X] |
| 19 | (p : E ⟶ X) [IsProper p] [Smooth p] [GeometricallyIntegral p] |
| 20 | (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [LocallyOfFiniteType f] (L : LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle E) |
| 21 | {R M ι : Type} [CommRing R] [IsDomain R] [IsNoetherianRing R] |
| 22 | [AddCommGroup M] [Module R M] [Module.Finite R M] [Fintype ι] |
| 23 | (b : Module.Basis ι R M) |
| 24 | [Smooth (SymmetricProjective.Scheme.BundleCycles.symmetricProjectiveToBase R (R × M))] |
| 25 | [GeometricallyIntegral (SymmetricProjective.Scheme.BundleCycles.symmetricProjectiveToBase R (R × M))] |
| 26 | (i : Spec (.of R) ⟶ X) (j : SymmetricProjective.Scheme.BundleCycles.symmetricProjectiveScheme R (R × M) ⟶ E) |
| 27 | [IsOpenImmersion i] [IsOpenImmersion j] |
| 28 | (hs : IsPullback (SymmetricProjective.Scheme.BundleCycles.symmetricProjectiveToBase R (R × M)) j i p) |
| 29 | (e : (L.pullback j).sheaf ≅ (SymmetricInfinity.Bundle.Cycles.symmetricInfinityIdealLineBundle R M).sheaf) |
| 30 | (n : ℕ) (hn : Nat.card ι = n) |
| 31 | (hp : AffineSpace.SourceRank.BundleCycles.HasAffineSpaceSourceChartsOfRank p n) |
| 32 | (hq : AffineSpace.SourceRank.BundleCycles.HasAffineSpaceSourceChartsOfRank (SymmetricProjective.Scheme.BundleCycles.symmetricProjectiveToBase R (R × M)) n) |
| 33 | |
| 34 | include b hs e hn hq in |
| 35 | theorem freeProjectiveChart_top_degree (d : ℕ) (hd : Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension f = d) |
| 36 | (α : DimensionChow.BundleCycles.DimensionChowQ f d) : |
| 37 | Proper.ChowNe.BundleCycles.properChowPushforward p f d |
| 38 | (LineBundle.SeparatedChowPower.Cycles.separatedLineBundleChowPower L (p ≫ f) d n |
| 39 | (AffineSpace.SourceChowExtension.BundleCycles.affineSpaceSourceChowExtension p f n hp d α)) = (-1 : ℚ) ^ n • α := by |
| 40 | apply TopDimensionChow.BundleCycles.openChowRestriction_top_injective f i d hd |
| 41 | rw [AffineSource.ChowDegreeOpen.BundleCycles.affineSourceChowDegree_openSquare p (SymmetricProjective.Scheme.BundleCycles.symmetricProjectiveToBase R (R × M)) i j hs.w |
| 42 | (AffineBundle.Localization.Cycles.schemePullback_range p (SymmetricProjective.Scheme.BundleCycles.symmetricProjectiveToBase R (R × M)) i j hs) f L n hp hq, |
| 43 | LineBundle.SeparatedChowIso.Cycles.separatedLineBundleChowPower_iso e, |
| 44 | InfinityDegreeAllRanks.BundleCycles.freeSymmetricInfinityChow_degree b (i ≫ f) n hn hq, map_smul] |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Free.ProjectiveChartTopDegree.BundleCycles |