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.ChartAlgebra |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Normalized.Chart |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Relative.AffinePoints |
| 4 | |
| 5 | /-! # Chart -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Plucker.Chart.Grassmannian |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | The affine schemes of the Plücker projective spectrum are naturally |
| 13 | isomorphic to the quotient-matrix charts of the constructed Grassmannian. |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | variable {ι ν : Type u} [Fintype ι] [DecidableEq ι] |
| 21 | variable (R : CommRingCat.{u}) (a : ι → ν) |
| 22 | |
| 23 | def pluckerChartScheme : Over (Spec R) := Relative.AffinePoints.relativeAffineScheme R (ChartAlgebra.Grassmannian.pluckerHomogeneousChart (R := R) a) |
| 24 | |
| 25 | def pluckerChartSchemePointEquiv (T : Over (Spec R)) : |
| 26 | (T ⟶ pluckerChartScheme R a) ≃ (Normalized.Chart.Grassmannian.normalizedMatrixSubfunctor a (Spec R)).obj (.op T) := |
| 27 | (Relative.AffinePoints.relativeAffinePointEquiv R (ChartAlgebra.Grassmannian.pluckerHomogeneousChart (R := R) a) T).trans |
| 28 | (ChartAlgebra.Grassmannian.pluckerHomogeneousChartPointEquiv (R := R) (B := Relative.AffinePoints.relativeGlobalAlgebra R T) a) |
| 29 | |
| 30 | def pluckerChartSchemeRepresentation : |
| 31 | yoneda.obj (pluckerChartScheme R a) ≅ (Normalized.Chart.Grassmannian.normalizedMatrixSubfunctor a (Spec R)).toFunctor := |
| 32 | NatIso.ofComponents (fun T => (pluckerChartSchemePointEquiv R a T.unop).toIso) (by |
| 33 | intro T U f |
| 34 | apply ConcreteCategory.hom_ext |
| 35 | intro g |
| 36 | change T.unop ⟶ Relative.AffinePoints.relativeAffineScheme R (ChartAlgebra.Grassmannian.pluckerHomogeneousChart (R := R) a) at g |
| 37 | apply Subtype.ext |
| 38 | change (ChartAlgebra.Grassmannian.pluckerHomogeneousChartPointEquiv a |
| 39 | (Relative.AffinePoints.relativeAffinePointEquiv R (ChartAlgebra.Grassmannian.pluckerHomogeneousChart (R := R) a) U.unop (f.unop ≫ g))).val = |
| 40 | (ChartAlgebra.Grassmannian.pluckerHomogeneousChartPointEquiv a |
| 41 | (Relative.AffinePoints.relativeAffinePointEquiv R (ChartAlgebra.Grassmannian.pluckerHomogeneousChart (R := R) a) T.unop g)).val.map |
| 42 | f.unop.left.appTop.hom |
| 43 | rw [Relative.AffinePoints.relativeAffinePointEquiv_natural, ChartAlgebra.Grassmannian.pluckerHomogeneousChartPointEquiv_natural] |
| 44 | rfl) |
| 45 | |
| 46 | /-- The affine Plücker chart and the Grassmannian matrix chart are isomorphic |
| 47 | as actual schemes over the coefficient ring. -/ |
| 48 | def pluckerChartSchemeIso : pluckerChartScheme R a ≅ Normalized.Chart.Grassmannian.normalizedChart a (Spec R) := |
| 49 | yoneda.preimageIso (pluckerChartSchemeRepresentation R a ≪≫ (Normalized.Chart.Grassmannian.normalizedChartRepresentation a (Spec R)).symm) |
| 50 | |
| 51 | theorem pluckerChartSchemeIso_representation : |
| 52 | yoneda.map (pluckerChartSchemeIso R a).hom ≫ (Normalized.Chart.Grassmannian.normalizedChartRepresentation a (Spec R)).hom = |
| 53 | (pluckerChartSchemeRepresentation R a).hom := by |
| 54 | simp [pluckerChartSchemeIso] |
| 55 | |
| 56 | def pluckerChartSection (b : ι → ν) : Γ((pluckerChartScheme R a).left, ⊤) := |
| 57 | (Scheme.ΓSpecIso (CommRingCat.of (ChartAlgebra.Grassmannian.pluckerHomogeneousChart (R := R) a))).inv |
| 58 | (Polynomial.ChartPresentation.PolynomialProjective.affineChartMap (Ideal.Grassmannian.pluckerIdeal (R := R) (ι := ι) (ν := ν)) a (MvPolynomial.X b)) |
| 59 | |
| 60 | theorem pluckerChartSchemePointEquiv_minor (b : ι → ν) {T : Over (Spec R)} |
| 61 | (f : T ⟶ pluckerChartScheme R a) : |
| 62 | Determinants.Grassmannian.maximalMinor (pluckerChartSchemePointEquiv R a T f).val b = |
| 63 | f.left.appTop (pluckerChartSection R a b) := |
| 64 | (ChartAlgebra.Grassmannian.pluckerHomogeneousChartPointEquiv_minor a b |
| 65 | (Relative.AffinePoints.relativeAffinePointEquiv R (ChartAlgebra.Grassmannian.pluckerHomogeneousChart (R := R) a) T f)).trans |
| 66 | (Relative.AffinePoints.relativeAffinePointEquiv_apply R (ChartAlgebra.Grassmannian.pluckerHomogeneousChart (R := R) a) f _) |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Plucker.Chart.Grassmannian |