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.RepresentationTheory.Weil.AdelicSplitting.TensorSpace |
| 2 | import OAI.RepresentationTheory.Theta.Adelic.QuadraticIntegralCoefficients |
| 3 | |
| 4 | /-! # Integral Frame Coordinates -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Theta.Adelic.IntegralFrameCoordinates |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Finite coordinate criteria for a frame and its inverse to preserve |
| 11 | the integral tensor and phase lattices. -/ |
| 12 | |
| 13 | open scoped Classical |
| 14 | |
| 15 | open OAI.RepresentationTheory.Weil.AdelicSplitting.TensorSpace.Construction |
| 16 | |
| 17 | variable {k I J : Type*} [Field k] [Fintype I] [DecidableEq I] |
| 18 | variable [Fintype J] [DecidableEq J] (d : k) |
| 19 | |
| 20 | omit [Fintype J] [DecidableEq J] in |
| 21 | theorem quadratic_vector_expansion (x : I → Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic k d) : |
| 22 | x = (∑ i, (x i).re • Pi.single i (1 : Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic k d)) + |
| 23 | ∑ i, (x i).im • Pi.single i (Weil.AdelicSplitting.Integral.Construction.quadraticGenerator d) := by |
| 24 | funext j |
| 25 | apply QuadraticAlgebra.ext <;> |
| 26 | simp [Finset.sum_apply, Pi.smul_apply, Pi.single_apply, Weil.AdelicSplitting.Integral.Construction.quadraticGenerator, |
| 27 | QuadraticAlgebra.re_one, QuadraticAlgebra.im_one] |
| 28 | |
| 29 | omit [Fintype J] [DecidableEq J] in |
| 30 | theorem linear_coordinates_integral (S : Subring k) |
| 31 | (L : (I → Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic k d) →ₗ[k] (J → k)) |
| 32 | (hr : ∀ i j, L (Pi.single i 1) j ∈ S) |
| 33 | (hi : ∀ i j, L (Pi.single i (Weil.AdelicSplitting.Integral.Construction.quadraticGenerator d)) j ∈ S) |
| 34 | (x : I → Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic k d) (hx : ∀ i, (x i).re ∈ S ∧ (x i).im ∈ S) : |
| 35 | ∀ j, L x j ∈ S := by |
| 36 | have he := congrArg L (quadratic_vector_expansion d x) |
| 37 | simp only [map_add, map_sum, map_smul] at he |
| 38 | intro j |
| 39 | rw [he] |
| 40 | simp only [Pi.add_apply, Finset.sum_apply, Pi.smul_apply, smul_eq_mul] |
| 41 | exact S.add_mem (S.sum_mem fun i _ => S.mul_mem (hx i).1 (hr i j)) |
| 42 | (S.sum_mem fun i _ => S.mul_mem (hx i).2 (hi i j)) |
| 43 | |
| 44 | omit [Fintype I] [DecidableEq I] in |
| 45 | theorem inverse_coordinates_integral (S : Subring k) (T : Subring (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic k d)) |
| 46 | (hscalar : ∀ a ∈ S, algebraMap k (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic k d) a ∈ T) |
| 47 | (L : (J → k) →ₗ[k] (I → Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic k d)) |
| 48 | (hL : ∀ j i, L (Pi.single j 1) i ∈ T) |
| 49 | (x : J → k) (hx : ∀ j, x j ∈ S) : ∀ i, L x i ∈ T := by |
| 50 | have he : x = ∑ j, x j • Pi.single j (1 : k) := by |
| 51 | ext i |
| 52 | simp [Finset.sum_apply, Pi.smul_apply, Pi.single_apply] |
| 53 | have hmap := congrArg L he |
| 54 | simp only [map_sum, map_smul] at hmap |
| 55 | intro i |
| 56 | rw [hmap] |
| 57 | simp only [Finset.sum_apply, Pi.smul_apply] |
| 58 | apply T.sum_mem |
| 59 | intro j _ |
| 60 | rw [Algebra.smul_def] |
| 61 | exact T.mul_mem (hscalar (x j) (hx j)) (hL j i) |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.RepresentationTheory.Theta.Adelic.IntegralFrameCoordinates |