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.HilbertScheme.Presentations.Homogeneous.GeneratorsBaseChange |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Homogeneous.QuotientFinitePresentation |
| 3 | import Mathlib.RingTheory.LocalRing.Module |
| 4 | import Mathlib.LinearAlgebra.Dimension.Constructions |
| 5 | |
| 6 | /-! # Degree Rank Specialization -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Local.DegreeRankSpecialization.GradedHilbert |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! A flat homogeneous degree quotient over a local ring is finite free, so its |
| 13 | rank equals the dimension of the actual quotient after field specialization. -/ |
| 14 | |
| 15 | open _root_.MvPolynomial TensorProduct |
| 16 | |
| 17 | universe u v z |
| 18 | variable {R : Type u} [CommRing R] [IsLocalRing R] |
| 19 | variable {K : Type v} [Field K] [Algebra R K] |
| 20 | variable {n : ℕ} {ι : Type z} [Fintype ι] |
| 21 | |
| 22 | theorem homogeneousDegree_finrank_baseChange_of_local_flat |
| 23 | (g : ι → Hilbert.Polynomial.GradedHilbert.CoordinateRing R n) (N : ℕ) (hg : ∀ i, (g i).IsHomogeneous N) (d : ℕ) |
| 24 | [Module.Flat R (Hilbert.Polynomial.GradedHilbert.DegreeQuotient (Homogeneous.RelationPresentation.GradedHilbert.homogeneousGeneratorsIdeal g N hg).toIdeal (d + N))] : |
| 25 | Module.finrank K (Hilbert.Polynomial.GradedHilbert.DegreeQuotient |
| 26 | (Homogeneous.RelationPresentation.GradedHilbert.homogeneousGeneratorsIdeal (Finite.SyzygyLifting.GradedHilbert.mapRelationVector (algebraMap R K) g) N |
| 27 | (fun i => (hg i).map (algebraMap R K))).toIdeal (d + N)) = |
| 28 | Module.finrank R (Hilbert.Polynomial.GradedHilbert.DegreeQuotient (Homogeneous.RelationPresentation.GradedHilbert.homogeneousGeneratorsIdeal g N hg).toIdeal (d + N)) := by |
| 29 | let := Homogeneous.QuotientFinitePresentation.GradedHilbert.homogeneousGeneratorsDegree_finitePresentation g N hg d |
| 30 | let : Module.Free R (Hilbert.Polynomial.GradedHilbert.DegreeQuotient (Homogeneous.RelationPresentation.GradedHilbert.homogeneousGeneratorsIdeal g N hg).toIdeal (d + N)) := |
| 31 | Module.free_of_flat_of_isLocalRing |
| 32 | rw [← (Homogeneous.GeneratorsBaseChange.GradedHilbert.homogeneousGeneratorsDegreeBaseChangeEquiv (S := K) g N hg (d + N)).finrank_eq] |
| 33 | exact Module.finrank_baseChange |
| 34 | |
| 35 | end |
| 36 | |
| 37 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Local.DegreeRankSpecialization.GradedHilbert |