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.NilpotentModuleDetection |
| 2 | import Mathlib.RingTheory.Flat.Equalizer |
| 3 | |
| 4 | /-! # Nilpotent Linear Map Lifting -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.NilpotentLinearMapLifting |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A map which is surjective modulo a nilpotent ideal is surjective. |
| 11 | If its target is flat, bijectivity modulo that ideal lifts as well. -/ |
| 12 | |
| 13 | open TensorProduct |
| 14 | |
| 15 | universe u v w |
| 16 | variable {R : Type u} [CommRing R] |
| 17 | variable {M : Type v} [AddCommGroup M] [Module R M] |
| 18 | variable {N : Type w} [AddCommGroup N] [Module R N] |
| 19 | |
| 20 | theorem nilpotent_surjective_of_reduction (I : Ideal R) (hI : IsNilpotent I) |
| 21 | (f : M →ₗ[R] N) (hf : Function.Surjective (f.lTensor (R ⧸ I))) : |
| 22 | Function.Surjective f := by |
| 23 | let Q := N ⧸ f.range |
| 24 | let q : N →ₗ[R] Q := f.range.mkQ |
| 25 | have hq : Function.Surjective q := f.range.mkQ_surjective |
| 26 | have hqf : q.comp f = 0 := by |
| 27 | ext x |
| 28 | exact (Submodule.Quotient.mk_eq_zero f.range).mpr ⟨x, rfl⟩ |
| 29 | have hz (z : (R ⧸ I) ⊗[R] Q) : z = 0 := by |
| 30 | obtain ⟨y, rfl⟩ := LinearMap.lTensor_surjective (R ⧸ I) hq z |
| 31 | obtain ⟨x, rfl⟩ := hf y |
| 32 | rw [← LinearMap.comp_apply, ← LinearMap.lTensor_comp, hqf, LinearMap.lTensor_zero, |
| 33 | LinearMap.zero_apply] |
| 34 | let : Subsingleton ((R ⧸ I) ⊗[R] Q) := ⟨fun x y => (hz x).trans (hz y).symm⟩ |
| 35 | let : Subsingleton Q := NilpotentModuleDetection.nilpotent_quotientTensor_subsingleton Q I hI |
| 36 | apply LinearMap.range_eq_top.mp |
| 37 | exact Submodule.Quotient.subsingleton_iff.mp inferInstance |
| 38 | |
| 39 | theorem nilpotent_bijective_of_reduction [Module.Flat R N] |
| 40 | (I : Ideal R) (hI : IsNilpotent I) (f : M →ₗ[R] N) |
| 41 | (hf : Function.Bijective (f.lTensor (R ⧸ I))) : Function.Bijective f := by |
| 42 | have hs := nilpotent_surjective_of_reduction I hI f hf.2 |
| 43 | have hi := LinearMap.lTensor_injective_of_exact_of_flat f hs f.ker.subtype |
| 44 | f.ker.subtype_injective (LinearMap.exact_subtype_ker_map f) (R ⧸ I) |
| 45 | have hz (z : (R ⧸ I) ⊗[R] f.ker) : z = 0 := by |
| 46 | apply hi |
| 47 | rw [map_zero] |
| 48 | apply hf.1 |
| 49 | rw [map_zero, ← LinearMap.comp_apply, ← LinearMap.lTensor_comp, |
| 50 | LinearMap.comp_ker_subtype, LinearMap.lTensor_zero, LinearMap.zero_apply] |
| 51 | let : Subsingleton ((R ⧸ I) ⊗[R] f.ker) := ⟨fun x y => (hz x).trans (hz y).symm⟩ |
| 52 | let : Subsingleton f.ker := NilpotentModuleDetection.nilpotent_quotientTensor_subsingleton f.ker I hI |
| 53 | refine ⟨(injective_iff_map_eq_zero f).mpr ?_, hs⟩ |
| 54 | intro x hx |
| 55 | exact congrArg Subtype.val (Subsingleton.elim (⟨x, hx⟩ : f.ker) 0) |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.NilpotentLinearMapLifting |