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.AbelianModuli.HilbertConstruction.Matrix.GeneratedImages |
| 2 | |
| 3 | /-! # Generation Criterion -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Normalized.GenerationCriterion |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Surjectivity of the explicit normalized generation matrix detects equality of relation modules. -/ |
| 10 | |
| 11 | universe u v w |
| 12 | |
| 13 | theorem submodule_sup_section_range_eq_top_iff {R : Type u} [CommRing R] |
| 14 | {V : Type v} [AddCommGroup V] [Module R V] |
| 15 | {W : Type w} [AddCommGroup W] [Module R W] |
| 16 | (q : V →ₗ[R] W) (s : W →ₗ[R] V) (hs : q.comp s = LinearMap.id) |
| 17 | (N : Submodule R V) (hN : N ≤ q.ker) : |
| 18 | N ⊔ s.range = ⊤ ↔ N = q.ker := by |
| 19 | constructor |
| 20 | · intro h |
| 21 | apply le_antisymm hN |
| 22 | intro x hx |
| 23 | have hmem : x ∈ N ⊔ s.range := h.symm ▸ Submodule.mem_top |
| 24 | obtain ⟨n, hn, z, ⟨y, rfl⟩, he⟩ := Submodule.mem_sup.mp hmem |
| 25 | have hn0 : q n = 0 := hN hn |
| 26 | have hx0 : q x = 0 := hx |
| 27 | have hy : y = 0 := by |
| 28 | calc |
| 29 | y = q (s y) := (LinearMap.congr_fun hs y).symm |
| 30 | _ = q (n + s y) := by rw [map_add, hn0, zero_add] |
| 31 | _ = q x := congrArg q he |
| 32 | _ = 0 := hx0 |
| 33 | rw [hy, map_zero, add_zero] at he |
| 34 | exact he ▸ hn |
| 35 | · intro h |
| 36 | rw [h] |
| 37 | apply top_unique |
| 38 | intro x _ |
| 39 | have hx : x - s (q x) ∈ q.ker := by |
| 40 | change q (x - s (q x)) = 0 |
| 41 | have hqx : q (s (q x)) = q x := LinearMap.congr_fun hs (q x) |
| 42 | rw [map_sub, hqx, sub_self] |
| 43 | exact Submodule.mem_sup.mpr ⟨x - s (q x), hx, s (q x), ⟨q x, rfl⟩, sub_add_cancel _ _⟩ |
| 44 | |
| 45 | variable {R : Type u} [CommRing R] {ι ν κ μ α : Type v} |
| 46 | variable [Fintype ι] [Fintype ν] [Fintype κ] [Fintype μ] [Fintype α] |
| 47 | variable [DecidableEq ι] [DecidableEq ν] [DecidableEq κ] [DecidableEq μ] [DecidableEq α] |
| 48 | |
| 49 | theorem normalizedGenerationMatrix_surjective_iff (a : ι → ν) (b : κ → μ) |
| 50 | (Q : Matrix ι ν R) (K : Matrix κ μ R) (hQ : HilbertScheme.Presentations.Normalized.Matrices.Grassmannian.IsNormalized a Q) (hK : HilbertScheme.Presentations.Normalized.Matrices.Grassmannian.IsNormalized b K) |
| 51 | (F : α → Matrix μ ν R) |
| 52 | (hF : ∀ i, (Matrix.toLin' Q).ker ≤ ((Matrix.toLin' K).ker).comap (Matrix.toLin' (F i))) : |
| 53 | Function.Surjective (Matrix.toLin' (HilbertConstruction.Matrix.GeneratedImages.normalizedGenerationMatrix a b Q F)) ↔ |
| 54 | (Matrix.toLin' K).ker = ⨆ i, ((Matrix.toLin' Q).ker).map (Matrix.toLin' (F i)) := by |
| 55 | have hN : (⨆ i, ((Matrix.toLin' Q).ker).map (Matrix.toLin' (F i))) ≤ (Matrix.toLin' K).ker := |
| 56 | iSup_le (fun i => Submodule.map_le_iff_le_comap.mpr (hF i)) |
| 57 | rw [← LinearMap.range_eq_top, HilbertConstruction.Matrix.GeneratedImages.normalizedGenerationMatrix_range a b Q hQ F, |
| 58 | submodule_sup_section_range_eq_top_iff (Matrix.toLin' K) (HilbertScheme.Presentations.Normalized.Quotients.Grassmannian.selectedBasisMap b) |
| 59 | (HilbertScheme.Presentations.Normalized.Quotients.Grassmannian.normalizedMatrix_comp_selectedBasisMap b K hK) _ hN] |
| 60 | exact eq_comm |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Normalized.GenerationCriterion |