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.WittCoefficientKernel |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Module.ProductScalarKernel |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothProper.WittCechTransition |
| 4 | |
| 5 | /-! # Witt Cech Term Kernel -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothProper.WittCechTermKernel |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Surjectivity and scalar exactness for every degree of the native global Witt Čech complexes. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothProper.WittCechTransitionData OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothProper.WittCoefficientKernel |
| 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 | |
| 22 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p k) |
| 23 | |
| 24 | local instance separated : IsSeparated (Witt.Crystalline.wittStructureMap p k X) := by |
| 25 | dsimp only [Witt.Crystalline.wittStructureMap] |
| 26 | infer_instance |
| 27 | |
| 28 | local instance coefficientProducts : HasProducts.{u} (ModuleCat.{u + 1} R) := by |
| 29 | let h : HasLimitsOfSize.{u, u} (ModuleCat.{u + 1} R) := ModuleCat.hasLimitsOfSize.{u, u, u + 1, u + 1} |
| 30 | exact fun I => h.has_limits_of_shape (Discrete I) |
| 31 | |
| 32 | theorem surjective (n m : ℕ) (hnm : n ≤ m) (a : ℕ) : |
| 33 | Function.Surjective ((WittCechTransition.map p k X n m hnm).f a) := |
| 34 | Module.ProductScalarKernel.surjective.{u + 1, u, u + 1} (WittCoefficientKernel.sectionModule p k X m a) (WittCoefficientKernel.sectionModule p k X n a) |
| 35 | (WittCechTransitionData.coefficient p k X n m hnm a) (WittCoefficientKernel.surjective p k X n m hnm a) |
| 36 | |
| 37 | theorem successive_kernel (n a : ℕ) (x : (WittCechTransitionData.complex p k X (n + 1)).X a) : |
| 38 | (WittCechTransition.map p k X n (n + 1) (Nat.le_succ n)).f a x = 0 ↔ (p : R) • x = 0 := |
| 39 | Module.ProductScalarKernel.kernel.{u + 1, u, u + 1} (WittCoefficientKernel.sectionModule p k X (n + 1) a) (WittCoefficientKernel.sectionModule p k X n a) |
| 40 | (WittCechTransitionData.coefficient p k X n (n + 1) (Nat.le_succ n) a) (p : R) |
| 41 | (WittCoefficientKernel.successive_kernel p k X n a) x |
| 42 | |
| 43 | theorem zero_kernel (n a : ℕ) (x : (WittCechTransitionData.complex p k X n).X a) : |
| 44 | (WittCechTransition.map p k X 0 n (Nat.zero_le n)).f a x = 0 ↔ |
| 45 | ∃ y : (WittCechTransitionData.complex p k X n).X a, (p : R) • y = x := |
| 46 | Module.ProductScalarKernel.scalar_range.{u + 1, u, u + 1} (WittCoefficientKernel.sectionModule p k X n a) (WittCoefficientKernel.sectionModule p k X 0 a) |
| 47 | (WittCechTransitionData.coefficient p k X 0 n (Nat.zero_le n) a) (p : R) |
| 48 | (WittCoefficientKernel.zero_kernel p k X n a) x |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothProper.WittCechTermKernel |