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.Matrix.ClassifierKernelReflection |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Stable.ConfigurationLocus |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.SaturatedIdealCoordinateLift |
| 4 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Noetherian.AffineParameterCoordinates |
| 5 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Noetherian.LocalClassification |
| 6 | |
| 7 | /-! # Kernel Criterion -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableHilbert.KernelCriterion |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Over Noetherian affine tests, the stable Hilbert locus is |
| 14 | exactly the condition that the polynomial matrix kernel is the |
| 15 | fixed-degree relation module of an actual saturated flat Hilbert ideal. -/ |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | universe u |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | variable (R : Type u) [CommRing R] [IsNoetherianRing R] |
| 21 | variable (C : CommRingCat.{u}) [IsNoetherianRing C] {n m : ℕ} (i : Fin m) |
| 22 | variable (j : Stable.BalancedFrameIndex.StableBalancedFrameIndex.{u} (n + 1) m) (D : ℕ) (P : Polynomial ℚ) |
| 23 | variable (hP : HilbertScheme.Presentations.BoundedHilbert.DegreeLocus.GradedHilbert.RankProfileRealizes.{u} n D (HilbertScheme.Presentations.Polynomial.DegreeRankProfile.GradedHilbert.polynomialDegreeRankProfile.{u} n D P) P) |
| 24 | variable (hD : HilbertScheme.Presentations.Uniform.FamilyCoordinates.GradedHilbert.uniformHilbertFamilyDegree.{u} n P ≤ D) |
| 25 | variable {f : Spec C ⟶ Spec (.of R)} |
| 26 | variable (x : Over.mk f ⟶ Stable.ConfigurationPolynomialRankLocus.stableConfigurationPolynomialRankAmbient R i j) |
| 27 | variable (y : Over.mk f ⟶ Stable.ConfigurationPolynomialRankLocus.stableConfigurationPolynomialRankLocus R i j D (Stable.ConfigurationLocus.configurationHilbertRank D P)) |
| 28 | variable (hy : y ≫ Stable.ConfigurationPolynomialRankLocus.stableConfigurationPolynomialRankInclusion R i j D (Stable.ConfigurationLocus.configurationHilbertRank D P) = x) |
| 29 | |
| 30 | include hP hD hy |
| 31 | |
| 32 | theorem stableConfigurationHilbertLift_iff_kernelIdeal : |
| 33 | (∃! a : Over.mk f ⟶ Stable.ConfigurationLocus.stableConfigurationHilbertLocus R i j D P, |
| 34 | a ≫ Stable.ConfigurationLocus.stableConfigurationHilbertRankInclusion R i j D P = y) ↔ |
| 35 | ∃ I : SaturatedFlatIdeals.SaturatedFlatHilbertIdeal C n P, |
| 36 | (Matrix.toLin' (Configuration.MonomialMatrix.configurationMonomialMatrix (Stable.PolynomialMatrixCoefficients.stablePolynomialChartPointVectors R i j C x) D)).ker = |
| 37 | HilbertScheme.Presentations.DegreeCoordinateRelations.GradedHilbert.degreeCoordinateRelations I.ideal D := by |
| 38 | have : Mono (Stable.ConfigurationLocus.stableConfigurationHilbertRankInclusion R i j D P) := Over.mono_of_mono_left _ |
| 39 | constructor |
| 40 | · rintro ⟨a, ha, _⟩ |
| 41 | let z := a ≫ Stable.ConfigurationLocus.stableConfigurationHilbertParameterMap R i j D P |
| 42 | let F := HilbertScheme.Presentations.Hilbert.Functor.pullbackFamily (HilbertScheme.Presentations.Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver (Spec (.of R)) n) z |
| 43 | (HilbertScheme.Presentations.BoundedHilbert.UniversalFamily.GradedHilbert.boundedHilbertUniversalFamily n D (Spec (.of R)) (HilbertScheme.Presentations.Polynomial.DegreeRankProfile.GradedHilbert.polynomialDegreeRankProfile.{u} n D P)) |
| 44 | let I : SaturatedFlatIdeals.SaturatedFlatHilbertIdeal C n P := { |
| 45 | ideal := HilbertScheme.Presentations.Affine.IntrinsicHomogeneousCoordinates.GradedHilbert.affineNativeHomogeneousIdeal n f F |
| 46 | saturated := HilbertScheme.Presentations.Affine.IntrinsicHomogeneousCoordinates.GradedHilbert.affineNativeHomogeneousIdeal_saturated n f F |
| 47 | flat := HilbertScheme.Presentations.Affine.IntrinsicHomogeneousCoordinates.GradedHilbert.affineNativeHomogeneousIdeal_flat n f F |
| 48 | hilbert := HilbertScheme.Presentations.Noetherian.LocalClassification.GradedHilbert.boundedHilbertUniversalFamily_residue_polynomial _ P hP f z } |
| 49 | have hQ : HilbertScheme.Presentations.Intrinsic.AffineGrassmannian.GradedHilbert.nativeAffineCoordinateGrassmannian f F P I.hilbert D hD |
| 50 | (ULift.{u} (Fin (Stable.ConfigurationLocus.configurationHilbertRank D P))) (by simp) = |
| 51 | TorsionStableCoordinates.configurationHilbertCoordinatePoint I D hD := Module.Grassmannian.ext rfl |
| 52 | have hz : z ≫ HilbertScheme.Presentations.BoundedHilbert.Data.GradedHilbert.boundedHilbertParameterOver n D (Spec (.of R)) (HilbertScheme.Presentations.Polynomial.DegreeRankProfile.GradedHilbert.polynomialDegreeRankProfile.{u} n D P) = |
| 53 | HilbertScheme.Presentations.Relative.AffineQuotientPoint.Grassmannian.relativeQuotientClassifyingPoint f (TorsionStableCoordinates.configurationHilbertCoordinatePoint I D hD) := by |
| 54 | have H := HilbertScheme.Presentations.Noetherian.AffineParameterCoordinates.GradedHilbert.noetherianAffine_hilbert_parameter_coordinates f F P I.hilbert hD |
| 55 | (ι := ULift.{u} (Fin (Stable.ConfigurationLocus.configurationHilbertRank D P))) (by simp) z rfl |
| 56 | have hdec : |
| 57 | (fun a b : HilbertScheme.Presentations.Homogeneous.CoordinateBasis.GradedHilbert.DegreeIndex.{u} n D => |
| 58 | @ULift.instDecidableEq_mathlib (HilbertScheme.Presentations.Homogeneous.CoordinateBasis.GradedHilbert.DegreeMonomials n D) |
| 59 | (fun a b => Subtype.instDecidableEq a b) a b) = |
| 60 | (fun a b : HilbertScheme.Presentations.Homogeneous.CoordinateBasis.GradedHilbert.DegreeIndex.{u} n D => |
| 61 | @ULift.instDecidableEq_mathlib (HilbertScheme.Presentations.Homogeneous.CoordinateBasis.GradedHilbert.DegreeMonomials n D) |
| 62 | (Homogeneous.Coordinates.homogeneousMonomials_decidableEq (Fin (n + 1)) D) a b) := Subsingleton.elim _ _ |
| 63 | simp only [HilbertScheme.Presentations.Intrinsic.AffineGrassmannian.GradedHilbert.nativeAffineHilbertGrassmannianPoint, hQ] at H |
| 64 | rw [hdec] at H |
| 65 | exact H |
| 66 | have hc : y ≫ HilbertConstruction.Matrix.RankKernelClassifier.stableConfigurationPolynomialKernelClassifier R i j D (Stable.ConfigurationLocus.configurationHilbertRank D P) = |
| 67 | HilbertScheme.Presentations.Relative.AffineQuotientPoint.Grassmannian.relativeQuotientClassifyingPoint f (TorsionStableCoordinates.configurationHilbertCoordinatePoint I D hD) := by |
| 68 | rw [← ha, Category.assoc, Stable.ConfigurationLocus.stableConfigurationHilbert_parameter_condition, ← Category.assoc] |
| 69 | exact hz |
| 70 | refine ⟨I, ?_⟩ |
| 71 | exact ((HilbertConstruction.Matrix.ClassifierKernelReflection.stablePolynomialKernelClassifier_affine_iff_kernel R i j D _ C x y hy |
| 72 | (TorsionStableCoordinates.configurationHilbertCoordinatePoint I D hD)).mp hc).symm |
| 73 | · rintro ⟨I, hI⟩ |
| 74 | obtain ⟨z, hz, _⟩ := I.existsUnique_hilbert_coordinate_lift f D hD |
| 75 | have hc : y ≫ HilbertConstruction.Matrix.RankKernelClassifier.stableConfigurationPolynomialKernelClassifier R i j D (Stable.ConfigurationLocus.configurationHilbertRank D P) = |
| 76 | z ≫ HilbertScheme.Presentations.BoundedHilbert.Data.GradedHilbert.boundedHilbertParameterOver n D (Spec (.of R)) (HilbertScheme.Presentations.Polynomial.DegreeRankProfile.GradedHilbert.polynomialDegreeRankProfile.{u} n D P) := |
| 77 | (Stable.KernelClassifierFormula.stablePolynomialKernelClassifier_affine_of_kernel R i j D _ C x y hy |
| 78 | (TorsionStableCoordinates.configurationHilbertCoordinatePoint I D hD) hI.symm).trans hz.symm |
| 79 | let a := (Stable.ConfigurationLocus.stableConfigurationHilbertPointEquiv R i j D P (Over.mk f)).symm ⟨(y, z), hc⟩ |
| 80 | have ha : a ≫ Stable.ConfigurationLocus.stableConfigurationHilbertRankInclusion R i j D P = y := |
| 81 | congrArg (fun p => p.val.1) |
| 82 | ((Stable.ConfigurationLocus.stableConfigurationHilbertPointEquiv R i j D P (Over.mk f)).apply_symm_apply ⟨(y, z), hc⟩) |
| 83 | exact ⟨a, ha, fun b hb => (cancel_mono (Stable.ConfigurationLocus.stableConfigurationHilbertRankInclusion R i j D P)).mp |
| 84 | (hb.trans ha.symm)⟩ |
| 85 | |
| 86 | end |
| 87 | |
| 88 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableHilbert.KernelCriterion |