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 Mathlib.LinearAlgebra.Quotient.Basic |
| 2 | |
| 3 | /-! # Surjective Functional Kernel Comparison -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.SurjectiveFunctionalKernelComparison |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Two surjective scalar-valued linear functionals with the same |
| 10 | kernel differ by multiplication by a unit. The scalar is obtained by |
| 11 | evaluating any vector with value one under the first functional. -/ |
| 12 | universe u v |
| 13 | variable {R : Type u} [CommRing R] |
| 14 | variable {V : Type v} [AddCommGroup V] [Module R V] |
| 15 | |
| 16 | theorem linearFunctional_factor_of_kernel_le (f g : V →ₗ[R] R) |
| 17 | (hker : f.ker ≤ g.ker) (p : V) (hp : f p = 1) (x : V) : |
| 18 | g x = f x * g p := by |
| 19 | have hf : f (x - f x • p) = 0 := by |
| 20 | rw [map_sub, map_smul, hp] |
| 21 | simp only [smul_eq_mul, mul_one, sub_self] |
| 22 | have hg : g (x - f x • p) = 0 := hker hf |
| 23 | rw [map_sub, map_smul] at hg |
| 24 | exact sub_eq_zero.mp hg |
| 25 | |
| 26 | theorem linearFunctional_unitMultiple_of_equal_kernels |
| 27 | (f g : V →ₗ[R] R) (hf : Function.Surjective f) (hg : Function.Surjective g) |
| 28 | (hker : f.ker = g.ker) : ∃ a : Rˣ, ∀ x, g x = (a : R) * f x := by |
| 29 | obtain ⟨p, hp⟩ := hf 1 |
| 30 | obtain ⟨q, hq⟩ := hg 1 |
| 31 | have hprod : f q * g p = 1 := |
| 32 | (linearFunctional_factor_of_kernel_le f g hker.le p hp q).symm.trans hq |
| 33 | let a : Rˣ := ⟨g p, f q, (mul_comm _ _).trans hprod, hprod⟩ |
| 34 | refine ⟨a, fun x => ?_⟩ |
| 35 | exact (linearFunctional_factor_of_kernel_le f g hker.le p hp x).trans (mul_comm _ _) |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.SurjectiveFunctionalKernelComparison |