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.GeometricComparison.Module.PushforwardInjective |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.AugmentedComplexQuasiIso |
| 3 | import Mathlib.CategoryTheory.Abelian.Injective.Resolution |
| 4 | |
| 5 | /-! # Pushforward Resolution -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Crystalline.Cohomology.Module.PushforwardResolution.ModulePushforwardResolution |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Local section exactness constructs the actual pushed injective resolution of a module sheaf. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory Limits _root_.TopologicalSpace Opposite |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable (R : Type u) [CommRing R] {X Y : TopCat.{u}} (f : X ⟶ Y) |
| 18 | {F : TopCat.Sheaf (ModuleCat.{u} R) X} (I : InjectiveResolution F) |
| 19 | |
| 20 | def complex : CochainComplex (TopCat.Sheaf (ModuleCat.{u} R) Y) ℕ := |
| 21 | ((TopCat.Sheaf.pushforward (ModuleCat.{u} R) f).mapHomologicalComplex (.up ℕ)).obj I.cocomplex |
| 22 | |
| 23 | def augmentation : (TopCat.Sheaf.pushforward (ModuleCat.{u} R) f).obj F ⟶ (complex R f I).X 0 := |
| 24 | (TopCat.Sheaf.pushforward (ModuleCat.{u} R) f).map (I.ι.f 0) |
| 25 | |
| 26 | theorem augmentation_comp : augmentation R f I ≫ (complex R f I).d 0 1 = 0 := by |
| 27 | let G := TopCat.Sheaf.pushforward (ModuleCat.{u} R) f |
| 28 | change G.map (I.ι.f 0) ≫ G.map (I.cocomplex.d 0 1) = 0 |
| 29 | rw [← G.map_comp, I.ι_f_zero_comp_complex_d, G.map_zero] |
| 30 | |
| 31 | instance augmentation_mono : Mono (augmentation R f I) := |
| 32 | (TopCat.Sheaf.pushforward (ModuleCat.{u} R) f).map_mono (I.ι.f 0) |
| 33 | |
| 34 | theorem augmentation_exact : |
| 35 | (ShortComplex.mk (augmentation R f I) ((complex R f I).d 0 1) |
| 36 | (augmentation_comp R f I)).Exact := by |
| 37 | let G := TopCat.Sheaf.pushforward (ModuleCat.{u} R) f |
| 38 | let S := ShortComplex.mk (I.ι.f 0) (I.cocomplex.d 0 1) I.ι_f_zero_comp_complex_d |
| 39 | have hS : S.Exact := I.exact₀ |
| 40 | exact ShortComplex.exact_of_f_is_kernel (S.map G) (KernelFork.mapIsLimit _ hS.fIsKernel G) |
| 41 | |
| 42 | def LocallyExact : Prop := |
| 43 | ∀ (V : Opens Y) (y : V), ∃ W : Opens Y, W ≤ V ∧ y.val ∈ W ∧ |
| 44 | ∀ n : ℕ, ∀ x : (I.cocomplex.X (n + 1)).obj.obj (op ((Opens.map f).obj W)), |
| 45 | (I.cocomplex.d (n + 1) (n + 2)).hom.app (op ((Opens.map f).obj W)) x = 0 → |
| 46 | ∃ z : (I.cocomplex.X n).obj.obj (op ((Opens.map f).obj W)), |
| 47 | (I.cocomplex.d n (n + 1)).hom.app (op ((Opens.map f).obj W)) z = x |
| 48 | |
| 49 | theorem exact_succ (hlocal : LocallyExact R f I) (n : ℕ) : |
| 50 | (ShortComplex.mk ((complex R f I).d n (n + 1)) ((complex R f I).d (n + 1) (n + 2)) |
| 51 | ((complex R f I).d_comp_d n (n + 1) (n + 2))).Exact := by |
| 52 | apply NumberTheory.PadicHodge.GeometricComparison.Module.SheafLocalExactness.ModuleSheafLocalExactness.sheafExact_of_locally_exact_sections R |
| 53 | intro V y |
| 54 | obtain ⟨W, hWV, hyW, hW⟩ := hlocal V y |
| 55 | exact ⟨W, hWV, hyW, hW n⟩ |
| 56 | |
| 57 | def resolution (hlocal : LocallyExact R f I) : |
| 58 | InjectiveResolution ((TopCat.Sheaf.pushforward (ModuleCat.{u} R) f).obj F) where |
| 59 | cocomplex := complex R f I |
| 60 | injective n := (TopCat.Sheaf.pushforward (ModuleCat.{u} R) f).injective_obj_of_injective (I.injective n) |
| 61 | ι := Comparison.Betti.AugmentedComplexQuasiIso.Ext.nonnegativeAugmentation (complex R f I) (augmentation R f I) (augmentation_comp R f I) |
| 62 | quasiIso := Comparison.Betti.AugmentedComplexQuasiIso.Ext.nonnegativeAugmentation_quasiIso _ _ _ |
| 63 | (augmentation_exact R f I) (fun n => by |
| 64 | exact (complex R f I).exactAt_iff' n (n + 1) (n + 2) |
| 65 | (by simp) (by simp) |>.mpr (exact_succ R f I hlocal n)) |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.Crystalline.Cohomology.Module.PushforwardResolution.ModulePushforwardResolution |