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.ProjectiveTorusData |
| 2 | |
| 3 | /-! # Period Duality -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMVariety.PeriodDuality.CM.Abelian |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Rational lattice characters and the covectors induced by the polarization. -/ |
| 10 | |
| 11 | open scoped TensorProduct |
| 12 | |
| 13 | variable {U ι : Type} [AddCommGroup U] [Module ℚ U] |
| 14 | [Fintype ι] [DecidableEq ι] (b : Module.Basis ι ℚ U) |
| 15 | (H : ComplexMultiplication.WeightOne.CM.WeightOneHodgeStructure U) |
| 16 | |
| 17 | def genericLatticeBasis : Module.Basis ι ℤ (ProjectiveTorusData.CM.Abelian.genericPeriodLattice b H) := |
| 18 | (ProjectiveTorusData.CM.Abelian.genericPeriodBasis b H).restrictScalars ℤ |
| 19 | |
| 20 | /-- The rational dual is identified with rational-valued characters on the actual lattice. -/ |
| 21 | def genericLatticeDualEquiv : Module.Dual ℚ U ≃ₗ[ℚ] |
| 22 | (ProjectiveTorusData.CM.Abelian.genericPeriodLattice b H →ₗ[ℤ] ℚ) where |
| 23 | toFun f := (genericLatticeBasis b H).constr ℤ (fun i => f (b i)) |
| 24 | invFun χ := b.constr ℚ (fun i => χ (genericLatticeBasis b H i)) |
| 25 | left_inv f := by |
| 26 | apply b.ext |
| 27 | intro i |
| 28 | simp |
| 29 | right_inv χ := by |
| 30 | apply (genericLatticeBasis b H).ext |
| 31 | intro i |
| 32 | simp |
| 33 | map_add' f g := by |
| 34 | apply (genericLatticeBasis b H).ext |
| 35 | intro i |
| 36 | simp only [Module.Basis.constr_basis, LinearMap.add_apply] |
| 37 | map_smul' q f := by |
| 38 | apply (genericLatticeBasis b H).ext |
| 39 | intro i |
| 40 | simp |
| 41 | |
| 42 | theorem genericLatticeDualEquiv_basis (f : Module.Dual ℚ U) (i : ι) : |
| 43 | genericLatticeDualEquiv b H f (genericLatticeBasis b H i) = f (b i) := |
| 44 | (genericLatticeBasis b H).constr_basis ℤ _ i |
| 45 | |
| 46 | def polarizationDualEquiv (P : ComplexMultiplication.CM.Polarization.WeightOnePolarization H) : U ≃ₗ[ℚ] Module.Dual ℚ U := by |
| 47 | let : Module.Finite ℚ U := H.finiteDimensional |
| 48 | exact P.form.toDual P.nondegenerate |
| 49 | |
| 50 | def genericPeriodRealVector : ProjectiveTorusData.CM.Abelian.GenericPeriodSpace H →ₗ[ℝ] ComplexMultiplication.WeightOne.CM.Complexification U := |
| 51 | (PeriodSpace.CM.Abelian.realPeriodSpace U).subtype.comp |
| 52 | ((PeriodSpace.CM.Abelian.periodRealEquiv H).symm.toLinearMap.comp |
| 53 | ((ProjectiveTorusData.CM.Abelian.periodComplexEquiv H).symm.restrictScalars ℝ).toLinearMap) |
| 54 | |
| 55 | theorem genericPeriodRealVector_apply (v : ProjectiveTorusData.CM.Abelian.GenericPeriodSpace H) : |
| 56 | genericPeriodRealVector H v = |
| 57 | ((ProjectiveTorusData.CM.Abelian.periodComplexEquiv H).symm v : ComplexMultiplication.WeightOne.CM.Complexification U) + |
| 58 | ComplexMultiplication.WeightOne.CM.coefficientConjugation U ((ProjectiveTorusData.CM.Abelian.periodComplexEquiv H).symm v) := |
| 59 | PeriodSpace.CM.Abelian.periodRealEquiv_symm_coe H _ |
| 60 | |
| 61 | theorem genericPeriodRealVector_basis (i : ι) : |
| 62 | genericPeriodRealVector H (ProjectiveTorusData.CM.Abelian.genericPeriodBasis b H i) = (1 : ℂ) ⊗ₜ[ℚ] b i := |
| 63 | ProjectiveTorusData.CM.Abelian.genericPeriodBasis_realVector b i |
| 64 | |
| 65 | variable {H} (P : ComplexMultiplication.CM.Polarization.WeightOnePolarization H) |
| 66 | |
| 67 | /-- Pairing with real period vectors gives the actual invariant covector. -/ |
| 68 | def polarizedPeriodCovector (x : ComplexMultiplication.WeightOne.CM.Complexification U) : ProjectiveTorusData.CM.Abelian.GenericPeriodSpace H →L[ℝ] ℂ := |
| 69 | (((P.form.baseChange ℂ x).restrictScalars ℝ).comp |
| 70 | (genericPeriodRealVector H)).toContinuousLinearMap |
| 71 | |
| 72 | theorem polarizedPeriodCovector_apply (x : ComplexMultiplication.WeightOne.CM.Complexification U) (v : ProjectiveTorusData.CM.Abelian.GenericPeriodSpace H) : |
| 73 | polarizedPeriodCovector P x v = P.form.baseChange ℂ x (genericPeriodRealVector H v) := rfl |
| 74 | |
| 75 | theorem polarizedPeriodCovector_basis (x : ComplexMultiplication.WeightOne.CM.Complexification U) (i : ι) : |
| 76 | polarizedPeriodCovector P x (ProjectiveTorusData.CM.Abelian.genericPeriodBasis b H i) = |
| 77 | P.form.baseChange ℂ x ((1 : ℂ) ⊗ₜ[ℚ] b i) := by |
| 78 | rw [polarizedPeriodCovector_apply, genericPeriodRealVector_basis] |
| 79 | |
| 80 | theorem polarizedPeriodCovector_holomorphic (x : ComplexMultiplication.WeightOne.CM.Complexification U) |
| 81 | (hx : x ∈ H.holomorphic) : |
| 82 | ∃ L : ProjectiveTorusData.CM.Abelian.GenericPeriodSpace H →L[ℂ] ℂ, polarizedPeriodCovector P x = L.restrictScalars ℝ := by |
| 83 | let L : ProjectiveTorusData.CM.Abelian.GenericPeriodSpace H →ₗ[ℂ] ℂ := |
| 84 | (P.form.baseChange ℂ x).comp |
| 85 | (H.antiholomorphic.subtype.comp (ProjectiveTorusData.CM.Abelian.periodComplexEquiv H).symm.toLinearMap) |
| 86 | refine ⟨L.toContinuousLinearMap, ?_⟩ |
| 87 | ext v |
| 88 | rw [polarizedPeriodCovector_apply, genericPeriodRealVector_apply, map_add, |
| 89 | P.holomorphic_isotropic x hx _ (PeriodSpace.CM.Abelian.conjugate_antiholomorphic_mem H _), add_zero] |
| 90 | rfl |
| 91 | |
| 92 | /-- Complex linearity detects the original holomorphic summand. -/ |
| 93 | theorem polarizedPeriodCovector_complexLinear_iff (x : ComplexMultiplication.WeightOne.CM.Complexification U) : |
| 94 | (∃ L : ProjectiveTorusData.CM.Abelian.GenericPeriodSpace H →L[ℂ] ℂ, |
| 95 | polarizedPeriodCovector P x = L.restrictScalars ℝ) ↔ x ∈ H.holomorphic := by |
| 96 | constructor |
| 97 | · rintro ⟨L, hL⟩ |
| 98 | obtain ⟨a, u, rfl, _⟩ := |
| 99 | H.holomorphic.existsUnique_add_of_isCompl H.complementary x |
| 100 | have hsm := L.map_smul Complex.I (ProjectiveTorusData.CM.Abelian.periodComplexEquiv H u) |
| 101 | have hvalue (v : ProjectiveTorusData.CM.Abelian.GenericPeriodSpace H) : |
| 102 | L v = P.form.baseChange ℂ ((a : ComplexMultiplication.WeightOne.CM.Complexification U) + u) |
| 103 | (genericPeriodRealVector H v) := |
| 104 | (congrArg (fun f : ProjectiveTorusData.CM.Abelian.GenericPeriodSpace H →L[ℝ] ℂ => f v) hL).symm |
| 105 | simp only [hvalue, genericPeriodRealVector_apply, map_smul, |
| 106 | LinearEquiv.symm_apply_apply, PeriodSpace.CM.Abelian.coefficientConjugation_complex_smul, |
| 107 | Submodule.coe_smul, smul_eq_mul, map_add] at hsm |
| 108 | have hz : P.form.baseChange ℂ ((a : ComplexMultiplication.WeightOne.CM.Complexification U) + u) |
| 109 | (ComplexMultiplication.WeightOne.CM.coefficientConjugation U u) = 0 := by |
| 110 | have he : (2 * Complex.I) * P.form.baseChange ℂ ((a : ComplexMultiplication.WeightOne.CM.Complexification U) + u) |
| 111 | (ComplexMultiplication.WeightOne.CM.coefficientConjugation U u) = 0 := by |
| 112 | simp only [map_add, LinearMap.add_apply, |
| 113 | Complex.star_def, Complex.conj_I] at hsm ⊢ |
| 114 | linear_combination -hsm |
| 115 | exact (mul_eq_zero.mp he).resolve_left (by norm_num) |
| 116 | rw [map_add, LinearMap.add_apply, |
| 117 | P.holomorphic_isotropic _ a.property _ (PeriodSpace.CM.Abelian.conjugate_antiholomorphic_mem H u), zero_add] at hz |
| 118 | have hu : u = 0 := by |
| 119 | by_contra hne |
| 120 | have hc : ComplexMultiplication.WeightOne.CM.coefficientConjugation U (u : ComplexMultiplication.WeightOne.CM.Complexification U) ≠ 0 := by |
| 121 | intro h |
| 122 | apply hne |
| 123 | apply Subtype.ext |
| 124 | change (u : ComplexMultiplication.WeightOne.CM.Complexification U) = 0 |
| 125 | have hh := congrArg (ComplexMultiplication.WeightOne.CM.coefficientConjugation U) h |
| 126 | simpa only [ComplexMultiplication.WeightOne.CM.coefficientConjugation_involutive, map_zero] using hh |
| 127 | have hp := P.hodge_positive _ (PeriodSpace.CM.Abelian.conjugate_antiholomorphic_mem H u) hc |
| 128 | rw [ComplexMultiplication.WeightOne.CM.coefficientConjugation_involutive, |
| 129 | RiemannForm.CM.Abelian.rationalAlternating_complex_skew P.form P.alternating, hz] at hp |
| 130 | norm_num at hp |
| 131 | simpa only [hu, Submodule.coe_zero, add_zero] using a.property |
| 132 | · exact polarizedPeriodCovector_holomorphic P x |
| 133 | |
| 134 | theorem genericPeriodRealVector_fixed (v : ProjectiveTorusData.CM.Abelian.GenericPeriodSpace H) : |
| 135 | ComplexMultiplication.WeightOne.CM.coefficientConjugation U (genericPeriodRealVector H v) = |
| 136 | genericPeriodRealVector H v := |
| 137 | ((PeriodSpace.CM.Abelian.periodRealEquiv H).symm ((ProjectiveTorusData.CM.Abelian.periodComplexEquiv H).symm v)).property |
| 138 | |
| 139 | theorem polarizedPeriodCovector_conjugation (x : ComplexMultiplication.WeightOne.CM.Complexification U) : |
| 140 | polarizedPeriodCovector P (ComplexMultiplication.WeightOne.CM.coefficientConjugation U x) = |
| 141 | Complex.conjCLE.toContinuousLinearMap.comp (polarizedPeriodCovector P x) := by |
| 142 | ext v |
| 143 | change P.form.baseChange ℂ (ComplexMultiplication.WeightOne.CM.coefficientConjugation U x) (genericPeriodRealVector H v) = |
| 144 | star (P.form.baseChange ℂ x (genericPeriodRealVector H v)) |
| 145 | rw [← RiemannForm.CM.Abelian.rationalBilin_conjugation, genericPeriodRealVector_fixed] |
| 146 | |
| 147 | theorem polarizedPeriodCovector_antilinear_iff (x : ComplexMultiplication.WeightOne.CM.Complexification U) : |
| 148 | (∃ L : ProjectiveTorusData.CM.Abelian.GenericPeriodSpace H →L[ℂ] ℂ, |
| 149 | polarizedPeriodCovector P x = |
| 150 | Complex.conjCLE.toContinuousLinearMap.comp (L.restrictScalars ℝ)) ↔ |
| 151 | x ∈ H.antiholomorphic := by |
| 152 | have hc : ComplexMultiplication.WeightOne.CM.coefficientConjugation U x ∈ H.holomorphic ↔ x ∈ H.antiholomorphic := by |
| 153 | simpa only [ComplexMultiplication.WeightOne.CM.coefficientConjugation_involutive] using |
| 154 | (H.conjugate_mem (ComplexMultiplication.WeightOne.CM.coefficientConjugation U x)).symm |
| 155 | rw [← hc, ← polarizedPeriodCovector_complexLinear_iff P, |
| 156 | polarizedPeriodCovector_conjugation] |
| 157 | constructor |
| 158 | · rintro ⟨L, hL⟩ |
| 159 | refine ⟨L, ?_⟩ |
| 160 | rw [hL] |
| 161 | ext v |
| 162 | exact star_star _ |
| 163 | · rintro ⟨L, hL⟩ |
| 164 | refine ⟨L, ?_⟩ |
| 165 | ext v |
| 166 | have h := congrArg (fun f : ProjectiveTorusData.CM.Abelian.GenericPeriodSpace H →L[ℝ] ℂ => star (f v)) hL |
| 167 | exact (star_star _).symm.trans h |
| 168 | |
| 169 | end |
| 170 | |
| 171 | end OAI.AlgebraicGeometry.HodgeConjecture.CMVariety.PeriodDuality.CM.Abelian |