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.Quotients.FiniteDescent.PowerOrbitEq |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.QuasiFinite |
| 3 | |
| 4 | /-! # Geometric Points Of -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.GeometricPointsOf.Construction.GeometricPoints |
| 7 | |
| 8 | /-! A finite set of geometric points detects quasi-finiteness. -/ |
| 9 | |
| 10 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 11 | |
| 12 | universe u |
| 13 | |
| 14 | theorem finite_space_of_finite_rational_points {K : Type u} [Field K] [IsAlgClosed K] |
| 15 | (X : Over (Spec (.of K))) [LocallyOfFiniteType X.hom] |
| 16 | [Finite {p : Spec (.of K) ⟶ X.left // p ≫ X.hom = 𝟙 _}] : Finite X.left := by |
| 17 | have : Finite (closedPoints X.left) := Finite.of_equiv _ (pointEquivClosedPoint X.hom) |
| 18 | have : JacobsonSpace X.left := LocallyOfFiniteType.jacobsonSpace X.hom |
| 19 | have hf : (closedPoints X.left).Finite := Set.toFinite _ |
| 20 | have : DiscreteTopology X.left := JacobsonSpace.discreteTopology hf |
| 21 | have hu : (Set.univ : Set X.left).Finite := by |
| 22 | simpa only [closedPoints_eq_univ] using hf |
| 23 | exact Set.finite_univ_iff.mp hu |
| 24 | |
| 25 | theorem locallyQuasiFinite_of_finite_geometric_points {X Y : Scheme.{u}} |
| 26 | (f : X ⟶ Y) [LocallyOfFiniteType f] |
| 27 | (h : ∀ (K : Type u) [Field K] [IsAlgClosed K] (a : Spec (.of K) ⟶ Y), |
| 28 | Finite (Over.mk a ⟶ Over.mk f)) : LocallyQuasiFinite f := by |
| 29 | apply LocallyQuasiFinite.of_finite_preimage_singleton |
| 30 | intro y |
| 31 | let K := AlgebraicClosure (Y.residueField y) |
| 32 | let a : Spec (.of K) ⟶ Y := Spec.map (CommRingCat.ofHom |
| 33 | (algebraMap (Y.residueField y) K)) ≫ Y.fromSpecResidueField y |
| 34 | have : Finite (Over.mk a ⟶ Over.mk f) := h K a |
| 35 | let P : Over (Spec (.of K)) := Over.mk (pullback.snd f a) |
| 36 | have : LocallyOfFiniteType P.hom := by dsimp [P]; infer_instance |
| 37 | have : Finite {p : Spec (.of K) ⟶ P.left // p ≫ P.hom = 𝟙 _} := |
| 38 | Finite.of_equiv _ (PowerOrbitEq.Construction.PowerOrbit.fieldPointPullbackEquiv (Over.mk f) a) |
| 39 | have : Finite P.left := finite_space_of_finite_rational_points P |
| 40 | have : Finite (pullback f a : Scheme.{u}) := inferInstanceAs (Finite P.left) |
| 41 | have ha : Set.range a = {y} := by |
| 42 | ext z |
| 43 | constructor |
| 44 | · rintro ⟨x, rfl⟩ |
| 45 | exact Y.fromSpecResidueField_apply y _ |
| 46 | · intro hz |
| 47 | change z = y at hz |
| 48 | subst z |
| 49 | exact ⟨IsLocalRing.closedPoint K, Y.fromSpecResidueField_apply y _⟩ |
| 50 | have hr := Set.finite_range (pullback.fst f a) |
| 51 | rwa [Scheme.Pullback.range_fst, ha] at hr |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.GeometricPointsOf.Construction.GeometricPoints |