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.AbelianModuli.HilbertConstruction.Polarized.AutomorphismsFinite |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Polarized.IsomorphismPullbackFaithfulness |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Smooth.FieldExtensionReflection |
| 4 | import Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure |
| 5 | |
| 6 | /-! # Automorphisms Finite Over Field -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Polarized.AutomorphismsFiniteOverField |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Actual polarized full-level automorphisms form a finite set over every field, by faithful base change to an algebraic closure. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {K : Type u} [Field K] {g N : ℕ} {δ : Fin g → ℕ} |
| 19 | variable (A : PolarizationData.PolarizedAbelianWithFullLevel g δ N (Spec (.of K))) |
| 20 | |
| 21 | theorem polarizedAutomorphisms_finite_overField : Finite (Moduli.Isomorphisms.LevelPreservingIso A A) := by |
| 22 | let φ : CommRingCat.of K ⟶ CommRingCat.of (AlgebraicClosure K) := |
| 23 | CommRingCat.ofHom (algebraMap K (AlgebraicClosure K)) |
| 24 | let f := Spec.map φ |
| 25 | have : Flat f := Smooth.FieldExtensionReflection.fieldSpecMap_flat φ |
| 26 | have : Surjective f := Smooth.FieldExtensionReflection.fieldSpecMap_surjective φ |
| 27 | have : QuasiCompact f := inferInstanceAs (QuasiCompact (Spec.map φ)) |
| 28 | have : Finite (Moduli.Isomorphisms.LevelPreservingIso (A.pullback f) (A.pullback f)) := |
| 29 | AutomorphismsFinite.polarizedAutomorphisms_finite_overAlgClosed (A.pullback f) |
| 30 | exact Finite.of_injective (fun e : Moduli.Isomorphisms.LevelPreservingIso A A => e.pullback f) |
| 31 | (Moduli.Isomorphisms.LevelPreservingIso.pullback_injective f) |
| 32 | |
| 33 | end |
| 34 | |
| 35 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Polarized.AutomorphismsFiniteOverField |