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.CycleClass.Thom.DVRFormalSmooth |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.FieldBaseStalk |
| 3 | import Mathlib.AlgebraicGeometry.Morphisms.Smooth |
| 4 | |
| 5 | /-! # DVR Stalk Smooth -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.DVRStalkSmooth.Constructions |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Smoothness at an actual scheme point whose local ring is a discrete |
| 12 | valuation ring, over a characteristic-zero base field. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.CycleClass.Thom.FieldBaseStalk.Constructions |
| 17 | |
| 18 | theorem mem_smoothLocus_of_stalk_dvr {k : Type} [Field k] [CharZero k] |
| 19 | {X : Scheme} (f : X ⟶ Spec (.of k)) [LocallyOfFiniteType f] |
| 20 | (x : X) [IsDomain (X.presheaf.stalk x)] |
| 21 | [IsDiscreteValuationRing (X.presheaf.stalk x)] : x ∈ f.smoothLocus := by |
| 22 | let B := (Spec (.of k)).presheaf.stalk (f x) |
| 23 | let b := (Spec (.of k)).presheaf.germ ⊤ (f x) (by trivial) |
| 24 | let : IsIso b := FieldBaseStalk.Constructions.fieldBase_germ_isIso k (f x) |
| 25 | let e : CommRingCat.of k ≅ B := (Scheme.ΓSpecIso (.of k)).symm ≪≫ asIso b |
| 26 | let : Field B := |
| 27 | (MulEquiv.isField (Field.toIsField k) e.commRingCatIsoToRingEquiv.symm.toMulEquiv).toField |
| 28 | let : CharZero B := charZero_of_injective_ringHom e.hom.hom.injective |
| 29 | let : Algebra B (X.presheaf.stalk x) := (f.stalkMap x).hom.toAlgebra |
| 30 | let : Algebra.EssFiniteType B (X.presheaf.stalk x) := LocallyOfFiniteType.stalkMap f x |
| 31 | exact DVRFormalSmooth.Constructions.formallySmooth B (X.presheaf.stalk x) |
| 32 | |
| 33 | end |
| 34 | |
| 35 | end OAI.AlgebraicGeometry.CycleClass.Thom.DVRStalkSmooth.Constructions |