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.CategoryTheory.Sites.Subcanonical |
| 2 | import Mathlib.CategoryTheory.Sites.Subsheaf |
| 3 | import Mathlib.CategoryTheory.Subfunctor.Image |
| 4 | |
| 5 | /-! # Monomorphism Sheaf Lifts -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.MonomorphismSheafLifts.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! For a subcanonical topology, local factorizations through a |
| 12 | monomorphism glue to a unique global factorization. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory Opposite |
| 15 | |
| 16 | universe u v |
| 17 | |
| 18 | theorem mono_hasLift_of_coveringSieve {C : Type u} [Category.{v} C] |
| 19 | (J : GrothendieckTopology C) [J.Subcanonical] {M T W : C} |
| 20 | (m : M ⟶ T) [Mono m] (g : W ⟶ T) (R : Sieve W) (hR : R ∈ J W) |
| 21 | (h : ∀ (U : C) (f : U ⟶ W), R f → ∃ v : U ⟶ M, v ≫ m = f ≫ g) : |
| 22 | ∃ v : W ⟶ M, v ≫ m = g := by |
| 23 | let G := Subfunctor.range (yoneda.map m) |
| 24 | have hT := GrothendieckTopology.Subcanonical.isSheaf_of_isRepresentable (J := J) (yoneda.obj T) |
| 25 | have hM := GrothendieckTopology.Subcanonical.isSheaf_of_isRepresentable (J := J) (yoneda.obj M) |
| 26 | have hG : Presieve.IsSheaf J G.toFunctor := |
| 27 | Presieve.isSheaf_iso J (asIso (Subfunctor.toRange (yoneda.map m))) hM |
| 28 | have hc : G.sieveOfSection g ∈ J W := by |
| 29 | apply J.superset_covering _ hR |
| 30 | intro U f hf |
| 31 | obtain ⟨v, hv⟩ := h U f hf |
| 32 | exact ⟨v, hv⟩ |
| 33 | exact (G.isSheaf_iff hT).mp hG (op W) g hc |
| 34 | |
| 35 | end |
| 36 | |
| 37 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.MonomorphismSheafLifts.Construction |