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.CycleClass.Geometric.SupportStalkVanishes |
| 2 | import OAI.AlgebraicTopology.Cohomology.Singular.ShortExactQuasiIso |
| 3 | |
| 4 | /-! # Section Quasi Iso -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.Supported.SectionQuasiIso |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Actual maps of sheaf complexes induce maps of their closed-support kernels. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | set_option backward.defeqAttrib.useBackward true |
| 19 | |
| 20 | variable {R : Type} [Ring R] {X : TopCat.{0}} (O : Opens X) |
| 21 | variable {K L N : CochainComplex (TopCat.Sheaf (ModuleCat.{0} R) X) ℕ} |
| 22 | |
| 23 | theorem sheafRestrictionComplex_naturality (f : K ⟶ L) : |
| 24 | CycleClass.Geometric.SupportStalkVanishes.Cohomology.sheafRestrictionComplex O K ≫ |
| 25 | ((CycleClass.Geometric.SheafClosedSupport.Cohomology.openRestrictionPushforwardFunctor O).mapHomologicalComplex (ComplexShape.up ℕ)).map f = |
| 26 | f ≫ CycleClass.Geometric.SupportStalkVanishes.Cohomology.sheafRestrictionComplex O L := by |
| 27 | apply HomologicalComplex.Hom.ext |
| 28 | funext n |
| 29 | exact ((CycleClass.Geometric.SheafClosedSupport.Cohomology.sheafRestrictionToOpenNatTrans O).naturality (f.f n)).symm |
| 30 | |
| 31 | instance supportedSheafComplexInclusion_mono : Mono (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplexInclusion O K) := |
| 32 | inferInstanceAs (Mono (kernel.ι (CycleClass.Geometric.SupportStalkVanishes.Cohomology.sheafRestrictionComplex O K))) |
| 33 | |
| 34 | def supportedSheafComplexMap (f : K ⟶ L) : |
| 35 | CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplex O K ⟶ CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplex O L := |
| 36 | kernel.map (CycleClass.Geometric.SupportStalkVanishes.Cohomology.sheafRestrictionComplex O K) (CycleClass.Geometric.SupportStalkVanishes.Cohomology.sheafRestrictionComplex O L) f |
| 37 | (((CycleClass.Geometric.SheafClosedSupport.Cohomology.openRestrictionPushforwardFunctor O).mapHomologicalComplex (ComplexShape.up ℕ)).map f) |
| 38 | (sheafRestrictionComplex_naturality O f) |
| 39 | |
| 40 | theorem supportedSheafComplexMap_inclusion (f : K ⟶ L) : |
| 41 | supportedSheafComplexMap O f ≫ CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplexInclusion O L = |
| 42 | CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplexInclusion O K ≫ f := |
| 43 | kernel.lift_ι _ _ _ |
| 44 | |
| 45 | theorem supportedSheafComplexMap_id : |
| 46 | supportedSheafComplexMap O (𝟙 K) = 𝟙 (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplex O K) := by |
| 47 | apply (cancel_mono (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplexInclusion O K)).mp |
| 48 | rw [supportedSheafComplexMap_inclusion, Category.id_comp, Category.comp_id] |
| 49 | |
| 50 | theorem supportedSheafComplexMap_comp (f : K ⟶ L) (g : L ⟶ N) : |
| 51 | supportedSheafComplexMap O (f ≫ g) = |
| 52 | supportedSheafComplexMap O f ≫ supportedSheafComplexMap O g := by |
| 53 | apply (cancel_mono (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplexInclusion O N)).mp |
| 54 | calc |
| 55 | _ = CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplexInclusion O K ≫ (f ≫ g) := |
| 56 | supportedSheafComplexMap_inclusion O (f ≫ g) |
| 57 | _ = (supportedSheafComplexMap O f ≫ CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplexInclusion O L) ≫ g := by |
| 58 | rw [supportedSheafComplexMap_inclusion, Category.assoc] |
| 59 | _ = _ := by |
| 60 | rw [Category.assoc (supportedSheafComplexMap O f) (supportedSheafComplexMap O g), |
| 61 | supportedSheafComplexMap_inclusion O g] |
| 62 | exact Category.assoc _ _ _ |
| 63 | |
| 64 | end |
| 65 | |
| 66 | /-! |
| 67 | Comparisons of flasque complexes that are quasi-isomorphisms on the two |
| 68 | actual open-section complexes remain quasi-isomorphisms with the prescribed |
| 69 | closed support. This is the first-term five lemma for the restriction kernels. |
| 70 | -/ |
| 71 | |
| 72 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 73 | |
| 74 | set_option backward.isDefEq.respectTransparency false |
| 75 | set_option backward.isDefEq.respectTransparency.types false |
| 76 | set_option backward.defeqAttrib.useBackward true |
| 77 | |
| 78 | variable {R : Type} [Ring R] {X : TopCat.{0}} (O : Opens X) |
| 79 | variable (K : CochainComplex (TopCat.Sheaf (ModuleCat.{0} R) X) ℕ) |
| 80 | |
| 81 | def supportedSheafKernelSequence : |
| 82 | ShortComplex (CochainComplex (TopCat.Sheaf (ModuleCat.{0} R) X) ℕ) := |
| 83 | ShortComplex.mk (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplexInclusion O K) (CycleClass.Geometric.SupportStalkVanishes.Cohomology.sheafRestrictionComplex O K) |
| 84 | (kernel.condition (CycleClass.Geometric.SupportStalkVanishes.Cohomology.sheafRestrictionComplex O K)) |
| 85 | |
| 86 | theorem supportedSheafKernelSequence_sections_shortExact |
| 87 | (hK : ∀ n, TopCat.Sheaf.IsFlasque (K.X n)) (U : Opens X) : |
| 88 | ((supportedSheafKernelSequence O K).map |
| 89 | ((CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections (R := R) U).mapHomologicalComplex (ComplexShape.up ℕ))).ShortExact := by |
| 90 | let F := (CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections (R := R) U).mapHomologicalComplex (ComplexShape.up ℕ) |
| 91 | have hg : Epi (F.map (CycleClass.Geometric.SupportStalkVanishes.Cohomology.sheafRestrictionComplex O K)) := by |
| 92 | apply HomologicalComplex.epi_of_epi_f |
| 93 | intro n |
| 94 | have := hK n |
| 95 | change Epi ((K.X n).obj.map (homOfLE (inf_le_left : U ⊓ O ≤ U)).op) |
| 96 | infer_instance |
| 97 | have hm : Mono (F.map (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplexInclusion O K)) := inferInstance |
| 98 | exact ShortComplex.ShortExact.mk' |
| 99 | ((ShortComplex.kernelSequence_exact (CycleClass.Geometric.SupportStalkVanishes.Cohomology.sheafRestrictionComplex O K)).map_of_mono_of_preservesKernel |
| 100 | F inferInstance inferInstance) hm hg |
| 101 | |
| 102 | variable {K} {L : CochainComplex (TopCat.Sheaf (ModuleCat.{0} R) X) ℕ} (f : K ⟶ L) |
| 103 | |
| 104 | def supportedSheafKernelSequenceMap : |
| 105 | supportedSheafKernelSequence O K ⟶ supportedSheafKernelSequence O L where |
| 106 | τ₁ := supportedSheafComplexMap O f |
| 107 | τ₂ := f |
| 108 | τ₃ := ((CycleClass.Geometric.SheafClosedSupport.Cohomology.openRestrictionPushforwardFunctor O).mapHomologicalComplex (ComplexShape.up ℕ)).map f |
| 109 | comm₁₂ := supportedSheafComplexMap_inclusion O f |
| 110 | comm₂₃ := (sheafRestrictionComplex_naturality O f).symm |
| 111 | |
| 112 | theorem supportedSheafSectionsMap_quasiIso |
| 113 | (hK : ∀ n, TopCat.Sheaf.IsFlasque (K.X n)) |
| 114 | (hL : ∀ n, TopCat.Sheaf.IsFlasque (L.X n)) (U : Opens X) |
| 115 | (hU : QuasiIso (((CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections (R := R) U).mapHomologicalComplex |
| 116 | (ComplexShape.up ℕ)).map f)) |
| 117 | (hO : QuasiIso (((CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections (R := R) (U ⊓ O)).mapHomologicalComplex |
| 118 | (ComplexShape.up ℕ)).map f)) : |
| 119 | QuasiIso (((CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections (R := R) U).mapHomologicalComplex |
| 120 | (ComplexShape.up ℕ)).map (supportedSheafComplexMap O f)) := |
| 121 | AlgebraicTopology.Cohomology.Singular.ShortExactQuasiIso.quasiIso_first_of_shortExact |
| 122 | ((((CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections (R := R) U).mapHomologicalComplex (ComplexShape.up ℕ)).mapShortComplex).map |
| 123 | (supportedSheafKernelSequenceMap O f)) |
| 124 | (supportedSheafKernelSequence_sections_shortExact O K hK U) |
| 125 | (supportedSheafKernelSequence_sections_shortExact O L hL U) hU hO |
| 126 | |
| 127 | end |
| 128 | |
| 129 | end OAI.AlgebraicGeometry.DivisorClass.Chern.Supported.SectionQuasiIso |