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.Quaternion.Arithmetic.SplitGroup |
| 2 | import OAI.NumberTheory.Quaternion.Arithmetic.LocalModel |
| 3 | import OAI.NumberTheory.Quaternion.Arithmetic.AlmostAllNorm |
| 4 | import OAI.NumberTheory.Quaternion.Arithmetic.AdditiveGenerationTransport |
| 5 | |
| 6 | /-! # Local Generation -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.Quaternion.Arithmetic.LocalGeneration |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Outside finitely many finite places, the concrete local |
| 13 | quaternion norm-one groups are generated by additive parameters. -/ |
| 14 | |
| 15 | open scoped Classical _root_.Quaternion _root_.NumberField |
| 16 | open IsDedekindDomain Filter |
| 17 | |
| 18 | variable (F K : Type*) [Field F] [NontriviallyNormedField K] [Algebra F K] (a b : F) |
| 19 | |
| 20 | def localQuaternionNormOneEquiv : |
| 21 | (Norm.quaternionUnitNorm (algebraMap F K a) (algebraMap F K b)).ker ≃* |
| 22 | (LocalModel.localQuaternionUnitNorm F K a b).ker := |
| 23 | AdditiveGenerationTransport.characterKernelEquiv (Units.mapEquiv (LocalModel.localQuaternionModelEquiv F K a b).toMulEquiv) |
| 24 | (Norm.quaternionUnitNorm (algebraMap F K a) (algebraMap F K b)) (LocalModel.localQuaternionUnitNorm F K a b) |
| 25 | (by |
| 26 | intro q |
| 27 | apply Units.ext |
| 28 | change Norm.quaternionNorm (algebraMap F K a) (algebraMap F K b) |
| 29 | ((LocalModel.localQuaternionModelEquiv F K a b).symm (LocalModel.localQuaternionModelEquiv F K a b q.val)) = _ |
| 30 | rw [AlgEquiv.symm_apply_apply] |
| 31 | rfl) |
| 32 | |
| 33 | theorem localQuaternion_additive_generation_of_norm_equation [CharZero K] |
| 34 | (ha : a ≠ 0) (hb : b ≠ 0) (x y : K) |
| 35 | (h : x ^ 2 - algebraMap F K a * y ^ 2 = algebraMap F K b) : |
| 36 | Subgroup.closure (FiniteIndex.additiveParameterElements (K := K) (G := (LocalModel.localQuaternionUnitNorm F K a b).ker)) = ⊤ := |
| 37 | AdditiveGenerationTransport.additive_generation_of_mulEquiv (localQuaternionNormOneEquiv F K a b) |
| 38 | (SplitGroup.quaternionNormOne_additive_generation (algebraMap F K a) (algebraMap F K b) x y |
| 39 | ((map_ne_zero (algebraMap F K)).mpr ha) ((map_ne_zero (algebraMap F K)).mpr hb) h) |
| 40 | |
| 41 | variable {F K a b} |
| 42 | |
| 43 | theorem eventually_localQuaternion_additive_generation {F : Type} [Field F] [NumberField F] |
| 44 | (a b : F) (ha : a ≠ 0) (hb : b ≠ 0) : |
| 45 | ∀ᶠ v : HeightOneSpectrum (𝓞 F) in cofinite, |
| 46 | Subgroup.closure (FiniteIndex.additiveParameterElements (K := v.adicCompletion F) |
| 47 | (G := (LocalModel.localQuaternionUnitNorm F (v.adicCompletion F) a b).ker)) = ⊤ := by |
| 48 | filter_upwards [AlmostAllNorm.eventually_quaternion_splitting_norm_equation a b ha hb] with v hv |
| 49 | obtain ⟨x, y, hxy⟩ := hv |
| 50 | let : CharZero (v.adicCompletion F) := |
| 51 | charZero_of_injective_ringHom (algebraMap F (v.adicCompletion F)).injective |
| 52 | exact localQuaternion_additive_generation_of_norm_equation F (v.adicCompletion F) a b ha hb x y hxy |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.NumberTheory.Quaternion.Arithmetic.LocalGeneration |