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.HilbertScheme.Presentations.Graded.CechVanishing |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.ModuleCech.CechComplex |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Coordinate.IntegerQuotient |
| 4 | import Mathlib.Algebra.Homology.ShortComplex.HomologicalComplex |
| 5 | |
| 6 | /-! # Cech Exactness -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coordinate.CechExactness |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Graded coordinate Čech exactness implies exactness of the actual module complex. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory |
| 15 | open OAI.AlgebraicGeometry.HilbertScheme.Presentations.Coordinate.IntegerQuotient.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 | theorem coordinateCechComplex_exactAt_of_gradedExact (d : ℤ) (q : ℕ) |
| 22 | (h : HilbertScheme.Presentations.Cech.DimensionShift.ProjectiveCech.ModuleCechExactAt (σ := Fin (n + 1)) R (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) |
| 23 | (HilbertScheme.Presentations.Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I) d (q + 1)) : |
| 24 | (HilbertScheme.Presentations.ModuleCech.CechComplex.ProjectiveCech.moduleCechComplex (σ := Fin (n + 1)) R (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) |
| 25 | (HilbertScheme.Presentations.Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I) d).ExactAt (q + 1) := by |
| 26 | let C := HilbertScheme.Presentations.ModuleCech.CechComplex.ProjectiveCech.moduleCechComplex (σ := Fin (n + 1)) R (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) |
| 27 | (HilbertScheme.Presentations.Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I) d |
| 28 | apply (C.exactAt_iff' q (q + 1) (q + 2) (by simp) (by simp)).mpr |
| 29 | rw [ShortComplex.moduleCat_exact_iff] |
| 30 | intro x hx |
| 31 | have hx' : HilbertScheme.Presentations.ModuleCech.Card.ProjectiveCech.moduleCechDifferential R (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) x.val = 0 := |
| 32 | congrArg Subtype.val ((ConcreteCategory.congr_hom |
| 33 | (HilbertScheme.Presentations.ModuleCech.CechComplex.ProjectiveCech.moduleCechComplex_d R (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) (HilbertScheme.Presentations.Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I) d (q + 1)) |
| 34 | x).symm.trans hx) |
| 35 | obtain ⟨g, hg, hcard, hgd⟩ := h x.val x.property.1 x.property.2 hx' |
| 36 | have hcard' : HilbertScheme.Presentations.ModuleCech.Card.ProjectiveCech.ModuleCechCardSupported R (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) q g := by |
| 37 | simpa only [Nat.add_sub_cancel] using hcard |
| 38 | let y : HilbertScheme.Presentations.ModuleCech.Terms.ProjectiveCech.moduleCechTerm (σ := Fin (n + 1)) R (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) |
| 39 | (HilbertScheme.Presentations.Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I) d q := ⟨g, hg, hcard'⟩ |
| 40 | have hy : HilbertScheme.Presentations.ModuleCech.Terms.ProjectiveCech.moduleCechTermDifferential (σ := Fin (n + 1)) R |
| 41 | (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) (HilbertScheme.Presentations.Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I) d q y = x := Subtype.ext hgd |
| 42 | exact ⟨y, (ConcreteCategory.congr_hom |
| 43 | (HilbertScheme.Presentations.ModuleCech.CechComplex.ProjectiveCech.moduleCechComplex_d R (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) (HilbertScheme.Presentations.Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I) d q) |
| 44 | y).trans hy⟩ |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coordinate.CechExactness |