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.Presentations.FieldEmbeddings |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Presentations.Coefficient |
| 3 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.FieldBaseCoefficients |
| 4 | |
| 5 | /-! # Field Source Embedding -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Relative.FieldSourceEmbedding |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual source fiber embedding of an Presentations presentation is the |
| 12 | cartesian coefficient specialization of its source embedding. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 17 | |
| 18 | namespace PolarizationEmbedding |
| 19 | universe u |
| 20 | variable {S : Scheme.{u}} {X : Over S} |
| 21 | (B : HilbertScheme.Presentations.Has.Core.ProjectivePresentation X) |
| 22 | {K : Type u} [Field K] (a : Spec (.of K) ⟶ S) |
| 23 | |
| 24 | def relativeFieldSourceEmbedding : |
| 25 | pullback X.hom a ⟶ Proj (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading K B.dimension) := |
| 26 | (Presentations.FieldEmbeddings.PolarizationEmbedding.e34FieldSourceIso (Z := X) a).inv ≫ Presentations.FieldEmbeddings.PolarizationEmbedding.e34FieldEmbedding B a |
| 27 | |
| 28 | theorem relativeFieldSourceEmbedding_closed : |
| 29 | IsClosedImmersion (relativeFieldSourceEmbedding B a) := by |
| 30 | have := Presentations.FieldEmbeddings.PolarizationEmbedding.e34FieldEmbedding_closed B a |
| 31 | dsimp only [relativeFieldSourceEmbedding] |
| 32 | infer_instance |
| 33 | |
| 34 | theorem relativeFieldSourceEmbedding_over : |
| 35 | relativeFieldSourceEmbedding B a ≫ HilbertScheme.Presentations.Has.Core.projectiveSpaceMap K B.dimension = |
| 36 | pullback.snd X.hom a := by |
| 37 | rw [relativeFieldSourceEmbedding, Category.assoc, Presentations.FieldEmbeddings.PolarizationEmbedding.e34FieldEmbedding_over, |
| 38 | ← Presentations.FieldEmbeddings.PolarizationEmbedding.e34FieldSourceIso_snd (Z := X) a, Iso.inv_hom_id_assoc] |
| 39 | |
| 40 | theorem relativeFieldSourceEmbedding_coefficient : |
| 41 | relativeFieldSourceEmbedding B a ≫ AbelianModuli.HilbertConstruction.Projective.CoefficientFunctoriality.polynomialProjectiveMap (AbelianModuli.HilbertConstruction.AffineProjective.Charts.affinePointCoefficients a) B.dimension = |
| 42 | pullback.fst X.hom a ≫ B.coefficientEmbedding := by |
| 43 | rw [relativeFieldSourceEmbedding, Category.assoc, Presentations.FieldEmbeddings.PolarizationEmbedding.e34FieldEmbedding_coefficient, |
| 44 | ← Presentations.FieldEmbeddings.PolarizationEmbedding.e34FieldSourceIso_fst (Z := X) a, ← Category.assoc, Iso.inv_hom_id_assoc] |
| 45 | |
| 46 | theorem relativeFieldSourceEmbedding_isPullback [IsAffine S] : |
| 47 | IsPullback (pullback.fst X.hom a) (relativeFieldSourceEmbedding B a) |
| 48 | B.coefficientEmbedding (AbelianModuli.HilbertConstruction.Projective.CoefficientFunctoriality.polynomialProjectiveMap (AbelianModuli.HilbertConstruction.AffineProjective.Charts.affinePointCoefficients a) B.dimension) := by |
| 49 | have hprojective : IsPullback (AbelianModuli.HilbertConstruction.Projective.CoefficientFunctoriality.polynomialProjectiveMap (AbelianModuli.HilbertConstruction.AffineProjective.Charts.affinePointCoefficients a) B.dimension) |
| 50 | (HilbertScheme.Presentations.Has.Core.projectiveSpaceMap K B.dimension) |
| 51 | (HilbertScheme.Presentations.Has.Core.projectiveSpaceMap Γ(S, ⊤) B.dimension) |
| 52 | (Spec.map (AbelianModuli.HilbertConstruction.AffineProjective.Charts.affinePointCoefficients a)) := |
| 53 | AbelianModuli.HilbertConstruction.Projective.CoefficientFunctoriality.polynomialProjectiveMap_isPullback (AbelianModuli.HilbertConstruction.AffineProjective.Charts.affinePointCoefficients a) B.dimension |
| 54 | have houter : IsPullback (pullback.fst X.hom a) |
| 55 | (relativeFieldSourceEmbedding B a ≫ HilbertScheme.Presentations.Has.Core.projectiveSpaceMap K B.dimension) |
| 56 | (B.coefficientEmbedding ≫ HilbertScheme.Presentations.Has.Core.projectiveSpaceMap Γ(S, ⊤) B.dimension) |
| 57 | (Spec.map (AbelianModuli.HilbertConstruction.AffineProjective.Charts.affinePointCoefficients a)) := by |
| 58 | have hb : B.coefficientEmbedding ≫ HilbertScheme.Presentations.Has.Core.projectiveSpaceMap Γ(S, ⊤) B.dimension = |
| 59 | X.hom ≫ S.toSpecΓ := Presentations.Coefficient.PolarizationEmbedding.e34CoefficientEmbedding_over B |
| 60 | rw [relativeFieldSourceEmbedding_over, hb] |
| 61 | exact FieldBaseCoefficients.PolarizationEmbedding.fieldBaseCoefficients_cartesian X a |
| 62 | exact houter.of_bot (relativeFieldSourceEmbedding_coefficient B a).symm hprojective |
| 63 | |
| 64 | end PolarizationEmbedding |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Relative.FieldSourceEmbedding |