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.Projectors |
| 2 | |
| 3 | /-! # Commuting Projectors -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.CommutingProjectors.Spectral |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Construct the actual algebraic spectral projectors while retaining |
| 10 | commutation with every rational Hecke operator, together with the full |
| 11 | coefficient-field, Hodge, character, and Galois-conjugation conclusions. -/ |
| 12 | |
| 13 | open scoped Classical TensorProduct BigOperators |
| 14 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.HeckeCharacters.CM.Projectors |
| 15 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Coefficients.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ScalarConjugate.CM.Extension |
| 16 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ScalarConjugate.CM.GaloisLift OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ScalarConjugate.CM.SpectralConjugation |
| 17 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Projectors.CM |
| 18 | |
| 19 | theorem construct_commuting_algebraic_projectors |
| 20 | (E : IntermediateField ℚ ℂ) [NumberField E] |
| 21 | {U J Φ : Type*} [AddCommGroup U] [Module ℚ U] |
| 22 | (H : ComplexMultiplication.WeightOne.CM.WeightOneHodgeStructure U) (T : J → Module.End ℚ U) |
| 23 | (hcomm : ∀ j k, Commute (T j) (T k)) |
| 24 | (hHodge : ∀ j, ComplexMultiplication.WeightOne.CM.IsHodgeMap H H (T j)) |
| 25 | (theta : Φ → ComplexMultiplication.WeightOne.CM.Complexification U) : |
| 26 | ∃ K : IntermediateField ℚ ℂ, NumberField K ∧ IsGalois ℚ K ∧ E ≤ K ∧ |
| 27 | ∃ (hKalg : K ≤ HeckeCycles.Coefficients.CM.algebraicField) (n : ℕ) (p : Fin n → K ⊗[ℚ] (U →ₗ[ℚ] U)) |
| 28 | (χ : Fin n → J → HeckeCycles.Coefficients.CM.algebraicField), |
| 29 | let P := fun i => ComplexMultiplication.Hodge.MapDescent.CM.complexHomOfCoefficients K U U (p i) |
| 30 | let A := fun i => LinearMap.range (ComplexMultiplication.HomBaseChange.CM.homBaseChange K U U (p i)) |
| 31 | (∀ i, (P i).comp (P i) = P i) ∧ |
| 32 | (∀ i, LinearMap.range (P i) = Definitions.CM.conjugateSpace K (A i) 1) ∧ |
| 33 | (∀ i, P i ∈ ComplexMultiplication.Hodge.MapDescent.CM.hodgeHomSubspace H H) ∧ |
| 34 | (∀ i j, Commute (P i) ((T j).baseChange ℂ)) ∧ |
| 35 | (∀ i, ∃ φ, P i (theta φ) ≠ 0) ∧ |
| 36 | (∀ φ, ∑ i, P i (theta φ) = theta φ) ∧ |
| 37 | (∀ i, LinearMap.range (P i) = HeckeCycles.HeckeCharacters.CM.Projectors.jointSpace (fun j => (T j).baseChange ℂ) |
| 38 | (fun j => (χ i j : ℂ))) ∧ |
| 39 | (∀ i (σ : Gal(K/ℚ)), |
| 40 | let Pσ := ComplexMultiplication.Hodge.MapDescent.CM.complexHomOfCoefficients K U U |
| 41 | (ComplexMultiplication.ScalarDescent.CM.scalarConjugate ℚ K (U →ₗ[ℚ] U) σ (p i)) |
| 42 | ∃ τ : Gal(HeckeCycles.Coefficients.CM.algebraicField/ℚ), |
| 43 | (∀ a : K, (τ (IntermediateField.inclusion hKalg a) : ℂ) = |
| 44 | (σ a : ℂ)) ∧ Pσ ∈ ComplexMultiplication.Hodge.MapDescent.CM.hodgeHomSubspace H H ∧ |
| 45 | LinearMap.range Pσ = HeckeCycles.HeckeCharacters.CM.Projectors.jointSpace (fun j => (T j).baseChange ℂ) |
| 46 | (fun j => (τ (χ i j) : ℂ))) := by |
| 47 | let : FiniteDimensional ℚ U := H.finiteDimensional |
| 48 | let C := HeckeCycles.Coefficients.CM.algebraicField |
| 49 | let TA : J → Module.End C (C ⊗[ℚ] U) := fun j => (T j).baseChange C |
| 50 | have hTA : ∀ j k, Commute (TA j) (TA k) := by |
| 51 | intro j k |
| 52 | change (T j).baseChange C * (T k).baseChange C = |
| 53 | (T k).baseChange C * (T j).baseChange C |
| 54 | simpa only [LinearMap.baseChange_mul] using |
| 55 | congrArg (fun f : Module.End ℚ U => f.baseChange C) (hcomm j k).eq |
| 56 | obtain ⟨hfinite, hinternal⟩ := HeckeCycles.HeckeCharacters.CM.Projectors.joint_finite_and_internal TA hTA |
| 57 | let Spectrum := {χ : J → C // HeckeCycles.HeckeCharacters.CM.Projectors.jointSpace TA χ ≠ ⊥} |
| 58 | let : Fintype Spectrum := hfinite.fintype |
| 59 | let χ : Spectrum → J → C := fun i => i.val |
| 60 | let S : Spectrum → Submodule C (C ⊗[ℚ] U) := fun i => HeckeCycles.HeckeCharacters.CM.Projectors.jointSpace TA (χ i) |
| 61 | have hS : DirectSum.IsInternal S := |
| 62 | DirectSum.isInternal_submodule_of_iSupIndep_of_iSup_eq_top |
| 63 | hinternal.submodule_iSupIndep hinternal.submodule_iSup_eq_top |
| 64 | let Q : Spectrum → Module.End C (C ⊗[ℚ] U) := HeckeCycles.HeckeCharacters.CM.Projectors.projector S hS |
| 65 | let q : Spectrum → C ⊗[ℚ] (U →ₗ[ℚ] U) := |
| 66 | fun i => (ComplexMultiplication.HomBaseChange.CM.homBaseChangeEquiv C U U).symm (Q i) |
| 67 | obtain ⟨K, hKnumber, hKgalois, hEK, hlift⟩ := HeckeCycles.Coefficients.CM.finite_galois_field_for_tensors E C q |
| 68 | let : NumberField K := hKnumber |
| 69 | choose p hp using hlift |
| 70 | let P : Spectrum → Module.End ℂ (ComplexMultiplication.WeightOne.CM.Complexification U) := |
| 71 | fun i => ComplexMultiplication.Hodge.MapDescent.CM.complexHomOfCoefficients K U U (p i) |
| 72 | have hext : ∀ i, P i = HeckeCycles.ScalarConjugate.CM.Extension.extendedProjector C U TA χ hS i := by |
| 73 | intro i |
| 74 | change ComplexMultiplication.HomBaseChange.CM.homBaseChange ℂ U U (ComplexMultiplication.EmbeddingCoefficientField.CM.coefficientInclusion K (U →ₗ[ℚ] U) (p i)) = |
| 75 | HeckeCycles.ScalarConjugate.CM.Extension.extendEnd C U (Q i) |
| 76 | rw [hp i] |
| 77 | exact (HeckeCycles.ScalarConjugate.CM.Extension.extendEnd_eq_complexHom C U (Q i)).symm |
| 78 | have hsum : ∀ x, ∑ i, P i x = x := by |
| 79 | intro x |
| 80 | simp_rw [hext] |
| 81 | exact HeckeCycles.ScalarConjugate.CM.Extension.sum_extendedProjector C U TA χ hS x |
| 82 | have hid : ∀ i, (P i).comp (P i) = P i := by |
| 83 | intro i |
| 84 | have ha : Q i * Q i = Q i := HeckeCycles.HeckeCharacters.CM.Projectors.projector_idempotent S hS i |
| 85 | have he := congrArg (HeckeCycles.ScalarConjugate.CM.Extension.extendEnd C U) ha |
| 86 | rw [map_mul] at he |
| 87 | simpa only [hext, HeckeCycles.ScalarConjugate.CM.Extension.extendedProjector, Q, S, Module.End.mul_eq_comp] using he |
| 88 | have hh : ∀ i, P i ∈ ComplexMultiplication.Hodge.MapDescent.CM.hodgeHomSubspace H H := by |
| 89 | intro i |
| 90 | rw [hext] |
| 91 | apply HeckeCycles.ScalarConjugate.CM.Extension.extendedProjector_hodge C U TA χ hS hTA Subtype.val_injective H |
| 92 | intro j |
| 93 | rw [HeckeCycles.ScalarConjugate.CM.Extension.extendEnd_rational] |
| 94 | exact (ComplexMultiplication.Hodge.MapDescent.CM.baseChange_mem_hodgeHomSubspace_iff H H (T j)).mpr (hHodge j) |
| 95 | have hr : ∀ i, LinearMap.range (P i) = |
| 96 | HeckeCycles.HeckeCharacters.CM.Projectors.jointSpace (fun j => (T j).baseChange ℂ) (fun j => (χ i j : ℂ)) := by |
| 97 | intro i |
| 98 | rw [hext, HeckeCycles.ScalarConjugate.CM.Extension.extendedProjector_range C U TA χ hS hTA Subtype.val_injective i] |
| 99 | congr 1 |
| 100 | funext j |
| 101 | exact HeckeCycles.ScalarConjugate.CM.Extension.extendEnd_rational C U (T j) |
| 102 | have hconj : ∀ i (σ : Gal(K/ℚ)), |
| 103 | let Pσ := ComplexMultiplication.Hodge.MapDescent.CM.complexHomOfCoefficients K U U |
| 104 | (ComplexMultiplication.ScalarDescent.CM.scalarConjugate ℚ K (U →ₗ[ℚ] U) σ (p i)) |
| 105 | ∃ τ : Gal(HeckeCycles.Coefficients.CM.algebraicField/ℚ), |
| 106 | (∀ a : K, (τ (IntermediateField.inclusion (HeckeCycles.ScalarConjugate.CM.GaloisLift.le_algebraicField K) a) : ℂ) = |
| 107 | (σ a : ℂ)) ∧ Pσ ∈ ComplexMultiplication.Hodge.MapDescent.CM.hodgeHomSubspace H H ∧ |
| 108 | LinearMap.range Pσ = HeckeCycles.HeckeCharacters.CM.Projectors.jointSpace (fun j => (T j).baseChange ℂ) |
| 109 | (fun j => (τ (χ i j) : ℂ)) := by |
| 110 | intro i σ |
| 111 | obtain ⟨τ, hτ⟩ := HeckeCycles.ScalarConjugate.CM.GaloisLift.exists_algebraic_lift K σ |
| 112 | have heq : ComplexMultiplication.Hodge.MapDescent.CM.complexHomOfCoefficients K U U |
| 113 | (ComplexMultiplication.ScalarDescent.CM.scalarConjugate ℚ K (U →ₗ[ℚ] U) σ (p i)) = |
| 114 | ComplexMultiplication.Hodge.MapDescent.CM.complexHomOfCoefficients C U U |
| 115 | (ComplexMultiplication.ScalarDescent.CM.scalarConjugate ℚ C (U →ₗ[ℚ] U) τ (q i)) := |
| 116 | congrArg (ComplexMultiplication.HomBaseChange.CM.homBaseChange ℂ U U) |
| 117 | (HeckeCycles.ScalarConjugate.CM.GaloisLift.conjugate_inclusions_eq K (p i) (q i) (hp i) σ τ hτ) |
| 118 | dsimp only |
| 119 | refine ⟨τ, hτ, ?_, ?_⟩ |
| 120 | · rw [heq] |
| 121 | exact HeckeCycles.ScalarConjugate.CM.SpectralConjugation.conjugated_spectral_projector_hodge C U T hcomm χ Subtype.val_injective |
| 122 | hS H hHodge τ i |
| 123 | · rw [heq] |
| 124 | exact |
| 125 | HeckeCycles.ScalarConjugate.CM.SpectralConjugation.conjugated_spectral_projector_range C U T hcomm χ Subtype.val_injective hS τ i |
| 126 | have hPc : ∀ i j, Commute (P i) ((T j).baseChange ℂ) := by |
| 127 | intro i j |
| 128 | have h := HeckeCycles.ScalarConjugate.CM.Extension.extendedProjector_commutes C U TA χ hS hTA i j |
| 129 | rw [← hext i, HeckeCycles.ScalarConjugate.CM.Extension.extendEnd_rational] at h |
| 130 | exact h |
| 131 | let Active := {i : Spectrum // ∃ φ, P i (theta φ) ≠ 0} |
| 132 | let e := Fintype.equivFin Active |
| 133 | refine ⟨K, hKnumber, hKgalois, hEK, HeckeCycles.ScalarConjugate.CM.GaloisLift.le_algebraicField K, Fintype.card Active, |
| 134 | (fun i => p (e.symm i).val), (fun i => χ (e.symm i).val), |
| 135 | ?_, ?_, ?_, ?_, ?_, ?_, ?_, ?_⟩ |
| 136 | · intro i |
| 137 | exact hid (e.symm i).val |
| 138 | · intro i |
| 139 | exact HeckeCycles.Coefficients.CM.extended_range_eq_conjugateSpace K (p (e.symm i).val) |
| 140 | · intro i |
| 141 | exact hh (e.symm i).val |
| 142 | · intro i j |
| 143 | exact hPc (e.symm i).val j |
| 144 | · intro i |
| 145 | exact (e.symm i).property |
| 146 | · intro φ |
| 147 | calc |
| 148 | _ = ∑ i : Active, P i.val (theta φ) := |
| 149 | Equiv.sum_comp e.symm (fun i : Active => P i.val (theta φ)) |
| 150 | _ = theta φ := HeckeCycles.Projectors.CM.sum_active_operators P hsum theta φ |
| 151 | · intro i |
| 152 | exact hr (e.symm i).val |
| 153 | · intro i σ |
| 154 | exact hconj (e.symm i).val σ |
| 155 | |
| 156 | end |
| 157 | |
| 158 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.CommutingProjectors.Spectral |