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.Diagram |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.CrystallineCohomology |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.RelativeResolution |
| 4 | |
| 5 | /-! # Relative Sheaf Complex -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.RelativeSheafComplex |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # IntegralComparison: relative frame complexes in the native bounded crystalline sheaf category |
| 13 | -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | variable {p : ℕ} {B : Type u} [CommRing B] |
| 22 | {J : Ideal B} {δ : DividedPowers J} {X : Scheme.{u}} |
| 23 | (f : X ⟶ Spec (CommRingCat.of B)) (n : ℕ) |
| 24 | |
| 25 | def coefficientPresheaves : |
| 26 | ((BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) f n)ᵒᵖ ⥤ ModuleCat.{u} B) ⥤ |
| 27 | ((BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) f n)ᵒᵖ ⥤ ModuleCat.{u + 1} (Crystalline.ExactRestriction.Coeff (B := B))) := |
| 28 | (Functor.whiskeringRight _ _ _).obj (Crystalline.RelativeResolution.coefficientFunctor (B := B)) |
| 29 | |
| 30 | instance coefficientPresheaves_additive : |
| 31 | (coefficientPresheaves (p := p) (J := J) (δ := δ) f n).Additive where |
| 32 | map_add := by intros; rfl |
| 33 | |
| 34 | instance coefficientPresheaves_preservesFiniteLimits : |
| 35 | PreservesFiniteLimits (coefficientPresheaves (p := p) (J := J) (δ := δ) f n) where |
| 36 | preservesFiniteLimits T _ _ := by |
| 37 | dsimp [coefficientPresheaves] |
| 38 | infer_instance |
| 39 | |
| 40 | instance coefficientPresheaves_preservesFiniteColimits : |
| 41 | PreservesFiniteColimits (coefficientPresheaves (p := p) (J := J) (δ := δ) f n) where |
| 42 | preservesFiniteColimits T _ _ := by |
| 43 | dsimp [coefficientPresheaves] |
| 44 | infer_instance |
| 45 | |
| 46 | instance coefficientPresheaves_preservesHomology : |
| 47 | (coefficientPresheaves (p := p) (J := J) (δ := δ) f n).PreservesHomology := by |
| 48 | infer_instance |
| 49 | |
| 50 | def sheafification : |
| 51 | ((BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) f n)ᵒᵖ ⥤ ModuleCat.{u} B) ⥤ |
| 52 | BoundedCrystalline.Site.ModuleSheaf (p := p) (J := J) (δ := δ) f n := |
| 53 | coefficientPresheaves f n ⋙ presheafToSheaf (BoundedCrystalline.Site.topology f n) (ModuleCat.{u + 1} (Crystalline.ExactRestriction.Coeff (B := B))) |
| 54 | |
| 55 | instance sheafification_additive : (sheafification (p := p) (J := J) (δ := δ) f n).Additive := by |
| 56 | dsimp only [sheafification] |
| 57 | infer_instance |
| 58 | |
| 59 | instance sheafification_preservesFiniteLimits : |
| 60 | PreservesFiniteLimits (sheafification (p := p) (J := J) (δ := δ) f n) where |
| 61 | preservesFiniteLimits T _ _ := by |
| 62 | dsimp only [sheafification] |
| 63 | infer_instance |
| 64 | |
| 65 | instance sheafification_preservesFiniteColimits : |
| 66 | PreservesFiniteColimits (sheafification (p := p) (J := J) (δ := δ) f n) where |
| 67 | preservesFiniteColimits T _ _ := by |
| 68 | dsimp only [sheafification] |
| 69 | infer_instance |
| 70 | |
| 71 | instance sheafification_preservesHomology : |
| 72 | (sheafification (p := p) (J := J) (δ := δ) f n).PreservesHomology := by |
| 73 | infer_instance |
| 74 | |
| 75 | local notation "S" => OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.RelativeSheafComplex.sheafification (p := p) (J := J) (δ := δ) f n |
| 76 | local notation "A" => Functor.op (OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site.inclusion (p := p) (J := J) (δ := δ) f n) ⋙ OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineCohomology.modulePresheaf f |
| 77 | local notation "O" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) (J := J) (δ := δ) f n |
| 78 | |
| 79 | def structureIso : (S).obj A ≅ O := |
| 80 | ((BoundedCrystalline.Site.inclusion f n).pushforwardContinuousSheafificationCompatibility |
| 81 | (ModuleCat.{u + 1} (Crystalline.ExactRestriction.Coeff (B := B))) (BoundedCrystalline.Site.topology f n) BigCrystallineSite.Object.topology).app |
| 82 | (BigCrystallineCohomology.largePresheaf f) |
| 83 | |
| 84 | variable [Fact p.Prime] [IsSeparated f] (F : BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) f n) |
| 85 | |
| 86 | def complex : CochainComplex (BoundedCrystalline.Site.ModuleSheaf (p := p) (J := J) (δ := δ) f n) ℕ := |
| 87 | ((S).mapHomologicalComplex (ComplexShape.up ℕ)).obj (BoundedFrame.Diagram.complex F) |
| 88 | |
| 89 | def sourceIso : |
| 90 | ((S).mapHomologicalComplex (ComplexShape.up ℕ)).obj ((CochainComplex.single₀ _).obj A) ≅ |
| 91 | (CochainComplex.single₀ _).obj O := |
| 92 | (HomologicalComplex.singleMapHomologicalComplex S (ComplexShape.up ℕ) 0).app A ≪≫ |
| 93 | (CochainComplex.single₀ _).mapIso (structureIso f n) |
| 94 | |
| 95 | def augmentation : (CochainComplex.single₀ _).obj O ⟶ complex f n F := |
| 96 | (sourceIso f n).inv ≫ ((S).mapHomologicalComplex (ComplexShape.up ℕ)).map |
| 97 | (BoundedFrame.Diagram.augmentation F) |
| 98 | |
| 99 | theorem augmentation_quasiIso [QuasiIso (BoundedFrame.Diagram.augmentation F)] : |
| 100 | QuasiIso (augmentation f n F) := by |
| 101 | exact inferInstanceAs (QuasiIso ((sourceIso f n).inv ≫ |
| 102 | ((S).mapHomologicalComplex (ComplexShape.up ℕ)).map (BoundedFrame.Diagram.augmentation F))) |
| 103 | |
| 104 | end |
| 105 | |
| 106 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.RelativeSheafComplex |