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.IntegerPolynomialGrading |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Graded.Exactness |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Finite.GradedPolynomialModules |
| 4 | |
| 5 | /-! # Homogeneous Polynomial Matrix -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.HomogeneousPolynomialMatrix |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Polynomial matrices of prescribed degrees give homogeneous maps of weighted free modules. -/ |
| 12 | |
| 13 | open _root_.MvPolynomial DirectSum |
| 14 | universe u v w |
| 15 | variable {R : Type u} [CommRing R] {σ : Type v} [Fintype σ] |
| 16 | variable {ι κ : Type w} [Fintype ι] |
| 17 | |
| 18 | def homogeneousMatrixColumn (d : ι → ℕ) (e : κ → ℕ) |
| 19 | (a : ∀ i k, homogeneousSubmodule σ R (e k - d i)) (k : κ) : |
| 20 | ι →₀ MvPolynomial σ R := |
| 21 | Finsupp.equivFunOnFinite.symm (fun i => (a i k).val) |
| 22 | |
| 23 | theorem homogeneousMatrixColumn_homogeneous (d : ι → ℕ) (e : κ → ℕ) |
| 24 | (hde : ∀ i k, d i ≤ e k) |
| 25 | (a : ∀ i k, homogeneousSubmodule σ R (e k - d i)) (k : κ) : |
| 26 | homogeneousMatrixColumn d e a k ∈ HilbertScheme.Presentations.WeightedFreeModules.GradedModules.weightedFreeGrading R (fun i => (d i : ℤ)) (e k : ℤ) := by |
| 27 | rw [HilbertScheme.Presentations.WeightedFreeModules.GradedModules.mem_weightedFreeGrading] |
| 28 | intro i |
| 29 | change (a i k).val ∈ HilbertScheme.Presentations.WeightedFreeModules.GradedModules.polynomialIntegerGrading R ((e k : ℤ) - (d i : ℤ)) |
| 30 | rw [← Int.natCast_sub (hde i k), HilbertScheme.Presentations.IntegerPolynomialGrading.GradedModules.polynomialIntegerGrading_nat] |
| 31 | exact (a i k).property |
| 32 | |
| 33 | def homogeneousPolynomialMatrixMap (d : ι → ℕ) (e : κ → ℕ) |
| 34 | (a : ∀ i k, homogeneousSubmodule σ R (e k - d i)) : |
| 35 | (κ →₀ MvPolynomial σ R) →ₗ[MvPolynomial σ R] (ι →₀ MvPolynomial σ R) := |
| 36 | Finsupp.linearCombination (MvPolynomial σ R) (homogeneousMatrixColumn d e a) |
| 37 | |
| 38 | theorem homogeneousPolynomialMatrixMap_homogeneous (d : ι → ℕ) (e : κ → ℕ) |
| 39 | (hde : ∀ i k, d i ≤ e k) |
| 40 | (a : ∀ i k, homogeneousSubmodule σ R (e k - d i)) (n : ℤ) |
| 41 | (x : κ →₀ MvPolynomial σ R) (hx : x ∈ HilbertScheme.Presentations.WeightedFreeModules.GradedModules.weightedFreeGrading R (fun k => (e k : ℤ)) n) : |
| 42 | homogeneousPolynomialMatrixMap d e a x ∈ HilbertScheme.Presentations.WeightedFreeModules.GradedModules.weightedFreeGrading R (fun i => (d i : ℤ)) n := |
| 43 | HilbertScheme.Presentations.WeightedFreeModules.GradedModules.weightedFree_linearCombination_homogeneous R (HilbertScheme.Presentations.WeightedFreeModules.GradedModules.weightedFreeGrading R (fun i => (d i : ℤ))) |
| 44 | (fun k => (e k : ℤ)) (homogeneousMatrixColumn d e a) |
| 45 | (homogeneousMatrixColumn_homogeneous d e hde a) n x hx |
| 46 | |
| 47 | theorem homogeneousPolynomialMatrixMap_range_isHomogeneous (d : ι → ℕ) (e : κ → ℕ) |
| 48 | (hde : ∀ i k, d i ≤ e k) |
| 49 | (a : ∀ i k, homogeneousSubmodule σ R (e k - d i)) : |
| 50 | (homogeneousPolynomialMatrixMap d e a).range.IsHomogeneous |
| 51 | (HilbertScheme.Presentations.WeightedFreeModules.GradedModules.weightedFreeGrading R (fun i => (d i : ℤ))) := by |
| 52 | intro n x hx |
| 53 | obtain ⟨y, rfl⟩ := hx |
| 54 | refine ⟨(decompose (HilbertScheme.Presentations.WeightedFreeModules.GradedModules.weightedFreeGrading R (fun k => (e k : ℤ))) y n).val, ?_⟩ |
| 55 | exact HilbertScheme.Presentations.Graded.ModuleGenerators.GradedModules.map_homogeneous_component (HilbertScheme.Presentations.WeightedFreeModules.GradedModules.weightedFreeGrading R (fun k => (e k : ℤ))) |
| 56 | (HilbertScheme.Presentations.WeightedFreeModules.GradedModules.weightedFreeGrading R (fun i => (d i : ℤ))) |
| 57 | (homogeneousPolynomialMatrixMap d e a).toAddMonoidHom |
| 58 | (homogeneousPolynomialMatrixMap_homogeneous d e hde a) n y |
| 59 | |
| 60 | def weightedFreePolynomialModule {η : Type v} [Finite η] (d : η → ℤ) : |
| 61 | HilbertScheme.Presentations.Finite.GradedPolynomialModules.GradedModules.FiniteGradedPolynomialModule σ R where |
| 62 | Carrier := η →₀ MvPolynomial σ R |
| 63 | grading := HilbertScheme.Presentations.WeightedFreeModules.GradedModules.weightedFreeGrading R d |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.HomogeneousPolynomialMatrix |