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.Generated.DegreeDetermination |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Flat.QuotientRankDetection |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.IdealBaseChange |
| 4 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.Saturation |
| 5 | |
| 6 | /-! # Saturated Generating Quotient -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! A retained finite flat quotient agrees with the saturated degree quotient whenever their ranks agree. -/ |
| 13 | |
| 14 | open _root_.AlgebraicGeometry |
| 15 | open OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.Saturation.GradedHilbert |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | theorem Truncated.GradedClassification.TruncatedGradedQuotientData.retainedQuotient_eq_of_saturated_coordinates |
| 20 | {R : Type u} [CommRing R] {n B : ℕ} {r : ℕ → ℕ} |
| 21 | (D : Truncated.GradedClassification.TruncatedGradedQuotientData R (Fin (n + 1)) B r) (d : Fin (B + 1)) |
| 22 | (I : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n)) |
| 23 | (hI : HilbertScheme.Presentations.Projective.Saturation.GradedHilbert.projectiveSaturation D.generatedIdeal = I) |
| 24 | (Q : Module.Grassmannian R (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n d) (r d)) |
| 25 | (hQ : Q.toSubmodule = HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.degreeRelations I.toIdeal d) : D.quotient d = Q := by |
| 26 | apply Module.Grassmannian.ext |
| 27 | have hle : (D.quotient d).toSubmodule ≤ Q.toSubmodule := by |
| 28 | rw [hQ, ← D.generatedIdeal_degree d] |
| 29 | intro x hx |
| 30 | change x.val ∈ I.toIdeal |
| 31 | rw [← hI] |
| 32 | exact (HilbertScheme.Presentations.Projective.Saturation.GradedHilbert.le_projectiveSaturation D.generatedIdeal) hx |
| 33 | exact Flat.QuotientRankDetection.submodule_eq_of_flat_quotient_ranks (D.quotient d).toSubmodule Q.toSubmodule hle |
| 34 | (fun p => ((D.quotient d).rankAtStalk_eq p).trans (Q.rankAtStalk_eq p).symm) |
| 35 | |
| 36 | end |
| 37 | |
| 38 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |