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.TruncatedModel.IncomingRestriction |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.CechSheafAugmentationCoordinates |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Semilattice.MappedInjective |
| 4 | |
| 5 | /-! # Incoming -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.Incoming.Comparison |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The native local comparison on a fixed special-fiber open |
| 12 | preserves the original augmentation and is unique up to homotopy. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 20 | (n : ℕ) (X : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))) |
| 21 | [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 22 | (Y : Over (Spec (CommRingCat.of k))) [IsSeparated Y.hom] (f : Y.left ⟶ X.left) |
| 23 | (hp : IsPullback f Y.hom X.hom |
| 24 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 25 | (V : X.left.affineOpens) |
| 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 "U" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.CechSliceResolution.opens p k n X |
| 31 | local notation "P" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.ResolutionDiagram.diagram p k n X Y f hp |
| 32 | local notation "η" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.ResolutionDiagram.augmentation p k n X Y f hp |
| 33 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.IncomingRestriction.restriction p k n X Y f V |
| 34 | local notation "H" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.IncomingRestriction.meet_isIso p k n X Y f hp V |
| 35 | |
| 36 | local instance globalSeparated : IsSeparated w := by |
| 37 | dsimp only [Witt.Crystalline.wittStructureMap] |
| 38 | infer_instance |
| 39 | |
| 40 | local instance restriction_additive : (R).Additive := by |
| 41 | dsimp only [IncomingRestriction.restriction] |
| 42 | infer_instance |
| 43 | local instance restriction_limits : PreservesFiniteLimits R := by |
| 44 | dsimp only [IncomingRestriction.restriction] |
| 45 | infer_instance |
| 46 | local instance restriction_colimits : PreservesFiniteColimits R := by |
| 47 | dsimp only [IncomingRestriction.restriction] |
| 48 | infer_instance |
| 49 | local instance restriction_injectives : (R).PreservesInjectiveObjects := by |
| 50 | dsimp only [IncomingRestriction.restriction] |
| 51 | infer_instance |
| 52 | |
| 53 | local instance globalCoproducts : HasCoproducts.{0} |
| 54 | (BoundedCrystalline.Site.ModuleSheaf (p := p) (J := Ideal.span {(p : W)}) (δ := γ) w n) := |
| 55 | GeometricComparison.Module.SheafCoproducts.ModuleSheafCoproducts.hasCoproducts (Crystalline.ExactRestriction.Coeff (B := W)) |
| 56 | (BoundedCrystalline.Site.topology w n) |
| 57 | local instance localCoproducts : HasCoproducts.{0} |
| 58 | (BoundedOpen.Subsite.ModuleSheaf (p := p) (J := Ideal.span {(p : W)}) (δ := γ) |
| 59 | w (f ⁻¹ᵁ V.val).ι n) := |
| 60 | GeometricComparison.Module.SheafCoproducts.ModuleSheafCoproducts.hasCoproducts (Crystalline.ExactRestriction.Coeff (B := W)) |
| 61 | (BoundedOpen.Subsite.topology w (f ⁻¹ᵁ V.val).ι n) |
| 62 | |
| 63 | abbrev augmentation := GeometricComparison.Semilattice.MappedInjective.SemilatticeMappedInjectiveComparison.augmentation X.left.affineOpens V R P η |
| 64 | |
| 65 | variable (J : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 66 | (J := Ideal.span {(p : WittVector p k)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 67 | (Witt.Crystalline.wittStructureMap p k Y) n)) |
| 68 | |
| 69 | abbrev map := GeometricComparison.Semilattice.MappedInjective.SemilatticeMappedInjectiveComparison.map X.left.affineOpens U V R P H |
| 70 | (DiagonalCech.Comparison.totalIso p k n X Y f hp) J |
| 71 | (CechInjective.Comparison.map p k n X Y f hp J) |
| 72 | |
| 73 | abbrev augmentation_map := GeometricComparison.Semilattice.MappedInjective.SemilatticeMappedInjectiveComparison.augmentation_map |
| 74 | X.left.affineOpens U V R P H η |
| 75 | (DiagonalCech.Comparison.totalIso p k n X Y f hp) |
| 76 | (CechSheafResolution.augmentation p k n X Y f hp) |
| 77 | (CechSheafAugmentationCoordinates.augmentation p k n X Y f hp) J |
| 78 | (CechInjective.Comparison.map p k n X Y f hp J) |
| 79 | (CechInjective.Comparison.augmentation p k n X Y f hp J) |
| 80 | |
| 81 | variable (i : AlgebraicGeometry.Crystalline.Cohomology.Base.SmoothProperEtaleCover.BaseSmoothProperEtaleCover.Index (Truncated.Witt.Ring p k n) X) |
| 82 | (hi : V.val ≤ AlgebraicGeometry.Crystalline.Cohomology.Base.ProperOrdinaryFormCharts.BaseSmoothProperOrdinaryFormCharts.opens (Truncated.Witt.Ring p k n) X i) |
| 83 | |
| 84 | include hi in |
| 85 | theorem augmentation_quasiIso : QuasiIso (augmentation p k n X Y f hp V) := by |
| 86 | let := IncomingRestriction.augmentation_quasiIso p k n X Y f hp V i hi |
| 87 | exact GeometricComparison.Semilattice.MappedInjective.SemilatticeMappedInjectiveComparison.augmentation_quasiIso X.left.affineOpens V R P η |
| 88 | |
| 89 | def homotopy |
| 90 | (c : ((R).mapHomologicalComplex (.up ℕ)).obj ((P).obj (op V)) ⟶ |
| 91 | (ExactInjectiveResolution.map R J).cocomplex) |
| 92 | (hc : augmentation p k n X Y f hp V ≫ c = (ExactInjectiveResolution.map R J).ι) : |
| 93 | Homotopy (Comparison.map p k n X Y f hp V J) c := by |
| 94 | let := augmentation_quasiIso p k n X Y f hp V i hi |
| 95 | exact Augmented.ResolutionHomotopy.homotopy _ (augmentation p k n X Y f hp V) |
| 96 | (ExactInjectiveResolution.map R J) _ c |
| 97 | ((augmentation_map p k n X Y f hp V J).trans hc.symm) |
| 98 | |
| 99 | end |
| 100 | |
| 101 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.Incoming.Comparison |