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 Mathlib.AlgebraicTopology.AlternatingFaceMapComplex |
| 2 | |
| 3 | /-! # Coface Functor -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Comparison.Betti.CofaceFunctor.Cech |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Additive functors commute with the actual alternating-coface complexes. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 12 | open scoped Simplicial |
| 13 | |
| 14 | variable {A B : Type*} [Category* A] [Category* B] [Preadditive A] [Preadditive B] |
| 15 | (G : A ⥤ B) [G.Additive] |
| 16 | |
| 17 | def cofaceFunctorIso (X : CosimplicialObject A) : |
| 18 | (G.mapHomologicalComplex (.up ℕ)).obj |
| 19 | ((AlgebraicTopology.alternatingCofaceMapComplex A).obj X) ≅ |
| 20 | (AlgebraicTopology.alternatingCofaceMapComplex B).obj (X ⋙ G) := |
| 21 | HomologicalComplex.Hom.isoOfComponents (fun _ => Iso.refl _) (fun i j h => by |
| 22 | obtain rfl : i + 1 = j := h |
| 23 | change 𝟙 _ ≫ (AlgebraicTopology.AlternatingCofaceMapComplex.obj (X ⋙ G)).d i (i + 1) = |
| 24 | G.map ((AlgebraicTopology.AlternatingCofaceMapComplex.obj X).d i (i + 1)) ≫ 𝟙 _ |
| 25 | simp only [AlgebraicTopology.AlternatingCofaceMapComplex.obj, CochainComplex.of_d, |
| 26 | AlgebraicTopology.AlternatingCofaceMapComplex.objD, Category.id_comp, Category.comp_id, |
| 27 | Functor.map_sum, Functor.map_zsmul] |
| 28 | rfl) |
| 29 | |
| 30 | def cofaceFunctorCompIso : |
| 31 | AlgebraicTopology.alternatingCofaceMapComplex A ⋙ G.mapHomologicalComplex (.up ℕ) ≅ |
| 32 | (CosimplicialObject.whiskering A B).obj G ⋙ AlgebraicTopology.alternatingCofaceMapComplex B := |
| 33 | NatIso.ofComponents (cofaceFunctorIso G) (fun {X Y} f => by |
| 34 | apply HomologicalComplex.Hom.ext |
| 35 | funext n |
| 36 | change G.map (f.app ⦋n⦌) ≫ 𝟙 _ = 𝟙 _ ≫ G.map (f.app ⦋n⦌) |
| 37 | simp only [Category.comp_id, Category.id_comp]) |
| 38 | |
| 39 | end |
| 40 | |
| 41 | end OAI.AlgebraicGeometry.Comparison.Betti.CofaceFunctor.Cech |