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.Finiteness.Quotient |
| 3 | import Mathlib.RingTheory.IntegralClosure.Algebra.Basic |
| 4 | |
| 5 | /-! # Algebra Character -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.Finite.AlgebraCharacter |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A nonzero finite commutative algebra over an algebraically closed field has an actual field-valued character. -/ |
| 12 | |
| 13 | universe u v |
| 14 | |
| 15 | variable (k : Type u) [Field k] [IsAlgClosed k] |
| 16 | (R : Type v) [CommRing R] [Nontrivial R] [Algebra k R] [Module.Finite k R] |
| 17 | |
| 18 | /-- A maximal residue field and algebraic closedness construct a character, allowing arbitrary nilpotents in the algebra. -/ |
| 19 | theorem exists_character : Nonempty (R →ₐ[k] k) := by |
| 20 | obtain ⟨I, hI⟩ := Ideal.exists_maximal R |
| 21 | let : I.IsMaximal := hI |
| 22 | let : Field (R ⧸ I) := Ideal.Quotient.field I |
| 23 | have : Module.Finite k (R ⧸ I) := Module.Finite.of_surjective |
| 24 | (Ideal.Quotient.mkₐ k I).toLinearMap (Ideal.Quotient.mkₐ_surjective k I) |
| 25 | let q : (R ⧸ I) →ₐ[k] k := IsAlgClosed.lift |
| 26 | exact ⟨q.comp (Ideal.Quotient.mkₐ k I)⟩ |
| 27 | |
| 28 | end |
| 29 | |
| 30 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.Finite.AlgebraCharacter |