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.PeriodCoordinatesReal |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.CMVariety.RiemannForm |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.CMVariety.IntegralLattice |
| 4 | import OAI.Geometry.ComplexTorus.RiemannProjectivity.ProjectivityCriterion |
| 5 | |
| 6 | /-! # Projective Torus Data -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMVariety.ProjectiveTorusData.CM.Abelian |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | section |
| 13 | |
| 14 | /-! The compact, polarized generic period torus and the application of RiemannProjectivity. -/ |
| 15 | |
| 16 | open scoped TensorProduct |
| 17 | |
| 18 | /-- The exact generic projectivity criterion in the committed RiemannProjectivity specification. -/ |
| 19 | def RiemannProjectivityInput : Prop := |
| 20 | ∀ (V : Type) [NormedAddCommGroup V] [NormedSpace ℂ V] |
| 21 | [FiniteDimensional ℂ V] (Λ : AddSubgroup V) |
| 22 | [DiscreteTopology Λ] [CompactSpace (V ⧸ Λ)], |
| 23 | Geometry.ComplexTorus.RiemannProjectivity.ProjectivityCriterion.IsProjectiveComplexTorus V Λ ↔ |
| 24 | ∃ H : V →ₗ⋆[ℂ] V →ₗ[ℂ] ℂ, |
| 25 | (∀ u v : V, H v u = star (H u v)) ∧ |
| 26 | (∀ u : V, u ≠ 0 → 0 < (H u u).re) ∧ |
| 27 | (∀ u ∈ Λ, ∀ v ∈ Λ, |
| 28 | ∃ m : ℤ, (H u v).im = (m : ℝ)) |
| 29 | |
| 30 | variable {U : Type} [AddCommGroup U] [Module ℚ U] |
| 31 | |
| 32 | abbrev GenericPeriodSpace (H : ComplexMultiplication.WeightOne.CM.WeightOneHodgeStructure U) := |
| 33 | Fin (Module.finrank ℂ H.antiholomorphic) → ℂ |
| 34 | |
| 35 | def periodComplexEquiv (H : ComplexMultiplication.WeightOne.CM.WeightOneHodgeStructure U) : |
| 36 | H.antiholomorphic ≃ₗ[ℂ] GenericPeriodSpace H := by |
| 37 | letI : Module.Finite ℚ U := H.finiteDimensional |
| 38 | exact (Module.finBasis ℂ H.antiholomorphic).equivFun |
| 39 | |
| 40 | variable {ι : Type} [Fintype ι] [DecidableEq ι] |
| 41 | (b : Module.Basis ι ℚ U) (H : ComplexMultiplication.WeightOne.CM.WeightOneHodgeStructure U) |
| 42 | |
| 43 | def genericPeriodBasis : Module.Basis ι ℝ (GenericPeriodSpace H) := |
| 44 | (PeriodCoordinatesReal.CM.Abelian.periodRealBasis b H).map ((periodComplexEquiv H).restrictScalars ℝ) |
| 45 | |
| 46 | def genericPeriodLattice : Submodule ℤ (GenericPeriodSpace H) := |
| 47 | Submodule.span ℤ (Set.range (genericPeriodBasis b H)) |
| 48 | |
| 49 | instance genericPeriodLattice_discrete : DiscreteTopology (genericPeriodLattice b H) := by |
| 50 | unfold genericPeriodLattice |
| 51 | infer_instance |
| 52 | |
| 53 | instance genericPeriodLattice_full : IsZLattice ℝ (genericPeriodLattice b H) := by |
| 54 | unfold genericPeriodLattice |
| 55 | infer_instance |
| 56 | |
| 57 | abbrev GenericPeriodTorus := |
| 58 | GenericPeriodSpace H ⧸ (genericPeriodLattice b H).toAddSubgroup |
| 59 | |
| 60 | instance genericPeriodTorus_compact : CompactSpace (GenericPeriodTorus b H) := by |
| 61 | apply isCompact_univ_iff.mp |
| 62 | have hc := IsZLattice.isCompact_range_of_periodic (genericPeriodLattice b H) |
| 63 | (QuotientAddGroup.mk : GenericPeriodSpace H → GenericPeriodTorus b H) |
| 64 | QuotientAddGroup.continuous_mk (by |
| 65 | intro z w hw |
| 66 | rw [QuotientAddGroup.mk_add, (QuotientAddGroup.eq_zero_iff w).mpr hw, add_zero]) |
| 67 | rwa [Set.range_eq_univ.mpr QuotientAddGroup.mk_surjective] at hc |
| 68 | |
| 69 | instance genericPeriodTorus_t2 : T2Space (GenericPeriodTorus b H) := by |
| 70 | let : DiscreteTopology (genericPeriodLattice b H).toAddSubgroup := |
| 71 | genericPeriodLattice_discrete b H |
| 72 | let : IsClosed ((genericPeriodLattice b H).toAddSubgroup : Set (GenericPeriodSpace H)) := |
| 73 | AddSubgroup.isClosed_of_discreteTopology |
| 74 | infer_instance |
| 75 | |
| 76 | variable {H} (P : ComplexMultiplication.CM.Polarization.WeightOnePolarization H) |
| 77 | |
| 78 | def genericPeriodHermitian : |
| 79 | GenericPeriodSpace H →ₗ⋆[ℂ] GenericPeriodSpace H →ₗ[ℂ] ℂ := |
| 80 | ((RiemannForm.CM.Abelian.periodHermitian P).comp (periodComplexEquiv H).symm.toLinearMap).compl₂ |
| 81 | (periodComplexEquiv H).symm.toLinearMap |
| 82 | |
| 83 | theorem genericPeriodHermitian_symm (x y : GenericPeriodSpace H) : |
| 84 | genericPeriodHermitian P y x = star (genericPeriodHermitian P x y) := |
| 85 | RiemannForm.CM.Abelian.periodHermitian_symm P _ _ |
| 86 | |
| 87 | theorem genericPeriodHermitian_positive (x : GenericPeriodSpace H) (hx : x ≠ 0) : |
| 88 | 0 < (genericPeriodHermitian P x x).re := by |
| 89 | apply RiemannForm.CM.Abelian.periodHermitian_positive P |
| 90 | intro hz |
| 91 | apply hx |
| 92 | simpa using congrArg (periodComplexEquiv H) hz |
| 93 | |
| 94 | /-- The imaginary part is a real bilinear form, so integrality extends from basis pairs. -/ |
| 95 | def genericPeriodImaginary : LinearMap.BilinForm ℝ (GenericPeriodSpace H) where |
| 96 | toFun x := |
| 97 | { toFun := fun y => (genericPeriodHermitian P x y).im |
| 98 | map_add' := by intro y z; simp |
| 99 | map_smul' := by |
| 100 | intro r y |
| 101 | change ((((genericPeriodHermitian P x).restrictScalars ℝ) (r • y))).im = _ |
| 102 | rw [map_smul] |
| 103 | simp } |
| 104 | map_add' := by intro x y; ext z; simp |
| 105 | map_smul' := by |
| 106 | intro r x |
| 107 | apply LinearMap.ext |
| 108 | intro y |
| 109 | change (genericPeriodHermitian P (r • x) y).im = _ |
| 110 | rw [← IsScalarTower.algebraMap_smul ℂ r x, map_smulₛₗ] |
| 111 | simp |
| 112 | |
| 113 | theorem genericPeriodBasis_realVector (i : ι) : |
| 114 | (((PeriodSpace.CM.Abelian.periodRealEquiv H).symm |
| 115 | ((periodComplexEquiv H).symm (genericPeriodBasis b H i))) : ComplexMultiplication.WeightOne.CM.Complexification U) = |
| 116 | (1 : ℂ) ⊗ₜ[ℚ] b i := by |
| 117 | change (((PeriodSpace.CM.Abelian.periodRealEquiv H).symm ((periodComplexEquiv H).symm |
| 118 | (periodComplexEquiv H (PeriodSpace.CM.Abelian.periodRealEquiv H |
| 119 | ((PeriodCoordinatesReal.CM.Abelian.realCoordinateEquiv b).symm ((Pi.basisFun ℝ ι) i)))))) : ComplexMultiplication.WeightOne.CM.Complexification U) = _ |
| 120 | rw [LinearEquiv.symm_apply_apply, LinearEquiv.symm_apply_apply] |
| 121 | exact PeriodCoordinatesReal.CM.Abelian.realCoordinateEquiv_symm_basis b i |
| 122 | |
| 123 | theorem genericPeriodHermitian_basis_imaginary (i j : ι) : |
| 124 | ((genericPeriodHermitian P (genericPeriodBasis b H i) (genericPeriodBasis b H j)).im : ℂ) = |
| 125 | (P.form (b i) (b j) : ℂ) := by |
| 126 | change ((RiemannForm.CM.Abelian.periodHermitian P _ _).im : ℂ) = _ |
| 127 | rw [RiemannForm.CM.Abelian.periodHermitian_imaginary, |
| 128 | ← PeriodSpace.CM.Abelian.periodRealEquiv_symm_coe H, ← PeriodSpace.CM.Abelian.periodRealEquiv_symm_coe H] |
| 129 | change P.form.baseChange ℂ |
| 130 | (((PeriodSpace.CM.Abelian.periodRealEquiv H).symm ((periodComplexEquiv H).symm |
| 131 | (genericPeriodBasis b H i))) : ComplexMultiplication.WeightOne.CM.Complexification U) |
| 132 | (((PeriodSpace.CM.Abelian.periodRealEquiv H).symm ((periodComplexEquiv H).symm |
| 133 | (genericPeriodBasis b H j))) : ComplexMultiplication.WeightOne.CM.Complexification U) = _ |
| 134 | rw [genericPeriodBasis_realVector b (H := H) i, genericPeriodBasis_realVector b (H := H) j] |
| 135 | simp |
| 136 | |
| 137 | theorem genericPeriodHermitian_integral |
| 138 | (hint : ∀ x ∈ Submodule.span ℤ (Set.range b), |
| 139 | ∀ y ∈ Submodule.span ℤ (Set.range b), |
| 140 | IsLocalization.IsInteger ℤ (P.form x y)) : |
| 141 | ∀ x ∈ (genericPeriodLattice b H).toAddSubgroup, |
| 142 | ∀ y ∈ (genericPeriodLattice b H).toAddSubgroup, |
| 143 | ∃ m : ℤ, (genericPeriodHermitian P x y).im = (m : ℝ) := by |
| 144 | have hb : ∀ x ∈ Set.range (genericPeriodBasis b H), |
| 145 | ∀ y ∈ Set.range (genericPeriodBasis b H), |
| 146 | IsLocalization.IsInteger ℤ (genericPeriodImaginary P x y) := by |
| 147 | rintro x ⟨i, rfl⟩ y ⟨j, rfl⟩ |
| 148 | obtain ⟨m, hm⟩ := hint (b i) (Submodule.subset_span ⟨i, rfl⟩) |
| 149 | (b j) (Submodule.subset_span ⟨j, rfl⟩) |
| 150 | refine ⟨m, ?_⟩ |
| 151 | change (m : ℝ) = (genericPeriodHermitian P (genericPeriodBasis b H i) |
| 152 | (genericPeriodBasis b H j)).im |
| 153 | have he := genericPeriodHermitian_basis_imaginary b P i j |
| 154 | change (m : ℚ) = P.form (b i) (b j) at hm |
| 155 | rw [← hm] at he |
| 156 | have hre := congrArg Complex.re he |
| 157 | simpa using hre.symm |
| 158 | intro x hx y hy |
| 159 | obtain ⟨m, hm⟩ := IntegralLattice.CM.Abelian.integer_bilin_on_span (genericPeriodImaginary P) |
| 160 | (Set.range (genericPeriodBasis b H)) hb x hx y hy |
| 161 | exact ⟨m, hm.symm⟩ |
| 162 | |
| 163 | include P in |
| 164 | /-- RiemannProjectivity gives a closed holomorphic projective embedding of the constructed generic torus. -/ |
| 165 | theorem generic_period_torus_projective |
| 166 | (hRiemannProjectivity : RiemannProjectivityInput) : |
| 167 | Geometry.ComplexTorus.RiemannProjectivity.ProjectivityCriterion.IsProjectiveComplexTorus |
| 168 | (GenericPeriodSpace H) (genericPeriodLattice b H).toAddSubgroup := by |
| 169 | obtain ⟨P', hint⟩ := IntegralLattice.CM.Abelian.exists_integral_polarization P b |
| 170 | let : DiscreteTopology (genericPeriodLattice b H).toAddSubgroup := |
| 171 | genericPeriodLattice_discrete b H |
| 172 | exact (hRiemannProjectivity (GenericPeriodSpace H) (genericPeriodLattice b H).toAddSubgroup).mpr |
| 173 | ⟨genericPeriodHermitian P', genericPeriodHermitian_symm P', |
| 174 | genericPeriodHermitian_positive P', genericPeriodHermitian_integral b P' hint⟩ |
| 175 | |
| 176 | end |
| 177 | |
| 178 | /-! |
| 179 | Data already constructed before algebraization: a finite-dimensional complex |
| 180 | vector space, a discrete full integer lattice, and the analytic projective |
| 181 | embedding supplied by RiemannProjectivity. The constructor below exhibits every field from |
| 182 | the actual generic Hodge structure and its polarization. No algebraic variety, |
| 183 | Hodge realization, or cohomological comparison is a field of this structure. |
| 184 | -/ |
| 185 | |
| 186 | structure ProjectivePeriodData where |
| 187 | space : Type |
| 188 | [normed : NormedAddCommGroup space] |
| 189 | [complex : NormedSpace ℂ space] |
| 190 | [real : NormedSpace ℝ space] |
| 191 | [tower : IsScalarTower ℝ ℂ space] |
| 192 | [finite : FiniteDimensional ℂ space] |
| 193 | periodIntegerLattice : Submodule ℤ space |
| 194 | [periodIntegerLattice_discrete : DiscreteTopology periodIntegerLattice] |
| 195 | [periodIntegerLattice_full : IsZLattice ℝ periodIntegerLattice] |
| 196 | projective : Geometry.ComplexTorus.RiemannProjectivity.ProjectivityCriterion.IsProjectiveComplexTorus space periodIntegerLattice.toAddSubgroup |
| 197 | |
| 198 | attribute [instance] ProjectivePeriodData.normed ProjectivePeriodData.complex |
| 199 | ProjectivePeriodData.real ProjectivePeriodData.tower ProjectivePeriodData.finite |
| 200 | ProjectivePeriodData.periodIntegerLattice_discrete ProjectivePeriodData.periodIntegerLattice_full |
| 201 | |
| 202 | namespace ProjectivePeriodData |
| 203 | |
| 204 | instance realFinite (D : ProjectivePeriodData) : FiniteDimensional ℝ D.space := |
| 205 | FiniteDimensional.trans ℝ ℂ D.space |
| 206 | |
| 207 | abbrev periodTorus (D : ProjectivePeriodData) := |
| 208 | D.space ⧸ D.periodIntegerLattice.toAddSubgroup |
| 209 | |
| 210 | instance periodTorus_compact (D : ProjectivePeriodData) : CompactSpace D.periodTorus := by |
| 211 | apply isCompact_univ_iff.mp |
| 212 | have hc := IsZLattice.isCompact_range_of_periodic D.periodIntegerLattice |
| 213 | (QuotientAddGroup.mk : D.space → D.periodTorus) |
| 214 | QuotientAddGroup.continuous_mk (by |
| 215 | intro z w hw |
| 216 | rw [QuotientAddGroup.mk_add, (QuotientAddGroup.eq_zero_iff w).mpr hw, add_zero]) |
| 217 | rwa [Set.range_eq_univ.mpr QuotientAddGroup.mk_surjective] at hc |
| 218 | |
| 219 | instance periodTorus_t2 (D : ProjectivePeriodData) : T2Space D.periodTorus := by |
| 220 | let : DiscreteTopology D.periodIntegerLattice.toAddSubgroup := |
| 221 | D.periodIntegerLattice_discrete |
| 222 | let : IsClosed (D.periodIntegerLattice.toAddSubgroup : Set D.space) := |
| 223 | AddSubgroup.isClosed_of_discreteTopology |
| 224 | infer_instance |
| 225 | |
| 226 | def ofHodgeStructure {U ι : Type} [AddCommGroup U] [Module ℚ U] |
| 227 | [Fintype ι] [DecidableEq ι] (b : Module.Basis ι ℚ U) |
| 228 | (H : ComplexMultiplication.WeightOne.CM.WeightOneHodgeStructure U) (P : ComplexMultiplication.CM.Polarization.WeightOnePolarization H) |
| 229 | (hRiemannProjectivity : RiemannProjectivityInput) : ProjectivePeriodData where |
| 230 | space := GenericPeriodSpace H |
| 231 | periodIntegerLattice := genericPeriodLattice b H |
| 232 | projective := generic_period_torus_projective b P hRiemannProjectivity |
| 233 | |
| 234 | end ProjectivePeriodData |
| 235 | |
| 236 | end |
| 237 | |
| 238 | end OAI.AlgebraicGeometry.HodgeConjecture.CMVariety.ProjectiveTorusData.CM.Abelian |