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.FormalGeometry.Completion.Finite.ConstantScheme |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.EtaleSectionIso |
| 3 | |
| 4 | /-! # Connected Constant Cover -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.ConnectedConstantCover.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A connected nonempty finite etale subcover of a constant cover has degree one. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | set_option backward.defeqAttrib.useBackward true |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | /-- A map from a connected nonempty scheme into a constant scheme lies in one copy of the base. -/ |
| 20 | theorem connected_constantScheme_map_factor {S T : Scheme.{u}} [PreconnectedSpace T] [Nonempty T] |
| 21 | (I : Type u) (f : T ⟶ S) (a : Over.mk f ⟶ AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme S I) : |
| 22 | ∃ i : I, a.left = f ≫ Sigma.ι (fun _ : I => S) i := by |
| 23 | have : PreconnectedSpace (Over.mk f).left := inferInstanceAs (PreconnectedSpace T) |
| 24 | let x : T := Nonempty.some inferInstance |
| 25 | let c := AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantSchemePoint (Over.mk f) a |
| 26 | let i := c x |
| 27 | let b : Over.mk f ⟶ AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme S I := Over.homMk (f ≫ Sigma.ι (fun _ : I => S) i) (by simp) |
| 28 | have hc : AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantSchemePoint (Over.mk f) b = LocallyConstant.const T i := by |
| 29 | ext y |
| 30 | exact AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantSchemeIndex_ι i (f y) |
| 31 | have hab : a = b := (AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantSchemePointsEquiv S I (Over.mk f)).injective |
| 32 | ((c.eq_const x).trans hc.symm) |
| 33 | exact ⟨i, congrArg (fun z : Over.mk f ⟶ AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme S I => z.left) hab⟩ |
| 34 | |
| 35 | /-- A monomorphic finite etale map with nonempty source onto a connected base is an isomorphism. -/ |
| 36 | theorem finite_etale_mono_isIso_of_nonempty {X Y : Scheme.{u}} |
| 37 | [PreconnectedSpace Y] [IsReduced Y] [Nonempty X] |
| 38 | (f : X ⟶ Y) [IsFinite f] [Etale f] [Mono f] : IsIso f := by |
| 39 | have : IsClosedImmersion f := (IsClosedImmersion.iff_isFinite_and_mono f).mpr ⟨inferInstance, inferInstance⟩ |
| 40 | have hcl : IsClopen (Set.range f) := ⟨f.isClosedEmbedding.isClosed_range, f.isOpenMap.isOpen_range⟩ |
| 41 | have hr : Set.range f = Set.univ := hcl.eq_univ (Set.range_nonempty f) |
| 42 | have : Surjective f := ⟨Set.range_eq_univ.mp hr⟩ |
| 43 | exact isIso_of_isClosedImmersion_of_surjective f |
| 44 | |
| 45 | /-- A connected nonempty finite etale cover admitting a monomorphism into a constant cover is trivial. -/ |
| 46 | theorem connected_finiteEtale_subconstant_isIso {S T : Scheme.{u}} |
| 47 | [PreconnectedSpace S] [IsReduced S] [PreconnectedSpace T] [Nonempty T] |
| 48 | (I : Type u) (f : T ⟶ S) [IsFinite f] [Etale f] |
| 49 | (a : Over.mk f ⟶ AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme S I) [Mono a.left] : IsIso f := by |
| 50 | obtain ⟨i, hi⟩ := connected_constantScheme_map_factor I f a |
| 51 | have : Mono (f ≫ Sigma.ι (fun _ : I => S) i) := hi ▸ inferInstance |
| 52 | have : Mono f := mono_of_mono f (Sigma.ι (fun _ : I => S) i) |
| 53 | exact finite_etale_mono_isIso_of_nonempty f |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.ConnectedConstantCover.Construction |