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.BoundedEtale.ZeroResolution |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedEtale.ZeroFormPresheaf |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.AmbientSheaf |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.FiniteFreeImage |
| 5 | |
| 6 | /-! # Zero Acyclic Terms -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedEtale.ZeroAcyclicTerms |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | # IntegralComparison: the actual étale zero-frame resolution has acyclic terms |
| 14 | |
| 15 | Each term is identified with the native direct image of a finite free |
| 16 | module from the frame slice. Its positive cohomology therefore vanishes |
| 17 | in the original Ext cohomology theory restricted to the prescribed level. |
| 18 | -/ |
| 19 | |
| 20 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 21 | |
| 22 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Presentation |
| 23 | |
| 24 | universe u |
| 25 | |
| 26 | variable (p : ℕ) [Fact p.Prime] (k C σ : Type u) [Field k] [Fintype k] [CharP k p] |
| 27 | [CommRing C] [Algebra k C] [LinearOrder σ] [Fintype σ] |
| 28 | [Algebra (MvPolynomial σ k) C] [IsScalarTower k (MvPolynomial σ k) C] |
| 29 | [Algebra.Etale (MvPolynomial σ k) C] |
| 30 | |
| 31 | local notation "f" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p k (OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Presentation.affineScheme k C) |
| 32 | local notation "F" => OAI.NumberTheory.PadicHodge.IntegralComparison.ZeroLevel.LevelFrame.boundedFrame p k C |
| 33 | local notation "H" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.Diagram.productDiagram F |
| 34 | local notation "A" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.FreePresheafBiproduct.ambientPresheaf H |
| 35 | local notation "S" => OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.RelativeSheafComplex.sheafification (p := p) |
| 36 | (J := Ideal.span {(p : WittVector p k)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) f 0 |
| 37 | local notation "D" => OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.SliceImage.directImage f 0 F |
| 38 | local notation "K" => OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.RelativeSheafComplex.complex f 0 F |
| 39 | local notation "Index" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedEtale.ZeroFormPresheaf.Index σ |
| 40 | |
| 41 | instance hasFiniteBiproducts : HasFiniteBiproducts (BoundedCrystalline.Site.ModuleSheaf (p := p) |
| 42 | (J := Ideal.span {(p : WittVector p k)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) f 0) := |
| 43 | HasFiniteBiproducts.of_hasFiniteProducts |
| 44 | |
| 45 | def termIso (m : ℕ) : (K).X m ≅ (D).obj (Bounded.FiniteFreeImage.freeSheaf p k f 0 F (Index m)) := |
| 46 | (S).mapIso (ZeroFormPresheaf.biproductIso p k C σ m) ≪≫ |
| 47 | (S).mapBiproduct (fun _ : Index m => A) ≪≫ |
| 48 | biproduct.mapIso (fun _ : Index m => BoundedFrame.AmbientSheaf.sheafIso f 0 F) ≪≫ |
| 49 | ((D).mapBiproduct (Bounded.FiniteFreeImage.copies p k f 0 F (Index m))).symm |
| 50 | |
| 51 | abbrev Cohomology (m i : ℕ) := Abelian.Ext.{u + 2} (BoundedCrystalline.CrystallineCohomology.constantUnit f 0) ((K).X m) i |
| 52 | |
| 53 | def cohomologyEquiv (m i : ℕ) : Cohomology p k C m i ≃+ |
| 54 | Bounded.FiniteFreeImage.Cohomology p k f 0 F (Index m) i := |
| 55 | (IntegralComparison.Etale.Frobenius.extIsoCongr (Crystalline.ExactRestriction.Coeff (B := WittVector p k)) |
| 56 | (Iso.refl _) (termIso p k C σ m) i).toAddEquiv |
| 57 | |
| 58 | include σ in |
| 59 | theorem positive_cohomology_zero (m i : ℕ) : Subsingleton (Cohomology p k C m (i + 1)) := by |
| 60 | have := Bounded.FiniteFreeImage.positive_cohomology_zero p k f 0 F (Index m) i |
| 61 | exact (cohomologyEquiv p k C σ m (i + 1)).toEquiv.subsingleton |
| 62 | |
| 63 | def degreeZeroEquiv (m : ℕ) : Cohomology p k C m 0 ≃+ (Index m → ULift.{u + 1} (F).obj.ring) := |
| 64 | (cohomologyEquiv p k C σ m 0).trans |
| 65 | (Bounded.FiniteFreeImage.degreeZeroEquiv p k f 0 F (Index m)) |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedEtale.ZeroAcyclicTerms |