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.RegularMatrixEmbedding |
| 2 | import Mathlib.Analysis.Calculus.TangentCone.Pi |
| 3 | |
| 4 | /-! # Product Tangent Span -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.Quaternion.Arithmetic.ProductTangentSpan |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The tangent span of a finite product is the product of its factor |
| 11 | tangent spans, over one common scalar field. -/ |
| 12 | |
| 13 | open scoped Classical |
| 14 | open Set |
| 15 | |
| 16 | theorem tangentSpan_pi |
| 17 | {κ ι : Type*} [Field κ] [Fintype ι] {E : ι → Type*} |
| 18 | [∀ i, AddCommGroup (E i)] [∀ i, Module κ (E i)] |
| 19 | [∀ i, TopologicalSpace (E i)] [∀ i, ContinuousAdd (E i)] |
| 20 | [∀ i, ContinuousConstSMul κ (E i)] |
| 21 | (s : ∀ i, Set (E i)) (x : ∀ i, E i) (hx : ∀ i, x i ∈ closure (s i)) : |
| 22 | Submodule.span κ (tangentConeAt κ (Set.pi univ s) x) = |
| 23 | Submodule.pi univ (fun i => Submodule.span κ (tangentConeAt κ (s i) (x i))) := by |
| 24 | let W := Submodule.span κ (tangentConeAt κ (Set.pi univ s) x) |
| 25 | apply le_antisymm |
| 26 | · apply Submodule.span_le.mpr |
| 27 | intro y hy i _ |
| 28 | have ht := Arithmetic.TangentCone.continuousLinearMap_mapsTo_tangentCone (ContinuousLinearMap.proj i) |
| 29 | (Set.pi univ s) x hy |
| 30 | have hs : (ContinuousLinearMap.proj i : (∀ j, E j) →L[κ] E i) '' Set.pi univ s ⊆ s i := by |
| 31 | rintro z ⟨a, ha, rfl⟩ |
| 32 | exact ha i (mem_univ i) |
| 33 | exact Submodule.subset_span (tangentConeAt_mono hs ht) |
| 34 | · intro y hy |
| 35 | have hsingle (i : ι) : |
| 36 | Submodule.span κ (tangentConeAt κ (s i) (x i)) ≤ W.comap (LinearMap.single κ E i) := by |
| 37 | apply Submodule.span_le.mpr |
| 38 | intro z hz |
| 39 | exact Submodule.subset_span (mapsTo_tangentConeAt_pi (fun j _ => hx j) hz) |
| 40 | have hsum : (∑ i, Pi.single i (y i)) ∈ W := |
| 41 | W.sum_mem (fun i _ => hsingle i (hy i (mem_univ i))) |
| 42 | simpa only [LinearMap.sum_single_apply] using hsum |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.NumberTheory.Quaternion.Arithmetic.ProductTangentSpan |