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.FormSections |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.FrameMapVectors |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.Diagonal |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Module.PresheafSections |
| 5 | import OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeFrame.FormNaturality |
| 6 | |
| 7 | /-! # Canonical Sections -/ |
| 8 | |
| 9 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedTruncated.CanonicalSections |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! |
| 14 | # IntegralComparison: the canonical frame section map is bijective before coefficient lifting |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 18 | |
| 19 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Presentation |
| 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 (Truncated.Witt.Ring p k n) A] |
| 24 | [Algebra.Smooth (Truncated.Witt.Ring p k n) A] [Algebra k C] |
| 25 | [LinearOrder σ] [Fintype σ] |
| 26 | [Algebra (MvPolynomial σ (Truncated.Witt.Ring p k n)) A] |
| 27 | [IsScalarTower (Truncated.Witt.Ring p k n) |
| 28 | (MvPolynomial σ (Truncated.Witt.Ring p k n)) A] |
| 29 | [Algebra.Etale (MvPolynomial σ (Truncated.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 (Truncated.Witt.Ring p k n) A (Truncated.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 | 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 | |
| 49 | def sectionMap (m : ℕ) := Module.PresheafSections.sectionMap W |
| 50 | (RelativeFrame.FormMap.frameModule (F).obj m) |
| 51 | (RelativeCrystalline.ModuleMaps.formsPresheaf H Q π m) |
| 52 | (RelativeFrame.FormNaturality.mapPresheaf H Q π (F).obj τ m) |
| 53 | |
| 54 | omit [Fintype k] in |
| 55 | theorem inverse_section (m : ℕ) (ω : RelativeFrame.FormMap.frameModule (F).obj m) : |
| 56 | FormSections.homLinearEquiv p k n A C σ ρ hρ hker hbase m (sectionMap p k n A C ρ hρ hker hbase m ω) = ω := by |
| 57 | obtain ⟨v, rfl⟩ := (Truncated.FrameFreeModule.linearEquiv p k n A C σ ρ hρ hker hbase m).surjective ω |
| 58 | have ha := Module.PresheafSections.sectionMap_app_one W |
| 59 | (RelativeFrame.FormMap.frameModule (F).obj m) |
| 60 | (RelativeCrystalline.ModuleMaps.formsPresheaf H Q π m) |
| 61 | (RelativeFrame.FormNaturality.mapPresheaf H Q π (F).obj τ m) |
| 62 | (Truncated.FrameFreeModule.linearEquiv p k n A C σ ρ hρ hker hbase m v) (op F) |
| 63 | have hc := (congrArg (FormPresheaf.basis p k n A C σ ρ hρ hker hbase F m).equivFun |
| 64 | (ha.trans (Truncated.FrameMapVectors.map_vectors p k n A C σ ρ hρ hker hbase F m v))).trans |
| 65 | ((FormPresheaf.basis p k n A C σ ρ hρ hker hbase F m).equivFun.apply_symm_apply |
| 66 | (fun i => ((τ).app F).ringMap (v i))) |
| 67 | have hd : (fun i => ((Q).map (prod.lift (𝟙 F) (𝟙 F))).ringMap |
| 68 | ((FormPresheaf.basis p k n A C σ ρ hρ hker hbase F m).equivFun |
| 69 | ((sectionMap p k n A C ρ hρ hker hbase m (Truncated.FrameFreeModule.linearEquiv p k n A C σ ρ hρ hker hbase m v)).app (op F) (1 : W)) i)) = v := by |
| 70 | funext i |
| 71 | exact (congrArg (fun t => ((Q).map (prod.lift (𝟙 F) (𝟙 F))).ringMap (t i)) hc).trans |
| 72 | (BoundedFrame.Diagonal.diagonal_ringMap F (v i)) |
| 73 | exact (FormSections.homLinearEquiv_apply p k n A C σ ρ hρ hker hbase m _).trans |
| 74 | (congrArg (Truncated.FrameFreeModule.linearEquiv p k n A C σ ρ hρ hker hbase m) hd) |
| 75 | |
| 76 | include σ in |
| 77 | omit [Fintype k] in |
| 78 | theorem sectionMap_bijective (m : ℕ) : Function.Bijective (sectionMap p k n A C ρ hρ hker hbase m) := by |
| 79 | constructor |
| 80 | · intro ω η h |
| 81 | exact (inverse_section p k n A C σ ρ hρ hker hbase m ω).symm.trans |
| 82 | ((congrArg (FormSections.homLinearEquiv p k n A C σ ρ hρ hker hbase m) h).trans |
| 83 | (inverse_section p k n A C σ ρ hρ hker hbase m η)) |
| 84 | · intro a |
| 85 | refine ⟨FormSections.homLinearEquiv p k n A C σ ρ hρ hker hbase m a, ?_⟩ |
| 86 | apply (FormSections.homLinearEquiv p k n A C σ ρ hρ hker hbase m).injective |
| 87 | exact inverse_section p k n A C σ ρ hρ hker hbase m _ |
| 88 | |
| 89 | end |
| 90 | |
| 91 | end OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedTruncated.CanonicalSections |