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.FormalCechFunctor |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.CofaceFunctor |
| 3 | import Mathlib.CategoryTheory.Sites.SheafCohomology.Cech |
| 4 | |
| 5 | /-! # Functor -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Cech.Functor |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Additive product-preserving functors commute naturally with the actual Čech complex. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 14 | open scoped Simplicial |
| 15 | |
| 16 | variable {C A B : Type*} [Category* C] [Category* A] [Category* B] |
| 17 | [HasProducts.{0} A] [HasProducts.{0} B] [Preadditive A] [Preadditive B] |
| 18 | (G : A ⥤ B) [G.Additive] [PreservesLimitsOfSize.{0, 0} G] |
| 19 | |
| 20 | def formalCosimplicialCompIso (E : SimplicialObject (FormalCoproduct.{0} C)) (P : Cᵒᵖ ⥤ A) : |
| 21 | ((FormalCoproduct.cosimplicialObjectFunctor E).obj P) ⋙ G ≅ |
| 22 | (FormalCoproduct.cosimplicialObjectFunctor E).obj (P ⋙ G) := |
| 23 | Functor.associator E.rightOp ((FormalCoproduct.evalOp C A).obj P) G ≪≫ |
| 24 | Functor.isoWhiskerLeft E.rightOp (FormalCechFunctor.formalEvalCompIso G P) |
| 25 | |
| 26 | def formalCechCompIso (E : SimplicialObject (FormalCoproduct.{0} C)) (P : Cᵒᵖ ⥤ A) : |
| 27 | (G.mapHomologicalComplex (.up ℕ)).obj ((FormalCoproduct.cochainComplexFunctor E).obj P) ≅ |
| 28 | (FormalCoproduct.cochainComplexFunctor E).obj (P ⋙ G) := |
| 29 | CofaceFunctor.Cech.cofaceFunctorIso G ((FormalCoproduct.cosimplicialObjectFunctor E).obj P) ≪≫ |
| 30 | (AlgebraicTopology.alternatingCofaceMapComplex B).mapIso (formalCosimplicialCompIso G E P) |
| 31 | |
| 32 | theorem formalCechCompIso_hom_f |
| 33 | (E : SimplicialObject (FormalCoproduct.{0} C)) (P : Cᵒᵖ ⥤ A) (n : ℕ) : |
| 34 | (formalCechCompIso G E P).hom.f n = |
| 35 | (FormalCechFunctor.formalEvalCompIso G P).hom.app (E.rightOp.obj ⦋n⦌) := by |
| 36 | change 𝟙 _ ≫ (𝟙 _ ≫ (FormalCechFunctor.formalEvalCompIso G P).hom.app (E.rightOp.obj ⦋n⦌)) = _ |
| 37 | simp only [Category.id_comp] |
| 38 | |
| 39 | theorem formalCechCompIso_naturality (E : SimplicialObject (FormalCoproduct.{0} C)) |
| 40 | {P Q : Cᵒᵖ ⥤ A} (f : P ⟶ Q) : |
| 41 | (G.mapHomologicalComplex (.up ℕ)).map ((FormalCoproduct.cochainComplexFunctor E).map f) ≫ |
| 42 | (formalCechCompIso G E Q).hom = |
| 43 | (formalCechCompIso G E P).hom ≫ |
| 44 | (FormalCoproduct.cochainComplexFunctor E).map (Functor.whiskerRight f G) := by |
| 45 | apply HomologicalComplex.Hom.ext |
| 46 | funext n |
| 47 | simp only [HomologicalComplex.comp_f, formalCechCompIso_hom_f] |
| 48 | exact FormalCechFunctor.formalEvalCompIso_naturality G f (E.rightOp.obj ⦋n⦌) |
| 49 | |
| 50 | def cechComplexFunctorComparison [HasFiniteProducts C] {ι : Type} (U : ι → C) : |
| 51 | cechComplexFunctor U ⋙ G.mapHomologicalComplex (.up ℕ) ≅ |
| 52 | (Functor.whiskeringRight Cᵒᵖ A B).obj G ⋙ cechComplexFunctor U := |
| 53 | NatIso.ofComponents (fun P => formalCechCompIso G (FormalCoproduct.mk _ U).cech P) |
| 54 | (fun f => formalCechCompIso_naturality G (FormalCoproduct.mk _ U).cech f) |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.Comparison.Betti.Cech.Functor |