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 | /-! # Hecke Summand Stability -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.HeckeSummandStability.GeneralizedHecke |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A commuting invertible operator restricts to every simultaneous generalized Hecke eigenspace. -/ |
| 10 | |
| 11 | variable {K V I : Type*} [Field K] [AddCommGroup V] [Module K V] |
| 12 | |
| 13 | theorem commutes_inverse (φ : V ≃ₗ[K] V) (T : Module.End K V) |
| 14 | (h : Commute T φ.toLinearMap) : Commute T φ.symm.toLinearMap := by |
| 15 | change T.comp φ.symm.toLinearMap = φ.symm.toLinearMap.comp T |
| 16 | apply LinearMap.ext |
| 17 | intro x |
| 18 | apply φ.injective |
| 19 | have hx := LinearMap.congr_fun h.eq (φ.symm x) |
| 20 | change T (φ (φ.symm x)) = φ (T (φ.symm x)) at hx |
| 21 | change φ (T (φ.symm x)) = φ (φ.symm (T x)) |
| 22 | simpa only [φ.apply_symm_apply] using hx.symm |
| 23 | |
| 24 | theorem summand_stable (φ : V ≃ₗ[K] V) (T : I → Module.End K V) (χ : I → K) |
| 25 | (h : ∀ i, Commute (T i) φ.toLinearMap) : |
| 26 | Linear.generalizedHeckeSummand T χ ≤ (Linear.generalizedHeckeSummand T χ).comap φ.toLinearMap := by |
| 27 | intro x hx |
| 28 | apply (Linear.mem_generalizedHeckeSummand T χ (φ x)).mpr |
| 29 | intro i |
| 30 | exact (Module.End.mapsTo_maxGenEigenspace_of_comm (h i) (χ i)) |
| 31 | ((Linear.mem_generalizedHeckeSummand T χ x).mp hx i) |
| 32 | |
| 33 | def restriction (φ : V ≃ₗ[K] V) (T : I → Module.End K V) (χ : I → K) |
| 34 | (h : ∀ i, Commute (T i) φ.toLinearMap) : |
| 35 | Linear.generalizedHeckeSummand T χ ≃ₗ[K] Linear.generalizedHeckeSummand T χ where |
| 36 | toFun x := ⟨φ x, summand_stable φ T χ h x.property⟩ |
| 37 | invFun x := ⟨φ.symm x, summand_stable φ.symm T χ (fun i => commutes_inverse φ (T i) (h i)) x.property⟩ |
| 38 | left_inv x := Subtype.ext (φ.symm_apply_apply (x : V)) |
| 39 | right_inv x := Subtype.ext (φ.apply_symm_apply (x : V)) |
| 40 | map_add' x y := Subtype.ext (φ.map_add (x : V) (y : V)) |
| 41 | map_smul' a x := Subtype.ext (φ.map_smul a (x : V)) |
| 42 | |
| 43 | theorem restriction_apply (φ : V ≃ₗ[K] V) (T : I → Module.End K V) (χ : I → K) |
| 44 | (h : ∀ i, Commute (T i) φ.toLinearMap) (x : Linear.generalizedHeckeSummand T χ) : |
| 45 | (restriction φ T χ h x : V) = φ (x : V) := rfl |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.NumberTheory.PadicHodge.GeometricComparison.HeckeSummandStability.GeneralizedHecke |