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.TensorNilpotentDevissage |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.FlatKernelProd |
| 3 | import Mathlib.RingTheory.Flat.Stability |
| 4 | |
| 5 | /-! # Nilpotent Cech Constants -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.NilpotentCechConstants.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A split augmented complex over a nilpotent thickening of a field |
| 12 | has only constant degree-zero cycles when this is true on its residue |
| 13 | field and its degree-one module is flat. No finite-generation premise |
| 14 | on its degree-zero module is needed. -/ |
| 15 | |
| 16 | open TensorProduct |
| 17 | |
| 18 | universe u v w |
| 19 | variable {R : Type u} [CommRing R] |
| 20 | {M : Type v} [AddCommGroup M] [Module R M] |
| 21 | {N : Type w} [AddCommGroup N] [Module R N] |
| 22 | |
| 23 | theorem injective_of_nilpotent_residue_injective [Module.Flat R N] |
| 24 | (I : Ideal R) [I.IsMaximal] (hI : IsNilpotent I) (b : M →ₗ[R] N) |
| 25 | (hb : Function.Injective (b.lTensor (R ⧸ I))) : Function.Injective b := by |
| 26 | obtain ⟨n, hn⟩ := hI |
| 27 | have hR : Function.Injective (b.lTensor R) := |
| 28 | HilbertScheme.Presentations.TensorNilpotentDevissage.lTensor_injective_of_maximalIdeal_power b I hb n R |
| 29 | (by rw [hn, Ideal.zero_eq_bot, Submodule.bot_smul]) |
| 30 | intro x y hxy |
| 31 | have h := hR (show b.lTensor R (1 ⊗ₜ[R] x) = b.lTensor R (1 ⊗ₜ[R] y) by |
| 32 | simp only [LinearMap.lTensor_tmul, hxy]) |
| 33 | simpa only [TensorProduct.lid_tmul, one_smul] using congrArg (TensorProduct.lid R M) h |
| 34 | |
| 35 | theorem split_augmentation_residue_detector_injective |
| 36 | (I : Ideal R) (a : R →ₗ[R] M) (e : M →ₗ[R] R) (d : M →ₗ[R] N) |
| 37 | (hea : e.comp a = LinearMap.id) |
| 38 | (hres : Function.Exact (a.lTensor (R ⧸ I)) (d.lTensor (R ⧸ I))) : |
| 39 | Function.Injective ((e.prod d).lTensor (R ⧸ I)) := by |
| 40 | apply (injective_iff_map_eq_zero _).mpr |
| 41 | intro x hx |
| 42 | have he : e.lTensor (R ⧸ I) x = 0 := by |
| 43 | have h := congrArg ((LinearMap.fst R R N).lTensor (R ⧸ I)) hx |
| 44 | have hp : (LinearMap.fst R R N).comp (e.prod d) = e := by ext z; rfl |
| 45 | simpa only [← LinearMap.lTensor_comp_apply, hp, map_zero] using h |
| 46 | have hd : d.lTensor (R ⧸ I) x = 0 := by |
| 47 | have h := congrArg ((LinearMap.snd R R N).lTensor (R ⧸ I)) hx |
| 48 | have hp : (LinearMap.snd R R N).comp (e.prod d) = d := by ext z; rfl |
| 49 | simpa only [← LinearMap.lTensor_comp_apply, hp, map_zero] using h |
| 50 | obtain ⟨r, hr⟩ := (hres x).mp hd |
| 51 | have hr0 : r = 0 := by |
| 52 | have h := he |
| 53 | rw [← hr, ← LinearMap.lTensor_comp_apply, hea, LinearMap.lTensor_id, LinearMap.id_apply] at h |
| 54 | exact h |
| 55 | rw [← hr, hr0, map_zero] |
| 56 | |
| 57 | theorem nilpotent_split_augmentation_constants [Module.Flat R N] |
| 58 | (I : Ideal R) [I.IsMaximal] (hI : IsNilpotent I) |
| 59 | (a : R →ₗ[R] M) (e : M →ₗ[R] R) (d : M →ₗ[R] N) |
| 60 | (hea : e.comp a = LinearMap.id) (hda : d.comp a = 0) |
| 61 | (hres : Function.Exact (a.lTensor (R ⧸ I)) (d.lTensor (R ⧸ I))) |
| 62 | (x : M) (hx : d x = 0) : x = a (e x) := by |
| 63 | have : Module.Flat R (R × N) := Quotients.FiniteDescent.FlatKernelProd.Construction.FlatKernel.prod |
| 64 | apply injective_of_nilpotent_residue_injective I hI (e.prod d) |
| 65 | (split_augmentation_residue_detector_injective I a e d hea hres) |
| 66 | apply Prod.ext |
| 67 | · exact (LinearMap.congr_fun hea (e x)).symm |
| 68 | · exact hx.trans (LinearMap.congr_fun hda (e x)).symm |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.NilpotentCechConstants.Construction |