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.CochainLimits |
| 2 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.CochainCycle |
| 3 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.Cech.Descent |
| 4 | |
| 5 | /-! # Cech Sheaf -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Cech.CechSheaf |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual direct Čech functor preserves kernels degreewise and corrects lifted cochains using vanishing in the next degree. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable (R : Type u) [CommRing R] (X : Over (Spec (CommRingCat.of R))) |
| 18 | {ι : Type u} (U : ι → X.left.Opens) |
| 19 | |
| 20 | def functor : Sheaf (Opens.grothendieckTopology X.left) (ModuleCat.{u} R) ⥤ |
| 21 | CochainComplex (ModuleCat.{u} R) ℕ := |
| 22 | sheafToPresheaf (Opens.grothendieckTopology X.left) (ModuleCat.{u} R) ⋙ |
| 23 | AlgebraicGeometry.Crystalline.Cohomology.Cech.Descent.CechDescent.cechFunctor R X U |
| 24 | |
| 25 | instance functor_additive : (functor R X U).Additive := by |
| 26 | change (sheafToPresheaf (Opens.grothendieckTopology X.left) (ModuleCat.{u} R) ⋙ |
| 27 | FormalCoproduct.cochainComplexFunctor (FormalCoproduct.mk ι U).cech).Additive |
| 28 | infer_instance |
| 29 | |
| 30 | instance degree_preservesLimits (n : ℕ) : PreservesLimits |
| 31 | (functor R X U ⋙ HomologicalComplex.eval (ModuleCat.{u} R) (ComplexShape.up ℕ) n) := by |
| 32 | change PreservesLimits |
| 33 | (sheafToPresheaf (Opens.grothendieckTopology X.left) (ModuleCat.{u} R) ⋙ |
| 34 | (FormalCoproduct.cochainComplexFunctor (FormalCoproduct.mk ι U).cech ⋙ |
| 35 | HomologicalComplex.eval (ModuleCat.{u} R) (ComplexShape.up ℕ) n)) |
| 36 | infer_instance |
| 37 | |
| 38 | variable (S : ShortComplex (Sheaf (Opens.grothendieckTopology X.left) (ModuleCat.{u} R))) |
| 39 | |
| 40 | theorem degree_exact (hS : S.Exact) [Mono S.f] (n : ℕ) : |
| 41 | (AlgebraicGeometry.Crystalline.Cohomology.CochainCycle.CochainCycleCorrection.degree R (S.map (functor R X U)) n).Exact := |
| 42 | hS.map_of_mono_of_preservesKernel |
| 43 | (functor R X U ⋙ HomologicalComplex.eval (ModuleCat.{u} R) (ComplexShape.up ℕ) n) |
| 44 | inferInstance inferInstance |
| 45 | |
| 46 | instance degree_mono [Mono S.f] (n : ℕ) : Mono (((functor R X U).map S.f).f n) := by |
| 47 | change Mono ((functor R X U ⋙ HomologicalComplex.eval (ModuleCat.{u} R) (ComplexShape.up ℕ) n).map S.f) |
| 48 | infer_instance |
| 49 | |
| 50 | theorem exists_corrected_cycle (hS : S.Exact) [Mono S.f] (n : ℕ) |
| 51 | (hA : ((functor R X U).obj S.X₁).ExactAt (n + 1)) |
| 52 | (y : ((functor R X U).obj S.X₂).X n) |
| 53 | (hy : ((functor R X U).map S.g).f (n + 1) |
| 54 | (((functor R X U).obj S.X₂).d n (n + 1) y) = 0) : |
| 55 | ∃ y' : ((functor R X U).obj S.X₂).X n, |
| 56 | ((functor R X U).obj S.X₂).d n (n + 1) y' = 0 ∧ |
| 57 | ((functor R X U).map S.g).f n y' = ((functor R X U).map S.g).f n y := by |
| 58 | have : Mono ((S.map (functor R X U)).f.f (n + 2)) := degree_mono R X U S (n + 2) |
| 59 | exact AlgebraicGeometry.Crystalline.Cohomology.CochainCycle.CochainCycleCorrection.exists_cycle R (S.map (functor R X U)) n |
| 60 | (degree_exact R X U S hS (n + 1)) |
| 61 | ((HomologicalComplex.exactAt_iff' _ n (n + 1) (n + 2) (by simp) (by simp)).mp hA) y hy |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Cech.CechSheaf |