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.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ScalarConjugate |
| 2 | |
| 3 | /-! # Projectors -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Projectors.CM |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # Finite algebraic active projectors for a rational Hecke action |
| 11 | |
| 12 | All projector and coefficient-space data used here are constructed from |
| 13 | the original rational commuting operators. Spectral decomposition is first |
| 14 | performed over the actual algebraic numbers, then extended to ℂ, and finally |
| 15 | descended to one finite Galois field. Only summands occurring in theta |
| 16 | classes are retained. Hodge compatibility is proved from the compatibility |
| 17 | of the original operators, not included as projector data. |
| 18 | -/ |
| 19 | |
| 20 | open scoped Classical TensorProduct BigOperators |
| 21 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.HeckeCharacters.CM.Projectors |
| 22 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Coefficients.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ScalarConjugate.CM.Extension |
| 23 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ScalarConjugate.CM.GaloisLift OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ScalarConjugate.CM.SpectralConjugation |
| 24 | |
| 25 | theorem sum_active_operators |
| 26 | {V I Φ : Type*} [AddCommGroup V] [Module ℂ V] [Fintype I] |
| 27 | (P : I → Module.End ℂ V) (hP : ∀ x, ∑ i, P i x = x) |
| 28 | (theta : Φ → V) (φ : Φ) : |
| 29 | ∑ i : {i : I // ∃ ψ, P i (theta ψ) ≠ 0}, P i.val (theta φ) = theta φ := by |
| 30 | calc |
| 31 | _ = ∑ i, P i (theta φ) := by |
| 32 | symm |
| 33 | apply Finset.sum_congr_set {i : I | ∃ ψ, P i (theta ψ) ≠ 0} |
| 34 | (fun i => P i (theta φ)) (fun i => P i.val (theta φ)) |
| 35 | · intro i hi |
| 36 | rfl |
| 37 | · intro i hi |
| 38 | by_contra hn |
| 39 | exact hi ⟨φ, hn⟩ |
| 40 | _ = theta φ := hP (theta φ) |
| 41 | |
| 42 | /-- Construct the finite coefficient field, active projectors, algebraic |
| 43 | coefficient spaces, and theta decomposition required by CMExtraction. The remaining |
| 44 | arithmetic input is the conjugate slope computation for these active spaces. -/ |
| 45 | theorem construct_algebraic_active_projectors_with_characters |
| 46 | (E : IntermediateField ℚ ℂ) [NumberField E] |
| 47 | {U J Φ : Type*} [AddCommGroup U] [Module ℚ U] |
| 48 | (H : ComplexMultiplication.WeightOne.CM.WeightOneHodgeStructure U) (T : J → Module.End ℚ U) |
| 49 | (hcomm : ∀ j k, Commute (T j) (T k)) |
| 50 | (hHodge : ∀ j, ComplexMultiplication.WeightOne.CM.IsHodgeMap H H (T j)) |
| 51 | (theta : Φ → ComplexMultiplication.WeightOne.CM.Complexification U) : |
| 52 | ∃ K : IntermediateField ℚ ℂ, NumberField K ∧ IsGalois ℚ K ∧ E ≤ K ∧ |
| 53 | ∃ (hKalg : K ≤ Coefficients.CM.algebraicField) (n : ℕ) (p : Fin n → K ⊗[ℚ] (U →ₗ[ℚ] U)) |
| 54 | (χ : Fin n → J → Coefficients.CM.algebraicField), |
| 55 | let P := fun i => ComplexMultiplication.Hodge.MapDescent.CM.complexHomOfCoefficients K U U (p i) |
| 56 | let A := fun i => LinearMap.range (ComplexMultiplication.HomBaseChange.CM.homBaseChange K U U (p i)) |
| 57 | (∀ i, (P i).comp (P i) = P i) ∧ |
| 58 | (∀ i, LinearMap.range (P i) = CMExtraction.Definitions.CM.conjugateSpace K (A i) 1) ∧ |
| 59 | (∀ i, P i ∈ ComplexMultiplication.Hodge.MapDescent.CM.hodgeHomSubspace H H) ∧ |
| 60 | (∀ i, ∃ φ, P i (theta φ) ≠ 0) ∧ |
| 61 | (∀ φ, ∑ i, P i (theta φ) = theta φ) ∧ |
| 62 | (∀ i, LinearMap.range (P i) = HeckeCharacters.CM.Projectors.jointSpace (fun j => (T j).baseChange ℂ) |
| 63 | (fun j => (χ i j : ℂ))) ∧ |
| 64 | (∀ i (σ : Gal(K/ℚ)), |
| 65 | let Pσ := ComplexMultiplication.Hodge.MapDescent.CM.complexHomOfCoefficients K U U |
| 66 | (ComplexMultiplication.ScalarDescent.CM.scalarConjugate ℚ K (U →ₗ[ℚ] U) σ (p i)) |
| 67 | ∃ τ : Gal(Coefficients.CM.algebraicField/ℚ), |
| 68 | (∀ a : K, (τ (IntermediateField.inclusion hKalg a) : ℂ) = |
| 69 | (σ a : ℂ)) ∧ Pσ ∈ ComplexMultiplication.Hodge.MapDescent.CM.hodgeHomSubspace H H ∧ |
| 70 | LinearMap.range Pσ = HeckeCharacters.CM.Projectors.jointSpace (fun j => (T j).baseChange ℂ) |
| 71 | (fun j => (τ (χ i j) : ℂ))) := by |
| 72 | let : FiniteDimensional ℚ U := H.finiteDimensional |
| 73 | let C := Coefficients.CM.algebraicField |
| 74 | let TA : J → Module.End C (C ⊗[ℚ] U) := fun j => (T j).baseChange C |
| 75 | have hTA : ∀ j k, Commute (TA j) (TA k) := by |
| 76 | intro j k |
| 77 | change (T j).baseChange C * (T k).baseChange C = |
| 78 | (T k).baseChange C * (T j).baseChange C |
| 79 | simpa only [LinearMap.baseChange_mul] using |
| 80 | congrArg (fun f : Module.End ℚ U => f.baseChange C) (hcomm j k).eq |
| 81 | obtain ⟨hfinite, hinternal⟩ := HeckeCharacters.CM.Projectors.joint_finite_and_internal TA hTA |
| 82 | let Spectrum := {χ : J → C // HeckeCharacters.CM.Projectors.jointSpace TA χ ≠ ⊥} |
| 83 | let : Fintype Spectrum := hfinite.fintype |
| 84 | let χ : Spectrum → J → C := fun i => i.val |
| 85 | let S : Spectrum → Submodule C (C ⊗[ℚ] U) := fun i => HeckeCharacters.CM.Projectors.jointSpace TA (χ i) |
| 86 | have hS : DirectSum.IsInternal S := |
| 87 | DirectSum.isInternal_submodule_of_iSupIndep_of_iSup_eq_top |
| 88 | hinternal.submodule_iSupIndep hinternal.submodule_iSup_eq_top |
| 89 | let Q : Spectrum → Module.End C (C ⊗[ℚ] U) := HeckeCharacters.CM.Projectors.projector S hS |
| 90 | let q : Spectrum → C ⊗[ℚ] (U →ₗ[ℚ] U) := |
| 91 | fun i => (ComplexMultiplication.HomBaseChange.CM.homBaseChangeEquiv C U U).symm (Q i) |
| 92 | obtain ⟨K, hKnumber, hKgalois, hEK, hlift⟩ := Coefficients.CM.finite_galois_field_for_tensors E C q |
| 93 | let : NumberField K := hKnumber |
| 94 | choose p hp using hlift |
| 95 | let P : Spectrum → Module.End ℂ (ComplexMultiplication.WeightOne.CM.Complexification U) := |
| 96 | fun i => ComplexMultiplication.Hodge.MapDescent.CM.complexHomOfCoefficients K U U (p i) |
| 97 | have hext : ∀ i, P i = ScalarConjugate.CM.Extension.extendedProjector C U TA χ hS i := by |
| 98 | intro i |
| 99 | change ComplexMultiplication.HomBaseChange.CM.homBaseChange ℂ U U (ComplexMultiplication.EmbeddingCoefficientField.CM.coefficientInclusion K (U →ₗ[ℚ] U) (p i)) = |
| 100 | ScalarConjugate.CM.Extension.extendEnd C U (Q i) |
| 101 | rw [hp i] |
| 102 | exact (ScalarConjugate.CM.Extension.extendEnd_eq_complexHom C U (Q i)).symm |
| 103 | have hsum : ∀ x, ∑ i, P i x = x := by |
| 104 | intro x |
| 105 | simp_rw [hext] |
| 106 | exact ScalarConjugate.CM.Extension.sum_extendedProjector C U TA χ hS x |
| 107 | have hid : ∀ i, (P i).comp (P i) = P i := by |
| 108 | intro i |
| 109 | have ha : Q i * Q i = Q i := HeckeCharacters.CM.Projectors.projector_idempotent S hS i |
| 110 | have he := congrArg (ScalarConjugate.CM.Extension.extendEnd C U) ha |
| 111 | rw [map_mul] at he |
| 112 | simpa only [hext, ScalarConjugate.CM.Extension.extendedProjector, Q, S, Module.End.mul_eq_comp] using he |
| 113 | have hh : ∀ i, P i ∈ ComplexMultiplication.Hodge.MapDescent.CM.hodgeHomSubspace H H := by |
| 114 | intro i |
| 115 | rw [hext] |
| 116 | apply ScalarConjugate.CM.Extension.extendedProjector_hodge C U TA χ hS hTA Subtype.val_injective H |
| 117 | intro j |
| 118 | rw [ScalarConjugate.CM.Extension.extendEnd_rational] |
| 119 | exact (ComplexMultiplication.Hodge.MapDescent.CM.baseChange_mem_hodgeHomSubspace_iff H H (T j)).mpr (hHodge j) |
| 120 | have hr : ∀ i, LinearMap.range (P i) = |
| 121 | HeckeCharacters.CM.Projectors.jointSpace (fun j => (T j).baseChange ℂ) (fun j => (χ i j : ℂ)) := by |
| 122 | intro i |
| 123 | rw [hext, ScalarConjugate.CM.Extension.extendedProjector_range C U TA χ hS hTA Subtype.val_injective i] |
| 124 | congr 1 |
| 125 | funext j |
| 126 | exact ScalarConjugate.CM.Extension.extendEnd_rational C U (T j) |
| 127 | have hconj : ∀ i (σ : Gal(K/ℚ)), |
| 128 | let Pσ := ComplexMultiplication.Hodge.MapDescent.CM.complexHomOfCoefficients K U U |
| 129 | (ComplexMultiplication.ScalarDescent.CM.scalarConjugate ℚ K (U →ₗ[ℚ] U) σ (p i)) |
| 130 | ∃ τ : Gal(Coefficients.CM.algebraicField/ℚ), |
| 131 | (∀ a : K, (τ (IntermediateField.inclusion (ScalarConjugate.CM.GaloisLift.le_algebraicField K) a) : ℂ) = |
| 132 | (σ a : ℂ)) ∧ Pσ ∈ ComplexMultiplication.Hodge.MapDescent.CM.hodgeHomSubspace H H ∧ |
| 133 | LinearMap.range Pσ = HeckeCharacters.CM.Projectors.jointSpace (fun j => (T j).baseChange ℂ) |
| 134 | (fun j => (τ (χ i j) : ℂ)) := by |
| 135 | intro i σ |
| 136 | obtain ⟨τ, hτ⟩ := ScalarConjugate.CM.GaloisLift.exists_algebraic_lift K σ |
| 137 | have heq : ComplexMultiplication.Hodge.MapDescent.CM.complexHomOfCoefficients K U U |
| 138 | (ComplexMultiplication.ScalarDescent.CM.scalarConjugate ℚ K (U →ₗ[ℚ] U) σ (p i)) = |
| 139 | ComplexMultiplication.Hodge.MapDescent.CM.complexHomOfCoefficients C U U |
| 140 | (ComplexMultiplication.ScalarDescent.CM.scalarConjugate ℚ C (U →ₗ[ℚ] U) τ (q i)) := |
| 141 | congrArg (ComplexMultiplication.HomBaseChange.CM.homBaseChange ℂ U U) |
| 142 | (ScalarConjugate.CM.GaloisLift.conjugate_inclusions_eq K (p i) (q i) (hp i) σ τ hτ) |
| 143 | dsimp only |
| 144 | refine ⟨τ, hτ, ?_, ?_⟩ |
| 145 | · rw [heq] |
| 146 | exact ScalarConjugate.CM.SpectralConjugation.conjugated_spectral_projector_hodge C U T hcomm χ Subtype.val_injective |
| 147 | hS H hHodge τ i |
| 148 | · rw [heq] |
| 149 | exact |
| 150 | ScalarConjugate.CM.SpectralConjugation.conjugated_spectral_projector_range C U T hcomm χ Subtype.val_injective hS τ i |
| 151 | let Active := {i : Spectrum // ∃ φ, P i (theta φ) ≠ 0} |
| 152 | let e := Fintype.equivFin Active |
| 153 | refine ⟨K, hKnumber, hKgalois, hEK, ScalarConjugate.CM.GaloisLift.le_algebraicField K, Fintype.card Active, |
| 154 | (fun i => p (e.symm i).val), (fun i => χ (e.symm i).val), |
| 155 | ?_, ?_, ?_, ?_, ?_, ?_, ?_⟩ |
| 156 | · intro i |
| 157 | exact hid (e.symm i).val |
| 158 | · intro i |
| 159 | exact Coefficients.CM.extended_range_eq_conjugateSpace K (p (e.symm i).val) |
| 160 | · intro i |
| 161 | exact hh (e.symm i).val |
| 162 | · intro i |
| 163 | exact (e.symm i).property |
| 164 | · intro φ |
| 165 | calc |
| 166 | _ = ∑ i : Active, P i.val (theta φ) := |
| 167 | Equiv.sum_comp e.symm (fun i : Active => P i.val (theta φ)) |
| 168 | _ = theta φ := sum_active_operators P hsum theta φ |
| 169 | · intro i |
| 170 | exact hr (e.symm i).val |
| 171 | · intro i σ |
| 172 | exact hconj (e.symm i).val σ |
| 173 | |
| 174 | /-- The original projector interface follows by forgetting the retained |
| 175 | algebraic characters and the explicit lifts of coefficient automorphisms. -/ |
| 176 | theorem construct_algebraic_active_projectors |
| 177 | (E : IntermediateField ℚ ℂ) [NumberField E] |
| 178 | {U J Φ : Type*} [AddCommGroup U] [Module ℚ U] |
| 179 | (H : ComplexMultiplication.WeightOne.CM.WeightOneHodgeStructure U) (T : J → Module.End ℚ U) |
| 180 | (hcomm : ∀ j k, Commute (T j) (T k)) |
| 181 | (hHodge : ∀ j, ComplexMultiplication.WeightOne.CM.IsHodgeMap H H (T j)) |
| 182 | (theta : Φ → ComplexMultiplication.WeightOne.CM.Complexification U) : |
| 183 | ∃ K : IntermediateField ℚ ℂ, NumberField K ∧ IsGalois ℚ K ∧ E ≤ K ∧ |
| 184 | ∃ (n : ℕ) (p : Fin n → K ⊗[ℚ] (U →ₗ[ℚ] U)), |
| 185 | let P := fun i => ComplexMultiplication.Hodge.MapDescent.CM.complexHomOfCoefficients K U U (p i) |
| 186 | let A := fun i => LinearMap.range (ComplexMultiplication.HomBaseChange.CM.homBaseChange K U U (p i)) |
| 187 | (∀ i, (P i).comp (P i) = P i) ∧ |
| 188 | (∀ i, LinearMap.range (P i) = CMExtraction.Definitions.CM.conjugateSpace K (A i) 1) ∧ |
| 189 | (∀ i, P i ∈ ComplexMultiplication.Hodge.MapDescent.CM.hodgeHomSubspace H H) ∧ |
| 190 | (∀ i, ∃ φ, P i (theta φ) ≠ 0) ∧ |
| 191 | (∀ φ, ∑ i, P i (theta φ) = theta φ) ∧ |
| 192 | (∀ i, ∃ χ : J → ℂ, |
| 193 | LinearMap.range (P i) = HeckeCharacters.CM.Projectors.jointSpace (fun j => (T j).baseChange ℂ) χ) ∧ |
| 194 | (∀ i (σ : Gal(K/ℚ)), |
| 195 | let Pσ := ComplexMultiplication.Hodge.MapDescent.CM.complexHomOfCoefficients K U U |
| 196 | (ComplexMultiplication.ScalarDescent.CM.scalarConjugate ℚ K (U →ₗ[ℚ] U) σ (p i)) |
| 197 | Pσ ∈ ComplexMultiplication.Hodge.MapDescent.CM.hodgeHomSubspace H H ∧ |
| 198 | ∃ χ : J → ℂ, LinearMap.range Pσ = |
| 199 | HeckeCharacters.CM.Projectors.jointSpace (fun j => (T j).baseChange ℂ) χ) := by |
| 200 | obtain ⟨K, hK, hGal, hEK, _hKalg, n, p, χ, hid, hr, hh, hocc, hsum, hχ, hconj⟩ := |
| 201 | construct_algebraic_active_projectors_with_characters E H T hcomm hHodge theta |
| 202 | refine ⟨K, hK, hGal, hEK, n, p, hid, hr, hh, hocc, hsum, ?_, ?_⟩ |
| 203 | · intro i |
| 204 | exact ⟨fun j => (χ i j : ℂ), hχ i⟩ |
| 205 | · intro i σ |
| 206 | obtain ⟨τ, _, hH, hR⟩ := hconj i σ |
| 207 | exact ⟨hH, fun j => (τ (χ i j) : ℂ), hR⟩ |
| 208 | |
| 209 | end |
| 210 | |
| 211 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Projectors.CM |