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 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Coefficients |
| 3 | import Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure |
| 4 | |
| 5 | /-! # Characters -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Characters.CM |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Lift the actual complex Hecke eigenvalues to algebraic characters. |
| 12 | Their rational characteristic polynomials prove algebraicity. The lift |
| 13 | preserves the eigenvalues in the fixed complex embedding. -/ |
| 14 | |
| 15 | open scoped TensorProduct |
| 16 | open _root_.Module.End |
| 17 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.HeckeCharacters.CM.Projectors OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Coefficients.CM |
| 18 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.HeckeCharacters.CM |
| 19 | |
| 20 | variable {U J : Type*} [AddCommGroup U] [Module ℚ U] [FiniteDimensional ℚ U] |
| 21 | |
| 22 | theorem eigenvalues_algebraic (T : J → Module.End ℚ U) (χ : J → ℂ) |
| 23 | (hχ : HeckeCharacters.CM.Projectors.jointSpace (fun j => (T j).baseChange ℂ) χ ≠ ⊥) (j : J) : |
| 24 | IsAlgebraic ℚ (χ j) := by |
| 25 | have hn : Module.End.HasUnifEigenvalue ((T j).baseChange ℂ) (χ j) ⊤ := by |
| 26 | intro hz |
| 27 | exact hχ (eq_bot_iff.mpr ((iInf_le _ j).trans hz.le)) |
| 28 | have he : Module.End.HasEigenvalue ((T j).baseChange ℂ) (χ j) := hn.lt zero_lt_one |
| 29 | have hp := (hasEigenvalue_iff_isRoot_charpoly _ _).mp he |
| 30 | rw [LinearMap.charpoly_baseChange] at hp |
| 31 | apply IsIntegral.isAlgebraic |
| 32 | refine ⟨(T j).charpoly, LinearMap.charpoly_monic _, ?_⟩ |
| 33 | simpa only [Polynomial.IsRoot, Polynomial.eval_map, Polynomial.aeval_def] using hp |
| 34 | |
| 35 | variable {H : Type*} [CommRing H] [Algebra ℚ H] |
| 36 | |
| 37 | def complexAction (T : H →ₐ[ℚ] Module.End ℚ U) : |
| 38 | H →+* Module.End ℂ (ℂ ⊗[ℚ] U) where |
| 39 | toFun h := (T h).baseChange ℂ |
| 40 | map_one' := by simp |
| 41 | map_mul' a b := by simp only [map_mul, LinearMap.baseChange_mul] |
| 42 | map_zero' := by simp |
| 43 | map_add' a b := by simp only [map_add, LinearMap.baseChange_add] |
| 44 | |
| 45 | def algebraicCharacter (T : H →ₐ[ℚ] Module.End ℚ U) (χ : H → ℂ) |
| 46 | (hχ : HeckeCharacters.CM.Projectors.jointSpace (fun h => (T h).baseChange ℂ) χ ≠ ⊥) : |
| 47 | H →ₐ[ℚ] Coefficients.CM.algebraicField := |
| 48 | (HeckeCharacters.CM.jointCharacter (complexAction T) χ hχ).codRestrict Coefficients.CM.algebraicField.toSubalgebra |
| 49 | (fun h => mem_algebraicClosure_iff.mpr (eigenvalues_algebraic T χ hχ h)) |
| 50 | |
| 51 | theorem algebraicCharacter_apply (T : H →ₐ[ℚ] Module.End ℚ U) (χ : H → ℂ) |
| 52 | (hχ : HeckeCharacters.CM.Projectors.jointSpace (fun h => (T h).baseChange ℂ) χ ≠ ⊥) (h : H) : |
| 53 | (algebraicCharacter T χ hχ h : ℂ) = χ h := rfl |
| 54 | |
| 55 | /-- Identify the abstract algebraic closure used by GeometricComparison with the actual |
| 56 | algebraic numbers in ℂ. This choice is made once, before taking conjugates. -/ |
| 57 | def closureEquiv : AlgebraicClosure ℚ ≃ₐ[ℚ] Coefficients.CM.algebraicField := by |
| 58 | let : IsAlgClosure ℚ (AlgebraicClosure ℚ) := AlgebraicClosure.instIsAlgClosure ℚ |
| 59 | let : IsAlgClosure ℚ Coefficients.CM.algebraicField := algebraicClosure.isAlgClosure ℚ ℂ |
| 60 | exact IsAlgClosure.equiv ℚ (AlgebraicClosure ℚ) Coefficients.CM.algebraicField |
| 61 | |
| 62 | def complexEmbedding : AlgebraicClosure ℚ →ₐ[ℚ] ℂ := |
| 63 | Coefficients.CM.algebraicField.val.comp closureEquiv.toAlgHom |
| 64 | |
| 65 | def closureCharacter (T : H →ₐ[ℚ] Module.End ℚ U) (χ : H → ℂ) |
| 66 | (hχ : HeckeCharacters.CM.Projectors.jointSpace (fun h => (T h).baseChange ℂ) χ ≠ ⊥) : |
| 67 | H →ₐ[ℚ] AlgebraicClosure ℚ := |
| 68 | closureEquiv.symm.toAlgHom.comp (algebraicCharacter T χ hχ) |
| 69 | |
| 70 | theorem closureCharacter_apply (T : H →ₐ[ℚ] Module.End ℚ U) (χ : H → ℂ) |
| 71 | (hχ : HeckeCharacters.CM.Projectors.jointSpace (fun h => (T h).baseChange ℂ) χ ≠ ⊥) (h : H) : |
| 72 | complexEmbedding (closureCharacter T χ hχ h) = χ h := by |
| 73 | change (closureEquiv (closureEquiv.symm (algebraicCharacter T χ hχ h)) : ℂ) = χ h |
| 74 | rw [closureEquiv.apply_symm_apply, algebraicCharacter_apply] |
| 75 | |
| 76 | theorem closureCharacter_jointSpace (T : H →ₐ[ℚ] Module.End ℚ U) (χ : H → ℂ) |
| 77 | (hχ : HeckeCharacters.CM.Projectors.jointSpace (fun h => (T h).baseChange ℂ) χ ≠ ⊥) : |
| 78 | HeckeCharacters.CM.Projectors.jointSpace (fun h => (T h).baseChange ℂ) |
| 79 | (fun h => complexEmbedding (closureCharacter T χ hχ h)) = |
| 80 | HeckeCharacters.CM.Projectors.jointSpace (fun h => (T h).baseChange ℂ) χ := by |
| 81 | simp only [closureCharacter_apply] |
| 82 | |
| 83 | end |
| 84 | |
| 85 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Characters.CM |