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.Algebra.Module.LocalizedModule.Submodule |
| 2 | import Mathlib.RingTheory.Localization.Module |
| 3 | import Mathlib.RingTheory.Localization.Away.Basic |
| 4 | import Mathlib.Algebra.BigOperators.Group.Finset.Basic |
| 5 | |
| 6 | /-! # Submodule Gluing -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Localized.SubmoduleGluing |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | Gluing submodules on a finite family of principal localizations by clearing |
| 14 | overlap denominators. This constructs the global submodule and proves that |
| 15 | its restrictions are exactly the supplied local submodules. |
| 16 | -/ |
| 17 | |
| 18 | open LocalizedModule |
| 19 | |
| 20 | universe u v w |
| 21 | |
| 22 | variable {R : Type u} [CommRing R] {M : Type v} [AddCommGroup M] [Module R M] |
| 23 | variable {κ : Type w} [Fintype κ] (r : κ → R) |
| 24 | variable {A : κ → Type u} [∀ i, CommRing (A i)] [∀ i, Algebra R (A i)] |
| 25 | variable [∀ i, IsLocalization.Away (r i) (A i)] |
| 26 | variable {L : κ → Type v} [∀ i, AddCommGroup (L i)] [∀ i, Module R (L i)] |
| 27 | variable [∀ i, Module (A i) (L i)] [∀ i, IsScalarTower R (A i) (L i)] |
| 28 | variable (f : ∀ i, M →ₗ[R] L i) [∀ i, IsLocalizedModule.Away (r i) (f i)] |
| 29 | variable (N : ∀ i, Submodule (A i) (L i)) |
| 30 | |
| 31 | def localizedSubmoduleIntersection : Submodule R M := |
| 32 | ⨅ i, ((N i).restrictScalars R).comap (f i) |
| 33 | |
| 34 | def LocalizedSubmoduleClearing : Prop := |
| 35 | ∀ i j m, f i m ∈ N i → ∃ k : ℕ, f j ((r i) ^ k • m) ∈ N j |
| 36 | |
| 37 | omit [∀ i, IsLocalization.Away (r i) (A i)] [∀ i, IsLocalizedModule.Away (r i) (f i)] in |
| 38 | theorem localizedSubmodule_clear_all (hN : LocalizedSubmoduleClearing r f N) |
| 39 | (i : κ) (m : M) (hm : f i m ∈ N i) : |
| 40 | ∃ k : ℕ, (r i) ^ k • m ∈ localizedSubmoduleIntersection f N := by |
| 41 | classical |
| 42 | choose k hk using fun j => hN i j m hm |
| 43 | let d := ∑ j, k j |
| 44 | refine ⟨d, ?_⟩ |
| 45 | apply (Submodule.mem_iInf _).mpr |
| 46 | intro j |
| 47 | change f j ((r i) ^ d • m) ∈ N j |
| 48 | have hj : k j ≤ d := Finset.single_le_sum (fun _ _ => Nat.zero_le _) (Finset.mem_univ j) |
| 49 | have he : f j ((r i) ^ d • m) = (r i) ^ (d - k j) • f j ((r i) ^ k j • m) := by |
| 50 | rw [← map_smul, smul_smul, ← pow_add, Nat.sub_add_cancel hj] |
| 51 | rw [he] |
| 52 | exact ((N j).restrictScalars R).smul_mem _ (hk j) |
| 53 | |
| 54 | /-- Pairwise denominator clearing suffices to glue a finite family of local |
| 55 | submodules. No finite generation or noetherian hypothesis is needed. -/ |
| 56 | theorem localizedSubmoduleIntersection_localized (hN : LocalizedSubmoduleClearing r f N) (i : κ) : |
| 57 | (localizedSubmoduleIntersection f N).localized' (A i) (Submonoid.powers (r i)) (f i) = N i := by |
| 58 | apply le_antisymm |
| 59 | · rw [Submodule.localized'_eq_span] |
| 60 | apply Submodule.span_le.mpr |
| 61 | rintro _ ⟨m, hm, rfl⟩ |
| 62 | exact (Submodule.mem_iInf _).mp hm i |
| 63 | · intro y hy |
| 64 | obtain ⟨⟨m, s⟩, rfl⟩ := IsLocalizedModule.mk'_surjective (Submonoid.powers (r i)) (f i) y |
| 65 | have hm : f i m ∈ N i := by |
| 66 | rw [← IsLocalizedModule.mk'_cancel' _ _ s, Submonoid.smul_def] |
| 67 | exact ((N i).restrictScalars R).smul_mem _ hy |
| 68 | obtain ⟨k, hk⟩ := localizedSubmodule_clear_all r f N hN i m hm |
| 69 | let t : Submonoid.powers (r i) := ⟨(r i) ^ k, ⟨k, rfl⟩⟩ |
| 70 | refine ⟨(r i) ^ k • m, hk, t * s, ?_⟩ |
| 71 | exact IsLocalizedModule.mk'_cancel_left _ m t s |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Localized.SubmoduleGluing |