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.AlgebraicGeometry.HodgeConjecture.CMExtraction.Quaternion.RealSplit |
| 2 | import OAI.NumberTheory.Quaternion.Arithmetic.StrongApproximation |
| 3 | import OAI.NumberTheory.Quaternion.Arithmetic.FiniteAdelicComparison |
| 4 | |
| 5 | /-! # Strong Approximation -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Quaternion.StrongApproximation |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Proved quaternion strong approximation with the noncompactness |
| 12 | condition derived from a positive real second coefficient. -/ |
| 13 | |
| 14 | open scoped Classical |
| 15 | |
| 16 | variable {F : Type} [Field F] [NumberField F] |
| 17 | |
| 18 | theorem quaternion_finite_strongApproximation_positive |
| 19 | (a b : F) (ha : a ≠ 0) (hb : b ≠ 0) |
| 20 | (v : NumberField.InfinitePlace F) |
| 21 | (e : NumberTheory.Quaternion.Arithmetic.LocalAdeles.Completion (Sum.inl v : NumberTheory.Quaternion.Arithmetic.LocalAdeles.Place F) ≃+* ℝ) (he : Continuous e) |
| 22 | (hpos : 0 < e (NumberTheory.Quaternion.Arithmetic.LocalAdeles.localEmbedding (Sum.inl v) b)) : |
| 23 | DenseRange (NumberTheory.Quaternion.Arithmetic.FiniteAdelicComparison.diagonalFiniteAdelic (NumberTheory.Quaternion.Arithmetic.MatrixGroup.quaternionNormOneMatrixGroup a b)) := by |
| 24 | let : CharZero (NumberTheory.Quaternion.Arithmetic.LocalAdeles.Completion (Sum.inl v : NumberTheory.Quaternion.Arithmetic.LocalAdeles.Place F)) := |
| 25 | charZero_of_injective_ringHom (NumberTheory.Quaternion.Arithmetic.LocalAdeles.localEmbedding (Sum.inl v : NumberTheory.Quaternion.Arithmetic.LocalAdeles.Place F)).injective |
| 26 | apply NumberTheory.Quaternion.Arithmetic.FiniteAdelicComparison.denseRange_diagonalFiniteAdelic_of_away |
| 27 | apply NumberTheory.Quaternion.Arithmetic.StrongApproximation.strongApproximation_quaternion a b ha hb NumberTheory.Quaternion.Arithmetic.FiniteAdelicComparison.allArchimedeanPlaces NumberTheory.Quaternion.Arithmetic.FiniteAdelicComparison.mem_allArchimedeanPlaces |
| 28 | exact ⟨Sum.inl v, NumberTheory.Quaternion.Arithmetic.FiniteAdelicComparison.mem_allArchimedeanPlaces v, |
| 29 | RealSplit.quaternionPoints_noncompact_of_positive_real a b (NumberTheory.Quaternion.Arithmetic.LocalAdeles.localEmbedding (Sum.inl v)) e he ha hb hpos⟩ |
| 30 | |
| 31 | end |
| 32 | |
| 33 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Quaternion.StrongApproximation |