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.SmoothWitt.DeRham |
| 2 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.Mapped.ComplexHomology |
| 3 | import Mathlib.Algebra.Homology.ShortComplex.PreservesHomology |
| 4 | |
| 5 | /-! # Coefficient Coordinates -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.CoefficientCoordinates |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Explicit additive coordinates for the native Witt coefficient |
| 12 | enlargement and its action on cohomology. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 15 | |
| 16 | universe u |
| 17 | variable (p : ℕ) [Fact p.Prime] (k : Type u) [Field k] |
| 18 | |
| 19 | local notation "W" => WittVector p k |
| 20 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := W) |
| 21 | local notation "F" => OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothWitt.DeRham.Comparison.coefficientFunctor p k |
| 22 | |
| 23 | instance preservesFiniteLimits : PreservesFiniteLimits F := by |
| 24 | dsimp only [SmoothWitt.DeRham.Comparison.coefficientFunctor, |
| 25 | Crystalline.RelativeResolution.coefficientFunctor] |
| 26 | infer_instance |
| 27 | |
| 28 | instance preservesFiniteColimits : PreservesFiniteColimits F := by |
| 29 | dsimp only [SmoothWitt.DeRham.Comparison.coefficientFunctor, |
| 30 | Crystalline.RelativeResolution.coefficientFunctor] |
| 31 | infer_instance |
| 32 | |
| 33 | instance preservesHomology : (F).PreservesHomology := by infer_instance |
| 34 | |
| 35 | def addEquiv (M : ModuleCat.{u} W) : M ≃+ (F).obj M where |
| 36 | toFun x := ULift.up (ULift.up x) |
| 37 | invFun x := x.down.down |
| 38 | left_inv _ := rfl |
| 39 | right_inv _ := rfl |
| 40 | map_add' _ _ := rfl |
| 41 | |
| 42 | theorem addEquiv_smul (M : ModuleCat.{u} W) (r : W) (x : M) : |
| 43 | addEquiv p k M (r • x) = (ULift.up r : R) • addEquiv p k M x := rfl |
| 44 | |
| 45 | theorem map_apply {M N : ModuleCat.{u} W} (f : M ⟶ N) (x : M) : |
| 46 | (F).map f (addEquiv p k M x) = addEquiv p k N (f x) := rfl |
| 47 | |
| 48 | def cohomologyEquiv (K : CochainComplex (ModuleCat.{u} W) ℕ) (i : ℕ) : |
| 49 | (((F).mapHomologicalComplex (.up ℕ)).obj K).homology i ≃+ K.homology i := |
| 50 | (AlgebraicGeometry.Crystalline.Cohomology.Mapped.ComplexHomology.MappedComplexHomology.iso F K i).toLinearEquiv.toAddEquiv.trans |
| 51 | (addEquiv p k (K.homology i)).symm |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.CoefficientCoordinates |