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 |
| 2 | |
| 3 | /-! # Terminal Module Projective -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TerminalModuleProjective |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Constant free module sheaves are projective at a terminal object whose covering sieves are maximal. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 12 | |
| 13 | universe u v w |
| 14 | |
| 15 | variable {C : Type u} [Category.{v} C] (J : GrothendieckTopology C) |
| 16 | variable (R : Type w) [CommRing R] |
| 17 | [HasSheafify J (ModuleCat.{w} R)] |
| 18 | [J.HasSheafCompose (forget (ModuleCat.{w} R))] |
| 19 | [J.WEqualsLocallyBijective (ModuleCat.{w} R)] |
| 20 | variable {T : C} (hT : ∀ S : Sieve T, S ∈ J T → S = ⊤) |
| 21 | |
| 22 | include hT in |
| 23 | theorem epi_surjective {F G : Sheaf J (ModuleCat.{w} R)} (f : F ⟶ G) [Epi f] : |
| 24 | Function.Surjective (f.hom.app (op T)) := by |
| 25 | have : Sheaf.IsLocallySurjective f := |
| 26 | (Sheaf.isLocallySurjective_iff_epi' (ModuleCat.{w} R) f).mpr inferInstance |
| 27 | intro x |
| 28 | have h := hT _ (Presheaf.imageSieve_mem J f.hom x) |
| 29 | have hx := Sieve.id_mem_iff_eq_top.mpr h |
| 30 | simpa [Presheaf.imageSieve] using hx |
| 31 | |
| 32 | include hT in |
| 33 | theorem projective (hterminal : IsTerminal T) : |
| 34 | Projective ((constantSheaf J (ModuleCat.{w} R)).obj (ModuleCat.of R R)) := by |
| 35 | have : ((sheafSections J (ModuleCat.{w} R)).obj (op T)).PreservesEpimorphisms := |
| 36 | ⟨fun f _ => ConcreteCategory.epi_of_surjective _ (epi_surjective J R hT f)⟩ |
| 37 | exact (constantSheafAdj J (ModuleCat.{w} R) hterminal).map_projective _ inferInstance |
| 38 | |
| 39 | end |
| 40 | |
| 41 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TerminalModuleProjective |