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 Mathlib.LinearAlgebra.Dual.Lemmas |
| 2 | import Mathlib.LinearAlgebra.Finsupp.LSum |
| 3 | |
| 4 | /-! # Coordinate Transform -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Dual.CoordinateTransform |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A linear change of point coordinates induces the contragredient |
| 11 | change of section coefficients. The actual dual pairing fixes the |
| 12 | transpose convention used by the projective-coordinate action. -/ |
| 13 | universe u v |
| 14 | variable {R : Type u} [CommRing R] {ι : Type v} [Fintype ι] |
| 15 | |
| 16 | def pointCoordinateDualTransform (T : (ι → R) ≃ₗ[R] (ι → R)) : |
| 17 | Module.Dual R (ι →₀ R) ≃ₗ[R] Module.Dual R (ι →₀ R) := |
| 18 | (Finsupp.llift R R R ι).symm.trans (T.trans (Finsupp.llift R R R ι)) |
| 19 | |
| 20 | def pointCoordinateCoefficientTransform (T : (ι → R) ≃ₗ[R] (ι → R)) : |
| 21 | (ι →₀ R) ≃ₗ[R] (ι →₀ R) := |
| 22 | (Module.evalEquiv R (ι →₀ R)).trans |
| 23 | ((pointCoordinateDualTransform T).dualMap.trans (Module.evalEquiv R (ι →₀ R)).symm) |
| 24 | |
| 25 | theorem pointCoordinateCoefficientTransform_pairing |
| 26 | (T : (ι → R) ≃ₗ[R] (ι → R)) (φ : Module.Dual R (ι →₀ R)) (a : ι →₀ R) : |
| 27 | φ (pointCoordinateCoefficientTransform T a) = pointCoordinateDualTransform T φ a := by |
| 28 | change φ ((Module.evalEquiv R (ι →₀ R)).symm |
| 29 | ((pointCoordinateDualTransform T).dualMap (Module.evalEquiv R (ι →₀ R) a))) = _ |
| 30 | rw [Module.apply_evalEquiv_symm_apply] |
| 31 | rfl |
| 32 | |
| 33 | theorem pointCoordinateCoefficientTransform_values |
| 34 | (T : (ι → R) ≃ₗ[R] (ι → R)) (v : ι → R) (i : ι) : |
| 35 | (Finsupp.llift R R R ι v) |
| 36 | (pointCoordinateCoefficientTransform T (Finsupp.single i 1)) = T v i := by |
| 37 | rw [pointCoordinateCoefficientTransform_pairing] |
| 38 | change (Finsupp.llift R R R ι |
| 39 | (T ((Finsupp.llift R R R ι).symm (Finsupp.llift R R R ι v)))) (Finsupp.single i 1) = _ |
| 40 | rw [LinearEquiv.symm_apply_apply] |
| 41 | exact congrFun ((Finsupp.llift R R R ι).symm_apply_apply (T v)) i |
| 42 | |
| 43 | end |
| 44 | |
| 45 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Dual.CoordinateTransform |