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.PELModuli.IntegralModel.Relative.PolarizedAutomorphismGraphBounds |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Relative.SourcePolynomial |
| 3 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.ScaledTwistHilbertPolynomial |
| 4 | |
| 5 | /-! # Automorphism Source Polynomial -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Polarized.AutomorphismSourcePolynomial |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The graph polynomial of any polarized automorphism is the source |
| 12 | fiber polynomial evaluated at twice the degree. It is chosen before the |
| 13 | automorphism, field extension, and Segre presentation. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 18 | |
| 19 | def polarizedAutomorphismGraphPolynomial {S : Scheme.{0}} {X : Over S} |
| 20 | (B : HilbertScheme.Presentations.Has.Core.ProjectivePresentation X) (x : S) : Polynomial ℚ := |
| 21 | (Relative.SourcePolynomial.PolarizationEmbedding.e34SourceHilbertPolynomial B x).comp (Polynomial.C 2 * Polynomial.X) |
| 22 | |
| 23 | theorem polarizedAutomorphismGraphPolynomial_isLocallyConstant |
| 24 | {S : Scheme.{0}} [IsAffine S] [IsLocallyNoetherian S] {X : Over S} [Flat X.hom] |
| 25 | (B : HilbertScheme.Presentations.Has.Core.ProjectivePresentation X) : |
| 26 | IsLocallyConstant (polarizedAutomorphismGraphPolynomial B) := |
| 27 | (Relative.SourcePolynomial.PolarizationEmbedding.e34SourceHilbertPolynomial_isLocallyConstant B).comp |
| 28 | (fun P => P.comp (Polynomial.C 2 * Polynomial.X)) |
| 29 | |
| 30 | theorem polarized_automorphism_field_graph_source_polynomial |
| 31 | {S : Scheme.{0}} [IsAffine S] [IsLocallyNoetherian S] |
| 32 | {g N : ℕ} {δ : Fin g → ℕ} (A : AbelianModuli.HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel g δ N S) |
| 33 | (P : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle A.abelian.scheme.left) (d : ℕ) |
| 34 | (hP : AbelianModuli.HilbertConstruction.Tensor.Powers.IsTensorPower (Relative.PoincareSimilitude.RelativePoincareClasses.polarizationLine A.dual |
| 35 | A.polarization.isogeny.hom).sheaf d P.sheaf) |
| 36 | {n : ℕ} (s : Fin (n + 1) → (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule A.abelian.scheme.left ⟶ P.sheaf)) |
| 37 | (hs : ∀ x : A.abelian.scheme.left, ∃ i, x ∈ AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing (s i)) |
| 38 | (he : IsClosedImmersion (AbelianModuli.HilbertConstruction.SectionsProjectiveMorphism.sectionProjectiveMorphism A.abelian.scheme.hom s hs).left) |
| 39 | (B : HilbertScheme.Presentations.Has.Core.ProjectivePresentation (A.abelian.scheme ⨯ A.abelian.scheme)) |
| 40 | (hB : HilbertScheme.Presentations.Segre.Open.Core.IsSegrePresentation (SegreSectionPowers.PolarizationEmbedding.e34SectionPresentation A.abelian.scheme P s hs he) |
| 41 | (SegreSectionPowers.PolarizationEmbedding.e34SectionPresentation A.abelian.scheme P s hs he) B) |
| 42 | {K : Type} [Field K] (a : Spec (.of K) ⟶ S) |
| 43 | (e : AbelianModuli.HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso (A.pullback a) (A.pullback a)) : |
| 44 | HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial (HilbertScheme.Presentations.ChartHomogeneousIdeal.GradedHilbert.homogeneousIdealOfSheaf |
| 45 | (Relative.FieldGraphEmbeddings.PolarizationEmbedding.relativeFieldGraphEmbedding A.abelian B a e.abelian.hom).ker).toIdeal |
| 46 | (polarizedAutomorphismGraphPolynomial (SegreSectionPowers.PolarizationEmbedding.e34SectionPresentation A.abelian.scheme P s hs he) |
| 47 | (a (IsLocalRing.closedPoint K))) := by |
| 48 | let BA := SegreSectionPowers.PolarizationEmbedding.e34SectionPresentation A.abelian.scheme P s hs he |
| 49 | let j := Relative.FieldSourceEmbedding.PolarizationEmbedding.relativeFieldSourceEmbedding BA a |
| 50 | let v := e.abelian.hom |
| 51 | let f := Relative.FieldGraphEmbeddings.PolarizationEmbedding.relativeFieldGraphEmbedding A.abelian B a v |
| 52 | have : IsClosedImmersion j := Relative.FieldSourceEmbedding.PolarizationEmbedding.relativeFieldSourceEmbedding_closed BA a |
| 53 | have : IsClosedImmersion f := Relative.FieldGraphEmbeddings.PolarizationEmbedding.relativeFieldGraphEmbedding_closed A.abelian B a v |
| 54 | have hb : f ≫ SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := K) = |
| 55 | j ≫ SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := K) := |
| 56 | (Relative.FieldGraphEmbeddings.PolarizationEmbedding.relativeFieldGraphEmbedding_over A.abelian B a v).trans |
| 57 | (Relative.FieldSourceEmbedding.PolarizationEmbedding.relativeFieldSourceEmbedding_over BA a).symm |
| 58 | have hv := Relative.PolarizedAutomorphismGraphBounds.geometric_polarized_automorphism_preserves_embedding_line A a P d hP e |
| 59 | apply ScaledTwistHilbertPolynomial.PolarizationEmbedding.e34HilbertPolynomial_of_scaled_twists j f hb 2 (by decide) |
| 60 | _ _ (Relative.SourcePolynomial.PolarizationEmbedding.relativeFieldSourceEmbedding_hasHilbertPolynomial BA a) |
| 61 | intro m |
| 62 | obtain ⟨b⟩ := Relative.FieldGraphTwists.PolarizationEmbedding.relativeFieldGraphEmbedding_twists A.abelian B a v P s hs he hB 0 m |
| 63 | obtain ⟨q⟩ := Relative.GraphPolarizationPowers.PolarizationEmbedding.relativeGraphToProduct_power A.abelian (Over.mk a) v P 1 m |
| 64 | (hv.trans (pow_one _).symm) |
| 65 | obtain ⟨t⟩ := Relative.FieldSourceTwists.PolarizationEmbedding.relativeFieldSourceEmbedding_twists A.abelian.scheme P s hs he a 0 (2 * m) |
| 66 | exact ⟨b ≪≫ q ≪≫ t.symm⟩ |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Polarized.AutomorphismSourcePolynomial |