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.SimultaneousNormClosure |
| 2 | import OAI.NumberTheory.Quaternion.Arithmetic.ProductCurveTangents |
| 3 | |
| 4 | /-! # Norm Trace Tangents -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.Quaternion.Arithmetic.NormTraceTangents |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Trace directions, with independent local scalar multiples, lie |
| 11 | in the tangent cone of any closed set containing the rational points. -/ |
| 12 | |
| 13 | open scoped Classical _root_.Matrix.Norms.Operator |
| 14 | open _root_.Matrix Set Filter _root_.Topology |
| 15 | |
| 16 | variable {F E : Type} [Field F] [Field E] [CharZero E] [Algebra F E] |
| 17 | [FiniteDimensional F E] [IsGalois F E] {ι : Type*} [Fintype ι] [Nonempty ι] |
| 18 | {κ : Type*} [NontriviallyNormedField κ] {K A : ι → Type*} |
| 19 | [∀ i, NontriviallyNormedField (K i)] [∀ i, Algebra F (K i)] [∀ i, Algebra κ (K i)] |
| 20 | [∀ i, NormedCommRing (A i)] [∀ i, Nontrivial (A i)] [∀ i, Algebra F (A i)] |
| 21 | [∀ i, Algebra κ (A i)] [∀ i, NormedAlgebra (K i) (A i)] |
| 22 | [∀ i, IsScalarTower F (K i) (A i)] [∀ i, IsScalarTower κ (K i) (A i)] |
| 23 | [∀ i, CompleteSpace (K i)] [∀ i, CompleteSpace (A i)] [∀ i, FiniteDimensional (K i) (A i)] |
| 24 | {n : ℕ} |
| 25 | |
| 26 | theorem norm_trace_local_multiples_mem_tangentCone (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup F n) |
| 27 | (S : Matrix (Fin n) (Fin n) F) (B : ArithmeticGroups.Lattices.Algebraic.SL n E) (m : Fin n → ℤ) |
| 28 | (hLie : MappedWeightCurves.integerWeightMatrix B m ∈ |
| 29 | ArithmeticGroups.Lattices.Infinitesimal.Action.Construction.infinitesimalStabilizer (ArithmeticGroups.Lattices.BaseChange.Construction.matrixGroupBaseChange G (algebraMap F E))) |
| 30 | (hpoly : ∀ u : Eˣ, ∃ p : Polynomial E, Polynomial.aeval (S.map (algebraMap F E)) p = |
| 31 | (B : Matrix (Fin n) (Fin n) E) * Matrix.diagonal (fun i => ((u ^ m i : Eˣ) : E)) * |
| 32 | ((B⁻¹ : ArithmeticGroups.Lattices.Algebraic.SL n E) : Matrix (Fin n) (Fin n) E)) |
| 33 | (f : ∀ i, E →ₐ[F] A i) (a : E) (b : ∀ i, K i) |
| 34 | (he : ∀ i, Continuous (algebraMap κ (K i))) |
| 35 | (hdense : DenseRange (fun r : F => fun i => algebraMap F (K i) r)) |
| 36 | (C : Set (∀ i, Matrix (Fin n) (Fin n) (A i))) (hC : IsClosed C) |
| 37 | (hrational : ∀ g : G.RationalPoints, |
| 38 | (fun i => (PolynomialGaloisNorm.matrixPointsHom G (RingHom.id F) g).map (algebraMap F (A i))) ∈ C) : |
| 39 | (fun i => b i • (GaloisTraceMatrix.fieldTraceMatrix (F := F) (a • MappedWeightCurves.integerWeightMatrix B m)).map |
| 40 | (algebraMap F (A i))) ∈ tangentConeAt κ C 1 := by |
| 41 | let q := fun i (t : K i) => LocalGaloisNormCurve.localGaloisNormCurve (f i) B a m (t * b i) |
| 42 | let y := fun i => b i • (GaloisTraceMatrix.fieldTraceMatrix (F := F) (a • MappedWeightCurves.integerWeightMatrix B m)).map |
| 43 | (algebraMap F (A i)) |
| 44 | have hq (i : ι) : HasDerivAt (q i) (y i) 0 := by |
| 45 | have h := (LocalGaloisNormCurve.localGaloisNormCurve_hasDerivAt (K := K i) (f i) B a m).scomp_of_eq 0 |
| 46 | ((hasDerivAt_id (0 : K i)).mul_const (b i)) (zero_mul (b i)).symm |
| 47 | simpa only [q, y, Function.comp_def, one_mul, id_eq] using! h |
| 48 | have hm := SimultaneousNormClosure.simultaneousNormCurve_eventually_mem_closed (K := K) G S B m hLie hpoly |
| 49 | f a hdense C hC hrational |
| 50 | have ht : Tendsto (fun t : ∀ i, K i => fun i => t i * b i) |
| 51 | (𝓝 (0 : ∀ i, K i)) (𝓝 0) := by |
| 52 | apply tendsto_pi_nhds.mpr |
| 53 | intro i |
| 54 | simpa only [Pi.zero_apply, zero_mul] using |
| 55 | ((continuous_apply i).continuousAt (x := (0 : ∀ i, K i))).tendsto.mul |
| 56 | (tendsto_const_nhds (x := b i)) |
| 57 | have hmem : ∀ᶠ t in 𝓝 (0 : ∀ i, K i), (fun i => q i (t i)) ∈ C := ht hm |
| 58 | have hc := ProductCurveTangents.product_curve_derivatives_mem_tangentCone he q y hq hmem |
| 59 | have hz : (fun i => q i 0) = 1 := by |
| 60 | funext i |
| 61 | simp only [q, zero_mul, LocalGaloisNormCurve.localGaloisNormCurve_zero, Pi.one_apply] |
| 62 | exact hz ▸ hc |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.NumberTheory.Quaternion.Arithmetic.NormTraceTangents |