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.Polynomial.ProjectiveBaseChange |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Relative.PolynomialFamily |
| 3 | |
| 4 | /-! # Parameter Specialization -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Polynomial.ParameterSpecialization.GradedHilbert |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Specializing the homogeneous coefficients along a map of parameter |
| 11 | schemes produces the same actual relative projective family. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | variable {S : Scheme.{u}} (M : Over S) {n : ℕ} |
| 17 | variable (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading Γ(M.left, ⊤) n)) {T : Over S} (x : T ⟶ M) |
| 18 | |
| 19 | def parameterHomogeneousIdeal : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading Γ(T.left, ⊤) n) := |
| 20 | I.map (Graded.BaseChange.GradedHilbert.gradedCoefficientMap x.left.appTop.hom) |
| 21 | |
| 22 | def parameterProjectiveCoefficient : |
| 23 | Proj (Graded.Quotient.GradedHilbert.quotientGrading (parameterHomogeneousIdeal M I x)) ⟶ Proj (Graded.Quotient.GradedHilbert.quotientGrading I) := by |
| 24 | let : Algebra Γ(M.left, ⊤) Γ(T.left, ⊤) := x.left.appTop.hom.toAlgebra |
| 25 | exact Projective.CoefficientMap.GradedHilbert.projectiveCoefficientMap I |
| 26 | |
| 27 | theorem parameterProjectiveCoefficient_isPullback : |
| 28 | IsPullback (parameterProjectiveCoefficient M I x) |
| 29 | (Projective.Flatness.GradedHilbert.projectiveStructureMap (Graded.Quotient.GradedHilbert.quotientGrading (parameterHomogeneousIdeal M I x))) |
| 30 | (Projective.Flatness.GradedHilbert.projectiveStructureMap (Graded.Quotient.GradedHilbert.quotientGrading I)) (Spec.map x.left.appTop) := by |
| 31 | let : Algebra Γ(M.left, ⊤) Γ(T.left, ⊤) := x.left.appTop.hom.toAlgebra |
| 32 | exact Projective.BaseChange.GradedHilbert.projectiveQuotient_isPullback I |
| 33 | |
| 34 | def relativePolynomialParameterCoefficient : |
| 35 | Relative.PolynomialFamily.GradedHilbert.relativePolynomialFamily T (parameterHomogeneousIdeal M I x) (𝟙 T) ⟶ Proj (Graded.Quotient.GradedHilbert.quotientGrading I) := |
| 36 | pullback.fst _ _ ≫ parameterProjectiveCoefficient M I x |
| 37 | |
| 38 | theorem relativePolynomialParameter_isPullback : |
| 39 | IsPullback (relativePolynomialParameterCoefficient M I x) |
| 40 | (Relative.PolynomialFamily.GradedHilbert.relativePolynomialProjection T (parameterHomogeneousIdeal M I x) (𝟙 T)) |
| 41 | (Projective.Flatness.GradedHilbert.projectiveStructureMap (Graded.Quotient.GradedHilbert.quotientGrading I)) (x.left ≫ M.left.toSpecΓ) := by |
| 42 | have H := (IsPullback.of_hasPullback |
| 43 | (Projective.Flatness.GradedHilbert.projectiveStructureMap (Graded.Quotient.GradedHilbert.quotientGrading (parameterHomogeneousIdeal M I x))) |
| 44 | T.left.toSpecΓ).paste_horiz (parameterProjectiveCoefficient_isPullback M I x) |
| 45 | change IsPullback (relativePolynomialParameterCoefficient M I x) |
| 46 | (Relative.PolynomialFamily.GradedHilbert.relativePolynomialProjection T (parameterHomogeneousIdeal M I x) (𝟙 T)) |
| 47 | (Projective.Flatness.GradedHilbert.projectiveStructureMap (Graded.Quotient.GradedHilbert.quotientGrading I)) (T.left.toSpecΓ ≫ Spec.map x.left.appTop) at H |
| 48 | rwa [← Scheme.toSpecΓ_naturality x.left] at H |
| 49 | |
| 50 | def relativePolynomialParameterIso : |
| 51 | Relative.PolynomialFamily.GradedHilbert.relativePolynomialFamily T (parameterHomogeneousIdeal M I x) (𝟙 T) ≅ Relative.PolynomialFamily.GradedHilbert.relativePolynomialFamily M I x := |
| 52 | (relativePolynomialParameter_isPullback M I x).isoPullback |
| 53 | |
| 54 | theorem relativePolynomialParameterIso_projection : |
| 55 | (relativePolynomialParameterIso M I x).hom ≫ Relative.PolynomialFamily.GradedHilbert.relativePolynomialProjection M I x = |
| 56 | Relative.PolynomialFamily.GradedHilbert.relativePolynomialProjection T (parameterHomogeneousIdeal M I x) (𝟙 T) := |
| 57 | (relativePolynomialParameter_isPullback M I x).isoPullback_hom_snd |
| 58 | |
| 59 | theorem relativePolynomialParameterIso_coefficient : |
| 60 | (relativePolynomialParameterIso M I x).hom ≫ pullback.fst _ _ = |
| 61 | relativePolynomialParameterCoefficient M I x := |
| 62 | (relativePolynomialParameter_isPullback M I x).isoPullback_hom_fst |
| 63 | |
| 64 | theorem parameterProjectiveCoefficient_inclusion : |
| 65 | parameterProjectiveCoefficient M I x ≫ Projective.Quotient.GradedHilbert.projectiveQuotientInclusion I = |
| 66 | Projective.Quotient.GradedHilbert.projectiveQuotientInclusion (parameterHomogeneousIdeal M I x) ≫ |
| 67 | ProjectiveCoefficientMap.GradedHilbert.polynomialProjectiveCoefficientMap x.left.appTop.hom := by |
| 68 | let : Algebra Γ(M.left, ⊤) Γ(T.left, ⊤) := x.left.appTop.hom.toAlgebra |
| 69 | exact ProjectiveCoefficientMap.GradedHilbert.projectiveCoefficientMap_inclusion I |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Polynomial.ParameterSpecialization.GradedHilbert |