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.Crystalline.StructureDescent |
| 2 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.PD.DeRhamGlobal |
| 3 | |
| 4 | /-! # De Rham -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.DeRham |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # IntegralComparison: divided-power de Rham forms on the original crystalline site |
| 12 | |
| 13 | The actual ambient divided-power rings and their restriction maps define |
| 14 | a complex on the big crystalline site. Its degree-zero sheaf is the |
| 15 | original structure sheaf used to define crystalline cohomology. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 19 | |
| 20 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction |
| 21 | |
| 22 | universe u |
| 23 | |
| 24 | variable {p : ℕ} {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 25 | {X : Scheme.{u}} (f : X ⟶ Spec (CommRingCat.of B)) |
| 26 | |
| 27 | local instance objectAlgebra (U : BigCrystallineSite.Object p B J δ f) : Algebra B U.ring := U.base.toAlgebra |
| 28 | |
| 29 | def ambientMap {U V : BigCrystallineSite.Object p B J δ f} (α : U ⟶ V) : V.ring →ₐ[B] U.ring := |
| 30 | { α.ringMap.toRingHom with commutes' := DFunLike.congr_fun α.overBase } |
| 31 | |
| 32 | theorem ambientMap_isDPMorphism {U V : BigCrystallineSite.Object p B J δ f} (α : U ⟶ V) : |
| 33 | DividedPowers.IsDPMorphism V.dividedPowers U.dividedPowers |
| 34 | (CommAlgCat.ofHom (ambientMap f α)).hom.toRingHom := α.ringMap.isDPMorphism |
| 35 | |
| 36 | def formsPresheaf (n : ℕ) : (BigCrystallineSite.Object p B J δ f)ᵒᵖ ⥤ ModuleCat.{u} B where |
| 37 | obj U := ModuleCat.of B (AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.Form B U.unop.ring U.unop.ideal U.unop.dividedPowers n) |
| 38 | map α := ModuleCat.ofHom (AlgebraicGeometry.Crystalline.Cohomology.PD.DeRhamGlobal.PDDeRhamGlobal.formMap |
| 39 | (CommAlgCat.ofHom (ambientMap f α.unop)) (ambientMap_isDPMorphism f α.unop) n) |
| 40 | map_id U := by |
| 41 | apply ModuleCat.hom_ext |
| 42 | apply LinearMap.ext |
| 43 | intro ω |
| 44 | exact AlgebraicGeometry.Crystalline.Cohomology.PD.DeRhamGlobal.PDDeRhamGlobal.formMap_id (A := CommAlgCat.of B U.unop.ring) |
| 45 | (δI := U.unop.dividedPowers) (DividedPowers.DPMorphism.id U.unop.dividedPowers).isDPMorphism n ω |
| 46 | map_comp α β := by |
| 47 | apply ModuleCat.hom_ext |
| 48 | apply LinearMap.ext |
| 49 | intro ω |
| 50 | exact AlgebraicGeometry.Crystalline.Cohomology.PD.DeRhamGlobal.PDDeRhamGlobal.formMap_comp |
| 51 | (CommAlgCat.ofHom (ambientMap f α.unop)) (CommAlgCat.ofHom (ambientMap f β.unop)) |
| 52 | (ambientMap_isDPMorphism f α.unop) (ambientMap_isDPMorphism f β.unop) |
| 53 | (ambientMap_isDPMorphism f (α ≫ β).unop) n ω |
| 54 | |
| 55 | def differential (n : ℕ) : formsPresheaf (p := p) (J := J) (δ := δ) f n ⟶ formsPresheaf (p := p) (J := J) (δ := δ) f (n + 1) where |
| 56 | app U := ModuleCat.ofHom (AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.differential B U.unop.ring U.unop.ideal U.unop.dividedPowers n) |
| 57 | naturality _ _ α := ModuleCat.hom_ext (LinearMap.ext (fun ω => |
| 58 | (AlgebraicGeometry.Crystalline.Cohomology.PD.DeRhamGlobal.PDDeRhamGlobal.formMap_differential (CommAlgCat.ofHom (ambientMap f α.unop)) |
| 59 | (ambientMap_isDPMorphism f α.unop) n ω).symm)) |
| 60 | |
| 61 | theorem differential_square (n : ℕ) : differential (p := p) (J := J) (δ := δ) f n ≫ differential (p := p) (J := J) (δ := δ) f (n + 1) = 0 := by |
| 62 | apply NatTrans.ext |
| 63 | funext U |
| 64 | apply ModuleCat.hom_ext |
| 65 | exact LinearMap.ext (AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.differential_square B U.unop.ring U.unop.ideal U.unop.dividedPowers n) |
| 66 | |
| 67 | def presheafComplex : CochainComplex ((BigCrystallineSite.Object p B J δ f)ᵒᵖ ⥤ ModuleCat.{u} B) ℕ := |
| 68 | CochainComplex.of (formsPresheaf (p := p) (J := J) (δ := δ) f) (differential (p := p) (J := J) (δ := δ) f) (differential_square (p := p) (J := J) (δ := δ) f) |
| 69 | |
| 70 | def sheafificationFunctor : |
| 71 | ((BigCrystallineSite.Object p B J δ f)ᵒᵖ ⥤ ModuleCat.{u} B) ⥤ ExactRestriction.ModuleSheaf (p := p) (J := J) (δ := δ) f := |
| 72 | (Functor.whiskeringRight _ _ _).obj |
| 73 | (ModuleCat.uliftFunctor.{u + 1} B ⋙ |
| 74 | ModuleCat.restrictScalars (ULift.ringEquiv : ExactRestriction.Coeff (B := B) ≃+* B).toRingHom) ⋙ |
| 75 | presheafToSheaf BigCrystallineSite.Object.topology (ModuleCat.{u + 1} (ExactRestriction.Coeff (B := B))) |
| 76 | |
| 77 | instance sheafification_preservesZero : (sheafificationFunctor (p := p) (J := J) (δ := δ) f).PreservesZeroMorphisms := by |
| 78 | dsimp [sheafificationFunctor] |
| 79 | infer_instance |
| 80 | |
| 81 | def sheafComplex : CochainComplex (ExactRestriction.ModuleSheaf (p := p) (J := J) (δ := δ) f) ℕ := |
| 82 | ((sheafificationFunctor (p := p) (J := J) (δ := δ) f).mapHomologicalComplex (ComplexShape.up ℕ)).obj (presheafComplex (p := p) (J := J) (δ := δ) f) |
| 83 | |
| 84 | def degreeZeroPresheafIso : formsPresheaf (p := p) (J := J) (δ := δ) f 0 ≅ BigCrystallineCohomology.modulePresheaf (p := p) (J := J) (δ := δ) f := |
| 85 | NatIso.ofComponents |
| 86 | (fun U => ((AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.degreeZeroEquiv B U.unop.ring U.unop.ideal |
| 87 | U.unop.dividedPowers).restrictScalars B).toModuleIso) |
| 88 | (fun {U V} α => by |
| 89 | apply ModuleCat.hom_ext |
| 90 | apply LinearMap.ext |
| 91 | intro ω |
| 92 | have hω := AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.symbol_degreeZeroEquiv B U.unop.ring U.unop.ideal U.unop.dividedPowers ω |
| 93 | rw [← hω] |
| 94 | change AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.degreeZeroEquiv _ _ _ _ |
| 95 | (AlgebraicGeometry.Crystalline.Cohomology.PD.DeRhamGlobal.PDDeRhamGlobal.formMap (CommAlgCat.ofHom (ambientMap f α.unop)) |
| 96 | (ambientMap_isDPMorphism f α.unop) 0 (AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.symbol _ _ _ _ _ _)) = |
| 97 | α.unop.ringMap (AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.degreeZeroEquiv _ _ _ _ (AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.symbol _ _ _ _ _ _)) |
| 98 | rw [AlgebraicGeometry.Crystalline.Cohomology.PD.DeRhamGlobal.PDDeRhamGlobal.formMap_symbol, AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.degreeZeroEquiv_symbol, |
| 99 | AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.degreeZeroEquiv_symbol] |
| 100 | rfl) |
| 101 | |
| 102 | /-- Degree zero is the structure sheaf in the existing crystalline cohomology definition. -/ |
| 103 | def degreeZeroSheafIso : (sheafComplex (p := p) (J := J) (δ := δ) f).X 0 ≅ BigCrystallineCohomology.structureSheaf (p := p) (J := J) (δ := δ) f := |
| 104 | (sheafificationFunctor (p := p) (J := J) (δ := δ) f).mapIso (degreeZeroPresheafIso (p := p) (J := J) (δ := δ) f) |
| 105 | |
| 106 | end |
| 107 | |
| 108 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.DeRham |