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.GeometricComparison.Integral.FlasqueVanishing |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntegralAffine.FormExtVanishing |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Affine.ChartExtVanishing |
| 4 | import OAI.NumberTheory.PadicHodge.GeometricComparison.OpenForms |
| 5 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Module.AcyclicResolutionSections |
| 6 | |
| 7 | /-! # Restricted Resolution -/ |
| 8 | |
| 9 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntegralAffine.RestrictedResolution.IntegralAffineRestrictedResolution |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Restricting an actual injective resolution to an integral affine open gives an exact positive-degree section complex. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory Abelian Limits _root_.AlgebraicGeometry Opposite |
| 16 | |
| 17 | variable (R : Type) [CommRing R] [Module.Flat ℤ R] |
| 18 | {X Y : Over (Spec (CommRingCat.of R))} (f : Y ⟶ X) |
| 19 | [IsOpenImmersion f.left] [IsAffine Y.left] |
| 20 | |
| 21 | local instance : HasExt.{1} (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.Sheaves R Y) := HasExt.standard _ |
| 22 | |
| 23 | omit [IsAffine Y.left] in |
| 24 | theorem exact_succ (F : AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.Sheaves R X) (I : InjectiveResolution F) |
| 25 | (hF : ∀ q, Subsingleton (Ext.{1} (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.coefficientSheaf R Y) |
| 26 | ((AlgebraicGeometry.Crystalline.Cohomology.Cech.Cover.CechRestriction.sheafRestrictionFunctor R f.left).obj F) (q + 1))) |
| 27 | (n : ℕ) : |
| 28 | ((((AlgebraicGeometry.Crystalline.Cohomology.Cech.Cover.CechRestriction.sheafRestrictionFunctor R f.left) ⋙ |
| 29 | Affine.ChartExtVanishing.AffineChartExtVanishing.sections R Y).mapHomologicalComplex (.up ℕ)).obj |
| 30 | I.cocomplex).ExactAt (n + 1) := by |
| 31 | let G := AlgebraicGeometry.Crystalline.Cohomology.Cech.Cover.CechRestriction.sheafRestrictionFunctor R f.left |
| 32 | let K := (G.mapHomologicalComplex (.up ℕ)).obj I.cocomplex |
| 33 | let e : G.obj F ⟶ K.X 0 := G.map (I.ι.f 0) |
| 34 | have w : e ≫ K.d 0 1 = 0 := by |
| 35 | change G.map (I.ι.f 0) ≫ G.map (I.cocomplex.d 0 1) = 0 |
| 36 | rw [← G.map_comp, I.ι_f_zero_comp_complex_d, G.map_zero] |
| 37 | have : Mono e := G.map_mono (I.ι.f 0) |
| 38 | have haug : (ShortComplex.mk e (K.d 0 1) w).Exact := I.exact₀.map G |
| 39 | have hpos : ∀ q, (AlgebraicGeometry.Comparison.Betti.Acyclic.ResolutionCycles.Ext.resolutionSequence K q).Exact := fun q => (I.exact_succ q).map G |
| 40 | have hK (p q : ℕ) : Subsingleton (Ext.{1} (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.coefficientSheaf R Y) |
| 41 | (K.X p) (q + 1)) := by |
| 42 | have : Injective (I.cocomplex.X p) := I.injective p |
| 43 | have : TopCat.Sheaf.IsFlasque (I.cocomplex.X p) := |
| 44 | GeometricComparison.Module.InjectiveFlasque.ModuleInjectiveFlasque.flasque R X.left (I.cocomplex.X p) |
| 45 | have : TopCat.Sheaf.IsFlasque (K.X p) := |
| 46 | GeometricComparison.Module.InjectiveFlasque.ModuleInjectiveFlasque.restriction R (I.cocomplex.X p) f.left |
| 47 | exact Integral.FlasqueVanishing.IntegralFlasqueVanishing.ext_subsingleton R Y (K.X p) q |
| 48 | rw [HomologicalComplex.exactAt_iff' _ n (n + 1) (n + 2) (by simp) (by simp)] |
| 49 | rw [ShortComplex.moduleCat_exact_iff] |
| 50 | exact GeometricComparison.Module.AcyclicResolutionSections.ModuleAcyclicResolutionSections.exact_succ R (TopCat.of Y.left) K e w haug hpos hF hK n |
| 51 | |
| 52 | theorem forms_ext_subsingleton (j : ℕ) (hj : j ≤ 2) (q : ℕ) : |
| 53 | Subsingleton (Ext.{1} (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.coefficientSheaf R Y) |
| 54 | ((AlgebraicGeometry.Crystalline.Cohomology.Cech.Cover.CechRestriction.sheafRestrictionFunctor R f.left).obj |
| 55 | ((AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex R X).X j)) (q + 1)) := by |
| 56 | let H := (extFunctor.{1} (q + 1) : (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.Sheaves R Y)ᵒᵖ ⥤ |
| 57 | AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.Sheaves R Y ⥤ AddCommGrpCat.{1}).obj (op (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.coefficientSheaf R Y)) |
| 58 | have : Subsingleton (H.obj ((AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex R Y).X j)) := |
| 59 | FormExtVanishing.IntegralAffineFormExtVanishing.ext_subsingleton R Y j hj q |
| 60 | let ef : (AlgebraicGeometry.Crystalline.Cohomology.Cech.Cover.CechRestriction.sheafRestrictionFunctor R f.left).obj |
| 61 | ((AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex R X).X j) ≅ (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex R Y).X j := |
| 62 | OpenForms.OpenFormsSheaves.sheafIso f j |
| 63 | let e := H.mapIso ef |
| 64 | exact (ConcreteCategory.bijective_of_isIso e.hom).injective.subsingleton |
| 65 | |
| 66 | theorem forms_exact_succ (j : ℕ) (hj : j ≤ 2) |
| 67 | (I : InjectiveResolution ((AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex R X).X j)) (n : ℕ) : |
| 68 | ((((AlgebraicGeometry.Crystalline.Cohomology.Cech.Cover.CechRestriction.sheafRestrictionFunctor R f.left) ⋙ |
| 69 | Affine.ChartExtVanishing.AffineChartExtVanishing.sections R Y).mapHomologicalComplex (.up ℕ)).obj |
| 70 | I.cocomplex).ExactAt (n + 1) := |
| 71 | IntegralAffineRestrictedResolution.exact_succ R f _ I (forms_ext_subsingleton R f j hj) n |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntegralAffine.RestrictedResolution.IntegralAffineRestrictedResolution |