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.ProductComposition |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.NonemptyCech.RefinementProduct |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.CechPresheaf.RefinedReindex |
| 4 | import OAI.NumberTheory.PadicHodge.GeometricComparison.CechPresheaf.RefinementCoefficient |
| 5 | |
| 6 | /-! # Reindex Product -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.CechPresheaf.ReindexProduct.CechPresheafReindexProduct |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Projected refinement through an intermediate category agrees |
| 13 | with the original refinement after passage to actual open products. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 16 | |
| 17 | universe u v s t d e a b |
| 18 | variable {C : Type u} [Category.{v} C] [HasBinaryProducts C] |
| 19 | {D : Type s} [Category.{t} D] [Quiver.IsThin D] [HasBinaryProducts D] |
| 20 | {E : Type d} [Category.{e} E] [Quiver.IsThin E] [HasBinaryProducts E] |
| 21 | {A : Type a} [Category.{b} A] [Abelian A] [HasProducts.{0} A] |
| 22 | (F : C ⥤ D) (G : D ⥤ E) {ι κ : Type} (U : ι → C) (V : κ → D) |
| 23 | [∀ (n : ℕ) (t : Fin (n + 1) → ι), PreservesLimit (Discrete.functor (U ∘ t)) F] |
| 24 | [∀ (n : ℕ) (t : Fin (n + 1) → ι), PreservesLimit (Discrete.functor ((F.obj ∘ U) ∘ t)) G] |
| 25 | [∀ (n : ℕ) (t : Fin (n + 1) → κ), PreservesLimit (Discrete.functor (V ∘ t)) G] |
| 26 | [∀ (n : ℕ) (t : Fin (n + 1) → ι), PreservesLimit (Discrete.functor (U ∘ t)) (F ⋙ G)] |
| 27 | (r : FormalCoproduct.mk ι (F.obj ∘ U) ⟶ FormalCoproduct.mk κ V) |
| 28 | |
| 29 | theorem cochain (P : Eᵒᵖ ⥤ A) : |
| 30 | (NonemptyCech.Refinement.NonemptyCechRefinement.map V (F.obj ∘ U) r (G.op ⋙ P) ≫ |
| 31 | (NonemptyCech.ProductBaseChange.NonemptyCechProductBaseChange.complexIso F U (G.op ⋙ P)).inv) ≫ |
| 32 | (NonemptyCech.ProductBaseChange.NonemptyCechProductBaseChange.complexIso (F ⋙ G) U P).hom = |
| 33 | (NonemptyCech.ProductBaseChange.NonemptyCechProductBaseChange.complexIso G V P).hom ≫ |
| 34 | NonemptyCech.Refinement.NonemptyCechRefinement.map (G.obj ∘ V) (G.obj ∘ F.obj ∘ U) |
| 35 | (NonemptyCech.RefinementProduct.NonemptyCechRefinementProduct.mappedCover G (F.obj ∘ U) V r) P := by |
| 36 | let e₀ := NonemptyCech.ProductBaseChange.NonemptyCechProductBaseChange.complexIso F U (G.op ⋙ P) |
| 37 | let e₁ := NonemptyCech.ProductBaseChange.NonemptyCechProductBaseChange.complexIso G (F.obj ∘ U) P |
| 38 | let e₂ := NonemptyCech.ProductBaseChange.NonemptyCechProductBaseChange.complexIso (F ⋙ G) U P |
| 39 | let a := NonemptyCech.Refinement.NonemptyCechRefinement.map V (F.obj ∘ U) r (G.op ⋙ P) |
| 40 | have h : e₀.inv ≫ e₂.hom = e₁.hom := |
| 41 | (congrArg (fun x => e₀.inv ≫ x) (NonemptyCech.ProductComposition.NonemptyCechProductComposition.composition F G U P).symm).trans |
| 42 | (e₀.inv_hom_id_assoc e₁.hom) |
| 43 | exact (Category.assoc a e₀.inv e₂.hom).trans |
| 44 | ((congrArg (fun x => a ≫ x) h).trans |
| 45 | (NonemptyCech.RefinementProduct.NonemptyCechRefinementProduct.naturality G (F.obj ∘ U) V r P)) |
| 46 | |
| 47 | variable (K : CochainComplex (Eᵒᵖ ⥤ A) ℕ) |
| 48 | |
| 49 | theorem bicomplex : RefinedReindex.CechPresheafRefinedReindex.bicomplexMap F U V r |
| 50 | (((NonemptyCech.ProductBicomplex.NonemptyCechProductBicomplex.pullback (A := A) G).mapHomologicalComplex (.up ℕ)).obj K) ≫ |
| 51 | (NonemptyCech.ProductBicomplex.NonemptyCechProductBicomplex.iso (F ⋙ G) U K).hom = |
| 52 | (NonemptyCech.ProductBicomplex.NonemptyCechProductBicomplex.iso G V K).hom ≫ |
| 53 | RefinementCoefficient.CechPresheafRefinementCoefficient.bicomplexMap (G.obj ∘ V) (G.obj ∘ F.obj ∘ U) |
| 54 | (NonemptyCech.RefinementProduct.NonemptyCechRefinementProduct.mappedCover G (F.obj ∘ U) V r) K := by |
| 55 | apply HomologicalComplex.Hom.ext |
| 56 | funext q |
| 57 | exact cochain F G U V r (K.X q) |
| 58 | |
| 59 | variable [HasCoproducts.{0} A] |
| 60 | |
| 61 | theorem total : RefinedReindex.CechPresheafRefinedReindex.map F U V r |
| 62 | (((NonemptyCech.ProductBicomplex.NonemptyCechProductBicomplex.pullback (A := A) G).mapHomologicalComplex (.up ℕ)).obj K) ≫ |
| 63 | (HomologicalComplex₂.total.mapIso (NonemptyCech.ProductBicomplex.NonemptyCechProductBicomplex.iso (F ⋙ G) U K) (.up ℕ)).hom = |
| 64 | (HomologicalComplex₂.total.mapIso (NonemptyCech.ProductBicomplex.NonemptyCechProductBicomplex.iso G V K) (.up ℕ)).hom ≫ |
| 65 | RefinementCoefficient.CechPresheafRefinementCoefficient.map (G.obj ∘ V) (G.obj ∘ F.obj ∘ U) |
| 66 | (NonemptyCech.RefinementProduct.NonemptyCechRefinementProduct.mappedCover G (F.obj ∘ U) V r) K := |
| 67 | (HomologicalComplex₂.total.map_comp _ _ (.up ℕ)).symm.trans |
| 68 | ((congrArg (fun a => HomologicalComplex₂.total.map a (.up ℕ)) (bicomplex F G U V r K)).trans |
| 69 | (HomologicalComplex₂.total.map_comp _ _ (.up ℕ))) |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.NumberTheory.PadicHodge.GeometricComparison.CechPresheaf.ReindexProduct.CechPresheafReindexProduct |