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.Stable.PolynomialMatrixCoefficients |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Local.TorsionEvaluationRank |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Configuration.CokernelRelabeling |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Level.BasisCoordinateFrames |
| 5 | |
| 6 | /-! # Torsion Stable Rank Lift -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Local.TorsionStableRankLift |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! An actual high auxiliary torsion configuration lying in a stable |
| 13 | balanced chart has a unique lift to its polynomial rank locus over a |
| 14 | noetherian local coefficient ring. The lift uses the full flatness |
| 15 | and rank condition, not only ranks of geometric matrices. -/ |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | open scoped Classical |
| 18 | universe u |
| 19 | set_option backward.isDefEq.respectTransparency false |
| 20 | set_option backward.isDefEq.respectTransparency.types false |
| 21 | |
| 22 | def liftedFullLevelLabelEnumeration {g n : ℕ} [NeZero n] : |
| 23 | ULift.{u} (Fin (n ^ (2 * g))) ≃ Multiplicative (Fin (2 * g) → ZMod n) := |
| 24 | Equiv.ulift.trans (PolarizationData.PolarizedAbelianWithFullLevel.fullLevelLabelEnumeration (g := g) (n := n)) |
| 25 | |
| 26 | variable (R : Type u) [CommRing R] |
| 27 | variable (C : CommRingCat.{u}) [IsNoetherianRing C] [IsLocalRing C] |
| 28 | variable {g N n r : ℕ} {δ : Fin g → ℕ} [NeZero n] {P : Polynomial ℚ} |
| 29 | variable (i : Fin (n ^ (2 * g))) |
| 30 | variable (j : Stable.BalancedFrameIndex.StableBalancedFrameIndex.{u} (r + 1) (n ^ (2 * g))) |
| 31 | variable {f : Spec C ⟶ Spec (.of R)} |
| 32 | variable (x : Over.mk f ⟶ Stable.ConfigurationPolynomialRankLocus.stableConfigurationPolynomialRankAmbient R i j) |
| 33 | variable (A : PolarizationData.PolarizedAbelianWithFullLevel g δ N (Spec C)) |
| 34 | variable (I : SaturatedFlatIdeals.SaturatedFlatHilbertIdeal C r P) |
| 35 | variable (e : A.abelian.scheme ≅ Projective.EmbeddingBaseChange.homogeneousProjectiveFamily I.ideal) |
| 36 | variable (eL : ((ProjectiveTwisting.Bundle.projectiveTwistingBundle I.ideal 1).pullback e.hom.left).sheaf ≅ |
| 37 | (A.graphBundle.tensorPower (2 * Graph.EmbeddingNumerics.graphSquareSectionRank g δ)).sheaf) |
| 38 | variable (hg : 0 < g) (hδ : ∀ k, 0 < δ k) (hN : 3 ≤ N) |
| 39 | variable (hunit : IsUnit (N : Γ(Spec C, ⊤))) |
| 40 | variable (level : A.abelian.FullLevel n) (D : ℕ) (hD : 0 < D) |
| 41 | variable (hdegree : HilbertScheme.Presentations.Uniform.FamilyCoordinates.GradedHilbert.uniformHilbertFamilyDegree.{u} r P ≤ D) |
| 42 | variable (hlarge : Bounded.GraphTorsionSectionDetection.boundedGraphTorsionDegree g δ D < n ^ 2) |
| 43 | variable (hpoints : ∀ c : ULift.{u} (Fin (n ^ (2 * g))), |
| 44 | (A.abelian.fullLevelGlobalSection level (liftedFullLevelLabelEnumeration c) ≫ e.hom.left) ≫ |
| 45 | HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotientInclusion I.ideal = |
| 46 | AffineProjective.CoordinateMaps.affineProjectiveCoordinateMap C C (Stable.PolynomialMatrixCoefficients.stablePolynomialChartPointVectors R i j C x c) |
| 47 | (j.coordinate c.down) (Stable.PolynomialMatrixCoefficients.stablePolynomialChartPointVectors_selected R i j C x c)) |
| 48 | |
| 49 | include A I e eL hg hδ hN hunit level hD hdegree hlarge hpoints |
| 50 | |
| 51 | theorem localAuxiliaryTorsionConfiguration_unique_rankLift : |
| 52 | ∃! y : Over.mk f ⟶ Stable.ConfigurationPolynomialRankLocus.stableConfigurationPolynomialRankLocus R i j D (P.eval (D : ℚ)).num.toNat, |
| 53 | y ≫ Stable.ConfigurationPolynomialRankLocus.stableConfigurationPolynomialRankInclusion R i j D (P.eval (D : ℚ)).num.toNat = x := by |
| 54 | let ℓ := liftedFullLevelLabelEnumeration (g := g) (n := n) |
| 55 | let w := fun c => Stable.PolynomialMatrixCoefficients.stablePolynomialChartPointVectors R i j C x (ℓ.symm c) |
| 56 | let selected := fun c => j.coordinate (ℓ.symm c).down |
| 57 | have hselected : ∀ c, w c (selected c) = 1 := |
| 58 | fun c => Stable.PolynomialMatrixCoefficients.stablePolynomialChartPointVectors_selected R i j C x (ℓ.symm c) |
| 59 | have hw : ∀ c, |
| 60 | (A.abelian.fullLevelGlobalSection level c ≫ e.hom.left) ≫ HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotientInclusion I.ideal = |
| 61 | AffineProjective.CoordinateMaps.affineProjectiveCoordinateMap C C (w c) (selected c) (hselected c) := by |
| 62 | intro c |
| 63 | have hc : (A.abelian.fullLevelGlobalSection level (ℓ (ℓ.symm c)) ≫ e.hom.left) ≫ |
| 64 | HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotientInclusion I.ideal = |
| 65 | AffineProjective.CoordinateMaps.affineProjectiveCoordinateMap C C (w c) (selected c) (hselected c) := hpoints (ℓ.symm c) |
| 66 | rw [ℓ.apply_symm_apply] at hc |
| 67 | exact hc |
| 68 | have h := TorsionEvaluationRank.localAuxiliaryTorsionMonomialMatrix_flatRank A I e eL hg hδ hN hunit |
| 69 | level D hD hdegree hlarge w selected hselected hw |
| 70 | have hrel := (Configuration.CokernelRelabeling.configurationMonomialMatrix_flatRank_relabel_iff |
| 71 | w D (P.eval (D : ℚ)).num.toNat (n ^ (2 * g)) ℓ).mpr h |
| 72 | apply (Stable.PolynomialMatrixCoefficients.stablePolynomialRankPoint_iff_configuration R i j C x D (P.eval (D : ℚ)).num.toNat).mpr |
| 73 | have hwvec : (fun c => w (ℓ c)) = Stable.PolynomialMatrixCoefficients.stablePolynomialChartPointVectors R i j C x := by |
| 74 | funext c |
| 75 | exact congrArg (Stable.PolynomialMatrixCoefficients.stablePolynomialChartPointVectors R i j C x) (ℓ.symm_apply_apply c) |
| 76 | rw [hwvec] at hrel |
| 77 | exact hrel |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Local.TorsionStableRankLift |