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.GeometricTorsionPoints |
| 2 | |
| 3 | /-! # Finite Rational Points -/ |
| 4 | |
| 5 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.FiniteRationalPoints.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Finite rational point sets and finite schemes over algebraically closed fields. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | def rationalPointsClosedEquiv |
| 16 | {K : Type u} [Field K] [IsAlgClosed K] |
| 17 | (T : Over (Spec (.of K))) [LocallyOfFiniteType T.hom] : |
| 18 | (Over.mk (𝟙 (Spec (.of K))) ⟶ T) ≃ closedPoints T.left := by |
| 19 | let e : (Over.mk (𝟙 (Spec (.of K))) ⟶ T) ≃ |
| 20 | {f : Spec (.of K) ⟶ T.left // f ≫ T.hom = 𝟙 _} := |
| 21 | { toFun := fun f => ⟨f.left, f.w⟩ |
| 22 | invFun := fun f => Over.homMk f.val f.property |
| 23 | left_inv := fun f => by apply Over.OverMorphism.ext; rfl |
| 24 | right_inv := fun f => rfl } |
| 25 | exact e.trans (pointEquivClosedPoint T.hom) |
| 26 | |
| 27 | /-- Finitely many rational points force a finite underlying space over an |
| 28 | algebraically closed field for a locally finite-type scheme. -/ |
| 29 | theorem finite_scheme_of_finite_rationalPoints |
| 30 | {K : Type u} [Field K] [IsAlgClosed K] |
| 31 | (T : Over (Spec (.of K))) [LocallyOfFiniteType T.hom] |
| 32 | [Finite (Over.mk (𝟙 (Spec (.of K))) ⟶ T)] : Finite T.left := by |
| 33 | have : Finite (closedPoints T.left) := Finite.of_equiv _ (rationalPointsClosedEquiv T) |
| 34 | have : JacobsonSpace T.left := LocallyOfFiniteType.jacobsonSpace T.hom |
| 35 | have hfin : (closedPoints T.left).Finite := Set.toFinite _ |
| 36 | have : DiscreteTopology T.left := JacobsonSpace.discreteTopology hfin |
| 37 | apply Set.finite_univ_iff.mp |
| 38 | simpa only [closedPoints_eq_univ] using hfin |
| 39 | |
| 40 | /-- Properness upgrades a finite rational point set to a finite structural morphism. -/ |
| 41 | theorem isFinite_of_proper_of_finite_rationalPoints |
| 42 | {K : Type u} [Field K] [IsAlgClosed K] |
| 43 | (T : Over (Spec (.of K))) [IsProper T.hom] |
| 44 | [Finite (Over.mk (𝟙 (Spec (.of K))) ⟶ T)] : IsFinite T.hom := by |
| 45 | have : Finite T.left := finite_scheme_of_finite_rationalPoints T |
| 46 | have : LocallyQuasiFinite T.hom := |
| 47 | LocallyQuasiFinite.of_finite_preimage_singleton T.hom (fun _ => Set.toFinite _) |
| 48 | exact (IsFinite.iff_isProper_and_locallyQuasiFinite T.hom).mpr ⟨inferInstance, inferInstance⟩ |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.FiniteRationalPoints.Construction |