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.LinearHomForget |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.Acyclic.HomNaturality |
| 3 | import Mathlib.Algebra.Homology.DerivedCategory.Linear |
| 4 | |
| 5 | /-! # Linear Hom Derived -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Acyclic.LinearHomDerived.Ext |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The acyclic-complex hypercohomology calculation preserves the original scalar action. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Abelian |
| 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 | {R : Type v} [CommRing R] [Linear R C] |
| 20 | (A : C) (K : CochainComplex C ℤ) (b : ℤ) [K.IsStrictlyGE b] |
| 21 | |
| 22 | def acyclicLinearHomCohomologyDerivedEquiv |
| 23 | (hExt : ∀ p q, Subsingleton (Ext A (K.X p) (q + 1))) (n : ℤ) : |
| 24 | (LinearHomForget.Ext.integerLinearHomComplex (R := R) A K).homology n ≃ₗ[R] |
| 25 | ((DerivedCategory.singleFunctor C 0).obj A ⟶ (DerivedCategory.Q.obj K)⟦n⟧) where |
| 26 | toAddEquiv := (LinearHomForget.Ext.integerLinearHomologyForgetEquiv (R := R) A K n).trans |
| 27 | (HomDerived.Ext.acyclicHomCohomologyDerivedEquiv A K b hExt n) |
| 28 | map_smul' r a := by |
| 29 | let E := HomDerived.Ext.acyclicHomCohomologyDerivedEquiv A K b hExt n |
| 30 | let e := LinearHomForget.Ext.integerLinearHomologyForgetEquiv (R := R) A K n |
| 31 | change E (e (r • a)) = r • E (e a) |
| 32 | have h₁ := congrArg E (LinearHomForget.Ext.integerLinearHomologyForgetEquiv_smul A K n r a) |
| 33 | have h₂ := HomNaturality.Ext.acyclicHomCohomologyDerivedEquiv_naturality A K K b b hExt hExt |
| 34 | (r • 𝟙 K) n (e a) |
| 35 | have h₃ : E (e a) ≫ (DerivedCategory.Q.map (r • 𝟙 K))⟦n⟧' = r • E (e a) := by |
| 36 | simp only [CategoryTheory.Functor.map_smul, CategoryTheory.Functor.map_id, |
| 37 | Linear.comp_smul, Category.comp_id] |
| 38 | exact h₁.trans (h₂.trans h₃) |
| 39 | |
| 40 | end |
| 41 | |
| 42 | end OAI.AlgebraicGeometry.Comparison.Betti.Acyclic.LinearHomDerived.Ext |