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.FittingGeneralized |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.ProjectionProduct |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Finite.Intersection |
| 4 | |
| 5 | /-! # Hecke Projection -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.HeckeProjection.GeneralizedHecke |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Simultaneous generalized eigenspaces of arbitrary commuting families are ranges of filtration-preserving commuting projections. -/ |
| 12 | |
| 13 | variable {K V I : Type*} [Field K] [AddCommGroup V] [Module K V] |
| 14 | [FiniteDimensional K V] |
| 15 | |
| 16 | theorem finite_projection (T : I → Module.End K V) (χ : I → K) |
| 17 | (hpair : ∀ i j, Commute (T i) (T j)) (s : Finset I) : |
| 18 | ∃ P : Module.End K V, |
| 19 | IsIdempotentElem P ∧ P.range = (⨅ i ∈ s, (T i).maxGenEigenspace (χ i)) ∧ |
| 20 | (∀ Z : Module.End K V, (∀ i ∈ s, Commute (T i) Z) → Commute P Z) ∧ |
| 21 | (∀ U : Submodule K V, (∀ i ∈ s, U ≤ U.comap (T i)) → U ≤ U.comap P) := by |
| 22 | classical |
| 23 | induction s using Finset.induction_on with |
| 24 | | empty => |
| 25 | refine ⟨1, ?_, ?_, ?_, ?_⟩ |
| 26 | · exact one_mul 1 |
| 27 | · simp |
| 28 | exact LinearMap.range_eq_top.mpr (fun x => ⟨x, rfl⟩) |
| 29 | · intro Z _ |
| 30 | exact Commute.one_left Z |
| 31 | · intro U _ |
| 32 | exact le_rfl |
| 33 | | @insert i s hi ih => |
| 34 | obtain ⟨P, hP, hPrange, hPcomm, hPpres⟩ := ih |
| 35 | let Q := FittingGeneralized.GeneralizedHecke.eigenProjection (T i) (χ i) |
| 36 | have hQ : IsIdempotentElem Q := FittingGeneralized.GeneralizedHecke.eigenProjection_idempotent (T i) (χ i) |
| 37 | have hc : Commute Q P := FittingGeneralized.GeneralizedHecke.eigenProjection_commutes (T i) P (χ i) |
| 38 | (hPcomm (T i) (fun j _ => hpair j i)).symm |
| 39 | refine ⟨Q * P, ProjectionProduct.GeneralizedHecke.projection_mul_idempotent Q P hQ hP hc, ?_, ?_, ?_⟩ |
| 40 | · rw [ProjectionProduct.GeneralizedHecke.projection_mul_range Q P hQ hP hc, hPrange, Finset.iInf_insert] |
| 41 | exact congrArg (fun S : Submodule K V => S ⊓ ⨅ j ∈ s, (T j).maxGenEigenspace (χ j)) |
| 42 | (FittingGeneralized.GeneralizedHecke.eigenProjection_range (T i) (χ i)) |
| 43 | · intro Z hZ |
| 44 | exact (FittingGeneralized.GeneralizedHecke.eigenProjection_commutes (T i) Z (χ i) (hZ i (Finset.mem_insert_self i s))).mul_left |
| 45 | (hPcomm Z (fun j hj => hZ j (Finset.mem_insert_of_mem hj))) |
| 46 | · intro U hU |
| 47 | exact ProjectionProduct.GeneralizedHecke.product_preserves Q P U |
| 48 | (FittingGeneralized.GeneralizedHecke.eigenProjection_preserves (T i) (χ i) U (hU i (Finset.mem_insert_self i s))) |
| 49 | (hPpres U (fun j hj => hU j (Finset.mem_insert_of_mem hj))) |
| 50 | |
| 51 | theorem simultaneous_projection (T : I → Module.End K V) (χ : I → K) |
| 52 | (hpair : ∀ i j, Commute (T i) (T j)) : |
| 53 | ∃ P : Module.End K V, |
| 54 | IsIdempotentElem P ∧ P.range = Linear.generalizedHeckeSummand T χ ∧ |
| 55 | (∀ Z : Module.End K V, (∀ i, Commute (T i) Z) → Commute P Z) ∧ |
| 56 | (∀ U : Submodule K V, (∀ i, U ≤ U.comap (T i)) → U ≤ U.comap P) := by |
| 57 | obtain ⟨s, hs⟩ := Finite.Intersection.GeneralizedHecke.finite_intersection (fun i => (T i).maxGenEigenspace (χ i)) |
| 58 | obtain ⟨P, hP, hPrange, hPcomm, hPpres⟩ := finite_projection T χ hpair s |
| 59 | exact ⟨P, hP, hPrange.trans hs, fun Z hZ => hPcomm Z (fun i _ => hZ i), |
| 60 | fun U hU => hPpres U (fun i _ => hU i)⟩ |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.NumberTheory.PadicHodge.GeometricComparison.HeckeProjection.GeneralizedHecke |