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.GlobalFunction.WittResidue |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothProper.CrystallineResidueCoordinates |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.SectionRestriction |
| 4 | |
| 5 | /-! # Residue Evaluation -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.GlobalFunction.ResidueEvaluation |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The original integral crystalline residue is surjective onto actual global functions. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable (p : ℕ) [Fact p.Prime] (k : Type u) [Field k] [Fintype k] [CharP k p] |
| 18 | (X : Over (Spec (CommRingCat.of k))) [IsProper X.hom] [Smooth X.hom] [Nonempty X.left] |
| 19 | (hprojective : Projectivity.Construction.ProjectiveOver k X.hom) |
| 20 | |
| 21 | local notation "A" => OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothProper.GlobalFunctionAlgebra.algebra k X |
| 22 | local notation "f" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p k X |
| 23 | |
| 24 | theorem evaluation (w : WittVector p A) : |
| 25 | SmoothProper.CrystallineResidueInjection.integralEvaluation p k X hprojective |
| 26 | (SmoothProper.GlobalFunctionConstants.integralMap p k X hprojective w) = ULift.up (w.coeff 0) := by |
| 27 | let e := Global.Crystalline.Comparison.integralEquiv p k X 0 |
| 28 | let b := SmoothProper.GlobalFunctionConstants.bigMap p k X hprojective w |
| 29 | have hi : e.symm (SmoothProper.GlobalFunctionConstants.integralMap p k X hprojective w) = b := |
| 30 | e.symm_apply_apply b |
| 31 | have h₀ := SmoothProper.CrystallineResidueCoordinates.evaluation p k X hprojective |
| 32 | (SmoothProper.GlobalFunctionConstants.integralMap p k X hprojective w) |
| 33 | have h₁ := congrArg (ZeroLevel.GlobalFunctionLinear.cohomologyMap p k X) |
| 34 | (congrArg (BoundedCrystalline.CrystallineCohomology.restriction f 0 0) hi) |
| 35 | have h₂ := BoundedCrystalline.SectionRestriction.cohomology f 0 b |
| 36 | have h₃ := congrArg (BoundedCrystalline.CrystallineSections.restriction f 0) |
| 37 | (SmoothProper.GlobalFunctionConstants.bigMap_sections p k X hprojective w) |
| 38 | have h₄ := congrArg (ZeroLevel.GlobalFunctionLinear.sectionsMap p k X) (h₂.trans h₃) |
| 39 | exact h₀.trans (h₁.trans (h₄.trans (congrArg ULift.up |
| 40 | (WittResidue.global_value p k X hprojective w)))) |
| 41 | |
| 42 | theorem surjective : Function.Surjective |
| 43 | (SmoothProper.CrystallineResidueInjection.integralEvaluation p k X hprojective) := by |
| 44 | intro a |
| 45 | obtain ⟨w, hw⟩ := WittVector.constantCoeff_surjective (R := A) p a.down |
| 46 | refine ⟨SmoothProper.GlobalFunctionConstants.integralMap p k X hprojective w, ?_⟩ |
| 47 | exact (evaluation p k X hprojective w).trans (congrArg ULift.up hw) |
| 48 | |
| 49 | theorem residue_bijective : Function.Bijective |
| 50 | (SmoothProper.CrystallineResidueInjection.map p k X hprojective) := by |
| 51 | refine ⟨SmoothProper.CrystallineResidueInjection.injective p k X hprojective, ?_⟩ |
| 52 | intro a |
| 53 | obtain ⟨x, hx⟩ := surjective p k X hprojective a |
| 54 | exact ⟨Submodule.Quotient.mk x, hx⟩ |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.NumberTheory.PadicHodge.IntegralComparison.GlobalFunction.ResidueEvaluation |