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.AbelianModuli.HilbertConstruction.AcyclicSheafResolution |
| 2 | |
| 3 | /-! # Resolution First Cohomology -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ResolutionFirstCohomology.IntrinsicCech |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The first potentially nonzero cohomology of a resolved sheaf embeds into the kernel of the first differential on the cohomology of its resolution terms. This uses only a bounded range of termwise vanishing. -/ |
| 10 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.Abelian _root_.TopologicalSpace Opposite |
| 11 | universe u |
| 12 | |
| 13 | variable {X : TopCat.{u}} |
| 14 | |
| 15 | theorem sheafCohomology_map_zero_injective |
| 16 | {F G : CategoryTheory.Sheaf (Opens.grothendieckTopology X) AddCommGrpCat.{u}} (a : F ⟶ G) [Mono a] : |
| 17 | Function.Injective (CategoryTheory.Sheaf.H.map a 0) := by |
| 18 | let T := (sheafSections (Opens.grothendieckTopology X) AddCommGrpCat.{u}).obj (op ⊤) |
| 19 | let : T.IsRightAdjoint := |
| 20 | (constantSheafAdj (Opens.grothendieckTopology X) AddCommGrpCat.{u} isTerminalTop).isRightAdjoint |
| 21 | have : Mono (T.map a) := inferInstance |
| 22 | have hi : Function.Injective (a.hom.app (op ⊤)) := |
| 23 | (AddCommGrpCat.mono_iff_injective (T.map a)).mp inferInstance |
| 24 | intro x y hxy |
| 25 | apply (CategoryTheory.Sheaf.H.equiv₀ F isTerminalTop).injective |
| 26 | apply hi |
| 27 | rw [CategoryTheory.Sheaf.H.equiv₀_naturality, CategoryTheory.Sheaf.H.equiv₀_naturality, hxy] |
| 28 | |
| 29 | theorem sheafCohomology_zero_vanish_of_mono |
| 30 | {F G : CategoryTheory.Sheaf (Opens.grothendieckTopology X) AddCommGrpCat.{u}} (a : F ⟶ G) [Mono a] |
| 31 | (hG : Subsingleton (CategoryTheory.Sheaf.H G 0)) : |
| 32 | Subsingleton (CategoryTheory.Sheaf.H F 0) := by |
| 33 | let : Subsingleton (CategoryTheory.Sheaf.H G 0) := hG |
| 34 | refine subsingleton_of_forall_eq 0 fun x => ?_ |
| 35 | exact sheafCohomology_map_zero_injective a (Subsingleton.elim _ _) |
| 36 | |
| 37 | theorem sheafCohomology_map_succ_injective_of_shortExact |
| 38 | {S : ShortComplex (CategoryTheory.Sheaf (Opens.grothendieckTopology X) AddCommGrpCat.{u})} |
| 39 | (hS : S.ShortExact) (n : ℕ) |
| 40 | (hZ : Subsingleton (CategoryTheory.Sheaf.H S.X₃ n)) : |
| 41 | Function.Injective (CategoryTheory.Sheaf.H.map S.f (n + 1)) := by |
| 42 | let : Subsingleton (CategoryTheory.Sheaf.H S.X₃ n) := hZ |
| 43 | intro x y hxy |
| 44 | have hz : CategoryTheory.Sheaf.H.map S.f (n + 1) (x - y) = 0 := by |
| 45 | rw [map_sub, hxy, sub_self] |
| 46 | obtain ⟨z, h⟩ := HilbertConstruction.Sheaf.CohomologyExact.SheafCohomologyExact.Cohomology.longSequence_exact₁_explicit hS n (n + 1) rfl (x - y) hz |
| 47 | rw [Subsingleton.elim z 0, map_zero] at h |
| 48 | exact sub_eq_zero.mp h.symm |
| 49 | |
| 50 | variable (K : CochainComplex (CategoryTheory.Sheaf (Opens.grothendieckTopology X) AddCommGrpCat.{u}) ℕ) |
| 51 | |
| 52 | theorem resolutionCycles_cohomology_vanish_below |
| 53 | (hpos : ∀ n, (AcyclicSheafResolution.IntrinsicCech.resolutionDifferentialShortComplex K n).Exact) |
| 54 | (q : ℕ) (hK : ∀ p r, r < q → Subsingleton (CategoryTheory.Sheaf.H (K.X p) r)) |
| 55 | (n r : ℕ) (hr : r < q) : |
| 56 | Subsingleton (CategoryTheory.Sheaf.H (AcyclicSheafResolution.IntrinsicCech.resolutionDifferentialShortComplex K n).cycles r) := by |
| 57 | induction r generalizing n with |
| 58 | | zero => |
| 59 | exact sheafCohomology_zero_vanish_of_mono |
| 60 | (AcyclicSheafResolution.IntrinsicCech.resolutionDifferentialShortComplex K n).iCycles (hK (n + 1) 0 hr) |
| 61 | | succ r ih => |
| 62 | apply HilbertConstruction.Sheaf.CohomologyExact.SheafCohomologyExact.Cohomology.subsingleton_H_X₁_succ_of_shortExact |
| 63 | (AcyclicSheafResolution.IntrinsicCech.successiveResolutionCycleSequence_shortExact K hpos n) r |
| 64 | · exact ih (n + 1) (by omega) |
| 65 | · exact hK (n + 1) (r + 1) hr |
| 66 | |
| 67 | theorem resolution_firstCohomology_injective |
| 68 | {F : CategoryTheory.Sheaf (Opens.grothendieckTopology X) AddCommGrpCat.{u}} |
| 69 | (e : F ⟶ K.X 0) [Mono e] (w : e ≫ K.d 0 1 = 0) |
| 70 | (haug : (ShortComplex.mk e (K.d 0 1) w).Exact) |
| 71 | (hpos : ∀ n, (AcyclicSheafResolution.IntrinsicCech.resolutionDifferentialShortComplex K n).Exact) |
| 72 | (n : ℕ) (hK : ∀ p r, r < n + 1 → Subsingleton (CategoryTheory.Sheaf.H (K.X p) r)) : |
| 73 | Function.Injective (CategoryTheory.Sheaf.H.map e (n + 1)) := |
| 74 | sheafCohomology_map_succ_injective_of_shortExact |
| 75 | (AcyclicSheafResolution.IntrinsicCech.initialResolutionCycleSequence_shortExact K e w haug hpos) n |
| 76 | (resolutionCycles_cohomology_vanish_below K hpos (n + 1) hK 0 n (by omega)) |
| 77 | |
| 78 | theorem resolution_firstCohomology_vanish_of_first_differential_injective |
| 79 | {F : CategoryTheory.Sheaf (Opens.grothendieckTopology X) AddCommGrpCat.{u}} |
| 80 | (e : F ⟶ K.X 0) [Mono e] (w : e ≫ K.d 0 1 = 0) |
| 81 | (haug : (ShortComplex.mk e (K.d 0 1) w).Exact) |
| 82 | (hpos : ∀ n, (AcyclicSheafResolution.IntrinsicCech.resolutionDifferentialShortComplex K n).Exact) |
| 83 | (n : ℕ) (hK : ∀ p r, r < n + 1 → Subsingleton (CategoryTheory.Sheaf.H (K.X p) r)) |
| 84 | (hd : Function.Injective (CategoryTheory.Sheaf.H.map (K.d 0 1) (n + 1))) : |
| 85 | Subsingleton (CategoryTheory.Sheaf.H F (n + 1)) := by |
| 86 | refine subsingleton_of_forall_eq 0 fun x => ?_ |
| 87 | apply resolution_firstCohomology_injective K e w haug hpos n hK |
| 88 | apply hd |
| 89 | rw [map_zero, map_zero, ← CategoryTheory.Sheaf.H.map_comp_apply, w] |
| 90 | simp only [CategoryTheory.Sheaf.H.map_apply, Ext.mk₀_zero, Ext.comp_zero] |
| 91 | |
| 92 | end |
| 93 | |
| 94 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ResolutionFirstCohomology.IntrinsicCech |