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.NonnegativeLaurentPolynomials |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.LaurentWeight |
| 3 | import Mathlib.Algebra.MonoidAlgebra.MapDomain |
| 4 | |
| 5 | /-! # Polynomial Chart Map -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.PolynomialChartMap.MvPolynomial |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | open _root_.MvPolynomial |
| 12 | |
| 13 | /-! Dehomogenizing polynomial monomials in a projective chart is a genuine ring homomorphism. -/ |
| 14 | |
| 15 | universe u |
| 16 | variable {σ : Type} [Fintype σ] {m : ℕ} |
| 17 | |
| 18 | def polynomialChartExponent (a : Fin (m + 1) → σ) : |
| 19 | (σ →₀ ℕ) →+ LaurentExponentLocalization.MvPolynomial.laurentExponentSubmonoid (StandardIntersectionRing.MvPolynomial.coordinateTailExponent a) where |
| 20 | toFun e := ⟨Finsupp.equivFunOnFinite.symm (fun i : {i : σ // i ≠ a 0} => (e i.val : ℤ)), by |
| 21 | intro i hi |
| 22 | exact False.elim ((not_lt_of_ge (Int.natCast_nonneg (e i.val))) hi)⟩ |
| 23 | map_zero' := by apply Subtype.ext; ext i; rfl |
| 24 | map_add' e f := by |
| 25 | apply Subtype.ext |
| 26 | ext i |
| 27 | change ((e i.val + f i.val : ℕ) : ℤ) = (e i.val : ℤ) + (f i.val : ℤ) |
| 28 | exact Nat.cast_add _ _ |
| 29 | |
| 30 | def polynomialChartRingHom (R : Type u) [CommRing R] (a : Fin (m + 1) → σ) : |
| 31 | MvPolynomial σ R →+* AddMonoidAlgebra R (LaurentExponentLocalization.MvPolynomial.laurentExponentSubmonoid (StandardIntersectionRing.MvPolynomial.coordinateTailExponent a)) := |
| 32 | AddMonoidAlgebra.mapDomainRingHom R (polynomialChartExponent a) |
| 33 | |
| 34 | theorem polynomialChartRingHom_monomial (R : Type u) [CommRing R] |
| 35 | (a : Fin (m + 1) → σ) (e : σ →₀ ℕ) (r : R) : |
| 36 | polynomialChartRingHom R a (monomial e r) = |
| 37 | AddMonoidAlgebra.single (polynomialChartExponent a e) r := |
| 38 | AddMonoidAlgebra.mapDomain_single |
| 39 | |
| 40 | def nonnegativeLaurentWeightAllowed (a : Fin (m + 1) → σ) (n : ℕ) |
| 41 | (e : LaurentZeroCoefficients.MvPolynomial.NonnegativeLaurentWeight σ (n : ℤ)) : |
| 42 | {e : LaurentWeight.MvPolynomial.HomogeneousLaurentExponent σ (n : ℤ) // e.IsAllowedOn a} := |
| 43 | ⟨e.val, fun i hi => False.elim ((not_lt_of_ge (e.property i)) hi)⟩ |
| 44 | |
| 45 | theorem polynomialChartExponent_eq_homogeneous_symm (a : Fin (m + 1) → σ) (n : ℕ) |
| 46 | (e : LaurentZeroCoefficients.MvPolynomial.NonnegativeLaurentWeight σ (n : ℤ)) : |
| 47 | polynomialChartExponent a ((NonnegativeLaurentPolynomials.MvPolynomial.nonnegativeLaurentWeightEquivDegree n) e).val = |
| 48 | (LaurentWeight.MvPolynomial.coordinateLaurentExponentEquiv a (n : ℤ)).symm (nonnegativeLaurentWeightAllowed a n e) := by |
| 49 | apply Subtype.ext |
| 50 | ext i |
| 51 | rw [LaurentWeight.MvPolynomial.coordinateLaurentExponentEquiv_symm_apply] |
| 52 | change ((e.val.val i.val).toNat : ℤ) = e.val.val i.val |
| 53 | have := e.property i.val |
| 54 | omega |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.PolynomialChartMap.MvPolynomial |