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 | |
| 3 | /-! # Hom Naturality -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Acyclic.HomNaturality.Ext |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The acyclic-complex calculation is natural for actual maps of complexes. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.Abelian Opposite |
| 12 | |
| 13 | universe u v w w' |
| 14 | |
| 15 | variable {C : Type u} [Category.{v} C] [Abelian C] [HasDerivedCategory.{w'} C] |
| 16 | |
| 17 | theorem derivedSingleCocycle_postcomp {A : C} {K L : CochainComplex C ℤ} {n : ℤ} |
| 18 | (z : A ⟶ K.X n) (hz : z ≫ K.d n (n + 1) = 0) (f : K ⟶ L) : |
| 19 | ShiftedHom.map (SingleCocycleFunctor.Ext.singleCocycleHom (z ≫ f.f n) |
| 20 | (by rw [Category.assoc, f.comm, ← Category.assoc, hz, zero_comp])) DerivedCategory.Q = |
| 21 | ShiftedHom.map (SingleCocycleFunctor.Ext.singleCocycleHom z hz) DerivedCategory.Q ≫ |
| 22 | (DerivedCategory.Q.map f)⟦n⟧' := by |
| 23 | rw [ResolutionCocycleNaturality.Ext.singleCocycleHom_postcomp] |
| 24 | have h := ShiftedHom.map_comp (SingleCocycleFunctor.Ext.singleCocycleHom z hz) |
| 25 | (ShiftedHom.mk₀ (0 : ℤ) rfl f) (zero_add n) DerivedCategory.Q |
| 26 | simpa only [ShiftedHom.comp_mk₀, ShiftedHom.map_mk₀] using h |
| 27 | |
| 28 | variable [EnoughInjectives C] [HasExt.{w} C] (A : C) |
| 29 | (K L : CochainComplex C ℤ) (b c : ℤ) [K.IsStrictlyGE b] [L.IsStrictlyGE c] |
| 30 | |
| 31 | theorem acyclicHomCohomologyDerivedEquiv_naturality |
| 32 | (hK : ∀ p q, Subsingleton (Ext A (K.X p) (q + 1))) |
| 33 | (hL : ∀ p q, Subsingleton (Ext A (L.X p) (q + 1))) |
| 34 | (f : K ⟶ L) (n : ℤ) (a : (IntegerAcyclicHomComplex.Ext.integerHomComplex A K).homology n) : |
| 35 | HomDerived.Ext.acyclicHomCohomologyDerivedEquiv A L c hL n |
| 36 | (HomologicalComplex.homologyMap |
| 37 | (((preadditiveCoyoneda.obj (op A)).mapHomologicalComplex (.up ℤ)).map f) n a) = |
| 38 | HomDerived.Ext.acyclicHomCohomologyDerivedEquiv A K b hK n a ≫ (DerivedCategory.Q.map f)⟦n⟧' := by |
| 39 | obtain ⟨z, hz, rfl⟩ := AbCochainClasses.Homology.cochainClass_surjective (IntegerAcyclicHomComplex.Ext.integerHomComplex A K) n a |
| 40 | change A ⟶ K.X n at z |
| 41 | change z ≫ K.d n (n + 1) = 0 at hz |
| 42 | let H : IntegerAcyclicHomComplex.Ext.integerHomComplex A K ⟶ IntegerAcyclicHomComplex.Ext.integerHomComplex A L := |
| 43 | ((preadditiveCoyoneda.obj (op A)).mapHomologicalComplex (.up ℤ)).map f |
| 44 | have hz' : (z ≫ f.f n) ≫ L.d n (n + 1) = 0 := by |
| 45 | rw [Category.assoc, f.comm, ← Category.assoc, hz, zero_comp] |
| 46 | have h₁ := congrArg (HomDerived.Ext.acyclicHomCohomologyDerivedEquiv A L c hL n) |
| 47 | (AbCochainClasses.Homology.cochainClass_naturality n H z hz) |
| 48 | have h₂ := CocycleNormalization.Ext.acyclicHomCohomologyDerivedEquiv_class A L c hL n (z ≫ f.f n) hz' |
| 49 | have h₃ := derivedSingleCocycle_postcomp z hz f |
| 50 | have h₄ := congrArg (fun g => g ≫ (DerivedCategory.Q.map f)⟦n⟧') |
| 51 | (CocycleNormalization.Ext.acyclicHomCohomologyDerivedEquiv_class A K b hK n z hz).symm |
| 52 | exact h₁.trans (h₂.trans (h₃.trans h₄)) |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.Comparison.Betti.Acyclic.HomNaturality.Ext |