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.Picard.Homomorphisms.Frobenius |
| 2 | import Mathlib.FieldTheory.IsAlgClosed.Basic |
| 3 | |
| 4 | /-! # Geometric Points -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Picard.Homomorphisms.GeometricPoints.Construction |
| 7 | |
| 8 | /-! Geometric points and their characteristic, derived from the base. -/ |
| 9 | |
| 10 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 11 | |
| 12 | universe u |
| 13 | |
| 14 | structure GeometricPoint (S : Scheme.{u}) where |
| 15 | field : Type u |
| 16 | fieldStructure : Field field |
| 17 | algebraicallyClosed : IsAlgClosed field |
| 18 | map : Spec (.of field) ⟶ S |
| 19 | |
| 20 | attribute [instance] GeometricPoint.fieldStructure GeometricPoint.algebraicallyClosed |
| 21 | |
| 22 | theorem charP_of_geometric_map (p : ℕ) (hp : p.Prime) {S : Scheme.{u}} |
| 23 | (hS : (p : Γ(S, ⊤)) = 0) (k : Type u) [Field k] (s : Spec (.of k) ⟶ S) : |
| 24 | CharP k p := by |
| 25 | apply (CharP.charP_iff_prime_eq_zero hp).mpr |
| 26 | have h := Frobenius.Construction.prime_eq_zero_of_map p hS s |
| 27 | have hk := congrArg (Scheme.ΓSpecIso (.of k)).hom h |
| 28 | simpa only [map_natCast, map_zero] using hk |
| 29 | |
| 30 | end OAI.AlgebraicGeometry.Picard.Homomorphisms.GeometricPoints.Construction |