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.Noetherian.TorsionEvaluationRank |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Stable.ConfigurationLocus |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.SaturatedIdealCoordinateLift |
| 4 | |
| 5 | /-! # Torsion Configuration Lift -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Noetherian.TorsionConfigurationLift |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Actual high auxiliary torsion configurations have unique lifts to |
| 12 | both the stable polynomial rank locus and its Hilbert locus over any |
| 13 | noetherian coefficient ring, including nonreduced rings. -/ |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped Classical |
| 16 | universe u |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | variable (R : Type u) [CommRing R] |
| 20 | variable (C : CommRingCat.{u}) [IsNoetherianRing C] |
| 21 | variable {g N n r : ℕ} {δ : Fin g → ℕ} [NeZero n] {P : Polynomial ℚ} |
| 22 | variable (i : Fin (n ^ (2 * g))) |
| 23 | variable (j : Stable.BalancedFrameIndex.StableBalancedFrameIndex.{u} (r + 1) (n ^ (2 * g))) |
| 24 | variable {f : Spec C ⟶ Spec (.of R)} |
| 25 | variable (x : Over.mk f ⟶ Stable.ConfigurationPolynomialRankLocus.stableConfigurationPolynomialRankAmbient R i j) |
| 26 | variable (A : PolarizationData.PolarizedAbelianWithFullLevel g δ N (Spec C)) |
| 27 | variable (I : SaturatedFlatIdeals.SaturatedFlatHilbertIdeal C r P) |
| 28 | variable (e : A.abelian.scheme ≅ Projective.EmbeddingBaseChange.homogeneousProjectiveFamily I.ideal) |
| 29 | variable (eL : ((ProjectiveTwisting.Bundle.projectiveTwistingBundle I.ideal 1).pullback e.hom.left).sheaf ≅ |
| 30 | (A.graphBundle.tensorPower (2 * Graph.EmbeddingNumerics.graphSquareSectionRank g δ)).sheaf) |
| 31 | variable (hg : 0 < g) (hδ : ∀ k, 0 < δ k) (hN : 3 ≤ N) |
| 32 | variable (hunit : IsUnit (N : Γ(Spec C, ⊤))) |
| 33 | variable (level : A.abelian.FullLevel n) (D : ℕ) (hD : 0 < D) |
| 34 | variable (hdegree : HilbertScheme.Presentations.Uniform.FamilyCoordinates.GradedHilbert.uniformHilbertFamilyDegree.{u} r P ≤ D) |
| 35 | variable (hlarge : Bounded.GraphTorsionSectionDetection.boundedGraphTorsionDegree g δ D < n ^ 2) |
| 36 | variable (hpoints : ∀ c : ULift.{u} (Fin (n ^ (2 * g))), |
| 37 | (A.abelian.fullLevelGlobalSection level (Local.TorsionStableRankLift.liftedFullLevelLabelEnumeration c) ≫ e.hom.left) ≫ |
| 38 | HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotientInclusion I.ideal = |
| 39 | AffineProjective.CoordinateMaps.affineProjectiveCoordinateMap C C (Stable.PolynomialMatrixCoefficients.stablePolynomialChartPointVectors R i j C x c) |
| 40 | (j.coordinate c.down) (Stable.PolynomialMatrixCoefficients.stablePolynomialChartPointVectors_selected R i j C x c)) |
| 41 | |
| 42 | include A I e eL hg hδ hN hunit level hD hdegree hlarge hpoints |
| 43 | |
| 44 | theorem noetherianAuxiliaryTorsionConfiguration_unique_rankLift : |
| 45 | ∃! y : Over.mk f ⟶ Stable.ConfigurationPolynomialRankLocus.stableConfigurationPolynomialRankLocus R i j D (P.eval (D : ℚ)).num.toNat, |
| 46 | y ≫ Stable.ConfigurationPolynomialRankLocus.stableConfigurationPolynomialRankInclusion R i j D (P.eval (D : ℚ)).num.toNat = x := by |
| 47 | let ℓ := Local.TorsionStableRankLift.liftedFullLevelLabelEnumeration (g := g) (n := n) |
| 48 | let w := fun c => Stable.PolynomialMatrixCoefficients.stablePolynomialChartPointVectors R i j C x (ℓ.symm c) |
| 49 | let selected := fun c => j.coordinate (ℓ.symm c).down |
| 50 | have hselected : ∀ c, w c (selected c) = 1 := |
| 51 | fun c => Stable.PolynomialMatrixCoefficients.stablePolynomialChartPointVectors_selected R i j C x (ℓ.symm c) |
| 52 | have hw : ∀ c, |
| 53 | (A.abelian.fullLevelGlobalSection level c ≫ e.hom.left) ≫ HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotientInclusion I.ideal = |
| 54 | AffineProjective.CoordinateMaps.affineProjectiveCoordinateMap C C (w c) (selected c) (hselected c) := by |
| 55 | intro c |
| 56 | have hc : |
| 57 | (A.abelian.fullLevelGlobalSection level (ℓ (ℓ.symm c)) ≫ e.hom.left) ≫ |
| 58 | HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotientInclusion I.ideal = |
| 59 | AffineProjective.CoordinateMaps.affineProjectiveCoordinateMap C C (w c) (selected c) (hselected c) := |
| 60 | hpoints (ℓ.symm c) |
| 61 | rw [ℓ.apply_symm_apply] at hc |
| 62 | exact hc |
| 63 | have h := TorsionEvaluationRank.noetherianAuxiliaryTorsionMonomialMatrix_flatRank A I e eL hg hδ hN hunit |
| 64 | level D hD hdegree hlarge w selected hselected hw |
| 65 | have hrel := (Configuration.CokernelRelabeling.configurationMonomialMatrix_flatRank_relabel_iff |
| 66 | w D (P.eval (D : ℚ)).num.toNat (n ^ (2 * g)) ℓ).mpr h |
| 67 | apply (Stable.PolynomialMatrixCoefficients.stablePolynomialRankPoint_iff_configuration R i j C x D (P.eval (D : ℚ)).num.toNat).mpr |
| 68 | have hwvec : (fun c => w (ℓ c)) = Stable.PolynomialMatrixCoefficients.stablePolynomialChartPointVectors R i j C x := by |
| 69 | funext c |
| 70 | exact congrArg (Stable.PolynomialMatrixCoefficients.stablePolynomialChartPointVectors R i j C x) (ℓ.symm_apply_apply c) |
| 71 | rw [hwvec] at hrel |
| 72 | exact hrel |
| 73 | |
| 74 | variable [IsNoetherianRing R] |
| 75 | |
| 76 | theorem noetherianAuxiliaryTorsionConfiguration_unique_hilbertLift : |
| 77 | ∃! a : Over.mk f ⟶ Stable.ConfigurationLocus.stableConfigurationHilbertLocus R i j D P, |
| 78 | a ≫ Stable.ConfigurationLocus.stableConfigurationHilbertRankInclusion R i j D P ≫ |
| 79 | Stable.ConfigurationPolynomialRankLocus.stableConfigurationPolynomialRankInclusion R i j D (P.eval (D : ℚ)).num.toNat = x := by |
| 80 | obtain ⟨y, hy, _⟩ := noetherianAuxiliaryTorsionConfiguration_unique_rankLift R C i j x A I e eL |
| 81 | hg hδ hN hunit level D hD hdegree hlarge hpoints |
| 82 | obtain ⟨z, hz, _⟩ := I.existsUnique_hilbert_coordinate_lift f D hdegree |
| 83 | have hc : y ≫ Matrix.RankKernelClassifier.stableConfigurationPolynomialKernelClassifier R i j D (P.eval (D : ℚ)).num.toNat = |
| 84 | z ≫ HilbertScheme.Presentations.BoundedHilbert.Data.GradedHilbert.boundedHilbertParameterOver r D (Spec (.of R)) (HilbertScheme.Presentations.Polynomial.DegreeRankProfile.GradedHilbert.polynomialDegreeRankProfile.{u} r D P) := |
| 85 | (TorsionStableCoordinates.auxiliaryTorsionStableChart_classifier_eq R C i j x A I e eL |
| 86 | hg hδ hN hunit level D hD hlarge hpoints hdegree y hy).trans hz.symm |
| 87 | let a := (Stable.ConfigurationLocus.stableConfigurationHilbertPointEquiv R i j D P (Over.mk f)).symm ⟨(y, z), hc⟩ |
| 88 | have ha₁ : a ≫ Stable.ConfigurationLocus.stableConfigurationHilbertRankInclusion R i j D P = y := |
| 89 | congrArg (fun p => p.val.1) |
| 90 | ((Stable.ConfigurationLocus.stableConfigurationHilbertPointEquiv R i j D P (Over.mk f)).apply_symm_apply ⟨(y, z), hc⟩) |
| 91 | have ha : a ≫ Stable.ConfigurationLocus.stableConfigurationHilbertRankInclusion R i j D P ≫ |
| 92 | Stable.ConfigurationPolynomialRankLocus.stableConfigurationPolynomialRankInclusion R i j D (P.eval (D : ℚ)).num.toNat = x := by |
| 93 | rw [← Category.assoc, ha₁, hy] |
| 94 | have : Mono (Stable.ConfigurationLocus.stableConfigurationHilbertRankInclusion R i j D P) := Over.mono_of_mono_left _ |
| 95 | have : Mono (Stable.ConfigurationPolynomialRankLocus.stableConfigurationPolynomialRankInclusion R i j D (P.eval (D : ℚ)).num.toNat) := |
| 96 | Over.mono_of_mono_left _ |
| 97 | refine ⟨a, ha, fun b hb => ?_⟩ |
| 98 | exact (cancel_mono (Stable.ConfigurationLocus.stableConfigurationHilbertRankInclusion R i j D P ≫ |
| 99 | Stable.ConfigurationPolynomialRankLocus.stableConfigurationPolynomialRankInclusion R i j D (P.eval (D : ℚ)).num.toNat)).mp (hb.trans ha.symm) |
| 100 | |
| 101 | end |
| 102 | |
| 103 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Noetherian.TorsionConfigurationLift |