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.Coordinate.IncidenceBaseChange |
| 2 | import Mathlib.RingTheory.Grassmannian |
| 3 | |
| 4 | /-! # Relation Detection -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coordinate.RelationDetection |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | Coefficient maps that jointly detect zero also detect membership in a |
| 12 | coordinate submodule with projective quotient. A splitting supplies a matrix |
| 13 | whose kernel is exactly that submodule. |
| 14 | -/ |
| 15 | |
| 16 | universe u v w |
| 17 | |
| 18 | variable {R : Type u} [CommRing R] {μ : Type v} [Fintype μ] [DecidableEq μ] |
| 19 | |
| 20 | theorem projectiveQuotient_matrix_kernel (K : Submodule R (μ → R)) |
| 21 | [Module.Projective R ((μ → R) ⧸ K)] : |
| 22 | ∃ H : Matrix μ μ R, (Matrix.toLin' H).ker = K := by |
| 23 | obtain ⟨s, hs⟩ := K.mkQ.exists_rightInverse_of_surjective |
| 24 | (LinearMap.range_eq_top.mpr K.mkQ_surjective) |
| 25 | let L := s.comp K.mkQ |
| 26 | refine ⟨LinearMap.toMatrix' L, ?_⟩ |
| 27 | rw [Matrix.toLin'_toMatrix'] |
| 28 | ext x |
| 29 | constructor |
| 30 | · intro hx |
| 31 | have hz : s (K.mkQ x) = 0 := hx |
| 32 | have he := LinearMap.congr_fun hs (K.mkQ x) |
| 33 | change K.mkQ (s (K.mkQ x)) = K.mkQ x at he |
| 34 | rw [hz, map_zero] at he |
| 35 | exact (Submodule.Quotient.mk_eq_zero K).mp he.symm |
| 36 | · intro hx |
| 37 | change s (K.mkQ x) = 0 |
| 38 | have hx0 : K.mkQ x = 0 := (Submodule.Quotient.mk_eq_zero K).mpr hx |
| 39 | rw [hx0, map_zero] |
| 40 | |
| 41 | theorem coordinateRelation_of_jointly_detect_zero {α : Type w} |
| 42 | (A : α → Type u) [∀ a, CommRing (A a)] (φ : ∀ a, R →+* A a) |
| 43 | (hφ : ∀ r : R, (∀ a, φ a r = 0) → r = 0) |
| 44 | (K : Submodule R (μ → R)) [Module.Projective R ((μ → R) ⧸ K)] |
| 45 | (x : μ → R) (hx : ∀ a, φ a ∘ x ∈ HilbertScheme.Presentations.Normalized.KernelBaseChange.Grassmannian.coordinateSubmoduleExtension (φ a) K) : |
| 46 | x ∈ K := by |
| 47 | obtain ⟨H, hH⟩ := projectiveQuotient_matrix_kernel K |
| 48 | rw [← hH] |
| 49 | change Matrix.toLin' H x = 0 |
| 50 | ext j |
| 51 | apply hφ |
| 52 | intro a |
| 53 | have hxa := hx a |
| 54 | rw [← hH] at hxa |
| 55 | have hz := HilbertScheme.Presentations.Normalized.KernelBaseChange.Grassmannian.coordinateSubmoduleExtension_le_kernel (φ a) H hxa |
| 56 | change Matrix.toLin' (H.map (φ a)) (φ a ∘ x) = 0 at hz |
| 57 | exact (RingHom.map_mulVec (φ a) H x j).trans (congrFun hz j) |
| 58 | |
| 59 | theorem coordinateIncidence_of_jointly_detect_zero {α : Type w} |
| 60 | (A : α → Type u) [∀ a, CommRing (A a)] (φ : ∀ a, R →+* A a) |
| 61 | (hφ : ∀ r : R, (∀ a, φ a r = 0) → r = 0) |
| 62 | {ν : Type v} [Fintype ν] [DecidableEq ν] |
| 63 | (N : Submodule R (ν → R)) (K : Submodule R (μ → R)) |
| 64 | [Module.Projective R ((μ → R) ⧸ K)] (F : Matrix μ ν R) |
| 65 | (h : ∀ a, HilbertScheme.Presentations.Normalized.KernelBaseChange.Grassmannian.coordinateSubmoduleExtension (φ a) N ≤ |
| 66 | (HilbertScheme.Presentations.Normalized.KernelBaseChange.Grassmannian.coordinateSubmoduleExtension (φ a) K).comap (Matrix.toLin' (F.map (φ a)))) : |
| 67 | N ≤ K.comap (Matrix.toLin' F) := by |
| 68 | intro x hx |
| 69 | apply coordinateRelation_of_jointly_detect_zero A φ hφ K (Matrix.toLin' F x) |
| 70 | intro a |
| 71 | have he : φ a ∘ Matrix.toLin' F x = Matrix.toLin' (F.map (φ a)) (φ a ∘ x) := by |
| 72 | ext j |
| 73 | exact RingHom.map_mulVec (φ a) F x j |
| 74 | rw [he] |
| 75 | exact h a (Submodule.subset_span ⟨x, hx, rfl⟩) |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coordinate.RelationDetection |