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.Finite.TotalFunctor |
| 2 | |
| 3 | /-! # Total Coefficient Coordinates -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.TotalCoefficientCoordinates |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The canonical coefficient isomorphism on the actual finite total |
| 10 | has the expected formula on each original summand. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.HomologicalComplex₂ |
| 13 | |
| 14 | universe u v u' v' |
| 15 | variable {C : Type u} [Category.{v} C] [Preadditive C] [HasFiniteCoproducts C] |
| 16 | {D : Type u'} [Category.{v'} D] [Preadditive D] [HasFiniteCoproducts D] |
| 17 | (F : C ⥤ D) [F.Additive] (K : HomologicalComplex₂ C (.up ℕ) (.up ℕ)) |
| 18 | |
| 19 | local instance : K.HasTotal (.up ℕ) := AlgebraicGeometry.Comparison.Betti.TotalExists.hasTotal_of_finiteCoproducts K |
| 20 | local instance : (AlgebraicGeometry.Comparison.Betti.TotalComplexFunctor.mapBicomplex F K).HasTotal (.up ℕ) := |
| 21 | AlgebraicGeometry.Comparison.Betti.TotalExists.hasTotal_of_finiteCoproducts _ |
| 22 | |
| 23 | theorem injection (p q n : ℕ) (h : p+q=n) : |
| 24 | F.map (K.ιTotal (.up ℕ) p q n h) ≫ |
| 25 | (AlgebraicGeometry.Comparison.Betti.Finite.TotalFunctor.finiteTotalComparisonIso F K).inv.f n = |
| 26 | (AlgebraicGeometry.Comparison.Betti.TotalComplexFunctor.mapBicomplex F K).ιTotal (.up ℕ) p q n h := by |
| 27 | have hi : (AlgebraicGeometry.Comparison.Betti.TotalComplexFunctor.mapBicomplex F K).ιTotal (.up ℕ) p q n h ≫ |
| 28 | (AlgebraicGeometry.Comparison.Betti.Finite.TotalFunctor.finiteTotalComparisonIso F K).hom.f n = F.map (K.ιTotal (.up ℕ) p q n h) := |
| 29 | AlgebraicGeometry.Comparison.Betti.Finite.TotalFunctor.ι_finiteTotalComparisonComponent F K p q n h |
| 30 | calc |
| 31 | _ = ((AlgebraicGeometry.Comparison.Betti.TotalComplexFunctor.mapBicomplex F K).ιTotal (.up ℕ) p q n h ≫ |
| 32 | (AlgebraicGeometry.Comparison.Betti.Finite.TotalFunctor.finiteTotalComparisonIso F K).hom.f n) ≫ |
| 33 | (AlgebraicGeometry.Comparison.Betti.Finite.TotalFunctor.finiteTotalComparisonIso F K).inv.f n := congrArg (· ≫ _) hi.symm |
| 34 | _ = _ := by |
| 35 | rw [Category.assoc, ← HomologicalComplex.comp_f, Iso.hom_inv_id] |
| 36 | exact Category.comp_id _ |
| 37 | |
| 38 | end |
| 39 | |
| 40 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.TotalCoefficientCoordinates |