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.HilbertScheme.Presentations.Normalized.KernelBaseChange |
| 2 | |
| 3 | /-! # Submodule Extension -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Coordinate.SubmoduleExtension.Grassmannian |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Functoriality of extension of coordinate relations and compatibility of local quotient matrices. -/ |
| 10 | |
| 11 | universe u v w |
| 12 | |
| 13 | variable {R S T : Type u} [CommRing R] [CommRing S] [CommRing T] {ν : Type w} |
| 14 | |
| 15 | theorem coordinateSubmoduleExtension_id (N : Submodule R (ν → R)) : |
| 16 | Normalized.KernelBaseChange.Grassmannian.coordinateSubmoduleExtension (RingHom.id R) N = N := by |
| 17 | change Submodule.span R (id '' (N : Set (ν → R))) = N |
| 18 | rw [Set.image_id, Submodule.span_eq] |
| 19 | |
| 20 | theorem coordinateSubmoduleExtension_comp (φ : R →+* S) (ψ : S →+* T) |
| 21 | (N : Submodule R (ν → R)) : |
| 22 | Normalized.KernelBaseChange.Grassmannian.coordinateSubmoduleExtension (ψ.comp φ) N = |
| 23 | Normalized.KernelBaseChange.Grassmannian.coordinateSubmoduleExtension ψ (Normalized.KernelBaseChange.Grassmannian.coordinateSubmoduleExtension φ N) := by |
| 24 | apply le_antisymm |
| 25 | · apply Submodule.span_le.mpr |
| 26 | rintro _ ⟨x, hx, rfl⟩ |
| 27 | apply Submodule.subset_span |
| 28 | exact ⟨φ ∘ x, Submodule.subset_span ⟨x, hx, rfl⟩, rfl⟩ |
| 29 | · apply Submodule.span_le.mpr |
| 30 | rintro _ ⟨y, hy, rfl⟩ |
| 31 | induction hy using Submodule.span_induction with |
| 32 | | mem y hy => |
| 33 | obtain ⟨x, hx, rfl⟩ := hy |
| 34 | exact Submodule.subset_span ⟨x, hx, rfl⟩ |
| 35 | | zero => |
| 36 | have hz : ψ ∘ (0 : ν → S) = 0 := by ext i; exact ψ.map_zero |
| 37 | change ψ ∘ (0 : ν → S) ∈ Normalized.KernelBaseChange.Grassmannian.coordinateSubmoduleExtension (ψ.comp φ) N |
| 38 | rw [hz] |
| 39 | exact Submodule.zero_mem _ |
| 40 | | add x y _ _ hx hy => |
| 41 | have he : ψ ∘ (x + y) = ψ ∘ x + ψ ∘ y := by ext i; exact ψ.map_add _ _ |
| 42 | change ψ ∘ (x + y) ∈ Normalized.KernelBaseChange.Grassmannian.coordinateSubmoduleExtension (ψ.comp φ) N |
| 43 | rw [he] |
| 44 | exact Submodule.add_mem _ hx hy |
| 45 | | smul s x _ hx => |
| 46 | have he : ψ ∘ (s • x) = ψ s • (ψ ∘ x) := by ext i; exact ψ.map_mul _ _ |
| 47 | change ψ ∘ (s • x) ∈ Normalized.KernelBaseChange.Grassmannian.coordinateSubmoduleExtension (ψ.comp φ) N |
| 48 | rw [he] |
| 49 | exact Submodule.smul_mem _ _ hx |
| 50 | |
| 51 | variable {A B C : Type u} [CommRing A] [CommRing B] [CommRing C] |
| 52 | |
| 53 | theorem coordinateSubmoduleExtension_injective (e : R ≃+* S) : |
| 54 | Function.Injective (Normalized.KernelBaseChange.Grassmannian.coordinateSubmoduleExtension (ν := ν) e.toRingHom) := by |
| 55 | intro N M h |
| 56 | have h' := congrArg (Normalized.KernelBaseChange.Grassmannian.coordinateSubmoduleExtension e.symm.toRingHom) h |
| 57 | rw [← coordinateSubmoduleExtension_comp, ← coordinateSubmoduleExtension_comp] at h' |
| 58 | have he : e.symm.toRingHom.comp e.toRingHom = RingHom.id R := by |
| 59 | ext r |
| 60 | exact e.symm_apply_apply r |
| 61 | rw [he, coordinateSubmoduleExtension_id, coordinateSubmoduleExtension_id] at h' |
| 62 | exact h' |
| 63 | |
| 64 | variable {ι : Type v} [Fintype ι] [Fintype ν] [DecidableEq ι] [DecidableEq ν] |
| 65 | |
| 66 | theorem normalizedLocalQuotients_kernel_eq |
| 67 | (α : R →+* A) (β : R →+* B) (φ : A →+* C) (ψ : B →+* C) |
| 68 | (hφ : φ.comp α = ψ.comp β) (N : Submodule R (ν → R)) |
| 69 | (a b : ι → ν) (Q : Matrix ι ν A) (K : Matrix ι ν B) |
| 70 | (hQ : Normalized.Matrices.Grassmannian.IsNormalized a Q) (hK : Normalized.Matrices.Grassmannian.IsNormalized b K) |
| 71 | (hQN : (Matrix.toLin' Q).ker = Normalized.KernelBaseChange.Grassmannian.coordinateSubmoduleExtension α N) |
| 72 | (hKN : (Matrix.toLin' K).ker = Normalized.KernelBaseChange.Grassmannian.coordinateSubmoduleExtension β N) : |
| 73 | (Matrix.toLin' (Q.map φ)).ker = (Matrix.toLin' (K.map ψ)).ker := by |
| 74 | rw [← Normalized.KernelBaseChange.Grassmannian.normalizedKernel_baseChange φ a Q hQ, ← Normalized.KernelBaseChange.Grassmannian.normalizedKernel_baseChange ψ b K hK, |
| 75 | hQN, hKN, ← coordinateSubmoduleExtension_comp, ← coordinateSubmoduleExtension_comp, hφ] |
| 76 | |
| 77 | theorem normalizedLocalQuotients_transition |
| 78 | (α : R →+* A) (β : R →+* B) (φ : A →+* C) (ψ : B →+* C) |
| 79 | (hφ : φ.comp α = ψ.comp β) (N : Submodule R (ν → R)) |
| 80 | (a b : ι → ν) (Q : Matrix ι ν A) (K : Matrix ι ν B) |
| 81 | (hQ : Normalized.Matrices.Grassmannian.IsNormalized a Q) (hK : Normalized.Matrices.Grassmannian.IsNormalized b K) |
| 82 | (hQN : (Matrix.toLin' Q).ker = Normalized.KernelBaseChange.Grassmannian.coordinateSubmoduleExtension α N) |
| 83 | (hKN : (Matrix.toLin' K).ker = Normalized.KernelBaseChange.Grassmannian.coordinateSubmoduleExtension β N) : |
| 84 | IsUnit (Normalized.Matrices.Grassmannian.selectedColumns b (Q.map φ)).det ∧ K.map ψ = Normalized.Matrices.Grassmannian.normalizeColumns b (Q.map φ) := |
| 85 | (Normalized.OverlapEquations.Grassmannian.quotientCompatibility_iff_transition a b _ _ (hQ.map φ)).mp |
| 86 | ((Normalized.OverlapEquations.Grassmannian.quotientCompatibility_iff_kernel_eq a b _ _ (hQ.map φ) (hK.map ψ)).mpr |
| 87 | (normalizedLocalQuotients_kernel_eq α β φ ψ hφ N a b Q K hQ hK hQN hKN)) |
| 88 | |
| 89 | end |
| 90 | |
| 91 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Coordinate.SubmoduleExtension.Grassmannian |