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.CMPoints.SegreGraphPolynomials |
| 2 | import OAI.AlgebraicGeometry.PELModuli.CMPoints.CoefficientHyperplane |
| 3 | import OAI.AlgebraicGeometry.PELModuli.CMPoints.GraphFieldHilbertPolynomial |
| 4 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Presentations.FieldEmbeddings |
| 5 | |
| 6 | /-! # Relative Graph Polynomials -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.PELModuli.CMPoints.RelativeGraphPolynomials |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! A specified field-valued morphism has one graph polynomial for every |
| 13 | Segre presentation of its fixed arithmetic source. The resulting Presentations |
| 14 | predicate includes all further field-valued tests. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.PELModuli.IntegralModel.Presentations.FieldEmbeddings.PolarizationEmbedding |
| 19 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 20 | |
| 21 | theorem projective_twist_coefficient_transport |
| 22 | {R k : Type} [CommRing R] [CommRing k] (φ : R →+* k) {n : ℕ} |
| 23 | {W Z : Scheme} (f : W ⟶ Proj (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading k n)) (v : W ⟶ Z) |
| 24 | (d : Z ⟶ Proj (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n)) |
| 25 | (h : f ≫ AbelianModuli.HilbertConstruction.Projective.CoefficientFunctoriality.polynomialProjectiveMap (CommRingCat.ofHom φ) n = v ≫ d) |
| 26 | (j : Fin (n + 1)) (m : ℕ) (L : Z.Modules) |
| 27 | (e : (Scheme.Modules.pullback d).obj |
| 28 | (SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := R) j m) ≅ L) : |
| 29 | Nonempty ((Scheme.Modules.pullback f).obj |
| 30 | (SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := k) j m) ≅ |
| 31 | (Scheme.Modules.pullback v).obj L) := by |
| 32 | obtain ⟨ec⟩ := CoefficientHyperplane.coefficient_hyperplane_power_iso φ n j m |
| 33 | let O := SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := R) j m |
| 34 | exact ⟨(Scheme.Modules.pullback f).mapIso ec.symm ≪≫ |
| 35 | (Scheme.Modules.pullbackComp f (AbelianModuli.HilbertConstruction.Projective.CoefficientFunctoriality.polynomialProjectiveMap (CommRingCat.ofHom φ) n)).app O ≪≫ |
| 36 | eqToIso (congrArg (fun a => (Scheme.Modules.pullback a).obj O) h) ≪≫ |
| 37 | (Scheme.Modules.pullbackComp v d).symm.app O ≪≫ |
| 38 | (Scheme.Modules.pullback v).mapIso e⟩ |
| 39 | |
| 40 | theorem exists_relative_morphism_graph_polynomial |
| 41 | (hPresentations : IntegralModel.Presentations.Hilbert.HilbertHomInput.{0}) {K k : Type} [Field K] [Field k] |
| 42 | (X : Over (Spec (.of K))) [Flat X.hom] [IsProper X.hom] |
| 43 | [LocallyOfFinitePresentation X.hom] |
| 44 | (BX : HilbertScheme.Presentations.Has.Core.ProjectivePresentation X) (t : Spec (.of k) ⟶ Spec (.of K)) |
| 45 | (f : Over.mk t ⨯ X ⟶ X) : |
| 46 | ∃ Q : Polynomial ℚ, ∀ (B : HilbertScheme.Presentations.Has.Core.ProjectivePresentation (X ⨯ X)), |
| 47 | HilbertScheme.Presentations.Segre.Open.Core.IsSegrePresentation BX BX B → |
| 48 | HilbertScheme.Presentations.Has.Core.HasFiberHilbertPolynomial B (HilbertScheme.Presentations.HomFunctor.Hom.graphFamily X X f) Q := by |
| 49 | classical |
| 50 | obtain ⟨B₀, hB₀, _⟩ := hPresentations X X BX BX 0 (fun i => Fin.elim0 i) |
| 51 | let I := {B : HilbertScheme.Presentations.Has.Core.ProjectivePresentation (X ⨯ X) // |
| 52 | HilbertScheme.Presentations.Segre.Open.Core.IsSegrePresentation BX BX B} |
| 53 | let : Nonempty I := ⟨⟨B₀, hB₀⟩⟩ |
| 54 | let T : Over (Spec (.of K)) := Over.mk t |
| 55 | let graph := HilbertScheme.Presentations.HomFunctor.Hom.graph X X f |
| 56 | let dims (B : I) := B.val.dimension |
| 57 | let F (B : I) := graph.left ≫ IntegralModel.Presentations.FieldEmbeddings.PolarizationEmbedding.e34FieldEmbedding B.val t |
| 58 | have hclosed (B : I) : IsClosedImmersion (F B) := by |
| 59 | have := HilbertScheme.Presentations.HomFunctor.Hom.graph_isClosedImmersion X X f |
| 60 | have := IntegralModel.Presentations.FieldEmbeddings.PolarizationEmbedding.e34FieldEmbedding_closed B.val t |
| 61 | exact inferInstanceAs (IsClosedImmersion (graph.left ≫ IntegralModel.Presentations.FieldEmbeddings.PolarizationEmbedding.e34FieldEmbedding B.val t)) |
| 62 | let : ∀ B : I, IsClosedImmersion (F B) := hclosed |
| 63 | let π := (prod.fst : T ⨯ X ⟶ T).left |
| 64 | have hπ (B : I) : F B ≫ SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := k) = π := by |
| 65 | have hbase : IntegralModel.Presentations.FieldEmbeddings.PolarizationEmbedding.e34FieldEmbedding B.val t ≫ SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := k) = |
| 66 | (prod.fst : T ⨯ (X ⨯ X) ⟶ T).left := IntegralModel.Presentations.FieldEmbeddings.PolarizationEmbedding.e34FieldEmbedding_over B.val t |
| 67 | rw [Category.assoc, hbase] |
| 68 | exact congrArg Over.Hom.left (prod.lift_fst _ _) |
| 69 | let v := graph.left ≫ (prod.snd : T ⨯ (X ⨯ X) ⟶ X ⨯ X).left |
| 70 | let L (m : ℕ) := (Scheme.Modules.pullback v).obj |
| 71 | ((SegreGraphPolynomials.segrePresentationLine BX BX).tensorPower m).sheaf |
| 72 | have hL (B : I) (m : ℕ) : Nonempty ((Scheme.Modules.pullback (F B)).obj |
| 73 | (SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := k) (0 : Fin (dims B + 1)) m) ≅ L m) := by |
| 74 | obtain ⟨e⟩ := SegreGraphPolynomials.segrePresentationLine_powers BX BX B.val B.property m |
| 75 | apply projective_twist_coefficient_transport (AbelianModuli.HilbertConstruction.AffineProjective.Charts.affinePointCoefficients t).hom |
| 76 | (F B) v B.val.coefficientEmbedding _ 0 m _ e |
| 77 | exact (Category.assoc _ _ _).trans |
| 78 | ((congrArg (fun a => graph.left ≫ a) (IntegralModel.Presentations.FieldEmbeddings.PolarizationEmbedding.e34FieldEmbedding_coefficient B.val t)).trans |
| 79 | (Category.assoc _ _ _).symm) |
| 80 | obtain ⟨Q, hQ⟩ := IntegralModel.VaryingProjectiveHilbertPolynomial.PolarizationEmbedding.exists_fixed_varying_e34HilbertPolynomial dims F π hπ (fun _ => 0) L hL |
| 81 | refine ⟨Q, fun B hB => ?_⟩ |
| 82 | apply GraphFieldHilbertPolynomial.graphFamily_hasFiberHilbertPolynomial_of_field_coordinates X X t B f Q |
| 83 | (AbelianModuli.HilbertConstruction.AffineProjective.Charts.affineProjectiveChartMap t B.dimension) (F ⟨B, hB⟩) |
| 84 | (AbelianModuli.HilbertConstruction.AffineProjective.Charts.affineProjectiveChartMap_isPullback t B.dimension) |
| 85 | · exact (Category.assoc _ _ _).trans |
| 86 | (congrArg (fun a => graph.left ≫ a) (IntegralModel.Presentations.FieldEmbeddings.PolarizationEmbedding.e34FieldEmbedding_projective B t)) |
| 87 | · exact hπ ⟨B, hB⟩ |
| 88 | · exact hQ ⟨B, hB⟩ |
| 89 | |
| 90 | end |
| 91 | |
| 92 | end OAI.AlgebraicGeometry.PELModuli.CMPoints.RelativeGraphPolynomials |