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.Proper.AffineObstructionFlatness |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Affine.ChartPresentation |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.Properness |
| 4 | |
| 5 | /-! # Chart Obstruction Flatness -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.ChartObstructionFlatness.GradedHilbert |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Actual projective quotients over a Noetherian local ring satisfy |
| 12 | the proper affine-chart obstruction criterion. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.HomogeneousLocalization _root_.MvPolynomial |
| 15 | |
| 16 | universe u |
| 17 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] {n : ℕ} |
| 18 | |
| 19 | abbrev projectiveCoordinateChart (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n)) (i : Fin (n + 1)) := |
| 20 | HomogeneousLocalization.Away (Graded.Quotient.GradedHilbert.quotientGrading I) (Graded.Quotient.GradedHilbert.gradedQuotientMap I (X i)) |
| 21 | |
| 22 | theorem projectiveCoordinateChart_noetherian (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n)) |
| 23 | (i : Fin (n + 1)) : IsNoetherianRing (projectiveCoordinateChart I i) := |
| 24 | isNoetherianRing_of_ringEquiv (Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ Affine.ChartPresentation.GradedHilbert.affineChartIdeal I i) |
| 25 | (Affine.ChartPresentation.GradedHilbert.affineChartPresentationAlgEquiv I i).toRingEquiv |
| 26 | |
| 27 | theorem projectiveQuotient_flat_of_chart_idealTensor [IsLocalRing R] |
| 28 | (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n)) (J : Ideal R) (hJ : J ≠ ⊤) |
| 29 | (hred : ∀ i, Module.Flat (R ⧸ J) |
| 30 | (projectiveCoordinateChart I i ⧸ J.map (algebraMap R (projectiveCoordinateChart I i)))) |
| 31 | (hinj : ∀ i, Function.Injective (IdealTensor.Obstruction.idealTensorMultiplication R R (projectiveCoordinateChart I i) J)) : |
| 32 | Flat (Flatness.GradedHilbert.projectiveStructureMap (Graded.Quotient.GradedHilbert.quotientGrading I)) := by |
| 33 | let C := Proj.affineOpenCoverOfIrrelevantLESpan (Graded.Quotient.GradedHilbert.quotientGrading I) |
| 34 | (fun i : Fin (n + 1) => Graded.Quotient.GradedHilbert.gradedQuotientMap I (X i)) |
| 35 | (fun i => (Graded.Quotient.GradedHilbert.gradedQuotientMap I).map_mem (isHomogeneous_X R i)) |
| 36 | (fun _ => Nat.zero_lt_one) (Flatness.GradedHilbert.quotient_irrelevant_le_span_variables I) |
| 37 | let : IsProper (Flatness.GradedHilbert.projectiveStructureMap (Graded.Quotient.GradedHilbert.quotientGrading I)) := Properness.GradedHilbert.projectiveQuotient_proper I |
| 38 | let : ∀ i, Algebra R (C.X i) := fun i => |
| 39 | inferInstanceAs (Algebra R (projectiveCoordinateChart I i)) |
| 40 | let : ∀ i, IsNoetherianRing (C.X i) := fun i => projectiveCoordinateChart_noetherian I i |
| 41 | let : ∀ i, Module.Flat (R ⧸ J) ((C.X i) ⧸ J.map (algebraMap R (C.X i))) := hred |
| 42 | apply Proper.AffineObstructionFlatness.proper_flat_of_affine_idealTensor_injective (.of R) |
| 43 | (Flatness.GradedHilbert.projectiveStructureMap (Graded.Quotient.GradedHilbert.quotientGrading I)) C (fun i => ?_) J hJ hinj |
| 44 | exact (Flatness.GradedHilbert.projectiveStructureMap_away (Graded.Quotient.GradedHilbert.quotientGrading I) |
| 45 | ((Graded.Quotient.GradedHilbert.gradedQuotientMap I).map_mem (isHomogeneous_X R i))).symm |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.ChartObstructionFlatness.GradedHilbert |