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.GenericPointCount |
| 2 | import Mathlib.AlgebraicGeometry.AlgClosed.Basic |
| 3 | |
| 4 | /-! # Closed Geometric Point -/ |
| 5 | |
| 6 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.ClosedGeometricPoint.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! At a closed point over an algebraically closed field, geometric points |
| 11 | and rational points give the same fiber count. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | def geometricPointClosedIso |
| 18 | {K : Type u} [Field K] [IsAlgClosed K] {X : Scheme.{u}} |
| 19 | (f : X ⟶ Spec (.of K)) [LocallyOfFiniteType f] |
| 20 | (x : X) (hx : IsClosed {x}) : |
| 21 | DefinitionsTorsion.geometricPoint X x ≅ Over.mk (pointOfClosedPoint f x hx) := by |
| 22 | let e := residueFieldIsoBase f x hx |
| 23 | have : IsAlgClosed (X.residueField x) := |
| 24 | IsAlgClosed.of_ringEquiv K (X.residueField x) e.commRingCatIsoToRingEquiv.symm |
| 25 | let j : X.residueField x ⟶ .of (AlgebraicClosure (X.residueField x)) := |
| 26 | CommRingCat.ofHom (algebraMap (X.residueField x) (AlgebraicClosure (X.residueField x))) |
| 27 | have : IsIso j := (ConcreteCategory.isIso_iff_bijective j).mpr |
| 28 | (IsAlgClosed.algebraMap_bijective_of_isIntegral |
| 29 | (k := X.residueField x) (K := AlgebraicClosure (X.residueField x))) |
| 30 | let α := Scheme.Spec.mapIso (asIso j).op ≪≫ (Scheme.Spec.mapIso e.op).symm |
| 31 | refine Over.isoMk α ?_ |
| 32 | change (Spec.map j ≫ Spec.map e.inv) ≫ |
| 33 | (Spec.map e.hom ≫ X.fromSpecResidueField x) = |
| 34 | Spec.map j ≫ X.fromSpecResidueField x |
| 35 | rw [Category.assoc, ← Category.assoc (Spec.map e.inv), ← Spec.map_comp, |
| 36 | e.hom_inv_id, Spec.map_id, Category.id_comp] |
| 37 | |
| 38 | theorem geometricPointCard_closed |
| 39 | {K : Type u} [Field K] [IsAlgClosed K] {X : Scheme.{u}} |
| 40 | (f : X ⟶ Spec (.of K)) [LocallyOfFiniteType f] |
| 41 | (T : Over X) (x : X) (hx : IsClosed {x}) : |
| 42 | Nat.card (DefinitionsTorsion.geometricPoint X x ⟶ T) = |
| 43 | Nat.card (Over.mk (pointOfClosedPoint f x hx) ⟶ T) := |
| 44 | Nat.card_congr (Iso.homCongr (geometricPointClosedIso f x hx) (Iso.refl T)) |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.ClosedGeometricPoint.Construction |