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 Mathlib.AlgebraicGeometry.Morphisms.QuasiFinite |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.Finite |
| 3 | import Mathlib.AlgebraicGeometry.Noetherian |
| 4 | import Mathlib.Order.WellFounded |
| 5 | |
| 6 | /-! # Finite Endomorphism -/ |
| 7 | |
| 8 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.FiniteEndomorphism.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Surjectivity of finite endomorphisms of integral Noetherian schemes. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 15 | |
| 16 | /-- Quasi-finite morphisms do not identify distinct comparable points. -/ |
| 17 | theorem eq_of_specializes_of_eq_image |
| 18 | {X Y : Scheme} (f : X ⟶ Y) [LocallyQuasiFinite f] |
| 19 | {x y : X} (hxy : x ⤳ y) (heq : f x = f y) : x = y := |
| 20 | (f.isDiscrete_preimage_singleton (f x)).eq_of_specializes hxy rfl heq.symm |
| 21 | |
| 22 | /-- A quasi-finite morphism strictly preserves the specialization order. -/ |
| 23 | theorem strictMono_of_locallyQuasiFinite |
| 24 | {X Y : Scheme} (f : X ⟶ Y) [LocallyQuasiFinite f] : StrictMono f := by |
| 25 | intro x y hxy |
| 26 | have hle : f x ≤ f y := |
| 27 | Scheme.le_iff_specializes.mpr ((Scheme.le_iff_specializes.mp hxy.le).map f.continuous) |
| 28 | apply lt_iff_le_not_ge.mpr |
| 29 | refine ⟨hle, ?_⟩ |
| 30 | intro hge |
| 31 | have heq : f x = f y := ((Scheme.le_iff_specializes.mp hge).antisymm |
| 32 | (Scheme.le_iff_specializes.mp hle)).eq |
| 33 | have hxy' : y = x := eq_of_specializes_of_eq_image f |
| 34 | (Scheme.le_iff_specializes.mp hxy.le) heq.symm |
| 35 | exact hxy.not_ge (le_of_eq hxy') |
| 36 | |
| 37 | /-- The specialization order of a Noetherian scheme has no infinite |
| 38 | strictly descending chains, since point closures are closed subsets. -/ |
| 39 | theorem wellFoundedLT_of_noetherian_scheme (X : Scheme) [NoetherianSpace X] : |
| 40 | WellFoundedLT X := by |
| 41 | let c : X ↪o Closeds X := |
| 42 | { toFun := fun x => ⟨closure {x}, isClosed_closure⟩ |
| 43 | inj' := fun x y h => by |
| 44 | have hxy : closure ({x} : Set X) = closure {y} := congrArg SetLike.coe h |
| 45 | exact ((specializes_iff_closure_subset.mpr hxy.ge).antisymm |
| 46 | (specializes_iff_closure_subset.mpr hxy.le)).eq |
| 47 | map_rel_iff' := by |
| 48 | intro x y |
| 49 | exact specializes_iff_closure_subset.symm } |
| 50 | exact c.strictMono.wellFoundedLT |
| 51 | |
| 52 | /-- A finite endomorphism of an integral Noetherian scheme is surjective. |
| 53 | Its image contains the generic point: otherwise its iterates would yield |
| 54 | an infinite descending chain in the specialization order. -/ |
| 55 | theorem surjective_finite_endomorphism_of_isIntegral |
| 56 | {X : Scheme} [IsIntegral X] [NoetherianSpace X] |
| 57 | (f : X ⟶ X) [IsFinite f] : Surjective f := by |
| 58 | have : WellFoundedLT X := wellFoundedLT_of_noetherian_scheme X |
| 59 | have hf : StrictMono f := strictMono_of_locallyQuasiFinite f |
| 60 | have hnot : ¬ f (⊤ : X) < ⊤ := by |
| 61 | intro h |
| 62 | obtain ⟨x, hx, hmin⟩ := wellFounded_lt.has_min {x : X | f x < x} ⟨⊤, h⟩ |
| 63 | exact hmin (f x) (hf hx) hx |
| 64 | have hge : (⊤ : X) ≤ f ⊤ := by |
| 65 | by_contra h |
| 66 | exact hnot (lt_iff_le_not_ge.mpr ⟨le_top, h⟩) |
| 67 | have htop : f (⊤ : X) = ⊤ := ((Scheme.le_iff_specializes.mp hge).antisymm |
| 68 | (genericPoint_specializes (f ⊤))).eq |
| 69 | have hclosed : IsClosed (Set.range f) := f.isClosedMap.isClosed_range |
| 70 | refine ⟨fun x => ?_⟩ |
| 71 | exact (genericPoint_specializes x).mem_closed hclosed ⟨⊤, htop⟩ |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.FiniteEndomorphism.Construction |