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.Gluing |
| 2 | import Mathlib.AlgebraicGeometry.AffineScheme |
| 3 | |
| 4 | /-! # Monomorphism Local Lifts -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.MonomorphismLocalLifts.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Lifts to a monomorphism glue uniquely from an open cover. -/ |
| 11 | |
| 12 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | theorem mono_hasLift_of_openCover {S : Scheme.{u}} (M T : Over S) [Mono M.hom] |
| 17 | (U : T.left.OpenCover) |
| 18 | (h : ∀ i, Nonempty (Over.mk (U.f i ≫ T.hom) ⟶ M)) : Nonempty (T ⟶ M) := by |
| 19 | let v := fun i => Classical.choice (h i) |
| 20 | have hv : ∀ i j, pullback.fst (U.f i) (U.f j) ≫ (v i).left = |
| 21 | pullback.snd (U.f i) (U.f j) ≫ (v j).left := by |
| 22 | intro i j |
| 23 | apply (cancel_mono M.hom).mp |
| 24 | simp only [Category.assoc, (v i).w, (v j).w] |
| 25 | exact pullback.condition_assoc T.hom |
| 26 | let w := U.glueMorphisms (fun i => (v i).left) hv |
| 27 | refine ⟨Over.homMk w ?_⟩ |
| 28 | apply U.hom_ext |
| 29 | intro i |
| 30 | rw [← Category.assoc, U.ι_glueMorphisms] |
| 31 | exact (v i).w |
| 32 | |
| 33 | end |
| 34 | |
| 35 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.MonomorphismLocalLifts.Construction |