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.SmoothProper.BoundedFiniteness |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.FiniteInverseLimit |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Global.Crystalline |
| 4 | |
| 5 | /-! # Crystalline Inverse Limit -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothProper.CrystallineInverseLimit |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The original integral crystalline cohomology is the inverse limit of its finite bounded Ext groups in every degree. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable (p : ℕ) [Fact p.Prime] (k : Type u) [Field k] [Fintype k] [CharP k p] |
| 20 | (X : Over (Spec (CommRingCat.of k))) [IsProper X.hom] [Smooth X.hom] |
| 21 | (hprojective : Projectivity.Construction.ProjectiveOver k X.hom) |
| 22 | |
| 23 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p k) |
| 24 | |
| 25 | include hprojective in |
| 26 | theorem inclusion_mono (i : ℕ) : Mono (HomologicalComplex.homologyMap |
| 27 | (Crystalline.ResolutionComplexExact.sequence (p := p) (J := Ideal.span {(p : WittVector p k)}) |
| 28 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) (Witt.Crystalline.wittStructureMap p k X)).f i) := by |
| 29 | cases i with |
| 30 | | zero => |
| 31 | exact ShortExactHomologyKernel.mono_zero _ |
| 32 | (Crystalline.ResolutionComplexExact.shortExact (p := p) (J := Ideal.span {(p : WittVector p k)}) |
| 33 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) (Witt.Crystalline.wittStructureMap p k X)) |
| 34 | | succ i => |
| 35 | let (n : ℕ) : Finite (BoundedCrystalline.CrystallineCohomology.Cohomology (p := p) |
| 36 | (J := Ideal.span {(p : WittVector p k)}) |
| 37 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) (Witt.Crystalline.wittStructureMap p k X) n i) := |
| 38 | BoundedFiniteness.finite_type p k X hprojective n i |
| 39 | exact Crystalline.FiniteLevelKernel.inclusion_mono_succ (Witt.Crystalline.wittStructureMap p k X) i |
| 40 | |
| 41 | def bigCompatibleEquiv (i : ℕ) : |
| 42 | BigCrystallineCohomology.Cohomology (p := p) (J := Ideal.span {(p : WittVector p k)}) |
| 43 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) (Witt.Crystalline.wittStructureMap p k X) i ≃ₗ[R] |
| 44 | Crystalline.CohomologyDifference.compatible (p := p) (J := Ideal.span {(p : WittVector p k)}) |
| 45 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) (Witt.Crystalline.wittStructureMap p k X) i := by |
| 46 | let := inclusion_mono p k X hprojective i |
| 47 | exact Crystalline.FiniteInverseLimit.compatibleLinearEquiv (Witt.Crystalline.wittStructureMap p k X) i |
| 48 | |
| 49 | def compatibleEquiv (i : ℕ) : Witt.Crystalline.integralCohomology p k X i ≃ₗ[R] |
| 50 | Crystalline.CohomologyDifference.compatible (p := p) (J := Ideal.span {(p : WittVector p k)}) |
| 51 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) (Witt.Crystalline.wittStructureMap p k X) i := |
| 52 | (Global.Crystalline.Comparison.integralEquiv p k X i).symm.trans (bigCompatibleEquiv p k X hprojective i) |
| 53 | |
| 54 | def limitEquiv (i : ℕ) : Witt.Crystalline.integralCohomology p k X i ≃ₗ[R] |
| 55 | (limit (Crystalline.FiniteInverseLimit.diagram (p := p) (J := Ideal.span {(p : WittVector p k)}) |
| 56 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) (Witt.Crystalline.wittStructureMap p k X) i) : ModuleCat.{u + 2} R) := |
| 57 | by |
| 58 | let := inclusion_mono p k X hprojective i |
| 59 | exact (Global.Crystalline.Comparison.integralEquiv p k X i).symm.trans |
| 60 | (Crystalline.FiniteInverseLimit.linearEquiv (p := p) |
| 61 | (J := Ideal.span {(p : WittVector p k)}) |
| 62 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 63 | (Witt.Crystalline.wittStructureMap p k X) i) |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothProper.CrystallineInverseLimit |