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.Properties |
| 2 | import Mathlib.Topology.Sets.OpenCover |
| 3 | |
| 4 | /-! # Open Cover -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Integral.OpenCover.BundleCycles |
| 7 | |
| 8 | /-! An open cover by integral schemes with a common point has an |
| 9 | integral ambient scheme. -/ |
| 10 | |
| 11 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 12 | |
| 13 | theorem isIntegral_of_openCover_commonPoint {X : Scheme.{0}} (C : X.OpenCover) |
| 14 | (hI : ∀ i, IsIntegral (C.X i)) (x : X) (hx : ∀ i, x ∈ Set.range (C.f i)) : IsIntegral X := by |
| 15 | have hred (i : C.I₀) : IsReduced (C.X i) := by |
| 16 | let := hI i |
| 17 | infer_instance |
| 18 | let : IsReduced X := @IsReduced.of_openCover X C hred |
| 19 | have hpre (i : C.I₀) : PreirreducibleSpace (C.f i).opensRange := by |
| 20 | let := hI i |
| 21 | let e := (C.f i).isOpenEmbedding.isEmbedding.toHomeomorph |
| 22 | exact e.surjective.preirreducibleSpace e.continuous |
| 23 | have hn : Pairwise (fun i j => ¬ Disjoint (C.f i).opensRange (C.f j).opensRange) := by |
| 24 | intro i j _ h |
| 25 | exact (show x ∈ (⊥ : X.Opens) from h.le_bot ⟨hx i, hx j⟩) |
| 26 | let : PreirreducibleSpace X := PreirreducibleSpace.of_isOpenCover hn C.isOpenCover_opensRange hpre |
| 27 | let : Nonempty X := ⟨x⟩ |
| 28 | let : IrreducibleSpace X := ⟨⟨x⟩⟩ |
| 29 | exact isIntegral_of_irreducibleSpace_of_isReduced X |
| 30 | |
| 31 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Integral.OpenCover.BundleCycles |