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.Base.ChangedGroupGraph |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cartesian.EmbeddingField |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.InversionGraph |
| 4 | |
| 5 | /-! # Embedded Group Graph Bounds -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Uniform.EmbeddedGroupGraphBounds.PolarizedAbelianWithLevel |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Addition and inversion in the original native projective |
| 12 | presentations satisfy their full relative Hilbert conditions, quantified |
| 13 | over all field-valued points of an arbitrary tame base. -/ |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | open _root_.CategoryTheory.MonoidalCategory |
| 16 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 17 | universe u |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | local instance _root_.OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel.uniformGraphProductFlat {S : Scheme.{u}} (X Y : Over S) [Flat X.hom] [Flat Y.hom] : |
| 21 | Flat (X ⊗ Y).hom := inferInstanceAs (Flat (pullback.fst X.hom Y.hom ≫ X.hom)) |
| 22 | |
| 23 | local instance _root_.OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel.uniformGraphProductFinitePresentation {S : Scheme.{u}} (X Y : Over S) |
| 24 | [LocallyOfFinitePresentation X.hom] [LocallyOfFinitePresentation Y.hom] : |
| 25 | LocallyOfFinitePresentation (X ⊗ Y).hom := inferInstanceAs |
| 26 | (LocallyOfFinitePresentation (pullback.fst X.hom Y.hom ≫ X.hom)) |
| 27 | |
| 28 | private theorem sectionData_cartesian_fiberHilbert_iff |
| 29 | {S : Scheme.{u}} {X : Over S} [Flat X.hom] [LocallyOfFinitePresentation X.hom] |
| 30 | {P : Projective.ProjectivePresentations.ProjectivePresentation X} {L : Line.Bundles.LineBundle X.left} (D : P.SectionData L) |
| 31 | {K : Type u} [Field K] (x : Spec (.of K) ⟶ S) (Y : Over (Spec (.of K))) |
| 32 | (a : Y.left ⟶ X.left) (H : IsPullback a Y.hom X.hom x) (M : Line.Bundles.LineBundle Y.left) |
| 33 | (e : (L.pullback a).sheaf ≅ M.sheaf) (poly : Polynomial ℚ) : |
| 34 | HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial ((Closed.Families.FlatClosedFamily.ofEmbedding P.embedding).affineProjectivePullback x).homogeneousIdeal.toIdeal poly ↔ |
| 35 | M.HasSectionHilbertPolynomial Y.hom poly := |
| 36 | Cartesian.EmbeddingField.relativeEmbedding_fieldHilbert_cartesian_iff P.embedding x Y a H M |
| 37 | ((Scheme.Modules.pullback a).mapIso D.twistingIso ≪≫ e) poly |
| 38 | |
| 39 | private theorem graphHilbert_of_cartesianSectionData |
| 40 | {S : Scheme.{u}} {X Y : Over S} |
| 41 | [Flat X.hom] [LocallyOfFinitePresentation X.hom] [IsSeparated Y.hom] |
| 42 | (P : Projective.ProjectivePresentations.ProjectivePresentation X) (Q : Projective.ProjectivePresentations.ProjectivePresentation Y) (p : X ⟶ Y) |
| 43 | {L : Line.Bundles.LineBundle X.left} (D : (P.graph Q p).SectionData L) (poly : Polynomial ℚ) |
| 44 | (hf : ∀ (K : Type u) [Field K] (x : Spec (.of K) ⟶ S), |
| 45 | ∃ (Z : Over (Spec (.of K))) (a : Z.left ⟶ X.left) |
| 46 | (_ : IsPullback a Z.hom X.hom x) (M : Line.Bundles.LineBundle Z.left) |
| 47 | (_ : (L.pullback a).sheaf ≅ M.sheaf), M.HasSectionHilbertPolynomial Z.hom poly) : |
| 48 | Embedded.GraphHilbertBaseChange.HasEmbeddedGraphHilbertPolynomial (P.product Q).embedding poly p := by |
| 49 | let c := MorphismGraphFamilies.familyGraph p ≫ (P.product Q).embedding |
| 50 | let : IsClosedImmersion c.left := (P.graph Q p).closedImmersion |
| 51 | have hfamily : (MorphismGraphFamilies.morphismGraphFamily p).reembed (P.product Q).embedding = |
| 52 | Closed.Families.FlatClosedFamily.ofEmbedding c := |
| 53 | Closed.Families.FlatClosedFamily.ofEmbedding_reembed (MorphismGraphFamilies.familyGraph p) (P.product Q).embedding |
| 54 | intro K _ x |
| 55 | change HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial |
| 56 | (((MorphismGraphFamilies.morphismGraphFamily p).reembed (P.product Q).embedding).affineProjectivePullback x).homogeneousIdeal.toIdeal _ |
| 57 | rw [hfamily] |
| 58 | obtain ⟨Z, a, H, M, e, hM⟩ := hf K x |
| 59 | exact (sectionData_cartesian_fiberHilbert_iff D x Z a H M e poly).mpr hM |
| 60 | |
| 61 | variable {S : Scheme.{u}} {g N : ℕ} {δ : Fin g → ℕ} |
| 62 | variable (A : PolarizationData.PolarizedAbelianWithFullLevel g δ N S) |
| 63 | variable (hg : 0 < g) (hN : 3 ≤ N) (hunit : IsUnit (N : Γ(S, ⊤))) |
| 64 | variable (E : Power.ProjectiveEmbeddings.PowerProjectiveEmbedding A.graphBundle A.abelian.scheme.hom) |
| 65 | |
| 66 | include hg hN hunit |
| 67 | |
| 68 | theorem _root_.OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel.additionGraph_relativePowerEmbedding_hilbertPolynomial : |
| 69 | Embedded.GraphHilbertBaseChange.HasEmbeddedGraphHilbertPolynomial |
| 70 | ((E.projectivePresentation.product E.projectivePresentation).product E.projectivePresentation).embedding |
| 71 | ((AdditionGraphPolynomial.normalizedAdditionGraphHilbertPolynomial g δ).comp |
| 72 | (Polynomial.C (E.degree : ℚ) * Polynomial.X)) μ[A.abelian.scheme] := by |
| 73 | refine graphHilbert_of_cartesianSectionData (E.projectivePresentation.product E.projectivePresentation) |
| 74 | E.projectivePresentation μ[A.abelian.scheme] (E.binaryGraphSectionData μ[A.abelian.scheme]) _ ?_ |
| 75 | intro K _ x |
| 76 | let B := A.pullback x |
| 77 | let a := Graph.FamilyNaturality.overProductBaseChangeMap x A.abelian.scheme A.abelian.scheme |
| 78 | let O := A.additionGraphBundle.tensorPower E.degree |
| 79 | let e : (O.pullback a).sheaf ≅ (B.additionGraphBundle.tensorPower E.degree).sheaf := |
| 80 | A.additionGraphBundle.powerBaseChangeIso a E.degree ≪≫ |
| 81 | (TensorPower.Maps.tensorPowerFunctor (B.abelian.scheme ⊗ B.abelian.scheme).left E.degree).mapIso |
| 82 | (A.additionGraphBundle_baseChangeIso x) |
| 83 | exact ⟨B.abelian.scheme ⊗ B.abelian.scheme, a, |
| 84 | Graph.FamilyNaturality.overProductBaseChange_isPullback x A.abelian.scheme A.abelian.scheme, |
| 85 | B.additionGraphBundle.tensorPower E.degree, e, |
| 86 | A.pulledBackAdditionGraphBundle_positivePower_hilbertPolynomial_allFields hg hN hunit K x |
| 87 | E.degree E.degree_pos⟩ |
| 88 | |
| 89 | theorem _root_.OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel.inversionGraph_relativePowerEmbedding_hilbertPolynomial : |
| 90 | Embedded.GraphHilbertBaseChange.HasEmbeddedGraphHilbertPolynomial |
| 91 | (E.projectivePresentation.product E.projectivePresentation).embedding |
| 92 | ((Normalized.GraphPolynomial.normalizedGraphHilbertPolynomial g δ).comp |
| 93 | (Polynomial.C ((E.degree * 2 : ℕ) : ℚ) * Polynomial.X)) ι[A.abelian.scheme] := by |
| 94 | refine graphHilbert_of_cartesianSectionData E.projectivePresentation |
| 95 | E.projectivePresentation ι[A.abelian.scheme] (E.unaryGraphSectionData ι[A.abelian.scheme]) _ ?_ |
| 96 | intro K _ x |
| 97 | let B := A.pullback x |
| 98 | let a := pullback.fst A.abelian.scheme.hom x |
| 99 | let O := A.inversionGraphBundle.tensorPower E.degree |
| 100 | let e : (O.pullback a).sheaf ≅ (B.inversionGraphBundle.tensorPower E.degree).sheaf := |
| 101 | A.inversionGraphBundle.powerBaseChangeIso a E.degree ≪≫ |
| 102 | (TensorPower.Maps.tensorPowerFunctor B.abelian.scheme.left E.degree).mapIso (A.inversionGraphBundle_baseChangeIso x) |
| 103 | exact ⟨B.abelian.scheme, a, IsPullback.of_hasPullback A.abelian.scheme.hom x, |
| 104 | B.inversionGraphBundle.tensorPower E.degree, e, |
| 105 | B.inversionGraphBundle_positivePower_hilbertPolynomial hg hN |
| 106 | (Geometric.NormalizedGraphPolynomial.fieldPoint_natCast_ne_zero_of_global_unit hunit x) E.degree E.degree_pos⟩ |
| 107 | |
| 108 | theorem _root_.OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel.uniformEmbeddedGroupGraphBounds (hE : E.degree = Graph.EmbeddingNumerics.graphUniformEmbeddingDegree g δ) : |
| 109 | Embedded.GraphHilbertBaseChange.HasEmbeddedGraphHilbertPolynomial |
| 110 | ((E.projectivePresentation.product E.projectivePresentation).product E.projectivePresentation).embedding |
| 111 | (Base.ChangedGroupGraph.uniformAdditionGraphHilbertPolynomial g δ) μ[A.abelian.scheme] ∧ |
| 112 | Embedded.GraphHilbertBaseChange.HasEmbeddedGraphHilbertPolynomial (E.projectivePresentation.product E.projectivePresentation).embedding |
| 113 | (Base.ChangedGroupGraph.uniformInversionGraphHilbertPolynomial g δ) ι[A.abelian.scheme] := by |
| 114 | constructor |
| 115 | · simpa only [Base.ChangedGroupGraph.uniformAdditionGraphHilbertPolynomial, hE] using |
| 116 | A.additionGraph_relativePowerEmbedding_hilbertPolynomial hg hN hunit E |
| 117 | · simpa only [Base.ChangedGroupGraph.uniformInversionGraphHilbertPolynomial, hE] using |
| 118 | A.inversionGraph_relativePowerEmbedding_hilbertPolynomial hg hN hunit E |
| 119 | |
| 120 | end |
| 121 | |
| 122 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Uniform.EmbeddedGroupGraphBounds.PolarizedAbelianWithLevel |