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.SmoothHilbert.Coordinates |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.SaturatedGeneratingQuotient |
| 3 | |
| 4 | /-! # Data Uniqueness -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Finite generated quotient data defining the same smooth Hilbert family are equal over arbitrary rings. -/ |
| 11 | |
| 12 | open _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | theorem Flat.ClosedFamilies.FlatClosedHilbertFamily.generatedData_unique |
| 17 | {R : Type u} [CommRing R] {n B N : ℕ} {P : Polynomial ℚ} |
| 18 | (F : Flat.ClosedFamilies.FlatClosedHilbertFamily R n P) [Smooth F.val.scheme.hom] |
| 19 | (hN : HilbertScheme.Presentations.Uniform.FamilyCoordinates.GradedHilbert.uniformHilbertFamilyDegree.{u} n P ≤ N) (hNB : N ≤ B) |
| 20 | (D E : {D : Truncated.GradedClassification.TruncatedGradedQuotientData R (Fin (n + 1)) B (Uniform.GeneratedCoordinates.generatedHilbertRanks n P N) // |
| 21 | D.GeneratedFromDegree N}) |
| 22 | (hD : D.val.projectiveIdeal = F.val.ideal) (hE : E.val.projectiveIdeal = F.val.ideal) : D = E := by |
| 23 | let d : Fin (B + 1) := ⟨N, Nat.lt_succ_of_le hNB⟩ |
| 24 | have hQex : ∃ Q' : Module.Grassmannian R (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n d) (Uniform.GeneratedCoordinates.generatedHilbertRanks n P N d), |
| 25 | Q'.toSubmodule = HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.degreeRelations F.val.homogeneousIdeal.toIdeal d := by |
| 26 | change ∃ Q' : Module.Grassmannian R (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n N) (Uniform.GeneratedCoordinates.generatedHilbertRanks n P N N), |
| 27 | Q'.toSubmodule = HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.degreeRelations F.val.homogeneousIdeal.toIdeal N |
| 28 | rw [Uniform.GeneratedCoordinates.generatedHilbertRanks, ite_eq_right (Nat.lt_irrefl N)] |
| 29 | exact F.exists_homogeneousQuotient N hN |
| 30 | obtain ⟨Q', hQ'⟩ := hQex |
| 31 | have hDI : HilbertScheme.Presentations.Projective.Saturation.GradedHilbert.projectiveSaturation D.val.generatedIdeal = F.val.homogeneousIdeal := |
| 32 | congrArg HilbertScheme.Presentations.ChartHomogeneousIdeal.GradedHilbert.homogeneousIdealOfSheaf hD |
| 33 | have hEI : HilbertScheme.Presentations.Projective.Saturation.GradedHilbert.projectiveSaturation E.val.generatedIdeal = F.val.homogeneousIdeal := |
| 34 | congrArg HilbertScheme.Presentations.ChartHomogeneousIdeal.GradedHilbert.homogeneousIdealOfSheaf hE |
| 35 | apply Subtype.ext |
| 36 | apply D.val.eq_of_generating_quotient_eq E.val hNB D.property E.property |
| 37 | exact (D.val.retainedQuotient_eq_of_saturated_coordinates d _ hDI Q' hQ').trans |
| 38 | (E.val.retainedQuotient_eq_of_saturated_coordinates d _ hEI Q' hQ').symm |
| 39 | |
| 40 | end |
| 41 | |
| 42 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |