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.AbelianModuli.HilbertConstruction.ClosedFamily.HomogeneousCoordinates |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ClosedFamily.FiniteEquations |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Finite.ProjectiveFamilyEquations |
| 4 | |
| 5 | /-! # Homogeneous Family Models -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Finite homogeneous models of actual closed projective families over arbitrary rings. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open OAI.AlgebraicGeometry.HilbertScheme.Presentations.Finite.ProjectiveFamilyEquations.GradedHilbert |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {R : Type u} [CommRing R] {n : ℕ} |
| 19 | variable (F : Closed.Families.FlatClosedFamily (Projective.ProjectivePresentations.affineProjectiveSpace R n)) |
| 20 | |
| 21 | theorem Closed.Families.FlatClosedFamily.homogeneousIdeal_locallyFinitePresentation : |
| 22 | LocallyOfFinitePresentation (HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading F.homogeneousIdeal)) := by |
| 23 | let e := F.homogeneousFamilyIso |
| 24 | have : IsIso e.hom.left := (Over.forget _).map_isIso e.hom |
| 25 | have : LocallyOfFinitePresentation F.scheme.hom := F.locallyFinitePresentation |
| 26 | have hh : LocallyOfFinitePresentation (e.hom.left ≫ F.scheme.hom) := inferInstance |
| 27 | change LocallyOfFinitePresentation (Projective.EmbeddingBaseChange.homogeneousProjectiveFamily F.homogeneousIdeal).hom |
| 28 | exact e.hom.w ▸ hh |
| 29 | |
| 30 | theorem Closed.Families.FlatClosedFamily.exists_finite_homogeneous_equations : |
| 31 | ∃ J : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n), J.toIdeal.FG ∧ J ≤ F.homogeneousIdeal ∧ |
| 32 | HilbertScheme.Presentations.Projective.Saturation.GradedHilbert.projectiveSaturation J = F.homogeneousIdeal ∧ |
| 33 | (Projective.EmbeddingBaseChange.homogeneousProjectiveEmbedding J).left.ker = F.ideal := by |
| 34 | let : LocallyOfFinitePresentation |
| 35 | (HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading F.homogeneousIdeal)) := |
| 36 | F.homogeneousIdeal_locallyFinitePresentation |
| 37 | obtain ⟨J, hfg, hle, hs⟩ := HilbertScheme.Presentations.Finite.ProjectiveFamilyEquations.GradedHilbert.finite_homogeneous_saturated_equations |
| 38 | F.homogeneousIdeal F.homogeneousIdeal_saturated |
| 39 | refine ⟨J, hfg, hle, hs, ?_⟩ |
| 40 | change (HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotientInclusion J).ker = F.ideal |
| 41 | rw [← HilbertScheme.Presentations.Projective.Saturation.GradedHilbert.projectiveSaturation_idealSheaf J, hs] |
| 42 | exact HilbertScheme.Presentations.Projective.IdealEquivalence.GradedHilbert.projectiveQuotient_homogeneousIdealOfSheaf F.ideal |
| 43 | |
| 44 | theorem Closed.Families.FlatClosedFamily.exists_finite_homogeneous_model : |
| 45 | ∃ J : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n), J.toIdeal.FG ∧ |
| 46 | (Projective.EmbeddingBaseChange.homogeneousProjectiveEmbedding J).left.ker = F.ideal ∧ |
| 47 | Flat (HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading J)) ∧ |
| 48 | LocallyOfFinitePresentation (HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading J)) := by |
| 49 | obtain ⟨J, hfg, _, _, hk⟩ := F.exists_finite_homogeneous_equations |
| 50 | let e : Projective.EmbeddingBaseChange.homogeneousProjectiveFamily J ≅ F.scheme := |
| 51 | Closed.EmbeddingKernelIso.closedEmbeddingKernelIso (Projective.EmbeddingBaseChange.homogeneousProjectiveEmbedding J) F.inclusion |
| 52 | (hk.trans F.ideal.ker_subschemeι.symm) |
| 53 | have : IsIso e.hom.left := (Over.forget _).map_isIso e.hom |
| 54 | have : Flat F.scheme.hom := F.flat |
| 55 | have : LocallyOfFinitePresentation F.scheme.hom := F.locallyFinitePresentation |
| 56 | have hf : Flat (e.hom.left ≫ F.scheme.hom) := inferInstance |
| 57 | have hp : LocallyOfFinitePresentation (e.hom.left ≫ F.scheme.hom) := inferInstance |
| 58 | refine ⟨J, hfg, hk, ?_, ?_⟩ |
| 59 | · change Flat (Projective.EmbeddingBaseChange.homogeneousProjectiveFamily J).hom |
| 60 | exact e.hom.w ▸ hf |
| 61 | · change LocallyOfFinitePresentation (Projective.EmbeddingBaseChange.homogeneousProjectiveFamily J).hom |
| 62 | exact e.hom.w ▸ hp |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |