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.IntegralComparison.BoundedOpen.SectionSheaf |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.SectionGlobal |
| 3 | import Mathlib.Topology.Sheaves.Flasque |
| 4 | |
| 5 | /-! # Flasque Complex -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.FlasqueComplex |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # IntegralComparison: the original bounded crystalline resolution gives a complex of flasque Zariski sheaves |
| 13 | -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | variable {p : ℕ} {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 22 | {Y : Scheme.{u}} (fY : Y ⟶ Spec (CommRingCat.of B)) (n : ℕ) |
| 23 | |
| 24 | instance ulift_sheafCompose : (Opens.grothendieckTopology Y).HasSheafCompose |
| 25 | (ModuleCat.uliftFunctor.{u + 2, u + 1} (Crystalline.ExactRestriction.Coeff (B := B))) := by |
| 26 | let : Limits.PreservesLimitsOfSize.{u, u} |
| 27 | (ModuleCat.uliftFunctor.{u + 2, u + 1} (Crystalline.ExactRestriction.Coeff (B := B))) := |
| 28 | Limits.preservesLimitsOfSize_of_univLE.{u + 1, u + 1} _ |
| 29 | infer_instance |
| 30 | |
| 31 | def functor : BoundedCrystalline.Site.ModuleSheaf (p := p) (J := J) (δ := δ) fY n ⥤ |
| 32 | Sheaf (Opens.grothendieckTopology Y) (ModuleCat.{u + 2} (Crystalline.ExactRestriction.Coeff (B := B))) := |
| 33 | SectionSheaf.functor fY n ⋙ |
| 34 | sheafCompose (Opens.grothendieckTopology Y) (ModuleCat.uliftFunctor.{u + 2, u + 1} (Crystalline.ExactRestriction.Coeff (B := B))) |
| 35 | |
| 36 | instance functor_additive : (functor (p := p) (J := J) (δ := δ) fY n).Additive where |
| 37 | map_add := by intros; rfl |
| 38 | |
| 39 | def underlyingIso : functor (p := p) (J := J) (δ := δ) fY n ⋙ |
| 40 | sheafToPresheaf (Opens.grothendieckTopology Y) (ModuleCat.{u + 2} (Crystalline.ExactRestriction.Coeff (B := B))) ≅ |
| 41 | SectionComplex.functor fY n := Iso.refl _ |
| 42 | |
| 43 | theorem flasque (F : BoundedCrystalline.Site.ModuleSheaf (p := p) (J := J) (δ := δ) fY n) |
| 44 | [Injective F] : TopCat.Presheaf.IsFlasque (X := Y.carrier) (((functor fY n).obj F).obj) where |
| 45 | epi α := by |
| 46 | apply (ModuleCat.epi_iff_surjective _).mpr |
| 47 | intro x |
| 48 | obtain ⟨y, hy⟩ := SectionPresheaf.restriction_surjective fY n F α x.down |
| 49 | exact ⟨ULift.up y, congrArg ULift.up hy⟩ |
| 50 | |
| 51 | variable (I : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf |
| 52 | (p := p) (J := J) (δ := δ) fY n)) |
| 53 | |
| 54 | def complex : CochainComplex |
| 55 | (Sheaf (Opens.grothendieckTopology Y) (ModuleCat.{u + 2} (Crystalline.ExactRestriction.Coeff (B := B)))) ℕ := |
| 56 | ((functor fY n).mapHomologicalComplex (ComplexShape.up ℕ)).obj I.cocomplex |
| 57 | |
| 58 | def underlyingComplexIso : |
| 59 | ((sheafToPresheaf (Opens.grothendieckTopology Y) (ModuleCat.{u + 2} (Crystalline.ExactRestriction.Coeff (B := B)))).mapHomologicalComplex |
| 60 | (ComplexShape.up ℕ)).obj (complex fY n I) ≅ SectionComplex.complex fY n I := Iso.refl _ |
| 61 | |
| 62 | theorem term_flasque (i : ℕ) : |
| 63 | TopCat.Presheaf.IsFlasque (X := Y.carrier) (((complex fY n I).X i).obj) := by |
| 64 | let : Injective (I.cocomplex.X i) := I.injective i |
| 65 | exact flasque fY n (I.cocomplex.X i) |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.FlasqueComplex |