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.LinearAlgebra.Endomorphisms.Commuting |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ScalarConjugate |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ChosenCharacters |
| 4 | |
| 5 | /-! # Occurrence -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Occurrence.Spectral |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Occurrence at the fixed complex embedding descends to the algebraic |
| 12 | coefficient field. The full spectral decomposition preserves generalized |
| 13 | multiplicities; no diagonalizability assumption is used. -/ |
| 14 | |
| 15 | open scoped Classical TensorProduct |
| 16 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.HeckeCharacters.CM.Projectors OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ScalarConjugate.CM.Extension |
| 17 | |
| 18 | variable {U J : Type*} [AddCommGroup U] [Module ℚ U] [FiniteDimensional ℚ U] |
| 19 | |
| 20 | theorem complex_joint_occurrence_descends (F : IntermediateField ℚ ℂ) [IsAlgClosed F] |
| 21 | (T : J → Module.End ℚ U) (hcomm : ∀ h k, Commute (T h) (T k)) (χ : J → F) |
| 22 | (hχ : HeckeCycles.HeckeCharacters.CM.Projectors.jointSpace (fun h => (T h).baseChange ℂ) (fun h => (χ h : ℂ)) ≠ ⊥) : |
| 23 | HeckeCycles.HeckeCharacters.CM.Projectors.jointSpace (fun h => (T h).baseChange F) χ ≠ ⊥ := by |
| 24 | let TF : J → Module.End F (F ⊗[ℚ] U) := fun h => (T h).baseChange F |
| 25 | have hTF (h k : J) : Commute (TF h) (TF k) := by |
| 26 | change (T h).baseChange F * (T k).baseChange F = (T k).baseChange F * (T h).baseChange F |
| 27 | simpa only [LinearMap.baseChange_mul] using congrArg (fun f : Module.End ℚ U => f.baseChange F) |
| 28 | (hcomm h k).eq |
| 29 | obtain ⟨_, _, _, hfinite, hind, hspan, _⟩ := LinearAlgebra.Endomorphisms.Commuting.Construction.commuting_family_structure TF hTF |
| 30 | let O := {ψ : J → F // HeckeCycles.HeckeCharacters.CM.Projectors.jointSpace TF ψ ≠ ⊥} |
| 31 | let : Fintype O := hfinite.fintype |
| 32 | let ψ : O → J → F := fun i => i.val |
| 33 | have hS : DirectSum.IsInternal (fun i : O => HeckeCycles.HeckeCharacters.CM.Projectors.jointSpace TF (ψ i)) := |
| 34 | HeckeCycles.HeckeCharacters.CM.Projectors.joint_internal_of_Commuting TF hind hspan |
| 35 | let Q := HeckeCycles.ScalarConjugate.CM.Extension.extendedProjector F U TF ψ hS |
| 36 | have hQcomm (i : O) (h : J) : Commute (Q i) ((T h).baseChange ℂ) := by |
| 37 | simpa only [TF, HeckeCycles.ScalarConjugate.CM.Extension.extendEnd_rational] using HeckeCycles.ScalarConjugate.CM.Extension.extendedProjector_commutes F U TF ψ hS hTF i h |
| 38 | have hQrange (i : O) : LinearMap.range (Q i) ≤ |
| 39 | HeckeCycles.HeckeCharacters.CM.Projectors.jointSpace (fun h => (T h).baseChange ℂ) (fun h => (ψ i h : ℂ)) := by |
| 40 | simpa only [TF, HeckeCycles.ScalarConjugate.CM.Extension.extendEnd_rational] using HeckeCycles.ScalarConjugate.CM.Extension.extendedProjector_range_le F U TF ψ hS i |
| 41 | intro hbot |
| 42 | apply hχ |
| 43 | apply eq_bot_iff.mpr |
| 44 | intro x hx |
| 45 | change x = 0 |
| 46 | have hz (i : O) : Q i x = 0 := by |
| 47 | have hne : (fun h => (ψ i h : ℂ)) ≠ (fun h => (χ h : ℂ)) := by |
| 48 | intro he |
| 49 | have heF : i.val = χ := funext fun h => Subtype.ext (congrFun he h) |
| 50 | exact i.property (heF.symm ▸ hbot) |
| 51 | have ha := hQrange i (LinearMap.mem_range_self (Q i) x) |
| 52 | have hb := HeckeCycles.HeckeCharacters.CM.Projectors.jointSpace_stable_of_commutes (fun h => (T h).baseChange ℂ) |
| 53 | (fun h => (χ h : ℂ)) (Q i) (fun h => (hQcomm i h).symm) hx |
| 54 | exact Submodule.disjoint_def.mp (HeckeCycles.HeckeCharacters.CM.Projectors.jointSpace_disjoint _ hne) _ ha hb |
| 55 | have hs := HeckeCycles.ScalarConjugate.CM.Extension.sum_extendedProjector F U TF ψ hS x |
| 56 | change ∑ i, Q i x = x at hs |
| 57 | simpa only [hz, Finset.sum_const_zero] using hs.symm |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Occurrence.Spectral |