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.NumberTheory.PadicHodge.IntegralComparison.Independent.BasisSheafification |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Independent.LocalizingBasis |
| 3 | |
| 4 | /-! # Basis Sheafification Unit -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.BasisSheafificationUnit |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The canonical sheafification unit is an isomorphism wherever a basis comparison is. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.TopologicalSpace Opposite |
| 13 | |
| 14 | section |
| 15 | |
| 16 | universe u v w z |
| 17 | |
| 18 | variable {C : Type u} [Category.{v} C] {X : TopCat.{w}} {ι : Type z} |
| 19 | (B : ι → Opens X) (hB : Opens.IsBasis (Set.range B)) |
| 20 | (P : X.Presheaf C) (F : TopCat.Sheaf C X) |
| 21 | (e : (inducedFunctor B).op ⋙ P ≅ (inducedFunctor B).op ⋙ F.obj) |
| 22 | [HasWeakSheafify (Opens.grothendieckTopology X) C] |
| 23 | |
| 24 | theorem component (i : ι) : |
| 25 | (toSheafify (Opens.grothendieckTopology X) P).app (op (B i)) ≫ |
| 26 | (Independent.BasisSheafification.iso B hB P F e).hom.hom.app (op (B i)) = e.hom.app (op i) := by |
| 27 | change (toSheafify (Opens.grothendieckTopology X) P ≫ |
| 28 | sheafifyLift (Opens.grothendieckTopology X) (Independent.BasisSheafification.toSheaf B hB P F e) |
| 29 | F.property).app (op (B i)) = _ |
| 30 | rw [toSheafify_sheafifyLift] |
| 31 | exact Independent.BasisSheafification.toSheaf_app B hB P F e i |
| 32 | |
| 33 | include hB e in |
| 34 | theorem isIso (i : ι) : IsIso ((toSheafify (Opens.grothendieckTopology X) P).app (op (B i))) := by |
| 35 | let a := (Independent.BasisSheafification.iso B hB P F e).hom.hom.app (op (B i)) |
| 36 | have : IsIso a := (((sheafToPresheaf (Opens.grothendieckTopology X) C).mapIso |
| 37 | (Independent.BasisSheafification.iso B hB P F e)).app (op (B i))).isIso_hom |
| 38 | have : IsIso ((toSheafify (Opens.grothendieckTopology X) P).app (op (B i)) ≫ a) := by |
| 39 | rw [show _ ≫ a = e.hom.app (op i) from component B hB P F e i] |
| 40 | infer_instance |
| 41 | exact IsIso.of_isIso_comp_right _ a |
| 42 | |
| 43 | end |
| 44 | |
| 45 | namespace Localizing |
| 46 | |
| 47 | open _root_.AlgebraicGeometry |
| 48 | |
| 49 | universe u |
| 50 | |
| 51 | variable (A : CommRingCat.{u}) (P : (Spec A).Opensᵒᵖ ⥤ ModuleCat.{u} A) |
| 52 | (hP : ∀ a : A, IsLocalizedModule (Submonoid.powers a) |
| 53 | (P.map (PrimeSpectrum.basicOpen a).leTop.op).hom) |
| 54 | |
| 55 | include hP in |
| 56 | theorem principal (a : A) : |
| 57 | IsIso ((toSheafify (Opens.grothendieckTopology (Spec A)) P).app (op (PrimeSpectrum.basicOpen a))) := |
| 58 | isIso (fun a : A => (PrimeSpectrum.basicOpen a : (Spec A).Opens)) |
| 59 | PrimeSpectrum.isBasis_basic_opens P (Independent.LocalizingBasis.associatedSheaf A P) |
| 60 | (Independent.LocalizingBasis.iso A P hP) a |
| 61 | |
| 62 | include hP in |
| 63 | theorem top : IsIso ((toSheafify (Opens.grothendieckTopology (Spec A)) P).app (op ⊤)) := by |
| 64 | have h := principal A P hP 1 |
| 65 | have hopen : (PrimeSpectrum.basicOpen (1 : A) : (Spec A).Opens) = ⊤ := PrimeSpectrum.basicOpen_one |
| 66 | rwa [hopen] at h |
| 67 | |
| 68 | end Localizing |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.NumberTheory.PadicHodge.IntegralComparison.BasisSheafificationUnit |