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.GlobalFunction.ResidueEvaluation |
| 2 | |
| 3 | /-! # Global Function Residue -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.GlobalFunctionResidue |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The original crystalline residue map with its actual, unlifted Witt-vector scalar action. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | attribute [local instance] PeriodInvariants.WittAlgebraFunctor.wittAlgebra PeriodInvariants.WittAlgebraFunctor.residueAlgebra |
| 16 | |
| 17 | variable (p : ℕ) [Fact p.Prime] (k : Type u) [Field k] [Fintype k] [CharP k p] |
| 18 | (X : Over (Spec (CommRingCat.of k))) [IsProper X.hom] [Smooth X.hom] [Nonempty X.left] |
| 19 | (hprojective : Projectivity.Construction.ProjectiveOver k X.hom) |
| 20 | |
| 21 | local notation "W" => WittVector p k |
| 22 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p k) |
| 23 | local notation "A" => OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothProper.GlobalFunctionAlgebra.algebra k X |
| 24 | local notation "M" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.integralCohomology p k X 0 |
| 25 | |
| 26 | def map : M →ₗ[W] A := by |
| 27 | let l : M →ₗ[R] ZeroLevel.GlobalFunctionLinear.coefficientModule p k X := |
| 28 | SmoothProper.CrystallineResidueInjection.integralEvaluation p k X hprojective |
| 29 | let v : M → Γ(X.left, ⊤) := fun x => (l x).down |
| 30 | refine { toFun := v, map_add' := ?_, map_smul' := ?_ } |
| 31 | · intro x y |
| 32 | exact congrArg ULift.down (l.map_add x y) |
| 33 | · intro w x |
| 34 | have h := congrArg ULift.down (l.map_smul (ULift.up w : R) x) |
| 35 | change v ((ULift.up w : R) • x) = |
| 36 | AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionBaseMap k X ⊤ (WittVector.constantCoeff w) * v x at h |
| 37 | have hs : (w • x : M) = (ULift.up w : R) • x := rfl |
| 38 | have ht : (w • (v x : A) : A) = |
| 39 | AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionBaseMap k X ⊤ (WittVector.constantCoeff w) * v x := rfl |
| 40 | exact (congrArg v hs).trans (h.trans ht.symm) |
| 41 | |
| 42 | theorem constants (w : WittVector p A) : |
| 43 | map p k X hprojective (SmoothProper.GlobalFunctionConstants.integralMap p k X hprojective w) = |
| 44 | w.coeff 0 := congrArg ULift.down (GlobalFunction.ResidueEvaluation.evaluation p k X hprojective w) |
| 45 | |
| 46 | omit [Nonempty X.left] in |
| 47 | theorem kernel : LinearMap.ker (map p k X hprojective) = |
| 48 | (Ideal.span {(p : W)}) • (⊤ : Submodule W M) := by |
| 49 | have hm (x : M) : x ∈ (Ideal.span {(p : W)}) • (⊤ : Submodule W M) ↔ ∃ y : M, (p : W) • y = x := by |
| 50 | simpa only [Principal.PowerModuleSequence.submodule, pow_one] using |
| 51 | Principal.PowerModuleSequence.mem_submodule W M (p : W) 1 x |
| 52 | have hr (x : M) : x ∈ (Ideal.span {(p : R)}) • (⊤ : Submodule R M) ↔ ∃ y : M, (p : R) • y = x := by |
| 53 | simpa only [Principal.PowerModuleSequence.submodule, pow_one] using |
| 54 | Principal.PowerModuleSequence.mem_submodule R M (p : R) 1 x |
| 55 | ext x |
| 56 | have hz : map p k X hprojective x = 0 ↔ |
| 57 | SmoothProper.CrystallineResidueInjection.integralEvaluation p k X hprojective x = 0 := by |
| 58 | constructor |
| 59 | · intro h |
| 60 | apply ULift.ext |
| 61 | exact h |
| 62 | · exact congrArg ULift.down |
| 63 | rw [LinearMap.mem_ker, hz, ← LinearMap.mem_ker, |
| 64 | SmoothProper.CrystallineResidueInjection.integralEvaluation_kernel p k X hprojective, hr, hm] |
| 65 | constructor |
| 66 | · rintro ⟨y, hy⟩ |
| 67 | exact ⟨y, hy⟩ |
| 68 | · rintro ⟨y, hy⟩ |
| 69 | exact ⟨y, hy⟩ |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.GlobalFunctionResidue |