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.MatrixScalarMap |
| 2 | import OAI.NumberTheory.Quaternion.Arithmetic.LocalModel |
| 3 | import OAI.NumberTheory.Quaternion.Arithmetic.Product |
| 4 | import OAI.NumberTheory.Quaternion.Arithmetic.ExceptionalApproximation |
| 5 | |
| 6 | /-! # Matrix Approximation -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.Quaternion.Arithmetic.MatrixApproximation |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Weak approximation and almost-all-place additive generation for |
| 13 | the actual polynomial quaternion matrix group used in Arithmetic. -/ |
| 14 | |
| 15 | open scoped Classical _root_.Quaternion _root_.NumberField |
| 16 | open IsDedekindDomain Filter |
| 17 | |
| 18 | variable {F : Type} [Field F] [NumberField F] {ι : Type*} [Fintype ι] |
| 19 | (v : ι → HeightOneSpectrum (𝓞 F)) (a b : F) |
| 20 | |
| 21 | omit [Fintype ι] in |
| 22 | theorem quaternionMatrix_diagonal_compat (q : (Norm.quaternionUnitNorm a b).ker) (i : ι) : |
| 23 | MatrixScalarMap.localQuaternionMatrixPointsHomeomorph F ((v i).adicCompletion F) a b |
| 24 | (LocalModel.quaternionNormOneDiagonal v a b q i) = |
| 25 | LocalAdeles.diagonalLocal (MatrixGroup.quaternionNormOneMatrixGroup a b) (.inr (v i)) |
| 26 | (MatrixGroup.quaternionMatrixPointsEquiv a b (RingHom.id F) q) := by |
| 27 | let ρ := algebraMap F ((v i).adicCompletion F) |
| 28 | apply PolynomialGaloisNorm.matrixPointsHom_injective (MatrixGroup.quaternionNormOneMatrixGroup a b) ρ |
| 29 | change MatrixQuaternionDet.quaternionRegularMatrix (ρ a) (ρ b) |
| 30 | ((LocalModel.localQuaternionModelEquiv F ((v i).adicCompletion F) a b).symm |
| 31 | (LocalModel.localQuaternionModelEquiv F ((v i).adicCompletion F) a b |
| 32 | (ConjugationQuaternion.quaternionCoefficientMap ρ a b q.val.val))) = (MatrixQuaternionDet.quaternionRegularMatrix a b q.val.val).map ρ |
| 33 | rw [AlgEquiv.symm_apply_apply] |
| 34 | exact (MatrixScalarMap.quaternionRegularMatrix_map ρ a b q.val.val).symm |
| 35 | |
| 36 | theorem denseRange_quaternionMatrix_finite_projection (hv : Function.Injective v) |
| 37 | (ha : a ≠ 0) (hb : b ≠ 0) : |
| 38 | DenseRange (Product.diagonalFiniteProduct (MatrixGroup.quaternionNormOneMatrixGroup a b) v) := by |
| 39 | let G := MatrixGroup.quaternionNormOneMatrixGroup a b |
| 40 | let E : (∀ i, (LocalModel.localQuaternionUnitNorm F ((v i).adicCompletion F) a b).ker) → |
| 41 | (∀ i, LocalAdeles.LocalPoints G (.inr (v i))) := |
| 42 | fun x i => MatrixScalarMap.localQuaternionMatrixPointsHomeomorph F ((v i).adicCompletion F) a b (x i) |
| 43 | have hE : Continuous E := continuous_pi fun i => |
| 44 | (MatrixScalarMap.localQuaternionMatrixPointsHomeomorph F ((v i).adicCompletion F) a b).continuous.comp (continuous_apply i) |
| 45 | have hs : Function.Surjective E := by |
| 46 | intro x |
| 47 | refine ⟨fun i => (MatrixScalarMap.localQuaternionMatrixPointsHomeomorph F ((v i).adicCompletion F) a b).symm (x i), ?_⟩ |
| 48 | funext i |
| 49 | exact (MatrixScalarMap.localQuaternionMatrixPointsHomeomorph F ((v i).adicCompletion F) a b).apply_symm_apply (x i) |
| 50 | have hd := hs.denseRange.comp (LocalModel.denseRange_quaternionNormOneDiagonal v a b hv ha hb) hE |
| 51 | apply hd.mono |
| 52 | rintro x ⟨q, rfl⟩ |
| 53 | refine ⟨MatrixGroup.quaternionMatrixPointsEquiv a b (RingHom.id F) q, ?_⟩ |
| 54 | funext i |
| 55 | exact (quaternionMatrix_diagonal_compat v a b q i).symm |
| 56 | |
| 57 | theorem eventually_quaternionMatrix_local_additive_generation (ha : a ≠ 0) (hb : b ≠ 0) : |
| 58 | ∀ᶠ w : HeightOneSpectrum (𝓞 F) in cofinite, |
| 59 | ExceptionalApproximation.localAdditiveGeneration (MatrixGroup.quaternionNormOneMatrixGroup a b) (.inr w) := by |
| 60 | filter_upwards [LocalGeneration.eventually_localQuaternion_additive_generation a b ha hb] with w hw |
| 61 | exact AdditiveGenerationTransport.additive_generation_of_mulEquiv (K := w.adicCompletion F) |
| 62 | (MatrixScalarMap.localQuaternionMatrixPointsEquiv F (w.adicCompletion F) a b) hw |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.NumberTheory.Quaternion.Arithmetic.MatrixApproximation |