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.AbelianModuli.HilbertConstruction.Cochain.FiniteCycles |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Flat.ProjectiveCoordinatePieces |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Finite.GradedCechHomology |
| 4 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Cech.AugmentationMap |
| 5 | |
| 6 | /-! # Cech Complex -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coordinate.CechComplex |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The nonaugmented homogeneous Čech complex of a flat projective coordinate quotient is bounded, termwise flat, and has finite cohomology over a Noetherian base. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | open OAI.AlgebraicGeometry.HilbertScheme.Presentations.Flat.ProjectiveCoordinatePieces.GradedHilbert |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable {R : Type u} [CommRing R] {n : ℕ} (I : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n)) |
| 20 | |
| 21 | def coordinateNonnegativeCechComplex : CochainComplex (ModuleCat.{u} R) ℕ := |
| 22 | Cochain.Head.CochainHead.tail (HilbertScheme.Presentations.ModuleCech.CechComplex.ProjectiveCech.moduleCechComplex (σ := Fin (n + 1)) R |
| 23 | (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) (HilbertScheme.Presentations.Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I) 0) |
| 24 | |
| 25 | theorem coordinateNonnegativeCechComplex_bounded (q : ℕ) (hq : n + 1 ≤ q) : |
| 26 | IsZero ((coordinateNonnegativeCechComplex I).X q) := by |
| 27 | have : Subsingleton ((coordinateNonnegativeCechComplex I).X q) := |
| 28 | HilbertScheme.Presentations.Bounded.ModuleCechHomology.ProjectiveCech.moduleCechTerm_subsingleton_of_bounded R (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) |
| 29 | (HilbertScheme.Presentations.Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I) 0 (q + 1) (by simpa only [Fintype.card_fin] using Nat.lt_succ_of_le hq) |
| 30 | exact ModuleCat.isZero_of_subsingleton _ |
| 31 | |
| 32 | theorem coordinateNonnegativeCechComplex_flat |
| 33 | [Flat (HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I))] (q : ℕ) : |
| 34 | Module.Flat R ((coordinateNonnegativeCechComplex I).X q) := |
| 35 | HilbertScheme.Presentations.ModuleCech.Terms.ProjectiveCech.moduleCechTerm_flat R (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) (HilbertScheme.Presentations.Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I) 0 (q + 1) |
| 36 | (Nat.succ_pos q) (HilbertScheme.Presentations.Flat.ProjectiveCoordinatePieces.GradedHilbert.coordinateChartDegreeZero_flat I) |
| 37 | |
| 38 | theorem coordinateNonnegativeCechComplex_homology_finite [IsNoetherianRing R] (q : ℕ) : |
| 39 | Module.Finite R ((coordinateNonnegativeCechComplex I).homology q) := by |
| 40 | let C := HilbertScheme.Presentations.ModuleCech.CechComplex.ProjectiveCech.moduleCechComplex (σ := Fin (n + 1)) R |
| 41 | (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) (HilbertScheme.Presentations.Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I) 0 |
| 42 | cases q with |
| 43 | | zero => |
| 44 | have : Module.Finite R (HilbertScheme.Presentations.Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I (0 : ℤ)) := |
| 45 | Module.Finite.equiv (HilbertScheme.Presentations.Coordinate.IntegerQuotient.GradedHilbert.integerDegreeQuotientEquiv I 0) |
| 46 | have : Module.Finite R (C.X 0) := Module.Finite.equiv |
| 47 | (HilbertScheme.Presentations.Cech.AugmentationDegree.ProjectiveCech.moduleCechAugmentationEquiv (σ := Fin (n + 1)) R |
| 48 | (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) (HilbertScheme.Presentations.Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I) 0).symm |
| 49 | have : Module.Finite R (C.homology 1) := HilbertScheme.Presentations.Finite.GradedCechHomology.ProjectiveCech.moduleCech_homology_finite R |
| 50 | (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) (HilbertScheme.Presentations.Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I) 0 0 |
| 51 | exact Cochain.FiniteCycles.cochain_tail_zero_homology_finite C |
| 52 | | succ q => |
| 53 | have : Module.Finite R (C.homology (q + 2)) := HilbertScheme.Presentations.Finite.GradedCechHomology.ProjectiveCech.moduleCech_homology_finite R |
| 54 | (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) (HilbertScheme.Presentations.Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I) 0 (q + 1) |
| 55 | exact Module.Finite.equiv (Cochain.HeadCohomology.CochainHead.tailHomologyIso C q).symm.toLinearEquiv |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coordinate.CechComplex |