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.BoundedTruncated.AcyclicTerms |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Acyclic.ResolutionZero |
| 3 | |
| 4 | /-! # Cohomology -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedTruncated.Cohomology.Comparison |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # IntegralComparison: the native smooth finite-level frame resolution computes original cohomology |
| 12 | |
| 13 | The coefficient-linear comparison uses the original Ext groups of the |
| 14 | structure sheaf restricted to the prescribed Witt level. All acyclicity |
| 15 | and resolution hypotheses are discharged by the actual frame construction. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 19 | |
| 20 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Presentation |
| 21 | |
| 22 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 23 | (n : ℕ) (A C σ : Type) [CommRing A] [CommRing C] |
| 24 | [Algebra (Truncated.Witt.Ring p k n) A] |
| 25 | [Algebra.Smooth (Truncated.Witt.Ring p k n) A] [Algebra k C] |
| 26 | [LinearOrder σ] [Fintype σ] |
| 27 | [Algebra (MvPolynomial σ (Truncated.Witt.Ring p k n)) A] |
| 28 | [IsScalarTower (Truncated.Witt.Ring p k n) |
| 29 | (MvPolynomial σ (Truncated.Witt.Ring p k n)) A] |
| 30 | [Algebra.Etale (MvPolynomial σ (Truncated.Witt.Ring p k n)) A] |
| 31 | (ρ : A →+* C) (hρ : Function.Surjective ρ) |
| 32 | (hker : RingHom.ker ρ = Ideal.span {(p : A)}) |
| 33 | (hbase : ∀ w : WittVector p k, |
| 34 | ρ (algebraMap (Truncated.Witt.Ring p k n) A (Truncated.Witt.quotient p k n w)) = |
| 35 | algebraMap k C (WittVector.constantCoeff w)) |
| 36 | |
| 37 | local notation "f" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p k (OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Presentation.affineScheme k C) |
| 38 | |
| 39 | local instance structureMap_separated : IsSeparated f := |
| 40 | FrameProduct.structureMap_separated p k C |
| 41 | |
| 42 | local notation "F" => OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.SmoothFrame.boundedFrame p A C ρ hρ hker k n hbase |
| 43 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p k) |
| 44 | local notation "Source" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.CrystallineCohomology.constantUnit (p := p) |
| 45 | (J := Ideal.span {(p : WittVector p k)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) f n |
| 46 | local notation "K" => OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.RelativeSheafComplex.complex f n F |
| 47 | local notation "ι" => OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.RelativeSheafComplex.augmentation f n F |
| 48 | |
| 49 | def complex : CochainComplex (ModuleCat.{2} R) ℕ := |
| 50 | Acyclic.Resolution.Comparison.complex R Source K |
| 51 | |
| 52 | def homologyIso (i : ℕ) : (complex p k n A C ρ hρ hker hbase).homology i ≅ |
| 53 | ModuleCat.of R (BoundedCrystalline.CrystallineCohomology.Cohomology (p := p) |
| 54 | (J := Ideal.span {(p : WittVector p k)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) f n i) := by |
| 55 | let : QuasiIso ι := Resolution.augmentation_quasiIso p k n A C σ ρ hρ hker hbase |
| 56 | cases i with |
| 57 | | zero => exact Acyclic.ResolutionZero.Comparison.homologyIso R Source K ι |
| 58 | | succ i => |
| 59 | exact Acyclic.Resolution.Comparison.positiveHomologyIso R Source K ι |
| 60 | (fun a q => AcyclicTerms.positive_cohomology_zero p k n A C σ ρ hρ hker hbase a q) i |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedTruncated.Cohomology.Comparison |