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.Over |
| 2 | import Mathlib.CategoryTheory.Sites.Abelian |
| 3 | import Mathlib.Algebra.Category.ModuleCat.Abelian |
| 4 | |
| 5 | /-! # Covering Objects Sheaf Detection -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.CoveringObjectsSheafDetection |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Covering families of objects detect zero module sheaves on the original site. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 14 | |
| 15 | universe u v w z |
| 16 | |
| 17 | variable {C : Type u} [Category.{v} C] (J : GrothendieckTopology C) |
| 18 | {ι : Type z} (F : ι → C) |
| 19 | |
| 20 | def sieve (U : C) : Sieve U where |
| 21 | arrows V _ := ∃ i, Nonempty (V ⟶ F i) |
| 22 | downward_closed := by |
| 23 | rintro U V α ⟨i, ⟨β⟩⟩ γ |
| 24 | exact ⟨i, ⟨γ ≫ β⟩⟩ |
| 25 | |
| 26 | variable (R : Type w) [CommRing R] (hcover : ∀ U, sieve F U ∈ J U) |
| 27 | (H : Sheaf J (ModuleCat.{w} R)) |
| 28 | (hH : ∀ i, IsZero ((J.overPullback (ModuleCat.{w} R) (F i)).obj H)) |
| 29 | |
| 30 | include hH in |
| 31 | theorem incoming_isZero {U : C} (i : ι) (α : U ⟶ F i) : IsZero (H.obj.obj (op U)) := |
| 32 | ((sheafToPresheaf (J.over (F i)) (ModuleCat.{w} R)).map_isZero (hH i)).obj (op (Over.mk α)) |
| 33 | |
| 34 | include hH hcover in |
| 35 | theorem section_isZero (U : C) : IsZero (H.obj.obj (op U)) := by |
| 36 | apply (IsZero.iff_id_eq_zero _).mpr |
| 37 | apply H.property.hom_ext ⟨sieve F U, hcover U⟩ |
| 38 | rintro ⟨V, α, i, ⟨β⟩⟩ |
| 39 | exact (incoming_isZero J F R H hH i β).eq_of_tgt _ _ |
| 40 | |
| 41 | include hH hcover in |
| 42 | theorem isZero : IsZero H := by |
| 43 | apply IsZero.of_full_of_faithful_of_isZero (sheafToPresheaf J (ModuleCat.{w} R)) H |
| 44 | apply Functor.isZero |
| 45 | intro U |
| 46 | exact section_isZero J F R hcover H hH U.unop |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.NumberTheory.PadicHodge.IntegralComparison.CoveringObjectsSheafDetection |