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.RingTheory.Ideal.Operations |
| 2 | import Mathlib.LinearAlgebra.Quotient.Basic |
| 3 | |
| 4 | /-! # Split Kernel Augmentation -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.SplitKernelAugmentation |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A split kernel contained in an ideal multiple equals its own ideal multiple. -/ |
| 11 | |
| 12 | universe u v w |
| 13 | variable {R : Type u} [CommRing R] |
| 14 | variable {M : Type v} [AddCommGroup M] [Module R M] |
| 15 | variable {N : Type w} [AddCommGroup N] [Module R N] |
| 16 | |
| 17 | def splitKernelRetraction (p : M →ₗ[R] N) (s : N →ₗ[R] M) |
| 18 | (h : p.comp s = LinearMap.id) : M →ₗ[R] p.ker := |
| 19 | (LinearMap.id - s.comp p).codRestrict p.ker (by |
| 20 | intro x |
| 21 | change p (x - s (p x)) = 0 |
| 22 | rw [map_sub] |
| 23 | have hx := LinearMap.congr_fun h (p x) |
| 24 | change p (s (p x)) = p x at hx |
| 25 | rw [hx, sub_self]) |
| 26 | |
| 27 | theorem splitKernelRetraction_apply (p : M →ₗ[R] N) (s : N →ₗ[R] M) |
| 28 | (h : p.comp s = LinearMap.id) (x : p.ker) : splitKernelRetraction p s h x.val = x := by |
| 29 | apply Subtype.ext |
| 30 | change x.val - s (p x.val) = x.val |
| 31 | rw [x.property, map_zero, sub_zero] |
| 32 | |
| 33 | theorem splitKernel_le_ideal_smul_top (p : M →ₗ[R] N) (s : N →ₗ[R] M) |
| 34 | (h : p.comp s = LinearMap.id) (I : Ideal R) |
| 35 | (hker : p.ker ≤ I • ⊤) : (⊤ : Submodule R p.ker) ≤ I • ⊤ := by |
| 36 | intro x _ |
| 37 | have hx := Submodule.smul_top_le_comap_smul_top I (splitKernelRetraction p s h) |
| 38 | (hker x.property) |
| 39 | change splitKernelRetraction p s h x.val ∈ I • (⊤ : Submodule R p.ker) at hx |
| 40 | rwa [splitKernelRetraction_apply] at hx |
| 41 | |
| 42 | theorem finsupp_mem_ideal_smul_top {ι : Type*} (I : Ideal R) (x : ι →₀ R) |
| 43 | (hx : ∀ i, x i ∈ I) : x ∈ I • (⊤ : Submodule R (ι →₀ R)) := by |
| 44 | classical |
| 45 | rw [← x.sum_single] |
| 46 | apply Submodule.sum_mem |
| 47 | intro i _ |
| 48 | rw [← Finsupp.smul_single_one] |
| 49 | exact Submodule.smul_mem_smul (hx i) (by trivial) |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.SplitKernelAugmentation |