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.RepresentationTheory.Theta.Kernel.IntrinsicAnalysis |
| 2 | |
| 3 | /-! # Intrinsic Global Lattice -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Theta.Kernel.IntrinsicGlobalLattice.Intrinsic |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The native support lattice identifies the literal theta sum at |
| 10 | every matrix parameter, not only at positive symmetric matrices. This |
| 11 | gives a genuine ambient extension for local parameter differentiation. -/ |
| 12 | |
| 13 | open scoped _root_.NumberField Classical _root_.Matrix BigOperators _root_.Matrix.Norms.Elementwise BoundedContinuousFunction |
| 14 | |
| 15 | open OAI.RepresentationTheory.Theta.Adelic.FiniteSchwartz OAI.RepresentationTheory.Theta.Adelic.BallGeometryData OAI.RepresentationTheory.Theta.Adelic.DataTheta OAI.RepresentationTheory.Theta.Adelic.DataTheta.Descent |
| 16 | |
| 17 | variable {F : Type} [Field F] [NumberField F] {d : F} {m : ℕ} |
| 18 | variable {H : (Matrix (Fin 3) (Fin 3) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ} |
| 19 | variable {K : (Matrix (Fin m) (Fin m) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ} |
| 20 | variable {A : Adelic.BallGeometryData.BallArithmeticData F d m H K} (B : Adelic.DataTheta.ComparisonData F H K A) |
| 21 | |
| 22 | def realRationalPosition (x : Weil.Local.FunctionsMetaplectic.Construction.Position F (3 * m)) : Adelic.BallGeometryData.FrameIndex A → ℝ := |
| 23 | fun i => (B.rationalPosition x i : ℝ) |
| 24 | |
| 25 | theorem realRationalPosition_injective : Function.Injective (realRationalPosition B) := by |
| 26 | intro x y h |
| 27 | apply B.rationalPosition.injective |
| 28 | funext i |
| 29 | have hi := congrFun h i |
| 30 | change (B.rationalPosition x i : ℝ) = (B.rationalPosition y i : ℝ) at hi |
| 31 | exact_mod_cast hi |
| 32 | |
| 33 | theorem global_lattice_presentation (hL : Adelic.DataTheta.Descent.LatticeIdentification B) (f : Adelic.FiniteSchwartz.finiteSchwartz F (3 * m)) : |
| 34 | ∃ (L : Submodule ℤ (Adelic.BallGeometryData.FrameIndex A → ℝ)) (_ : DiscreteTopology L) (φ : L →ᵇ ℂ), |
| 35 | (∀ Z ξ, Adelic.DataTheta.rationalTheta B f Z ξ = Definitions.theta L φ Z ξ) ∧ |
| 36 | (∀ Z, Adelic.DataTheta.completedTheta B f Z = Definitions.completedTheta L φ Z) ∧ |
| 37 | ∀ a Z, Adelic.DataTheta.completedTensor B f a Z = Definitions.completedTensor L φ a Z := by |
| 38 | obtain ⟨L,hLd,φ,hlift,hzero,hφ,_,_⟩ := hL f |
| 39 | let : DiscreteTopology L := hLd |
| 40 | choose q hq using hlift |
| 41 | have hqi : Function.Injective q := by |
| 42 | intro l k h |
| 43 | apply Subtype.ext |
| 44 | exact (hq l).symm.trans ((congrArg (realRationalPosition B) h).trans (hq k)) |
| 45 | have hw (l : L) : Adelic.DataTheta.rationalWeight f (q l) = φ l := by |
| 46 | have hmem : realRationalPosition B (q l) ∈ L := by |
| 47 | change (fun i => (B.rationalPosition (q l) i : ℝ)) ∈ L |
| 48 | rw [hq l] |
| 49 | exact l.property |
| 50 | have h := hφ (q l) hmem |
| 51 | have he : (⟨realRationalPosition B (q l),hmem⟩ : L) = l := Subtype.ext (hq l) |
| 52 | change φ ⟨realRationalPosition B (q l),hmem⟩ = Adelic.DataTheta.rationalWeight f (q l) at h |
| 53 | rw [he] at h |
| 54 | exact h.symm |
| 55 | have hz (x : Weil.Local.FunctionsMetaplectic.Construction.Position F (3 * m)) (hx : x ∉ Set.range q) : Adelic.DataTheta.rationalWeight f x = 0 := by |
| 56 | apply hzero |
| 57 | intro hmem |
| 58 | apply hx |
| 59 | refine ⟨⟨realRationalPosition B x,hmem⟩,?_⟩ |
| 60 | apply realRationalPosition_injective B |
| 61 | exact hq ⟨realRationalPosition B x,hmem⟩ |
| 62 | have he (Z : Matrix (Adelic.BallGeometryData.FrameIndex A) (Adelic.BallGeometryData.FrameIndex A) ℂ) (ξ : Adelic.BallGeometryData.FrameIndex A → ℂ) : |
| 63 | Adelic.DataTheta.rationalTheta B f Z ξ = Definitions.theta L φ Z ξ := by |
| 64 | have ht (l : L) : Adelic.DataTheta.thetaSummand B f Z ξ (q l) = φ l * Adelic.DataTheta.gaussianValue Z ξ l.val := by |
| 65 | change Adelic.DataTheta.rationalWeight f (q l) * Adelic.DataTheta.gaussianValue Z ξ (realRationalPosition B (q l)) = _ |
| 66 | rw [hw] |
| 67 | change φ l * Adelic.DataTheta.gaussianValue Z ξ (fun i => (B.rationalPosition (q l) i : ℝ)) = _ |
| 68 | rw [hq l] |
| 69 | have hsum := hqi.tsum_eq (f := Adelic.DataTheta.thetaSummand B f Z ξ) (fun x hx => by |
| 70 | by_contra hout |
| 71 | apply hx |
| 72 | simp [Adelic.DataTheta.thetaSummand,hz x hout]) |
| 73 | simpa only [Adelic.DataTheta.rationalTheta,Definitions.theta,ht,Adelic.DataTheta.gaussianValue] using hsum.symm |
| 74 | have hc (Z : Matrix (Adelic.BallGeometryData.FrameIndex A) (Adelic.BallGeometryData.FrameIndex A) ℂ) : |
| 75 | Adelic.DataTheta.completedTheta B f Z = Definitions.completedTheta L φ Z := by |
| 76 | funext ξ |
| 77 | unfold Adelic.DataTheta.completedTheta Definitions.completedTheta |
| 78 | rw [he] |
| 79 | refine ⟨L,hLd,φ,he,hc,?_⟩ |
| 80 | intro a Z |
| 81 | unfold Adelic.DataTheta.completedTensor Definitions.completedTensor |
| 82 | rw [hc] |
| 83 | |
| 84 | end |
| 85 | |
| 86 | end OAI.RepresentationTheory.Theta.Kernel.IntrinsicGlobalLattice.Intrinsic |