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.CycleClass.Thom.Closed.SupportAnalyticImage |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Integral.ClosedImageDimension |
| 3 | |
| 4 | /-! # Closed Image Codimension -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Scheme.ClosedImageCodimension.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A closed immersion preserves every support dimension, hence adds its actual ambient codimension to the cycle codimension. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 13 | open OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.RegularSupport.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.ProperSupport.Constructions |
| 14 | |
| 15 | variable {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} [LocallyOfFiniteType X.hom] [LocallyOfFiniteType Y.hom] |
| 16 | (i : X ⟶ Y) [IsClosedImmersion i.left] (Z : IrreducibleCloseds X.left) |
| 17 | |
| 18 | omit [LocallyOfFiniteType X.hom] in |
| 19 | theorem schemeClosedImage_supportDimension : |
| 20 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension (CycleClass.Thom.Scheme.ProperSupport.Constructions.imageSupport i Z) Y.hom = Foundations.Scheme.SupportDimension.supportTranscendenceDimension Z X.hom := by |
| 21 | have hd := Integral.ClosedImageDimension.BundleCycles.integralClosedImage_dimension (CycleClass.Geometric.GenericPoint.reducedSupportι Z ≫ i.left) Y.hom |
| 22 | change Foundations.Scheme.SupportDimension.supportTranscendenceDimension (CycleClass.Thom.Scheme.ProperSupport.Constructions.imageSupport i Z) Y.hom = |
| 23 | Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension ((CycleClass.Geometric.GenericPoint.reducedSupportι Z ≫ i.left) ≫ Y.hom) at hd |
| 24 | rw [Category.assoc, i.w] at hd |
| 25 | exact hd |
| 26 | |
| 27 | variable [IsIntegral X.left] [IsIntegral Y.left] [Smooth X.hom] [Smooth Y.hom] |
| 28 | (p : ℕ) (hp : Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom + p = |
| 29 | Betti.AffineDimension.Realization.functionFieldDifferentialDimension Y.hom) |
| 30 | (q : ℕ) (hq : Foundations.Scheme.SupportDimension.supportTranscendenceDimension Z X.hom + q = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension X.hom) |
| 31 | |
| 32 | include hp hq in |
| 33 | omit [Smooth X.hom] [Smooth Y.hom] in |
| 34 | theorem schemeClosedImage_codimension : |
| 35 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension (CycleClass.Thom.Scheme.ProperSupport.Constructions.imageSupport i Z) Y.hom + (p + q) = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension Y.hom := by |
| 36 | rw [schemeClosedImage_supportDimension i Z] |
| 37 | have hX := Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension_eq_functionFieldDifferentialDimension X.hom |
| 38 | have hY := Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension_eq_functionFieldDifferentialDimension Y.hom |
| 39 | omega |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Scheme.ClosedImageCodimension.BundleCycles |