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.RationalLieLocalTangents |
| 2 | import OAI.NumberTheory.Quaternion.Arithmetic.ProductLocalSpan |
| 3 | |
| 4 | /-! # Rational Local Tangent -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.Quaternion.Arithmetic.RationalLocalTangent |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Weak approximation on scalars implies that the tangent span of |
| 11 | the rational-point closure contains every local infinitesimal direction. -/ |
| 12 | |
| 13 | open scoped Classical _root_.Matrix.Norms.Operator |
| 14 | open Set |
| 15 | |
| 16 | attribute [local instance] LieRing.ofAssociativeRing |
| 17 | |
| 18 | theorem rational_closure_tangentSpan_contains_local_infinitesimals |
| 19 | {F : Type} [Field F] [CharZero F] {ι : Type*} [Fintype ι] [Nonempty ι] |
| 20 | {κ : Type*} [NontriviallyNormedField κ] [CompleteSpace κ] {K : ι → Type} |
| 21 | [∀ i, NontriviallyNormedField (K i)] [∀ i, Algebra F (K i)] [∀ i, Algebra κ (K i)] |
| 22 | [∀ i, CompleteSpace (K i)] [∀ i, FiniteDimensional κ (K i)] [∀ i, ContinuousSMul κ (K i)] |
| 23 | {n : ℕ} [Nonempty (Fin n)] |
| 24 | (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup F n) (hG : G.IsGeometricallyConnected) (hsemi : G.IsSemisimple) |
| 25 | (hdense : DenseRange (fun r : F => fun i => algebraMap F (K i) r)) |
| 26 | (C : Set (∀ i, Matrix (Fin n) (Fin n) (K i))) (hC : IsClosed C) |
| 27 | (hrational : ∀ g : G.RationalPoints, |
| 28 | (fun i => (PolynomialGaloisNorm.matrixPointsHom G (RingHom.id F) g).map (algebraMap F (K i))) ∈ C) |
| 29 | (X : ∀ i, Matrix (Fin n) (Fin n) (K i)) |
| 30 | (hX : ∀ i, X i ∈ ArithmeticGroups.Lattices.Infinitesimal.Action.Construction.infinitesimalStabilizer (ArithmeticGroups.Lattices.BaseChange.Construction.matrixGroupBaseChange G (algebraMap F (K i)))) : |
| 31 | X ∈ Submodule.span κ (tangentConeAt κ C 1) := by |
| 32 | let W := Submodule.span κ (tangentConeAt κ C 1) |
| 33 | let s := fun i => (fun S : Matrix (Fin n) (Fin n) F => S.map (algebraMap F (K i))) '' |
| 34 | (ArithmeticGroups.Lattices.Infinitesimal.Action.Construction.infinitesimalStabilizer G : Set (Matrix (Fin n) (Fin n) F)) |
| 35 | apply ProductLocalSpan.product_mem_of_local_spans (K := K) W s ?_ X ?_ |
| 36 | · rintro i _ ⟨S, hS, rfl⟩ c |
| 37 | have h := RationalLieLocalTangents.rational_infinitesimal_local_multiples_mem_tangentSpan |
| 38 | (κ := κ) (K := K) G hG hsemi S hS (Pi.single i c) hdense C hC hrational |
| 39 | have he : (fun j => Pi.single i c j • S.map (algebraMap F (K j))) = |
| 40 | LinearMap.single κ (fun j => Matrix (Fin n) (Fin n) (K j)) i |
| 41 | (c • S.map (algebraMap F (K i))) := by |
| 42 | funext j |
| 43 | by_cases hij : i = j |
| 44 | · subst j |
| 45 | simp only [Pi.single_eq_same, LinearMap.single_apply] |
| 46 | · simp [LinearMap.single_apply, hij] |
| 47 | exact he ▸ h |
| 48 | · intro i |
| 49 | have hi : X i ∈ (ArithmeticGroups.Lattices.Infinitesimal.Action.Construction.infinitesimalStabilizer |
| 50 | (ArithmeticGroups.Lattices.BaseChange.Construction.matrixGroupBaseChange G (algebraMap F (K i)))).toSubmodule := hX i |
| 51 | exact ArithmeticGroups.Lattices.Infinitesimal.TangentExtension.Construction.infinitesimalStabilizer_eq_span_base (K := K i) G hG ▸ hi |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.NumberTheory.Quaternion.Arithmetic.RationalLocalTangent |