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.Cech.PresentationResolution |
| 2 | |
| 3 | /-! # Presentation Map -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Cech.PresentationMap |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The original free Čech presentation resolutions and their augmentations are functorial in the presentation presheaf. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory Opposite |
| 12 | |
| 13 | universe u v w |
| 14 | |
| 15 | variable (R : Type u) [CommRing R] {C : Type v} [Category.{w} C] |
| 16 | {F G : Cᵒᵖ ⥤ Type u} (a : F ⟶ G) |
| 17 | |
| 18 | def map : AlgebraicGeometry.Crystalline.Cohomology.Cech.PresentationResolution.CechPresentationResolution.complex R F ⟶ AlgebraicGeometry.Crystalline.Cohomology.Cech.PresentationResolution.CechPresentationResolution.complex R G := |
| 19 | AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.map (.down ℕ) (Functor.whiskerRight a (AlgebraicGeometry.Crystalline.Cohomology.NonemptyCechExtra.NonemptyCechNerve.complexFunctor R)) |
| 20 | |
| 21 | theorem map_generator (n : ℕ) (U : Cᵒᵖ) (x : Fin (n + 1) → F.obj U) : |
| 22 | ((PresentationMap.map R a).f n).app U (ModuleCat.freeMk x) = ModuleCat.freeMk (fun i => a.app U (x i)) := |
| 23 | ModuleCat.free_map_apply (R := R) (↾fun x : Fin (n + 1) → F.obj U => fun i => a.app U (x i)) x |
| 24 | |
| 25 | theorem augmentation_generator (U : Cᵒᵖ) (x : Fin 1 → F.obj U) : |
| 26 | ((AlgebraicGeometry.Crystalline.Cohomology.Cech.PresentationResolution.CechPresentationResolution.augmentation R F).f 0).app U (ModuleCat.freeMk x) = (1 : R) := by |
| 27 | change (ModuleCat.FreeMonoidal.εIso R).inv |
| 28 | ((ModuleCat.free R).map (↾fun _ : Fin 1 → F.obj U => PUnit.unit) (ModuleCat.freeMk x)) = 1 |
| 29 | rw [ModuleCat.free_map_apply, ModuleCat.FreeMonoidal.εIso_inv_freeMk] |
| 30 | |
| 31 | theorem augmentation : PresentationMap.map R a ≫ AlgebraicGeometry.Crystalline.Cohomology.Cech.PresentationResolution.CechPresentationResolution.augmentation R G = |
| 32 | AlgebraicGeometry.Crystalline.Cohomology.Cech.PresentationResolution.CechPresentationResolution.augmentation R F := by |
| 33 | apply HomologicalComplex.to_single_hom_ext |
| 34 | apply NatTrans.ext |
| 35 | funext U |
| 36 | apply ModuleCat.free_hom_ext |
| 37 | intro x |
| 38 | change Fin 1 → F.obj U at x |
| 39 | change ((AlgebraicGeometry.Crystalline.Cohomology.Cech.PresentationResolution.CechPresentationResolution.augmentation R G).f 0).app U (((PresentationMap.map R a).f 0).app U (ModuleCat.freeMk x)) = _ |
| 40 | exact (congrArg (((AlgebraicGeometry.Crystalline.Cohomology.Cech.PresentationResolution.CechPresentationResolution.augmentation R G).f 0).app U) (map_generator R a 0 U x)).trans |
| 41 | ((augmentation_generator R U (fun i => a.app U (x i))).trans (augmentation_generator R U x).symm) |
| 42 | |
| 43 | instance map_isIso [IsIso a] : IsIso (PresentationMap.map R a) := by |
| 44 | change IsIso ((AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.functor (.down ℕ)).map (Functor.whiskerRight a (AlgebraicGeometry.Crystalline.Cohomology.NonemptyCechExtra.NonemptyCechNerve.complexFunctor R))) |
| 45 | infer_instance |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Cech.PresentationMap |