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.AlgebraicGeometry.Crystalline.Cohomology.NonemptyCechExtra |
| 2 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi |
| 3 | import Mathlib.CategoryTheory.Sites.Abelian |
| 4 | |
| 5 | /-! # Presentation Resolution -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Crystalline.Cohomology.Cech.PresentationResolution.CechPresentationResolution |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # The sheaf Čech resolution of a presentation presheaf |
| 13 | |
| 14 | An objectwise nonempty presheaf of presentations has an augmented tuple |
| 15 | nerve. Its free-module chain complex resolves the constant rank-one |
| 16 | presheaf, and exact sheafification gives a resolution of the actual |
| 17 | constant coefficient sheaf on the site. |
| 18 | -/ |
| 19 | |
| 20 | open _root_.CategoryTheory Limits |
| 21 | |
| 22 | universe u v w |
| 23 | |
| 24 | variable (R : Type u) [CommRing R] {C : Type v} [Category.{w} C] |
| 25 | (F : Cᵒᵖ ⥤ Type u) |
| 26 | |
| 27 | def complex : ChainComplex (Cᵒᵖ ⥤ ModuleCat R) ℕ := |
| 28 | ComplexAssemblyQuasi.ComplexAssembly.complex (ComplexShape.down ℕ) (F ⋙ NonemptyCechExtra.NonemptyCechNerve.complexFunctor R) |
| 29 | |
| 30 | def target : ChainComplex (Cᵒᵖ ⥤ ModuleCat R) ℕ := |
| 31 | ComplexAssemblyQuasi.ComplexAssembly.complex (ComplexShape.down ℕ) (F ⋙ NonemptyCechExtra.NonemptyCechNerve.constantFunctor R) |
| 32 | |
| 33 | def rawAugmentation : complex R F ⟶ target R F := |
| 34 | ComplexAssemblyQuasi.ComplexAssembly.map (ComplexShape.down ℕ) (Functor.whiskerLeft F (NonemptyCechExtra.NonemptyCechNerve.augmentation R)) |
| 35 | |
| 36 | def coefficientPresheaf : Cᵒᵖ ⥤ ModuleCat R := |
| 37 | (Functor.const Cᵒᵖ).obj (ModuleCat.of R R) |
| 38 | |
| 39 | def targetIso : target R F ≅ |
| 40 | (ChainComplex.single₀ (Cᵒᵖ ⥤ ModuleCat R)).obj (coefficientPresheaf (C := C) R) := |
| 41 | (ComplexAssemblyQuasi.ComplexAssembly.functor (ComplexShape.down ℕ)).mapIso |
| 42 | (Functor.isoWhiskerLeft F (NonemptyCechExtra.NonemptyCechNerve.constantFunctorIso R)) ≪≫ |
| 43 | ComplexAssemblyQuasi.ComplexAssembly.constantIso (T := Cᵒᵖ) (ComplexShape.down ℕ) |
| 44 | ((ChainComplex.single₀ (ModuleCat R)).obj ((ModuleCat.free R).obj PUnit)) ≪≫ |
| 45 | (HomologicalComplex.singleMapHomologicalComplex (Functor.const Cᵒᵖ) |
| 46 | (ComplexShape.down ℕ) 0).app ((ModuleCat.free R).obj PUnit) ≪≫ |
| 47 | (ChainComplex.single₀ (Cᵒᵖ ⥤ ModuleCat R)).mapIso |
| 48 | ((Functor.const Cᵒᵖ).mapIso (ModuleCat.FreeMonoidal.εIso R).symm) |
| 49 | |
| 50 | /-- The canonical augmentation to the constant coefficient presheaf. -/ |
| 51 | def augmentation : complex R F ⟶ |
| 52 | (ChainComplex.single₀ (Cᵒᵖ ⥤ ModuleCat R)).obj (coefficientPresheaf (C := C) R) := |
| 53 | rawAugmentation R F ≫ (targetIso R F).hom |
| 54 | |
| 55 | instance rawAugmentation_quasiIso [∀ t, Nonempty (F.obj t)] : QuasiIso (rawAugmentation R F) := |
| 56 | ComplexAssemblyQuasi.ComplexAssembly.map_quasiIso (ComplexShape.down ℕ) |
| 57 | (Functor.whiskerLeft F (NonemptyCechExtra.NonemptyCechNerve.augmentation R)) (fun t => NonemptyCechExtra.NonemptyCechNerve.augmentation_quasiIso R (F.obj t)) |
| 58 | |
| 59 | instance augmentation_quasiIso [∀ t, Nonempty (F.obj t)] : QuasiIso (augmentation R F) := by |
| 60 | dsimp only [augmentation] |
| 61 | infer_instance |
| 62 | |
| 63 | variable (J : GrothendieckTopology C) [HasSheafify J (ModuleCat R)] |
| 64 | |
| 65 | def sheafComplex : ChainComplex (Sheaf J (ModuleCat R)) ℕ := |
| 66 | ((presheafToSheaf J (ModuleCat R)).mapHomologicalComplex (ComplexShape.down ℕ)).obj (complex R F) |
| 67 | |
| 68 | /-- The same augmentation on actual sheaves, with target the native constant sheaf. -/ |
| 69 | def sheafAugmentation : sheafComplex R F J ⟶ |
| 70 | (ChainComplex.single₀ (Sheaf J (ModuleCat R))).obj |
| 71 | ((constantSheaf J (ModuleCat R)).obj (ModuleCat.of R R)) := |
| 72 | ((presheafToSheaf J (ModuleCat R)).mapHomologicalComplex (ComplexShape.down ℕ)).map |
| 73 | (augmentation R F) ≫ |
| 74 | (HomologicalComplex.singleMapHomologicalComplex (presheafToSheaf J (ModuleCat R)) |
| 75 | (ComplexShape.down ℕ) 0).hom.app (coefficientPresheaf (C := C) R) |
| 76 | |
| 77 | instance sheafAugmentation_quasiIso [∀ t, Nonempty (F.obj t)] : |
| 78 | QuasiIso (sheafAugmentation R F J) := by |
| 79 | have hmap : QuasiIso |
| 80 | (((presheafToSheaf J (ModuleCat R)).mapHomologicalComplex (ComplexShape.down ℕ)).map |
| 81 | (augmentation R F)) := by infer_instance |
| 82 | have hiso : IsIso |
| 83 | ((HomologicalComplex.singleMapHomologicalComplex (presheafToSheaf J (ModuleCat R)) |
| 84 | (ComplexShape.down ℕ) 0).hom.app (coefficientPresheaf (C := C) R)) := by infer_instance |
| 85 | exact quasiIso_comp |
| 86 | (((presheafToSheaf J (ModuleCat R)).mapHomologicalComplex (ComplexShape.down ℕ)).map |
| 87 | (augmentation R F)) |
| 88 | ((HomologicalComplex.singleMapHomologicalComplex (presheafToSheaf J (ModuleCat R)) |
| 89 | (ComplexShape.down ℕ) 0).hom.app (coefficientPresheaf (C := C) R)) |
| 90 | |
| 91 | end |
| 92 | |
| 93 | end OAI.AlgebraicGeometry.Crystalline.Cohomology.Cech.PresentationResolution.CechPresentationResolution |