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.GlobalConormal.InfinityRankAtPoint |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Free.ChartsOpenBaseChange |
| 3 | |
| 4 | /-! # Infinity Open Charts -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.GlobalConormal.InfinityOpenCharts.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Over any open subset of positive constant affine conormal rank, |
| 11 | the actual infinity pullback has free infinity charts of one lower rank. -/ |
| 12 | |
| 13 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 14 | |
| 15 | variable {X Y U : Scheme.{0}} [AlgebraicGeometry.IsNoetherian Y] |
| 16 | (p : Y ⟶ X) [Smooth p] (s : X ⟶ Y) [IsClosedImmersion s] (hs : s ≫ p = 𝟙 X) |
| 17 | (f : s.ker.subscheme ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [LocallyOfFiniteType f] |
| 18 | (i : U ⟶ s.ker.subscheme) [IsOpenImmersion i] (r : ℕ) |
| 19 | (hq : AffineSpace.SourceRank.BundleCycles.HasAffineSpaceSourceChartsOfRank (pullback.snd (Conormal.SupportCover.BundleCycles.globalConormalToSupport s.ker) i) (r + 1)) |
| 20 | |
| 21 | include p hs f hq in |
| 22 | theorem globalConormalInfinity_openBaseChange_hasFreeChartsOfRank : |
| 23 | Free.InfinityCharts.BundleCycles.HasFreeProjectiveInfinityChartsOfRank (pullback.snd (Conormal.InfinitySupport.BundleCycles.globalConormalInfinityToSupport s.ker) i) |
| 24 | (((InfinityBundle.Cycles.globalConormalInfinityIdealLineBundle s.ker).pullback (InfinityInclusion.BundleCycles.globalConormalInfinityInclusion s.ker)).pullback |
| 25 | (pullback.fst (Conormal.InfinitySupport.BundleCycles.globalConormalInfinityToSupport s.ker) i)) r := by |
| 26 | have HP := FreeInfinityCharts.BundleCycles.globalConormal_hasFreeInfinityCharts p s hs |
| 27 | let : GeometricallyIntegral (Conormal.ProjectiveProper.BundleCycles.globalConormalProjectiveToSupport s.ker) := Free.InfinityCharts.BundleCycles.freeInfinityCharts_geometricallyIntegral _ _ HP |
| 28 | have HQ := Affine.SpaceChartBaseChange.BundleCycles.hasAffineSpaceCharts_of_specCharts (Conormal.SupportCover.BundleCycles.globalConormalToSupport s.ker) |
| 29 | (Global.SectionAffineSpaceCharts.BundleCycles.globalSection_exists_affineSpaceChart p s hs) |
| 30 | let : GeometricallyIntegral (Conormal.SupportCover.BundleCycles.globalConormalToSupport s.ker) := HQ.geometricallyIntegral |
| 31 | let : AlgebraicGeometry.IsNoetherian U := Open.ImmersionNoetherian.BundleCycles.openImmersion_isNoetherian i |
| 32 | let : AlgebraicGeometry.IsNoetherian (pullback (Conormal.SupportCover.BundleCycles.globalConormalToSupport s.ker) i : Scheme) := |
| 33 | Open.ImmersionNoetherian.BundleCycles.openImmersion_isNoetherian (pullback.fst (Conormal.SupportCover.BundleCycles.globalConormalToSupport s.ker) i) |
| 34 | apply Free.ChartsOpenBaseChange.BundleCycles.freeInfinityCharts_openBaseChange_of_rank _ _ i r |
| 35 | intro u |
| 36 | apply InfinityRankAtPoint.BundleCycles.globalConormalInfinity_hasFreeChart_of_fiberRank p s hs f r (i u) |
| 37 | rw [AffineBundle.FiberRankOpen.Cycles.affineBundleFiberRank_openSquare (Conormal.SupportCover.BundleCycles.globalConormalToSupport s.ker) |
| 38 | (pullback.snd (Conormal.SupportCover.BundleCycles.globalConormalToSupport s.ker) i) i (pullback.fst (Conormal.SupportCover.BundleCycles.globalConormalToSupport s.ker) i) |
| 39 | (pullback.condition.symm) f u] |
| 40 | exact AffineBundle.FiberRank.Cycles.affineBundleFiberRank_eq_of_rank _ (i ≫ f) (r + 1) hq u |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.AlgebraicGeometry.Divisors.LineBundles.GlobalConormal.InfinityOpenCharts.BundleCycles |