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.PrincipalAbelian |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.BasisCohomology |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Lifted.PrincipalSections |
| 4 | |
| 5 | /-! # Slice Acyclicity -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.SliceAcyclicity |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # IntegralComparison: positive cohomology vanishes on every original affine crystalline slice |
| 13 | |
| 14 | The actual structure sheaf on a crystalline slice is compared with the |
| 15 | native affine structure sheaf, including the exact coefficient universe. |
| 16 | All comparisons preserve the constant source used by Ext cohomology. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 20 | |
| 21 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalOpens.Category |
| 22 | |
| 23 | universe u |
| 24 | |
| 25 | variable (p : ℕ) [Fact p.Prime] (k : Type u) [Field k] [CharP k p] |
| 26 | {J : Ideal (WittVector p k)} {δ : DividedPowers J} {X : Scheme.{u}} |
| 27 | {f : X ⟶ Spec (CommRingCat.of (WittVector p k))} (U : BigCrystallineSite.Object p (WittVector p k) J δ f) |
| 28 | |
| 29 | abbrev coefficientSheaf := |
| 30 | (Witt.PrincipalAbelian.Comparison.forgetCoefficients p k U).obj |
| 31 | (CrystallinePrincipal.Modules.zariskiUnitSheaf U) |
| 32 | |
| 33 | def componentIso (r : PrincipalOpens.Category.Principal U.ring) : |
| 34 | (coefficientSheaf p k U).obj.obj (op r) ≅ |
| 35 | (Principal.BasisCohomology.unitSheaf U.ring).obj.obj (op r) := |
| 36 | ((AddEquiv.ulift : ULift.{u + 1} (Lifted.PrincipalSections.Sections U.ring r) ≃+ |
| 37 | Lifted.PrincipalSections.Sections U.ring r).trans |
| 38 | (Lifted.PrincipalSections.sectionsEquiv U.ring r).toAddEquiv).toAddCommGrpIso |
| 39 | |
| 40 | omit [CharP k p] in |
| 41 | theorem component_natural {r s : PrincipalOpens.Category.Principal U.ring} (a : r ⟶ s) : |
| 42 | (coefficientSheaf p k U).obj.map a.op ≫ (componentIso p k U r).hom = |
| 43 | (componentIso p k U s).hom ≫ |
| 44 | (Principal.BasisCohomology.unitSheaf U.ring).obj.map a.op := by |
| 45 | apply AddCommGrpCat.hom_ext |
| 46 | ext x |
| 47 | exact Lifted.PrincipalSections.sections_natural_apply U.ring a x.down |
| 48 | |
| 49 | def coefficientSheafIso : coefficientSheaf p k U ≅ Principal.BasisCohomology.unitSheaf U.ring := |
| 50 | ObjectProperty.isoMk _ (NatIso.ofComponents (fun r => componentIso p k U r.unop) |
| 51 | (fun a => component_natural p k U a.unop)) |
| 52 | |
| 53 | def coefficientExtEquiv (n : ℕ) : |
| 54 | Abelian.Ext.{u + 2} (Principal.BasisCohomology.constantUnit U.ring) (coefficientSheaf p k U) n ≃+ |
| 55 | Abelian.Ext.{u + 2} (Principal.BasisCohomology.constantUnit U.ring) |
| 56 | (Principal.BasisCohomology.unitSheaf U.ring) n := |
| 57 | (((Abelian.extFunctor n).obj (op (Principal.BasisCohomology.constantUnit U.ring))).mapIso |
| 58 | (coefficientSheafIso p k U)).addCommGroupIsoToAddEquiv |
| 59 | |
| 60 | def cohomologyEquiv (n : ℕ) : SliceStructure.Cohomology U n ≃+ |
| 61 | Abelian.Ext.{u + 2} (Principal.BasisCohomology.constantUnit U.ring) |
| 62 | (Principal.BasisCohomology.unitSheaf U.ring) n := |
| 63 | (Witt.PrincipalAbelian.Comparison.sliceCohomologyEquiv p k U n).trans |
| 64 | (coefficientExtEquiv p k U n) |
| 65 | |
| 66 | /-- Actual structure-sheaf Ext cohomology vanishes in positive degree on the slice. -/ |
| 67 | theorem positive_cohomology_zero (q : ℕ) : |
| 68 | Subsingleton (SliceStructure.Cohomology U (q + 1)) := by |
| 69 | let := Principal.BasisCohomology.positive_cohomology_zero U.ring q |
| 70 | exact (cohomologyEquiv p k U (q + 1)).toEquiv.subsingleton |
| 71 | |
| 72 | def topSectionsEquiv : |
| 73 | (coefficientSheaf p k U).obj.obj (op (PrincipalOpens.Category.top U.ring)) ≃+ ULift.{u + 1} U.ring := by |
| 74 | letI : IsLocalization.Away (1 : U.ring) (Lifted.PrincipalSections.Sections U.ring (PrincipalOpens.Category.top U.ring)) := |
| 75 | Lifted.PrincipalSections.sectionsLocalization U.ring (PrincipalOpens.Category.top U.ring) |
| 76 | exact (AddEquiv.ulift : ULift.{u + 1} (Lifted.PrincipalSections.Sections U.ring (PrincipalOpens.Category.top U.ring)) ≃+ |
| 77 | Lifted.PrincipalSections.Sections U.ring (PrincipalOpens.Category.top U.ring)).trans |
| 78 | (IsLocalization.atUnit U.ring (S := Lifted.PrincipalSections.Sections U.ring (PrincipalOpens.Category.top U.ring)) |
| 79 | (1 : U.ring) isUnit_one).symm.toAddEquiv |>.trans AddEquiv.ulift.symm |
| 80 | |
| 81 | /-- Degree zero of the original slice cohomology is its actual ambient ring. -/ |
| 82 | def degreeZeroEquiv : SliceStructure.Cohomology U 0 ≃+ ULift.{u + 1} U.ring := |
| 83 | (Witt.PrincipalAbelian.Comparison.sliceCohomologyEquiv p k U 0).trans |
| 84 | (Sheaf.H.equiv₀.{u + 2, u + 1, u, u} (coefficientSheaf p k U) (PrincipalOpens.Category.isTerminal U.ring)) |>.trans |
| 85 | (topSectionsEquiv p k U) |
| 86 | |
| 87 | end |
| 88 | |
| 89 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.SliceAcyclicity |