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.NoncommutativeLocalModel |
| 2 | import OAI.NumberTheory.Quaternion.Arithmetic.FiniteAlgebraApproximation |
| 3 | import OAI.NumberTheory.Quaternion.Arithmetic.LocalCompletion |
| 4 | |
| 5 | /-! # Local Algebra Units Density -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.Quaternion.Arithmetic.LocalAlgebraUnitsDensity |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Unconditional finite-place weak approximation for the units of |
| 12 | any finite-dimensional number-field algebra, in concrete local models. -/ |
| 13 | |
| 14 | open scoped Classical _root_.NumberField |
| 15 | open IsDedekindDomain |
| 16 | |
| 17 | variable {F : Type} [Field F] [NumberField F] |
| 18 | {ι : Type*} [Fintype ι] (v : ι → HeightOneSpectrum (𝓞 F)) |
| 19 | (D : Type*) [Ring D] [Algebra F D] [FiniteDimensional F D] |
| 20 | |
| 21 | def localFiniteAlgebraUnitMap (i : ι) : Dˣ →* (NoncommutativeLocalModel.localFiniteAlgebra ((v i).adicCompletion F) F D)ˣ := |
| 22 | Units.map (NoncommutativeLocalModel.localFiniteAlgebraCoefficients ((v i).adicCompletion F) F D).toMonoidHom |
| 23 | |
| 24 | def finiteCompletionUnitMap (i : ι) : Fˣ →* ((v i).adicCompletion F)ˣ := |
| 25 | Units.map (algebraMap F ((v i).adicCompletion F)).toMonoidHom |
| 26 | |
| 27 | theorem denseRange_localFiniteAlgebraCoefficients (hv : Function.Injective v) : |
| 28 | DenseRange (fun a : D => fun i => NoncommutativeLocalModel.localFiniteAlgebraCoefficients ((v i).adicCompletion F) F D a) := by |
| 29 | let b := Module.finBasis F D |
| 30 | exact FiniteAlgebraApproximation.denseRange_finiteAlgebraDiagonal_of_bases v hv |
| 31 | (fun i => NoncommutativeLocalModel.localFiniteAlgebraCoefficients ((v i).adicCompletion F) F D) b |
| 32 | (fun i => NoncommutativeLocalModel.localFiniteAlgebraBasis ((v i).adicCompletion F) F D b) |
| 33 | (fun i j => NoncommutativeLocalModel.localFiniteAlgebraBasis_apply ((v i).adicCompletion F) F D b j) |
| 34 | |
| 35 | theorem denseRange_localFiniteAlgebraUnits (hv : Function.Injective v) : |
| 36 | DenseRange (UnitsWeakApproximation.unitsPiDiagonal (fun i => |
| 37 | (NoncommutativeLocalModel.localFiniteAlgebraCoefficients ((v i).adicCompletion F) F D).toRingHom)) := |
| 38 | UnitsWeakApproximation.denseRange_unitsPiDiagonal (F := F) _ |
| 39 | (fun i => NoncommutativeLocalModel.localFiniteAlgebraCoefficients_injective ((v i).adicCompletion F) F D) |
| 40 | (denseRange_localFiniteAlgebraCoefficients v D hv) |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.NumberTheory.Quaternion.Arithmetic.LocalAlgebraUnitsDensity |