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.ArithmeticGroups.Lattices.Finite.TangentEquations |
| 2 | import OAI.NumberTheory.ArithmeticGroups.Lattices.MatrixFlatExtension |
| 3 | |
| 4 | /-! # Tangent Extension -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.Infinitesimal.TangentExtension.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! A finite system of matrix tangent equations commutes with scalar |
| 13 | extension, including its kernel. -/ |
| 14 | |
| 15 | open scoped Classical TensorProduct |
| 16 | |
| 17 | theorem tangentSystem_baseChange |
| 18 | {k K ι : Type} [Field k] [Field K] [Algebra k K] [Fintype ι] {n : ℕ} |
| 19 | (p : ι → Algebraic.CoordinatePolynomial n k) (x : K ⊗[k] Matrix (Fin n) (Fin n) k) : |
| 20 | TensorProduct.piScalarRight k K K ι ((Finite.TangentEquations.Construction.tangentSystem p).baseChange K x) = |
| 21 | Finite.TangentEquations.Construction.tangentSystem (fun i => MvPolynomial.map (algebraMap k K) (p i)) (MatrixFlatExtension.Construction.matrixScalarExtension n x) := by |
| 22 | induction x using TensorProduct.inductionOn with |
| 23 | | add x y hx hy => simp only [map_add, hx, hy] |
| 24 | | tmul a A => |
| 25 | rw [LinearMap.baseChange_tmul, TensorProduct.piScalarRight_apply, |
| 26 | TensorProduct.piScalarRightHom_tmul, MatrixFlatExtension.Construction.matrixScalarExtension_tmul, map_smul] |
| 27 | funext i |
| 28 | change Finite.TangentEquations.Construction.tangentFunctional (p i) A • a = |
| 29 | a • Finite.TangentEquations.Construction.tangentFunctional (MvPolynomial.map (algebraMap k K) (p i)) (A.map (algebraMap k K)) |
| 30 | have hc : Finite.TangentEquations.Construction.tangentFunctional (MvPolynomial.map (algebraMap k K) (p i)) |
| 31 | (A.map (algebraMap k K)) = algebraMap k K (Finite.TangentEquations.Construction.tangentFunctional (p i) A) := |
| 32 | CoefficientMap.Construction.tangent_coefficient_map _ A (p i) |
| 33 | rw [hc, Algebra.smul_def, smul_eq_mul, mul_comm] |
| 34 | |
| 35 | theorem tangentSystem_kernel_baseChange |
| 36 | {k K ι : Type} [Field k] [Field K] [Algebra k K] [Fintype ι] {n : ℕ} |
| 37 | (p : ι → Algebraic.CoordinatePolynomial n k) : |
| 38 | MatrixFlatExtension.Construction.matrixSubspaceExtension (K := K) (Finite.TangentEquations.Construction.tangentSystem p).ker = |
| 39 | (Finite.TangentEquations.Construction.tangentSystem (fun i => MvPolynomial.map (algebraMap k K) (p i))).ker := by |
| 40 | ext A |
| 41 | constructor |
| 42 | · rintro ⟨x, hx, rfl⟩ |
| 43 | rw [MatrixFlatExtension.Construction.submodule_baseChange_ker] at hx |
| 44 | change Finite.TangentEquations.Construction.tangentSystem _ (MatrixFlatExtension.Construction.matrixScalarExtension n x) = 0 |
| 45 | rw [← tangentSystem_baseChange] |
| 46 | exact map_eq_zero_iff _ (TensorProduct.piScalarRight k K K ι).injective |>.mpr hx |
| 47 | · intro hA |
| 48 | refine ⟨(MatrixFlatExtension.Construction.matrixScalarExtension n).symm A, ?_, (MatrixFlatExtension.Construction.matrixScalarExtension n).apply_symm_apply A⟩ |
| 49 | rw [MatrixFlatExtension.Construction.submodule_baseChange_ker] |
| 50 | change (Finite.TangentEquations.Construction.tangentSystem p).baseChange K ((MatrixFlatExtension.Construction.matrixScalarExtension n).symm A) = 0 |
| 51 | apply (TensorProduct.piScalarRight k K K ι).injective |
| 52 | rw [map_zero, tangentSystem_baseChange, LinearEquiv.apply_symm_apply] |
| 53 | exact hA |
| 54 | |
| 55 | end |
| 56 | |
| 57 | section |
| 58 | |
| 59 | /-! The Lie algebra of a geometrically connected characteristic-zero |
| 60 | matrix group is obtained by scalar extension of its original Lie algebra. -/ |
| 61 | |
| 62 | open scoped Classical TensorProduct |
| 63 | |
| 64 | attribute [local instance] LieRing.ofAssociativeRing |
| 65 | |
| 66 | theorem matrixGroupBaseChange_self |
| 67 | {k : Type} [Field k] {n : ℕ} (G : Algebraic.MatrixAlgebraicGroup k n) : |
| 68 | BaseChange.Construction.matrixGroupBaseChange G (algebraMap k k) = G := by |
| 69 | cases G |
| 70 | simp [BaseChange.Construction.matrixGroupBaseChange] |
| 71 | convert Set.image_id _ using 1 |
| 72 | congr 1 |
| 73 | funext p |
| 74 | exact MvPolynomial.map_id p |
| 75 | |
| 76 | theorem infinitesimalStabilizer_baseChange |
| 77 | {k K : Type} [Field k] [CharZero k] [Field K] [Algebra k K] {n : ℕ} |
| 78 | (G : Algebraic.MatrixAlgebraicGroup k n) (hG : G.IsGeometricallyConnected) : |
| 79 | MatrixFlatExtension.Construction.matrixSubspaceExtension (K := K) (Action.Construction.infinitesimalStabilizer G).toSubmodule = |
| 80 | (Action.Construction.infinitesimalStabilizer (BaseChange.Construction.matrixGroupBaseChange G (algebraMap k K))).toSubmodule := by |
| 81 | obtain ⟨ι, hι, p, hp⟩ := Finite.TangentEquations.Construction.exists_uniform_finite_tangent_system G hG |
| 82 | let : Fintype ι := hι |
| 83 | have hk : (Action.Construction.infinitesimalStabilizer G).toSubmodule = (Finite.TangentEquations.Construction.tangentSystem p).ker := by |
| 84 | have hh := hp k |
| 85 | rw [matrixGroupBaseChange_self] at hh |
| 86 | simpa only [Algebra.algebraMap_self, MvPolynomial.map_id] using hh |
| 87 | rw [hk, tangentSystem_kernel_baseChange, hp K] |
| 88 | |
| 89 | theorem infinitesimalStabilizer_eq_span_base |
| 90 | {k K : Type} [Field k] [CharZero k] [Field K] [Algebra k K] {n : ℕ} |
| 91 | (G : Algebraic.MatrixAlgebraicGroup k n) (hG : G.IsGeometricallyConnected) : |
| 92 | (Action.Construction.infinitesimalStabilizer (BaseChange.Construction.matrixGroupBaseChange G (algebraMap k K))).toSubmodule = |
| 93 | Submodule.span K ((fun A : Matrix (Fin n) (Fin n) k => A.map (algebraMap k K)) '' |
| 94 | (Action.Construction.infinitesimalStabilizer G : Set (Matrix (Fin n) (Fin n) k))) := by |
| 95 | rw [← infinitesimalStabilizer_baseChange G hG, MatrixFlatExtension.Construction.matrixSubspaceExtension_eq_span] |
| 96 | rfl |
| 97 | |
| 98 | end |
| 99 | |
| 100 | /-! Commutation with the entire Lie algebra persists under scalar extension. -/ |
| 101 | |
| 102 | open scoped Classical |
| 103 | |
| 104 | attribute [local instance] LieRing.ofAssociativeRing |
| 105 | |
| 106 | theorem infinitesimal_commuting_baseChange |
| 107 | {k K : Type} [Field k] [CharZero k] [Field K] [Algebra k K] {n : ℕ} |
| 108 | (G : Algebraic.MatrixAlgebraicGroup k n) (hG : G.IsGeometricallyConnected) |
| 109 | (C : Matrix (Fin n) (Fin n) k) |
| 110 | (hC : ∀ A ∈ Action.Construction.infinitesimalStabilizer G, A * C = C * A) |
| 111 | {A : Matrix (Fin n) (Fin n) K} |
| 112 | (hA : A ∈ Action.Construction.infinitesimalStabilizer (BaseChange.Construction.matrixGroupBaseChange G (algebraMap k K))) : |
| 113 | A * C.map (algebraMap k K) = C.map (algebraMap k K) * A := by |
| 114 | change A ∈ (Action.Construction.infinitesimalStabilizer (BaseChange.Construction.matrixGroupBaseChange G (algebraMap k K))).toSubmodule at hA |
| 115 | rw [infinitesimalStabilizer_eq_span_base G hG] at hA |
| 116 | induction hA using Submodule.span_induction with |
| 117 | | mem B hB => |
| 118 | obtain ⟨B, hB, rfl⟩ := hB |
| 119 | simpa only [map_mul, RingHom.mapMatrix_apply] using |
| 120 | congrArg (algebraMap k K).mapMatrix (hC B hB) |
| 121 | | zero => rw [Matrix.zero_mul, Matrix.mul_zero] |
| 122 | | add A B _ _ hA hB => rw [Matrix.add_mul, Matrix.mul_add, hA, hB] |
| 123 | | smul a A _ hA => rw [Matrix.smul_mul, Matrix.mul_smul, hA] |
| 124 | |
| 125 | end |
| 126 | |
| 127 | end OAI.NumberTheory.ArithmeticGroups.Lattices.Infinitesimal.TangentExtension.Construction |