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.IntegralComparison.Cech.DiagramAugmentationGradedProduct |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ExhaustiveSectionNaturality |
| 3 | |
| 4 | /-! # Section Cech Edge -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Global.SectionCechEdge |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Evaluation of genuine global presheaf sections gives the original |
| 11 | Čech augmentation of any coefficient complex. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 14 | |
| 15 | universe u v |
| 16 | variable {C : Type u} [Category.{v} C] [HasBinaryProducts C] |
| 17 | (R : Type u) [CommRing R] {ι : Type} [Finite ι] (F : ι → C) |
| 18 | (P : CochainComplex (Cᵒᵖ ⥤ ModuleCat.{u} R) ℕ) |
| 19 | |
| 20 | abbrev globalFunctor : (Cᵒᵖ ⥤ ModuleCat.{u} R) ⥤ ModuleCat.{u} R := |
| 21 | ExhaustiveSectionNaturality.globalSectionsFunctor R (ModuleCat.of R R) |
| 22 | |
| 23 | def globalComplex : CochainComplex (ModuleCat.{u} R) ℕ := |
| 24 | ((globalFunctor (C := C) R).mapHomologicalComplex (.up ℕ)).obj P |
| 25 | |
| 26 | def diagram : Cᵒᵖ ⥤ CochainComplex (ModuleCat.{u} R) ℕ where |
| 27 | obj V := (((evaluation Cᵒᵖ (ModuleCat.{u} R)).obj V).mapHomologicalComplex (.up ℕ)).obj P |
| 28 | map α := (NatTrans.mapHomologicalComplex |
| 29 | ((evaluation Cᵒᵖ (ModuleCat.{u} R)).map α) (.up ℕ)).app P |
| 30 | |
| 31 | def evaluate (q : ℕ) (V : Cᵒᵖ) : (globalComplex R P).X q ⟶ (P.X q).obj V := |
| 32 | ModuleCat.ofHom |
| 33 | { toFun := fun s => s.app V (1 : R) |
| 34 | map_add' := fun _ _ => rfl |
| 35 | map_smul' := fun _ _ => rfl } |
| 36 | |
| 37 | def cone : (Functor.const Cᵒᵖ).obj (globalComplex R P) ⟶ diagram R P where |
| 38 | app V := |
| 39 | { f q := evaluate R P q V |
| 40 | comm' i j _ := rfl } |
| 41 | naturality V W α := by |
| 42 | apply HomologicalComplex.Hom.ext |
| 43 | funext q |
| 44 | apply ModuleCat.hom_ext |
| 45 | apply LinearMap.ext |
| 46 | intro s |
| 47 | exact ConcreteCategory.congr_hom (s.naturality α) (1 : R) |
| 48 | |
| 49 | def edge : globalComplex R P ⟶ |
| 50 | Presheaf.TotalCup.CechProduct.total (NonemptyCechNerve.nerve F) |
| 51 | (Cech.ComplexDiagramCoordinates.complex (diagram R P)) := |
| 52 | GeometricComparison.CechCone.Total.CechConeTotal.augmentation F (diagram R P) (globalComplex R P) (cone R P) ≫ |
| 53 | (Cech.ComplexDiagramCoordinates.totalIso F (diagram R P)).hom |
| 54 | |
| 55 | theorem component (q : ℕ) : (edge R F P).f q = |
| 56 | Cech.DiagramAugmentationCoordinates.Complex.restriction F (diagram R P) (globalComplex R P) (cone R P) q ≫ |
| 57 | (CechCoefficient.Total.bicomplex (NonemptyCechNerve.nerve F) |
| 58 | (Cech.ComplexDiagramCoordinates.complex (diagram R P))).ιTotal (.up ℕ) q 0 q rfl := |
| 59 | Cech.DiagramAugmentationCoordinates.Complex.augmentation_component F (diagram R P) |
| 60 | (globalComplex R P) (cone R P) q |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Global.SectionCechEdge |