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.FormBasis |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.FreePresheafBiproduct |
| 3 | |
| 4 | /-! # Form Presheaf -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedTruncated.FormPresheaf |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Finite ambient-ring biproducts for the original bounded smooth finite-level form presheaves. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Presentation |
| 15 | |
| 16 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 17 | (n : ℕ) (A C σ : Type) [CommRing A] [CommRing C] |
| 18 | [Algebra (Truncated.Witt.Ring p k n) A] |
| 19 | [Algebra.Smooth (Truncated.Witt.Ring p k n) A] [Algebra k C] |
| 20 | [LinearOrder σ] [Fintype σ] |
| 21 | [Algebra (MvPolynomial σ (Truncated.Witt.Ring p k n)) A] |
| 22 | [IsScalarTower (Truncated.Witt.Ring p k n) |
| 23 | (MvPolynomial σ (Truncated.Witt.Ring p k n)) A] |
| 24 | [Algebra.Etale (MvPolynomial σ (Truncated.Witt.Ring p k n)) A] |
| 25 | (ρ : A →+* C) (hρ : Function.Surjective ρ) |
| 26 | (hker : RingHom.ker ρ = Ideal.span {(p : A)}) |
| 27 | (hbase : ∀ w : WittVector p k, |
| 28 | ρ (algebraMap (Truncated.Witt.Ring p k n) A (Truncated.Witt.quotient p k n w)) = |
| 29 | algebraMap k C (WittVector.constantCoeff w)) |
| 30 | |
| 31 | local notation "W" => WittVector p k |
| 32 | local notation "f" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p k (OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Presentation.affineScheme k C) |
| 33 | local notation "F" => OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.SmoothFrame.boundedFrame p A C ρ hρ hker k n hbase |
| 34 | local notation "Q" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site.inclusion (p := p) (J := Ideal.span {(p : W)}) |
| 35 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) f n |
| 36 | |
| 37 | local instance structureMap_separated : IsSeparated f := |
| 38 | FrameProduct.structureMap_separated p k C |
| 39 | |
| 40 | open OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCrystalline.FormData |
| 41 | |
| 42 | local notation "H" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.Diagram.productDiagram F |
| 43 | local notation "π" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.Diagram.projection F |
| 44 | local notation "τ" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.Symbols.frameProjection F |
| 45 | local notation "xF" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedTruncated.Coordinates.frameCoordinate p k n A σ |
| 46 | |
| 47 | abbrev Index (m : ℕ) := Fin (Fintype.card (Set.powersetCard σ m)) |
| 48 | |
| 49 | def basis (U : BoundedCrystalline.Site.Objects (p := p) (J := Ideal.span {(p : WittVector p k)}) |
| 50 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) (Witt.Crystalline.wittStructureMap p k (Crystalline.Presentation.affineScheme k C)) n) (m : ℕ) : |
| 51 | Module.Basis (Index σ m) ((H).obj U).ring (RelativeCrystalline.FormData.Forms H Q π U m) := |
| 52 | (FormBasis.basis p k n A C σ ρ hρ hker hbase U m).reindex (Fintype.equivFin (Set.powersetCard σ m)) |
| 53 | |
| 54 | omit [Fintype k] in |
| 55 | theorem basis_natural {U V : BoundedCrystalline.Site.Objects (p := p) (J := Ideal.span {(p : WittVector p k)}) |
| 56 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) (Witt.Crystalline.wittStructureMap p k (Crystalline.Presentation.affineScheme k C)) n} |
| 57 | (α : U ⟶ V) (m : ℕ) (i : Index σ m) : |
| 58 | RelativeCrystalline.FormData.formsMap H Q π α m (basis p k n A C σ ρ hρ hker hbase V m i) = basis p k n A C σ ρ hρ hker hbase U m i := by |
| 59 | simp only [basis, Module.Basis.reindex_apply] |
| 60 | exact FormBasis.basis_natural p k n A C σ ρ hρ hker hbase α m |
| 61 | ((Fintype.equivFin (Set.powersetCard σ m)).symm i) |
| 62 | |
| 63 | def freeIso (m : ℕ) : RelativeCrystalline.FreePresheaf.presheaf H (Index σ m) ≅ |
| 64 | RelativeCrystalline.ModuleMaps.formsPresheaf H Q π m := |
| 65 | RelativeCrystalline.FreePresheaf.iso H Q π (Index σ m) m |
| 66 | (fun U => basis p k n A C σ ρ hρ hker hbase U m) (fun α => basis_natural p k n A C σ ρ hρ hker hbase α m) |
| 67 | |
| 68 | def biproductIso (m : ℕ) : RelativeCrystalline.ModuleMaps.formsPresheaf H Q π m ≅ |
| 69 | ⨁ (fun _ : Index σ m => Crystalline.FreePresheafBiproduct.ambientPresheaf H) := |
| 70 | (freeIso p k n A C σ ρ hρ hker hbase m).symm ≪≫ Crystalline.FreePresheafBiproduct.iso H (Index σ m) |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedTruncated.FormPresheaf |