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 Mathlib.FieldTheory.IsAlgClosed.Basic |
| 2 | import Mathlib.RingTheory.Algebraic.Integral |
| 3 | |
| 4 | /-! # Algebraically Closed Constants -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.AlgebraicallyClosedConstants |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! In a domain algebra over an algebraically closed field, algebraic elements are precisely scalar constants. -/ |
| 11 | |
| 12 | universe u v |
| 13 | |
| 14 | variable {K : Type u} [Field K] [IsAlgClosed K] |
| 15 | variable {R : Type v} [CommRing R] [IsDomain R] [Algebra K R] |
| 16 | |
| 17 | theorem algebraic_is_scalar (x : R) (hx : IsAlgebraic K x) : ∃ c : K, algebraMap K R c = x := by |
| 18 | have hi : _root_.IsIntegral K x := hx.isIntegral |
| 19 | have hq : (minpoly K x).leadingCoeff = 1 := minpoly.monic hi |
| 20 | have hd : (minpoly K x).degree = 1 := |
| 21 | IsAlgClosed.degree_eq_one_of_irreducible K (minpoly.irreducible hi) |
| 22 | have h : Polynomial.aeval x (minpoly K x) = 0 := minpoly.aeval K x |
| 23 | rw [Polynomial.eq_X_add_C_of_degree_eq_one hd, hq, Polynomial.C_1, one_mul, |
| 24 | Polynomial.aeval_add, Polynomial.aeval_X, Polynomial.aeval_C, add_eq_zero_iff_eq_neg] at h |
| 25 | exact ⟨-(minpoly K x).coeff 0, (map_neg (algebraMap K R) _).trans h.symm⟩ |
| 26 | |
| 27 | theorem transcendental_iff_not_scalar (x : R) : |
| 28 | Transcendental K x ↔ ¬ ∃ c : K, algebraMap K R c = x := by |
| 29 | constructor |
| 30 | · rintro hx ⟨c, rfl⟩ |
| 31 | exact hx (isAlgebraic_algebraMap c) |
| 32 | · intro hx ha |
| 33 | exact hx (algebraic_is_scalar x ha) |
| 34 | |
| 35 | end |
| 36 | |
| 37 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.AlgebraicallyClosedConstants |