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.PointDistinct |
| 2 | |
| 3 | /-! # Geometric Point Image -/ |
| 4 | |
| 5 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.GeometricPointImage.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Geometric points and the image of a morphism in the Openness argument. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 12 | |
| 13 | /-- A locally finite-type scheme has a geometric point over `s` exactly |
| 14 | when `s` is in its underlying image. -/ |
| 15 | theorem nonempty_geometricPoints_iff_mem_range |
| 16 | {S : Scheme} (A : Over S) [LocallyOfFiniteType A.hom] (s : S) : |
| 17 | Nonempty (DefinitionsTorsion.geometricPoint S s ⟶ A) ↔ s ∈ Set.range A.hom := by |
| 18 | let t : (DefinitionsTorsion.geometricPoint S s).left := |
| 19 | IsLocalRing.closedPoint (AlgebraicClosure (S.residueField s)) |
| 20 | constructor |
| 21 | · rintro ⟨h⟩ |
| 22 | refine ⟨h.left t, ?_⟩ |
| 23 | change (h.left ≫ A.hom) t = s |
| 24 | rw [h.w] |
| 25 | exact S.fromSpecResidueField_apply s _ |
| 26 | · rintro ⟨x, hx⟩ |
| 27 | have hxt : A.hom x = (DefinitionsTorsion.geometricPoint S s).hom t := |
| 28 | hx.trans (S.fromSpecResidueField_apply s _).symm |
| 29 | obtain ⟨z, _, _⟩ := Scheme.Pullback.exists_preimage_pullback x t hxt |
| 30 | have : Nonempty (DefinitionsTorsion.Construction.geometricFiberScheme A s) := ⟨z⟩ |
| 31 | have : JacobsonSpace (DefinitionsTorsion.geometricPoint S s).left := by |
| 32 | change JacobsonSpace (Spec (.of (AlgebraicClosure (S.residueField s)))) |
| 33 | infer_instance |
| 34 | have : JacobsonSpace (DefinitionsTorsion.Construction.geometricFiberScheme A s) := |
| 35 | LocallyOfFiniteType.jacobsonSpace (DefinitionsTorsion.Construction.geometricFiberMap A s) |
| 36 | obtain ⟨c, _, hc⟩ := nonempty_inter_closedPoints |
| 37 | (X := DefinitionsTorsion.Construction.geometricFiberScheme A s) Set.univ_nonempty isOpen_univ.isLocallyClosed |
| 38 | exact ⟨(DefinitionsTorsion.Construction.geometricClosedPointEquiv A s).symm ⟨c, hc⟩⟩ |
| 39 | |
| 40 | /-- For an open, locally finite-type family, existence of a geometric |
| 41 | point is an open condition on the base. -/ |
| 42 | theorem isOpen_nonempty_geometricPoints |
| 43 | {S : Scheme} (A : Over S) [LocallyOfFiniteType A.hom] [UniversallyOpen A.hom] : |
| 44 | IsOpen {s : S | Nonempty (DefinitionsTorsion.geometricPoint S s ⟶ A)} := by |
| 45 | have heq : {s : S | Nonempty (DefinitionsTorsion.geometricPoint S s ⟶ A)} = Set.range A.hom := by |
| 46 | ext s |
| 47 | exact nonempty_geometricPoints_iff_mem_range A s |
| 48 | rw [heq] |
| 49 | exact A.hom.isOpenMap.isOpen_range |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.GeometricPointImage.Construction |