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.Truncated.FrameFreeModule |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Module.ProductSections |
| 3 | |
| 4 | /-! # Form Sections -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedTruncated.FormSections |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # IntegralComparison: sections of the original relative form presheaf are frame forms |
| 12 | -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 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 | |
| 18 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 19 | (n : ℕ) (A C σ : Type) [CommRing A] [CommRing C] |
| 20 | [Algebra (Truncated.Witt.Ring p k n) A] |
| 21 | [Algebra.Smooth (Truncated.Witt.Ring p k n) A] [Algebra k C] |
| 22 | [LinearOrder σ] [Fintype σ] |
| 23 | [Algebra (MvPolynomial σ (Truncated.Witt.Ring p k n)) A] |
| 24 | [IsScalarTower (Truncated.Witt.Ring p k n) |
| 25 | (MvPolynomial σ (Truncated.Witt.Ring p k n)) A] |
| 26 | [Algebra.Etale (MvPolynomial σ (Truncated.Witt.Ring p k n)) A] |
| 27 | (ρ : A →+* C) (hρ : Function.Surjective ρ) |
| 28 | (hker : RingHom.ker ρ = Ideal.span {(p : A)}) |
| 29 | (hbase : ∀ w : WittVector p k, |
| 30 | ρ (algebraMap (Truncated.Witt.Ring p k n) A (Truncated.Witt.quotient p k n w)) = |
| 31 | algebraMap k C (WittVector.constantCoeff w)) |
| 32 | |
| 33 | local notation "W" => WittVector p k |
| 34 | local notation "f" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p k (OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Presentation.affineScheme k C) |
| 35 | |
| 36 | local instance structureMap_separated : IsSeparated f := |
| 37 | FrameProduct.structureMap_separated p k C |
| 38 | |
| 39 | local notation "F" => OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.SmoothFrame.boundedFrame p A C ρ hρ hker k n hbase |
| 40 | local notation "Q" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site.inclusion (p := p) (J := Ideal.span {(p : W)}) |
| 41 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) f n |
| 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 "Index" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedTruncated.FormPresheaf.Index σ |
| 45 | |
| 46 | def freeProductIso (m : ℕ) : RelativeCrystalline.FreePresheaf.presheaf H (Index m) ≅ |
| 47 | (Over.star F ⋙ Over.forget F).op ⋙ RelativeCrystalline.FreePresheaf.presheaf Q (Index m) := |
| 48 | Iso.refl _ |
| 49 | |
| 50 | def formProductIso (m : ℕ) : RelativeCrystalline.ModuleMaps.formsPresheaf H Q π m ≅ |
| 51 | (Over.star F ⋙ Over.forget F).op ⋙ RelativeCrystalline.FreePresheaf.presheaf Q (Index m) := |
| 52 | (FormPresheaf.freeIso p k n A C σ ρ hρ hker hbase m).symm ≪≫ freeProductIso p k n A C σ ρ hρ hker hbase m |
| 53 | |
| 54 | def homLinearEquiv (m : ℕ) : |
| 55 | ((Functor.const (BoundedCrystalline.Site.Objects (p := p) (J := Ideal.span {(p : W)}) |
| 56 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) f n)ᵒᵖ).obj (ModuleCat.of W W) ⟶ |
| 57 | RelativeCrystalline.ModuleMaps.formsPresheaf H Q π m) ≃ₗ[W] |
| 58 | RelativeFrame.FormMap.frameModule (F).obj m := |
| 59 | (Linear.homCongr W (Iso.refl _) (formProductIso p k n A C σ ρ hρ hker hbase m)).trans |
| 60 | ((Module.ProductSections.linearEquiv W F (RelativeCrystalline.FreePresheaf.presheaf Q (Index m))).trans |
| 61 | (Truncated.FrameFreeModule.linearEquiv p k n A C σ ρ hρ hker hbase m)) |
| 62 | |
| 63 | omit [Fintype k] in |
| 64 | theorem formProductIso_app (m : ℕ) |
| 65 | (U : BoundedCrystalline.Site.Objects (p := p) (J := Ideal.span {(p : W)}) |
| 66 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) f n) |
| 67 | (ω : RelativeCrystalline.FormData.Forms H Q π U m) : |
| 68 | (formProductIso p k n A C σ ρ hρ hker hbase m).hom.app (op U) ω = |
| 69 | (FormPresheaf.basis p k n A C σ ρ hρ hker hbase U m).equivFun ω := rfl |
| 70 | |
| 71 | omit [Fintype k] in |
| 72 | theorem homLinearEquiv_apply (m : ℕ) |
| 73 | (a : (Functor.const (BoundedCrystalline.Site.Objects (p := p) (J := Ideal.span {(p : W)}) |
| 74 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) f n)ᵒᵖ).obj (ModuleCat.of W W) ⟶ |
| 75 | RelativeCrystalline.ModuleMaps.formsPresheaf H Q π m) : |
| 76 | homLinearEquiv p k n A C σ ρ hρ hker hbase m a = |
| 77 | Truncated.FrameFreeModule.linearEquiv p k n A C σ ρ hρ hker hbase m |
| 78 | (fun i => ((Q).map (prod.lift (𝟙 F) (𝟙 F))).ringMap |
| 79 | ((FormPresheaf.basis p k n A C σ ρ hρ hker hbase F m).equivFun (a.app (op F) (1 : W)) i)) := by |
| 80 | have h := Module.ProductSections.linearEquiv_iso_apply W F |
| 81 | (RelativeCrystalline.FreePresheaf.presheaf Q (Index m)) |
| 82 | (formProductIso p k n A C σ ρ hρ hker hbase m) a |
| 83 | exact (congrArg (Truncated.FrameFreeModule.linearEquiv p k n A C σ ρ hρ hker hbase m) h).trans |
| 84 | (congrArg (fun v : Index m → ((H).obj F).ring => Truncated.FrameFreeModule.linearEquiv p k n A C σ ρ hρ hker hbase m |
| 85 | (fun i => ((Q).map (prod.lift (𝟙 F) (𝟙 F))).ringMap (v i))) |
| 86 | (formProductIso_app p k n A C σ ρ hρ hker hbase m F (a.app (op F) (1 : W)))) |
| 87 | |
| 88 | end |
| 89 | |
| 90 | end OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedTruncated.FormSections |