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.DegreeMatrices |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.PrescribedMatrixRankLoci |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Generated.DegreeFlatRank |
| 4 | |
| 5 | /-! # Generated Rank Loci -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Normalized.GeneratedRankLoci |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! On a normalized Grassmann chart, the finite generated-quotient condition is represented by an actual quasi-compact locally closed matrix locus. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {S : Scheme.{u}} (M : Over S) {n N : ℕ} {ι : Type u} [Fintype ι] [DecidableEq ι] |
| 18 | variable (a : ι → ULift.{u} (Homogeneous.Coordinates.HomogeneousMonomials (Fin (n + 1)) N)) |
| 19 | variable (Q : Matrix ι (ULift.{u} (Homogeneous.Coordinates.HomogeneousMonomials (Fin (n + 1)) N)) Γ(M.left, ⊤)) |
| 20 | variable (B : ℕ) (r : ℕ → ℕ) |
| 21 | |
| 22 | def normalizedGeneratedRankSubfunctor : Subfunctor (yoneda.obj M) := |
| 23 | ⨅ d : Fin (B + 1), PrescribedMatrixRankLoci.prescribedMatrixRankSubfunctor M (DegreeMatrices.normalizedRetainedDegreeMatrix a Q d) (r d) |
| 24 | |
| 25 | omit [DecidableEq ι] in |
| 26 | theorem normalizedGeneratedRank_immersion : |
| 27 | HilbertScheme.Presentations.SubfunctorRepresentations.ImmersionRepresentable (normalizedGeneratedRankSubfunctor M a Q B r) := |
| 28 | PrescribedMatrixRankLoci.prescribedMatrixRanks_finite_intersection M |
| 29 | (fun d : Fin (B + 1) => |
| 30 | HilbertScheme.Presentations.Homogeneous.DegreeMatrix.GradedHilbert.DegreeRelationIndex (ULift.{u} (Homogeneous.Coordinates.HomogeneousMonomials (Fin (n + 1)) N)) n (d.val - N)) |
| 31 | (fun d : Fin (B + 1) => HilbertScheme.Presentations.Homogeneous.CoordinateBasis.GradedHilbert.DegreeIndex.{u} n d) |
| 32 | (fun d => DegreeMatrices.normalizedRetainedDegreeMatrix a Q d) (fun d => r d) |
| 33 | |
| 34 | theorem normalizedGeneratedRank_affine_iff (hQ : HilbertScheme.Presentations.Normalized.Matrices.Grassmannian.IsNormalized a Q) |
| 35 | (R : CommRingCat.{u}) {f : Spec R ⟶ S} (x : Over.mk f ⟶ M) |
| 36 | (U : Module.Grassmannian R (MvPolynomial.homogeneousSubmodule (Fin (n + 1)) R N) (r N)) |
| 37 | (hU : U.toSubmodule = HomogeneousGenerators.normalizedHomogeneousRelations (HilbertConstruction.Matrix.RankAffineCriterion.affineMatrixCoefficients M Q R x)) : |
| 38 | x ∈ (normalizedGeneratedRankSubfunctor M a Q B r).obj (.op (Over.mk f)) ↔ |
| 39 | Generated.DegreeFlatRank.GeneratedDegreeFlatRank (B := B) U := by |
| 40 | rw [normalizedGeneratedRankSubfunctor, Subfunctor.iInf_obj, Set.mem_iInter] |
| 41 | change (∀ d : Fin (B + 1), x ∈ |
| 42 | (PrescribedMatrixRankLoci.prescribedMatrixRankSubfunctor M (DegreeMatrices.normalizedRetainedDegreeMatrix a Q d) (r d)).obj (.op (Over.mk f))) ↔ |
| 43 | ∀ d : Fin (B + 1), _ |
| 44 | apply forall_congr' |
| 45 | intro d |
| 46 | rw [PrescribedMatrixRankLoci.prescribedMatrixRank_affine_iff] |
| 47 | let φ := (Scheme.ΓSpecIso R).hom.hom.comp x.left.appTop.hom |
| 48 | have hm : HilbertConstruction.Matrix.RankAffineCriterion.affineMatrixCoefficients M (DegreeMatrices.normalizedRetainedDegreeMatrix a Q d) R x = |
| 49 | DegreeMatrices.normalizedRetainedDegreeMatrix a (HilbertConstruction.Matrix.RankAffineCriterion.affineMatrixCoefficients M Q R x) d := |
| 50 | DegreeMatrices.normalizedRetainedDegreeMatrix_map a Q φ d |
| 51 | rw [hm] |
| 52 | let e := DegreeMatrices.normalizedRetainedDegreeMatrixCokernelEquiv a |
| 53 | (HilbertConstruction.Matrix.RankAffineCriterion.affineMatrixCoefficients M Q R x) (hQ.map φ) d |
| 54 | rw [Module.Flat.equiv_iff e, Module.rankAtStalk_eq_of_equiv e, hU] |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Normalized.GeneratedRankLoci |