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.AbelianModuli.HilbertConstruction.Ample.FiniteFlatCoverDescent |
| 2 | |
| 3 | /-! # Affine Open Cover -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Over an affine base, ampleness on a proper scheme can be checked after an arbitrary affine open cover of the base. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u v |
| 14 | |
| 15 | theorem Line.Bundles.LineBundle.isAmple_of_affine_open_cover |
| 16 | {S X : Scheme.{u}} [IsAffine S] (p : X ⟶ S) [IsProper p] |
| 17 | (C : Scheme.OpenCover.{v} S) [∀ i, IsAffine (C.X i)] |
| 18 | (L : Line.Bundles.LineBundle X) (hL : ∀ i, (L.pullback (pullback.fst p (C.f i))).IsAmple) : L.IsAmple := by |
| 19 | let D := C.finiteSubcover |
| 20 | let : Fintype D.I₀ := Fintype.ofFinite D.I₀ |
| 21 | have : Small.{u} D.I₀ := small_map (Fintype.equivFin D.I₀) |
| 22 | have (i : D.I₀) : IsAffine (D.X i) := by |
| 23 | change IsAffine (C.X _) |
| 24 | infer_instance |
| 25 | apply L.isAmple_of_finite_affine_flat_cover D.X p D.f |
| 26 | · intro s |
| 27 | obtain ⟨x, hx⟩ := D.covers s |
| 28 | exact ⟨D.idx s, x, hx⟩ |
| 29 | · intro i |
| 30 | exact hL _ |
| 31 | |
| 32 | end |
| 33 | |
| 34 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |