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.SymmetricProjective.Integral |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Symmetric.RankOneProjective |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.LineBundle.GenericClass |
| 4 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Integral.FiberFieldNaturality |
| 5 | |
| 6 | /-! # Has -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.SymmetricProjective.Has.BundleCycles |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The actual symmetric projective line and its dimension-one |
| 13 | affine source charts over the coefficient spectrum. -/ |
| 14 | |
| 15 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 16 | |
| 17 | variable (R : Type) [CommRing R] |
| 18 | |
| 19 | def symmetricProjectiveLineBasis : Module.Basis (Unit ⊕ Unit) R (R × R) := |
| 20 | (Module.Basis.singleton Unit R).prod (Module.Basis.singleton Unit R) |
| 21 | |
| 22 | theorem symmetricProjectiveLine_hasSourceCharts : |
| 23 | AffineSpace.SourceRank.BundleCycles.HasAffineSpaceSourceChartsOfRank (Scheme.BundleCycles.symmetricProjectiveToBase R (R × R)) 1 := by |
| 24 | have h := Symmetric.BasisAffineChart.BundleCycles.symmetricProjective_hasAffineSpaceSourceChartsOfRank (symmetricProjectiveLineBasis R) |
| 25 | have hc : Nat.card (Unit ⊕ Unit) - 1 = 1 := by simp [Nat.card_eq_fintype_card] |
| 26 | exact hc ▸ h |
| 27 | |
| 28 | instance symmetricProjectiveLine_geometricallyIntegral : |
| 29 | GeometricallyIntegral (Scheme.BundleCycles.symmetricProjectiveToBase R (R × R)) := |
| 30 | IntegralFibers.BundleCycles.symmetricProjective_geometricallyIntegral (symmetricProjectiveLineBasis R) |
| 31 | |
| 32 | instance symmetricRankOneProjective_isIntegral [IsDomain R] : |
| 33 | IsIntegral (Scheme.BundleCycles.symmetricProjectiveScheme R R) := |
| 34 | IsIntegral.of_isIso (inv (Scheme.BundleCycles.symmetricProjectiveToBase R R)) |
| 35 | |
| 36 | instance symmetricProjectiveLine_isIntegral [IsNoetherianRing R] [IsDomain R] : |
| 37 | IsIntegral (Scheme.BundleCycles.symmetricProjectiveScheme R (R × R)) := |
| 38 | Integral.BundleCycles.symmetricProjective_isIntegral_of_basis R (R × R) (symmetricProjectiveLineBasis R) |
| 39 | |
| 40 | theorem symmetricProjectiveLine_dimension [IsNoetherianRing R] [IsDomain R] |
| 41 | (f : Spec (.of R) ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [LocallyOfFiniteType f] : |
| 42 | Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension (Scheme.BundleCycles.symmetricProjectiveToBase R (R × R) ≫ f) = |
| 43 | Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension f + 1 := by |
| 44 | have h := AffineSpace.SourceRank.BundleCycles.affineSpaceSourceFiberGenericPoint_dimension (Scheme.BundleCycles.symmetricProjectiveToBase R (R × R)) f 1 |
| 45 | (symmetricProjectiveLine_hasSourceCharts R) (genericPoint (Spec (.of R))) |
| 46 | rw [Integral.FiberFieldNaturality.BundleCycles.integralFiberGenericPoint_generic, LineBundle.GenericClass.Cycles.genericPointSupport_dimension, LineBundle.GenericClass.Cycles.genericPointSupport_dimension] at h |
| 47 | exact h |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.Divisors.LineBundles.SymmetricProjective.Has.BundleCycles |