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.PolynomialChartHomogeneous |
| 2 | |
| 3 | /-! # Polynomial Chart Injective -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.PolynomialChartInjective.MvPolynomial |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | open _root_.MvPolynomial |
| 10 | |
| 11 | /-! A homogeneous polynomial of fixed degree is determined on any coordinate chart. -/ |
| 12 | |
| 13 | universe u |
| 14 | variable {σ : Type} [Fintype σ] (R : Type u) [CommRing R] {m : ℕ} |
| 15 | |
| 16 | theorem polynomialChart_homogeneous_coefficient (a : Fin (m + 1) → σ) (n : ℕ) |
| 17 | (p : homogeneousSubmodule σ R n) (e : LaurentZeroCoefficients.MvPolynomial.NonnegativeLaurentWeight σ (n : ℤ)) : |
| 18 | (PolynomialChartMap.MvPolynomial.polynomialChartRingHom R a p.val).coeff |
| 19 | ((LaurentWeight.MvPolynomial.coordinateLaurentExponentEquiv a (n : ℤ)).symm |
| 20 | (PolynomialChartMap.MvPolynomial.nonnegativeLaurentWeightAllowed a n e)) = |
| 21 | NonnegativeLaurentPolynomials.MvPolynomial.homogeneousPolynomialCoefficientsEquiv R n p e := by |
| 22 | classical |
| 23 | rw [PolynomialChartHomogeneous.MvPolynomial.polynomialChartRingHom_homogeneous, AddMonoidAlgebra.coeff_sum, |
| 24 | Finsupp.finsetSum_apply] |
| 25 | rw [Finset.sum_eq_single e] |
| 26 | · simp |
| 27 | · intro f _ hfe |
| 28 | have hne : (LaurentWeight.MvPolynomial.coordinateLaurentExponentEquiv a (n : ℤ)).symm |
| 29 | (PolynomialChartMap.MvPolynomial.nonnegativeLaurentWeightAllowed a n f) ≠ |
| 30 | (LaurentWeight.MvPolynomial.coordinateLaurentExponentEquiv a (n : ℤ)).symm |
| 31 | (PolynomialChartMap.MvPolynomial.nonnegativeLaurentWeightAllowed a n e) := by |
| 32 | intro h |
| 33 | have hallowed := (LaurentWeight.MvPolynomial.coordinateLaurentExponentEquiv a (n : ℤ)).symm.injective h |
| 34 | have hweight := congrArg |
| 35 | (fun t : {w : LaurentWeight.MvPolynomial.HomogeneousLaurentExponent σ (n : ℤ) // w.IsAllowedOn a} => t.val) |
| 36 | hallowed |
| 37 | exact hfe (Subtype.ext hweight) |
| 38 | simp only [AddMonoidAlgebra.coeff_single, Finsupp.single_apply, ite_eq_right hne] |
| 39 | · simp |
| 40 | |
| 41 | theorem polynomialChartRingHom_injective_homogeneous (a : Fin (m + 1) → σ) (n : ℕ) : |
| 42 | Function.Injective (fun p : homogeneousSubmodule σ R n => |
| 43 | PolynomialChartMap.MvPolynomial.polynomialChartRingHom R a p.val) := by |
| 44 | intro p q h |
| 45 | apply (NonnegativeLaurentPolynomials.MvPolynomial.homogeneousPolynomialCoefficientsEquiv R n).injective |
| 46 | funext e |
| 47 | have he := congrArg (fun f => AddMonoidAlgebra.coeff f |
| 48 | ((LaurentWeight.MvPolynomial.coordinateLaurentExponentEquiv a (n : ℤ)).symm |
| 49 | (PolynomialChartMap.MvPolynomial.nonnegativeLaurentWeightAllowed a n e))) h |
| 50 | simpa only [polynomialChart_homogeneous_coefficient] using he |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.PolynomialChartInjective.MvPolynomial |