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.Witt.PrincipalCoefficients |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Independent.ExtIsomorphism |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Lifted.IntegerSheaves |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.AbelianSheafUniverses |
| 5 | |
| 6 | /-! # Principal Abelian -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.PrincipalAbelian.Comparison |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | # IntegralComparison: original crystalline slice cohomology as actual abelian sheaf Ext |
| 14 | |
| 15 | The comparison retains the original structure sheaf, its principal-open |
| 16 | sections, and its exact coefficient universe. Flat Witt restriction and |
| 17 | the integer-module equivalence identify the higher Ext groups. |
| 18 | -/ |
| 19 | |
| 20 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 21 | |
| 22 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite OAI.NumberTheory.PadicHodge.IntegralComparison.CrystallinePrincipal.Extension |
| 23 | |
| 24 | universe u |
| 25 | |
| 26 | variable (p : ℕ) [Fact p.Prime] (k : Type u) [Field k] [CharP k p] |
| 27 | {J : Ideal (WittVector p k)} {δ : DividedPowers J} {X : Scheme.{u}} |
| 28 | {f : X ⟶ Spec (CommRingCat.of (WittVector p k))} (U : BigCrystallineSite.Object p (WittVector p k) J δ f) |
| 29 | |
| 30 | abbrev AbelianSheaf := Sheaf (Principal.Topology.topology U.ring) AddCommGrpCat.{u + 1} |
| 31 | |
| 32 | instance abelianHasSheafify : HasSheafify (Principal.Topology.topology U.ring) AddCommGrpCat.{u + 1} := |
| 33 | AbelianSheafUniverses.hasSheafify.{u + 1, u, u} (Principal.Topology.topology U.ring) |
| 34 | |
| 35 | instance abelianEnoughInjectives : EnoughInjectives (AbelianSheaf p k U) := |
| 36 | AbelianSheafUniverses.enoughInjectives.{u + 1, u, u} (Principal.Topology.topology U.ring) |
| 37 | |
| 38 | instance abelianHasExt : HasExt.{u + 2} (AbelianSheaf p k U) := HasExt.standard _ |
| 39 | |
| 40 | abbrev forgetCoefficients : CrystallinePrincipal.Extension.PrincipalSheaf U ⥤ AbelianSheaf p k U := |
| 41 | PrincipalCoefficients.restriction p k U ⋙ |
| 42 | Lifted.IntegerSheaves.sheafForget (Principal.Topology.topology U.ring) |
| 43 | |
| 44 | abbrev constantUnit : AbelianSheaf p k U := |
| 45 | (constantSheaf (Principal.Topology.topology U.ring) AddCommGrpCat.{u + 1}).obj |
| 46 | (AddCommGrpCat.of (ULift.{u + 1} ℤ)) |
| 47 | |
| 48 | def constantExtEquiv (N : CrystallinePrincipal.Extension.PrincipalSheaf U) (n : ℕ) : |
| 49 | Abelian.Ext.{u + 2} (CrystallinePrincipal.Constant.Comparison.principalConstantUnit U) N n ≃+ |
| 50 | Abelian.Ext.{u + 2} (constantUnit p k U) ((forgetCoefficients p k U).obj N) n := |
| 51 | (PrincipalCoefficients.constantExtEquiv p k U N n).trans |
| 52 | (Lifted.IntegerSheaves.extEquiv (Principal.Topology.topology U.ring) |
| 53 | (PrincipalCoefficients.integerConstantUnit p k U) |
| 54 | ((PrincipalCoefficients.restriction p k U).obj N) n) |>.trans |
| 55 | (Independent.ExtIsomorphism.sourceEquiv |
| 56 | (Lifted.IntegerSheaves.constantUnitIso (Principal.Topology.topology U.ring)) |
| 57 | ((forgetCoefficients p k U).obj N) n) |
| 58 | |
| 59 | def sliceCohomologyEquiv (n : ℕ) : |
| 60 | Crystalline.SliceStructure.Cohomology U n ≃+ |
| 61 | Abelian.Ext.{u + 2} (constantUnit p k U) |
| 62 | ((forgetCoefficients p k U).obj (CrystallinePrincipal.Modules.zariskiUnitSheaf U)) n := |
| 63 | (CrystallinePrincipal.Modules.cohomologyEquiv U n).toAddEquiv.trans |
| 64 | (constantExtEquiv p k U (CrystallinePrincipal.Modules.zariskiUnitSheaf U) n) |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.PrincipalAbelian.Comparison |