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.Crystalline.EtaleSections |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.GlobalFunction.WittFactor |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Global.Crystalline |
| 4 | |
| 5 | /-! # Global Function Constants -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothProper.GlobalFunctionConstants |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Witt vectors of actual global functions give classes in the original integral and rational crystalline degree-zero cohomology. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | attribute [local instance] PeriodInvariants.WittAlgebraFunctor.wittAlgebra |
| 18 | |
| 19 | variable (p : ℕ) [Fact p.Prime] (k : Type u) [Field k] [Finite k] [CharP k p] |
| 20 | (X : Over (Spec (CommRingCat.of k))) [IsProper X.hom] [Smooth X.hom] [Nonempty X.left] |
| 21 | (hprojective : Projectivity.Construction.ProjectiveOver k X.hom) |
| 22 | |
| 23 | local notation "W" => WittVector p k |
| 24 | local notation "A" => OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothProper.GlobalFunctionAlgebra.algebra k X |
| 25 | local notation "f" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p k X |
| 26 | local notation "δ" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k |
| 27 | |
| 28 | def sections (w : WittVector p A) : Crystalline.ConstantSections.Sections |
| 29 | (p := p) (J := Ideal.span {(p : W)}) («δ» := δ) f := by |
| 30 | let := GlobalFunctionWitt.etale p k X hprojective |
| 31 | exact Crystalline.EtaleSections.sectionOf (WittVector p A) |
| 32 | (GlobalFunction.WittFactor.factor k X p) (GlobalFunction.WittFactor.overBase k X p) w |
| 33 | |
| 34 | theorem value_reduction (w : WittVector p A) |
| 35 | (U : BigCrystallineSite.Object p W (Ideal.span {(p : W)}) δ f) : |
| 36 | Ideal.Quotient.mk U.ideal (Crystalline.ConstantSections.value f (sections p k X hprojective w) U) = |
| 37 | Crystalline.EtaleResidue.residueRingMap (WittVector p A) |
| 38 | (GlobalFunction.WittFactor.factor k X p) U w := by |
| 39 | let := GlobalFunctionWitt.etale p k X hprojective |
| 40 | change Ideal.Quotient.mk U.ideal (Crystalline.ConstantSections.value f |
| 41 | (Crystalline.EtaleSections.sectionOf (WittVector p A) |
| 42 | (GlobalFunction.WittFactor.factor k X p) (GlobalFunction.WittFactor.overBase k X p) w) U) = _ |
| 43 | rw [Crystalline.EtaleSections.value_sectionOf] |
| 44 | exact Crystalline.EtaleLift.reduction_apply _ _ _ U w |
| 45 | |
| 46 | def bigMap : WittVector p A →ₗ[W] BigCrystallineCohomology.Cohomology |
| 47 | (p := p) (J := Ideal.span {(p : W)}) («δ» := δ) f 0 := by |
| 48 | let := GlobalFunctionWitt.etale p k X hprojective |
| 49 | exact Crystalline.EtaleSections.baseCohomologyMap (WittVector p A) |
| 50 | (GlobalFunction.WittFactor.factor k X p) (GlobalFunction.WittFactor.overBase k X p) |
| 51 | |
| 52 | theorem bigMap_sections (w : WittVector p A) : |
| 53 | Crystalline.ConstantSections.cohomologyEquiv f (bigMap p k X hprojective w) = |
| 54 | sections p k X hprojective w := by |
| 55 | let := GlobalFunctionWitt.etale p k X hprojective |
| 56 | exact (Crystalline.ConstantSections.cohomologyEquiv f).apply_symm_apply _ |
| 57 | |
| 58 | def integralMap : WittVector p A →ₗ[W] Witt.Crystalline.integralCohomology p k X 0 := |
| 59 | (Global.Crystalline.Comparison.integralEquivWitt p k X 0).toLinearMap.comp (bigMap p k X hprojective) |
| 60 | |
| 61 | def rationalMap : TensorProduct W (FractionRing W) (WittVector p A) →ₗ[FractionRing W] |
| 62 | Witt.Crystalline.rationalCohomology p k X 0 := |
| 63 | (integralMap p k X hprojective).baseChange (FractionRing W) |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothProper.GlobalFunctionConstants |