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.LinearAlgebra.Quotient.Basic |
| 2 | |
| 3 | /-! # Quotient Image -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicTopology.DeRham.Comparison.QuotientImage |
| 6 | |
| 7 | /-! |
| 8 | # Images of a submodule after quotienting its source |
| 9 | |
| 10 | These are elementary quotient-module facts used by a possible comparison |
| 11 | between closed pure forms and de Rham classes. All modules and maps below are |
| 12 | mathlib modules and the canonical mathlib quotient maps. No cohomology or Hodge |
| 13 | structure is postulated here. |
| 14 | |
| 15 | If `P` is a submodule of `V`, `E` is the submodule killed in the target, and `B` |
| 16 | is a submodule of `P` whose elements lie in `E`, the canonical map |
| 17 | `P / B → V / E` has the same image for every such `B`. Its injectivity is the |
| 18 | strictly stronger assertion that `B` contains every element of `P` lying in `E`. |
| 19 | |
| 20 | To apply this to the Clay definition of a Hodge component, actual spaces of |
| 21 | closed forms, exact forms, closed pure forms, and `d' d''` images must still be |
| 22 | constructed, and the containment for the last of these must be proved. |
| 23 | -/ |
| 24 | |
| 25 | variable {R V : Type*} [Ring R] [AddCommGroup V] [Module R V] |
| 26 | variable (P E : Submodule R V) (B : Submodule R P) |
| 27 | variable (hB : B ≤ E.comap P.subtype) |
| 28 | |
| 29 | /-- Quotienting the numerator by any submodule already killed in the target |
| 30 | does not change its image. -/ |
| 31 | theorem range_submodule_quotient_map : |
| 32 | LinearMap.range (B.mapQ E P.subtype hB) = P.map E.mkQ := by |
| 33 | simpa only [Submodule.range_subtype] using |
| 34 | (Submodule.range_mapQ B E P.subtype hB) |
| 35 | |
| 36 | /-- A class is in the image precisely when it has a representative in `P`. -/ |
| 37 | theorem mem_range_submodule_quotient_map_iff (y : V ⧸ E) : |
| 38 | y ∈ LinearMap.range (B.mapQ E P.subtype hB) ↔ |
| 39 | ∃ x : V, x ∈ P ∧ E.mkQ x = y := by |
| 40 | rw [range_submodule_quotient_map] |
| 41 | exact Submodule.mem_map |
| 42 | |
| 43 | /-- The preimage in the ambient module is `P + E`, independently of `B`. -/ |
| 44 | theorem comap_range_submodule_quotient_map : |
| 45 | (LinearMap.range (B.mapQ E P.subtype hB)).comap E.mkQ = P ⊔ E := by |
| 46 | rw [range_submodule_quotient_map, Submodule.comap_map_mkQ, sup_comm] |
| 47 | |
| 48 | /-- Membership of the class of an ambient element is membership in `P + E`. -/ |
| 49 | theorem mkQ_mem_range_submodule_quotient_map_iff (x : V) : |
| 50 | E.mkQ x ∈ LinearMap.range (B.mapQ E P.subtype hB) ↔ x ∈ P ⊔ E := by |
| 51 | change x ∈ (LinearMap.range (B.mapQ E P.subtype hB)).comap E.mkQ ↔ _ |
| 52 | rw [comap_range_submodule_quotient_map] |
| 53 | |
| 54 | /-- The kernel consists of classes of elements of `P` that already lie in `E`. -/ |
| 55 | theorem ker_submodule_quotient_map : |
| 56 | LinearMap.ker (B.mapQ E P.subtype hB) = |
| 57 | (E.comap P.subtype).map B.mkQ := by |
| 58 | exact Submodule.ker_mapQ B E P.subtype hB |
| 59 | |
| 60 | /-- Injectivity requires equality with the full kernel, not merely containment. |
| 61 | In a forms application this is where an additional `d' d''` lemma is needed. -/ |
| 62 | theorem injective_submodule_quotient_map_iff : |
| 63 | Function.Injective (B.mapQ E P.subtype hB) ↔ B = E.comap P.subtype := by |
| 64 | rw [← LinearMap.ker_eq_bot, ker_submodule_quotient_map, eq_bot_iff, |
| 65 | Submodule.map_le_iff_le_comap, Submodule.comap_bot, Submodule.ker_mkQ] |
| 66 | exact ⟨fun h => le_antisymm hB h, fun h => h.ge⟩ |
| 67 | |
| 68 | /-- Surjectivity says that every ambient element is a sum from `P` and `E`. -/ |
| 69 | theorem surjective_submodule_quotient_map_iff : |
| 70 | Function.Surjective (B.mapQ E P.subtype hB) ↔ P ⊔ E = ⊤ := by |
| 71 | rw [← LinearMap.range_eq_top, range_submodule_quotient_map, |
| 72 | Submodule.map_mkQ_eq_top, sup_comm] |
| 73 | |
| 74 | /-- Separate the exact kernel condition from the condition of spanning the target. -/ |
| 75 | theorem bijective_submodule_quotient_map_iff : |
| 76 | Function.Bijective (B.mapQ E P.subtype hB) ↔ |
| 77 | B = E.comap P.subtype ∧ P ⊔ E = ⊤ := by |
| 78 | rw [Function.Bijective, injective_submodule_quotient_map_iff, |
| 79 | surjective_submodule_quotient_map_iff] |
| 80 | |
| 81 | end OAI.AlgebraicTopology.DeRham.Comparison.QuotientImage |