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.PresentedGroupGraphBounds |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Uniform.EmbeddedGroupGraphBounds |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Graph.EmbeddingClassifier |
| 4 | |
| 5 | /-! # Family Group Operations -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The ideal-defined Hilbert family of a graph-power embedding carries |
| 12 | the original commutative-group operations through its recovery iso. Its |
| 13 | native addition and inversion graph embeddings retain the uniform bounds. -/ |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | universe u |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | variable {S : Scheme.{u}} {g N : ℕ} {δ : Fin g → ℕ} |
| 19 | variable (A : PolarizationData.PolarizedAbelianWithFullLevel g δ N S) |
| 20 | variable (hg : 0 < g) (hN : 3 ≤ N) (hunit : IsUnit (N : Γ(S, ⊤))) |
| 21 | variable (E : Power.ProjectiveEmbeddings.PowerProjectiveEmbedding A.graphBundle A.abelian.scheme.hom) |
| 22 | |
| 23 | local instance PolarizationData.PolarizedAbelianWithFullLevel.graphOperationSourceFlat : Flat (Over.mk A.abelian.scheme.hom).hom := |
| 24 | inferInstanceAs (Flat A.abelian.scheme.hom) |
| 25 | local instance PolarizationData.PolarizedAbelianWithFullLevel.graphOperationSourceFinitePresentation : |
| 26 | LocallyOfFinitePresentation (Over.mk A.abelian.scheme.hom).hom := |
| 27 | inferInstanceAs (LocallyOfFinitePresentation A.abelian.scheme.hom) |
| 28 | |
| 29 | instance PolarizationData.PolarizedAbelianWithFullLevel.graphPowerEmbeddingHilbertFamily_proper : |
| 30 | IsProper (A.graphPowerEmbeddingHilbertFamily hg hN hunit E).family.scheme.hom := |
| 31 | (A.graphPowerEmbeddingHilbertFamily hg hN hunit E).family.proper |
| 32 | |
| 33 | instance PolarizationData.PolarizedAbelianWithFullLevel.graphPowerEmbeddingHilbertFamily_smooth : |
| 34 | Smooth (A.graphPowerEmbeddingHilbertFamily hg hN hunit E).family.scheme.hom := by |
| 35 | let : SmoothOfRelativeDimension g |
| 36 | (A.graphPowerEmbeddingHilbertFamily hg hN hunit E).family.scheme.hom := |
| 37 | A.graphPowerEmbeddingHilbertFamily_dimension hg hN hunit E |
| 38 | exact SmoothOfRelativeDimension.smooth g _ |
| 39 | |
| 40 | def PolarizationData.PolarizedAbelianWithFullLevel.graphPowerEmbeddingHilbertPresentation : |
| 41 | Projective.ProjectivePresentations.ProjectivePresentation (A.graphPowerEmbeddingHilbertFamily hg hN hunit E).family.scheme where |
| 42 | dimension := E.dimension |
| 43 | embedding := (A.graphPowerEmbeddingHilbertFamily hg hN hunit E).family.inclusion |
| 44 | closedImmersion := inferInstance |
| 45 | |
| 46 | theorem PolarizationData.PolarizedAbelianWithFullLevel.graphPowerEmbeddingHilbertSchemeIso_embedding : |
| 47 | (A.graphPowerEmbeddingHilbertSchemeIso hg hN hunit E).hom ≫ |
| 48 | (A.graphPowerEmbeddingHilbertPresentation hg hN hunit E).embedding = E.projectivePresentation.embedding := by |
| 49 | let : IsClosedImmersion |
| 50 | (SectionsProjectiveMorphism.sectionProjectiveMorphism A.abelian.scheme.hom E.sections E.covers).left := E.closedImmersion |
| 51 | exact Closed.Families.FlatClosedFamily.ofEmbeddingIso_inclusion |
| 52 | (SectionsProjectiveMorphism.sectionProjectiveMorphism A.abelian.scheme.hom E.sections E.covers) |
| 53 | |
| 54 | def PolarizationData.PolarizedAbelianWithFullLevel.graphPowerEmbeddingHilbertOperations : |
| 55 | FamilyGroup.Operations.FamilyGroupOperations (A.graphPowerEmbeddingHilbertFamily hg hN hunit E).family.scheme := |
| 56 | (FamilyGroup.Operations.FamilyGroupOperations.ofGrpObj A.abelian.scheme).ofIso |
| 57 | (A.graphPowerEmbeddingHilbertSchemeIso hg hN hunit E) |
| 58 | |
| 59 | theorem PolarizationData.PolarizedAbelianWithFullLevel.graphPowerEmbeddingHilbertOperations_laws : |
| 60 | (A.graphPowerEmbeddingHilbertOperations hg hN hunit E).Laws := |
| 61 | (FamilyGroup.Operations.FamilyGroupOperations.ofGrpObj A.abelian.scheme).ofIso_laws |
| 62 | (A.graphPowerEmbeddingHilbertSchemeIso hg hN hunit E) |
| 63 | (FamilyGroup.Operations.FamilyGroupOperations.ofGrpObj_laws A.abelian.scheme) |
| 64 | |
| 65 | theorem PolarizationData.PolarizedAbelianWithFullLevel.graphPowerEmbeddingHilbertOperations_bounds |
| 66 | (hd : E.degree = Graph.EmbeddingNumerics.graphUniformEmbeddingDegree g δ) : |
| 67 | (A.graphPowerEmbeddingHilbertOperations hg hN hunit E).ProjectiveGraphBounds |
| 68 | (A.graphPowerEmbeddingHilbertPresentation hg hN hunit E) |
| 69 | (Base.ChangedGroupGraph.uniformAdditionGraphHilbertPolynomial g δ) (Base.ChangedGroupGraph.uniformInversionGraphHilbertPolynomial g δ) := by |
| 70 | let : IsClosedImmersion |
| 71 | (SectionsProjectiveMorphism.sectionProjectiveMorphism A.abelian.scheme.hom E.sections E.covers).left := E.closedImmersion |
| 72 | let : IsClosedImmersion |
| 73 | (A.graphPowerEmbeddingHilbertPresentation hg hN hunit E).embedding.left := |
| 74 | (A.graphPowerEmbeddingHilbertPresentation hg hN hunit E).closedImmersion |
| 75 | exact FamilyGroup.Operations.FamilyGroupOperations.ProjectiveGraphBounds.ofIso |
| 76 | E.projectivePresentation.embedding (A.graphPowerEmbeddingHilbertPresentation hg hN hunit E).embedding |
| 77 | (A.graphPowerEmbeddingHilbertSchemeIso hg hN hunit E) |
| 78 | (A.graphPowerEmbeddingHilbertSchemeIso_embedding hg hN hunit E) |
| 79 | (FamilyGroup.Operations.FamilyGroupOperations.ofGrpObj A.abelian.scheme) |
| 80 | (Base.ChangedGroupGraph.uniformAdditionGraphHilbertPolynomial g δ) (Base.ChangedGroupGraph.uniformInversionGraphHilbertPolynomial g δ) |
| 81 | (A.uniformEmbeddedGroupGraphBounds hg hN hunit E hd) |
| 82 | |
| 83 | end |
| 84 | |
| 85 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |