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.HeckeCharacters |
| 2 | |
| 3 | /-! # Coefficient Occurrence -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.CoefficientOccurrence.Spectral |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A coefficient-field equivalence transports every simultaneous |
| 10 | generalized eigencondition on the same rational vector space. -/ |
| 11 | |
| 12 | open scoped TensorProduct |
| 13 | |
| 14 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.HeckeCharacters.CM.Projectors |
| 15 | |
| 16 | variable {F G U : Type*} [Field F] [Field G] [Algebra ℚ F] [Algebra ℚ G] |
| 17 | [AddCommGroup U] [Module ℚ U] |
| 18 | |
| 19 | def coefficientEquiv (e : F ≃ₐ[ℚ] G) : F ⊗[ℚ] U ≃ₗ[ℚ] G ⊗[ℚ] U := |
| 20 | TensorProduct.congr e.toLinearEquiv (LinearEquiv.refl ℚ U) |
| 21 | |
| 22 | theorem coefficientEquiv_smul (e : F ≃ₐ[ℚ] G) (c : F) (x : F ⊗[ℚ] U) : |
| 23 | coefficientEquiv e (c • x) = e c • coefficientEquiv e x := by |
| 24 | induction x using TensorProduct.inductionOn with |
| 25 | | tmul a u => |
| 26 | change e (c * a) ⊗ₜ[ℚ] u = (e c * e a) ⊗ₜ[ℚ] u |
| 27 | rw [map_mul] |
| 28 | | add x y hx hy => simp only [smul_add, map_add, hx, hy] |
| 29 | |
| 30 | theorem coefficientEquiv_baseChange (e : F ≃ₐ[ℚ] G) (T : Module.End ℚ U) |
| 31 | (x : F ⊗[ℚ] U) : |
| 32 | coefficientEquiv e (T.baseChange F x) = T.baseChange G (coefficientEquiv e x) := by |
| 33 | induction x using TensorProduct.inductionOn with |
| 34 | | tmul c u => rfl |
| 35 | | add x y hx hy => simp only [map_add, hx, hy] |
| 36 | |
| 37 | theorem coefficientEquiv_shift_power (e : F ≃ₐ[ℚ] G) (T : Module.End ℚ U) |
| 38 | (a : F) (n : ℕ) (x : F ⊗[ℚ] U) : |
| 39 | coefficientEquiv e (((T.baseChange F - a • 1) ^ n) x) = |
| 40 | ((T.baseChange G - e a • 1) ^ n) (coefficientEquiv e x) := by |
| 41 | induction n with |
| 42 | | zero => simp only [pow_zero, Module.End.one_apply] |
| 43 | | succ n hn => |
| 44 | simp only [pow_succ', Module.End.mul_apply, LinearMap.sub_apply, |
| 45 | LinearMap.smul_apply, Module.End.one_apply, map_sub, |
| 46 | coefficientEquiv_baseChange, coefficientEquiv_smul, hn] |
| 47 | |
| 48 | theorem coefficientEquiv_jointSpace {J : Type*} (e : F ≃ₐ[ℚ] G) |
| 49 | (T : J → Module.End ℚ U) (χ : J → F) {x : F ⊗[ℚ] U} |
| 50 | (hx : x ∈ HeckeCycles.HeckeCharacters.CM.Projectors.jointSpace (fun h => (T h).baseChange F) χ) : |
| 51 | coefficientEquiv e x ∈ HeckeCycles.HeckeCharacters.CM.Projectors.jointSpace (fun h => (T h).baseChange G) (fun h => e (χ h)) := by |
| 52 | simp only [HeckeCycles.HeckeCharacters.CM.Projectors.jointSpace, Submodule.mem_iInf] at hx ⊢ |
| 53 | intro h |
| 54 | obtain ⟨n, hn, hx⟩ := Module.End.mem_genEigenspace.mp (hx h) |
| 55 | refine Module.End.mem_genEigenspace.mpr ⟨n, hn, ?_⟩ |
| 56 | change (((T h).baseChange G - e (χ h) • 1) ^ n) (coefficientEquiv e x) = 0 |
| 57 | rw [← coefficientEquiv_shift_power, LinearMap.mem_ker.mp hx, map_zero] |
| 58 | |
| 59 | theorem coefficientEquiv_occurrence {J : Type*} (e : F ≃ₐ[ℚ] G) |
| 60 | (T : J → Module.End ℚ U) (χ : J → F) |
| 61 | (hχ : HeckeCycles.HeckeCharacters.CM.Projectors.jointSpace (fun h => (T h).baseChange F) χ ≠ ⊥) : |
| 62 | HeckeCycles.HeckeCharacters.CM.Projectors.jointSpace (fun h => (T h).baseChange G) (fun h => e (χ h)) ≠ ⊥ := by |
| 63 | obtain ⟨x, hx, hx0⟩ := Submodule.exists_mem_ne_zero_of_ne_bot hχ |
| 64 | apply (Submodule.ne_bot_iff _).mpr |
| 65 | exact ⟨coefficientEquiv e x, coefficientEquiv_jointSpace e T χ hx, |
| 66 | fun hz => hx0 ((coefficientEquiv e).injective (hz.trans (map_zero _).symm))⟩ |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.CoefficientOccurrence.Spectral |