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 | import Mathlib.Algebra.Exact.Basic |
| 3 | |
| 4 | /-! # Localization Exactness Of -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Crystalline.Cohomology.LocalizationExactnessOf.LocalizationExactness |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Exactness descends from principal-localized module complexes |
| 12 | |
| 13 | For a unit-ideal family of coefficients, a pair of module maps is exact |
| 14 | if its localized pairs are exact. Only the incoming and middle modules |
| 15 | need localization hypotheses; commutation with the outgoing map carries |
| 16 | each original cocycle to a localized cocycle. |
| 17 | -/ |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | variable (R ι M N P : Type u) [CommRing R] |
| 22 | [AddCommGroup M] [Module R M] [AddCommGroup N] [Module R N] [AddCommGroup P] [Module R P] |
| 23 | (f : M →ₗ[R] N) (g : N →ₗ[R] P) (hgf : g.comp f = 0) (s : ι → R) |
| 24 | (ML NL PL : ι → Type u) |
| 25 | [∀ i, AddCommGroup (ML i)] [∀ i, Module R (ML i)] |
| 26 | [∀ i, AddCommGroup (NL i)] [∀ i, Module R (NL i)] |
| 27 | [∀ i, AddCommGroup (PL i)] [∀ i, Module R (PL i)] |
| 28 | (m : ∀ i, M →ₗ[R] ML i) (n : ∀ i, N →ₗ[R] NL i) (o : ∀ i, P →ₗ[R] PL i) |
| 29 | [∀ i, IsLocalizedModule (Submonoid.powers (s i)) (m i)] |
| 30 | [∀ i, IsLocalizedModule (Submonoid.powers (s i)) (n i)] |
| 31 | (fl : ∀ i, ML i →ₗ[R] NL i) (gl : ∀ i, NL i →ₗ[R] PL i) |
| 32 | (commute_f : ∀ i x, n i (f x) = fl i (m i x)) |
| 33 | (commute_g : ∀ i x, gl i (n i x) = o i (g x)) |
| 34 | |
| 35 | include hgf commute_f commute_g in |
| 36 | theorem exact_of_localized (hs : Ideal.span (Set.range s) = ⊤) |
| 37 | (hl : ∀ i, Function.Exact (fl i) (gl i)) : Function.Exact f g := by |
| 38 | intro x |
| 39 | constructor |
| 40 | · intro hx |
| 41 | apply LocalizationRange.LocalizationRangeDescent.mem_range R ι M N f s ML NL m n fl commute_f hs x |
| 42 | intro i |
| 43 | apply (hl i (n i x)).mp |
| 44 | rw [commute_g, hx, map_zero] |
| 45 | · rintro ⟨y, rfl⟩ |
| 46 | exact LinearMap.congr_fun hgf y |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.AlgebraicGeometry.Crystalline.Cohomology.LocalizationExactnessOf.LocalizationExactness |