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.Intrinsic.SectionNaturality |
| 2 | import OAI.AlgebraicGeometry.DivisorClass.Chern.AugmentedCochainZeroIso |
| 3 | |
| 4 | /-! # Augmentation Naturality -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.Intrinsic.AugmentationNaturality |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The native cohomology map intertwines original coefficient sheaves through actual augmentation squares. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | set_option backward.defeqAttrib.useBackward true |
| 17 | |
| 18 | section ZeroNaturality |
| 19 | |
| 20 | variable {C : Type*} [Category C] [Abelian C] |
| 21 | {K L : CochainComplex C ℕ} {F G : C} |
| 22 | |
| 23 | theorem cochainAugmentationZeroIso_naturality (f : K ⟶ L) (u : F ⟶ G) |
| 24 | (eF : F ≅ K.homology 0) (eG : G ≅ L.homology 0) (i : F ⟶ K.X 0) (j : G ⟶ L.X 0) |
| 25 | (hi : eF.hom ≫ (HodgeConjecture.DegreeTwo.ThomGoodShiftFlasque.Constructions.cochainZeroHomologyAugmentation K).f 0 = i) |
| 26 | (hj : eG.hom ≫ (HodgeConjecture.DegreeTwo.ThomGoodShiftFlasque.Constructions.cochainZeroHomologyAugmentation L).f 0 = j) (hf : i ≫ f.f 0 = u ≫ j) : |
| 27 | eF.hom ≫ HomologicalComplex.homologyMap f 0 = u ≫ eG.hom := by |
| 28 | have : Mono ((HodgeConjecture.DegreeTwo.ThomGoodShiftFlasque.Constructions.cochainZeroHomologyAugmentation L).f 0) := HodgeConjecture.DegreeTwo.ResolutionHomotopy.Constructions.cochainZeroHomologyAugmentation_zero_mono L |
| 29 | apply (cancel_mono ((HodgeConjecture.DegreeTwo.ThomGoodShiftFlasque.Constructions.cochainZeroHomologyAugmentation L).f 0)).mp |
| 30 | have hc : HomologicalComplex.homologyMap f 0 ≫ (HodgeConjecture.DegreeTwo.ThomGoodShiftFlasque.Constructions.cochainZeroHomologyAugmentation L).f 0 = |
| 31 | (HodgeConjecture.DegreeTwo.ThomGoodShiftFlasque.Constructions.cochainZeroHomologyAugmentation K).f 0 ≫ f.f 0 := by |
| 32 | simpa only [HomologicalComplex.comp_f, CochainComplex.single₀_map_f_zero] using |
| 33 | congrArg (fun g => g.f 0) (HodgeConjecture.DegreeTwo.ThomResolutionDiagram.Constructions.cochainZeroHomologyAugmentation_naturality f) |
| 34 | rw [Category.assoc, hc, ← Category.assoc, hi, hf, Category.assoc, hj] |
| 35 | |
| 36 | end ZeroNaturality |
| 37 | |
| 38 | variable {X : TopCat.{0}} |
| 39 | |
| 40 | def nativeSectionCohomologyMapOfZero (K : CochainComplex (TopCat.Sheaf AddCommGrpCat.{0} X) ℕ) |
| 41 | (he : ∀ q, K.ExactAt (q + 1)) {F : TopCat.Sheaf AddCommGrpCat.{0} X} |
| 42 | (e : F ≅ K.homology 0) (n : ℕ) : |
| 43 | (CycleClass.Geometric.FlasqueLowDegree.Cycles.sheafGlobalSectionsComplex K).homology (n + 1) ⟶ |
| 44 | (CategoryTheory.Sheaf.functorH (Opens.grothendieckTopology X) (n + 1)).obj F := |
| 45 | SectionCohomologyMap.nativeSectionCohomologyMap K he n ≫ |
| 46 | (CategoryTheory.Sheaf.functorH (Opens.grothendieckTopology X) (n + 1)).map e.inv |
| 47 | |
| 48 | theorem nativeSectionCohomologyMapOfZero_naturality |
| 49 | {K L : CochainComplex (TopCat.Sheaf AddCommGrpCat.{0} X) ℕ} (f : K ⟶ L) |
| 50 | (heK : ∀ q, K.ExactAt (q + 1)) (heL : ∀ q, L.ExactAt (q + 1)) |
| 51 | {F G : TopCat.Sheaf AddCommGrpCat.{0} X} (u : F ⟶ G) |
| 52 | (eF : F ≅ K.homology 0) (eG : G ≅ L.homology 0) |
| 53 | (hzero : eF.hom ≫ HomologicalComplex.homologyMap f 0 = u ≫ eG.hom) (n : ℕ) : |
| 54 | HomologicalComplex.homologyMap (((CycleClass.Geometric.FlasqueLowDegree.Cycles.sheafGlobalSections X).mapHomologicalComplex (.up ℕ)).map f) (n + 1) ≫ |
| 55 | nativeSectionCohomologyMapOfZero L heL eG n = |
| 56 | nativeSectionCohomologyMapOfZero K heK eF n ≫ |
| 57 | (CategoryTheory.Sheaf.functorH (Opens.grothendieckTopology X) (n + 1)).map u := by |
| 58 | have hi : HomologicalComplex.homologyMap f 0 ≫ eG.inv = eF.inv ≫ u := by |
| 59 | apply eF.eq_inv_comp.mpr |
| 60 | rw [← Category.assoc, hzero, Category.assoc, Iso.hom_inv_id, Category.comp_id] |
| 61 | unfold nativeSectionCohomologyMapOfZero |
| 62 | rw [← Category.assoc, SectionNaturality.nativeSectionCohomologyMap_naturality, Category.assoc, |
| 63 | ← Functor.map_comp, hi, Functor.map_comp, ← Category.assoc] |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.DivisorClass.Chern.Intrinsic.AugmentationNaturality |