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.AlgebraicGeometry.HilbertScheme.Presentations.TensorInjectivityExtensions |
| 2 | import Mathlib.Algebra.Module.Torsion.Basic |
| 3 | import Mathlib.RingTheory.Ideal.Quotient.Basic |
| 4 | import Mathlib.LinearAlgebra.Basis.VectorSpace |
| 5 | |
| 6 | /-! # Tensor Nilpotent Devissage -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.TensorNilpotentDevissage |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Injectivity after tensoring with a residue field implies injectivity |
| 13 | after tensoring with any module killed by a power of its maximal ideal. -/ |
| 14 | |
| 15 | open TensorProduct |
| 16 | |
| 17 | universe u v w z |
| 18 | variable {B : Type u} [CommRing B] |
| 19 | variable {K : Type v} [AddCommGroup K] [Module B K] |
| 20 | variable {F : Type w} [AddCommGroup F] [Module B F] |
| 21 | |
| 22 | theorem lTensor_injective_of_maximalIdeal_power (f : K →ₗ[B] F) [Module.Flat B F] |
| 23 | (m : Ideal B) [m.IsMaximal] (hm : Function.Injective (f.lTensor (B ⧸ m))) |
| 24 | (n : ℕ) : ∀ (N : Type z) [AddCommGroup N] [Module B N], |
| 25 | m ^ n • (⊤ : Submodule B N) = ⊥ → Function.Injective (f.lTensor N) := by |
| 26 | let : Field (B ⧸ m) := Ideal.Quotient.field m |
| 27 | induction n with |
| 28 | | zero => |
| 29 | intro N _ _ hn |
| 30 | have htop : (⊤ : Submodule B N) = ⊥ := by simpa using hn |
| 31 | have hz (x : N) : x = 0 := (Submodule.mem_bot B).mp (htop ▸ Submodule.mem_top) |
| 32 | let : Subsingleton N := ⟨fun x y => (hz x).trans (hz y).symm⟩ |
| 33 | exact fun _ _ _ => Subsingleton.elim _ _ |
| 34 | | succ n ih => |
| 35 | intro N _ _ hn |
| 36 | let P : Submodule B N := m • ⊤ |
| 37 | have hP : m ^ n • (⊤ : Submodule B P) = ⊥ := by |
| 38 | apply bot_unique |
| 39 | intro x hx |
| 40 | apply (Submodule.mem_bot B).mpr |
| 41 | apply Subtype.ext |
| 42 | have hv := (Submodule.mem_smul_top_iff (m ^ n) P x).mp hx |
| 43 | have he : m ^ n • P = ⊥ := by |
| 44 | dsimp [P] |
| 45 | rw [← Submodule.mul_smul, ← pow_succ] |
| 46 | exact hn |
| 47 | rw [he] at hv |
| 48 | exact (Submodule.mem_bot B).mp hv |
| 49 | have hQ : Function.Injective (f.lTensor (N ⧸ P)) := by |
| 50 | exact TensorInjectivityExtensions.lTensor_injective_of_flat_scalar_module (B ⧸ m) (N ⧸ P) f hm |
| 51 | exact TensorInjectivityExtensions.lTensor_injective_of_shortExact f P.subtype P.mkQ P.subtype_injective |
| 52 | (LinearMap.exact_subtype_mkQ P) P.mkQ_surjective (ih P hP) hQ |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.TensorNilpotentDevissage |