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.NumberTheory.PadicHodge.GeometricComparison.Linear |
| 2 | |
| 3 | /-! # Product Kernel -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.ProductKernel.ProductSubspace |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The kernel of a product projection is the actual subspace in the first factor, including its induced filtration step. -/ |
| 10 | |
| 11 | variable {K V W : Type*} [Field K] [AddCommGroup V] [Module K V] |
| 12 | [AddCommGroup W] [Module K W] |
| 13 | |
| 14 | def first (U : Submodule K (V × W)) : Submodule K V := U.comap (LinearMap.inl K V W) |
| 15 | |
| 16 | def second (U : Submodule K (V × W)) : U →ₗ[K] W := (LinearMap.snd K V W).domRestrict U |
| 17 | |
| 18 | def kernelEquiv (U : Submodule K (V × W)) : (second U).ker ≃ₗ[K] first U where |
| 19 | toFun x := ⟨x.1.1.1, by |
| 20 | change (x.1.1.1, 0) ∈ U |
| 21 | have hx : x.1.1.2 = 0 := x.property |
| 22 | have he : (x.1.1.1, 0) = x.1.1 := Prod.ext rfl hx.symm |
| 23 | exact he.symm ▸ x.1.property⟩ |
| 24 | invFun x := ⟨⟨(x, 0), x.property⟩, rfl⟩ |
| 25 | left_inv x := by |
| 26 | apply Subtype.ext |
| 27 | apply Subtype.ext |
| 28 | exact Prod.ext rfl x.property.symm |
| 29 | right_inv _ := rfl |
| 30 | map_add' _ _ := rfl |
| 31 | map_smul' _ _ := rfl |
| 32 | |
| 33 | def filteredKernelEquiv (U : Submodule K (V × W)) (P : Submodule K V) (Q : Submodule K W) : |
| 34 | ((second U).ker ⊓ (P.prod Q).comap U.subtype : Submodule K U) ≃ₗ[K] |
| 35 | (first U ⊓ P : Submodule K V) where |
| 36 | toFun x := ⟨x.1.1.1, by |
| 37 | constructor |
| 38 | · change (x.1.1.1, 0) ∈ U |
| 39 | have hx : x.1.1.2 = 0 := x.2.1 |
| 40 | have he : (x.1.1.1, 0) = x.1.1 := Prod.ext rfl hx.symm |
| 41 | exact he.symm ▸ x.1.property |
| 42 | · exact x.2.2.1⟩ |
| 43 | invFun x := ⟨⟨(x, 0), x.2.1⟩, rfl, x.2.2, Q.zero_mem⟩ |
| 44 | left_inv x := by |
| 45 | apply Subtype.ext |
| 46 | apply Subtype.ext |
| 47 | exact Prod.ext rfl x.2.1.symm |
| 48 | right_inv _ := rfl |
| 49 | map_add' _ _ := rfl |
| 50 | map_smul' _ _ := rfl |
| 51 | |
| 52 | theorem first_stable (φ : Module.End K V) (ψ : Module.End K W) (U : Submodule K (V × W)) |
| 53 | (hU : U ≤ U.comap (LinearMap.prodMap φ ψ)) : first U ≤ (first U).comap φ := by |
| 54 | intro x hx |
| 55 | have h := hU hx |
| 56 | change (φ x, ψ 0) ∈ U at h |
| 57 | change (φ x, 0) ∈ U |
| 58 | simpa only [ψ.map_zero] using h |
| 59 | |
| 60 | theorem second_intertwines (φ : Module.End K V) (ψ : Module.End K W) (U : Submodule K (V × W)) |
| 61 | (hU : U ≤ U.comap (LinearMap.prodMap φ ψ)) (x : U) : |
| 62 | second U ((LinearMap.prodMap φ ψ).restrict hU x) = ψ (second U x) := rfl |
| 63 | |
| 64 | theorem second_filtered (U : Submodule K (V × W)) (P : Submodule K V) (Q : Submodule K W) : |
| 65 | ((P.prod Q).comap U.subtype).map (second U) ≤ Q := by |
| 66 | rintro _ ⟨x, hx, rfl⟩ |
| 67 | exact hx.2 |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.NumberTheory.PadicHodge.GeometricComparison.ProductKernel.ProductSubspace |