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.WeightedRename |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Linear.PolynomialCoefficients |
| 3 | |
| 4 | /-! # Iterated Polynomial Coefficients -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.IteratedPolynomialCoefficients.GradedHilbert |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Coefficients in an iterated polynomial ring preserve the degree control needed for syzygy generators. -/ |
| 11 | |
| 12 | open _root_.MvPolynomial |
| 13 | |
| 14 | variable {K σ ι : Type*} [Field K] |
| 15 | |
| 16 | theorem coeff_coeff_sumAlgEquiv (p : MvPolynomial (ι ⊕ σ) K) |
| 17 | (a : ι →₀ ℕ) (b : σ →₀ ℕ) : |
| 18 | AddMonoidAlgebra.coeff (AddMonoidAlgebra.coeff (sumAlgEquiv K ι σ p) a) b = |
| 19 | AddMonoidAlgebra.coeff p (a.sumElim b) := by |
| 20 | simp [sumAlgEquiv, AddMonoidAlgebra.curryAlgEquiv, |
| 21 | AddMonoidAlgebra.curryRingEquiv, AddMonoidAlgebra.curryAddEquiv] |
| 22 | |
| 23 | theorem naturalWeight_sumElim (w : ι ⊕ σ → ℕ) (a : ι →₀ ℕ) (b : σ →₀ ℕ) : |
| 24 | Finsupp.weight w (a.sumElim b) = |
| 25 | Finsupp.weight (w ∘ Sum.inl) a + Finsupp.weight (w ∘ Sum.inr) b := by |
| 26 | rw [Finsupp.sumElim_eq_add, map_add, WeightedRename.GradedHilbert.naturalWeight_mapDomain, WeightedRename.GradedHilbert.naturalWeight_mapDomain] |
| 27 | |
| 28 | theorem iterated_linearPart_homogeneous |
| 29 | {p : MvPolynomial (ι ⊕ σ) K} {D d : ℕ} |
| 30 | (hp : p.IsWeightedHomogeneous (Sum.elim (fun _ : ι => D) (fun _ : σ => 1)) d) |
| 31 | (i : ι) : |
| 32 | (Linear.PolynomialCoefficients.GradedHilbert.polynomialLinearPart (sumAlgEquiv K ι σ p) i).IsHomogeneous (d - D) := by |
| 33 | intro a ha |
| 34 | change AddMonoidAlgebra.coeff (AddMonoidAlgebra.coeff (sumAlgEquiv K ι σ p) (Finsupp.single i 1)) a ≠ 0 at ha |
| 35 | rw [coeff_coeff_sumAlgEquiv] at ha |
| 36 | have hd := hp ha |
| 37 | rw [naturalWeight_sumElim, Finsupp.weight_single] at hd |
| 38 | simp only [Function.comp_def, Sum.elim_inl, Sum.elim_inr, one_smul] at hd |
| 39 | change Finsupp.weight (fun _ : σ => 1) a = d - D |
| 40 | omega |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.IteratedPolynomialCoefficients.GradedHilbert |