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.Adelic.BallNatural |
| 2 | import OAI.RepresentationTheory.Theta.Adelic.AnnihilatorFrame |
| 3 | import OAI.RepresentationTheory.Theta.Adelic.RationalSU |
| 4 | import OAI.RepresentationTheory.Theta.Definitions |
| 5 | |
| 6 | /-! # Ball Geometry Data -/ |
| 7 | |
| 8 | namespace OAI.RepresentationTheory.Theta.Adelic.BallGeometryData |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | Concrete geometric data for the complete AdelicTheta statement. The input consists |
| 14 | only of CM embeddings and orthonormal bases of the two Hermitian spaces. |
| 15 | There is no period map, oscillator lift, determinant comparison, or theta |
| 16 | identity in the input. All of those are conclusions in the statement. |
| 17 | |
| 18 | AdelicSplitting uses a conjugate-linear first argument and (position,momentum) order. |
| 19 | The manuscript uses a linear first argument and (momentum,position) order. |
| 20 | Accordingly the skew form at the distinguished embedding is normalized to |
| 21 | -i times a positive Hermitian form. The positive Hodge subspace below is |
| 22 | L tensor P plus Ann(L) tensor P*, exactly as in PrescribedSigns. |
| 23 | -/ |
| 24 | |
| 25 | open scoped _root_.NumberField Classical _root_.Matrix Kronecker |
| 26 | open _root_.Matrix |
| 27 | |
| 28 | open OAI.RepresentationTheory.Theta.Adelic.SpecialUnitary OAI.RepresentationTheory.Theta.Adelic.RationalSU OAI.RepresentationTheory.Theta.Adelic.BallNatural OAI.RepresentationTheory.Theta.Adelic.BallNatural.Factors |
| 29 | open OAI.RepresentationTheory.Theta.Adelic.DeterminantCoordinates |
| 30 | |
| 31 | variable (F : Type) [Field F] [NumberField F] (d : F) (m : ℕ) |
| 32 | variable (H : (Matrix (Fin 3) (Fin 3) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ) |
| 33 | variable (K : (Matrix (Fin m) (Fin m) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ) |
| 34 | |
| 35 | /-- Orthonormal CM coordinates. Giving such coordinates is a way of |
| 36 | specifying signature (2,1) at one place, definiteness at the other places, |
| 37 | and the one- or two-line multiplicity space. These are arithmetic and |
| 38 | Hermitian-form data, independent of every AdelicTheta conclusion. -/ |
| 39 | structure BallArithmeticData where |
| 40 | places : ℕ |
| 41 | enumerate : Fin places ≃ NumberField.InfinitePlace F |
| 42 | distinguished : Fin places |
| 43 | other_place : ∃ v : Fin places, v ≠ distinguished |
| 44 | real : ∀ v, Weil.AdelicSplitting.ArchimedeanAdeles.Construction.Completion F (.inl (enumerate v)) ≃+* ℝ |
| 45 | real_continuous : ∀ v, Continuous (real v) |
| 46 | real_inverse_continuous : ∀ v, Continuous (real v).symm |
| 47 | complex : ∀ v, Weil.AdelicSplitting.ArchimedeanAdeles.Construction.localQuadratic F d (.inl (enumerate v)) ≃+* ℂ |
| 48 | complex_continuous : ∀ v, Continuous (complex v) |
| 49 | complex_inverse_continuous : ∀ v, Continuous (complex v).symm |
| 50 | complex_scalar : ∀ v x, |
| 51 | complex v (algebraMap _ _ x) = (real v x : ℂ) |
| 52 | complex_star : ∀ v x, complex v (star x) = star (complex v x) |
| 53 | basisV : Fin places → (Matrix (Fin 3) (Fin 3) ℂ)ˣ |
| 54 | basisP : Fin places → (Matrix (Fin m) (Fin m) ℂ)ˣ |
| 55 | positive : Fin places → Fin m → Bool |
| 56 | distinguished_sign : ∀ j, positive distinguished j = false |
| 57 | formV : ∀ v, |
| 58 | (basisV v).val.conjTranspose * |
| 59 | ((Weil.AdelicSplitting.Integral.Construction.localizedForm F H.val (.inl (enumerate v))).map (complex v)) * |
| 60 | (basisV v).val = |
| 61 | Matrix.diagonal (fun i : Fin 3 => |
| 62 | if v = distinguished ∧ i = 2 then (-1 : ℂ) else 1) |
| 63 | formP : ∀ v, |
| 64 | (basisP v).val.conjTranspose * |
| 65 | ((Weil.AdelicSplitting.Integral.Construction.localizedForm F K.val (.inl (enumerate v))).map (complex v)) * |
| 66 | (basisP v).val = |
| 67 | Matrix.diagonal (fun j => if positive v j then Complex.I else -Complex.I) |
| 68 | |
| 69 | variable {F d m H K} |
| 70 | variable (A : BallArithmeticData F d m H K) |
| 71 | |
| 72 | abbrev FrameIndex := Fin A.places × (Fin 3 × Fin m) |
| 73 | abbrev ComplexPhase := Fin A.places → |
| 74 | ((Fin 3 × Fin m → ℂ) × (Fin 3 × Fin m → ℂ)) |
| 75 | abbrev RealPositions := Fin A.places → Weil.Local.FunctionsMetaplectic.Construction.Position ℝ (3 * m) |
| 76 | |
| 77 | /-- The actual standard representation in orthonormal V coordinates. -/ |
| 78 | def standardMatrix (g : RationalSU.ArchimedeanSU F H) (v : Fin A.places) : |
| 79 | Matrix (Fin 3) (Fin 3) ℂ := |
| 80 | (A.basisV v).inv * ((g (A.enumerate v)).val.val.map (A.complex v)) * |
| 81 | (A.basisV v).val |
| 82 | |
| 83 | /-- The representation on V tensor P and its contragredient. P is a |
| 84 | multiplicity space, so SU(V) acts trivially on its index. -/ |
| 85 | def geometricAction (g : RationalSU.ArchimedeanSU F H) (w : ComplexPhase A) : ComplexPhase A := |
| 86 | fun v => |
| 87 | (fun ij => ∑ k, standardMatrix A g v ij.1 k * (w v).1 (k, ij.2), |
| 88 | fun ij => ∑ k, (standardMatrix A g v)⁻¹ k ij.1 * (w v).2 (k, ij.2)) |
| 89 | |
| 90 | /-- An explicit frame of the positive Hodge subspace. At the distinguished |
| 91 | place its columns are l(z) tensor e_j and the two annihilator columns |
| 92 | tensor e_j*. At a definite place each multiplicity line selects the whole |
| 93 | standard or dual summand according to its skew-Hermitian sign. -/ |
| 94 | def geometricFrame (z : BallNatural.Ball) (a : FrameIndex A → ℂ) : ComplexPhase A := |
| 95 | fun v => |
| 96 | (fun ij => if v = A.distinguished then |
| 97 | DeterminantCoordinates.lineVector z.val ij.1 * a (v, 0, ij.2) |
| 98 | else if A.positive v ij.2 then a (v, ij) else 0, |
| 99 | fun ij => if v = A.distinguished then |
| 100 | DeterminantCoordinates.annihilatorVector z.val 0 ij.1 * a (v, 1, ij.2) + |
| 101 | DeterminantCoordinates.annihilatorVector z.val 1 ij.1 * a (v, 2, ij.2) |
| 102 | else if A.positive v ij.2 then 0 else a (v, ij)) |
| 103 | |
| 104 | /-- Coordinate extraction from the displayed Hodge frame. -/ |
| 105 | def geometricCoordinates (w : ComplexPhase A) : FrameIndex A → ℂ := |
| 106 | fun vij => if vij.1 = A.distinguished then |
| 107 | if vij.2.1 = 0 then (w vij.1).1 (2, vij.2.2) |
| 108 | else if vij.2.1 = 1 then (w vij.1).2 (0, vij.2.2) |
| 109 | else (w vij.1).2 (1, vij.2.2) |
| 110 | else if A.positive vij.1 vij.2.2 then (w vij.1).1 vij.2 else (w vij.1).2 vij.2 |
| 111 | |
| 112 | /-- The Hodge subspace itself, without a chosen period map. -/ |
| 113 | def HodgeSubspace (z : BallNatural.Ball) : Set (ComplexPhase A) := |
| 114 | Set.range (geometricFrame A z) |
| 115 | |
| 116 | /-- The actual frame matrix of the tensor-product representation. -/ |
| 117 | def frameMatrix (g : RationalSU.ArchimedeanSU F H) (z : BallNatural.Ball) : |
| 118 | Matrix (FrameIndex A) (FrameIndex A) ℂ := |
| 119 | fun i j => geometricCoordinates A |
| 120 | (geometricAction A g (geometricFrame A z (Pi.single j 1))) i |
| 121 | |
| 122 | def dualFrameChange (g : RationalSU.ArchimedeanSU F H) (z : BallNatural.Ball) |
| 123 | (v : FrameIndex A → ℂ) : FrameIndex A → ℂ := |
| 124 | (frameMatrix A g z)⁻¹ᵀ.mulVec v |
| 125 | |
| 126 | /-- A real tensor vector, written in its standard and Hermitian-dual CM |
| 127 | components. The second component is the Hermitian identification of the |
| 128 | conjugate representation, not an independently chosen variable. -/ |
| 129 | def realTensorComponents |
| 130 | (s : ∀ v : Fin A.places, |
| 131 | Weil.AdelicSplitting.TensorSpace.Construction.TensorPosition (Weil.AdelicSplitting.ArchimedeanAdeles.Construction.rationalScalar F (.inl (A.enumerate v)) d) 3 m) : |
| 132 | ComplexPhase A := |
| 133 | fun v => |
| 134 | let x := ((A.basisV v).inv ⊗ₖ (A.basisP v).inv).mulVec |
| 135 | (fun ij => A.complex v (s v ij)) |
| 136 | (x, fun ij => |
| 137 | (if v = A.distinguished ∧ ij.1 = 2 then (-1 : ℂ) else 1) * |
| 138 | (if A.positive v ij.2 then (1 : ℂ) else -1) * star (x ij)) |
| 139 | |
| 140 | def archPositions (x : Weil.Local.FunctionsMetaplectic.Construction.Position F (3 * m)) : RealPositions A := |
| 141 | fun v i => A.real v (Weil.AdelicSplitting.ArchimedeanAdeles.Construction.rationalScalar F (.inl (A.enumerate v)) (x i)) |
| 142 | |
| 143 | /-- Literal principal congruence condition on the two F-coefficients of |
| 144 | each quadratic matrix entry. This is the coefficient lattice O_F + delta O_F in the |
| 145 | chosen E-basis; these levels are cofinal among compact open levels. -/ |
| 146 | def PrincipalLevel (N : ℕ) (g : SpecialUnitary.SU H.val) : Prop := |
| 147 | ∀ i j, ∃ a b : 𝓞 F, |
| 148 | g.val.val i j - (1 : Matrix (Fin 3) (Fin 3) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d)) i j = |
| 149 | (N : Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d) * |
| 150 | (⟨(a : F), (b : F)⟩ : Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d) |
| 151 | |
| 152 | def ballDomain : Set (Fin 2 → ℂ) := |
| 153 | {z | Complex.normSq (z 0) + Complex.normSq (z 1) < 1} |
| 154 | |
| 155 | /-- Smoothness on the ball, expressed in its actual affine chart. -/ |
| 156 | def BallSmooth {V : Type} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 157 | (f : BallNatural.Ball → V) : Prop := |
| 158 | ContDiffOn ℝ ⊤ (fun z => if hz : z ∈ ballDomain then f ⟨z, hz⟩ else 0) ballDomain |
| 159 | |
| 160 | /-- Holomorphicity in the affine ball chart. -/ |
| 161 | def BallHolomorphic {V : Type} [NormedAddCommGroup V] [NormedSpace ℂ V] |
| 162 | (f : BallNatural.Ball → V) : Prop := |
| 163 | DifferentiableOn ℂ (fun z => if hz : z ∈ ballDomain then f ⟨z, hz⟩ else 0) ballDomain |
| 164 | |
| 165 | end |
| 166 | |
| 167 | end OAI.RepresentationTheory.Theta.Adelic.BallGeometryData |