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.BoundedSmooth.WittFrameDeRhamIso |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothWitt.FrameComplex |
| 3 | |
| 4 | /-! # De Rham -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothWitt.DeRham.Comparison |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Original bounded crystalline Ext is computed by the ordinary de Rham complex of the constructed smooth Witt frame. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Presentation |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable (p : ℕ) [Fact p.Prime] (k A C σ : Type u) [Field k] [CharP k p] |
| 19 | [CommRing A] [Algebra (WittVector p k) A] [Module.Flat (WittVector p k) A] |
| 20 | [CommRing C] [Algebra k C] [LinearOrder σ] [Fintype σ] |
| 21 | [Algebra (MvPolynomial σ (WittVector p k)) A] |
| 22 | [IsScalarTower (WittVector p k) (MvPolynomial σ (WittVector p k)) A] |
| 23 | [Algebra.Etale (MvPolynomial σ (WittVector p k)) A] |
| 24 | (ρ : A →+* C) (hρ : Function.Surjective ρ) (hker : RingHom.ker ρ = Ideal.span {(p : A)}) |
| 25 | (hbase : ∀ w : WittVector p k, ρ (algebraMap (WittVector p k) A w) = |
| 26 | algebraMap k C (WittVector.constantCoeff w)) (n : ℕ) |
| 27 | |
| 28 | local notation "W" => WittVector p k |
| 29 | local notation "CoeffW" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := W) |
| 30 | local notation "f" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p k (OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Presentation.affineScheme k C) |
| 31 | local notation "An" => OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothWitt.FrameRing.Ring p A n |
| 32 | |
| 33 | local instance frameAlgebra : Algebra W An := (FrameRing.base p k A n).toAlgebra |
| 34 | |
| 35 | def coefficientFunctor : ModuleCat.{u} W ⥤ ModuleCat.{u + 2} CoeffW := |
| 36 | Crystalline.RelativeResolution.coefficientFunctor (B := W) ⋙ ModuleCat.uliftFunctor.{u + 2, u + 1} CoeffW |
| 37 | |
| 38 | instance coefficientFunctor_additive : (coefficientFunctor p k).Additive := by |
| 39 | dsimp [coefficientFunctor] |
| 40 | infer_instance |
| 41 | |
| 42 | def deRhamComplex : CochainComplex (ModuleCat.{u + 2} CoeffW) ℕ := |
| 43 | ((coefficientFunctor p k).mapHomologicalComplex (ComplexShape.up ℕ)).obj |
| 44 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.complex W An) |
| 45 | |
| 46 | def frameIso : BoundedSmooth.WittFrameDeRhamIso.frameComplex p k A C ρ hρ hker hbase n ≅ |
| 47 | deRhamComplex p k A n := |
| 48 | ((coefficientFunctor p k).mapHomologicalComplex (ComplexShape.up ℕ)).mapIso |
| 49 | (FrameComplex.frameIso p k A n C ρ hρ hker hbase) |
| 50 | |
| 51 | def homologyIso (i : ℕ) : (deRhamComplex p k A n).homology i ≅ |
| 52 | ModuleCat.of CoeffW (BoundedCrystalline.CrystallineCohomology.Cohomology (p := p) |
| 53 | (J := Ideal.span {(p : W)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) f n i) := |
| 54 | ((HomologicalComplex.homologyFunctor _ _ i).mapIso (frameIso p k A C ρ hρ hker hbase n)).symm ≪≫ |
| 55 | BoundedSmooth.WittFrameDeRhamIso.homologyIso p k A C σ ρ hρ hker hbase n i |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothWitt.DeRham.Comparison |