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.IntegralTraceTangentSpan |
| 2 | import OAI.NumberTheory.Quaternion.Arithmetic.ScalarExtensionProduct |
| 3 | import OAI.NumberTheory.Quaternion.Arithmetic.RegularMatrixEmbedding |
| 4 | |
| 5 | /-! # Trace Tangents Descent -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.Quaternion.Arithmetic.TraceTangentsDescent |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The auxiliary scalar-extension algebras can be eliminated: trace |
| 12 | spanning gives tangent directions in the original local matrix spaces. -/ |
| 13 | |
| 14 | open scoped Classical _root_.Matrix.Norms.Operator |
| 15 | open Set _root_.Topology |
| 16 | |
| 17 | variable {F E : Type} [Field F] [Field E] [CharZero E] [Algebra F E] |
| 18 | [FiniteDimensional F E] [IsGalois F E] {ι : Type*} [Fintype ι] [Nonempty ι] |
| 19 | {κ : Type*} [NontriviallyNormedField κ] [CompleteSpace κ] {K : ι → Type*} |
| 20 | [∀ i, NontriviallyNormedField (K i)] [∀ i, Algebra F (K i)] [∀ i, Algebra κ (K i)] |
| 21 | [∀ i, CompleteSpace (K i)] [∀ i, FiniteDimensional κ (K i)] [∀ i, ContinuousSMul κ (K i)] |
| 22 | {n : ℕ} |
| 23 | |
| 24 | theorem trace_span_mem_original_tangentSpan (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup F n) |
| 25 | (S : Matrix (Fin n) (Fin n) F) |
| 26 | (hspan : S ∈ Submodule.span F {Z | ∃ a : E, ∃ Y ∈ IntegralSemisimpleDirections.integralPolynomialDirections |
| 27 | (ArithmeticGroups.Lattices.BaseChange.Construction.matrixGroupBaseChange G (algebraMap F E)) (S.map (algebraMap F E)), |
| 28 | Z = GaloisTraceMatrix.fieldTraceMatrix (F := F) (a • Y)}) |
| 29 | (b : ∀ i, K i) |
| 30 | (hdense : DenseRange (fun r : F => fun i => algebraMap F (K i) r)) |
| 31 | (C : Set (∀ i, Matrix (Fin n) (Fin n) (K i))) (hC : IsClosed C) |
| 32 | (hrational : ∀ g : G.RationalPoints, |
| 33 | (fun i => (PolynomialGaloisNorm.matrixPointsHom G (RingHom.id F) g).map (algebraMap F (K i))) ∈ C) : |
| 34 | (fun i => b i • S.map (algebraMap F (K i))) ∈ Submodule.span κ (tangentConeAt κ C 1) := by |
| 35 | let A : ι → Type _ := fun i => LocalScalarExtensionModel.scalarExtensionModel F (K i) E |
| 36 | let : ∀ i, Algebra κ (A i) := fun i => LocalScalarExtensionModel.scalarExtensionModelScalarAlgebra F κ (K i) E |
| 37 | let : ∀ i, IsScalarTower κ (K i) (A i) := fun i => LocalScalarExtensionModel.scalarExtensionModelScalarTower F κ (K i) E |
| 38 | let : ∀ i, FiniteDimensional κ (A i) := fun i => LocalScalarExtensionModel.scalarExtensionModelScalarFinite F κ (K i) E |
| 39 | let : ∀ i, ContinuousSMul κ (A i) := fun i => LocalScalarExtensionModel.scalarExtensionModelScalarContinuous F κ (K i) E |
| 40 | let : ∀ i, IsTopologicalAddGroup (A i) := fun _ => inferInstance |
| 41 | let : ∀ i, IsTopologicalAddGroup (Matrix (Fin n) (Fin n) (A i)) := by |
| 42 | intro i |
| 43 | change IsTopologicalAddGroup (Fin n → Fin n → A i) |
| 44 | infer_instance |
| 45 | let e := ScalarExtensionProduct.scalarExtensionProductEmbedding F κ E K n |
| 46 | have he : IsClosedEmbedding e := ScalarExtensionProduct.scalarExtensionProductEmbedding_isClosedEmbedding F κ E K n |
| 47 | let D := e '' C |
| 48 | have hD : IsClosed D := he.isClosedMap C hC |
| 49 | have hrat : ∀ g : G.RationalPoints, |
| 50 | (fun i => (PolynomialGaloisNorm.matrixPointsHom G (RingHom.id F) g).map (algebraMap F (A i))) ∈ D := by |
| 51 | intro g |
| 52 | refine ⟨_, hrational g, ?_⟩ |
| 53 | simpa only [one_smul] using |
| 54 | ScalarExtensionProduct.scalarExtensionProductEmbedding_scaled F κ E K (PolynomialGaloisNorm.matrixPointsHom G (RingHom.id F) g) |
| 55 | (fun i => (1 : K i)) |
| 56 | have hs := IntegralTraceTangentSpan.integral_trace_span_local_multiples_mem_tangentSpan (K := K) (A := A) |
| 57 | G S hspan (fun i => LocalScalarExtensionModel.scalarExtensionCoefficients F (K i) E) b |
| 58 | (fun i => continuous_algebraMap κ (K i)) hdense D hD hrat |
| 59 | apply (RegularMatrixEmbedding.algebraHom_tangentSpan_image_mem_iff e he C _).mp |
| 60 | have hx := ScalarExtensionProduct.scalarExtensionProductEmbedding_scaled F κ E K S b |
| 61 | exact hx.symm ▸ hs |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.NumberTheory.Quaternion.Arithmetic.TraceTangentsDescent |