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.FrameMapBasis |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.FrameFreeModule |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeFrame.FormScalars |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.SemilinearBasisVectors |
| 5 | |
| 6 | /-! # Frame Map Vectors -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.FrameMapVectors |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | # IntegralComparison: coefficient-vector formula for the actual frame form map |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | |
| 18 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Presentation |
| 19 | open OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCrystalline.FormData |
| 20 | |
| 21 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 22 | (n : ℕ) (A C σ : Type) [CommRing A] [CommRing C] |
| 23 | [Algebra (Witt.Ring p k n) A] |
| 24 | [Algebra.Smooth (Witt.Ring p k n) A] [Algebra k C] |
| 25 | [LinearOrder σ] [Fintype σ] |
| 26 | [Algebra (MvPolynomial σ (Witt.Ring p k n)) A] |
| 27 | [IsScalarTower (Witt.Ring p k n) |
| 28 | (MvPolynomial σ (Witt.Ring p k n)) A] |
| 29 | [Algebra.Etale (MvPolynomial σ (Witt.Ring p k n)) A] |
| 30 | (ρ : A →+* C) (hρ : Function.Surjective ρ) |
| 31 | (hker : RingHom.ker ρ = Ideal.span {(p : A)}) |
| 32 | (hbase : ∀ w : WittVector p k, |
| 33 | ρ (algebraMap (Witt.Ring p k n) A (Witt.quotient p k n w)) = |
| 34 | algebraMap k C (WittVector.constantCoeff w)) |
| 35 | |
| 36 | local notation "W" => WittVector p k |
| 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 | BoundedTruncated.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 "Q" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site.inclusion (p := p) (J := Ideal.span {(p : W)}) |
| 44 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) f n |
| 45 | local notation "H" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.Diagram.productDiagram F |
| 46 | local notation "π" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.Diagram.projection F |
| 47 | local notation "τ" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.Symbols.frameProjection F |
| 48 | local notation "Index" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedTruncated.FormPresheaf.Index σ |
| 49 | |
| 50 | local instance frameAlgebra : Algebra W (F).obj.ring := (F).obj.base.toAlgebra |
| 51 | |
| 52 | variable (U : BoundedCrystalline.Site.Objects (p := p) (J := Ideal.span {(p : WittVector p k)}) |
| 53 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) (Witt.Crystalline.wittStructureMap p k (Crystalline.Presentation.affineScheme k C)) n) |
| 54 | |
| 55 | omit [Fintype k] in |
| 56 | theorem map_basis (m : ℕ) (i : Index m) : |
| 57 | RelativeFrame.FormMap.map H Q π (F).obj τ U m (FrameFreeModule.basis p k n A C σ ρ hρ hker hbase m i) = |
| 58 | BoundedTruncated.FormPresheaf.basis p k n A C σ ρ hρ hker hbase U m i := by |
| 59 | have hF : FrameFreeModule.basis p k n A C σ ρ hρ hker hbase m i = |
| 60 | FrameFormBasis.frameBasis p k n A σ C ρ hρ hker hbase m |
| 61 | ((Fintype.equivFin (Set.powersetCard σ m)).symm i) := |
| 62 | FrameFreeModule.basis_apply p k n A C σ ρ hρ hker hbase m i |
| 63 | have hU : BoundedTruncated.FormPresheaf.basis p k n A C σ ρ hρ hker hbase U m i = |
| 64 | BoundedTruncated.FormBasis.basis p k n A C σ ρ hρ hker hbase U m |
| 65 | ((Fintype.equivFin (Set.powersetCard σ m)).symm i) := |
| 66 | Module.Basis.reindex_apply (BoundedTruncated.FormBasis.basis p k n A C σ ρ hρ hker hbase U m) |
| 67 | (Fintype.equivFin (Set.powersetCard σ m)) i |
| 68 | exact (congrArg (RelativeFrame.FormMap.map H Q π (F).obj τ U m) hF).trans |
| 69 | ((FrameMapBasis.map_basis p k n A C σ ρ hρ hker hbase U m _).trans hU.symm) |
| 70 | |
| 71 | omit [Fintype k] in |
| 72 | theorem map_vectors (m : ℕ) (v : RelativeCrystalline.FreeModule.freeModule Q (Index m) F) : |
| 73 | RelativeFrame.FormMap.map H Q π (F).obj τ U m (FrameFreeModule.linearEquiv p k n A C σ ρ hρ hker hbase m v) = |
| 74 | RelativeCrystalline.FreeModule.linearEquiv H Q π (Index m) U m |
| 75 | (BoundedTruncated.FormPresheaf.basis p k n A C σ ρ hρ hker hbase U m) (fun i => ((τ).app U).ringMap (v i)) := by |
| 76 | exact SemilinearBasisVectors.map_vectors |
| 77 | (R := (F).obj.ring) (S := ((H).obj U).ring) |
| 78 | (M := AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.Form W (F).obj.ring (F).obj.ideal (F).obj.dividedPowers m) |
| 79 | (N := RelativeCrystalline.FormData.Forms H Q π U m) ((τ).app U).ringMap.toRingHom |
| 80 | (RelativeFrame.FormMap.map H Q π (F).obj τ U m).hom.toAddMonoidHom |
| 81 | (RelativeFrame.FormScalars.map_smul H Q π (F).obj τ U m) |
| 82 | (FrameFreeModule.basis p k n A C σ ρ hρ hker hbase m) |
| 83 | (BoundedTruncated.FormPresheaf.basis p k n A C σ ρ hρ hker hbase U m) |
| 84 | (map_basis p k n A C σ ρ hρ hker hbase U m) v |
| 85 | |
| 86 | end |
| 87 | |
| 88 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.FrameMapVectors |