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 Mathlib |
| 2 | import OAI.RepresentationTheory.Weil.AdelicSplitting.Construction |
| 3 | import OAI.RepresentationTheory.Weil.AdelicSplitting.CharacterProduct |
| 4 | import OAI.RepresentationTheory.Weil.AdelicSplitting.CentralProduct |
| 5 | import OAI.RepresentationTheory.Weil.AdelicSplitting.CompatibilityReduction |
| 6 | import OAI.RepresentationTheory.Weil.AdelicSplitting.ZeroRankCompatibility |
| 7 | import OAI.RepresentationTheory.Weil.AdelicSplitting.FiniteFourier |
| 8 | import OAI.RepresentationTheory.Weil.AdelicSplitting.FourierIntertwiner |
| 9 | import OAI.RepresentationTheory.Weil.AdelicSplitting.RealNormalization |
| 10 | import OAI.RepresentationTheory.Weil.AdelicSplitting.ComplexNormalization |
| 11 | import OAI.RepresentationTheory.Weil.AdelicSplitting.ArchimedeanFourierCovers |
| 12 | import OAI.RepresentationTheory.Weil.AdelicSplitting.RationalFourier |
| 13 | import OAI.RepresentationTheory.Weil.AdelicSplitting.FourierRelations |
| 14 | import OAI.RepresentationTheory.Weil.AdelicSplitting.GlobalKernel |
| 15 | import OAI.RepresentationTheory.Weil.AdelicSplitting.RationalDiscreteness |
| 16 | import OAI.RepresentationTheory.Weil.AdelicSplitting.CompactQuotient |
| 17 | import OAI.RepresentationTheory.Weil.AdelicSplitting.Annihilator |
| 18 | import OAI.RepresentationTheory.Weil.AdelicSplitting.RapidLatticePoisson |
| 19 | import OAI.RepresentationTheory.Weil.AdelicSplitting.FiniteCosets |
| 20 | import OAI.RepresentationTheory.Weil.AdelicSplitting.FiniteTestSupport |
| 21 | import OAI.RepresentationTheory.Weil.AdelicSplitting.ArchimedeanRapid |
| 22 | import OAI.RepresentationTheory.Weil.AdelicSplitting.PositiveTestFamily |
| 23 | import OAI.RepresentationTheory.Weil.AdelicSplitting.ThetaQuadratic |
| 24 | import OAI.RepresentationTheory.Weil.AdelicSplitting.ThetaTest |
| 25 | import OAI.RepresentationTheory.Weil.AdelicSplitting.TestFamilyAction |
| 26 | import OAI.RepresentationTheory.Weil.AdelicSplitting.RationalCompatibility |
| 27 | |
| 28 | /-! # No -/ |
| 29 | |
| 30 | namespace OAI.RepresentationTheory.Weil.AdelicSplitting.No |
| 31 | |
| 32 | noncomputable section |
| 33 | |
| 34 | /-! |
| 35 | # AdelicSplitting: adelic unitary splitting compatible with rational points |
| 36 | |
| 37 | The full accepted conclusion is proved below, independently of the statement |
| 38 | module. The local input is the authorized corrected weak normalization. |
| 39 | The historical strong normalization and its AdelicTheta counterexamples remain intact. |
| 40 | |
| 41 | Actual adelic Poisson summation makes the prescribed rational Schrödinger |
| 42 | operators preserve theta up to positive scalars. The circle kernel then proves |
| 43 | that their generated subgroup is the graph of a rational homomorphism. Weighted |
| 44 | Fourier-quadratic relations prove Gaussian reciprocity, giving product one for |
| 45 | the corrected unitary normalization factors. Weyl coefficients on doubled |
| 46 | position space convert the weak Cayley formula into a rational quadratic, |
| 47 | Fourier, and linear operator word. Their rational theta identity proves that |
| 48 | the normalized unitary operators also preserve the positive theta ray. Equal |
| 49 | projections and the scalar-kernel theorem identify these operators on the two |
| 50 | open cells; rational unitary factorization extends the comparison to every |
| 51 | rational point. The separately proved zero-rank argument completes all ranks. |
| 52 | |
| 53 | No target statement is imported here. |
| 54 | |
| 55 | ## Historical countermodel for the original uninterpreted interface |
| 56 | |
| 57 | The countermodel below concerns the original specification, not a disproof of the |
| 58 | classical adelic unitary splitting theorem. No statement module is imported. |
| 59 | |
| 60 | The original specification at b20be31's `IsStandardUnitaryDatum` is an uninterpreted predicate: |
| 61 | its signature permits the interpretation `True`. The comments about actual |
| 62 | unitary groups and compatible Kudla normalizations are not encoded as laws. |
| 63 | Below, even local covering, injective embeddings, and a rational symplectic |
| 64 | section do not imply that the prescribed local and rational sections agree. |
| 65 | All maps are continuous in this example. The obstruction is explicit: |
| 66 | local factorization forces S(-1) = (-1, 1), while rational compatibility |
| 67 | forces S(-1) = (-1, -1). |
| 68 | |
| 69 | The original statement also failed elaboration because the scoped notation |
| 70 | `𝓞` was not opened. This countermodel is retained after the specification repair. |
| 71 | -/ |
| 72 | |
| 73 | open scoped _root_.NumberField |
| 74 | |
| 75 | namespace Specification |
| 76 | |
| 77 | variable |
| 78 | {CF CE UQ SpQ UA SpA MpA : Type*} |
| 79 | [CommGroup CF] [CommGroup CE] |
| 80 | [Group UQ] [Group SpQ] [Group UA] |
| 81 | [Group SpA] [Group MpA] |
| 82 | [TopologicalSpace CF] [TopologicalSpace CE] |
| 83 | [TopologicalSpace UA] [TopologicalSpace MpA] |
| 84 | {Place : Type*} {Uv Mpv : Place → Type*} |
| 85 | [∀ v, Group (Uv v)] [∀ v, Group (Mpv v)] |
| 86 | [∀ v, TopologicalSpace (Uv v)] |
| 87 | [∀ v, TopologicalSpace (Mpv v)] |
| 88 | |
| 89 | /-- Same fields and types as in the original specification. -/ |
| 90 | structure AdelicUnitaryModel where |
| 91 | classEmbedding : CF →ₜ* CE |
| 92 | quadraticCharacter : CF →ₜ* Circle |
| 93 | projection : MpA →* SpA |
| 94 | dualPairAction : UA →* SpA |
| 95 | includeU : ∀ v, Uv v →* UA |
| 96 | includeMp : ∀ v, Mpv v →* MpA |
| 97 | rationalU : UQ →* UA |
| 98 | rationalDualPairAction : UQ →* SpQ |
| 99 | rationalSymplecticSplitting : SpQ →* MpA |
| 100 | |
| 101 | abbrev CircleModel := AdelicUnitaryModel |
| 102 | (CF := PUnit.{1}) (CE := PUnit.{1}) (UQ := Circle) (SpQ := Circle) |
| 103 | (UA := Circle) (SpA := Circle) (MpA := Circle × Circle) |
| 104 | (Uv := fun _ : Unit => Circle) (Mpv := fun _ : Unit => Circle × Circle) |
| 105 | |
| 106 | def counterexampleModel : CircleModel where |
| 107 | classEmbedding := ContinuousMonoidHom.id PUnit.{1} |
| 108 | quadraticCharacter := 1 |
| 109 | projection := MonoidHom.fst Circle Circle |
| 110 | dualPairAction := MonoidHom.id Circle |
| 111 | includeU := fun _ => MonoidHom.id Circle |
| 112 | includeMp := fun _ => MonoidHom.id (Circle × Circle) |
| 113 | rationalU := MonoidHom.id Circle |
| 114 | rationalDualPairAction := MonoidHom.id Circle |
| 115 | rationalSymplecticSplitting := |
| 116 | (MonoidHom.id Circle).prod (MonoidHom.id Circle) |
| 117 | |
| 118 | def counterexampleLocal : ∀ _ : Unit, Circle →ₜ* Circle × Circle := |
| 119 | fun _ => (ContinuousMonoidHom.id Circle).prod 1 |
| 120 | |
| 121 | /-- The full conclusion in AdelicSplitting, with its specified maps. -/ |
| 122 | def HasRequiredSplitting (D : CircleModel) |
| 123 | (s : ∀ _ : Unit, Circle →ₜ* Circle × Circle) : Prop := |
| 124 | ∃ S : Circle →ₜ* Circle × Circle, |
| 125 | (∀ u, D.projection (S u) = D.dualPairAction u) ∧ |
| 126 | (∀ v u, S (D.includeU v u) = D.includeMp v (s v u)) ∧ |
| 127 | (∀ γ : Circle, S (D.rationalU γ) = |
| 128 | D.rationalSymplecticSplitting (D.rationalDualPairAction γ)) |
| 129 | |
| 130 | theorem local_covering : ∀ v u, |
| 131 | counterexampleModel.projection |
| 132 | (counterexampleModel.includeMp v (counterexampleLocal v u)) = |
| 133 | counterexampleModel.dualPairAction (counterexampleModel.includeU v u) := by |
| 134 | intro v u |
| 135 | rfl |
| 136 | |
| 137 | /-- The rational symplectic map really is a section of the projection. -/ |
| 138 | theorem rational_section_covers (g : Circle) : |
| 139 | counterexampleModel.projection |
| 140 | (counterexampleModel.rationalSymplecticSplitting g) = g := by |
| 141 | rfl |
| 142 | |
| 143 | theorem rational_embedding_injective : |
| 144 | Function.Injective counterexampleModel.rationalU := by |
| 145 | intro a b h |
| 146 | exact h |
| 147 | |
| 148 | theorem local_embeddings_injective (v : Unit) : |
| 149 | Function.Injective (counterexampleModel.includeU v) ∧ |
| 150 | Function.Injective (counterexampleModel.includeMp v) := by |
| 151 | constructor <;> intro a b h <;> exact h |
| 152 | |
| 153 | theorem no_required_splitting : |
| 154 | ¬ HasRequiredSplitting counterexampleModel counterexampleLocal := by |
| 155 | rintro ⟨S, _, hFactor, hRational⟩ |
| 156 | have hLocal : S (-1) = (-1, 1) := hFactor () (-1) |
| 157 | have hGlobal : S (-1) = (-1, -1) := hRational (-1) |
| 158 | have h : (1 : Circle) = -1 := |
| 159 | congrArg Prod.snd (hLocal.symm.trans hGlobal) |
| 160 | have hComplex := congrArg (fun z : Circle => (z : ℂ)) h |
| 161 | norm_num at hComplex |
| 162 | |
| 163 | /-- An interpretation permitted by the bare predicate signature, specialized |
| 164 | to the groups above. This is not the intended mathematical definition. -/ |
| 165 | def IsStandardUnitaryDatum |
| 166 | {F : Type*} [Field F] [NumberField F] |
| 167 | (_E : Type*) [Field _E] [NumberField _E] [Algebra F _E] |
| 168 | (_D : CircleModel) (_n _m : ℕ) |
| 169 | (_ψ : AddChar (NumberField.AdeleRing (𝓞 F) F) ℂ) |
| 170 | (_χV _χW : PUnit.{1} →ₜ* Circle) |
| 171 | (_s : ∀ _ : Unit, Circle →ₜ* Circle × Circle) : Prop := True |
| 172 | |
| 173 | /-- Every hypothesis in the original theorem schema, with the displayed |
| 174 | interpretation of its undefined predicate and our chosen group types. -/ |
| 175 | def EncodedHypotheses |
| 176 | {F : Type*} [Field F] [NumberField F] |
| 177 | (E : Type*) [Field E] [NumberField E] [Algebra F E] |
| 178 | [FiniteDimensional F E] |
| 179 | (D : CircleModel) (n m : ℕ) |
| 180 | (ψ : AddChar (NumberField.AdeleRing (𝓞 F) F) ℂ) |
| 181 | (χV χW : PUnit.{1} →ₜ* Circle) |
| 182 | (s : ∀ _ : Unit, Circle →ₜ* Circle × Circle) : Prop := |
| 183 | Module.finrank F E = 2 ∧ |
| 184 | Continuous ψ ∧ |
| 185 | (∀ a, ‖ψ a‖ = 1) ∧ |
| 186 | (∃ a, ψ a ≠ 1) ∧ |
| 187 | (∀ a : F, |
| 188 | ψ (algebraMap F (NumberField.AdeleRing (𝓞 F) F) a) = 1) ∧ |
| 189 | (∀ a, χV (D.classEmbedding a) = D.quadraticCharacter a ^ n) ∧ |
| 190 | (∀ a, χW (D.classEmbedding a) = D.quadraticCharacter a ^ m) ∧ |
| 191 | IsStandardUnitaryDatum E D n m ψ χV χW s ∧ |
| 192 | (∀ v u, D.projection (D.includeMp v (s v u)) = |
| 193 | D.dualPairAction (D.includeU v u)) |
| 194 | |
| 195 | /-- For every arithmetic input allowed in AdelicSplitting, the unconstrained interface |
| 196 | admits a model satisfying all encoded hypotheses but not its conclusion. -/ |
| 197 | theorem countermodel_for_any_arithmetic_input |
| 198 | {F E : Type*} [Field F] [NumberField F] |
| 199 | [Field E] [NumberField E] [Algebra F E] |
| 200 | [FiniteDimensional F E] |
| 201 | (hQuadratic : Module.finrank F E = 2) |
| 202 | (n m : ℕ) |
| 203 | (ψ : AddChar (NumberField.AdeleRing (𝓞 F) F) ℂ) |
| 204 | (hψContinuous : Continuous ψ) |
| 205 | (hψUnitary : ∀ a, ‖ψ a‖ = 1) |
| 206 | (hψNontrivial : ∃ a, ψ a ≠ 1) |
| 207 | (hψRational : ∀ a : F, |
| 208 | ψ (algebraMap F (NumberField.AdeleRing (𝓞 F) F) a) = 1) : |
| 209 | EncodedHypotheses E counterexampleModel n m ψ 1 1 counterexampleLocal ∧ |
| 210 | ¬ HasRequiredSplitting counterexampleModel counterexampleLocal := by |
| 211 | refine ⟨?_, no_required_splitting⟩ |
| 212 | refine ⟨hQuadratic, hψContinuous, hψUnitary, hψNontrivial, |
| 213 | hψRational, ?_, ?_, trivial, local_covering⟩ |
| 214 | all_goals intro a; simp [counterexampleModel] |
| 215 | |
| 216 | end Specification |
| 217 | |
| 218 | /-- The full unconditional AdelicSplitting conclusion for the accepted corrected local normalization. -/ |
| 219 | theorem adelic_unitary_splitting_compatible_with_rational_points |
| 220 | (F : Type) [Field F] [NumberField F] |
| 221 | (d : F) (hQuadratic : d ≠ 0 ∧ ¬ IsSquare d) |
| 222 | (n m : ℕ) |
| 223 | (H : (Matrix (Fin n) (Fin n) (UnitaryBase.Construction.Quadratic F d))ˣ) |
| 224 | (K : (Matrix (Fin m) (Fin m) (UnitaryBase.Construction.Quadratic F d))ˣ) |
| 225 | (hHermitian : H.val.conjTranspose = H.val) |
| 226 | (hSkewHermitian : K.val.conjTranspose = -K.val) |
| 227 | (C : Characters.Construction.GlobalCharacters F d n m) |
| 228 | (P : Assembly.Construction.GlobalFrames F d n m H K) |
| 229 | (D : Assembly.Construction.NormalizedLocalSplittings F d n m H K hQuadratic.1 C P) : |
| 230 | (∀ g : Integral.Construction.AdelicDualPair F H.val K.val, |
| 231 | Vacuum.Construction.globalProjection F (n * m) C.ψ |
| 232 | (Assembly.Construction.constructedAdelicLift F d n m H K hQuadratic.1 C P D g) = |
| 233 | Assembly.Construction.adelicDualPairAction F d n m H K hQuadratic.1 C P D g) ∧ |
| 234 | (∀ v (g : Integral.Construction.LocalUnitary F H.val v × Integral.Construction.LocalUnitary F K.val v), |
| 235 | Assembly.Construction.constructedAdelicLift F d n m H K hQuadratic.1 C P D |
| 236 | (Integral.Construction.includeUnitaryPlace F H.val K.val v g) = |
| 237 | Vacuum.Construction.globalInclude F (n * m) C.ψ v (D.atPlace v g)) ∧ |
| 238 | ∃ r : Local.FunctionsMetaplectic.Construction.Symplectic F (n * m) →* Vacuum.Construction.GlobalCover F (n * m) C.ψ, |
| 239 | (∀ γ a, (γ, a) ∈ Rational.Construction.rationalGraph F (n * m) C.ψ ↔ r γ = a) ∧ |
| 240 | (∀ γ, Vacuum.Construction.globalProjection F (n * m) C.ψ (r γ) = |
| 241 | Vacuum.Construction.rationalSymplectic F (n * m) γ) ∧ |
| 242 | (∀ g : UnitaryBase.Construction.Unitary H.val × UnitaryBase.Construction.Unitary K.val, |
| 243 | Assembly.Construction.constructedAdelicLift F d n m H K hQuadratic.1 C P D |
| 244 | (Integral.Construction.rationalPair F H.val K.val g) = |
| 245 | r (TensorSpace.Construction.dualPairSymplectic H.val K.val P.rational g)) := by |
| 246 | by_cases hN : n * m = 0 |
| 247 | · exact ZeroRankCompatibility.Construction.adelic_unitary_splitting_zero_rank F d hQuadratic.1 n m H K C P D hQuadratic.2 hN |
| 248 | · have hpos : 0 < n * m := Nat.pos_of_ne_zero hN |
| 249 | exact ⟨Assembly.Construction.constructedAdelicLift_covers F d n m H K hQuadratic.1 C P D, |
| 250 | Assembly.Construction.constructedAdelicLift_factors F d n m H K hQuadratic.1 C P D, |
| 251 | RationalCompatibility.Construction.normalized_rational_compatibility F d hQuadratic.1 n m hpos H K C P D |
| 252 | hQuadratic.2 hHermitian hSkewHermitian⟩ |
| 253 | |
| 254 | end |
| 255 | |
| 256 | end OAI.RepresentationTheory.Weil.AdelicSplitting.No |