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.FiniteAdelicPolynomialValues |
| 2 | import OAI.NumberTheory.Quaternion.Arithmetic.LocalAdeles |
| 3 | import OAI.NumberTheory.Quaternion.Arithmetic.PolynomialGaloisNorm |
| 4 | |
| 5 | /-! # Finite Adelic Matrices -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.Quaternion.Arithmetic.FiniteAdelicMatrices |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Actual finite-adelic group points give invertible matrices over |
| 12 | the finite adele ring, and hence the full lattices used in reduction. -/ |
| 13 | |
| 14 | open scoped Classical _root_.NumberField RestrictedProduct |
| 15 | open IsDedekindDomain IsDedekindDomain.HeightOneSpectrum |
| 16 | |
| 17 | variable {F : Type} [Field F] [NumberField F] {n : ℕ} |
| 18 | |
| 19 | def scalarFiniteAdeleEvaluation (v : HeightOneSpectrum (𝓞 F)) : |
| 20 | ScalarApproximation.ScalarFiniteAdeles F →+* v.adicCompletion F := |
| 21 | RestrictedProduct.evalRingHom (fun w : HeightOneSpectrum (𝓞 F) => w.adicCompletion F) v |
| 22 | |
| 23 | abbrev FiniteAdelicGroupPoints (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup F n) := |
| 24 | Πʳ v : HeightOneSpectrum (𝓞 F), [LocalAdeles.LocalPoints G (.inr v), LocalAdeles.integralLocalSubgroup G (.inr v)] |
| 25 | |
| 26 | def finiteAdelicMatrix (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup F n) (g : FiniteAdelicGroupPoints G) : |
| 27 | Matrix (Fin n) (Fin n) (ScalarApproximation.ScalarFiniteAdeles F) := fun i j => |
| 28 | ⟨fun v => (g v).val i j, by |
| 29 | filter_upwards [g.property] with v hv |
| 30 | exact hv.1 i j⟩ |
| 31 | |
| 32 | theorem finiteAdelicMatrix_eval (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup F n) (g : FiniteAdelicGroupPoints G) |
| 33 | (v : HeightOneSpectrum (𝓞 F)) : |
| 34 | (scalarFiniteAdeleEvaluation v).mapMatrix (finiteAdelicMatrix G g) = |
| 35 | PolynomialGaloisNorm.matrixPointsHom G (LocalAdeles.localEmbedding (.inr v)) (g v) := rfl |
| 36 | |
| 37 | theorem finiteAdele_matrix_ext {A B : Matrix (Fin n) (Fin n) (ScalarApproximation.ScalarFiniteAdeles F)} |
| 38 | (h : ∀ v : HeightOneSpectrum (𝓞 F), |
| 39 | (scalarFiniteAdeleEvaluation v).mapMatrix A = (scalarFiniteAdeleEvaluation v).mapMatrix B) : A = B := by |
| 40 | apply Matrix.ext |
| 41 | intro i j |
| 42 | apply RestrictedProduct.ext |
| 43 | intro v |
| 44 | exact congrFun (congrFun (h v) i) j |
| 45 | |
| 46 | def finiteAdelicMatrixHom (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup F n) : |
| 47 | FiniteAdelicGroupPoints G →* Matrix (Fin n) (Fin n) (ScalarApproximation.ScalarFiniteAdeles F) where |
| 48 | toFun := finiteAdelicMatrix G |
| 49 | map_one' := by |
| 50 | apply finiteAdele_matrix_ext |
| 51 | intro v |
| 52 | rw [finiteAdelicMatrix_eval, map_one] |
| 53 | exact map_one (PolynomialGaloisNorm.matrixPointsHom G (LocalAdeles.localEmbedding (.inr v))) |
| 54 | map_mul' g h := by |
| 55 | apply finiteAdele_matrix_ext |
| 56 | intro v |
| 57 | rw [finiteAdelicMatrix_eval, map_mul, finiteAdelicMatrix_eval, finiteAdelicMatrix_eval] |
| 58 | exact map_mul (PolynomialGaloisNorm.matrixPointsHom G (LocalAdeles.localEmbedding (.inr v))) (g v) (h v) |
| 59 | |
| 60 | def finiteAdelicMatrixUnitHom (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup F n) : |
| 61 | FiniteAdelicGroupPoints G →* (Matrix (Fin n) (Fin n) (ScalarApproximation.ScalarFiniteAdeles F))ˣ := |
| 62 | (finiteAdelicMatrixHom G).toHomUnits |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.NumberTheory.Quaternion.Arithmetic.FiniteAdelicMatrices |