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.Coordinates |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCrystalline.Basis |
| 3 | |
| 4 | /-! # Form Basis -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedTruncated.FormBasis |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Natural coordinate bases for the actual bounded smooth finite-level relative form complex. -/ |
| 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 | variable (U : BoundedCrystalline.Site.Objects (p := p) (J := Ideal.span {(p : WittVector p k)}) |
| 48 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) (Witt.Crystalline.wittStructureMap p k (Crystalline.Presentation.affineScheme k C)) n) |
| 49 | |
| 50 | def basis (m : ℕ) : Module.Basis (Set.powersetCard σ m) ((H).obj U).ring (RelativeCrystalline.FormData.Forms H Q π U m) := |
| 51 | RelativeCrystalline.Basis.basis H Q π σ U |
| 52 | (FrameProduct.coordinateIso p k n A C σ ρ hρ hker hbase U) |
| 53 | (FrameProduct.coordinateIso_projection p k n A C σ ρ hρ hker hbase U) m |
| 54 | |
| 55 | omit [Fintype k] [Fintype σ] in |
| 56 | theorem basis_apply (m : ℕ) (s : Set.powersetCard σ m) : |
| 57 | basis p k n A C σ ρ hρ hker hbase U m s = RelativeFrame.Symbols.form H Q π (F).obj τ σ xF U m s := |
| 58 | RelativeCrystalline.Basis.basis_eq_symbol H Q π σ U |
| 59 | (FrameProduct.coordinateIso p k n A C σ ρ hρ hker hbase U) |
| 60 | (FrameProduct.coordinateIso_projection p k n A C σ ρ hρ hker hbase U) |
| 61 | (Coordinates.coordinate p k n A C σ ρ hρ hker hbase U) |
| 62 | (fun i => ((Q).map (FrameProduct.presentationMorphism p k n A C ρ hρ hker hbase U)).ringMap (xF i)) |
| 63 | (Coordinates.coordinate_formula p k n A C σ ρ hρ hker hbase U) m s |
| 64 | |
| 65 | include σ in |
| 66 | omit [Fintype k] [Fintype σ] in |
| 67 | theorem forms_free (m : ℕ) : Module.Free ((H).obj U).ring (RelativeCrystalline.FormData.Forms H Q π U m) := |
| 68 | Module.Free.of_basis (basis p k n A C σ ρ hρ hker hbase U m) |
| 69 | |
| 70 | include σ in |
| 71 | omit [Fintype k] in |
| 72 | theorem forms_finite (m : ℕ) : Module.Finite ((H).obj U).ring (RelativeCrystalline.FormData.Forms H Q π U m) := |
| 73 | Module.Finite.of_basis (basis p k n A C σ ρ hρ hker hbase U m) |
| 74 | |
| 75 | variable {U} {V : BoundedCrystalline.Site.Objects (p := p) (J := Ideal.span {(p : WittVector p k)}) |
| 76 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 77 | (Witt.Crystalline.wittStructureMap p k (Crystalline.Presentation.affineScheme k C)) n} |
| 78 | |
| 79 | omit [Fintype k] [Fintype σ] in |
| 80 | theorem basis_natural (α : U ⟶ V) (m : ℕ) (s : Set.powersetCard σ m) : |
| 81 | RelativeCrystalline.FormData.formsMap H Q π α m (basis p k n A C σ ρ hρ hker hbase V m s) = basis p k n A C σ ρ hρ hker hbase U m s := |
| 82 | (congrArg (RelativeCrystalline.FormData.formsMap H Q π α m) (basis_apply p k n A C σ ρ hρ hker hbase V m s)).trans |
| 83 | ((RelativeFrame.Symbols.form_natural H Q π (F).obj τ σ xF α m s).trans |
| 84 | (basis_apply p k n A C σ ρ hρ hker hbase U m s).symm) |
| 85 | |
| 86 | end |
| 87 | |
| 88 | end OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedTruncated.FormBasis |