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.GeometricComparison.Section.DiagonalCech |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.SectionRowRestriction |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.ZariskiSectionQuasiIso |
| 4 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Module.SheafCoproducts |
| 5 | |
| 6 | /-! # Diagonal Cech -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.DiagonalCech.Comparison |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The actual native diagonal section complex maps globally to the |
| 13 | original crystalline injective resolution, compatibly with all open restrictions. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | |
| 20 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 21 | (n : ℕ) (X : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))) |
| 22 | [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 23 | (Y : Over (Spec (CommRingCat.of k))) [IsSeparated Y.hom] (f : Y.left ⟶ X.left) |
| 24 | (hp : IsPullback f Y.hom X.hom |
| 25 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 26 | |
| 27 | local notation "W" => WittVector p k |
| 28 | local notation "w" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p k Y |
| 29 | local notation "γ" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k |
| 30 | local notation "Rcoeff" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p k) |
| 31 | local notation "S" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.SectionBifunctor.sections p k n X Y f |
| 32 | local notation "P" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.ResolutionDiagram.diagram p k n X Y f hp |
| 33 | local notation "H" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.SectionRowRestriction.meet_isIso p k n X Y f hp |
| 34 | local notation "U" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.CechSliceResolution.opens p k n X |
| 35 | |
| 36 | local instance separated : IsSeparated w := by |
| 37 | dsimp only [Witt.Crystalline.wittStructureMap] |
| 38 | infer_instance |
| 39 | |
| 40 | local instance sheafCoproducts : HasCoproducts.{0} |
| 41 | (BoundedCrystalline.Site.ModuleSheaf (p := p) (J := Ideal.span {(p : W)}) (δ := γ) w n) := |
| 42 | GeometricComparison.Module.SheafCoproducts.ModuleSheafCoproducts.hasCoproducts Rcoeff |
| 43 | (BoundedCrystalline.Site.topology (p := p) (J := Ideal.span {(p : W)}) (δ := γ) w n) |
| 44 | |
| 45 | abbrev source := GeometricComparison.Section.DiagonalCone.SectionDiagonalCone.source X.left.affineOpens S P |
| 46 | |
| 47 | def totalIso : CechSheafResolution.complex p k n X Y f hp ≅ GeometricComparison.CechCone.Total.CechConeTotal.total U P := |
| 48 | GeometricComparison.CechCone.TotalCoefficient.CechConeTotalCoefficient.totalIso |
| 49 | (Bounded.RelativeSheafComplex.sheafification (p := p) (J := Ideal.span {(p : W)}) (δ := γ) w n) |
| 50 | U (CechPresheaf.diagram p k n X Y f hp) |
| 51 | |
| 52 | def totalMap : source p k n X Y f hp ⟶ ((S).mapHomologicalComplex (.up ℕ)).obj |
| 53 | (CechSheafResolution.complex p k n X Y f hp) := |
| 54 | GeometricComparison.Section.DiagonalCech.SectionDiagonalCechComparison.map.{0, 2, 1, 1, 2} X.left.affineOpens Rcoeff S P H U ≫ |
| 55 | ((S).mapHomologicalComplex (.up ℕ)).map (totalIso p k n X Y f hp).inv |
| 56 | |
| 57 | variable (J : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 58 | (J := Ideal.span {(p : WittVector p k)}) |
| 59 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 60 | (Witt.Crystalline.wittStructureMap p k Y) n)) |
| 61 | |
| 62 | def map : source p k n X Y f hp ⟶ ((S).mapHomologicalComplex (.up ℕ)).obj J.cocomplex := |
| 63 | totalMap p k n X Y f hp ≫ ((S).mapHomologicalComplex (.up ℕ)).map |
| 64 | (CechInjective.Comparison.map p k n X Y f hp J) |
| 65 | |
| 66 | variable (I : X.left.affineOpens) (i : AlgebraicGeometry.Crystalline.Cohomology.Base.SmallEtaleCover.BaseSmallEtaleCover.Index (Truncated.Witt.Ring p k n) X) |
| 67 | (hi : I.val ≤ (AlgebraicGeometry.Crystalline.Cohomology.Base.SmallEtaleCover.BaseSmallEtaleCover.opens (Truncated.Witt.Ring p k n) X i).val) |
| 68 | |
| 69 | abbrev evaluate := (evaluation X.left.affineOpensᵒᵖ (ModuleCat.{2} Rcoeff)).obj (op I) |
| 70 | local notation "E" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.DiagonalCech.Comparison.evaluate p k n X I |
| 71 | |
| 72 | include hi in |
| 73 | theorem totalMap_evaluation_quasiIso : QuasiIso |
| 74 | (((E).mapHomologicalComplex (.up ℕ)).map (totalMap p k n X Y f hp)) := by |
| 75 | have ha := GeometricComparison.Section.DiagonalCech.SectionDiagonalCechComparison.evaluation_quasiIso.{0, 2, 1, 1, 2} |
| 76 | X.left.affineOpens Rcoeff S P H U I i hi |
| 77 | let e := ((S).mapHomologicalComplex (.up ℕ)).mapIso (totalIso p k n X Y f hp) |
| 78 | let e' := ((E).mapHomologicalComplex (.up ℕ)).mapIso e |
| 79 | have he : QuasiIso e'.inv := inferInstance |
| 80 | rw [totalMap] |
| 81 | erw [CategoryTheory.Functor.map_comp] |
| 82 | exact (quasiIso_iff_comp_right _ e'.inv (hφ' := he)).mpr ha |
| 83 | |
| 84 | include hi in |
| 85 | theorem evaluation_quasiIso : QuasiIso (((E).mapHomologicalComplex (.up ℕ)).map (Comparison.map p k n X Y f hp J)) := by |
| 86 | let ha := totalMap_evaluation_quasiIso p k n X Y f hp I i hi |
| 87 | let hb : QuasiIso (((E).mapHomologicalComplex (.up ℕ)).map |
| 88 | (((S).mapHomologicalComplex (.up ℕ)).map |
| 89 | (CechInjective.Comparison.map p k n X Y f hp J))) := |
| 90 | ZariskiSectionQuasiIso.Cech.evaluation_quasiIso p k n X Y f hp I J i hi |
| 91 | rw [Comparison.map] |
| 92 | erw [CategoryTheory.Functor.map_comp] |
| 93 | infer_instance |
| 94 | |
| 95 | end |
| 96 | |
| 97 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.DiagonalCech.Comparison |