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.BoundedFrame.CechRefinement |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.CechPresheafCohomology |
| 3 | |
| 4 | /-! # Cech Presheaf Refinement -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.CechPresheafRefinement |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Refinement invariance for the actual ambient-ring presheaf Čech |
| 11 | comparison with original bounded crystalline Ext. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable (p : ℕ) [Fact p.Prime] (k : Type u) [Field k] [CharP k p] |
| 20 | {J : Ideal (WittVector p k)} {δ : DividedPowers J} {X : Scheme.{u}} |
| 21 | (f : X ⟶ Spec (CommRingCat.of (WittVector p k))) [IsSeparated f] (n : ℕ) |
| 22 | {ι κ : Type u} (F : ι → BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) f n) |
| 23 | (G : κ → BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) f n) (ρ : ι → κ) |
| 24 | (α : ∀ i, F i ⟶ G (ρ i)) |
| 25 | |
| 26 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p k) |
| 27 | local notation "P" => Functor.comp (Functor.op (OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site.inclusion f n)) (OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineCohomology.largePresheaf f) |
| 28 | local notation "H" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) (J := J) (δ := δ) f n |
| 29 | |
| 30 | local instance coefficientProducts : HasProducts.{u} (ModuleCat.{u + 1} R) := by |
| 31 | let h : HasLimitsOfSize.{u, u} (ModuleCat.{u + 1} R) := ModuleCat.hasLimitsOfSize.{u, u, u + 1, u + 1} |
| 32 | exact fun I => h.has_limits_of_shape (Discrete I) |
| 33 | |
| 34 | def map : CechComplex.presheafComplex f n G ⟶ |
| 35 | CechComplex.presheafComplex f n F := |
| 36 | (AlgebraicTopology.alternatingCofaceMapComplex (ModuleCat R)).map |
| 37 | (Cech.FamilyRefinement.Family.map.{u + 1, u} F G ρ α P) |
| 38 | |
| 39 | def liftedMap : CechPresheafCohomology.complex p k f n G ⟶ |
| 40 | CechPresheafCohomology.complex p k f n F := |
| 41 | ((ModuleCat.uliftFunctor.{u + 2, u + 1} R).mapHomologicalComplex (.up ℕ)).map (CechPresheafRefinement.map p k f n F G ρ α) |
| 42 | |
| 43 | omit [CharP k p] in |
| 44 | theorem coefficientComplexes : CechPresheafRefinement.map p k f n F G ρ α ≫ (CechComplex.presheafIso f n F).hom = |
| 45 | (CechComplex.presheafIso f n G).hom ≫ |
| 46 | FrameCech.RefinementExt.cochainMap.{u + 1, u} F G ρ α R (BoundedCrystalline.Site.topology f n) H := by |
| 47 | let e := Functor.isoWhiskerLeft (BoundedCrystalline.Site.inclusion (p := p) (J := J) (δ := δ) f n).op |
| 48 | (Crystalline.StructureDescent.structurePresheafIso (p := p) (J := J) (δ := δ) f) |
| 49 | let T := AlgebraicTopology.alternatingCofaceMapComplex (ModuleCat.{u + 1} R) |
| 50 | have h := Cech.FamilyRefinement.Family.naturality.{u + 1, u} F G ρ α P (H).obj e.hom |
| 51 | exact (T.map_comp _ _).symm.trans ((congrArg T.map h.symm).trans (T.map_comp _ _)) |
| 52 | |
| 53 | omit [CharP k p] in |
| 54 | theorem complexes : liftedMap p k f n F G ρ α ≫ |
| 55 | (CechPresheafCohomology.sheafIso p k f n F).hom = |
| 56 | (CechPresheafCohomology.sheafIso p k f n G).hom ≫ |
| 57 | CechRefinement.map p k f n F G ρ α := by |
| 58 | let T := (ModuleCat.uliftFunctor.{u + 2, u + 1} R).mapHomologicalComplex (.up ℕ) |
| 59 | exact (T.map_comp _ _).symm.trans |
| 60 | ((congrArg T.map (coefficientComplexes p k f n F G ρ α)).trans (T.map_comp _ _)) |
| 61 | |
| 62 | theorem homology |
| 63 | (hF : ∀ U, CoveringObjectsSheafDetection.sieve F U ∈ BoundedCrystalline.Site.topology f n U) |
| 64 | (hG : ∀ U, CoveringObjectsSheafDetection.sieve G U ∈ BoundedCrystalline.Site.topology f n U) (i : ℕ) : |
| 65 | HomologicalComplex.homologyMap (liftedMap p k f n F G ρ α) i ≫ |
| 66 | (CechPresheafCohomology.homologyIso p k f n F hF i).hom = |
| 67 | (CechPresheafCohomology.homologyIso p k f n G hG i).hom := by |
| 68 | let a := liftedMap p k f n F G ρ α |
| 69 | let b := (CechPresheafCohomology.sheafIso p k f n F).hom |
| 70 | let c := (CechPresheafCohomology.sheafIso p k f n G).hom |
| 71 | let d := CechRefinement.map p k f n F G ρ α |
| 72 | let h := (CechCohomology.homologyIso p k f n F hF i).hom |
| 73 | have hs := (HomologicalComplex.homologyMap_comp a b i).symm.trans |
| 74 | ((congrArg (fun z => HomologicalComplex.homologyMap z i) (complexes p k f n F G ρ α)).trans |
| 75 | (HomologicalComplex.homologyMap_comp c d i)) |
| 76 | exact (Category.assoc _ _ _).symm.trans |
| 77 | ((congrArg (fun z => z ≫ h) hs).trans |
| 78 | ((Category.assoc _ _ _).trans |
| 79 | (congrArg (fun z => HomologicalComplex.homologyMap c i ≫ z) |
| 80 | (CechRefinement.homology p k f n F G ρ α hF hG i)))) |
| 81 | |
| 82 | end |
| 83 | |
| 84 | end OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.CechPresheafRefinement |