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.HomFunctor |
| 2 | |
| 3 | /-! # Functor Naturality -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Acyclic.FunctorNaturality.Ext |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The acyclic Hom calculation intertwines the actual coefficient comparison with the normalized derived functor map. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.Abelian |
| 12 | |
| 13 | universe u u' v w w' e e' |
| 14 | |
| 15 | variable {C : Type u} [Category.{v} C] [Abelian C] [EnoughInjectives C] |
| 16 | [HasExt.{e} C] [HasDerivedCategory.{w} C] |
| 17 | {D : Type u'} [Category.{v} D] [Abelian D] [EnoughInjectives D] |
| 18 | [HasExt.{e'} D] [HasDerivedCategory.{w'} D] |
| 19 | (F : C ⥤ D) [F.Additive] [PreservesFiniteLimits F] [PreservesFiniteColimits F] |
| 20 | (A : C) (A' : D) (a : A' ⟶ F.obj A) |
| 21 | (K : CochainComplex C ℤ) (L : CochainComplex D ℤ) |
| 22 | (b c : ℤ) [K.IsStrictlyGE b] [L.IsStrictlyGE c] |
| 23 | |
| 24 | theorem acyclicHomCohomologyDerivedEquiv_functor |
| 25 | (hK : ∀ p q, Subsingleton (Ext A (K.X p) (q + 1))) |
| 26 | (hL : ∀ p q, Subsingleton (Ext A' (L.X p) (q + 1))) |
| 27 | (β : (F.mapHomologicalComplex (.up ℤ)).obj K ⟶ L) |
| 28 | (n : ℤ) (x : (IntegerAcyclicHomComplex.Ext.integerHomComplex A K).homology n) : |
| 29 | HomDerived.Ext.acyclicHomCohomologyDerivedEquiv A' L c hL n |
| 30 | (HomologicalComplex.homologyMap (HomFunctor.Ext.integerHomFunctorComparison F a β) n x) = |
| 31 | (DerivedCategory.singleFunctor D 0).map a ≫ |
| 32 | (F.mapDerivedCategorySingleFunctor 0).inv.app A ≫ |
| 33 | ShiftedHom.map (HomDerived.Ext.acyclicHomCohomologyDerivedEquiv A K b hK n x) F.mapDerivedCategory ≫ |
| 34 | (F.mapDerivedCategoryFactors.hom.app K ≫ DerivedCategory.Q.map β)⟦n⟧' := by |
| 35 | obtain ⟨z, hz, rfl⟩ := AbCochainClasses.Homology.cochainClass_surjective (IntegerAcyclicHomComplex.Ext.integerHomComplex A K) n x |
| 36 | change A ⟶ K.X n at z |
| 37 | change z ≫ K.d n (n + 1) = 0 at hz |
| 38 | let H := HomFunctor.Ext.integerHomFunctorComparison F a β |
| 39 | have hzβ : (F.map z ≫ β.f n) ≫ L.d n (n + 1) = 0 := by |
| 40 | erw [Category.assoc, β.comm, ← Category.assoc] |
| 41 | change (F.map z ≫ F.map (K.d n (n + 1))) ≫ β.f (n + 1) = 0 |
| 42 | rw [← F.map_comp, hz, F.map_zero] |
| 43 | exact zero_comp |
| 44 | have hza : (a ≫ F.map z ≫ β.f n) ≫ L.d n (n + 1) = 0 := |
| 45 | (Category.assoc _ _ _).trans ((congrArg (a ≫ ·) hzβ).trans comp_zero) |
| 46 | have hc := (congrArg (HomDerived.Ext.acyclicHomCohomologyDerivedEquiv A' L c hL n) |
| 47 | (AbCochainClasses.Homology.cochainClass_naturality n H z hz)).trans |
| 48 | (CocycleNormalization.Ext.acyclicHomCohomologyDerivedEquiv_class A' L c hL n (a ≫ F.map z ≫ β.f n) hza) |
| 49 | have hp := Derived.Cocycle.Ext.derivedSingleCocycle_precomp a (F.map z ≫ β.f n) hzβ |
| 50 | have hF := Derived.Cocycle.Ext.derivedSingleCocycle_functor_postcomp F z hz β |
| 51 | have hs := CocycleNormalization.Ext.acyclicHomCohomologyDerivedEquiv_class A K b hK n z hz |
| 52 | exact hc.trans (hp.trans ((congrArg ((DerivedCategory.singleFunctor D 0).map a ≫ ·) hF.symm).trans |
| 53 | (congrArg (fun t => (DerivedCategory.singleFunctor D 0).map a ≫ |
| 54 | (F.mapDerivedCategorySingleFunctor 0).inv.app A ≫ ShiftedHom.map t F.mapDerivedCategory ≫ |
| 55 | (F.mapDerivedCategoryFactors.hom.app K ≫ DerivedCategory.Q.map β)⟦n⟧') hs.symm))) |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.Comparison.Betti.Acyclic.FunctorNaturality.Ext |