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.InjectiveReplacement |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.InjectiveHomCohomology |
| 3 | |
| 4 | /-! # Hom Derived -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Acyclic.HomDerived.Ext |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Cohomology of Hom computes hypercohomology for bounded-below complexes of Ext-acyclic terms. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Abelian |
| 13 | |
| 14 | universe u v w w' |
| 15 | |
| 16 | variable {C : Type u} [Category.{v} C] [Abelian C] [EnoughInjectives C] |
| 17 | [HasExt.{w} C] [HasDerivedCategory.{w'} C] |
| 18 | (A : C) (K : CochainComplex C ℤ) (b : ℤ) [K.IsStrictlyGE b] |
| 19 | |
| 20 | def acyclicHomCohomologyDerivedEquiv |
| 21 | (hExt : ∀ p q, Subsingleton (Ext A (K.X p) (q + 1))) (n : ℤ) : |
| 22 | (IntegerAcyclicHomComplex.Ext.integerHomComplex A K).homology n ≃+ |
| 23 | ((DerivedCategory.singleFunctor C 0).obj A ⟶ (DerivedCategory.Q.obj K)⟦n⟧) := by |
| 24 | let I := InjectiveReplacement.Ext.boundedInjectiveReplacement K b |
| 25 | let e₁ := (InjectiveReplacement.Ext.boundedInjectiveReplacementHomologyIso K b A hExt n).addCommGroupIsoToAddEquiv |
| 26 | let e₂ := InjectiveHomCohomology.Ext.kInjectiveHomCohomologyDerivedEquiv A I n |
| 27 | have : IsIso (DerivedCategory.Q.map (InjectiveReplacement.Ext.boundedInjectiveReplacementMap K b)) := |
| 28 | (DerivedCategory.isIso_Q_map_iff_quasiIso C _).mpr inferInstance |
| 29 | let e := (shiftFunctor (DerivedCategory C) n).mapIso |
| 30 | (asIso (DerivedCategory.Q.map (InjectiveReplacement.Ext.boundedInjectiveReplacementMap K b))).symm |
| 31 | exact e₁.trans (e₂.trans (Linear.homCongr ℤ (Iso.refl _) e).toAddEquiv) |
| 32 | |
| 33 | end |
| 34 | |
| 35 | end OAI.AlgebraicGeometry.Comparison.Betti.Acyclic.HomDerived.Ext |