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.Affine.ChartSectionEpi |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Affine.CechCokernel |
| 3 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.InjectiveCycle |
| 4 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.SheafGlobal |
| 5 | |
| 6 | /-! # Chart Ext Vanishing -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Affine.ChartExtVanishing.AffineChartExtVanishing |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The actual differential-form sheaves have vanishing positive coefficient Ext on any affine chart over a rational base. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory Abelian Limits _root_.AlgebraicGeometry Opposite |
| 15 | |
| 16 | variable (R : Type) [CommRing R] (X : Over (Spec (CommRingCat.of R))) |
| 17 | |
| 18 | local notation "V" => OAI.AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.Sheaves R X |
| 19 | local notation "J" => Opens.grothendieckTopology X.left |
| 20 | |
| 21 | abbrev sections : V ⥤ ModuleCat R := |
| 22 | sheafToPresheaf J (ModuleCat R) ⋙ (CategoryTheory.evaluation _ _).obj (op ⊤) |
| 23 | |
| 24 | instance sections_additive : (sections R X).Additive where |
| 25 | map_add := by intros; rfl |
| 26 | |
| 27 | instance sections_preservesLimits : PreservesLimits (sections R X) := by |
| 28 | change PreservesLimits (sheafToPresheaf J (ModuleCat R) ⋙ |
| 29 | (CategoryTheory.evaluation _ _).obj (op ⊤)) |
| 30 | infer_instance |
| 31 | |
| 32 | theorem cycles_acyclic (F : V) (hF : CechAcyclic.AffineCechAcyclic.Acyclic R X F) |
| 33 | (I : InjectiveResolution F) (n : ℕ) : |
| 34 | CechAcyclic.AffineCechAcyclic.Acyclic R X (AlgebraicGeometry.Crystalline.Cohomology.InjectiveCycle.InjectiveCycleTower.cycle I n) := by |
| 35 | induction n with |
| 36 | | zero => exact CechAcyclic.AffineCechAcyclic.of_iso R X hF (AlgebraicGeometry.Crystalline.Cohomology.InjectiveCycle.InjectiveCycleTower.augmentationIso I) |
| 37 | | succ n ih => |
| 38 | exact CechCokernel.AffineCechAcyclic.cokernel R X (AlgebraicGeometry.Crystalline.Cohomology.InjectiveCycle.InjectiveCycleTower.shortComplex I n) |
| 39 | (AlgebraicGeometry.Crystalline.Cohomology.InjectiveCycle.InjectiveCycleTower.shortExact I n) ih |
| 40 | |
| 41 | theorem cycle_section_lift (F : V) (I : InjectiveResolution F) (n : ℕ) |
| 42 | (x : (I.cocomplex.X n).obj.obj (op ⊤)) |
| 43 | (hx : (I.cocomplex.d n (n + 1)).hom.app (op ⊤) x = 0) : |
| 44 | ∃ c : (AlgebraicGeometry.Crystalline.Cohomology.InjectiveCycle.InjectiveCycleTower.cycle I n).obj.obj (op ⊤), |
| 45 | (AlgebraicGeometry.Crystalline.Cohomology.InjectiveCycle.InjectiveCycleTower.inclusion I n).hom.app (op ⊤) c = x := by |
| 46 | let K := ShortComplex.mk (AlgebraicGeometry.Crystalline.Cohomology.InjectiveCycle.InjectiveCycleTower.inclusion I n) (I.cocomplex.d n (n + 1)) |
| 47 | (kernel.condition (I.cocomplex.d n (n + 1))) |
| 48 | have hK : K.Exact := ShortComplex.kernelSequence_exact (I.cocomplex.d n (n + 1)) |
| 49 | have : Mono K.f := by change Mono (kernel.ι (I.cocomplex.d n (n + 1))); infer_instance |
| 50 | have he := hK.map_of_mono_of_preservesKernel (sections R X) inferInstance inferInstance |
| 51 | exact (ShortComplex.moduleCat_exact_iff (K.map (sections R X))).mp he x hx |
| 52 | |
| 53 | variable [IsAffine X.left] [Algebra ℚ Γ(X.left, ⊤)] |
| 54 | |
| 55 | theorem evaluated_exactAt (F : V) (hF : CechAcyclic.AffineCechAcyclic.Acyclic R X F) |
| 56 | (I : InjectiveResolution F) (n : ℕ) : |
| 57 | (((sections R X).mapHomologicalComplex (.up ℕ)).obj I.cocomplex).ExactAt (n + 1) := by |
| 58 | rw [HomologicalComplex.exactAt_iff' _ n (n + 1) (n + 2) (by simp) (by simp)] |
| 59 | change ((I.cocomplex.sc' n (n + 1) (n + 2)).map (sections R X)).Exact |
| 60 | rw [ShortComplex.moduleCat_exact_iff] |
| 61 | intro x hx |
| 62 | obtain ⟨c, hc⟩ := cycle_section_lift R X F I (n + 1) x hx |
| 63 | have hGood := cycles_acyclic R X F hF I n |
| 64 | have hp := ChartSectionEpi.AffineCechAcyclic.affine_section_epi R X (AlgebraicGeometry.Crystalline.Cohomology.InjectiveCycle.InjectiveCycleTower.shortComplex I n) |
| 65 | (AlgebraicGeometry.Crystalline.Cohomology.InjectiveCycle.InjectiveCycleTower.shortExact I n) hGood |
| 66 | obtain ⟨y, hy⟩ := (ModuleCat.epi_iff_surjective |
| 67 | ((AlgebraicGeometry.Crystalline.Cohomology.InjectiveCycle.InjectiveCycleTower.shortComplex I n).g.hom.app (op ⊤))).mp hp c |
| 68 | refine ⟨y, ?_⟩ |
| 69 | have hfac := congrArg (fun f => f.hom.app (op ⊤) y) (AlgebraicGeometry.Crystalline.Cohomology.InjectiveCycle.InjectiveCycleTower.projection_inclusion I n) |
| 70 | exact hfac.symm.trans |
| 71 | ((congrArg ((AlgebraicGeometry.Crystalline.Cohomology.InjectiveCycle.InjectiveCycleTower.inclusion I (n + 1)).hom.app (op ⊤)) hy).trans hc) |
| 72 | |
| 73 | local instance : HasExt.{1} V := HasExt.standard _ |
| 74 | |
| 75 | theorem ext_subsingleton (F : V) (hF : CechAcyclic.AffineCechAcyclic.Acyclic R X F) (n : ℕ) : |
| 76 | Subsingleton (Ext.{1} (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.coefficientSheaf R X) F (n + 1)) := by |
| 77 | let I : InjectiveResolution F := injectiveResolution F |
| 78 | let e := (NatIso.mapHomologicalComplex |
| 79 | (Sheaf.ΓNatIsoSheafSections J (ModuleCat R) (isTerminalTop : IsTerminal (⊤ : X.left.Opens))) |
| 80 | (.up ℕ)).app I.cocomplex |
| 81 | have hI := (evaluated_exactAt R X F hF I n).of_iso e.symm |
| 82 | have hz : ∀ α : Ext.{1} (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.coefficientSheaf R X) F (n + 1), α = 0 := |
| 83 | @AlgebraicGeometry.Crystalline.Cohomology.SheafGlobal.SheafGlobalExtVanishing.ext_eq_zero.{0, 0, 0, 1} _ _ J R _ _ _ |
| 84 | (inferInstanceAs (HasExt.{1} V)) F I n hI |
| 85 | exact ⟨fun α β => (hz α).trans (hz β).symm⟩ |
| 86 | |
| 87 | theorem forms_ext_subsingleton (j n : ℕ) : |
| 88 | Subsingleton (Ext.{1} (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.coefficientSheaf R X) |
| 89 | ((AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex R X).X j) (n + 1)) := |
| 90 | ext_subsingleton R X _ (CechAcyclic.AffineCechAcyclic.forms R X j) n |
| 91 | |
| 92 | end |
| 93 | |
| 94 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Affine.ChartExtVanishing.AffineChartExtVanishing |