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.Relative.EmbeddingFieldCriterion |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Uniform.GeometricGraphEmbedding |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.RelativeProjective.Families |
| 4 | |
| 5 | /-! # Graph Embedding -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Relative.GraphEmbedding.PolarizedAbelianWithLevel |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Every actual graph-power embedding over an arbitrary tame base has the |
| 12 | polarization-type Hilbert polynomial on every field-valued fiber. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | universe u |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | variable {S : Scheme.{u}} {g N : ℕ} {δ : Fin g → ℕ} |
| 18 | variable (A : PolarizationData.PolarizedAbelianWithFullLevel g δ N S) |
| 19 | |
| 20 | local instance : Flat (Over.mk A.abelian.scheme.hom).hom := |
| 21 | inferInstanceAs (Flat A.abelian.scheme.hom) |
| 22 | local instance : LocallyOfFinitePresentation (Over.mk A.abelian.scheme.hom).hom := |
| 23 | inferInstanceAs (LocallyOfFinitePresentation A.abelian.scheme.hom) |
| 24 | |
| 25 | theorem _root_.OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel.graphBundle_relativePowerEmbedding_hilbertPolynomial |
| 26 | (hg : 0 < g) (hN : 3 ≤ N) (hunit : IsUnit (N : Γ(S, ⊤))) |
| 27 | (E : Power.ProjectiveEmbeddings.PowerProjectiveEmbedding A.graphBundle A.abelian.scheme.hom) : |
| 28 | letI : IsClosedImmersion |
| 29 | (SectionsProjectiveMorphism.sectionProjectiveMorphism A.abelian.scheme.hom E.sections E.covers).left := E.closedImmersion |
| 30 | ∀ (K : Type u) [Field K] (x : Spec (.of K) ⟶ S), |
| 31 | HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial ((Closed.Families.FlatClosedFamily.ofEmbedding |
| 32 | (SectionsProjectiveMorphism.sectionProjectiveMorphism A.abelian.scheme.hom E.sections E.covers)).affineProjectivePullback x).homogeneousIdeal.toIdeal ((Normalized.GraphPolynomial.normalizedGraphHilbertPolynomial g δ).comp |
| 33 | (Polynomial.C (E.degree : ℚ) * Polynomial.X)) := by |
| 34 | let : IsClosedImmersion |
| 35 | (SectionsProjectiveMorphism.sectionProjectiveMorphism A.abelian.scheme.hom E.sections E.covers).left := E.closedImmersion |
| 36 | intro K _ x |
| 37 | let B := A.pullback x |
| 38 | let a := CategoryTheory.Limits.pullback.fst A.abelian.scheme.hom x |
| 39 | let M := (RelativeProjective.TwistingBundle.relativeProjectiveTwistingBundle S E.dimension).pullback |
| 40 | (SectionsProjectiveMorphism.sectionProjectiveMorphism A.abelian.scheme.hom E.sections E.covers).left |
| 41 | let e₀ : M.sheaf ≅ (A.graphBundle.tensorPower E.degree).sheaf := |
| 42 | E.twistingBundleIso A.abelian.scheme.hom ≪≫ |
| 43 | (E.isPower.unique (A.graphBundle.tensorPower_isTensorPower E.degree)).some |
| 44 | let e : (M.pullback a).sheaf ≅ (B.graphBundle.tensorPower E.degree).sheaf := |
| 45 | (Scheme.Modules.pullback a).mapIso e₀ ≪≫ A.graphBundle.powerBaseChangeIso a E.degree ≪≫ |
| 46 | (TensorPower.Maps.tensorPowerFunctor B.abelian.scheme.left E.degree).mapIso (A.graphBundle_baseChangeIso x).symm |
| 47 | apply (EmbeddingFieldCriterion.relativeEmbedding_fieldHilbert_iff |
| 48 | (SectionsProjectiveMorphism.sectionProjectiveMorphism A.abelian.scheme.hom E.sections E.covers) x _).mpr |
| 49 | exact (Line.Bundles.LineBundle.hasSectionHilbertPolynomial_iff_of_sheafIso B.abelian.scheme.hom |
| 50 | (M.pullback a) (B.graphBundle.tensorPower E.degree) e _).mpr |
| 51 | (B.graphBundle_positivePower_normalized_hilbertPolynomial hg hN |
| 52 | (Geometric.NormalizedGraphPolynomial.fieldPoint_natCast_ne_zero_of_global_unit hunit x) E.degree E.degree_pos) |
| 53 | |
| 54 | def _root_.OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel.graphPowerEmbeddingHilbertFamily |
| 55 | (hg : 0 < g) (hN : 3 ≤ N) (hunit : IsUnit (N : Γ(S, ⊤))) |
| 56 | (E : Power.ProjectiveEmbeddings.PowerProjectiveEmbedding A.graphBundle A.abelian.scheme.hom) : |
| 57 | RelativeProjective.Families.RelativeProjectiveHilbertFamily S E.dimension |
| 58 | ((Normalized.GraphPolynomial.normalizedGraphHilbertPolynomial g δ).comp (Polynomial.C (E.degree : ℚ) * Polynomial.X)) := by |
| 59 | letI : IsClosedImmersion |
| 60 | (SectionsProjectiveMorphism.sectionProjectiveMorphism A.abelian.scheme.hom E.sections E.covers).left := E.closedImmersion |
| 61 | exact ⟨Closed.Families.FlatClosedFamily.ofEmbedding |
| 62 | (SectionsProjectiveMorphism.sectionProjectiveMorphism A.abelian.scheme.hom E.sections E.covers), |
| 63 | A.graphBundle_relativePowerEmbedding_hilbertPolynomial hg hN hunit E⟩ |
| 64 | |
| 65 | def _root_.OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel.uniformGraphPowerEmbeddingHilbertFamily |
| 66 | (hg : 0 < g) (hN : 3 ≤ N) (hunit : IsUnit (N : Γ(S, ⊤))) |
| 67 | (E : Power.ProjectiveEmbeddings.PowerProjectiveEmbedding A.graphBundle A.abelian.scheme.hom) |
| 68 | (hE : E.degree = Graph.EmbeddingNumerics.graphUniformEmbeddingDegree g δ) : |
| 69 | RelativeProjective.Families.RelativeProjectiveHilbertFamily S E.dimension (Uniform.GeometricGraphEmbedding.uniformGraphEmbeddingHilbertPolynomial g δ) := by |
| 70 | simpa only [Uniform.GeometricGraphEmbedding.uniformGraphEmbeddingHilbertPolynomial, hE] using |
| 71 | A.graphPowerEmbeddingHilbertFamily hg hN hunit E |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Relative.GraphEmbedding.PolarizedAbelianWithLevel |