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.CharacterAverageIdempotents |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Regular.TranslationRepresentation |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CharacterProjectionRange |
| 4 | |
| 5 | /-! # Character Averages -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Regular.CharacterAverages |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The basis-independent character average on regular functions is exactly the explicit rank-one character projector. -/ |
| 12 | universe u v w |
| 13 | variable (K : Type u) [Field K] (G : Type v) [CommGroup G] [Fintype G] |
| 14 | [HasEnoughRootsOfUnity K (Monoid.exponent G)] |
| 15 | (R : Type w) [CommRing R] [Algebra K R] |
| 16 | |
| 17 | def regularCharacterAverage (χ : G →* Kˣ) : Module.End R (G → R) := |
| 18 | CharacterWeightedOperators.characterAverageOperator K G (Module.End R (G → R)) (TranslationRepresentation.regularTranslationRepresentation R G) χ |
| 19 | |
| 20 | theorem regularCharacterAverage_eq_projector (χ : G →* Kˣ) (hG : (Fintype.card G : K) ≠ 0) : |
| 21 | regularCharacterAverage K G R χ = CharacterProjectors.regularCharacterProjector K G R χ := by |
| 22 | classical |
| 23 | apply (CharacterAlgebraBasis.finiteAbelianCharacterAlgebraBasis K G R).ext |
| 24 | intro ψ |
| 25 | have h := CharacterAverageIdempotents.characterAverageOperator_mul_eigen K G (Module.End R (G → R)) |
| 26 | (TranslationRepresentation.regularTranslationRepresentation R G) χ ψ (CharacterProjectors.regularCharacterProjector K G R ψ) hG |
| 27 | (TranslationRepresentation.regularTranslation_characterProjector K G R ψ) |
| 28 | have hv := congrArg (fun t : Module.End R (G → R) => t (CharacterAlgebraBasis.finiteAbelianCharacterAlgebraBasis K G R ψ)) h |
| 29 | by_cases hψ : ψ = χ |
| 30 | · simpa [regularCharacterAverage, Module.End.mul_apply, CharacterProjectors.regularCharacterProjector_basis, hψ] using hv |
| 31 | · simpa [regularCharacterAverage, Module.End.mul_apply, CharacterProjectors.regularCharacterProjector_basis, hψ] using hv |
| 32 | |
| 33 | def regularCharacterAverageRangeEquiv (χ : G →* Kˣ) (hG : (Fintype.card G : K) ≠ 0) : |
| 34 | (regularCharacterAverage K G R χ).range ≃ₗ[R] R := |
| 35 | LinearEquiv.ofEq _ _ (congrArg LinearMap.range (regularCharacterAverage_eq_projector K G R χ hG)) ≪≫ₗ |
| 36 | CharacterProjectionRange.regularCharacterProjectorRangeEquiv K G R χ |
| 37 | |
| 38 | end |
| 39 | |
| 40 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Regular.CharacterAverages |