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.Weil.AdelicSplitting.CorrectedNormalization |
| 2 | import OAI.RepresentationTheory.Weil.AdelicSplitting.Rational |
| 3 | |
| 4 | /-! # Assembly -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Weil.AdelicSplitting.Assembly.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Actual compatible local data and the constructed adelic unitary lift. |
| 13 | The only splitting inputs are local. Adelic factorization is proved here; |
| 14 | rational compatibility is reserved for the AdelicSplitting target. -/ |
| 15 | |
| 16 | open Filter |
| 17 | |
| 18 | variable (F : Type) [Field F] [NumberField F] |
| 19 | (d : F) (n m : ℕ) |
| 20 | (H : (Matrix (Fin n) (Fin n) (UnitaryBase.Construction.Quadratic F d))ˣ) |
| 21 | (K : (Matrix (Fin m) (Fin m) (UnitaryBase.Construction.Quadratic F d))ˣ) |
| 22 | |
| 23 | abbrev localizedUnit {r : ℕ} (A : (Matrix (Fin r) (Fin r) (UnitaryBase.Construction.Quadratic F d))ˣ) (v : ArchimedeanAdeles.Construction.Places F) : |
| 24 | (Matrix (Fin r) (Fin r) (ArchimedeanAdeles.Construction.localQuadratic F d v))ˣ := |
| 25 | Units.map (Integral.Construction.rationalQuadraticLocal F d v).mapMatrix.toMonoidHom A |
| 26 | |
| 27 | /-- A rational polarization and its local realizations. The compatibility |
| 28 | equation is an equality of linear coordinates on rational vectors; it says |
| 29 | nothing about Weil operators or splitting scalars. -/ |
| 30 | structure GlobalFrames where |
| 31 | rational : TensorSpace.Construction.SymplecticFrame d n m H.val K.val |
| 32 | localFrame : ∀ v, TensorSpace.Construction.SymplecticFrame (ArchimedeanAdeles.Construction.rationalScalar F v d) n m |
| 33 | (localizedUnit F d H v).val (localizedUnit F d K v).val |
| 34 | coordinates_compatible : ∀ v (x : TensorSpace.Construction.TensorPosition d n m) i, |
| 35 | (localFrame v).coordinates (fun j => Integral.Construction.rationalQuadraticLocal F d v (x j)) i = |
| 36 | ArchimedeanAdeles.Construction.rationalScalar F v (rational.coordinates x i) |
| 37 | |
| 38 | variable (hd : d ≠ 0) (C : Characters.Construction.GlobalCharacters F d n m) (P : GlobalFrames F d n m H K) |
| 39 | |
| 40 | def localDualAction (v : ArchimedeanAdeles.Construction.Places F) : |
| 41 | Integral.Construction.LocalUnitary F H.val v × Integral.Construction.LocalUnitary F K.val v →* |
| 42 | Local.FunctionsMetaplectic.Construction.Symplectic (ArchimedeanAdeles.Construction.Completion F v) (n * m) := |
| 43 | TensorSpace.Construction.dualPairSymplectic (localizedUnit F d H v).val (localizedUnit F d K v).val |
| 44 | (P.localFrame v) |
| 45 | |
| 46 | /-- The actual local input to AdelicSplitting. The normalizing equations use the |
| 47 | prescribed global characters and the corrected weak open-cell integral. The |
| 48 | unramified condition refers to the explicitly constructed vacuum subgroup. |
| 49 | Neither adelic factorization nor rational compatibility is a field. -/ |
| 50 | structure NormalizedLocalSplittings where |
| 51 | atPlace : ∀ v, Integral.Construction.LocalUnitary F H.val v × Integral.Construction.LocalUnitary F K.val v →ₜ* |
| 52 | Vacuum.Construction.CoverAt F (n * m) C.ψ v |
| 53 | covers : ∀ v g, Vacuum.Construction.projectionAt F (n * m) C.ψ v (atPlace v g) = |
| 54 | localDualAction F d n m H K P v g |
| 55 | normalization : ∀ v, CorrectedNormalization.Construction.CorrectedLocalNormalization F d hd n m C v |
| 56 | (localizedUnit F d H v) (localizedUnit F d K v) (P.localFrame v) (atPlace v) |
| 57 | unramified : ∀ᶠ v in cofinite, |
| 58 | Set.MapsTo (atPlace v) (Integral.Construction.localPairIntegral F H.val K.val v) (Vacuum.Construction.coverIntegral F (n * m) C.ψ v) |
| 59 | |
| 60 | variable (D : NormalizedLocalSplittings F d n m H K hd C P) |
| 61 | |
| 62 | def constructedAdelicLift : Integral.Construction.AdelicDualPair F H.val K.val →ₜ* Vacuum.Construction.GlobalCover F (n * m) C.ψ := |
| 63 | (CentralProduct.Construction.assembleCoverContinuous (Vacuum.Construction.coverIntegral F (n * m) C.ψ) (Vacuum.Construction.scalarAt F (n * m) C.ψ)).comp |
| 64 | (RestrictedLimits.Construction.restrictedContinuousMap (Integral.Construction.localPairIntegral F H.val K.val) |
| 65 | (Vacuum.Construction.coverIntegral F (n * m) C.ψ) D.atPlace D.unramified) |
| 66 | |
| 67 | include D in |
| 68 | theorem localAction_integral : ∀ᶠ v in cofinite, |
| 69 | Set.MapsTo |
| 70 | (localDualAction F d n m H K P v) |
| 71 | (Integral.Construction.localPairIntegral F H.val K.val v) (Vacuum.Construction.symplecticIntegral F (n * m) v) := by |
| 72 | filter_upwards [D.unramified] with v hv |
| 73 | intro g hg |
| 74 | have h := Vacuum.Construction.coverIntegral_projects F (n * m) C.ψ v (hv hg) |
| 75 | rwa [D.covers] at h |
| 76 | |
| 77 | def adelicDualPairAction : Integral.Construction.AdelicDualPair F H.val K.val →* Vacuum.Construction.AdelicSymplectic F (n * m) := |
| 78 | RestrictedLimits.Construction.restrictedMap (Integral.Construction.localPairIntegral F H.val K.val) (Vacuum.Construction.symplecticIntegral F (n * m)) |
| 79 | (localDualAction F d n m H K P) |
| 80 | (localAction_integral F d n m H K hd C P D) |
| 81 | |
| 82 | theorem constructedAdelicLift_covers (g : Integral.Construction.AdelicDualPair F H.val K.val) : |
| 83 | Vacuum.Construction.globalProjection F (n * m) C.ψ (constructedAdelicLift F d n m H K hd C P D g) = |
| 84 | adelicDualPairAction F d n m H K hd C P D g := by |
| 85 | apply RestrictedProduct.ext |
| 86 | intro v |
| 87 | exact D.covers v (g v) |
| 88 | |
| 89 | theorem constructedAdelicLift_factors (v : ArchimedeanAdeles.Construction.Places F) |
| 90 | (g : Integral.Construction.LocalUnitary F H.val v × Integral.Construction.LocalUnitary F K.val v) : |
| 91 | constructedAdelicLift F d n m H K hd C P D (Integral.Construction.includeUnitaryPlace F H.val K.val v g) = |
| 92 | Vacuum.Construction.globalInclude F (n * m) C.ψ v (D.atPlace v g) := by |
| 93 | exact congrArg (CentralProduct.Construction.assembleCover (Vacuum.Construction.coverIntegral F (n * m) C.ψ) (Vacuum.Construction.scalarAt F (n * m) C.ψ)) |
| 94 | (RestrictedLimits.Construction.restrictedMap_includePlace (Integral.Construction.localPairIntegral F H.val K.val) (Vacuum.Construction.coverIntegral F (n * m) C.ψ) |
| 95 | (fun v => (D.atPlace v).toMonoidHom) D.unramified v g) |
| 96 | |
| 97 | end |
| 98 | |
| 99 | /-! Rational base change for the explicit local normalizing scalars. -/ |
| 100 | |
| 101 | variable (F : Type) [Field F] [NumberField F] (d : F) (hd : d ≠ 0) |
| 102 | |
| 103 | theorem localDelta_eq_map (v : ArchimedeanAdeles.Construction.Places F) : |
| 104 | Normalization.Construction.localDelta F d hd v = |
| 105 | Units.map (Integral.Construction.rationalQuadraticLocal F d v).toMonoidHom (Normalization.Construction.deltaUnit d hd) := by |
| 106 | apply Units.ext |
| 107 | apply QuadraticAlgebra.ext <;> simp [Normalization.Construction.localDelta, Normalization.Construction.deltaUnit, Integral.Construction.rationalQuadraticLocal, UnitaryBase.Construction.quadraticBaseChange] |
| 108 | |
| 109 | theorem determinant_localizedUnit {n : ℕ} |
| 110 | (A : (Matrix (Fin n) (Fin n) (UnitaryBase.Construction.Quadratic F d))ˣ) (v : ArchimedeanAdeles.Construction.Places F) : |
| 111 | Matrix.GeneralLinearGroup.det (localizedUnit F d A v) = |
| 112 | Units.map (Integral.Construction.rationalQuadraticLocal F d v).toMonoidHom (Matrix.GeneralLinearGroup.det A) := by |
| 113 | apply Units.ext |
| 114 | exact (RingHom.map_det (Integral.Construction.rationalQuadraticLocal F d v) A.val).symm |
| 115 | |
| 116 | theorem normCharacterScalar_one (v : ArchimedeanAdeles.Construction.Places F) : Normalization.Construction.normCharacterScalar F d v 1 = 1 := by |
| 117 | rw [Normalization.Construction.normCharacterScalar, dite_eq_left one_ne_zero] |
| 118 | have hu : Units.mk0 (1 : ArchimedeanAdeles.Construction.Completion F v) one_ne_zero = 1 := Units.ext rfl |
| 119 | rw [hu] |
| 120 | exact ite_eq_left ⟨1, map_one (Units.map QuadraticAlgebra.norm)⟩ |
| 121 | |
| 122 | theorem firstFactorScalar_zero_rank (n m : ℕ) (hN : n * m = 0) |
| 123 | (C : Characters.Construction.GlobalCharacters F d n m) (v : ArchimedeanAdeles.Construction.Places F) |
| 124 | (H : (Matrix (Fin n) (Fin n) (ArchimedeanAdeles.Construction.localQuadratic F d v))ˣ) |
| 125 | (K : (Matrix (Fin m) (Fin m) (ArchimedeanAdeles.Construction.localQuadratic F d v))ˣ) |
| 126 | (u : (Matrix (Fin n) (Fin n) (ArchimedeanAdeles.Construction.localQuadratic F d v))ˣ) : |
| 127 | Normalization.Construction.firstFactorScalar F d hd n m C v H K u = |
| 128 | (Characters.Construction.localCharacter F d C.χW v |
| 129 | ((Normalization.Construction.localDelta F d hd v) ^ n * Matrix.GeneralLinearGroup.det H * Matrix.GeneralLinearGroup.det u) : ℂ) := by |
| 130 | rw [Normalization.Construction.firstFactorScalar, hN, pow_zero, one_mul] |
| 131 | rcases Nat.mul_eq_zero.mp hN with hn | hm |
| 132 | · simp [hn] |
| 133 | · subst m |
| 134 | have hK : K = 1 := Subsingleton.elim _ _ |
| 135 | simp [hK, QuadraticAlgebra.re_one, normCharacterScalar_one] |
| 136 | |
| 137 | theorem secondFactorScalar_zero_rank (n m : ℕ) (hN : n * m = 0) |
| 138 | (C : Characters.Construction.GlobalCharacters F d n m) (v : ArchimedeanAdeles.Construction.Places F) |
| 139 | (H : (Matrix (Fin n) (Fin n) (ArchimedeanAdeles.Construction.localQuadratic F d v))ˣ) |
| 140 | (K : (Matrix (Fin m) (Fin m) (ArchimedeanAdeles.Construction.localQuadratic F d v))ˣ) |
| 141 | (u : (Matrix (Fin m) (Fin m) (ArchimedeanAdeles.Construction.localQuadratic F d v))ˣ) : |
| 142 | Normalization.Construction.secondFactorScalar F d n m C v H K u = |
| 143 | (Characters.Construction.localCharacter F d C.χV v |
| 144 | (Matrix.GeneralLinearGroup.det K * Matrix.GeneralLinearGroup.det u) : ℂ) := by |
| 145 | rw [Normalization.Construction.secondFactorScalar, hN, pow_zero, one_mul] |
| 146 | rcases Nat.mul_eq_zero.mp hN with hn | hm |
| 147 | · subst n |
| 148 | have hH : H = 1 := Subsingleton.elim _ _ |
| 149 | simp [hH, QuadraticAlgebra.re_one, normCharacterScalar_one] |
| 150 | · simp [hm] |
| 151 | |
| 152 | theorem correctedFirstFactorScalar_zero_rank (n m : ℕ) (hN : n * m = 0) |
| 153 | (C : Characters.Construction.GlobalCharacters F d n m) (v : ArchimedeanAdeles.Construction.Places F) |
| 154 | (H : (Matrix (Fin n) (Fin n) (ArchimedeanAdeles.Construction.localQuadratic F d v))ˣ) |
| 155 | (K : (Matrix (Fin m) (Fin m) (ArchimedeanAdeles.Construction.localQuadratic F d v))ˣ) |
| 156 | (u : (Matrix (Fin n) (Fin n) (ArchimedeanAdeles.Construction.localQuadratic F d v))ˣ) : |
| 157 | CorrectedNormalization.Construction.correctedFirstFactorScalar F d hd n m C v H K u = |
| 158 | (Characters.Construction.localCharacter F d C.χW v |
| 159 | ((Normalization.Construction.localDelta F d hd v) ^ n * Matrix.GeneralLinearGroup.det H * Matrix.GeneralLinearGroup.det u) : ℂ) := by |
| 160 | rw [CorrectedNormalization.Construction.correctedFirstFactorScalar, hN, pow_zero, one_mul] |
| 161 | rcases Nat.mul_eq_zero.mp hN with hn | hm |
| 162 | · simp [hn] |
| 163 | · subst m |
| 164 | have hK : K = 1 := Subsingleton.elim _ _ |
| 165 | simp [hK, QuadraticAlgebra.re_one, normCharacterScalar_one] |
| 166 | |
| 167 | theorem correctedSecondFactorScalar_zero_rank (n m : ℕ) (hN : n * m = 0) |
| 168 | (C : Characters.Construction.GlobalCharacters F d n m) (v : ArchimedeanAdeles.Construction.Places F) |
| 169 | (H : (Matrix (Fin n) (Fin n) (ArchimedeanAdeles.Construction.localQuadratic F d v))ˣ) |
| 170 | (K : (Matrix (Fin m) (Fin m) (ArchimedeanAdeles.Construction.localQuadratic F d v))ˣ) |
| 171 | (u : (Matrix (Fin m) (Fin m) (ArchimedeanAdeles.Construction.localQuadratic F d v))ˣ) : |
| 172 | CorrectedNormalization.Construction.correctedSecondFactorScalar F d n m C v H K u = |
| 173 | (Characters.Construction.localCharacter F d C.χV v |
| 174 | (Matrix.GeneralLinearGroup.det K * Matrix.GeneralLinearGroup.det u) : ℂ) := by |
| 175 | rw [CorrectedNormalization.Construction.correctedSecondFactorScalar, hN, pow_zero, one_mul] |
| 176 | rcases Nat.mul_eq_zero.mp hN with hn | hm |
| 177 | · subst n |
| 178 | have hH : H = 1 := Subsingleton.elim _ _ |
| 179 | simp [hH, QuadraticAlgebra.re_one, normCharacterScalar_one] |
| 180 | · simp [hm] |
| 181 | |
| 182 | end |
| 183 | |
| 184 | end OAI.RepresentationTheory.Weil.AdelicSplitting.Assembly.Construction |