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.ResolutionCocycleNaturality |
| 3 | |
| 4 | /-! # Acyclic Coefficient -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.AcyclicCoefficient.AcyclicCoefficientNaturality |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The native acyclic comparison is natural in the coefficient object as well as the complex. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory Limits Abelian Opposite |
| 13 | |
| 14 | universe u v w z |
| 15 | |
| 16 | variable {C : Type u} [Category.{v} C] [Abelian C] [HasExt.{w} C] [HasDerivedCategory.{z} C] |
| 17 | {A B : C} (v : A ⟶ B) (K : CochainComplex C ℤ) |
| 18 | |
| 19 | def complexMap : AlgebraicGeometry.Comparison.Betti.IntegerAcyclicHomComplex.Ext.integerHomComplex B K ⟶ AlgebraicGeometry.Comparison.Betti.IntegerAcyclicHomComplex.Ext.integerHomComplex A K := |
| 20 | ((preadditiveCoyoneda.map v.op).mapHomologicalComplex (.up ℤ)).app K |
| 21 | |
| 22 | omit [HasExt C] in |
| 23 | theorem derivedClass (n : ℤ) (a : B ⟶ K.X n) (ha : a ≫ K.d n (n + 1) = 0) : |
| 24 | ShiftedHom.map (AlgebraicGeometry.Comparison.Betti.SingleCocycleFunctor.Ext.singleCocycleHom (v ≫ a) (by rw [Category.assoc, ha, comp_zero])) DerivedCategory.Q = |
| 25 | (DerivedCategory.singleFunctor C 0).map v ≫ ShiftedHom.map (AlgebraicGeometry.Comparison.Betti.SingleCocycleFunctor.Ext.singleCocycleHom a ha) DerivedCategory.Q := by |
| 26 | have hs := congrArg (fun k : (CochainComplex.singleFunctor C 0).obj A ⟶ K⟦n⟧ => |
| 27 | ShiftedHom.map k DerivedCategory.Q) (AlgebraicGeometry.Comparison.Betti.ResolutionCocycleNaturality.Ext.singleCocycleHom_precomp v a ha) |
| 28 | have hm : ShiftedHom.map ((CochainComplex.singleFunctor C 0).map v ≫ AlgebraicGeometry.Comparison.Betti.SingleCocycleFunctor.Ext.singleCocycleHom a ha) |
| 29 | DerivedCategory.Q = DerivedCategory.Q.map ((CochainComplex.singleFunctor C 0).map v) ≫ |
| 30 | ShiftedHom.map (AlgebraicGeometry.Comparison.Betti.SingleCocycleFunctor.Ext.singleCocycleHom a ha) DerivedCategory.Q := by |
| 31 | simpa only [ShiftedHom.mk₀_comp, ShiftedHom.map_mk₀] using |
| 32 | ShiftedHom.map_comp (ShiftedHom.mk₀ (0 : ℤ) rfl ((CochainComplex.singleFunctor C 0).map v)) |
| 33 | (AlgebraicGeometry.Comparison.Betti.SingleCocycleFunctor.Ext.singleCocycleHom a ha) (add_zero n) DerivedCategory.Q |
| 34 | exact hs.trans hm |
| 35 | |
| 36 | variable [EnoughInjectives C] |
| 37 | |
| 38 | theorem naturality (b : ℤ) [K.IsStrictlyGE b] |
| 39 | (hA : ∀ p q, Subsingleton (Ext.{w} A (K.X p) (q + 1))) |
| 40 | (hB : ∀ p q, Subsingleton (Ext.{w} B (K.X p) (q + 1))) |
| 41 | (n : ℤ) (x : (AlgebraicGeometry.Comparison.Betti.IntegerAcyclicHomComplex.Ext.integerHomComplex B K).homology n) : |
| 42 | AlgebraicGeometry.Comparison.Betti.Acyclic.HomDerived.Ext.acyclicHomCohomologyDerivedEquiv A K b hA n |
| 43 | (HomologicalComplex.homologyMap (complexMap v K) n x) = |
| 44 | (DerivedCategory.singleFunctor C 0).map v ≫ AlgebraicGeometry.Comparison.Betti.Acyclic.HomDerived.Ext.acyclicHomCohomologyDerivedEquiv B K b hB n x := by |
| 45 | obtain ⟨a, ha, rfl⟩ := AlgebraicGeometry.Comparison.Betti.AbCochainClasses.Homology.cochainClass_surjective (AlgebraicGeometry.Comparison.Betti.IntegerAcyclicHomComplex.Ext.integerHomComplex B K) n x |
| 46 | change B ⟶ K.X n at a |
| 47 | change a ≫ K.d n (n + 1) = 0 at ha |
| 48 | have h₁ := congrArg (AlgebraicGeometry.Comparison.Betti.Acyclic.HomDerived.Ext.acyclicHomCohomologyDerivedEquiv A K b hA n) |
| 49 | (AlgebraicGeometry.Comparison.Betti.AbCochainClasses.Homology.cochainClass_naturality n (complexMap v K) a ha) |
| 50 | have h₂ := AlgebraicGeometry.Comparison.Betti.Acyclic.CocycleNormalization.Ext.acyclicHomCohomologyDerivedEquiv_class A K b hA n (v ≫ a) |
| 51 | (AlgebraicGeometry.Comparison.Betti.AbCochainClasses.Homology.map_closed n (complexMap v K) a ha) |
| 52 | have h₃ := derivedClass v K n a ha |
| 53 | have h₄ := congrArg (fun k => (DerivedCategory.singleFunctor C 0).map v ≫ k) |
| 54 | (AlgebraicGeometry.Comparison.Betti.Acyclic.CocycleNormalization.Ext.acyclicHomCohomologyDerivedEquiv_class B K b hB n a ha).symm |
| 55 | exact h₁.trans (h₂.trans (h₃.trans h₄)) |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.NumberTheory.PadicHodge.GeometricComparison.AcyclicCoefficient.AcyclicCoefficientNaturality |