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.ZeroLevel.GlobalFunctionLinear |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothProper.CechInverseLimit |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothProper.CechFiniteness |
| 4 | |
| 5 | /-! # Crystalline Residue Injection -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothProper.CrystallineResidueInjection |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Reduction modulo p of the original integral crystalline degree-zero cohomology injects into actual global regular functions. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 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] |
| 19 | |
| 20 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p k) |
| 21 | local notation "A" => (fun n : ℕ => ModuleCat.carrier |
| 22 | (HomologicalComplex.homology (WittCechTransitionData.complex p k X n) 0)) |
| 23 | local notation "t" => (fun n : ℕ => OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothProper.CechScalarSystem.map p k X n (n + 1) (Nat.le_succ n) 0) |
| 24 | local notation "L" => OAI.NumberTheory.PadicHodge.IntegralComparison.ScalarInverseResidue.compatible R A t |
| 25 | local notation "M" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.integralCohomology p k X 0 |
| 26 | |
| 27 | def cechEvaluation : L →ₗ[R] ZeroLevel.GlobalFunctionLinear.coefficientModule p k X := |
| 28 | (ZeroLevel.GlobalFunctionLinear.cohomologyMap p k X).comp |
| 29 | ((WittCechLinearEquiv.equivalence p k X 0 0).toLinearMap.comp |
| 30 | (ScalarInverseResidue.evaluation R A t)) |
| 31 | |
| 32 | theorem cechEvaluation_zero (x : L) : |
| 33 | cechEvaluation p k X x = 0 ↔ ScalarInverseResidue.evaluation R A t x = 0 := by |
| 34 | exact ((ZeroLevel.GlobalFunctionLinear.cohomologyMap_injective p k X).eq_iff' |
| 35 | (ZeroLevel.GlobalFunctionLinear.cohomologyMap p k X).map_zero).trans |
| 36 | ((WittCechLinearEquiv.equivalence p k X 0 0).map_eq_zero_iff) |
| 37 | |
| 38 | variable (hprojective : Projectivity.Construction.ProjectiveOver k X.hom) |
| 39 | |
| 40 | include hprojective in |
| 41 | theorem cechEvaluation_kernel : LinearMap.ker (cechEvaluation p k X) = |
| 42 | (Ideal.span {(p : R)}) • (⊤ : Submodule R L) := by |
| 43 | have he : LinearMap.ker (cechEvaluation p k X) = |
| 44 | LinearMap.ker (ScalarInverseResidue.evaluation R A t) := by |
| 45 | ext x |
| 46 | exact cechEvaluation_zero p k X x |
| 47 | rw [he] |
| 48 | let (n : ℕ) : Finite (A n) := CechScalarSystem.finite p k X hprojective n 0 |
| 49 | exact ScalarInverseResidue.kernel R (p : R) A t |
| 50 | (fun n => CechScalarSystem.inclusion p k X n 0) |
| 51 | (fun n => CechScalarSystem.map p k X 0 n (Nat.zero_le n) 0) |
| 52 | (fun n x => CechScalarSystem.inclusion_map p k X n 0 x) |
| 53 | (fun n x => CechScalarSystem.map_inclusion p k X n 0 x) |
| 54 | (CechScalarSystem.identity p k X 0 0) |
| 55 | (fun n x => CechScalarSystem.composition p k X 0 n (n + 1) |
| 56 | (Nat.zero_le n) (Nat.le_succ n) 0 x) |
| 57 | (fun n x => CechScalarSystem.exact p k X n 0 x) |
| 58 | (fun x => by simpa only [zero_add, pow_one] using CechScalarSystem.power_zero p k X 0 0 x) |
| 59 | |
| 60 | def integralEvaluation : M →ₗ[R] ZeroLevel.GlobalFunctionLinear.coefficientModule p k X := |
| 61 | (cechEvaluation p k X).comp (CechInverseLimit.integralEquiv p k X hprojective 0).toLinearMap |
| 62 | |
| 63 | theorem integralEvaluation_kernel : LinearMap.ker (integralEvaluation p k X hprojective) = |
| 64 | (Ideal.span {(p : R)}) • (⊤ : Submodule R M) := by |
| 65 | let e : M ≃ₗ[R] L := CechInverseLimit.integralEquiv p k X hprojective 0 |
| 66 | have hL (x : L) : x ∈ (Ideal.span {(p : R)}) • (⊤ : Submodule R L) ↔ ∃ y : L, (p : R) • y = x := by |
| 67 | simpa only [Principal.PowerModuleSequence.submodule, pow_one] using |
| 68 | Principal.PowerModuleSequence.mem_submodule R L (p : R) 1 x |
| 69 | have hM (x : M) : x ∈ (Ideal.span {(p : R)}) • (⊤ : Submodule R M) ↔ ∃ y : M, (p : R) • y = x := by |
| 70 | simpa only [Principal.PowerModuleSequence.submodule, pow_one] using |
| 71 | Principal.PowerModuleSequence.mem_submodule R M (p : R) 1 x |
| 72 | ext x |
| 73 | change cechEvaluation p k X (e x) = 0 ↔ _ |
| 74 | rw [← LinearMap.mem_ker, cechEvaluation_kernel p k X hprojective, hL, hM] |
| 75 | constructor |
| 76 | · rintro ⟨y, hy⟩ |
| 77 | refine ⟨e.symm y, e.injective ?_⟩ |
| 78 | exact (e.map_smul (p : R) (e.symm y)).trans |
| 79 | ((congrArg (fun z => (p : R) • z) (e.apply_symm_apply y)).trans hy) |
| 80 | · rintro ⟨y, rfl⟩ |
| 81 | exact ⟨e y, (e.map_smul (p : R) y).symm⟩ |
| 82 | |
| 83 | def map : (M ⧸ ((Ideal.span {(p : R)}) • (⊤ : Submodule R M))) →ₗ[R] |
| 84 | ZeroLevel.GlobalFunctionLinear.coefficientModule p k X := |
| 85 | ((Ideal.span {(p : R)}) • (⊤ : Submodule R M)).liftQ (integralEvaluation p k X hprojective) |
| 86 | (integralEvaluation_kernel p k X hprojective).ge |
| 87 | |
| 88 | theorem injective : Function.Injective (map p k X hprojective) := |
| 89 | LinearMap.ker_eq_bot.mp (Submodule.ker_liftQ_eq_bot _ (integralEvaluation p k X hprojective) |
| 90 | (integralEvaluation_kernel p k X hprojective).ge (integralEvaluation_kernel p k X hprojective).le) |
| 91 | |
| 92 | end |
| 93 | |
| 94 | end OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothProper.CrystallineResidueInjection |