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.HeckeCharacters |
| 3 | |
| 4 | /-! # Character Refinement -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.CharacterRefinement.Spectral |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Full simultaneous generalized eigenspaces refine every restricted |
| 13 | commuting family. This constructs occurring full extensions and retains |
| 14 | the whole restricted eigenspace, including all multiplicities. -/ |
| 15 | |
| 16 | open scoped Classical |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.HeckeCharacters.CM.Projectors OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.HeckeCharacters.CM |
| 19 | |
| 20 | variable {K V I J : Type*} [Field K] [AddCommGroup V] [Module K V] |
| 21 | |
| 22 | theorem jointSpace_restriction_le (T : J → Module.End K V) (u : I → J) (ψ : J → K) : |
| 23 | HeckeCycles.HeckeCharacters.CM.Projectors.jointSpace T ψ ≤ HeckeCycles.HeckeCharacters.CM.Projectors.jointSpace (T ∘ u) (ψ ∘ u) := by |
| 24 | exact le_iInf fun i => iInf_le _ (u i) |
| 25 | |
| 26 | theorem jointSpace_full_refinement [IsAlgClosed K] [FiniteDimensional K V] |
| 27 | (T : J → Module.End K V) (hcomm : ∀ i j, Commute (T i) (T j)) |
| 28 | (u : I → J) (χ : I → K) : |
| 29 | HeckeCycles.HeckeCharacters.CM.Projectors.jointSpace (T ∘ u) χ = |
| 30 | ⨆ ψ : {ψ : J → K // ∀ i, ψ (u i) = χ i}, HeckeCycles.HeckeCharacters.CM.Projectors.jointSpace T ψ.val := by |
| 31 | obtain ⟨_, _, _, hfinite, hind, hspan, _⟩ := |
| 32 | LinearAlgebra.Endomorphisms.Commuting.Construction.commuting_family_structure T hcomm |
| 33 | let O := {ψ : J → K // HeckeCycles.HeckeCharacters.CM.Projectors.jointSpace T ψ ≠ ⊥} |
| 34 | let : Fintype O := hfinite.fintype |
| 35 | let S : O → Submodule K V := fun ψ => HeckeCycles.HeckeCharacters.CM.Projectors.jointSpace T ψ.val |
| 36 | have hS : DirectSum.IsInternal S := HeckeCycles.HeckeCharacters.CM.Projectors.joint_internal_of_Commuting T hind hspan |
| 37 | have hc (ψ : O) (j : J) : Commute (HeckeCycles.HeckeCharacters.CM.Projectors.projector S hS ψ) (T j) := |
| 38 | HeckeCycles.HeckeCharacters.CM.Projectors.projector_commutes S hS (T j) |
| 39 | (fun k _ hx => HeckeCycles.HeckeCharacters.CM.Projectors.jointSpace_stable_of_commutes T k.val (T j) (fun l => hcomm l j) hx) ψ |
| 40 | apply le_antisymm |
| 41 | · intro x hx |
| 42 | rw [← HeckeCycles.HeckeCharacters.CM.Projectors.sum_projector S hS x] |
| 43 | apply Submodule.sum_mem |
| 44 | intro ψ _ |
| 45 | by_cases hp : ∀ i, ψ.val (u i) = χ i |
| 46 | · exact (le_iSup (fun φ : {ψ : J → K // ∀ i, ψ (u i) = χ i} => HeckeCycles.HeckeCharacters.CM.Projectors.jointSpace T φ.val) |
| 47 | ⟨ψ.val, hp⟩) (HeckeCycles.HeckeCharacters.CM.Projectors.projector_mem S hS ψ x) |
| 48 | · have hne : ψ.val ∘ u ≠ χ := fun he => hp (congrFun he) |
| 49 | have hleft := jointSpace_restriction_le T u ψ.val (HeckeCycles.HeckeCharacters.CM.Projectors.projector_mem S hS ψ x) |
| 50 | have hright := HeckeCycles.HeckeCharacters.CM.Projectors.jointSpace_stable_of_commutes (T ∘ u) χ (HeckeCycles.HeckeCharacters.CM.Projectors.projector S hS ψ) |
| 51 | (fun i => (hc ψ (u i)).symm) hx |
| 52 | have hz := Submodule.disjoint_def.mp (HeckeCycles.HeckeCharacters.CM.Projectors.jointSpace_disjoint (T ∘ u) hne) |
| 53 | _ hleft hright |
| 54 | rw [hz] |
| 55 | exact Submodule.zero_mem _ |
| 56 | · apply iSup_le |
| 57 | intro ψ |
| 58 | have he : ψ.val ∘ u = χ := funext ψ.property |
| 59 | simpa only [he] using jointSpace_restriction_le T u ψ.val |
| 60 | |
| 61 | theorem exists_occurring_full_extension [IsAlgClosed K] [FiniteDimensional K V] |
| 62 | (T : J → Module.End K V) (hcomm : ∀ i j, Commute (T i) (T j)) |
| 63 | (u : I → J) (χ : I → K) (hχ : HeckeCycles.HeckeCharacters.CM.Projectors.jointSpace (T ∘ u) χ ≠ ⊥) : |
| 64 | ∃ ψ : J → K, (∀ i, ψ (u i) = χ i) ∧ HeckeCycles.HeckeCharacters.CM.Projectors.jointSpace T ψ ≠ ⊥ := by |
| 65 | by_contra hn |
| 66 | apply hχ |
| 67 | rw [jointSpace_full_refinement T hcomm u χ] |
| 68 | apply iSup_eq_bot.mpr |
| 69 | intro ψ |
| 70 | by_contra hp |
| 71 | exact hn ⟨ψ.val, ψ.property, hp⟩ |
| 72 | |
| 73 | /-- The functions in the full decomposition are genuine characters over |
| 74 | all coefficient scalars, with exactly the same values. -/ |
| 75 | def fullJointCharacter {H : Type*} [CommRing H] [Algebra K H] |
| 76 | (ρ : H →ₐ[K] Module.End K V) (χ : H → K) |
| 77 | (hχ : HeckeCycles.HeckeCharacters.CM.Projectors.jointSpace ρ χ ≠ ⊥) : H →ₐ[K] K where |
| 78 | __ := HeckeCycles.HeckeCharacters.CM.jointRingCharacter ρ.toRingHom χ hχ |
| 79 | commutes' c := HeckeCycles.HeckeCharacters.CM.character_scalar ρ.toRingHom χ hχ (algebraMap K H c) c |
| 80 | (by |
| 81 | change ρ (algebraMap K H c) = c • 1 |
| 82 | rw [ρ.commutes, Algebra.algebraMap_eq_smul_one]) |
| 83 | |
| 84 | theorem jointSpace_full_character_refinement |
| 85 | [IsAlgClosed K] [FiniteDimensional K V] |
| 86 | {H : Type*} [CommRing H] [Algebra K H] |
| 87 | (ρ : H →ₐ[K] Module.End K V) (u : I → H) (χ : I → K) : |
| 88 | HeckeCycles.HeckeCharacters.CM.Projectors.jointSpace (ρ ∘ u) χ = |
| 89 | ⨆ ψ : {ψ : H →ₐ[K] K // ∀ i, ψ (u i) = χ i}, HeckeCycles.HeckeCharacters.CM.Projectors.jointSpace ρ ψ.val := by |
| 90 | rw [jointSpace_full_refinement ρ (fun a b => (Commute.all a b).map ρ) u χ] |
| 91 | apply le_antisymm |
| 92 | · apply iSup_le |
| 93 | intro ψ |
| 94 | by_cases hz : HeckeCycles.HeckeCharacters.CM.Projectors.jointSpace ρ ψ.val = ⊥ |
| 95 | · rw [hz] |
| 96 | exact bot_le |
| 97 | · exact le_iSup_of_le ⟨fullJointCharacter ρ ψ.val hz, ψ.property⟩ le_rfl |
| 98 | · apply iSup_le |
| 99 | intro ψ |
| 100 | exact le_iSup_of_le ⟨ψ.val, ψ.property⟩ le_rfl |
| 101 | |
| 102 | theorem exists_occurring_full_character |
| 103 | [IsAlgClosed K] [FiniteDimensional K V] |
| 104 | {H : Type*} [CommRing H] [Algebra K H] |
| 105 | (ρ : H →ₐ[K] Module.End K V) (u : I → H) (χ : I → K) |
| 106 | (hχ : HeckeCycles.HeckeCharacters.CM.Projectors.jointSpace (ρ ∘ u) χ ≠ ⊥) : |
| 107 | ∃ ψ : H →ₐ[K] K, (∀ i, ψ (u i) = χ i) ∧ HeckeCycles.HeckeCharacters.CM.Projectors.jointSpace ρ ψ ≠ ⊥ := by |
| 108 | obtain ⟨ψ, hp, hn⟩ := exists_occurring_full_extension ρ |
| 109 | (fun a b => (Commute.all a b).map ρ) u χ hχ |
| 110 | exact ⟨fullJointCharacter ρ ψ hn, hp, hn⟩ |
| 111 | |
| 112 | end |
| 113 | |
| 114 | /-! Scalar extension adds no generalized eigenconditions beyond the |
| 115 | rational Hecke operators and the character's scalar-linearity. -/ |
| 116 | |
| 117 | open scoped TensorProduct |
| 118 | |
| 119 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.HeckeCharacters.CM.Projectors |
| 120 | |
| 121 | variable {F H V : Type*} [Field F] [Algebra ℚ F] [CommRing H] [Algebra ℚ H] |
| 122 | [AddCommGroup V] [Module F V] |
| 123 | |
| 124 | theorem jointSpace_scalar_extension (ρ : F ⊗[ℚ] H →ₐ[F] Module.End F V) |
| 125 | (χ : F ⊗[ℚ] H →ₐ[F] F) : |
| 126 | HeckeCycles.HeckeCharacters.CM.Projectors.jointSpace ρ χ = HeckeCycles.HeckeCharacters.CM.Projectors.jointSpace (fun h : H => ρ (1 ⊗ₜ[ℚ] h)) |
| 127 | (fun h : H => χ (1 ⊗ₜ[ℚ] h)) := by |
| 128 | apply le_antisymm |
| 129 | · exact jointSpace_restriction_le ρ (fun h : H => (1 : F) ⊗ₜ[ℚ] h) χ |
| 130 | · intro x hx |
| 131 | simp only [HeckeCycles.HeckeCharacters.CM.Projectors.jointSpace, Submodule.mem_iInf] at hx ⊢ |
| 132 | intro h |
| 133 | induction h using TensorProduct.inductionOn with |
| 134 | | tmul c h => |
| 135 | have he : c ⊗ₜ[ℚ] h = c • ((1 : F) ⊗ₜ[ℚ] h) := by |
| 136 | simp only [TensorProduct.smul_tmul', smul_eq_mul, mul_one] |
| 137 | rw [he, map_smul, map_smul] |
| 138 | exact Module.End.genEigenspace_le_smul (ρ (1 ⊗ₜ[ℚ] h)) (χ (1 ⊗ₜ[ℚ] h)) c ⊤ (hx h) |
| 139 | | add h k hh hk => |
| 140 | have hc := (Commute.all h k).map ρ |
| 141 | have hm := Module.End.genEigenspace_inf_le_add (ρ h) (ρ k) (χ h) (χ k) ⊤ ⊤ hc |
| 142 | simpa only [map_add, top_add] using hm ⟨hh, hk⟩ |
| 143 | |
| 144 | end |
| 145 | |
| 146 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.CharacterRefinement.Spectral |