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.Homogeneous.RatioEquations |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.EventualDegreeFlatness |
| 3 | |
| 4 | /-! # Homogeneous Ratios -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coordinate.HomogeneousRatios |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Coordinate ratios on a multi-coordinate projective chart, with their defining multiplication equation. -/ |
| 11 | |
| 12 | open _root_.MvPolynomial DirectSum |
| 13 | open OAI.AlgebraicGeometry.HilbertScheme.Presentations.EventualDegreeFlatness.ProjectiveCech |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {R : Type u} [CommRing R] {n : ℕ} (I : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n)) |
| 18 | |
| 19 | theorem coordinateRatioNumerator_homogeneous (s : Finset (Fin (n + 1))) |
| 20 | (i j : Fin (n + 1)) (hi : i ∈ s) : |
| 21 | HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.gradedQuotientMap I (X j) * HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.gradedQuotientMap I (HilbertScheme.Presentations.LaurentMonomials.ProjectiveCech.inversionMonomial R (s.erase i)) ∈ |
| 22 | HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I s.card := by |
| 23 | have he : 1 + (s.erase i).card = s.card := by |
| 24 | simpa only [Nat.add_comm] using Finset.card_erase_add_one hi |
| 25 | rw [← he] |
| 26 | exact SetLike.mul_mem_graded ((HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.gradedQuotientMap I).map_mem (isHomogeneous_X R j)) |
| 27 | (HilbertScheme.Presentations.Flat.ProjectiveCoordinatePieces.GradedHilbert.quotient_inversionMonomial_homogeneous I (s.erase i)) |
| 28 | |
| 29 | def coordinateHomogeneousRatio (s : Finset (Fin (n + 1))) (i j : Fin (n + 1)) (hi : i ∈ s) : |
| 30 | HomogeneousLocalization.Away (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I) (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.gradedQuotientMap I (HilbertScheme.Presentations.LaurentMonomials.ProjectiveCech.inversionMonomial R s)) := |
| 31 | Homogeneous.FactorRatios.homogeneousFactorRatio (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I) _ s.card (HilbertScheme.Presentations.Flat.ProjectiveCoordinatePieces.GradedHilbert.quotient_inversionMonomial_homogeneous I s) |
| 32 | (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.gradedQuotientMap I (X j)) (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.gradedQuotientMap I (HilbertScheme.Presentations.LaurentMonomials.ProjectiveCech.inversionMonomial R (s.erase i))) |
| 33 | (coordinateRatioNumerator_homogeneous I s i j hi) |
| 34 | |
| 35 | theorem coordinateHomogeneousRatio_mul (s : Finset (Fin (n + 1))) (i j : Fin (n + 1)) (hi : i ∈ s) : |
| 36 | algebraMap _ (Localization.Away (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.gradedQuotientMap I (HilbertScheme.Presentations.LaurentMonomials.ProjectiveCech.inversionMonomial R s))) |
| 37 | (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.gradedQuotientMap I (X i)) * (coordinateHomogeneousRatio I s i j hi).val = |
| 38 | algebraMap _ (Localization.Away (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.gradedQuotientMap I (HilbertScheme.Presentations.LaurentMonomials.ProjectiveCech.inversionMonomial R s))) |
| 39 | (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.gradedQuotientMap I (X j)) := by |
| 40 | apply Homogeneous.RatioEquations.homogeneousFactorRatio_mul |
| 41 | rw [← map_mul, HilbertScheme.Presentations.EventualDegreeFlatness.ProjectiveCech.inversionMonomial_factor_variable R s i hi] |
| 42 | |
| 43 | theorem coordinateChartVariable_isUnit (s : Finset (Fin (n + 1))) (i : Fin (n + 1)) (hi : i ∈ s) : |
| 44 | IsUnit (algebraMap _ (Localization.Away (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.gradedQuotientMap I (HilbertScheme.Presentations.LaurentMonomials.ProjectiveCech.inversionMonomial R s))) |
| 45 | (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.gradedQuotientMap I (X i))) := by |
| 46 | apply IsLocalization.Away.isUnit_of_dvd (x := HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.gradedQuotientMap I (HilbertScheme.Presentations.LaurentMonomials.ProjectiveCech.inversionMonomial R s)) |
| 47 | refine ⟨HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.gradedQuotientMap I (HilbertScheme.Presentations.LaurentMonomials.ProjectiveCech.inversionMonomial R (s.erase i)), ?_⟩ |
| 48 | rw [← map_mul, HilbertScheme.Presentations.EventualDegreeFlatness.ProjectiveCech.inversionMonomial_factor_variable R s i hi] |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coordinate.HomogeneousRatios |