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.NumberTheory.PadicHodge.GeometricComparison.NonemptyCech.Refinement |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.NonemptyCech.ProductBicomplex |
| 3 | import OAI.AlgebraicGeometry.Comparison.Betti.TotalExists |
| 4 | |
| 5 | /-! # Refined Reindex -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.CechPresheaf.RefinedReindex.CechPresheafRefinedReindex |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A projected refinement acts on the original Cech bicomplex of a |
| 12 | presheaf complex, naturally in the entire presheaf complex. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 15 | |
| 16 | universe u v s t a b |
| 17 | variable {C : Type u} [Category.{v} C] [HasBinaryProducts C] |
| 18 | {D : Type s} [Category.{t} D] [Quiver.IsThin D] [HasBinaryProducts D] |
| 19 | {A : Type a} [Category.{b} A] [Abelian A] [HasProducts.{0} A] [HasCoproducts.{0} A] |
| 20 | (F : C ⥤ D) {ι κ : Type} (U : ι → C) (V : κ → D) |
| 21 | [∀ (n : ℕ) (t : Fin (n + 1) → ι), PreservesLimit (Discrete.functor (U ∘ t)) F] |
| 22 | (r : FormalCoproduct.mk ι (F.obj ∘ U) ⟶ FormalCoproduct.mk κ V) |
| 23 | |
| 24 | local notation "H" => OAI.NumberTheory.PadicHodge.GeometricComparison.NonemptyCech.ProductBicomplex.NonemptyCechProductBicomplex.pullback (A := A) F |
| 25 | |
| 26 | def transformation : IntegralComparison.NonemptyCechNerve.complexFunctor (A := A) V ⟶ |
| 27 | H ⋙ IntegralComparison.NonemptyCechNerve.complexFunctor (A := A) U := |
| 28 | NonemptyCech.Refinement.NonemptyCechRefinement.transformation V (F.obj ∘ U) r ≫ |
| 29 | (NonemptyCech.ProductBaseChangeNaturality.NonemptyCechProductBaseChangeNaturality.iso F U).inv |
| 30 | |
| 31 | def source : CochainComplex (Dᵒᵖ ⥤ A) ℕ ⥤ HomologicalComplex₂ A (.up ℕ) (.up ℕ) := |
| 32 | (IntegralComparison.NonemptyCechNerve.complexFunctor V).mapHomologicalComplex (.up ℕ) |
| 33 | |
| 34 | def target : CochainComplex (Dᵒᵖ ⥤ A) ℕ ⥤ HomologicalComplex₂ A (.up ℕ) (.up ℕ) := |
| 35 | (H ⋙ IntegralComparison.NonemptyCechNerve.complexFunctor U).mapHomologicalComplex (.up ℕ) |
| 36 | |
| 37 | def bicomplexMap (K : CochainComplex (Dᵒᵖ ⥤ A) ℕ) : (source V).obj K ⟶ (target F U).obj K := |
| 38 | ((transformation F U V r).mapHomologicalComplex (.up ℕ)).app K |
| 39 | |
| 40 | local instance hasTotal (K : HomologicalComplex₂ A (.up ℕ) (.up ℕ)) : K.HasTotal (.up ℕ) := |
| 41 | AlgebraicGeometry.Comparison.Betti.TotalExists.hasTotal_of_finiteCoproducts K |
| 42 | |
| 43 | def map (K : CochainComplex (Dᵒᵖ ⥤ A) ℕ) : ((source V).obj K).total (.up ℕ) ⟶ |
| 44 | ((target F U).obj K).total (.up ℕ) := |
| 45 | HomologicalComplex₂.total.map (bicomplexMap F U V r K) (.up ℕ) |
| 46 | |
| 47 | omit [HasCoproducts.{0} A] in |
| 48 | theorem bicomplex_naturality {K L : CochainComplex (Dᵒᵖ ⥤ A) ℕ} (f : K ⟶ L) : |
| 49 | (source V).map f ≫ bicomplexMap F U V r L = bicomplexMap F U V r K ≫ (target F U).map f := |
| 50 | ((transformation F U V r).mapHomologicalComplex (.up ℕ)).naturality f |
| 51 | |
| 52 | theorem naturality {K L : CochainComplex (Dᵒᵖ ⥤ A) ℕ} (f : K ⟶ L) : |
| 53 | HomologicalComplex₂.total.map ((source V).map f) (.up ℕ) ≫ CechPresheafRefinedReindex.map F U V r L = |
| 54 | CechPresheafRefinedReindex.map F U V r K ≫ HomologicalComplex₂.total.map ((target F U).map f) (.up ℕ) := by |
| 55 | let T := HomologicalComplex₂.totalFunctor A (.up ℕ) (.up ℕ) (.up ℕ) |
| 56 | exact (T.map_comp _ _).symm.trans |
| 57 | ((congrArg T.map (bicomplex_naturality F U V r f)).trans (T.map_comp _ _)) |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.NumberTheory.PadicHodge.GeometricComparison.CechPresheaf.RefinedReindex.CechPresheafRefinedReindex |