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.Projection.ChartFractions |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projective.LineParameter |
| 3 | |
| 4 | /-! # Chart Fractions -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Polynomial.ChartFractions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Pullback of a projective coordinate fraction to its polynomial |
| 11 | chart is the native stalk germ of the dehomogenized polynomial. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.HomogeneousLocalization |
| 17 | |
| 18 | theorem contained (n : ℕ) (i : Fin (n + 1)) (x : Spec (.of (Foundations.Scheme.ProjectiveChartToPolynomial.projectiveChartPolynomial n i))) : |
| 19 | Foundations.Scheme.ProjectiveChart.projectiveAffineChartMap n i x ∈ Foundations.Scheme.ProjectiveCoordinateCover.projectiveCoordinateOpen n i := |
| 20 | ((Foundations.Scheme.ProjectiveChart.projectiveCoordinateIsoSpec n i).inv x).property |
| 21 | |
| 22 | theorem fraction (n : ℕ) (i : Fin (n + 1)) (x : Spec (.of (Foundations.Scheme.ProjectiveChartToPolynomial.projectiveChartPolynomial n i))) |
| 23 | (a : Foundations.Scheme.ProjectiveSpace.projectiveGrading n 1) : |
| 24 | GermPullback.fraction n (Foundations.Scheme.ProjectiveChart.projectiveAffineChartMap n i) x a |
| 25 | (Projective.LineParameter.RationalFractions.coordinate n i) (contained n i x) = |
| 26 | StructureSheaf.toStalk (Foundations.Scheme.ProjectiveChartToPolynomial.projectiveChartPolynomial n i) x |
| 27 | (Foundations.Scheme.DehomogenizationC.Algebraic.Dehomogenization.dehomogenize i a.val) := by |
| 28 | have hchart : Foundations.Scheme.ProjectiveChart.projectiveAffineChartMap n i = |
| 29 | Spec.map (CommRingCat.ofHom (Foundations.Scheme.ProjectiveChartToPolynomial.projectiveChartToPolynomial n i)) ≫ |
| 30 | AwayChartPullback.chart n (Projective.LineParameter.RationalFractions.coordinate n i) := |
| 31 | Foundations.Scheme.ProjectiveChart.projectiveCoordinateIsoSpec_inv_ι n i |
| 32 | have hc : a.val ∈ Foundations.Scheme.ProjectiveSpace.projectiveGrading n 1 := a.property |
| 33 | have hs : (Projective.LineParameter.RationalFractions.coordinate n i).val ∉ |
| 34 | ((Spec.map (CommRingCat.ofHom (Foundations.Scheme.ProjectiveChartToPolynomial.projectiveChartToPolynomial n i)) ≫ |
| 35 | AwayChartPullback.chart n (Projective.LineParameter.RationalFractions.coordinate n i)) x).asHomogeneousIdeal := by |
| 36 | rw [← hchart] |
| 37 | exact contained n i x |
| 38 | rw [GermPullback.fraction_congr n _ _ hchart x a |
| 39 | (Projective.LineParameter.RationalFractions.coordinate n i) (contained n i x) hs, |
| 40 | GermPullback.fraction_comp, AwayChartPullback.fraction] |
| 41 | exact (Projection.ChartFractions.spec_germ |
| 42 | (CommRingCat.ofHom (Foundations.Scheme.ProjectiveChartToPolynomial.projectiveChartToPolynomial n i)) x |
| 43 | (Away.mk (Foundations.Scheme.ProjectiveSpace.projectiveGrading n) (Foundations.Scheme.ProjectiveChartToPolynomial.projectiveVariable_homogeneous n i) 1 a.val hc)).trans |
| 44 | (congrArg (StructureSheaf.toStalk (Foundations.Scheme.ProjectiveChartToPolynomial.projectiveChartPolynomial n i) x) |
| 45 | (Foundations.Scheme.ProjectiveChartToPolynomial.projectiveChartToPolynomial_mk n i 1 a.val hc)) |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Polynomial.ChartFractions |