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.Integral.CartierGenericPoint |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.LineBundle.GenericClass |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Point.SupportDimension |
| 4 | |
| 5 | /-! # Immersion Codimension -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Principal.ImmersionCodimension.BundleCycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual principal image ideal gives codimension one for an integral closed fiber, hence the native analytic dimension equality. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 14 | |
| 15 | theorem integralPrincipalImmersion_dimension {Y X : Scheme.{0}} [IsIntegral X] [IsIntegral Y] |
| 16 | [AlgebraicGeometry.IsNoetherian X] (i : Y ⟶ X) [IsClosedImmersion i] |
| 17 | (hi : Cartier.IdealBundle.Cycles.HasRegularPrincipalImageIdeals i) (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [LocallyOfFiniteType f] : |
| 18 | Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension (i ≫ f) + 1 = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension f := by |
| 19 | have h := DivisorClass.Chern.SupportCodimension.Construction.pointClosure_dimension_add_one f (i (genericPoint Y)) |
| 20 | (Integral.CartierGenericPoint.BundleCycles.integralCartier_genericPoint_coheight i hi) |
| 21 | rw [Point.SupportDimension.BundleCycles.pointClosure_dimension_closedImmersion, LineBundle.GenericClass.Cycles.genericPointSupport_dimension] at h |
| 22 | exact h |
| 23 | |
| 24 | theorem integralPrincipalImmersion_nativeCodimension {Y X : Over Foundations.Scheme.ProjectiveSpace.complexBase} |
| 25 | [IsIntegral X.left] [IsIntegral Y.left] [AlgebraicGeometry.IsNoetherian X.left] |
| 26 | [LocallyOfFiniteType X.hom] (i : Y ⟶ X) [IsClosedImmersion i.left] |
| 27 | (hi : Cartier.IdealBundle.Cycles.HasRegularPrincipalImageIdeals i.left) : |
| 28 | Betti.AffineDimension.Realization.functionFieldDifferentialDimension Y.hom + 1 = |
| 29 | Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom := by |
| 30 | let : LocallyOfFiniteType Y.hom := i.w ▸ inferInstanceAs (LocallyOfFiniteType (i.left ≫ X.hom)) |
| 31 | have h := integralPrincipalImmersion_dimension i.left hi X.hom |
| 32 | rw [i.w, Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension_eq_functionFieldDifferentialDimension, |
| 33 | Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension_eq_functionFieldDifferentialDimension] at h |
| 34 | exact h |
| 35 | |
| 36 | end |
| 37 | |
| 38 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Principal.ImmersionCodimension.BundleCycles |