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.Acyclic.CocycleNormalization |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.Acyclic.HomNaturality |
| 3 | import OAI.AlgebraicGeometry.Comparison.Betti.Derived.CocycleFunctor |
| 4 | |
| 5 | /-! # Acyclic Exact -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.AcyclicExact.AcyclicExactFunctorNaturality |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual acyclic hypercohomology comparison commutes with exact functors and maps of complexes. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory Limits Abelian Opposite |
| 14 | |
| 15 | universe u u' v w w' z z' |
| 16 | |
| 17 | variable {C : Type u} [Category.{v} C] [Abelian C] [HasExt.{w} C] [HasDerivedCategory.{z} C] |
| 18 | {D : Type u'} [Category.{v} D] [Abelian D] [HasExt.{w'} D] [HasDerivedCategory.{z'} D] |
| 19 | (F : C ⥤ D) [F.Additive] (A : C) |
| 20 | {K : CochainComplex C ℤ} {L : CochainComplex D ℤ} |
| 21 | (φ : (F.mapHomologicalComplex (.up ℤ)).obj K ⟶ L) |
| 22 | |
| 23 | def complexMap : AlgebraicGeometry.Comparison.Betti.IntegerAcyclicHomComplex.Ext.integerHomComplex A K ⟶ AlgebraicGeometry.Comparison.Betti.IntegerAcyclicHomComplex.Ext.integerHomComplex (F.obj A) L where |
| 24 | f n := AddCommGrpCat.ofHom |
| 25 | ((Preadditive.rightComp (F.obj A) (φ.f n)).comp (F.mapAddHom (X := A) (Y := K.X n))) |
| 26 | comm' n m _ := by |
| 27 | ext a |
| 28 | change (F.map a ≫ φ.f n) ≫ L.d n m = F.map (a ≫ K.d n m) ≫ φ.f m |
| 29 | exact (Category.assoc _ _ _).trans |
| 30 | ((congrArg (fun k => F.map a ≫ k) (φ.comm n m)).trans |
| 31 | ((Category.assoc _ _ _).symm.trans |
| 32 | (congrArg (fun k => k ≫ φ.f m) (F.map_comp a (K.d n m)).symm))) |
| 33 | |
| 34 | omit [HasExt C] [HasDerivedCategory C] [HasExt D] [HasDerivedCategory D] in |
| 35 | theorem closed (n : ℤ) (a : A ⟶ K.X n) (ha : a ≫ K.d n (n + 1) = 0) : |
| 36 | (F.map a ≫ φ.f n) ≫ L.d n (n + 1) = 0 := |
| 37 | AlgebraicGeometry.Comparison.Betti.AbCochainClasses.Homology.map_closed n (complexMap F A φ) a ha |
| 38 | |
| 39 | variable [PreservesFiniteLimits F] [PreservesFiniteColimits F] |
| 40 | |
| 41 | def derivedMap (n : ℤ) |
| 42 | (a : (DerivedCategory.singleFunctor C 0).obj A ⟶ (DerivedCategory.Q.obj K)⟦n⟧) : |
| 43 | (DerivedCategory.singleFunctor D 0).obj (F.obj A) ⟶ (DerivedCategory.Q.obj L)⟦n⟧ := |
| 44 | ((F.mapDerivedCategorySingleFunctor 0).inv.app A ≫ ShiftedHom.map a F.mapDerivedCategory ≫ |
| 45 | (F.mapDerivedCategoryFactors.hom.app K)⟦n⟧') ≫ (DerivedCategory.Q.map φ)⟦n⟧' |
| 46 | |
| 47 | omit [HasExt C] [HasExt D] in |
| 48 | theorem derivedMap_class (n : ℤ) (a : A ⟶ K.X n) (ha : a ≫ K.d n (n + 1) = 0) : |
| 49 | derivedMap F A φ n (ShiftedHom.map (AlgebraicGeometry.Comparison.Betti.SingleCocycleFunctor.Ext.singleCocycleHom a ha) DerivedCategory.Q) = |
| 50 | ShiftedHom.map (AlgebraicGeometry.Comparison.Betti.SingleCocycleFunctor.Ext.singleCocycleHom (F.map a ≫ φ.f n) (closed F A φ n a ha)) |
| 51 | DerivedCategory.Q := by |
| 52 | have hF : F.map a ≫ ((F.mapHomologicalComplex (.up ℤ)).obj K).d n (n + 1) = 0 := by |
| 53 | change F.map a ≫ F.map (K.d n (n + 1)) = 0 |
| 54 | rw [← F.map_comp, ha, F.map_zero] |
| 55 | exact (congrArg (fun k : (DerivedCategory.singleFunctor D 0).obj (F.obj A) ⟶ |
| 56 | (DerivedCategory.Q.obj ((F.mapHomologicalComplex (.up ℤ)).obj K))⟦n⟧ => |
| 57 | k ≫ (DerivedCategory.Q.map φ)⟦n⟧') |
| 58 | (AlgebraicGeometry.Comparison.Betti.Derived.CocycleFunctor.Ext.singleCocycleHom_derived_map F a ha)).trans |
| 59 | (AlgebraicGeometry.Comparison.Betti.Acyclic.HomNaturality.Ext.derivedSingleCocycle_postcomp (K := (F.mapHomologicalComplex (.up ℤ)).obj K) |
| 60 | (L := L) (n := n) (F.map a) hF φ).symm |
| 61 | |
| 62 | variable [EnoughInjectives C] [EnoughInjectives D] |
| 63 | |
| 64 | theorem naturality (b c : ℤ) [K.IsStrictlyGE b] [L.IsStrictlyGE c] |
| 65 | (hK : ∀ p q, Subsingleton (Ext.{w} A (K.X p) (q + 1))) |
| 66 | (hL : ∀ p q, Subsingleton (Ext.{w'} (F.obj A) (L.X p) (q + 1))) |
| 67 | (n : ℤ) (x : (AlgebraicGeometry.Comparison.Betti.IntegerAcyclicHomComplex.Ext.integerHomComplex A K).homology n) : |
| 68 | AlgebraicGeometry.Comparison.Betti.Acyclic.HomDerived.Ext.acyclicHomCohomologyDerivedEquiv (F.obj A) L c hL n |
| 69 | (HomologicalComplex.homologyMap (complexMap F A φ) n x) = |
| 70 | derivedMap F A φ n (AlgebraicGeometry.Comparison.Betti.Acyclic.HomDerived.Ext.acyclicHomCohomologyDerivedEquiv A K b hK n x) := by |
| 71 | obtain ⟨a, ha, rfl⟩ := AlgebraicGeometry.Comparison.Betti.AbCochainClasses.Homology.cochainClass_surjective (AlgebraicGeometry.Comparison.Betti.IntegerAcyclicHomComplex.Ext.integerHomComplex A K) n x |
| 72 | change A ⟶ K.X n at a |
| 73 | change a ≫ K.d n (n + 1) = 0 at ha |
| 74 | have h₁ := congrArg (AlgebraicGeometry.Comparison.Betti.Acyclic.HomDerived.Ext.acyclicHomCohomologyDerivedEquiv (F.obj A) L c hL n) |
| 75 | (AlgebraicGeometry.Comparison.Betti.AbCochainClasses.Homology.cochainClass_naturality n (complexMap F A φ) a ha) |
| 76 | have h₂ := AlgebraicGeometry.Comparison.Betti.Acyclic.CocycleNormalization.Ext.acyclicHomCohomologyDerivedEquiv_class (F.obj A) L c hL n |
| 77 | (F.map a ≫ φ.f n) (AlgebraicGeometry.Comparison.Betti.AbCochainClasses.Homology.map_closed n (complexMap F A φ) a ha) |
| 78 | have h₃ := (derivedMap_class F A φ n a ha).symm |
| 79 | have h₄ := congrArg (derivedMap F A φ n) |
| 80 | (AlgebraicGeometry.Comparison.Betti.Acyclic.CocycleNormalization.Ext.acyclicHomCohomologyDerivedEquiv_class A K b hK n a ha).symm |
| 81 | exact h₁.trans (h₂.trans (h₃.trans h₄)) |
| 82 | |
| 83 | end |
| 84 | |
| 85 | end OAI.NumberTheory.PadicHodge.GeometricComparison.AcyclicExact.AcyclicExactFunctorNaturality |