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.HodgeConjecture.DegreeTwo.FlasqueConeComparison |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.ExtensionComparison |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.ResolutionHomotopy |
| 4 | |
| 5 | /-! # Flasque Resolution Comparison -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.FlasqueResolutionComparison.Constructions |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Actual section cohomology of nonnegative flasque resolutions is computed by injective resolutions. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | |
| 17 | variable {X : TopCat.{0}} |
| 18 | |
| 19 | theorem rationalSheafFlasque_of_isZero (F : TopCat.Sheaf (ModuleCat.{0} ℚ) X) (hF : IsZero F) : |
| 20 | TopCat.Sheaf.IsFlasque F where |
| 21 | epi {U W} i := by |
| 22 | have : IsIso (F.obj.map i) := |
| 23 | ((CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections U.unop).map_isZero hF).isIso |
| 24 | ((CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections W.unop).map_isZero hF) _ |
| 25 | infer_instance |
| 26 | |
| 27 | theorem rationalFlasqueComplex_extend |
| 28 | {ι ι' : Type*} {c : ComplexShape ι} {c' : ComplexShape ι'} |
| 29 | (K : HomologicalComplex (TopCat.Sheaf (ModuleCat.{0} ℚ) X) c) |
| 30 | (hK : ∀ n, TopCat.Sheaf.IsFlasque (K.X n)) (e : c.Embedding c') (i' : ι') : |
| 31 | TopCat.Sheaf.IsFlasque ((K.extend e).X i') := by |
| 32 | by_cases hi' : ∃ i, e.f i = i' |
| 33 | · obtain ⟨i,hi⟩ := hi' |
| 34 | have := hK i |
| 35 | exact ThomGoodShiftFlasque.Constructions.rationalSheafFlasque_of_iso (K.extendXIso e hi).symm |
| 36 | · exact rationalSheafFlasque_of_isZero _ (K.isZero_extend_X e i' (by simpa using hi')) |
| 37 | |
| 38 | theorem rationalFlasqueSections_quasiIso |
| 39 | {K L : CochainComplex (TopCat.Sheaf (ModuleCat.{0} ℚ) X) ℕ} (f : K ⟶ L) |
| 40 | (hK : ∀ n, TopCat.Sheaf.IsFlasque (K.X n)) |
| 41 | (hL : ∀ n, TopCat.Sheaf.IsFlasque (L.X n)) [QuasiIso f] (U : Opens X) : |
| 42 | QuasiIso (((CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections (R := ℚ) U).mapHomologicalComplex (ComplexShape.up ℕ)).map f) := by |
| 43 | have := FlasqueConeComparison.Constructions.rationalBoundedFlasqueSections_quasiIso |
| 44 | (HomologicalComplex.extendMap f ComplexShape.embeddingUpNat) |
| 45 | (rationalFlasqueComplex_extend K hK ComplexShape.embeddingUpNat) |
| 46 | (rationalFlasqueComplex_extend L hL ComplexShape.embeddingUpNat) 0 U |
| 47 | exact ExtensionComparison.Constructions.functorQuasiIso_of_extended ComplexShape.embeddingUpNat (CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections U) f |
| 48 | |
| 49 | variable (K : CochainComplex (TopCat.Sheaf (ModuleCat.{0} ℚ) X) ℕ) |
| 50 | variable (hK : ∀ n, TopCat.Sheaf.IsFlasque (K.X n)) (he : ∀ n, K.ExactAt (n+1)) |
| 51 | variable (I : InjectiveResolution (K.homology 0)) |
| 52 | |
| 53 | include hK he |
| 54 | |
| 55 | theorem flasqueResolutionLift_sections_quasiIso (U : Opens X) : |
| 56 | QuasiIso (((CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections (R := ℚ) U).mapHomologicalComplex (ComplexShape.up ℕ)).map |
| 57 | (ResolutionHomotopy.Constructions.resolutionLift K he I)) := by |
| 58 | have := ResolutionHomotopy.Constructions.resolutionLift_quasiIso K he I |
| 59 | exact rationalFlasqueSections_quasiIso (ResolutionHomotopy.Constructions.resolutionLift K he I) hK |
| 60 | (fun n => FlasqueInjectives.Constructions.injectiveModuleSheaf_isFlasque (I.cocomplex.X n)) U |
| 61 | |
| 62 | def flasqueResolutionSectionCohomologyIso (U : Opens X) (n : ℕ) : |
| 63 | (CycleClass.Geometric.SupportStalkVanishes.Cohomology.moduleSheafSectionsComplex U K).homology n ≅ |
| 64 | (CycleClass.Geometric.SupportStalkVanishes.Cohomology.moduleSheafSectionsComplex U I.cocomplex).homology n := by |
| 65 | have := flasqueResolutionLift_sections_quasiIso K hK he I U |
| 66 | exact isoOfQuasiIsoAt |
| 67 | (((CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections (R := ℚ) U).mapHomologicalComplex (ComplexShape.up ℕ)).map |
| 68 | (ResolutionHomotopy.Constructions.resolutionLift K he I)) n |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.FlasqueResolutionComparison.Constructions |