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.PELModuli.CMPoints.FiniteFlatRetract |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.IntrinsicRetracts |
| 3 | |
| 4 | /-! # Finite Flat Cover Retract -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.FiniteFlatCoverRetract.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Retraction over the target preserves a finite flat surjective cover. |
| 11 | The cover is an actual scheme over that target; no relative group structure is required. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {S : Scheme.{u}} {G B : Over S} |
| 18 | |
| 19 | theorem over_retract_surjective [Surjective G.hom] |
| 20 | (r : G ⟶ B) : Surjective B.hom := by |
| 21 | constructor |
| 22 | intro s |
| 23 | obtain ⟨g, hg⟩ := (inferInstance : Surjective G.hom).surj s |
| 24 | refine ⟨r.left g, ?_⟩ |
| 25 | exact (congrArg (fun f : G.left ⟶ S => f g) r.w).trans hg |
| 26 | |
| 27 | theorem finite_flat_cover_of_over_retract |
| 28 | [IsFinite G.hom] [Flat G.hom] [LocallyOfFinitePresentation G.hom] [Surjective G.hom] |
| 29 | (i : B ⟶ G) (r : G ⟶ B) (h : i ≫ r = 𝟙 B) : |
| 30 | IsFinite B.hom ∧ Flat B.hom ∧ LocallyOfFinitePresentation B.hom ∧ Surjective B.hom := by |
| 31 | have : IsFinite B.hom := CartierDuality.IntrinsicRetracts.Construction.Schemes.finite_of_over_retract i r h |
| 32 | obtain ⟨hf, hp⟩ := PELModuli.CMPoints.FiniteFlatRetract.finite_flat_scheme_retract_general G B i r h |
| 33 | exact ⟨inferInstance, hf, hp, over_retract_surjective r⟩ |
| 34 | |
| 35 | theorem finite_flat_cover_of_open_closed_restriction |
| 36 | {X Y Z : Scheme.{u}} (i : X ⟶ Y) (f : Y ⟶ Z) |
| 37 | [IsOpenImmersion i] [IsClosedImmersion i] [IsFinite f] [Flat f] |
| 38 | [LocallyOfFinitePresentation f] [Nonempty X] [Subsingleton Z] : |
| 39 | IsFinite (i ≫ f) ∧ Flat (i ≫ f) ∧ LocallyOfFinitePresentation (i ≫ f) ∧ |
| 40 | Surjective (i ≫ f) := by |
| 41 | refine ⟨inferInstance, inferInstance, inferInstance, ?_⟩ |
| 42 | constructor |
| 43 | intro z |
| 44 | exact ⟨Classical.choice (inferInstance : Nonempty X), Subsingleton.elim _ _⟩ |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.FiniteFlatCoverRetract.Construction |