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.AlgebraicGeometry.Comparison.Betti.Sheaf.LocalExactness |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Cech.InjectiveResolutionSections |
| 3 | import Mathlib.Topology.Sheaves.Functors |
| 4 | |
| 5 | /-! # Pushforward Resolution Exact -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Comparison.Betti.PushforwardResolutionExact.Cech |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Acyclic inverse-image neighborhoods make the actual pushed injective resolution exact. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {X Y : TopCat.{u}} (f : X ⟶ Y) (F : TopCat.Sheaf AddCommGrpCat.{u} X) |
| 18 | |
| 19 | def pushedInjectiveCocomplex : CochainComplex (TopCat.Sheaf AddCommGrpCat.{u} Y) ℕ := |
| 20 | ((TopCat.Sheaf.pushforward AddCommGrpCat f).mapHomologicalComplex (.up ℕ)).obj |
| 21 | (injectiveResolution (SheafCohomology.Cech.Compat.TopCat.Sheaf.toSiteSheaf F)).cocomplex |
| 22 | |
| 23 | def pushedInjectiveAugmentation : (TopCat.Sheaf.pushforward AddCommGrpCat f).obj F ⟶ |
| 24 | (pushedInjectiveCocomplex f F).X 0 := |
| 25 | (TopCat.Sheaf.pushforward AddCommGrpCat f).map |
| 26 | ((injectiveResolution (SheafCohomology.Cech.Compat.TopCat.Sheaf.toSiteSheaf F)).ι.f 0) |
| 27 | |
| 28 | theorem pushedInjectiveAugmentation_comp : |
| 29 | pushedInjectiveAugmentation f F ≫ (pushedInjectiveCocomplex f F).d 0 1 = 0 := by |
| 30 | let G := TopCat.Sheaf.pushforward AddCommGrpCat f |
| 31 | let I : InjectiveResolution F := injectiveResolution (SheafCohomology.Cech.Compat.TopCat.Sheaf.toSiteSheaf F) |
| 32 | change G.map (I.ι.f 0) ≫ G.map (I.cocomplex.d 0 1) = 0 |
| 33 | erw [← G.map_comp, I.ι_f_zero_comp_complex_d, G.map_zero] |
| 34 | |
| 35 | instance pushedInjectiveAugmentation_mono : Mono (pushedInjectiveAugmentation f F) := by |
| 36 | let I : InjectiveResolution F := injectiveResolution (SheafCohomology.Cech.Compat.TopCat.Sheaf.toSiteSheaf F) |
| 37 | let a : F ⟶ I.cocomplex.X 0 := I.ι.f 0 |
| 38 | have : Mono a := inferInstanceAs (Mono (I.ι.f 0)) |
| 39 | exact (TopCat.Sheaf.pushforward AddCommGrpCat f).map_mono a |
| 40 | |
| 41 | theorem pushedInjectiveAugmentation_exact : |
| 42 | (ShortComplex.mk (pushedInjectiveAugmentation f F) ((pushedInjectiveCocomplex f F).d 0 1) |
| 43 | (pushedInjectiveAugmentation_comp f F)).Exact := by |
| 44 | let G := TopCat.Sheaf.pushforward AddCommGrpCat f |
| 45 | let I : InjectiveResolution F := injectiveResolution (SheafCohomology.Cech.Compat.TopCat.Sheaf.toSiteSheaf F) |
| 46 | let S : ShortComplex (TopCat.Sheaf AddCommGrpCat X) := |
| 47 | ShortComplex.mk (I.ι.f 0) (I.cocomplex.d 0 1) I.ι_f_zero_comp_complex_d |
| 48 | have hS : S.Exact := I.exact₀ |
| 49 | exact ShortComplex.exact_of_f_is_kernel (S.map G) (KernelFork.mapIsLimit _ hS.fIsKernel G) |
| 50 | |
| 51 | theorem pushedInjectiveCocomplex_exact_succ |
| 52 | (hlocal : ∀ (V : Opens Y) (y : V), ∃ W : Opens Y, W ≤ V ∧ y.val ∈ W ∧ |
| 53 | ∀ q, Subsingleton (Sheaf.H |
| 54 | ((SheafCohomology.Cech.TopCatRestrict.TopCat.Sheaf.restrict AddCommGrpCat ((Opens.map f).obj W).isOpenEmbedding).obj F) (q + 1))) |
| 55 | (n : ℕ) : |
| 56 | (ShortComplex.mk ((pushedInjectiveCocomplex f F).d n (n + 1)) |
| 57 | ((pushedInjectiveCocomplex f F).d (n + 1) (n + 2)) |
| 58 | ((pushedInjectiveCocomplex f F).d_comp_d n (n + 1) (n + 2))).Exact := by |
| 59 | apply Betti.Sheaf.LocalExactness.Cech.sheafExact_of_locally_exact_sections |
| 60 | intro V y |
| 61 | obtain ⟨W, hWV, hyW, hW⟩ := hlocal V y |
| 62 | refine ⟨W, hWV, hyW, ?_⟩ |
| 63 | exact SheafCohomology.Cech.InjectiveResolutionSections.TopCat.Sheaf.injectiveResolution_sections_exact_succ F ((Opens.map f).obj W) hW n |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.Comparison.Betti.PushforwardResolutionExact.Cech |