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.ArithmeticGeometry.OrdinaryLocus.Openness.AffinePointCard |
| 2 | import Mathlib.FieldTheory.SeparableDegree |
| 3 | |
| 4 | /-! # Field Point Count -/ |
| 5 | |
| 6 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.FieldPointCount.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Geometric point counts of finite field extensions. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | /-- The geometric points of the spectrum of an algebraic field extension |
| 17 | are counted by its separable degree. -/ |
| 18 | theorem geometricPointCard_spec_field |
| 19 | (K L : Type u) [Field K] [Field L] [Algebra K L] |
| 20 | [Algebra.IsAlgebraic K L] (s : Spec (.of K)) : |
| 21 | Nat.card (DefinitionsTorsion.geometricPoint (Spec (.of K)) s ⟶ |
| 22 | Over.mk (Spec.map (CommRingCat.ofHom (algebraMap K L)))) = |
| 23 | Field.finSepDegree K L := by |
| 24 | let C := AlgebraicClosure ((Spec (.of K)).residueField s) |
| 25 | let t : Spec (.of C) ⟶ Spec (.of K) := (DefinitionsTorsion.geometricPoint (Spec (.of K)) s).hom |
| 26 | let : Algebra K C := (Spec.preimage t).hom.toAlgebra |
| 27 | have ht : Spec.map (CommRingCat.ofHom (algebraMap K C)) = t := |
| 28 | Spec.map_preimage t |
| 29 | have he := AffinePointCard.Construction.specPointsEquivAlgHom K L C |
| 30 | rw [ht] at he |
| 31 | exact (Nat.card_congr he).trans (Field.finSepDegree_eq_of_isAlgClosed K L C).symm |
| 32 | |
| 33 | end |
| 34 | |
| 35 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.FieldPointCount.Construction |