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.AbelianModuli.HilbertConstruction.Regular.CharacterLines |
| 2 | |
| 3 | /-! # Character Projectors -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Regular.CharacterProjectors |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The character basis gives explicit rank-one component maps and mutually orthogonal projections summing to the identity on regular functions. -/ |
| 10 | universe u v w |
| 11 | variable (K : Type u) [Field K] (G : Type v) [CommGroup G] [Fintype G] |
| 12 | [HasEnoughRootsOfUnity K (Monoid.exponent G)] |
| 13 | (R : Type w) [CommRing R] [Algebra K R] |
| 14 | |
| 15 | def regularCharacterComponent (χ : G →* Kˣ) : (G → R) →ₗ[R] CharacterLines.regularCharacterLine K G R χ := |
| 16 | (CharacterLines.regularCharacterLineEquiv K G R χ).symm.toLinearMap.comp |
| 17 | ((CharacterAlgebraBasis.finiteAbelianCharacterAlgebraBasis K G R).coord χ) |
| 18 | |
| 19 | def regularCharacterProjector (χ : G →* Kˣ) : (G → R) →ₗ[R] (G → R) := |
| 20 | (CharacterLines.regularCharacterLine K G R χ).subtype.comp (regularCharacterComponent K G R χ) |
| 21 | |
| 22 | @[simp] |
| 23 | theorem regularCharacterProjector_apply (χ : G →* Kˣ) (v : G → R) (g : G) : |
| 24 | regularCharacterProjector K G R χ v g = |
| 25 | algebraMap K R (χ g : K) * (CharacterAlgebraBasis.finiteAbelianCharacterAlgebraBasis K G R).repr v χ := rfl |
| 26 | |
| 27 | theorem regularCharacterProjector_eq_smulBasis (χ : G →* Kˣ) (v : G → R) : |
| 28 | regularCharacterProjector K G R χ v = |
| 29 | (CharacterAlgebraBasis.finiteAbelianCharacterAlgebraBasis K G R).repr v χ • CharacterAlgebraBasis.finiteAbelianCharacterAlgebraBasis K G R χ := by |
| 30 | funext g |
| 31 | simp only [regularCharacterProjector_apply, Pi.smul_apply, smul_eq_mul, |
| 32 | CharacterAlgebraBasis.finiteAbelianCharacterAlgebraBasis_apply, mul_comm] |
| 33 | |
| 34 | @[simp] |
| 35 | theorem regularCharacterProjector_basis [DecidableEq (G →* Kˣ)] (χ ψ : G →* Kˣ) : |
| 36 | regularCharacterProjector K G R χ (CharacterAlgebraBasis.finiteAbelianCharacterAlgebraBasis K G R ψ) = |
| 37 | if ψ = χ then CharacterAlgebraBasis.finiteAbelianCharacterAlgebraBasis K G R ψ else 0 := by |
| 38 | classical |
| 39 | rw [regularCharacterProjector_eq_smulBasis, Module.Basis.repr_self_apply] |
| 40 | split_ifs with h |
| 41 | · subst ψ; exact one_smul _ _ |
| 42 | · exact zero_smul _ _ |
| 43 | |
| 44 | theorem regularCharacterProjector_idempotent (χ : G →* Kˣ) : |
| 45 | (regularCharacterProjector K G R χ).comp (regularCharacterProjector K G R χ) = |
| 46 | regularCharacterProjector K G R χ := by |
| 47 | classical |
| 48 | apply (CharacterAlgebraBasis.finiteAbelianCharacterAlgebraBasis K G R).ext |
| 49 | intro ψ |
| 50 | by_cases h : ψ = χ |
| 51 | · simp only [LinearMap.comp_apply, regularCharacterProjector_basis, ite_eq_left h] |
| 52 | · simp only [LinearMap.comp_apply, regularCharacterProjector_basis, ite_eq_right h, map_zero] |
| 53 | |
| 54 | theorem regularCharacterProjector_orthogonal (χ ψ : G →* Kˣ) (h : ψ ≠ χ) : |
| 55 | (regularCharacterProjector K G R χ).comp (regularCharacterProjector K G R ψ) = 0 := by |
| 56 | classical |
| 57 | apply (CharacterAlgebraBasis.finiteAbelianCharacterAlgebraBasis K G R).ext |
| 58 | intro η |
| 59 | by_cases hη : η = ψ |
| 60 | · subst η |
| 61 | simp [regularCharacterProjector_basis, h] |
| 62 | · simp only [LinearMap.comp_apply, regularCharacterProjector_basis, ite_eq_right hη, map_zero, LinearMap.zero_apply] |
| 63 | |
| 64 | theorem regularCharacterProjector_sum [Fintype (G →* Kˣ)] : |
| 65 | ∑ χ : G →* Kˣ, regularCharacterProjector K G R χ = LinearMap.id := by |
| 66 | apply LinearMap.ext |
| 67 | intro v |
| 68 | simp only [LinearMap.sum_apply, regularCharacterProjector_eq_smulBasis, LinearMap.id_apply, |
| 69 | Module.Basis.sum_repr] |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Regular.CharacterProjectors |