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.Free.InfinityCharts |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.AffineSource.RankCommonOpen |
| 3 | |
| 4 | /-! # Charts Rank From Open -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Free.ChartsRankFromOpen.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A constant-rank affine open determines the ranks of every actual |
| 11 | free projective infinity chart of its integral compactification. -/ |
| 12 | |
| 13 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 14 | |
| 15 | variable {E A X : Scheme.{0}} [AlgebraicGeometry.IsNoetherian E] |
| 16 | [AlgebraicGeometry.IsNoetherian A] [AlgebraicGeometry.IsNoetherian X] |
| 17 | (p : E ⟶ X) (q : A ⟶ X) [GeometricallyIntegral p] [GeometricallyIntegral q] |
| 18 | (j : A ⟶ E) [IsOpenImmersion j] (hj : j ≫ p = q) |
| 19 | (L : LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle E) (H : ProjectiveInfinityChart.BundleCycles.HasFreeProjectiveInfinityCharts p L) |
| 20 | (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [LocallyOfFiniteType f] |
| 21 | (r : ℕ) (hq : AffineSpace.SourceRank.BundleCycles.HasAffineSpaceSourceChartsOfRank q r) |
| 22 | |
| 23 | include H hj f hq in |
| 24 | theorem freeInfinityCharts_rank_of_open : InfinityCharts.BundleCycles.HasFreeProjectiveInfinityChartsOfRank p L r := by |
| 25 | intro x |
| 26 | obtain ⟨C⟩ := H x |
| 27 | obtain ⟨u, _⟩ := C.contains |
| 28 | let : AlgebraicGeometry.IsNoetherian (Spec C.coefficient) := Open.ImmersionNoetherian.BundleCycles.openImmersion_isNoetherian C.baseMap |
| 29 | let : AlgebraicGeometry.IsNoetherian |
| 30 | (SymmetricProjective.Scheme.BundleCycles.symmetricProjectiveScheme C.coefficient (C.coefficient × C.module)) := |
| 31 | Open.ImmersionNoetherian.BundleCycles.openImmersion_isNoetherian C.totalMap |
| 32 | let : GeometricallyIntegral (SymmetricProjective.Scheme.BundleCycles.symmetricProjectiveToBase C.coefficient (C.coefficient × C.module)) := |
| 33 | Augmented.BasisSourceCharts.BundleCycles.symmetricAugmentedBasis_geometricallyIntegral C.basis |
| 34 | have hC : AffineSpace.SourceRank.BundleCycles.HasAffineSpaceSourceChartsOfRank |
| 35 | (SymmetricProjective.Scheme.BundleCycles.symmetricProjectiveToBase C.coefficient (C.coefficient × C.module)) C.rank := by |
| 36 | simpa only [Nat.card_fin] using Augmented.BasisSourceCharts.BundleCycles.symmetricAugmentedBasis_sourceCharts C.basis |
| 37 | exact ⟨C, (AffineSource.RankCommonOpen.BundleCycles.affineSpaceSourceRank_commonOpen p q |
| 38 | (SymmetricProjective.Scheme.BundleCycles.symmetricProjectiveToBase C.coefficient (C.coefficient × C.module)) |
| 39 | j C.totalMap C.baseMap hj C.square.w f r C.rank hq hC u).symm⟩ |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Free.ChartsRankFromOpen.BundleCycles |