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.FrameCech.ExtCoefficientEdge |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Additive.CoefficientEdge |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Presheaf.AugmentationEdge |
| 4 | |
| 5 | /-! # Intrinsic Total Coordinates -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.FrameCech.IntrinsicTotalCoordinates.Intrinsic |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Native presheaf total coordinates for the balanced frame comparison. |
| 12 | The canonical coefficient lift retains its literal augmentation edge. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 15 | |
| 16 | universe u v z |
| 17 | |
| 18 | variable {C : Type (max u v)} [Category.{v} C] [HasBinaryProducts C] |
| 19 | {κ : Type v} (F : κ → C) (R : Type (max u v)) [CommRing R] (J : GrothendieckTopology C) |
| 20 | [HasExt.{max u v z} (Sheaf J (ModuleCat.{max u v} R))] |
| 21 | (K : CochainComplex (Sheaf J (ModuleCat.{max u v} R)) ℕ) |
| 22 | {Y : Sheaf J (ModuleCat.{max u v} R)} (ι : (CochainComplex.single₀ _).obj Y ⟶ K) |
| 23 | |
| 24 | private instance moduleCoproducts (S : Type*) [CommRing S] : HasCoproducts.{0} (ModuleCat.{z} S) := |
| 25 | fun T => (ModuleCat.hasColimitsOfSize.{z, _, 0, 0} S).has_colimits_of_shape (Discrete T) |
| 26 | |
| 27 | local notation "N" => OAI.NumberTheory.PadicHodge.IntegralComparison.NonemptyCechNerve.nerve F |
| 28 | abbrev coefficients (S : Type u) [CommRing S] : ModuleCat.{u} S ⥤ ModuleCat.{max u v} S := |
| 29 | ModuleCat.uliftFunctor.{v, u} S |
| 30 | |
| 31 | local instance smallLimits : HasLimitsOfSize.{v, v} (ModuleCat.{max u v} R) := |
| 32 | ModuleCat.hasLimitsOfSize.{v, v, max u v, max u v} |
| 33 | local instance smallProducts : HasProducts.{v} (ModuleCat.{max u v} R) := |
| 34 | fun T => (smallLimits (R := R)).has_limits_of_shape (Discrete T) |
| 35 | |
| 36 | def presheafComplex := |
| 37 | ((sheafToPresheaf J (ModuleCat.{max u v} R)).mapHomologicalComplex (.up ℕ)).obj K |
| 38 | |
| 39 | def bicomplex := Presheaf.TotalCup.CechProduct.bicomplex.{max u v, v, v, u, max u v} |
| 40 | N (presheafComplex.{u, v} R J K) |
| 41 | |
| 42 | def totalIso : (ExtCoefficientEdge.bicomplex.{u, v, z} F R J K).total (.up ℕ) ≅ |
| 43 | ((coefficients.{max u v, z} R).mapHomologicalComplex (.up ℕ)).obj ((bicomplex.{u, v} F R J K).total (.up ℕ)) := |
| 44 | AlgebraicGeometry.Crystalline.Cohomology.Finite.TotalComparison.FiniteTotalComparison.iso (coefficients.{max u v, z} R) (bicomplex.{u, v} F R J K) |
| 45 | |
| 46 | def rowMap : (NonemptyCechNerve.complexFunctor F).obj Y.obj ⟶ (bicomplex.{u, v} F R J K).X 0 := |
| 47 | (NonemptyCechNerve.complexFunctor F).map (ι.f 0).hom |
| 48 | |
| 49 | omit [HasExt.{max u v z} (Sheaf J (ModuleCat.{max u v} R))] in |
| 50 | theorem closed : rowMap.{u, v} F R J K ι ≫ (bicomplex.{u, v} F R J K).d 0 1 = 0 := |
| 51 | Presheaf.AugmentationEdge.closed.{max u v, v, v, u, max u v} |
| 52 | N (presheafComplex.{u, v} R J K) Y.obj (ι.f 0).hom |
| 53 | (congrArg (fun a : Y ⟶ K.X 1 => a.hom) |
| 54 | (Augmented.ResolutionCycles.augmentation_condition K ι)) |
| 55 | |
| 56 | def edge : (NonemptyCechNerve.complexFunctor F).obj Y.obj ⟶ |
| 57 | (bicomplex.{u, v} F R J K).total (.up ℕ) := |
| 58 | BicomplexCoefficientEdge.edge (bicomplex.{u, v} F R J K) |
| 59 | ((NonemptyCechNerve.complexFunctor F).obj Y.obj) (rowMap.{u, v} F R J K ι) (closed.{u, v} F R J K ι) |
| 60 | |
| 61 | theorem edge_square : ExtCoefficientEdge.edge.{u, v, z} F R J K ι ≫ |
| 62 | (totalIso.{u, v, z} F R J K).hom = |
| 63 | ((coefficients.{max u v, z} R).mapHomologicalComplex (.up ℕ)).map (edge.{u, v} F R J K ι) := |
| 64 | Additive.CoefficientEdge.comparison (coefficients.{max u v, z} R) (bicomplex.{u, v} F R J K) |
| 65 | ((NonemptyCechNerve.complexFunctor F).obj Y.obj) (rowMap.{u, v} F R J K ι) (closed.{u, v} F R J K ι) |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.NumberTheory.PadicHodge.IntegralComparison.FrameCech.IntrinsicTotalCoordinates.Intrinsic |