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.NonnegativeExtensionNormalization |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.NonnegativeCocycleNaturality |
| 3 | import OAI.AlgebraicGeometry.Comparison.Betti.ExtCocycleNormalization |
| 4 | import OAI.AlgebraicGeometry.Comparison.Betti.ResolutionCocycleNaturality |
| 5 | |
| 6 | /-! # Nonnegative Resolution Classes -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Comparison.Betti.NonnegativeResolutionClasses.Ext |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! A normalized comparison of an actual nonnegative resolution with an |
| 13 | injective resolution preserves the original derived cocycle class. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.Abelian |
| 16 | |
| 17 | universe u v w |
| 18 | |
| 19 | variable {C : Type u} [Category.{v} C] [Abelian C] |
| 20 | {A Z : C} {K L : CochainComplex C ℕ} |
| 21 | |
| 22 | open OAI.AlgebraicGeometry.Comparison.Betti.NonnegativeExtensionNormalization.Complex |
| 23 | |
| 24 | theorem extendAugmentation_postcomp (a : (CochainComplex.single₀ C).obj Z ⟶ K) |
| 25 | (f : K ⟶ L) : |
| 26 | AugmentationExtension.Complex.extendAugmentation a ≫ HomologicalComplex.extendMap f (ComplexShape.embeddingUpIntGE 0) = |
| 27 | AugmentationExtension.Complex.extendAugmentation (a ≫ f) := by |
| 28 | unfold AugmentationExtension.Complex.extendAugmentation |
| 29 | erw [Category.assoc, ← HomologicalComplex.extendMap_comp] |
| 30 | |
| 31 | instance extendAugmentation_quasiIso (a : (CochainComplex.single₀ C).obj Z ⟶ K) |
| 32 | [QuasiIso a] : QuasiIso (AugmentationExtension.Complex.extendAugmentation a) := by |
| 33 | have h : QuasiIso (HomologicalComplex.extendMap a (ComplexShape.embeddingUpIntGE 0)) := |
| 34 | (HomologicalComplex.quasiIso_extendMap_iff a (ComplexShape.embeddingUpIntGE 0)).2 inferInstance |
| 35 | let e := HomologicalComplex.extendSingleIso (ComplexShape.embeddingUpIntGE 0) Z 0 0 (by simp) |
| 36 | have he : QuasiIso e.inv := inferInstance |
| 37 | exact quasiIso_comp e.inv _ (hφ := he) (hφ' := h) |
| 38 | |
| 39 | variable [HasDerivedCategory.{w} C] [HasExt.{w} C] |
| 40 | |
| 41 | omit [HasExt C] in |
| 42 | theorem resolutionCocycleHom_congr {Y : C} {D : CochainComplex C ℤ} {q : ℤ} |
| 43 | (a : (CochainComplex.singleFunctor C 0).obj Y ⟶ D) [QuasiIso a] |
| 44 | {z z' : A ⟶ D.X q} {hz : z ≫ D.d q (q + 1) = 0} |
| 45 | {hz' : z' ≫ D.d q (q + 1) = 0} (h : z = z') : |
| 46 | ResolutionCocycleClass.Ext.resolutionCocycleHom a z hz = ResolutionCocycleClass.Ext.resolutionCocycleHom a z' hz' := by |
| 47 | subst z' |
| 48 | rfl |
| 49 | |
| 50 | theorem normalizedResolution_extMk_hom |
| 51 | (a : (CochainComplex.single₀ C).obj Z ⟶ K) [QuasiIso a] |
| 52 | (I : InjectiveResolution Z) (f : K ⟶ I.cocomplex) (h : a ≫ f = I.ι) |
| 53 | (n : ℕ) (z : A ⟶ K.X n) (hz : z ≫ K.d n (n + 1) = 0) : |
| 54 | (I.extMk (z ≫ f.f n) (n + 1) rfl |
| 55 | (by rw [Category.assoc, f.comm, ← Category.assoc, hz, zero_comp])).hom = |
| 56 | ResolutionCocycleClass.Ext.resolutionCocycleHom (AugmentationExtension.Complex.extendAugmentation a) |
| 57 | (ExtendedAcyclicCocycles.Ext.extendedCocycle A K n z) (ExtendedAcyclicCocycles.Ext.extendedCocycle_closed A K n z hz) := by |
| 58 | let g := HomologicalComplex.extendMap f (ComplexShape.embeddingUpIntGE 0) ≫ |
| 59 | (NonnegativeExtensionNormalization.Complex.nonnegativeExtensionIso I.cocomplex).hom |
| 60 | have hn : AugmentationExtension.Complex.extendAugmentation a ≫ g = |
| 61 | (CochainComplex.singleFunctor C 0).map (𝟙 Z) ≫ I.ι' := by |
| 62 | dsimp only [g] |
| 63 | erw [← Category.assoc, extendAugmentation_postcomp, h, |
| 64 | NonnegativeExtensionNormalization.Complex.nonnegativeExtensionIso_injective_augmentation, CategoryTheory.Functor.map_id, Category.id_comp] |
| 65 | have hg : ExtendedAcyclicCocycles.Ext.extendedCocycle A K n z ≫ g.f (n : ℤ) = |
| 66 | (z ≫ f.f n) ≫ (I.cochainComplexXIso n n rfl).inv := by |
| 67 | change ExtendedAcyclicCocycles.Ext.extendedCocycle A K n z ≫ |
| 68 | ((HomologicalComplex.extendMap f (ComplexShape.embeddingUpIntGE 0)).f (n : ℤ) ≫ |
| 69 | (NonnegativeExtensionNormalization.Complex.nonnegativeExtensionIso I.cocomplex).hom.f (n : ℤ)) = _ |
| 70 | rw [← Category.assoc, NonnegativeCocycleNaturality.Ext.extendedCocycle_postcomp] |
| 71 | unfold ExtendedAcyclicCocycles.Ext.extendedCocycle |
| 72 | rw [Category.assoc, NonnegativeExtensionNormalization.Complex.nonnegativeExtensionIso_cocycle] |
| 73 | rfl |
| 74 | have hc := ResolutionCocycleNaturality.Ext.resolutionCocycleHom_postcomp (AugmentationExtension.Complex.extendAugmentation a) I.ι' g (𝟙 Z) hn |
| 75 | (ExtendedAcyclicCocycles.Ext.extendedCocycle A K n z) (ExtendedAcyclicCocycles.Ext.extendedCocycle_closed A K n z hz) |
| 76 | simp only [CategoryTheory.Functor.map_id, Category.comp_id] at hc |
| 77 | rw [ExtCocycleNormalization.extMk_hom_resolutionCocycleHom] |
| 78 | exact (resolutionCocycleHom_congr I.ι' hg.symm).trans hc |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.AlgebraicGeometry.Comparison.Betti.NonnegativeResolutionClasses.Ext |