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.DominantOpenGroupPoints |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.IsIso |
| 3 | |
| 4 | /-! # Dominant Open Group Iso -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.DominantOpenGroupIso |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A dominant open immersion of finite-type algebraic groups is an |
| 11 | isomorphism: its closed complement would have a missing rational point. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | |
| 15 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.MonoidalCategory |
| 16 | |
| 17 | namespace Construction |
| 18 | |
| 19 | universe u |
| 20 | variable {K : Type u} [Field K] [IsAlgClosed K] |
| 21 | {A B : Over (Spec (CommRingCat.of K))} [GrpObj A] [GrpObj B] |
| 22 | [LocallyOfFiniteType B.hom] |
| 23 | (f : A ⟶ B) [IsMonHom f] [IsOpenImmersion f.left] [IsDominant f.left] |
| 24 | |
| 25 | theorem dominantOpen_groupHom_surjective : Surjective f.left := by |
| 26 | have : JacobsonSpace B.left := LocallyOfFiniteType.jacobsonSpace B.hom |
| 27 | constructor |
| 28 | intro y |
| 29 | by_contra hy |
| 30 | have hnonempty : (Set.range f.left)ᶜ.Nonempty := ⟨y, hy⟩ |
| 31 | obtain ⟨w, hw, hwc⟩ := nonempty_inter_closedPoints hnonempty |
| 32 | f.left.isOpenEmbedding.isOpen_range.isClosed_compl.isLocallyClosed |
| 33 | let b : 𝟙_ (Over (Spec (CommRingCat.of K))) ⟶ B := |
| 34 | Over.homMk (pointOfClosedPoint B.hom w hwc) (pointOfClosedPoint_comp B.hom w hwc) |
| 35 | obtain ⟨a, ha⟩ := DominantOpenGroupPoints.Construction.dominantOpen_groupHom_point_surjective f b |
| 36 | apply hw |
| 37 | refine ⟨a.left (IsLocalRing.closedPoint K), ?_⟩ |
| 38 | have h := congrArg (fun z : 𝟙_ (Over (Spec (CommRingCat.of K))) ⟶ B => |
| 39 | z.left (IsLocalRing.closedPoint K)) ha |
| 40 | exact h.trans (pointOfClosedPoint_apply B.hom w hwc _) |
| 41 | |
| 42 | theorem dominantOpen_groupHom_isIso : IsIso f.left := by |
| 43 | have := dominantOpen_groupHom_surjective f |
| 44 | exact (isIso_iff_isOpenImmersion_and_surjective f.left).mpr ⟨inferInstance, inferInstance⟩ |
| 45 | |
| 46 | end Construction |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.DominantOpenGroupIso |