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.StableHilbert.HomogeneousCoverage |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableHilbert.NormalizedEmbeddingCoverage |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableHilbert.PowerEmbeddingCoverage |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableHilbert.ScalarCoordinateCoverage |
| 5 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Stable.PolynomialMatrixCoefficients |
| 6 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Relative.GraphEmbedding |
| 7 | |
| 8 | /-! # Saturated Embedding Coverage -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableHilbert.SaturatedEmbeddingCoverage.StableHilbertCoverage |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! The original normalized uniform embedding has an actual saturated |
| 15 | flat Hilbert ideal with the uniform polynomial. Its source isomorphism, |
| 16 | twisting isomorphism, and all ordered torsion coordinates are retained. -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 19 | universe u |
| 20 | open OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Relative.GraphEmbedding.PolarizedAbelianWithLevel |
| 21 | |
| 22 | private theorem precompose_ambient_comparison |
| 23 | {C₀ : Type*} [Category* C₀] {W X Y Z V : C₀} |
| 24 | (s : W ⟶ X) (e : X ⟶ Y) (j : Y ⟶ Z) (q : Z ⟶ V) (p : X ⟶ V) |
| 25 | (h : (e ≫ j) ≫ q = p) : ((s ≫ e) ≫ j) ≫ q = s ≫ p := by |
| 26 | simpa only [Category.assoc] using congrArg (fun a => s ≫ a) h |
| 27 | |
| 28 | namespace UniformEmbeddingModel |
| 29 | variable {C : CommRingCat.{u}} {g N : ℕ} {δ : Fin g → ℕ} |
| 30 | variable (A : PolarizationData.PolarizedAbelianWithFullLevel g δ N (Spec C)) |
| 31 | variable (E : Power.ProjectiveEmbeddings.PowerProjectiveEmbedding A.graphBundle A.abelian.scheme.hom) |
| 32 | variable (hg : 0 < g) (hN : 3 ≤ N) (hunit : IsUnit (N : Γ(Spec C, ⊤))) |
| 33 | variable (hd : E.degree = Graph.EmbeddingNumerics.graphUniformEmbeddingDegree g δ) |
| 34 | |
| 35 | local instance embedding_closed : IsClosedImmersion E.projectivePresentation.embedding.left := |
| 36 | E.projectivePresentation.closedImmersion |
| 37 | |
| 38 | def ideal : SaturatedFlatIdeals.SaturatedFlatHilbertIdeal C E.dimension (Uniform.GeometricGraphEmbedding.uniformGraphEmbeddingHilbertPolynomial g δ) := by |
| 39 | let F := A.graphPowerEmbeddingHilbertFamily hg hN hunit E |
| 40 | let I := (F.affineFamily (𝟙 (Spec C))).saturatedIdeal |
| 41 | exact { |
| 42 | ideal := I.ideal |
| 43 | saturated := I.saturated |
| 44 | flat := I.flat |
| 45 | hilbert := fun p => by |
| 46 | simpa only [Uniform.GeometricGraphEmbedding.uniformGraphEmbeddingHilbertPolynomial, hd] using I.hilbert p } |
| 47 | |
| 48 | theorem ideal_eq : (UniformEmbeddingModel.ideal A E hg hN hunit hd).ideal = |
| 49 | HomogeneousCoverage.StableHilbertCoverage.EmbeddingModel.ideal E.projectivePresentation.embedding := rfl |
| 50 | |
| 51 | def iso : A.abelian.scheme ≅ Projective.EmbeddingBaseChange.homogeneousProjectiveFamily (UniformEmbeddingModel.ideal A E hg hN hunit hd).ideal := |
| 52 | HomogeneousCoverage.StableHilbertCoverage.EmbeddingModel.iso E.projectivePresentation.embedding |
| 53 | |
| 54 | theorem embedding : |
| 55 | (((iso A E hg hN hunit hd).hom.left ≫ HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotientInclusion (UniformEmbeddingModel.ideal A E hg hN hunit hd).ideal) ≫ |
| 56 | AffineProjective.Charts.affineProjectiveChartMap (𝟙 (Spec C)) E.dimension) = E.projectivePresentation.embedding.left := |
| 57 | HomogeneousCoverage.StableHilbertCoverage.EmbeddingModel.embedding E.projectivePresentation.embedding |
| 58 | |
| 59 | def twistingIso : |
| 60 | ((ProjectiveTwisting.Bundle.projectiveTwistingBundle (UniformEmbeddingModel.ideal A E hg hN hunit hd).ideal 1).pullback |
| 61 | (iso A E hg hN hunit hd).hom.left).sheaf ≅ |
| 62 | (A.graphBundle.tensorPower (Graph.EmbeddingNumerics.graphUniformEmbeddingDegree g δ)).sheaf := |
| 63 | HomogeneousCoverage.StableHilbertCoverage.EmbeddingModel.twistingIso E.projectivePresentation.embedding ≪≫ E.sectionData.twistingIso ≪≫ |
| 64 | E.canonicalDegreeIso (Graph.EmbeddingNumerics.graphUniformEmbeddingDegree g δ) hd |
| 65 | |
| 66 | end UniformEmbeddingModel |
| 67 | |
| 68 | namespace NormalizedGraphEmbedding |
| 69 | variable (R : Type u) [CommRing R] {C : CommRingCat.{u}} |
| 70 | {f : Spec C ⟶ Spec (.of R)} {g N : ℕ} {δ : Fin g → ℕ} [NeZero N] |
| 71 | {A : PolarizationData.PolarizedAbelianWithFullLevel g δ N (Spec C)} {i : Fin (N ^ (2 * g))} |
| 72 | (D : NormalizedEmbeddingCoverage.StableHilbertCoverage.NormalizedGraphEmbedding R (Over.mk f) A i) |
| 73 | (hg : 0 < g) (hN : 3 ≤ N) (hunit : IsUnit (N : Γ(Spec C, ⊤))) |
| 74 | |
| 75 | def _root_.OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableHilbert.NormalizedEmbeddingCoverage.StableHilbertCoverage.NormalizedGraphEmbedding.saturatedIdeal : SaturatedFlatIdeals.SaturatedFlatHilbertIdeal C D.embedding.dimension |
| 76 | (Uniform.GeometricGraphEmbedding.uniformGraphEmbeddingHilbertPolynomial g δ) := |
| 77 | UniformEmbeddingModel.ideal A D.embedding hg hN hunit D.degree_eq |
| 78 | |
| 79 | def _root_.OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableHilbert.NormalizedEmbeddingCoverage.StableHilbertCoverage.NormalizedGraphEmbedding.homogeneousIso : A.abelian.scheme ≅ Projective.EmbeddingBaseChange.homogeneousProjectiveFamily (D.saturatedIdeal R hg hN hunit).ideal := |
| 80 | UniformEmbeddingModel.iso A D.embedding hg hN hunit D.degree_eq |
| 81 | |
| 82 | def _root_.OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableHilbert.NormalizedEmbeddingCoverage.StableHilbertCoverage.NormalizedGraphEmbedding.homogeneousTwistingIso : |
| 83 | ((ProjectiveTwisting.Bundle.projectiveTwistingBundle (D.saturatedIdeal R hg hN hunit).ideal 1).pullback |
| 84 | (D.homogeneousIso R hg hN hunit).hom.left).sheaf ≅ |
| 85 | (A.graphBundle.tensorPower (2 * Graph.EmbeddingNumerics.graphSquareSectionRank g δ)).sheaf := |
| 86 | UniformEmbeddingModel.twistingIso A D.embedding hg hN hunit D.degree_eq |
| 87 | |
| 88 | theorem _root_.OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableHilbert.NormalizedEmbeddingCoverage.StableHilbertCoverage.NormalizedGraphEmbedding.homogeneous_embedding : |
| 89 | (((D.homogeneousIso R hg hN hunit).hom.left ≫ |
| 90 | HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotientInclusion (D.saturatedIdeal R hg hN hunit).ideal) ≫ |
| 91 | AffineProjective.Charts.affineProjectiveChartMap (𝟙 (Spec C)) D.embedding.dimension) = |
| 92 | D.embedding.projectivePresentation.embedding.left := |
| 93 | UniformEmbeddingModel.embedding A D.embedding hg hN hunit D.degree_eq |
| 94 | |
| 95 | theorem _root_.OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableHilbert.NormalizedEmbeddingCoverage.StableHilbertCoverage.NormalizedGraphEmbedding.homogeneous_markedPoint (z : Fin (N ^ (2 * g))) : |
| 96 | (A.abelian.fullLevelGlobalSection A.level (PolarizationData.PolarizedAbelianWithFullLevel.fullLevelLabelEnumeration z) ≫ |
| 97 | (D.homogeneousIso R hg hN hunit).hom.left) ≫ |
| 98 | HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotientInclusion (D.saturatedIdeal R hg hN hunit).ideal = |
| 99 | AffineProjective.CoordinateMaps.affineProjectiveCoordinateMap C C |
| 100 | (Stable.PolynomialMatrixCoefficients.stablePolynomialChartPointVectors R i D.chartIndex C D.chartPoint ⟨z⟩) |
| 101 | (D.chartIndex.coordinate z) |
| 102 | (Stable.PolynomialMatrixCoefficients.stablePolynomialChartPointVectors_selected R i D.chartIndex C D.chartPoint ⟨z⟩) := by |
| 103 | let j := D.chartIndex |
| 104 | let ρ := D.chartPoint.left.appTop.hom.comp |
| 105 | (Scheme.ΓSpecIso (.of (Balanced.FrameChartCoordinates.balancedDeterminantChartRing R i j.exponent j.balanced))).inv.hom |
| 106 | let v := fun k => ρ (Balanced.FrameChartNormalization.balancedFrameChartVectors R i j.frame j.additional j.coordinate |
| 107 | j.exponent j.complement j.balanced j.complete z k) |
| 108 | have hv : ∀ x : Spec C, ∃ k, x ∈ (Spec C).basicOpen (v k) := |
| 109 | Balanced.FrameChartProjectivePoints.balancedFrameChartProjectiveCoordinates_cover R i j.frame j.additional j.coordinate |
| 110 | j.exponent j.complement j.balanced j.complete (Spec C) ρ z |
| 111 | have hi : v (j.coordinate z) = 1 := by |
| 112 | change ρ (Balanced.FrameChartNormalization.balancedFrameChartVectors R i j.frame j.additional j.coordinate |
| 113 | j.exponent j.complement j.balanced j.complete z (j.coordinate z)) = 1 |
| 114 | rw [Balanced.FrameChartNormalization.balancedFrameChartVectors_selected, map_one] |
| 115 | let q : (Projective.ProjectivePresentations.affineProjectiveSpace C D.embedding.dimension).left ⟶ |
| 116 | (Projective.ProjectivePresentations.projectiveSpaceOver (Spec C) D.embedding.dimension).left := |
| 117 | AffineProjective.Charts.affineProjectiveChartMap (𝟙 (Spec C)) D.embedding.dimension |
| 118 | let : IsIso q := (AffineProjective.Charts.affineProjectiveChartMap_isPullback (𝟙 (Spec C)) D.embedding.dimension).isIso_fst_of_isIso |
| 119 | have hmark : A.abelian.fullLevelGlobalSection A.level (PolarizationData.PolarizedAbelianWithFullLevel.fullLevelLabelEnumeration z) ≫ |
| 120 | D.embedding.projectivePresentation.embedding.left = |
| 121 | (Family.SectionProjectiveCoordinates.scalarCoordinateProjectivePoint v hv).left := |
| 122 | congrArg Over.Hom.left (D.marked z) |
| 123 | have hcoordinate : (Family.SectionProjectiveCoordinates.scalarCoordinateProjectivePoint v hv).left = |
| 124 | AffineProjective.CoordinateMaps.affineProjectiveCoordinateMap C C |
| 125 | (Stable.PolynomialMatrixCoefficients.stablePolynomialChartPointVectors R i D.chartIndex C D.chartPoint ⟨z⟩) |
| 126 | (D.chartIndex.coordinate z) |
| 127 | (Stable.PolynomialMatrixCoefficients.stablePolynomialChartPointVectors_selected R i D.chartIndex C D.chartPoint ⟨z⟩) ≫ q := |
| 128 | ScalarCoordinateCoverage.StableHilbertCoverage.scalarCoordinateProjectivePoint_affine C v hv (j.coordinate z) hi |
| 129 | apply (cancel_mono q).mp |
| 130 | have hembedding : ((A.abelian.fullLevelGlobalSection A.level (PolarizationData.PolarizedAbelianWithFullLevel.fullLevelLabelEnumeration z) ≫ |
| 131 | (D.homogeneousIso R hg hN hunit).hom.left) ≫ |
| 132 | HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotientInclusion (D.saturatedIdeal R hg hN hunit).ideal) ≫ q = |
| 133 | A.abelian.fullLevelGlobalSection A.level (PolarizationData.PolarizedAbelianWithFullLevel.fullLevelLabelEnumeration z) ≫ |
| 134 | D.embedding.projectivePresentation.embedding.left := |
| 135 | precompose_ambient_comparison |
| 136 | (A.abelian.fullLevelGlobalSection A.level (PolarizationData.PolarizedAbelianWithFullLevel.fullLevelLabelEnumeration z)) |
| 137 | (D.homogeneousIso R hg hN hunit).hom.left |
| 138 | (HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotientInclusion (D.saturatedIdeal R hg hN hunit).ideal) q |
| 139 | D.embedding.projectivePresentation.embedding.left (D.homogeneous_embedding R hg hN hunit) |
| 140 | exact hembedding.trans (hmark.trans hcoordinate) |
| 141 | |
| 142 | end NormalizedGraphEmbedding |
| 143 | |
| 144 | end |
| 145 | |
| 146 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableHilbert.SaturatedEmbeddingCoverage.StableHilbertCoverage |