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.Plucker.Chart |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Polynomial.Projective |
| 3 | |
| 4 | /-! # Projective -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Plucker.Projective.Grassmannian |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | The projective scheme cut out by the homogeneous Plücker ideal, with its |
| 12 | standard affine charts and its closed embedding into projective space. |
| 13 | -/ |
| 14 | |
| 15 | open _root_.MvPolynomial _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open OAI.AlgebraicGeometry.HilbertScheme.Presentations.Polynomial.Projective.PolynomialProjective |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | variable {ι ν : Type u} [Fintype ι] [DecidableEq ι] |
| 21 | variable (R : CommRingCat.{u}) |
| 22 | |
| 23 | def pluckerProjectiveScheme : Scheme.{u} := |
| 24 | Homogeneous.ProjectiveQuotient.HomogeneousQuotient.projectiveQuotient (Ideal.Grassmannian.pluckerIdeal (R := R) (ι := ι) (ν := ν)) |
| 25 | |
| 26 | def pluckerProjectiveOver : Over (Spec R) := |
| 27 | Over.mk (Projective.Flatness.GradedHilbert.projectiveStructureMap |
| 28 | (Homogeneous.Quotient.HomogeneousQuotient.quotientGrading (Ideal.Grassmannian.pluckerIdeal (R := R) (ι := ι) (ν := ν)))) |
| 29 | |
| 30 | def pluckerProjectiveInclusion : pluckerProjectiveScheme (ι := ι) (ν := ν) R ⟶ |
| 31 | Proj (Polynomial.Dehomogenization.PolynomialProjective.polynomialGrading (ι → ν) R) := |
| 32 | Homogeneous.ProjectiveQuotient.HomogeneousQuotient.projectiveQuotientInclusion (Ideal.Grassmannian.pluckerIdeal (R := R) (ι := ι) (ν := ν)) |
| 33 | |
| 34 | instance pluckerProjectiveInclusion_isClosedImmersion : |
| 35 | IsClosedImmersion (pluckerProjectiveInclusion (ι := ι) (ν := ν) R) := |
| 36 | Homogeneous.ProjectiveQuotient.HomogeneousQuotient.projectiveQuotientInclusion_isClosedImmersion (Ideal.Grassmannian.pluckerIdeal (R := R) (ι := ι) (ν := ν)) |
| 37 | |
| 38 | instance pluckerProjectiveOver_isProper [Finite ν] : IsProper (pluckerProjectiveOver (ι := ι) (ν := ν) R).hom := |
| 39 | Polynomial.Projective.PolynomialProjective.projectiveQuotient_proper (Ideal.Grassmannian.pluckerIdeal (R := R) (ι := ι) (ν := ν)) |
| 40 | |
| 41 | variable (a : ι → ν) |
| 42 | |
| 43 | def pluckerProjectiveChartMap : Chart.Grassmannian.pluckerChartScheme R a ⟶ pluckerProjectiveOver (ι := ι) (ν := ν) R := by |
| 44 | let I := Ideal.Grassmannian.pluckerIdeal (R := R) (ι := ι) (ν := ν) |
| 45 | let h := (Homogeneous.Quotient.HomogeneousQuotient.gradedQuotientMap I).map_mem (isHomogeneous_X R a) |
| 46 | let g := Proj.awayι (Homogeneous.Quotient.HomogeneousQuotient.quotientGrading I) (Homogeneous.Quotient.HomogeneousQuotient.gradedQuotientMap I (X a)) h Nat.zero_lt_one |
| 47 | exact Over.homMk g (Projective.Flatness.GradedHilbert.projectiveStructureMap_away (Homogeneous.Quotient.HomogeneousQuotient.quotientGrading I) h) |
| 48 | |
| 49 | instance pluckerProjectiveChartMap_isOpenImmersion : IsOpenImmersion (pluckerProjectiveChartMap R a).left := by |
| 50 | change IsOpenImmersion (Proj.awayι _ _ _ _) |
| 51 | infer_instance |
| 52 | |
| 53 | theorem pluckerProjectiveCharts_cover (x : pluckerProjectiveScheme (ι := ι) (ν := ν) R) : |
| 54 | ∃ a : ι → ν, ∃ y : (Chart.Grassmannian.pluckerChartScheme R a).left, (pluckerProjectiveChartMap R a).left y = x := by |
| 55 | obtain ⟨a, y, hy⟩ := |
| 56 | (Polynomial.Projective.PolynomialProjective.projectiveQuotientAffineCover (Ideal.Grassmannian.pluckerIdeal (R := R) (ι := ι) (ν := ν))).openCover.exists_eq x |
| 57 | exact ⟨a, y, hy⟩ |
| 58 | |
| 59 | def normalizedChartToPlucker : Normalized.Chart.Grassmannian.normalizedChart a (Spec R) ⟶ pluckerProjectiveOver (ι := ι) (ν := ν) R := |
| 60 | (Chart.Grassmannian.pluckerChartSchemeIso R a).inv ≫ pluckerProjectiveChartMap R a |
| 61 | |
| 62 | instance normalizedChartToPlucker_isOpenImmersion : IsOpenImmersion (normalizedChartToPlucker R a).left := by |
| 63 | have : IsIso (Chart.Grassmannian.pluckerChartSchemeIso R a).inv.left := |
| 64 | ((Over.forget (Spec R)).mapIso (Chart.Grassmannian.pluckerChartSchemeIso R a)).isIso_inv |
| 65 | change IsOpenImmersion ((Chart.Grassmannian.pluckerChartSchemeIso R a).inv.left ≫ (pluckerProjectiveChartMap R a).left) |
| 66 | infer_instance |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Plucker.Projective.Grassmannian |