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.UnramifiedFieldPointDetection |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Smooth.FieldExtensionReflection |
| 3 | import Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure |
| 4 | |
| 5 | /-! # Unramified Geometric Point Detection -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.UnramifiedGeometricPointDetection |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Maps to a formally unramified relative scheme are detected by algebraically closed field-valued points, over arbitrary bases. -/ |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | universe u |
| 14 | |
| 15 | theorem unramified_overHom_eq_of_geometricFieldPoints {S : Scheme.{u}} {T M : Over S} |
| 16 | [LocallyOfFiniteType M.hom] [FormallyUnramified M.hom] (a b : T ⟶ M) |
| 17 | (h : ∀ (K : Type u) [Field K] [IsAlgClosed K] (s : Spec (.of K) ⟶ T.left), |
| 18 | s ≫ a.left = s ≫ b.left) : a = b := by |
| 19 | apply UnramifiedFieldPointDetection.unramified_overHom_eq_of_fieldPoints a b |
| 20 | intro K _ s |
| 21 | let φ : CommRingCat.of K ⟶ CommRingCat.of (AlgebraicClosure K) := |
| 22 | CommRingCat.ofHom (algebraMap K (AlgebraicClosure K)) |
| 23 | have : Flat (Spec.map φ) := Smooth.FieldExtensionReflection.fieldSpecMap_flat φ |
| 24 | have : Surjective (Spec.map φ) := Smooth.FieldExtensionReflection.fieldSpecMap_surjective φ |
| 25 | have : Epi (Spec.map φ) := Flat.epi_of_flat_of_surjective (Spec.map φ) |
| 26 | apply (cancel_epi (Spec.map φ)).mp |
| 27 | exact (Category.assoc _ _ _).symm.trans |
| 28 | ((h (AlgebraicClosure K) (Spec.map φ ≫ s)).trans (Category.assoc _ _ _)) |
| 29 | |
| 30 | end |
| 31 | |
| 32 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.UnramifiedGeometricPointDetection |