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.IntersectionTheory.ProjectionFormula.Polynomial.ChartFractions |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projective.FamilyIs |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Affine.ParameterFiber |
| 4 | |
| 5 | /-! # Projective Parameter -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Affine.ProjectiveParameter |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The regular projective-line parameter on its standard affine |
| 12 | chart is exactly the polynomial coordinate in the native stalk. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 18 | open scoped _root_.Polynomial |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projective.FamilyIs.MatrixParameterOpen |
| 21 | |
| 22 | theorem contained (x : Spec (.of ℂ[X])) : Projective.FamilyIs.MatrixParameterOpen.affine x ∈ Foundations.Scheme.ProjectiveCoordinateCover.projectiveCoordinateOpen 1 0 := |
| 23 | ProjectionFormula.Polynomial.ChartFractions.contained 1 0 |
| 24 | (Spec.map (CommRingCat.ofHom Projective.FamilyIs.MatrixParameterOpen.chartEquiv.toRingHom) x) |
| 25 | |
| 26 | theorem polynomial : Projective.FamilyIs.MatrixParameterOpen.chartEquiv |
| 27 | (Foundations.Scheme.DehomogenizationC.Algebraic.Dehomogenization.dehomogenize (0 : Fin 2) |
| 28 | (Projective.LineParameter.RationalFractions.coordinate 1 1).val) = Polynomial.X := by |
| 29 | simp [Projective.LineParameter.RationalFractions.coordinate, Projective.FamilyIs.MatrixParameterOpen.chartEquiv, |
| 30 | Foundations.Scheme.DehomogenizationC.Algebraic.Dehomogenization.dehomogenize_X_of_ne] |
| 31 | |
| 32 | theorem finiteGerm (x : Spec (.of ℂ[X])) : |
| 33 | Projective.ParameterGerms.finiteGerm Projective.FamilyIs.MatrixParameterOpen.affine x (contained x) = |
| 34 | StructureSheaf.toStalk ℂ[X] x Polynomial.X := by |
| 35 | change GermPullback.fraction 1 |
| 36 | (Spec.map (CommRingCat.ofHom Projective.FamilyIs.MatrixParameterOpen.chartEquiv.toRingHom) ≫ Foundations.Scheme.ProjectiveChart.projectiveAffineChartMap 1 0) x |
| 37 | (Projective.LineParameter.RationalFractions.coordinate 1 1) |
| 38 | (Projective.LineParameter.RationalFractions.coordinate 1 0) (contained x) = _ |
| 39 | rw [GermPullback.fraction_comp, ProjectionFormula.Polynomial.ChartFractions.fraction] |
| 40 | exact (Projection.ChartFractions.spec_germ (CommRingCat.ofHom Projective.FamilyIs.MatrixParameterOpen.chartEquiv.toRingHom) x |
| 41 | (Foundations.Scheme.DehomogenizationC.Algebraic.Dehomogenization.dehomogenize (0 : Fin 2) |
| 42 | (Projective.LineParameter.RationalFractions.coordinate 1 1).val)).trans |
| 43 | (congrArg (StructureSheaf.toStalk ℂ[X] x) polynomial) |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Affine.ProjectiveParameter |