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