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.Bounded.RelativeSheafComplex |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.CoveringPresheafQuasiIso |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Relative.ComplexRestriction |
| 4 | |
| 5 | /-! # Covering Sheaf Quasi Iso -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Bounded.CoveringSheafQuasiIso.BoundedCoveringSheafQuasiIso |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Covering-object detection for the original bounded crystalline |
| 12 | sheafification, including its required coefficient universe lift. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction |
| 17 | universe u z v w |
| 18 | |
| 19 | section Coefficients |
| 20 | variable (B : Type u) [CommRing B] (D : Type v) [Category.{w} D] |
| 21 | |
| 22 | def coefficients : (Dᵒᵖ ⥤ ModuleCat.{u} B) ⥤ |
| 23 | (Dᵒᵖ ⥤ ModuleCat.{u + 1} (IntegralComparison.Crystalline.ExactRestriction.Coeff (B := B))) := |
| 24 | (Functor.whiskeringRight Dᵒᵖ _ _).obj |
| 25 | (IntegralComparison.Crystalline.RelativeResolution.coefficientFunctor (B := B)) |
| 26 | |
| 27 | instance coefficients_additive : (coefficients B D).Additive where |
| 28 | map_add := by intros; rfl |
| 29 | |
| 30 | instance coefficients_limits : PreservesFiniteLimits (coefficients B D) where |
| 31 | preservesFiniteLimits T _ _ := by |
| 32 | dsimp only [coefficients] |
| 33 | infer_instance |
| 34 | |
| 35 | instance coefficients_colimits : PreservesFiniteColimits (coefficients B D) where |
| 36 | preservesFiniteColimits T _ _ := by |
| 37 | dsimp only [coefficients] |
| 38 | infer_instance |
| 39 | |
| 40 | instance coefficients_homology : (coefficients B D).PreservesHomology := by infer_instance |
| 41 | |
| 42 | theorem coefficients_quasiIso {K H : CochainComplex (Dᵒᵖ ⥤ ModuleCat.{u} B) ℕ} |
| 43 | (φ : K ⟶ H) (h : QuasiIso φ) : |
| 44 | QuasiIso (((coefficients B D).mapHomologicalComplex (.up ℕ)).map φ) := |
| 45 | HomologicalComplex.quasiIso_map_of_preservesHomology φ (coefficients B D) (hφ := h) |
| 46 | |
| 47 | end Coefficients |
| 48 | |
| 49 | variable (B : Type u) [CommRing B] {C : Type (u + 1)} [Category.{u} C] |
| 50 | (J : GrothendieckTopology C) |
| 51 | {K H : CochainComplex (Cᵒᵖ ⥤ ModuleCat.{u} B) ℕ} (φ : K ⟶ H) |
| 52 | {ι : Type z} (F : ι → C) |
| 53 | |
| 54 | theorem restricted (T : C) |
| 55 | (h : QuasiIso (((IntegralComparison.Relative.ComplexRestriction.restriction (B := B) |
| 56 | (Over.forget T)).mapHomologicalComplex (.up ℕ)).map φ)) : |
| 57 | QuasiIso ((((Functor.whiskeringLeft _ _ (ModuleCat.{u + 1} (IntegralComparison.Crystalline.ExactRestriction.Coeff (B := B)))).obj |
| 58 | (Over.forget T).op).mapHomologicalComplex (.up ℕ)).map |
| 59 | (((coefficients B C).mapHomologicalComplex (.up ℕ)).map φ)) := |
| 60 | coefficients_quasiIso B (Over T) |
| 61 | (((IntegralComparison.Relative.ComplexRestriction.restriction (B := B) |
| 62 | (Over.forget T)).mapHomologicalComplex (.up ℕ)).map φ) h |
| 63 | |
| 64 | theorem quasiIso |
| 65 | (hcover : ∀ T, IntegralComparison.CoveringObjectsSheafDetection.sieve F T ∈ J T) |
| 66 | (hlocal : ∀ i, QuasiIso (((IntegralComparison.Relative.ComplexRestriction.restriction (B := B) |
| 67 | (Over.forget (F i))).mapHomologicalComplex (.up ℕ)).map φ)) : |
| 68 | QuasiIso (((coefficients B C ⋙ presheafToSheaf J (ModuleCat.{u + 1} (IntegralComparison.Crystalline.ExactRestriction.Coeff (B := B)))).mapHomologicalComplex (.up ℕ)).map φ) := |
| 69 | IntegralComparison.CoveringPresheafQuasiIso.quasiIso.{u + 1, u, z} J (IntegralComparison.Crystalline.ExactRestriction.Coeff (B := B)) |
| 70 | (((coefficients B C).mapHomologicalComplex (.up ℕ)).map φ) F hcover |
| 71 | (fun i => restricted B φ (F i) (hlocal i)) |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Bounded.CoveringSheafQuasiIso.BoundedCoveringSheafQuasiIso |