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.CechSectionEpi |
| 2 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.Finite.PrincipalIntersections |
| 3 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.Module.ProductSurjectivity |
| 4 | import Mathlib.Algebra.Homology.HomologicalComplexAbelian |
| 5 | |
| 6 | /-! # Cech Short Exact -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Affine.CechShortExact.AffineCechAcyclic |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! An affine Čech-acyclic kernel makes the actual principal Čech sequence of a short exact sheaf sequence degreewise short exact. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry Opposite Simplicial |
| 15 | |
| 16 | variable (R : Type) [CommRing R] (X : Over (Spec (CommRingCat.of R))) |
| 17 | (S : ShortComplex (Sheaf (Opens.grothendieckTopology X.left) (ModuleCat R))) |
| 18 | (A : Type) [CommRing A] [Algebra R A] [Algebra ℚ A] |
| 19 | (f : RelativeSectionCoefficients.AffineCoordinates.relativeSpecModel R A ⟶ X) [IsOpenImmersion f.left] |
| 20 | {ι : Type} (s : ι → A) |
| 21 | |
| 22 | local notation "U" => fun i => OAI.AlgebraicGeometry.Crystalline.Cohomology.Affine.IntersectionLocalization.AffineIntersectionLocalization.principal A (s i) |
| 23 | local notation "N" => FormalCoproduct.cech (FormalCoproduct.mk ι U) |
| 24 | |
| 25 | def chartFunctor : Sheaf (Opens.grothendieckTopology X.left) (ModuleCat R) ⥤ |
| 26 | CochainComplex (ModuleCat R) ℕ := |
| 27 | AlgebraicGeometry.Crystalline.Cohomology.Cech.Cover.CechRestriction.sheafRestrictionFunctor R f.left ⋙ |
| 28 | Cech.CechSheaf.functor R (RelativeSectionCoefficients.AffineCoordinates.relativeSpecModel R A) U |
| 29 | |
| 30 | instance chartFunctor_additive : (chartFunctor R X A f s).Additive where |
| 31 | map_add {F G} φ ψ := by |
| 32 | let : (Cech.CechSheaf.functor R (RelativeSectionCoefficients.AffineCoordinates.relativeSpecModel R A) U).Additive := |
| 33 | Cech.CechSheaf.functor_additive R (RelativeSectionCoefficients.AffineCoordinates.relativeSpecModel R A) U |
| 34 | exact (congrArg (Cech.CechSheaf.functor R (RelativeSectionCoefficients.AffineCoordinates.relativeSpecModel R A) U).map |
| 35 | ((AlgebraicGeometry.Crystalline.Cohomology.Cech.Cover.CechRestriction.sheafRestrictionFunctor R f.left).map_add (f := φ) (g := ψ))).trans |
| 36 | (Cech.CechSheaf.functor R (RelativeSectionCoefficients.AffineCoordinates.relativeSpecModel R A) U).map_add |
| 37 | |
| 38 | theorem degree_epi (hS : S.ShortExact) (hA : CechAcyclic.AffineCechAcyclic.Acyclic R X S.X₁) (n : ℕ) : |
| 39 | Epi (((Cech.CechSheaf.functor R (RelativeSectionCoefficients.AffineCoordinates.relativeSpecModel R A) U).map |
| 40 | ((AlgebraicGeometry.Crystalline.Cohomology.Cech.Cover.CechRestriction.sheafRestrictionFunctor R f.left).map S.g)).f n) := by |
| 41 | change Epi (Limits.Pi.map (fun t : ((N).obj (op ⦋n⦌)).I => |
| 42 | ((AlgebraicGeometry.Crystalline.Cohomology.Cech.Cover.CechRestriction.sheafRestrictionFunctor R f.left).map S.g).hom.app |
| 43 | (op (((N).obj (op ⦋n⦌)).obj t)))) |
| 44 | apply AlgebraicGeometry.Crystalline.Cohomology.Module.ProductSurjectivity.ModuleProductSurjectivity.epi |
| 45 | intro t |
| 46 | have he : ((N).obj (op ⦋n⦌)).obj t = PrimeSpectrum.basicOpen (∏ i, s (t i)) := |
| 47 | AlgebraicGeometry.Crystalline.Cohomology.Finite.PrincipalIntersections.FinitePrincipalIntersections.categoricalProduct A (fun i => s (t i)) |
| 48 | exact he.symm ▸ CechSectionEpi.AffineCechAcyclic.principal_section_epi R X S hS hA A f (∏ i, s (t i)) |
| 49 | |
| 50 | theorem shortExact (hS : S.ShortExact) (hA : CechAcyclic.AffineCechAcyclic.Acyclic R X S.X₁) : |
| 51 | (S.map (chartFunctor R X A f s)).ShortExact := by |
| 52 | have := hS.mono_f |
| 53 | have := hS.epi_g |
| 54 | let T := S.map (AlgebraicGeometry.Crystalline.Cohomology.Cech.Cover.CechRestriction.sheafRestrictionFunctor R f.left) |
| 55 | have hT : T.ShortExact := hS.map (AlgebraicGeometry.Crystalline.Cohomology.Cech.Cover.CechRestriction.sheafRestrictionFunctor R f.left) |
| 56 | have := hT.mono_f |
| 57 | apply HomologicalComplex.shortExact_of_degreewise_shortExact |
| 58 | intro n |
| 59 | exact { |
| 60 | exact := Cech.CechSheaf.degree_exact R (RelativeSectionCoefficients.AffineCoordinates.relativeSpecModel R A) U T hT.exact n |
| 61 | mono_f := Cech.CechSheaf.degree_mono R (RelativeSectionCoefficients.AffineCoordinates.relativeSpecModel R A) U T n |
| 62 | epi_g := degree_epi R X S A f s hS hA n } |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Affine.CechShortExact.AffineCechAcyclic |