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.Comparison.Betti.ResolutionMapExtension |
| 2 | |
| 3 | /-! # Augmentation Extension -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Comparison.Betti.AugmentationExtension.Complex |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Extend a normalized augmentation square without changing its coefficient map. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 12 | |
| 13 | open _root_.Complex |
| 14 | |
| 15 | variable {C D : Type*} [Category* C] [Category* D] [Abelian C] [Abelian D] |
| 16 | |
| 17 | def augmentationZero {Y : C} {K : CochainComplex C ℕ} |
| 18 | (a : (CochainComplex.single₀ C).obj Y ⟶ K) : Y ⟶ K.X 0 := |
| 19 | (HomologicalComplex.singleObjXSelf (ComplexShape.up ℕ) 0 Y).inv ≫ a.f 0 |
| 20 | |
| 21 | def extendAugmentation {Y : C} {K : CochainComplex C ℕ} |
| 22 | (a : (CochainComplex.single₀ C).obj Y ⟶ K) : |
| 23 | (CochainComplex.singleFunctor C 0).obj Y ⟶ K.extend (ComplexShape.embeddingUpIntGE 0) := |
| 24 | (HomologicalComplex.extendSingleIso (ComplexShape.embeddingUpIntGE 0) Y 0 0 rfl).inv ≫ |
| 25 | HomologicalComplex.extendMap a (ComplexShape.embeddingUpIntGE 0) |
| 26 | |
| 27 | theorem extendAugmentation_f_zero {Y : C} {K : CochainComplex C ℕ} |
| 28 | (a : (CochainComplex.single₀ C).obj Y ⟶ K) : |
| 29 | (extendAugmentation a).f 0 = |
| 30 | (HomologicalComplex.singleObjXSelf (ComplexShape.up ℤ) 0 Y).hom ≫ augmentationZero a ≫ |
| 31 | (K.extendXIso (ComplexShape.embeddingUpIntGE 0) (i := 0) rfl).inv := by |
| 32 | change (HomologicalComplex.extendSingleIso (ComplexShape.embeddingUpIntGE 0) Y 0 0 rfl).inv.f 0 ≫ |
| 33 | (HomologicalComplex.extendMap a (ComplexShape.embeddingUpIntGE 0)).f 0 = _ |
| 34 | erw [HomologicalComplex.extendSingleIso_inv_f, |
| 35 | HomologicalComplex.extendMap_f a (ComplexShape.embeddingUpIntGE 0) (i := 0) rfl] |
| 36 | let eS := ((CochainComplex.single₀ C).obj Y).extendXIso |
| 37 | (ComplexShape.embeddingUpIntGE 0) (i := 0) rfl |
| 38 | let eN := HomologicalComplex.singleObjXSelf (ComplexShape.up ℕ) 0 Y |
| 39 | let eI := HomologicalComplex.singleObjXSelf (ComplexShape.up ℤ) 0 Y |
| 40 | let eK := K.extendXIso (ComplexShape.embeddingUpIntGE 0) (i := 0) rfl |
| 41 | change (eI.hom ≫ eN.inv ≫ eS.inv) ≫ eS.hom ≫ a.f 0 ≫ eK.inv = |
| 42 | eI.hom ≫ (eN.inv ≫ a.f 0) ≫ eK.inv |
| 43 | simp only [Category.assoc, Iso.inv_hom_id_assoc] |
| 44 | |
| 45 | def extendCochainMap (F : C ⥤ D) [F.Additive] {K : CochainComplex C ℕ} {L : CochainComplex D ℕ} |
| 46 | (φ : (F.mapHomologicalComplex (ComplexShape.up ℕ)).obj K ⟶ L) : |
| 47 | (F.mapHomologicalComplex (ComplexShape.up ℤ)).obj (K.extend (ComplexShape.embeddingUpIntGE 0)) ⟶ |
| 48 | L.extend (ComplexShape.embeddingUpIntGE 0) := |
| 49 | (Complex.Extension.mapExtendIso F (ComplexShape.embeddingUpIntGE 0) K).hom ≫ |
| 50 | HomologicalComplex.extendMap φ (ComplexShape.embeddingUpIntGE 0) |
| 51 | |
| 52 | theorem extendCochainMap_f_zero (F : C ⥤ D) [F.Additive] |
| 53 | {K : CochainComplex C ℕ} {L : CochainComplex D ℕ} |
| 54 | (φ : (F.mapHomologicalComplex (ComplexShape.up ℕ)).obj K ⟶ L) : |
| 55 | (extendCochainMap F φ).f 0 = |
| 56 | F.map (K.extendXIso (ComplexShape.embeddingUpIntGE 0) (i := 0) rfl).hom ≫ φ.f 0 ≫ |
| 57 | (L.extendXIso (ComplexShape.embeddingUpIntGE 0) (i := 0) rfl).inv := by |
| 58 | change (Complex.Extension.mapExtendIso F (ComplexShape.embeddingUpIntGE 0) K).hom.f 0 ≫ |
| 59 | (HomologicalComplex.extendMap φ (ComplexShape.embeddingUpIntGE 0)).f 0 = _ |
| 60 | erw [HomologicalComplex.extendMap_f φ (ComplexShape.embeddingUpIntGE 0) (i := 0) rfl, |
| 61 | ← Category.assoc, ResolutionMapExtension.Complex.mapExtendIso_hom_f] |
| 62 | rfl |
| 63 | |
| 64 | theorem extendAugmentation_square (F : C ⥤ D) [F.Additive] |
| 65 | {Y : C} {Y' : D} {K : CochainComplex C ℕ} {L : CochainComplex D ℕ} |
| 66 | (a : (CochainComplex.single₀ C).obj Y ⟶ K) |
| 67 | (b : (CochainComplex.single₀ D).obj Y' ⟶ L) |
| 68 | (φ : (F.mapHomologicalComplex (ComplexShape.up ℕ)).obj K ⟶ L) |
| 69 | (u : F.obj Y ⟶ Y') (h : F.map (augmentationZero a) ≫ φ.f 0 = u ≫ augmentationZero b) : |
| 70 | Derived.ResolutionFunctor.Ext.mappedAugmentation F (extendAugmentation a) ≫ extendCochainMap F φ = |
| 71 | (CochainComplex.singleFunctor D 0).map u ≫ extendAugmentation b := by |
| 72 | apply HomologicalComplex.from_single_hom_ext |
| 73 | change (((F.mapCochainComplexSingleFunctor 0).inv.app Y).f 0 ≫ |
| 74 | F.map ((extendAugmentation a).f 0)) ≫ (extendCochainMap F φ).f 0 = |
| 75 | ((CochainComplex.singleFunctor D 0).map u).f 0 ≫ (extendAugmentation b).f 0 |
| 76 | erw [extendCochainMap_f_zero F φ, extendAugmentation_f_zero a, extendAugmentation_f_zero b, |
| 77 | HomologicalComplex.singleMapHomologicalComplex_inv_app_self, |
| 78 | HomologicalComplex.single_map_f_self] |
| 79 | let eY := HomologicalComplex.singleObjXSelf (ComplexShape.up ℤ) 0 Y |
| 80 | let eFY := HomologicalComplex.singleObjXSelf (ComplexShape.up ℤ) 0 (F.obj Y) |
| 81 | let eY' := HomologicalComplex.singleObjXSelf (ComplexShape.up ℤ) 0 Y' |
| 82 | let eK := K.extendXIso (ComplexShape.embeddingUpIntGE 0) (i := 0) rfl |
| 83 | let eL := L.extendXIso (ComplexShape.embeddingUpIntGE 0) (i := 0) rfl |
| 84 | let φ₀ : F.obj (K.X 0) ⟶ L.X 0 := φ.f 0 |
| 85 | let a₀ : Y ⟶ K.X 0 := augmentationZero a |
| 86 | let b₀ : Y' ⟶ L.X 0 := augmentationZero b |
| 87 | have h₀ : F.map a₀ ≫ φ₀ = u ≫ b₀ := h |
| 88 | change ((eFY.hom ≫ F.map eY.inv) ≫ F.map (eY.hom ≫ a₀ ≫ eK.inv)) ≫ |
| 89 | (F.map eK.hom ≫ φ₀ ≫ eL.inv) = (eFY.hom ≫ u ≫ eY'.inv) ≫ (eY'.hom ≫ b₀ ≫ eL.inv) |
| 90 | simp only [F.map_comp, Category.assoc, Iso.map_inv_hom_id_assoc, Iso.inv_hom_id_assoc] |
| 91 | rw [← Category.assoc (F.map a₀) φ₀, h₀, Category.assoc] |
| 92 | |
| 93 | end |
| 94 | |
| 95 | end OAI.AlgebraicGeometry.Comparison.Betti.AugmentationExtension.Complex |