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.DivisorClass.Chern.Supported.SectionsLeftExact |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.FlasqueSectionCokernels |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.GoodShiftFunctor |
| 4 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.ThomShiftSections |
| 5 | |
| 6 | /-! # Flasque Exactness -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.Supported.FlasqueExactness |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | section |
| 13 | |
| 14 | /-! A flasque kernel permits lifting sections while preserving their actual closed support. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 17 | |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | set_option backward.defeqAttrib.useBackward true |
| 21 | |
| 22 | variable {X : TopCat.{0}} (O U : Opens X) |
| 23 | variable (S : ShortComplex (TopCat.Sheaf (ModuleCat.{0} ℚ) X)) (hS : S.ShortExact) |
| 24 | variable [TopCat.Sheaf.IsFlasque S.X₁] |
| 25 | |
| 26 | include hS |
| 27 | |
| 28 | theorem rationalFlasqueSupportedSequence_epi : Epi ((DerivedComparison.supportedSectionsFunctor O U).map S.g) := by |
| 29 | apply (ModuleCat.epi_iff_surjective _).mpr |
| 30 | intro s |
| 31 | have hU := HodgeConjecture.DegreeTwo.FlasqueSectionCokernels.Constructions.rationalFlasqueSequence_sections_shortExact U S hS |
| 32 | have hV := HodgeConjecture.DegreeTwo.FlasqueSectionCokernels.Constructions.rationalFlasqueSequence_sections_shortExact (U ⊓ O) S hS |
| 33 | obtain ⟨b₀, hb⟩ := hU.moduleCat_surjective_g (SectionsLeftExact.supportedSectionsInclusion O U S.X₃ s) |
| 34 | let b : (CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections U).obj S.X₂ := b₀ |
| 35 | change (CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections U).map S.g b = SectionsLeftExact.supportedSectionsInclusion O U S.X₃ s at hb |
| 36 | have hz : (CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections (U ⊓ O)).map S.g |
| 37 | (S.X₂.obj.map (homOfLE (inf_le_left : U ⊓ O ≤ U)).op b) = 0 := by |
| 38 | have hn := ConcreteCategory.congr_hom |
| 39 | (S.g.hom.naturality (homOfLE (inf_le_left : U ⊓ O ≤ U)).op) b |
| 40 | change (CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections (U ⊓ O)).map S.g |
| 41 | (S.X₂.obj.map (homOfLE (inf_le_left : U ⊓ O ≤ U)).op b) = |
| 42 | S.X₃.obj.map (homOfLE (inf_le_left : U ⊓ O ≤ U)).op ((CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections U).map S.g b) at hn |
| 43 | rw [hb] at hn |
| 44 | exact hn.trans (SectionsLeftExact.supportedSectionsInclusion_vanishes O U S.X₃ s) |
| 45 | obtain ⟨a₀, ha₀⟩ := (ShortComplex.moduleCat_exact_iff _).mp hV.exact _ hz |
| 46 | change (CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections (U ⊓ O)).map S.f a₀ = |
| 47 | S.X₂.obj.map (homOfLE (inf_le_left : U ⊓ O ≤ U)).op b at ha₀ |
| 48 | obtain ⟨a, ha⟩ := (ModuleCat.epi_iff_surjective |
| 49 | (S.X₁.obj.map (homOfLE (inf_le_left : U ⊓ O ≤ U)).op)).mp inferInstance a₀ |
| 50 | let b' := b - (CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections U).map S.f a |
| 51 | have hb' : S.X₂.obj.map (homOfLE (inf_le_left : U ⊓ O ≤ U)).op b' = 0 := by |
| 52 | change S.X₂.obj.map (homOfLE (inf_le_left : U ⊓ O ≤ U)).op |
| 53 | (b - (CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections U).map S.f a) = 0 |
| 54 | rw [map_sub] |
| 55 | have hn := ConcreteCategory.congr_hom |
| 56 | (S.f.hom.naturality (homOfLE (inf_le_left : U ⊓ O ≤ U)).op) a |
| 57 | change (CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections (U ⊓ O)).map S.f |
| 58 | (S.X₁.obj.map (homOfLE (inf_le_left : U ⊓ O ≤ U)).op a) = |
| 59 | S.X₂.obj.map (homOfLE (inf_le_left : U ⊓ O ≤ U)).op ((CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections U).map S.f a) at hn |
| 60 | rw [ha, ha₀] at hn |
| 61 | rw [← hn, sub_self] |
| 62 | have hgb' : (CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections U).map S.g b' = SectionsLeftExact.supportedSectionsInclusion O U S.X₃ s := by |
| 63 | change (CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections U).map S.g (b - (CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections U).map S.f a) = _ |
| 64 | rw [map_sub] |
| 65 | have hzero : (CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections U).map S.g ((CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections U).map S.f a) = 0 := |
| 66 | (S.map (CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections U)).moduleCat_zero_apply a |
| 67 | rw [hzero, sub_zero] |
| 68 | exact hb |
| 69 | obtain ⟨t, ht⟩ := SectionsLeftExact.exists_supportedSection O U S.X₂ b' hb' |
| 70 | refine ⟨t, ?_⟩ |
| 71 | apply (ModuleCat.mono_iff_injective (SectionsLeftExact.supportedSectionsInclusion O U S.X₃)).mp inferInstance |
| 72 | have hn := ConcreteCategory.congr_hom (SectionsLeftExact.supportedSectionsInclusion_naturality O U S.g) t |
| 73 | change SectionsLeftExact.supportedSectionsInclusion O U S.X₃ ((DerivedComparison.supportedSectionsFunctor O U).map S.g t) = |
| 74 | (CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections U).map S.g (SectionsLeftExact.supportedSectionsInclusion O U S.X₂ t) at hn |
| 75 | rw [ht] at hn |
| 76 | exact hn.trans hgb' |
| 77 | |
| 78 | theorem rationalFlasqueSupportedSequence_shortExact : |
| 79 | (S.map (DerivedComparison.supportedSectionsFunctor O U)).ShortExact := by |
| 80 | have hleft := SectionsLeftExact.supportedSections_shortExact_left O U S hS |
| 81 | exact ShortComplex.ShortExact.mk' hleft.1 hleft.2 (rationalFlasqueSupportedSequence_epi O U S hS) |
| 82 | |
| 83 | end |
| 84 | |
| 85 | /-! The genuine supported-section functor preserves the boundary cokernel in the original Thom truncation. -/ |
| 86 | |
| 87 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 88 | |
| 89 | set_option backward.isDefEq.respectTransparency false |
| 90 | set_option backward.isDefEq.respectTransparency.types false |
| 91 | set_option backward.defeqAttrib.useBackward true |
| 92 | |
| 93 | variable {X : TopCat.{0}} (O U : Opens X) |
| 94 | variable (K : CochainComplex (TopCat.Sheaf (ModuleCat.{0} ℚ) X) ℕ) |
| 95 | variable (hK : ∀ n, TopCat.Sheaf.IsFlasque (K.X n)) |
| 96 | variable (k : ℕ) (he : ∀ n, n < k → K.ExactAt n) |
| 97 | |
| 98 | include hK he |
| 99 | |
| 100 | theorem supportedSections_pOpcycles_epi (n : ℕ) (hn : n ≤ k) : |
| 101 | Epi ((DerivedComparison.supportedSectionsFunctor O U).map (K.pOpcycles n)) := by |
| 102 | cases n with |
| 103 | | zero => infer_instance |
| 104 | | succ n => |
| 105 | have := HodgeConjecture.DegreeTwo.ThomGoodShiftFlasque.Constructions.rationalFlasque_opcycles_of_exact_below K hK k he n (Nat.le_of_succ_le hn) |
| 106 | exact (rationalFlasqueSupportedSequence_shortExact O U (CycleClass.Geometric.FlasqueLowDegree.Cycles.opcyclesSuccessorSequence K n) |
| 107 | (CycleClass.Geometric.FlasqueLowDegree.Cycles.opcyclesSuccessorSequence_shortExact K n (he n (Nat.lt_of_succ_le hn)))).epi_g |
| 108 | |
| 109 | theorem supportedSections_preserves_incoming_cokernel (n : ℕ) (hn : n ≤ k) : |
| 110 | PreservesColimit (parallelPair (K.sc n).f 0) (DerivedComparison.supportedSectionsFunctor O U) := by |
| 111 | cases n with |
| 112 | | zero => |
| 113 | apply preservesCokernel_zero' |
| 114 | change K.d ((ComplexShape.up ℕ).prev 0) 0 = 0 |
| 115 | simp |
| 116 | | succ n => |
| 117 | change PreservesColimit (parallelPair (K.d ((ComplexShape.up ℕ).prev (n+1)) (n+1)) 0) |
| 118 | (DerivedComparison.supportedSectionsFunctor O U) |
| 119 | rw [CochainComplex.prev_nat_succ] |
| 120 | have := HodgeConjecture.DegreeTwo.ThomGoodShiftFlasque.Constructions.rationalFlasque_opcycles_of_exact_below K hK k he n (Nat.le_of_succ_le hn) |
| 121 | have := supportedSections_pOpcycles_epi O U K hK k he n (Nat.le_of_succ_le hn) |
| 122 | let S := CycleClass.Geometric.FlasqueLowDegree.Cycles.opcyclesSuccessorSequence K n |
| 123 | have hS := rationalFlasqueSupportedSequence_shortExact O U S |
| 124 | (CycleClass.Geometric.FlasqueLowDegree.Cycles.opcyclesSuccessorSequence_shortExact K n (he n (Nat.lt_of_succ_le hn))) |
| 125 | have := hS.epi_g |
| 126 | refine preservesColimit_of_preserves_colimit_cocone |
| 127 | (K.opcyclesIsCokernel n (n+1) (by simp)) ?_ |
| 128 | apply (CokernelCofork.isColimitMapCoconeEquiv _ (DerivedComparison.supportedSectionsFunctor O U)).2 |
| 129 | exact isCokernelEpiComp hS.exact.gIsCokernel |
| 130 | ((DerivedComparison.supportedSectionsFunctor O U).map (K.pOpcycles n)) (by |
| 131 | change (DerivedComparison.supportedSectionsFunctor O U).map (K.d n (n+1)) = |
| 132 | (DerivedComparison.supportedSectionsFunctor O U).map (K.pOpcycles n) ≫ |
| 133 | (DerivedComparison.supportedSectionsFunctor O U).map (K.fromOpcycles n (n+1)) |
| 134 | rw [← Functor.map_comp, HomologicalComplex.p_fromOpcycles]) |
| 135 | |
| 136 | theorem supportedSections_preservesRightHomologyOf (n : ℕ) (hn : n ≤ k) : |
| 137 | (DerivedComparison.supportedSectionsFunctor O U).PreservesRightHomologyOf (K.sc n) := by |
| 138 | have := supportedSections_preserves_incoming_cokernel O U K hK k he n hn |
| 139 | constructor |
| 140 | intro h |
| 141 | exact { f := inferInstance, g' := inferInstance } |
| 142 | |
| 143 | def supportedGoodShiftFunctorIso : |
| 144 | (HodgeConjecture.DegreeTwo.GoodShiftFunctor.Constructions.functorCochainComplex (DerivedComparison.supportedSectionsFunctor O U) K).truncGE' (HodgeConjecture.DegreeTwo.RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding k) ≅ |
| 145 | ((DerivedComparison.supportedSectionsFunctor O U).mapHomologicalComplex (ComplexShape.up ℕ)).obj |
| 146 | (K.truncGE' (HodgeConjecture.DegreeTwo.RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding k)) := |
| 147 | HodgeConjecture.DegreeTwo.GoodShiftFunctor.Constructions.goodShiftFunctorIso (DerivedComparison.supportedSectionsFunctor O U) K k (by |
| 148 | intro n hn |
| 149 | have hn0 := HodgeConjecture.DegreeTwo.ThomShiftSections.Constructions.cochainDegreeShift_boundary_eq_zero k n hn |
| 150 | subst n |
| 151 | exact supportedSections_preservesRightHomologyOf O U K hK k he k le_rfl) |
| 152 | |
| 153 | def supportedGoodShiftCohomologyIso (n : ℕ) : |
| 154 | (CycleClass.Geometric.SupportStalkVanishes.Cohomology.moduleSheafSectionsComplex U |
| 155 | (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplex O (K.truncGE' (HodgeConjecture.DegreeTwo.RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding k)))).homology n ≅ |
| 156 | (CycleClass.Geometric.SupportStalkVanishes.Cohomology.moduleSheafSectionsComplex U (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplex O K)).homology (k+n) := |
| 157 | (HomologicalComplex.homologyFunctor _ (ComplexShape.up ℕ) n).mapIso |
| 158 | (DerivedComparison.supportedSectionsFunctorIso O U (K.truncGE' (HodgeConjecture.DegreeTwo.RelativeCupHomotopy.Constructions.cochainDegreeShiftEmbedding k))) ≪≫ |
| 159 | (HomologicalComplex.homologyFunctor _ (ComplexShape.up ℕ) n).mapIso |
| 160 | (supportedGoodShiftFunctorIso O U K hK k he).symm ≪≫ |
| 161 | HodgeConjecture.DegreeTwo.GoodShiftCohomology.Constructions.cochainGoodShiftHomologyIso (HodgeConjecture.DegreeTwo.GoodShiftFunctor.Constructions.functorCochainComplex (DerivedComparison.supportedSectionsFunctor O U) K) k n ≪≫ |
| 162 | (HomologicalComplex.homologyFunctor _ (ComplexShape.up ℕ) (k+n)).mapIso |
| 163 | (DerivedComparison.supportedSectionsFunctorIso O U K).symm |
| 164 | |
| 165 | end |
| 166 | |
| 167 | end OAI.AlgebraicGeometry.DivisorClass.Chern.Supported.FlasqueExactness |