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.Crystalline.Cohomology.LocalizationRange |
| 2 | |
| 3 | /-! # Localization Injectivity Eq -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Crystalline.Cohomology.LocalizationInjectivityEq.LocalizationInjectivity |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # Injectivity detected on principal localizations |
| 11 | |
| 12 | The unit-ideal criterion detects zero elements, and therefore injectivity, |
| 13 | from a family of principal module localizations. |
| 14 | -/ |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable (R ι M : Type u) [CommRing R] [AddCommGroup M] [Module R M] |
| 19 | (s : ι → R) (ML : ι → Type u) [∀ i, AddCommGroup (ML i)] [∀ i, Module R (ML i)] |
| 20 | (m : ∀ i, M →ₗ[R] ML i) |
| 21 | [∀ i, IsLocalizedModule (Submonoid.powers (s i)) (m i)] |
| 22 | |
| 23 | theorem eq_zero (hs : Ideal.span (Set.range s) = ⊤) (x : M) (hx : ∀ i, m i x = 0) : x = 0 := by |
| 24 | have h : x ∈ (⊥ : Submodule R M) := by |
| 25 | apply Submodule.mem_of_span_eq_top_of_smul_pow_mem (⊥ : Submodule R M) (Set.range s) hs x |
| 26 | intro r |
| 27 | obtain ⟨i, hi⟩ := r.property |
| 28 | obtain ⟨t, ht⟩ := IsLocalizedModule.exists_of_eq (S := Submonoid.powers (s i)) |
| 29 | (f := m i) ((hx i).trans (map_zero (m i)).symm) |
| 30 | obtain ⟨n, hn⟩ := t.property |
| 31 | change s i ^ n = (t : R) at hn |
| 32 | refine ⟨n, ?_⟩ |
| 33 | change (r : R) ^ n • x = 0 |
| 34 | change (t : R) • x = (t : R) • (0 : M) at ht |
| 35 | rw [← hi, hn] |
| 36 | exact ht.trans (smul_zero _) |
| 37 | exact h |
| 38 | |
| 39 | theorem injective (N : Type u) [AddCommGroup N] [Module R N] (f : M →ₗ[R] N) |
| 40 | (NL : ι → Type u) [∀ i, AddCommGroup (NL i)] [∀ i, Module R (NL i)] |
| 41 | (n : ∀ i, N →ₗ[R] NL i) (fl : ∀ i, ML i →ₗ[R] NL i) |
| 42 | (commute : ∀ i x, n i (f x) = fl i (m i x)) |
| 43 | (hs : Ideal.span (Set.range s) = ⊤) (hl : ∀ i, Function.Injective (fl i)) : |
| 44 | Function.Injective f := by |
| 45 | intro x y hxy |
| 46 | apply sub_eq_zero.mp |
| 47 | apply eq_zero R ι M s ML m hs |
| 48 | intro i |
| 49 | rw [map_sub, sub_eq_zero] |
| 50 | apply hl i |
| 51 | rw [← commute, hxy, commute] |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry.Crystalline.Cohomology.LocalizationInjectivityEq.LocalizationInjectivity |