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.SegreHyperplaneComparison |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.HyperplanePullbackPowers |
| 3 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.VaryingProjectiveHilbertPolynomial |
| 4 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Presentations.Coefficient |
| 5 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Presentations.GraphPolarizationPowers |
| 6 | |
| 7 | /-! # Segre Graph Polynomials -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.PELModuli.CMPoints.SegreGraphPolynomials |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! The graph polynomial of a specified morphism is independent of the |
| 14 | Segre presentation subsequently chosen by the full Presentations input. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 17 | |
| 18 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 19 | |
| 20 | def segrePresentationLine {S : Scheme.{0}} {X Y : Over S} |
| 21 | (BX : HilbertScheme.Presentations.Has.Core.ProjectivePresentation X) |
| 22 | (BY : HilbertScheme.Presentations.Has.Core.ProjectivePresentation Y) : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle (X ⨯ Y).left := |
| 23 | ((IntegralModel.Projective.HyperplanePowers.PolarizationEmbedding.projectiveHyperplaneLine Γ(S, ⊤) BX.dimension 0).pullback |
| 24 | ((prod.fst : X ⨯ Y ⟶ X).left ≫ BX.coefficientEmbedding)).tensor |
| 25 | ((IntegralModel.Projective.HyperplanePowers.PolarizationEmbedding.projectiveHyperplaneLine Γ(S, ⊤) BY.dimension 0).pullback |
| 26 | ((prod.snd : X ⨯ Y ⟶ Y).left ≫ BY.coefficientEmbedding)) |
| 27 | |
| 28 | theorem segrePresentationLine_powers {S : Scheme.{0}} {X Y : Over S} |
| 29 | (BX : HilbertScheme.Presentations.Has.Core.ProjectivePresentation X) |
| 30 | (BY : HilbertScheme.Presentations.Has.Core.ProjectivePresentation Y) |
| 31 | (B : HilbertScheme.Presentations.Has.Core.ProjectivePresentation (X ⨯ Y)) |
| 32 | (hB : HilbertScheme.Presentations.Segre.Open.Core.IsSegrePresentation BX BY B) (m : ℕ) : |
| 33 | Nonempty ((Scheme.Modules.pullback B.coefficientEmbedding).obj |
| 34 | (SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := Γ(S, ⊤)) |
| 35 | (0 : Fin (B.dimension + 1)) m) ≅ ((segrePresentationLine BX BY).tensorPower m).sheaf) := |
| 36 | IntegralModel.HyperplanePullbackPowers.PolarizationEmbedding.hyperplane_pullback_power_iso B.coefficientEmbedding (segrePresentationLine BX BY) 0 |
| 37 | (IntegralModel.SegreHyperplaneComparison.PolarizationEmbedding.exists_segre_hyperplane_iso BX BY B hB 0 0 0) m |
| 38 | |
| 39 | theorem exists_fixed_morphism_graph_polynomial |
| 40 | (hPresentations : IntegralModel.Presentations.Hilbert.HilbertHomInput.{0}) {k : Type} [Field k] |
| 41 | (X : Over (Spec (.of k))) [Flat X.hom] [IsProper X.hom] |
| 42 | [LocallyOfFinitePresentation X.hom] |
| 43 | (BX : HilbertScheme.Presentations.Has.Core.ProjectivePresentation X) (f : X ⟶ X) : |
| 44 | ∃ Q : Polynomial ℚ, |
| 45 | ∀ (B : HilbertScheme.Presentations.Has.Core.ProjectivePresentation (X ⨯ X)), |
| 46 | HilbertScheme.Presentations.Segre.Open.Core.IsSegrePresentation BX BX B → |
| 47 | HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial |
| 48 | (HilbertScheme.Presentations.ChartHomogeneousIdeal.GradedHilbert.homogeneousIdealOfSheaf ((IntegralModel.Presentations.GraphPolarizationPowers.PolarizationEmbedding.e34Graph X f).left ≫ B.coefficientEmbedding).ker).toIdeal Q := by |
| 49 | classical |
| 50 | have hR : IsField Γ(Spec (.of k), ⊤) := |
| 51 | (Scheme.ΓSpecIso (.of k)).commRingCatIsoToRingEquiv.toMulEquiv.isField (Field.toIsField k) |
| 52 | let := hR.toField |
| 53 | obtain ⟨B₀, hB₀, _⟩ := hPresentations X X BX BX 0 (fun i => Fin.elim0 i) |
| 54 | let I := {B : HilbertScheme.Presentations.Has.Core.ProjectivePresentation (X ⨯ X) // |
| 55 | HilbertScheme.Presentations.Segre.Open.Core.IsSegrePresentation BX BX B} |
| 56 | let : Nonempty I := ⟨⟨B₀, hB₀⟩⟩ |
| 57 | let dims (B : I) := B.val.dimension |
| 58 | let F (B : I) := (IntegralModel.Presentations.GraphPolarizationPowers.PolarizationEmbedding.e34Graph X f).left ≫ B.val.coefficientEmbedding |
| 59 | have hclosed (B : I) : IsClosedImmersion (F B) := by |
| 60 | have := IntegralModel.Presentations.GraphPolarizationPowers.PolarizationEmbedding.e34Graph_closed X f |
| 61 | have := IntegralModel.Presentations.Coefficient.PolarizationEmbedding.e34CoefficientEmbedding_closed B.val |
| 62 | dsimp only [F] |
| 63 | infer_instance |
| 64 | let : ∀ B : I, IsClosedImmersion (F B) := hclosed |
| 65 | let π := X.hom ≫ (Spec (.of k)).toSpecΓ |
| 66 | have hπ (B : I) : F B ≫ SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := Γ(Spec (.of k), ⊤)) = π := by |
| 67 | change ((IntegralModel.Presentations.GraphPolarizationPowers.PolarizationEmbedding.e34Graph X f).left ≫ B.val.coefficientEmbedding) ≫ _ = _ |
| 68 | rw [Category.assoc, IntegralModel.Presentations.Coefficient.PolarizationEmbedding.e34CoefficientEmbedding_over, ← Category.assoc, (IntegralModel.Presentations.GraphPolarizationPowers.PolarizationEmbedding.e34Graph X f).w] |
| 69 | let L (m : ℕ) := (Scheme.Modules.pullback (IntegralModel.Presentations.GraphPolarizationPowers.PolarizationEmbedding.e34Graph X f).left).obj |
| 70 | ((segrePresentationLine BX BX).tensorPower m).sheaf |
| 71 | have hL (B : I) (m : ℕ) : Nonempty ((Scheme.Modules.pullback (F B)).obj |
| 72 | (SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := Γ(Spec (.of k), ⊤)) |
| 73 | (0 : Fin (dims B + 1)) m) ≅ L m) := by |
| 74 | obtain ⟨e⟩ := segrePresentationLine_powers BX BX B.val B.property m |
| 75 | exact ⟨(Scheme.Modules.pullbackComp (IntegralModel.Presentations.GraphPolarizationPowers.PolarizationEmbedding.e34Graph X f).left B.val.coefficientEmbedding).symm.app _ ≪≫ |
| 76 | (Scheme.Modules.pullback (IntegralModel.Presentations.GraphPolarizationPowers.PolarizationEmbedding.e34Graph X f).left).mapIso e⟩ |
| 77 | obtain ⟨Q, hQ⟩ := IntegralModel.VaryingProjectiveHilbertPolynomial.PolarizationEmbedding.exists_fixed_varying_e34HilbertPolynomial dims F π hπ (fun _ => 0) L hL |
| 78 | exact ⟨Q, fun B hB => hQ ⟨B, hB⟩⟩ |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.AlgebraicGeometry.PELModuli.CMPoints.SegreGraphPolynomials |