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.HomDerived |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.InjectiveCocycleNormalization |
| 3 | import OAI.AlgebraicGeometry.Comparison.Betti.ResolutionCocycleNaturality |
| 4 | |
| 5 | /-! # Cocycle Normalization -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Acyclic.CocycleNormalization.Ext |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The acyclic-complex calculation sends every cocycle to its original derived class. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.Abelian Opposite _root_.CochainComplex.HomComplex |
| 14 | |
| 15 | universe u v w w' |
| 16 | |
| 17 | variable {C : Type u} [Category.{v} C] [Abelian C] [EnoughInjectives C] |
| 18 | [HasExt.{w} C] [HasDerivedCategory.{w'} C] |
| 19 | (A : C) (K : CochainComplex C ℤ) (b : ℤ) [K.IsStrictlyGE b] |
| 20 | |
| 21 | theorem acyclicHomCohomologyDerivedEquiv_class |
| 22 | (hExt : ∀ p q, Subsingleton (Ext A (K.X p) (q + 1))) (n : ℤ) |
| 23 | (f : A ⟶ K.X n) (hf : f ≫ K.d n (n + 1) = 0) : |
| 24 | HomDerived.Ext.acyclicHomCohomologyDerivedEquiv A K b hExt n |
| 25 | (AbCochainClasses.Homology.cochainClass (IntegerAcyclicHomComplex.Ext.integerHomComplex A K) n f hf) = |
| 26 | ShiftedHom.map (SingleCocycleFunctor.Ext.singleCocycleHom f hf) DerivedCategory.Q := by |
| 27 | let I := InjectiveReplacement.Ext.boundedInjectiveReplacement K b |
| 28 | let j := InjectiveReplacement.Ext.boundedInjectiveReplacementMap K b |
| 29 | let H : IntegerAcyclicHomComplex.Ext.integerHomComplex A K ⟶ IntegerAcyclicHomComplex.Ext.integerHomComplex A I := |
| 30 | ((preadditiveCoyoneda.obj (op A)).mapHomologicalComplex (.up ℤ)).map j |
| 31 | let Q : CochainComplex C ℤ ⥤ DerivedCategory C := DerivedCategory.Q |
| 32 | have : IsIso (Q.map j) := (DerivedCategory.isIso_Q_map_iff_quasiIso C j).mpr inferInstance |
| 33 | have hf' : (f ≫ j.f n) ≫ I.d n (n + 1) = 0 := by |
| 34 | rw [Category.assoc, j.comm, ← Category.assoc, hf, zero_comp] |
| 35 | have hc : InjectiveHomCohomology.Ext.kInjectiveHomCohomologyDerivedEquiv A I n |
| 36 | (HomologicalComplex.homologyMap H n |
| 37 | (AbCochainClasses.Homology.cochainClass (IntegerAcyclicHomComplex.Ext.integerHomComplex A K) n f hf)) = |
| 38 | ShiftedHom.map (SingleCocycleFunctor.Ext.singleCocycleHom (f ≫ j.f n) hf') Q := |
| 39 | (congrArg (InjectiveHomCohomology.Ext.kInjectiveHomCohomologyDerivedEquiv A I n) |
| 40 | (AbCochainClasses.Homology.cochainClass_naturality n H f hf)).trans |
| 41 | (InjectiveCocycleNormalization.Ext.kInjectiveHomCohomologyDerivedEquiv_class A I n (f ≫ j.f n) hf') |
| 42 | have hp : ShiftedHom.map (SingleCocycleFunctor.Ext.singleCocycleHom (f ≫ j.f n) hf') Q = |
| 43 | ShiftedHom.map (SingleCocycleFunctor.Ext.singleCocycleHom f hf) Q ≫ (Q.map j)⟦n⟧' := by |
| 44 | rw [ResolutionCocycleNaturality.Ext.singleCocycleHom_postcomp] |
| 45 | have h := ShiftedHom.map_comp (SingleCocycleFunctor.Ext.singleCocycleHom f hf) |
| 46 | (ShiftedHom.mk₀ (0 : ℤ) rfl j) (zero_add n) Q |
| 47 | simpa only [ShiftedHom.comp_mk₀, ShiftedHom.map_mk₀] using h |
| 48 | change (𝟙 _ ≫ InjectiveHomCohomology.Ext.kInjectiveHomCohomologyDerivedEquiv A I n |
| 49 | (HomologicalComplex.homologyMap H n |
| 50 | (AbCochainClasses.Homology.cochainClass (IntegerAcyclicHomComplex.Ext.integerHomComplex A K) n f hf))) ≫ |
| 51 | (inv (Q.map j))⟦n⟧' = _ |
| 52 | rw [Category.id_comp, hc, hp] |
| 53 | erw [Category.assoc, ← Functor.map_comp, |
| 54 | IsIso.hom_inv_id, CategoryTheory.Functor.map_id, Category.comp_id] |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.Comparison.Betti.Acyclic.CocycleNormalization.Ext |