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.Cover |
| 2 | |
| 3 | /-! # Open Sheaf Of -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.OpenSheafOf.OpenSheafSections |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Sections on an open chart are the actual sections on its image, naturally for sheaf morphisms. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable (R : Type u) [CommRing R] {X Y : Scheme.{u}} (f : Y ⟶ X) [IsOpenImmersion f] |
| 16 | (W : X.Opens) (hW : f ''ᵁ ⊤ = W) |
| 17 | |
| 18 | def iso (F : Sheaf (Opens.grothendieckTopology X) (ModuleCat.{u} R)) : |
| 19 | ((AlgebraicGeometry.Crystalline.Cohomology.Cech.Cover.CechRestriction.sheafRestrictionFunctor R f).obj F).obj.obj (op ⊤) ≅ F.obj.obj (op W) := |
| 20 | F.obj.mapIso (eqToIso (congrArg op hW)) |
| 21 | |
| 22 | theorem naturality {F G : Sheaf (Opens.grothendieckTopology X) (ModuleCat.{u} R)} (φ : F ⟶ G) : |
| 23 | (iso R f W hW F).hom ≫ φ.hom.app (op W) = |
| 24 | ((AlgebraicGeometry.Crystalline.Cohomology.Cech.Cover.CechRestriction.sheafRestrictionFunctor R f).map φ).hom.app (op ⊤) ≫ (iso R f W hW G).hom := |
| 25 | φ.hom.naturality (eqToHom (congrArg op hW)) |
| 26 | |
| 27 | include hW in |
| 28 | theorem epi_of_chart {F G : Sheaf (Opens.grothendieckTopology X) (ModuleCat.{u} R)} (φ : F ⟶ G) |
| 29 | (hφ : Epi (((AlgebraicGeometry.Crystalline.Cohomology.Cech.Cover.CechRestriction.sheafRestrictionFunctor R f).map φ).hom.app (op ⊤))) : |
| 30 | Epi (φ.hom.app (op W)) := by |
| 31 | have : IsIso (iso R f W hW G).hom := (iso R f W hW G).isIso_hom |
| 32 | have : Epi (((AlgebraicGeometry.Crystalline.Cohomology.Cech.Cover.CechRestriction.sheafRestrictionFunctor R f).map φ).hom.app (op ⊤) ≫ |
| 33 | (iso R f W hW G).hom) := inferInstance |
| 34 | have : Epi ((iso R f W hW F).hom ≫ φ.hom.app (op W)) := |
| 35 | (OpenSheafSections.naturality R f W hW φ).symm ▸ this |
| 36 | exact epi_of_epi (iso R f W hW F).hom (φ.hom.app (op W)) |
| 37 | |
| 38 | end |
| 39 | |
| 40 | end OAI.NumberTheory.PadicHodge.GeometricComparison.OpenSheafOf.OpenSheafSections |