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.CMVariety.PeriodSpace |
| 2 | import Mathlib.Algebra.Module.ZLattice.Basic |
| 3 | |
| 4 | /-! # Period Coordinates Real -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMVariety.PeriodCoordinatesReal.CM.Abelian |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Real coordinates coming from a rational basis, without a CM-field action. -/ |
| 11 | |
| 12 | open scoped TensorProduct |
| 13 | |
| 14 | variable {U ι : Type*} [AddCommGroup U] [Module ℚ U] |
| 15 | [Fintype ι] [DecidableEq ι] (b : Module.Basis ι ℚ U) |
| 16 | |
| 17 | omit [Fintype ι] [DecidableEq ι] in |
| 18 | theorem complexBasis_repr_conjugate (x : ComplexMultiplication.WeightOne.CM.Complexification U) (i : ι) : |
| 19 | (b.baseChange ℂ).repr (ComplexMultiplication.WeightOne.CM.coefficientConjugation U x) i = |
| 20 | star ((b.baseChange ℂ).repr x i) := by |
| 21 | induction x using TensorProduct.inductionOn with |
| 22 | | add x y hx hy => simp only [map_add, Finsupp.add_apply, hx, hy, star_add] |
| 23 | | tmul a u => simp |
| 24 | |
| 25 | omit [Fintype ι] [DecidableEq ι] in |
| 26 | theorem complexBasis_repr_real (x : PeriodSpace.CM.Abelian.realPeriodSpace U) (i : ι) : |
| 27 | (((b.baseChange ℂ).repr (x : ComplexMultiplication.WeightOne.CM.Complexification U) i).re : ℂ) = |
| 28 | (b.baseChange ℂ).repr (x : ComplexMultiplication.WeightOne.CM.Complexification U) i := by |
| 29 | apply Complex.conj_eq_iff_re.mp |
| 30 | have hc := complexBasis_repr_conjugate b (x : ComplexMultiplication.WeightOne.CM.Complexification U) i |
| 31 | have hfixed : ComplexMultiplication.WeightOne.CM.coefficientConjugation U (x : ComplexMultiplication.WeightOne.CM.Complexification U) = x := x.property |
| 32 | rw [hfixed] at hc |
| 33 | exact hc.symm |
| 34 | |
| 35 | def realCoordinates : PeriodSpace.CM.Abelian.realPeriodSpace U →ₗ[ℝ] (ι → ℝ) where |
| 36 | toFun x i := ((b.baseChange ℂ).repr (x : ComplexMultiplication.WeightOne.CM.Complexification U) i).re |
| 37 | map_add' := by intro x y; ext i; simp |
| 38 | map_smul' := by |
| 39 | intro r x |
| 40 | ext i |
| 41 | change ((((b.baseChange ℂ).repr.restrictScalars ℝ) |
| 42 | (r • (x : ComplexMultiplication.WeightOne.CM.Complexification U))) i).re = _ |
| 43 | rw [map_smul] |
| 44 | simp |
| 45 | |
| 46 | omit [Fintype ι] [DecidableEq ι] in |
| 47 | theorem realCoordinates_injective : Function.Injective (realCoordinates b) := by |
| 48 | intro x y hxy |
| 49 | apply Subtype.ext |
| 50 | apply (b.baseChange ℂ).repr.injective |
| 51 | ext i |
| 52 | rw [← complexBasis_repr_real b x i, ← complexBasis_repr_real b y i] |
| 53 | exact congrArg (fun f : ι → ℝ => (f i : ℂ)) hxy |
| 54 | |
| 55 | def realCoordinateVector (x : ι → ℝ) : PeriodSpace.CM.Abelian.realPeriodSpace U := |
| 56 | ⟨∑ i, x i • (b.baseChange ℂ) i, by |
| 57 | change ComplexMultiplication.WeightOne.CM.coefficientConjugation U (∑ i, x i • (b.baseChange ℂ) i) = _ |
| 58 | simp only [map_sum, PeriodSpace.CM.Abelian.coefficientConjugation_real_smul, |
| 59 | Module.Basis.baseChange_apply, ComplexMultiplication.WeightOne.CM.coefficientConjugation_tmul, star_one]⟩ |
| 60 | |
| 61 | omit [DecidableEq ι] in |
| 62 | theorem realCoordinates_coordinateVector (x : ι → ℝ) : |
| 63 | realCoordinates b (realCoordinateVector b x) = x := by |
| 64 | ext i |
| 65 | simp [realCoordinates, realCoordinateVector, TensorProduct.smul_tmul', Complex.real_smul] |
| 66 | |
| 67 | def realCoordinateEquiv : PeriodSpace.CM.Abelian.realPeriodSpace U ≃ₗ[ℝ] (ι → ℝ) := |
| 68 | LinearEquiv.ofBijective (realCoordinates b) |
| 69 | ⟨realCoordinates_injective b, |
| 70 | fun x => ⟨realCoordinateVector b x, realCoordinates_coordinateVector b x⟩⟩ |
| 71 | |
| 72 | /-- A rational basis induces an actual real basis of the antiholomorphic period space. -/ |
| 73 | def periodRealBasis (H : ComplexMultiplication.WeightOne.CM.WeightOneHodgeStructure U) : |
| 74 | Module.Basis ι ℝ H.antiholomorphic := |
| 75 | (Pi.basisFun ℝ ι).map ((realCoordinateEquiv b).symm.trans (PeriodSpace.CM.Abelian.periodRealEquiv H)) |
| 76 | |
| 77 | theorem realCoordinateEquiv_symm_basis (i : ι) : |
| 78 | (((realCoordinateEquiv b).symm ((Pi.basisFun ℝ ι) i)) : ComplexMultiplication.WeightOne.CM.Complexification U) = |
| 79 | (1 : ℂ) ⊗ₜ[ℚ] b i := by |
| 80 | let x : PeriodSpace.CM.Abelian.realPeriodSpace U := ⟨(1 : ℂ) ⊗ₜ[ℚ] b i, by |
| 81 | change ComplexMultiplication.WeightOne.CM.coefficientConjugation U ((1 : ℂ) ⊗ₜ[ℚ] b i) = _ |
| 82 | simp⟩ |
| 83 | have hx : realCoordinateEquiv b x = (Pi.basisFun ℝ ι) i := by |
| 84 | ext j |
| 85 | simp [realCoordinateEquiv, realCoordinates, x, Pi.basisFun_apply, |
| 86 | Finsupp.single_apply, Pi.single_apply, apply_ite, eq_comm] |
| 87 | exact congrArg Subtype.val ((realCoordinateEquiv b).symm_apply_eq.mpr hx.symm) |
| 88 | |
| 89 | end |
| 90 | |
| 91 | end OAI.AlgebraicGeometry.HodgeConjecture.CMVariety.PeriodCoordinatesReal.CM.Abelian |