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.NormTraceTangents |
| 2 | import OAI.NumberTheory.Quaternion.Arithmetic.LocalScalarSpan |
| 3 | import OAI.NumberTheory.Quaternion.Arithmetic.IntegralSemisimpleDirections |
| 4 | |
| 5 | /-! # Integral Trace Tangent Span -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.Quaternion.Arithmetic.IntegralTraceTangentSpan |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The algebraic trace span is contained in the analytic tangent |
| 12 | span, including independent scalar multiples at each selected place. -/ |
| 13 | |
| 14 | open scoped Classical _root_.Matrix.Norms.Operator |
| 15 | open _root_.Matrix Set |
| 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 κ] {K A : ι → Type*} |
| 20 | [∀ i, NontriviallyNormedField (K i)] [∀ i, Algebra F (K i)] [∀ i, Algebra κ (K i)] |
| 21 | [∀ i, NormedCommRing (A i)] [∀ i, Nontrivial (A i)] [∀ i, Algebra F (A i)] |
| 22 | [∀ i, Algebra κ (A i)] [∀ i, NormedAlgebra (K i) (A i)] |
| 23 | [∀ i, IsScalarTower F (K i) (A i)] [∀ i, IsScalarTower κ (K i) (A i)] |
| 24 | [∀ i, CompleteSpace (K i)] [∀ i, CompleteSpace (A i)] [∀ i, FiniteDimensional (K i) (A i)] |
| 25 | {n : ℕ} |
| 26 | |
| 27 | theorem integral_trace_span_local_multiples_mem_tangentSpan (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup F n) |
| 28 | (S : Matrix (Fin n) (Fin n) F) |
| 29 | (hspan : S ∈ Submodule.span F {Z | ∃ a : E, ∃ Y ∈ IntegralSemisimpleDirections.integralPolynomialDirections |
| 30 | (ArithmeticGroups.Lattices.BaseChange.Construction.matrixGroupBaseChange G (algebraMap F E)) (S.map (algebraMap F E)), |
| 31 | Z = GaloisTraceMatrix.fieldTraceMatrix (F := F) (a • Y)}) |
| 32 | (f : ∀ i, E →ₐ[F] A i) (b : ∀ i, K i) |
| 33 | (he : ∀ i, Continuous (algebraMap κ (K i))) |
| 34 | (hdense : DenseRange (fun r : F => fun i => algebraMap F (K i) r)) |
| 35 | (C : Set (∀ i, Matrix (Fin n) (Fin n) (A i))) (hC : IsClosed C) |
| 36 | (hrational : ∀ g : G.RationalPoints, |
| 37 | (fun i => (PolynomialGaloisNorm.matrixPointsHom G (RingHom.id F) g).map (algebraMap F (A i))) ∈ C) : |
| 38 | LocalScalarSpan.locallyScaledMatrix (A := A) S b ∈ Submodule.span κ (tangentConeAt κ C 1) := by |
| 39 | apply LocalScalarSpan.locallyScaledMatrix_mem_of_span (Submodule.span κ (tangentConeAt κ C 1)) _ ?_ hspan b |
| 40 | rintro Z ⟨a, Y, hY, rfl⟩ c |
| 41 | obtain ⟨B, m, rfl, hLie, hpoly⟩ := hY |
| 42 | exact Submodule.subset_span (NormTraceTangents.norm_trace_local_multiples_mem_tangentCone |
| 43 | G S B m hLie hpoly f a c he hdense C hC hrational) |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.NumberTheory.Quaternion.Arithmetic.IntegralTraceTangentSpan |