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.ComplexMultiplication.Reference.FilteredGlobalClasses |
| 2 | import Mathlib.Algebra.Homology.ShortComplex.Ab |
| 3 | |
| 4 | /-! # CM Global Sheaf Cycles -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.CMGlobalSheafCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! # Actual cycles survive the original filtration inclusion in retained degrees -/ |
| 13 | |
| 14 | open _root_.CategoryTheory Limits |
| 15 | |
| 16 | /-- A map that is an isomorphism in a cochain degree and monic in the next |
| 17 | degree is an isomorphism on actual cycles in that degree. -/ |
| 18 | theorem cochainCyclesMap_isIso {K L : CochainComplex AddCommGrpCat ℤ} |
| 19 | (f : K ⟶ L) (p : ℤ) [IsIso (f.f p)] [Mono (f.f ((ComplexShape.up ℤ).next p))] : |
| 20 | IsIso (HomologicalComplex.cyclesMap f p) := by |
| 21 | let s := (HomologicalComplex.shortComplexFunctor AddCommGrpCat (ComplexShape.up ℤ) p).map f |
| 22 | have : IsIso s.τ₂ := by |
| 23 | simpa only [s, HomologicalComplex.shortComplexFunctor_map_τ₂, |
| 24 | HomologicalComplex.shortComplexFunctor_obj_X₂] using! |
| 25 | (inferInstance : IsIso (f.f p)) |
| 26 | have : Mono s.τ₃ := by |
| 27 | simpa only [s, HomologicalComplex.shortComplexFunctor_map_τ₃, |
| 28 | HomologicalComplex.shortComplexFunctor_obj_X₃] using! |
| 29 | (inferInstance : Mono (f.f ((ComplexShape.up ℤ).next p))) |
| 30 | exact ShortComplex.isIso_cyclesMap_of_isIso_of_mono' s inferInstance inferInstance |
| 31 | |
| 32 | variable (Y : TopCat.{0}) |
| 33 | |
| 34 | local notation "Γ" => Functor.mapHomologicalComplex |
| 35 | (AlgebraicTopology.Sheaf.FlasqueBoundedBelow.TopCat.IsFlasque.BoundedBelowComplex.globalSectionsFunctor Y) (ComplexShape.up ℤ) |
| 36 | |
| 37 | /-- Taking actual global sections retains the canonical isomorphism in every |
| 38 | degree included by the unchanged original stupid truncation. -/ |
| 39 | theorem globalStupidTruncInclusion_component_isIso |
| 40 | (K : CochainComplex (TopCat.Sheaf AddCommGrpCat Y) ℤ) (p : ℤ) (n : ℕ) |
| 41 | {j : ℤ} (h : (ComplexShape.embeddingUpIntGE p).f n = j) : |
| 42 | IsIso (((Γ).map |
| 43 | (OAI.Algebra.Homology.StupidTruncation.HomologicalComplex.stupidTruncInclusion K (ComplexShape.embeddingUpIntGE p))).f |
| 44 | j) := by |
| 45 | have : IsIso ((OAI.Algebra.Homology.StupidTruncation.HomologicalComplex.stupidTruncInclusion K |
| 46 | (ComplexShape.embeddingUpIntGE p)).f j) := by |
| 47 | rw [OAI.Algebra.Homology.StupidTruncation.HomologicalComplex.stupidTruncInclusion_f K _ h] |
| 48 | infer_instance |
| 49 | change IsIso ((AlgebraicTopology.Sheaf.FlasqueBoundedBelow.TopCat.IsFlasque.BoundedBelowComplex.globalSectionsFunctor Y).map _) |
| 50 | infer_instance |
| 51 | |
| 52 | /-- Closed global forms have unique cycle lifts through the original lowest |
| 53 | filtered degree; no lifting assumption is supplied. -/ |
| 54 | theorem globalStupidTruncInclusion_cycles_isIso |
| 55 | (K : CochainComplex (TopCat.Sheaf AddCommGrpCat Y) ℤ) (p : ℤ) : |
| 56 | IsIso (HomologicalComplex.cyclesMap |
| 57 | ((Γ).map |
| 58 | (OAI.Algebra.Homology.StupidTruncation.HomologicalComplex.stupidTruncInclusion K (ComplexShape.embeddingUpIntGE p))) p) := by |
| 59 | have : IsIso (((Γ).map |
| 60 | (OAI.Algebra.Homology.StupidTruncation.HomologicalComplex.stupidTruncInclusion K (ComplexShape.embeddingUpIntGE p))).f p) := by |
| 61 | exact globalStupidTruncInclusion_component_isIso Y K p 0 (by |
| 62 | change p + (0 : ℕ) = p |
| 63 | simp) |
| 64 | have : IsIso (((Γ).map |
| 65 | (OAI.Algebra.Homology.StupidTruncation.HomologicalComplex.stupidTruncInclusion K (ComplexShape.embeddingUpIntGE p))).f |
| 66 | (p + 1)) := by |
| 67 | exact globalStupidTruncInclusion_component_isIso Y K p 1 (by |
| 68 | change p + (1 : ℕ) = p + 1 |
| 69 | norm_num) |
| 70 | have hn : (ComplexShape.up ℤ).next p = p + 1 := |
| 71 | ComplexShape.next_eq' (ComplexShape.up ℤ) (by simp) |
| 72 | have : Mono (((Γ).map (OAI.Algebra.Homology.StupidTruncation.HomologicalComplex.stupidTruncInclusion K |
| 73 | (ComplexShape.embeddingUpIntGE p))).f ((ComplexShape.up ℤ).next p)) := by |
| 74 | rw [hn] |
| 75 | infer_instance |
| 76 | exact cochainCyclesMap_isIso _ p |
| 77 | |
| 78 | end |
| 79 | |
| 80 | section |
| 81 | |
| 82 | /-! # Actual closed global sheaf sections give original integer-indexed cycles -/ |
| 83 | |
| 84 | open _root_.CategoryTheory |
| 85 | |
| 86 | variable (Y : TopCat.{0}) (K : CochainComplex (TopCat.Sheaf AddCommGrpCat Y) ℕ) |
| 87 | |
| 88 | local notation "Γ" => OAI.AlgebraicTopology.Sheaf.FlasqueBoundedBelow.TopCat.IsFlasque.BoundedBelowComplex.globalSectionsFunctor Y |
| 89 | |
| 90 | /-- A global section transported by the actual extension-by-zero component |
| 91 | isomorphism, with no choice of cohomology comparison. -/ |
| 92 | def sheafExtendedGlobalSection (p : ℕ) |
| 93 | (θ : (K.X p).presheaf.obj (Opposite.op ⊤)) : |
| 94 | (Cohomology.GlobalSections.TopCat.Sheaf.globalSectionsComplexInt Y (K.extend ComplexShape.embeddingUpNat)).X (p : ℤ) := |
| 95 | (Γ).map (K.extendXIso ComplexShape.embeddingUpNat (i := p) (i' := (p : ℤ)) rfl).inv θ |
| 96 | |
| 97 | set_option backward.isDefEq.respectTransparency false in |
| 98 | /-- This actual section is closed in the original integer-indexed global complex. -/ |
| 99 | theorem sheafExtendedGlobalSection_closed (p : ℕ) |
| 100 | (θ : (K.X p).presheaf.obj (Opposite.op ⊤)) |
| 101 | (hθ : (K.d p (p + 1)).hom.app (Opposite.op ⊤) θ = 0) : |
| 102 | (Cohomology.GlobalSections.TopCat.Sheaf.globalSectionsComplexInt Y (K.extend ComplexShape.embeddingUpNat)).d |
| 103 | (p : ℤ) ((p + 1 : ℕ) : ℤ) (sheafExtendedGlobalSection Y K p θ) = 0 := by |
| 104 | have hd : |
| 105 | (K.extendXIso ComplexShape.embeddingUpNat (i := p) (i' := (p : ℤ)) rfl).inv ≫ |
| 106 | (K.extend ComplexShape.embeddingUpNat).d (p : ℤ) ((p + 1 : ℕ) : ℤ) = |
| 107 | K.d p (p + 1) ≫ |
| 108 | (K.extendXIso ComplexShape.embeddingUpNat (i := p + 1) |
| 109 | (i' := ((p + 1 : ℕ) : ℤ)) rfl).inv := by |
| 110 | rw [HomologicalComplex.extend_d_eq K ComplexShape.embeddingUpNat |
| 111 | (i := p) (j := p + 1) (i' := (p : ℤ)) (j' := ((p + 1 : ℕ) : ℤ)) rfl rfl] |
| 112 | simp only [← Category.assoc, Iso.inv_hom_id, Category.id_comp] |
| 113 | have hv := ConcreteCategory.congr_hom (congrArg (fun f => (Γ).map f) hd) θ |
| 114 | simp only [Functor.map_comp, AddCommGrpCat.comp_apply] at hv |
| 115 | change _ = ((Γ).map |
| 116 | (K.extendXIso ComplexShape.embeddingUpNat (i := p + 1) |
| 117 | (i' := ((p + 1 : ℕ) : ℤ)) rfl).inv) |
| 118 | ((K.d p (p + 1)).hom.app (Opposite.op ⊤) θ) at hv |
| 119 | rw [hθ, map_zero] at hv |
| 120 | exact hv |
| 121 | |
| 122 | end |
| 123 | |
| 124 | /-! # Retained global sections and closedness through actual extension by zero -/ |
| 125 | |
| 126 | open _root_.CategoryTheory |
| 127 | |
| 128 | variable (Y : TopCat.{0}) (K : CochainComplex (TopCat.Sheaf AddCommGrpCat Y) ℕ) |
| 129 | |
| 130 | local notation "Γ" => OAI.AlgebraicTopology.Sheaf.FlasqueBoundedBelow.TopCat.IsFlasque.BoundedBelowComplex.globalSectionsFunctor Y |
| 131 | |
| 132 | /-- Recover the actual natural-degree global section from its retained integer degree. -/ |
| 133 | def sheafRetainedGlobalSection (p : ℕ) |
| 134 | (ζ : (Cohomology.GlobalSections.TopCat.Sheaf.globalSectionsComplexInt Y |
| 135 | (K.extend ComplexShape.embeddingUpNat)).X (p : ℤ)) : |
| 136 | (K.X p).presheaf.obj (Opposite.op ⊤) := |
| 137 | (Γ).map (K.extendXIso ComplexShape.embeddingUpNat (i := p) (i' := (p : ℤ)) rfl).hom ζ |
| 138 | |
| 139 | /-- Recovery followed by extension returns the same actual global section. -/ |
| 140 | theorem sheafExtendedGlobalSection_retained (p : ℕ) |
| 141 | (ζ : (Cohomology.GlobalSections.TopCat.Sheaf.globalSectionsComplexInt Y |
| 142 | (K.extend ComplexShape.embeddingUpNat)).X (p : ℤ)) : |
| 143 | sheafExtendedGlobalSection Y K p (sheafRetainedGlobalSection Y K p ζ) = ζ := by |
| 144 | let e := K.extendXIso ComplexShape.embeddingUpNat (i := p) (i' := (p : ℤ)) rfl |
| 145 | have h := congrArg (fun f => (Γ).map f) e.hom_inv_id |
| 146 | simpa only [Functor.map_comp, Functor.map_id, AddCommGrpCat.comp_apply, |
| 147 | AddCommGrpCat.id_apply] using! ConcreteCategory.congr_hom h ζ |
| 148 | |
| 149 | set_option backward.isDefEq.respectTransparency false in |
| 150 | /-- A closed retained section is closed in the actual original natural-degree complex. -/ |
| 151 | theorem sheafRetainedGlobalSection_closed (p : ℕ) |
| 152 | (ζ : (Cohomology.GlobalSections.TopCat.Sheaf.globalSectionsComplexInt Y |
| 153 | (K.extend ComplexShape.embeddingUpNat)).X (p : ℤ)) |
| 154 | (hζ : (Cohomology.GlobalSections.TopCat.Sheaf.globalSectionsComplexInt Y |
| 155 | (K.extend ComplexShape.embeddingUpNat)).d |
| 156 | (p : ℤ) ((p + 1 : ℕ) : ℤ) ζ = 0) : |
| 157 | (K.d p (p + 1)).hom.app (Opposite.op ⊤) (sheafRetainedGlobalSection Y K p ζ) = 0 := by |
| 158 | have hd : (K.extend ComplexShape.embeddingUpNat).d (p : ℤ) ((p + 1 : ℕ) : ℤ) ≫ |
| 159 | (K.extendXIso ComplexShape.embeddingUpNat (i := p + 1) |
| 160 | (i' := ((p + 1 : ℕ) : ℤ)) rfl).hom = |
| 161 | (K.extendXIso ComplexShape.embeddingUpNat (i := p) (i' := (p : ℤ)) rfl).hom ≫ |
| 162 | K.d p (p + 1) := by |
| 163 | rw [HomologicalComplex.extend_d_eq K ComplexShape.embeddingUpNat |
| 164 | (i := p) (j := p + 1) (i' := (p : ℤ)) (j' := ((p + 1 : ℕ) : ℤ)) rfl rfl] |
| 165 | simp only [Category.assoc, Iso.inv_hom_id, Category.comp_id] |
| 166 | have hv := ConcreteCategory.congr_hom (congrArg (fun f => (Γ).map f) hd) ζ |
| 167 | simp only [Functor.map_comp, AddCommGrpCat.comp_apply] at hv |
| 168 | change ((Γ).map |
| 169 | (K.extendXIso ComplexShape.embeddingUpNat (i := p + 1) |
| 170 | (i' := ((p + 1 : ℕ) : ℤ)) rfl).hom) |
| 171 | ((Cohomology.GlobalSections.TopCat.Sheaf.globalSectionsComplexInt Y |
| 172 | (K.extend ComplexShape.embeddingUpNat)).d (p : ℤ) ((p + 1 : ℕ) : ℤ) ζ) = |
| 173 | (K.d p (p + 1)).hom.app (Opposite.op ⊤) (sheafRetainedGlobalSection Y K p ζ) at hv |
| 174 | rw [hζ, map_zero] at hv |
| 175 | exact hv.symm |
| 176 | |
| 177 | end |
| 178 | |
| 179 | end OAI.AlgebraicGeometry.ComplexMultiplication.CMGlobalSheafCycles |