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.SheafCohomology.Projective.GradedPieceFiniteness |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.GradedCyclicSubmodule |
| 3 | |
| 4 | /-! # Graded Polynomial Constant Component -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.GradedPolynomialConstantComponent |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Degree zero in the integer polynomial grading is the actual constant coefficient. -/ |
| 11 | |
| 12 | open DirectSum _root_.MvPolynomial |
| 13 | universe u |
| 14 | variable {R : Type u} [CommRing R] {σ : Type} [Fintype σ] |
| 15 | |
| 16 | theorem polynomialIntegerGrading_decompose_zero (p : MvPolynomial σ R) : |
| 17 | (decompose (HilbertScheme.Presentations.WeightedFreeModules.GradedModules.polynomialIntegerGrading R) p 0).val = C (constantCoeff p) := by |
| 18 | classical |
| 19 | change (MvPolynomial.decompose' R (fun _ : σ => (1 : ℤ)) p 0).val = C (constantCoeff p) |
| 20 | rw [MvPolynomial.decompose'_apply] |
| 21 | apply MvPolynomial.ext |
| 22 | intro a |
| 23 | rw [coeff_weightedHomogeneousComponent, coeff_C] |
| 24 | by_cases h : a = 0 |
| 25 | · simp [h] |
| 26 | rfl |
| 27 | · have hw : Finsupp.weight (fun _ : σ => (1 : ℤ)) a ≠ 0 := by |
| 28 | rw [HilbertScheme.Presentations.IntegerPolynomialGrading.GradedModules.integerWeight_eq_degree] |
| 29 | exact_mod_cast (mt (Finsupp.degree_eq_zero_iff a).mp h) |
| 30 | simp [hw, Ne.symm h] |
| 31 | |
| 32 | theorem homogeneous_smul_constant_component |
| 33 | {M : Type u} [AddCommGroup M] [Module R M] [Module (MvPolynomial σ R) M] |
| 34 | [IsScalarTower R (MvPolynomial σ R) M] |
| 35 | (ℳ : ℤ → Submodule R M) [Decomposition ℳ] |
| 36 | [SetLike.GradedSMul (HilbertScheme.Presentations.WeightedFreeModules.GradedModules.polynomialIntegerGrading (σ := σ) R) ℳ] |
| 37 | {d : ℤ} {x : M} (hx : x ∈ ℳ d) (p : MvPolynomial σ R) : |
| 38 | (decompose ℳ (p • x) d).val = (constantCoeff p) • x := by |
| 39 | rw [GradedCyclicSubmodule.homogeneous_smul_component (HilbertScheme.Presentations.WeightedFreeModules.GradedModules.polynomialIntegerGrading R) ℳ hx, sub_self, |
| 40 | polynomialIntegerGrading_decompose_zero] |
| 41 | exact IsScalarTower.algebraMap_smul (MvPolynomial σ R) (constantCoeff p) x |
| 42 | |
| 43 | end |
| 44 | |
| 45 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.GradedPolynomialConstantComponent |