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.Flat.ProjectiveCoordinatePieces |
| 2 | |
| 3 | /-! # Quotient Structure -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.QuotientStructure.GradedHilbert |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The projective quotient inclusion and the structure morphism commute over the coefficient ring. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.HomogeneousLocalization _root_.MvPolynomial |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {R : Type u} [CommRing R] {n : ℕ} |
| 16 | |
| 17 | theorem quotientChartMap_algebraMap (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n)) |
| 18 | (s : Hilbert.Polynomial.GradedHilbert.CoordinateRing R n) (r : R) : |
| 19 | HomogeneousLocalization.Away.map (Graded.Quotient.GradedHilbert.gradedQuotientMap I) s |
| 20 | (algebraMap R (HomogeneousLocalization.Away (Hilbert.Polynomial.GradedHilbert.grading R n) s) r) = |
| 21 | algebraMap R (HomogeneousLocalization.Away (Graded.Quotient.GradedHilbert.quotientGrading I) (Graded.Quotient.GradedHilbert.gradedQuotientMap I s)) r := by |
| 22 | rw [Homogeneous.LocalizationFlat.GradedHilbert.homogeneousLocalization_algebraMap, Homogeneous.LocalizationFlat.GradedHilbert.homogeneousLocalization_algebraMap] |
| 23 | apply HomogeneousLocalization.val_injective |
| 24 | change Localization.mk (Graded.Quotient.GradedHilbert.gradedQuotientMap I ((algebraMap R (Hilbert.Polynomial.GradedHilbert.grading R n 0) r).val)) |
| 25 | ⟨Graded.Quotient.GradedHilbert.gradedQuotientMap I 1, _⟩ = |
| 26 | Localization.mk ((algebraMap R (Graded.Quotient.GradedHilbert.quotientGrading I 0) r).val) 1 |
| 27 | congr 1 |
| 28 | |
| 29 | theorem projectiveQuotientInclusion_structure (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n)) : |
| 30 | Quotient.GradedHilbert.projectiveQuotientInclusion I ≫ Flatness.GradedHilbert.projectiveStructureMap (Hilbert.Polynomial.GradedHilbert.grading R n) = |
| 31 | Flatness.GradedHilbert.projectiveStructureMap (Graded.Quotient.GradedHilbert.quotientGrading I) := by |
| 32 | let U := Proj.affineOpenCoverOfIrrelevantLESpan (Graded.Quotient.GradedHilbert.quotientGrading I) |
| 33 | (fun i : Fin (n + 1) => Graded.Quotient.GradedHilbert.gradedQuotientMap I (X i)) |
| 34 | (fun i => (Graded.Quotient.GradedHilbert.gradedQuotientMap I).map_mem (isHomogeneous_X R i)) |
| 35 | (fun _ => Nat.zero_lt_one) (Flatness.GradedHilbert.quotient_irrelevant_le_span_variables I) |
| 36 | apply U.openCover.hom_ext |
| 37 | intro i |
| 38 | change Fin (n + 1) at i |
| 39 | change Proj.awayι (Graded.Quotient.GradedHilbert.quotientGrading I) (Graded.Quotient.GradedHilbert.gradedQuotientMap I (X i)) |
| 40 | ((Graded.Quotient.GradedHilbert.gradedQuotientMap I).map_mem (isHomogeneous_X R i)) Nat.zero_lt_one ≫ |
| 41 | (Proj.map (Graded.Quotient.GradedHilbert.gradedQuotientMap I) (Graded.Quotient.GradedHilbert.irrelevant_quotient_le_map I) ≫ _) = |
| 42 | Proj.awayι (Graded.Quotient.GradedHilbert.quotientGrading I) (Graded.Quotient.GradedHilbert.gradedQuotientMap I (X i)) |
| 43 | ((Graded.Quotient.GradedHilbert.gradedQuotientMap I).map_mem (isHomogeneous_X R i)) Nat.zero_lt_one ≫ |
| 44 | Flatness.GradedHilbert.projectiveStructureMap (Graded.Quotient.GradedHilbert.quotientGrading I) |
| 45 | rw [Proj.awayι_comp_map_assoc (Graded.Quotient.GradedHilbert.gradedQuotientMap I) (Graded.Quotient.GradedHilbert.irrelevant_quotient_le_map I) |
| 46 | Nat.zero_lt_one (X i) (isHomogeneous_X R i)] |
| 47 | erw [Flatness.GradedHilbert.projectiveStructureMap_away (Hilbert.Polynomial.GradedHilbert.grading R n) (isHomogeneous_X R i)] |
| 48 | rw [Flatness.GradedHilbert.projectiveStructureMap_away, ← Spec.map_comp] |
| 49 | congr 1 |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.QuotientStructure.GradedHilbert |