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.Functor.ResolutionBicomplex |
| 2 | |
| 3 | /-! # Resolution Total -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Functor.ResolutionTotal.FunctorResolutionTotal |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The total augmentation of an actual natural resolution functor is natural on complexes. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory Limits |
| 12 | |
| 13 | universe u v |
| 14 | |
| 15 | variable {C : Type u} [Category.{v} C] [Abelian C] [HasCoproducts.{0} C] |
| 16 | (G : C ⥤ CochainComplex C ℕ) [G.Additive] |
| 17 | (η : CochainComplex.single₀ C ⟶ G) |
| 18 | |
| 19 | def total (K : CochainComplex C ℕ) : CochainComplex C ℕ := |
| 20 | (ResolutionBicomplex.FunctorResolutionBicomplex.bicomplex G K).total (.up ℕ) |
| 21 | |
| 22 | def map {K L : CochainComplex C ℕ} (f : K ⟶ L) : FunctorResolutionTotal.total G K ⟶ FunctorResolutionTotal.total G L := |
| 23 | HomologicalComplex₂.total.map ((G.mapHomologicalComplex (.up ℕ)).map f) (.up ℕ) |
| 24 | |
| 25 | def edge (K : CochainComplex C ℕ) : K ⟶ FunctorResolutionTotal.total G K := |
| 26 | (AlgebraicGeometry.SheafCohomology.Cech.UpNatHorizontalEdge.HomologicalComplex₂.totalUpNatHorizontalEdge (ResolutionBicomplex.FunctorResolutionBicomplex.bicomplex G K)) K |
| 27 | (ResolutionBicomplex.FunctorResolutionBicomplex.augmentation G η K) |
| 28 | (fun q q' _ => ResolutionBicomplex.FunctorResolutionBicomplex.augmentation_comm G η K q q') |
| 29 | (ResolutionBicomplex.FunctorResolutionBicomplex.augmentation_comp_d G η K) |
| 30 | |
| 31 | omit [HasCoproducts.{0} C] [G.Additive] in |
| 32 | theorem augmentation_naturality {K L : CochainComplex C ℕ} (f : K ⟶ L) (q : ℕ) : |
| 33 | (η.app (K.X q)).f 0 ≫ (G.map (f.f q)).f 0 = f.f q ≫ (η.app (L.X q)).f 0 := by |
| 34 | have h := congrArg (fun a => a.f 0) (η.naturality (f.f q)) |
| 35 | exact h.symm.trans (congrArg (fun a => a ≫ (η.app (L.X q)).f 0) |
| 36 | (CochainComplex.single₀_map_f_zero (f.f q))) |
| 37 | |
| 38 | theorem naturality {K L : CochainComplex C ℕ} (f : K ⟶ L) : |
| 39 | edge G η K ≫ FunctorResolutionTotal.map G f = f ≫ edge G η L := by |
| 40 | ext q : 1 |
| 41 | change ((η.app (K.X q)).f 0 ≫ (ResolutionBicomplex.FunctorResolutionBicomplex.bicomplex G K).ιTotal |
| 42 | (.up ℕ) q 0 q rfl) ≫ |
| 43 | (HomologicalComplex₂.total.map ((G.mapHomologicalComplex (.up ℕ)).map f) (.up ℕ)).f q = |
| 44 | f.f q ≫ ((η.app (L.X q)).f 0 ≫ |
| 45 | (ResolutionBicomplex.FunctorResolutionBicomplex.bicomplex G L).ιTotal (.up ℕ) q 0 q rfl) |
| 46 | exact (Category.assoc _ _ _).trans |
| 47 | ((congrArg (fun a => (η.app (K.X q)).f 0 ≫ a) |
| 48 | (HomologicalComplex₂.ιTotal_map (ResolutionBicomplex.FunctorResolutionBicomplex.bicomplex G K) |
| 49 | (ResolutionBicomplex.FunctorResolutionBicomplex.bicomplex G L) |
| 50 | ((G.mapHomologicalComplex (.up ℕ)).map f) (.up ℕ) q 0 q rfl)).trans |
| 51 | ((Category.assoc _ _ _).symm.trans |
| 52 | ((congrArg (fun a => a ≫ (ResolutionBicomplex.FunctorResolutionBicomplex.bicomplex G L).ιTotal |
| 53 | (.up ℕ) q 0 q rfl) (augmentation_naturality G η f q)).trans (Category.assoc _ _ _)))) |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Functor.ResolutionTotal.FunctorResolutionTotal |