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.ZeroFormBasis |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.FreePresheafBiproduct |
| 3 | |
| 4 | /-! # Zero Form Presheaf -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedEtale.ZeroFormPresheaf |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # IntegralComparison: each actual étale zero-frame form presheaf is a finite ambient-ring biproduct |
| 12 | -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Presentation |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCrystalline.FormData |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | variable (p : ℕ) [Fact p.Prime] (k C σ : Type u) [Field k] [Fintype k] [CharP k p] |
| 22 | [CommRing C] [Algebra k C] [LinearOrder σ] [Fintype σ] |
| 23 | [Algebra (MvPolynomial σ k) C] [IsScalarTower k (MvPolynomial σ k) C] |
| 24 | [Algebra.Etale (MvPolynomial σ k) C] |
| 25 | |
| 26 | local notation "f" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p k (OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Presentation.affineScheme k C) |
| 27 | local notation "F" => OAI.NumberTheory.PadicHodge.IntegralComparison.ZeroLevel.LevelFrame.boundedFrame p k C |
| 28 | local notation "Q" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site.inclusion (p := p) (J := Ideal.span {(p : WittVector p k)}) |
| 29 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) f 0 |
| 30 | local notation "H" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.Diagram.productDiagram F |
| 31 | local notation "π" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.Diagram.projection F |
| 32 | |
| 33 | abbrev Index (m : ℕ) := Fin (Fintype.card (Set.powersetCard σ m)) |
| 34 | |
| 35 | def basis (U : BoundedCrystalline.Site.Objects (p := p) (J := Ideal.span {(p : WittVector p k)}) |
| 36 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) (Witt.Crystalline.wittStructureMap p k (Crystalline.Presentation.affineScheme k C)) 0) (m : ℕ) : |
| 37 | Module.Basis (Index σ m) ((H).obj U).ring (RelativeCrystalline.FormData.Forms H Q π U m) := |
| 38 | (ZeroFormBasis.basis p k C σ U m).reindex (Fintype.equivFin (Set.powersetCard σ m)) |
| 39 | |
| 40 | theorem basis_natural {U V : BoundedCrystalline.Site.Objects (p := p) (J := Ideal.span {(p : WittVector p k)}) |
| 41 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) (Witt.Crystalline.wittStructureMap p k (Crystalline.Presentation.affineScheme k C)) 0} |
| 42 | (α : U ⟶ V) (m : ℕ) (i : Index σ m) : |
| 43 | RelativeCrystalline.FormData.formsMap H Q π α m (basis p k C σ V m i) = basis p k C σ U m i := by |
| 44 | simp only [basis, Module.Basis.reindex_apply] |
| 45 | exact ZeroFormBasis.basis_natural p k C σ α m |
| 46 | ((Fintype.equivFin (Set.powersetCard σ m)).symm i) |
| 47 | |
| 48 | def freeIso (m : ℕ) : RelativeCrystalline.FreePresheaf.presheaf H (Index σ m) ≅ |
| 49 | RelativeCrystalline.ModuleMaps.formsPresheaf H Q π m := |
| 50 | RelativeCrystalline.FreePresheaf.iso H Q π (Index σ m) m |
| 51 | (fun U => basis p k C σ U m) (fun α => basis_natural p k C σ α m) |
| 52 | |
| 53 | def biproductIso (m : ℕ) : RelativeCrystalline.ModuleMaps.formsPresheaf H Q π m ≅ |
| 54 | ⨁ (fun _ : Index σ m => Crystalline.FreePresheafBiproduct.ambientPresheaf H) := |
| 55 | (freeIso p k C σ m).symm ≪≫ Crystalline.FreePresheafBiproduct.iso H (Index σ m) |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedEtale.ZeroFormPresheaf |