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.GaloisNorm |
| 2 | import Mathlib.Algebra.Polynomial.AlgebraMap |
| 3 | |
| 4 | /-! # Polynomial Galois Norm -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.Quaternion.Arithmetic.PolynomialGaloisNorm |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Points polynomial in one base-field matrix have commuting Galois |
| 11 | conjugates, so their Galois norms descend to rational group points. -/ |
| 12 | |
| 13 | open scoped Classical |
| 14 | open _root_.Matrix |
| 15 | |
| 16 | variable {F K : Type} [Field F] [Field K] {n : ℕ} |
| 17 | |
| 18 | def matrixPointsHom (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup F n) (ι : F →+* K) : |
| 19 | G.Points ι →* Matrix (Fin n) (Fin n) K where |
| 20 | toFun g := g.val.val |
| 21 | map_one' := rfl |
| 22 | map_mul' _ _ := rfl |
| 23 | |
| 24 | theorem matrixPointsHom_injective (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup F n) (ι : F →+* K) : |
| 25 | Function.Injective (matrixPointsHom G ι) := by |
| 26 | intro a b hab |
| 27 | apply Subtype.ext |
| 28 | exact Subtype.ext hab |
| 29 | |
| 30 | theorem aeval_matrix_coefficientMap (ι : F →+* K) |
| 31 | (A : Matrix (Fin n) (Fin n) F) (p : Polynomial F) : |
| 32 | (Polynomial.aeval A p).map ι = Polynomial.aeval (A.map ι) (p.map ι) := by |
| 33 | apply Polynomial.map_aeval_eq_aeval_map |
| 34 | (ψ := (ι.mapMatrix : Matrix (Fin n) (Fin n) F →+* Matrix (Fin n) (Fin n) K)) (φ := ι) |
| 35 | ext c i j : 2 |
| 36 | simp [Matrix.algebraMap_matrix_apply, Matrix.map_apply, apply_ite ι] |
| 37 | |
| 38 | variable [Algebra F K] |
| 39 | |
| 40 | theorem galois_point_polynomial_image (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup F n) |
| 41 | (S : Matrix (Fin n) (Fin n) F) (g : G.Points (algebraMap F K)) (p : Polynomial K) |
| 42 | (hp : Polynomial.aeval (S.map (algebraMap F K)) p = matrixPointsHom G (algebraMap F K) g) |
| 43 | (σ : K ≃ₐ[F] K) : |
| 44 | matrixPointsHom G (algebraMap F K) (GaloisPoints.galoisPointsHom G σ g) = |
| 45 | Polynomial.aeval (S.map (algebraMap F K)) (p.map σ.toRingHom) := by |
| 46 | have hS : (S.map (algebraMap F K)).map σ = S.map (algebraMap F K) := by |
| 47 | ext i j |
| 48 | exact σ.commutes (S i j) |
| 49 | calc |
| 50 | matrixPointsHom G (algebraMap F K) (GaloisPoints.galoisPointsHom G σ g) = |
| 51 | (matrixPointsHom G (algebraMap F K) g).map σ := rfl |
| 52 | _ = (Polynomial.aeval (S.map (algebraMap F K)) p).map σ := congrArg (fun M => M.map σ) hp.symm |
| 53 | _ = Polynomial.aeval ((S.map (algebraMap F K)).map σ) (p.map σ.toRingHom) := |
| 54 | aeval_matrix_coefficientMap σ.toRingHom (S.map (algebraMap F K)) p |
| 55 | _ = Polynomial.aeval (S.map (algebraMap F K)) (p.map σ.toRingHom) := |
| 56 | congrArg (fun M => Polynomial.aeval M (p.map σ.toRingHom)) hS |
| 57 | |
| 58 | theorem galois_orbit_commute_of_polynomial (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup F n) |
| 59 | (S : Matrix (Fin n) (Fin n) F) (g : G.Points (algebraMap F K)) (p : Polynomial K) |
| 60 | (hp : Polynomial.aeval (S.map (algebraMap F K)) p = matrixPointsHom G (algebraMap F K) g) : |
| 61 | ∀ σ τ : K ≃ₐ[F] K, Commute (GaloisPoints.galoisPointsHom G σ g) (GaloisPoints.galoisPointsHom G τ g) := by |
| 62 | intro σ τ |
| 63 | apply Commute.of_map (matrixPointsHom_injective G (algebraMap F K)) |
| 64 | rw [galois_point_polynomial_image G S g p hp σ, galois_point_polynomial_image G S g p hp τ] |
| 65 | exact (Commute.all (p.map σ.toRingHom) (p.map τ.toRingHom)).map |
| 66 | (Polynomial.aeval (S.map (algebraMap F K))) |
| 67 | |
| 68 | theorem polynomial_galois_norm_descends [FiniteDimensional F K] [IsGalois F K] |
| 69 | (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup F n) (S : Matrix (Fin n) (Fin n) F) |
| 70 | (g : G.Points (algebraMap F K)) (p : Polynomial K) |
| 71 | (hp : Polynomial.aeval (S.map (algebraMap F K)) p = matrixPointsHom G (algebraMap F K) g) : |
| 72 | ∃ a : G.RationalPoints, G.map (RingHom.id F) (algebraMap F K) a = |
| 73 | GaloisNorm.galoisPointNorm G g (galois_orbit_commute_of_polynomial G S g p hp) := |
| 74 | GaloisNorm.galoisPointNorm_descends G g _ |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.NumberTheory.Quaternion.Arithmetic.PolynomialGaloisNorm |