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.ArithmeticGeometry.Descent.CMVariety.IntrinsicHodgeMaps |
| 2 | |
| 3 | /-! # Marked Abelian Periods -/ |
| 4 | |
| 5 | namespace OAI.ArithmeticGeometry.Descent.CMVariety.MarkedAbelianPeriods.IntrinsicPeriods |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! |
| 12 | Marked periods of actual complex abelian varieties, using a basis of the |
| 13 | kernel of the native exponential. Equal marked period kernels give an |
| 14 | algebraic group isomorphism of the original varieties. Thus the geometric |
| 15 | objects in this comparison are the actual abelian schemes, rather than |
| 16 | an independent category of analytic torus models. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory |
| 20 | open OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.AbelianUniformizationEq.Constructions.AbelianUniformization |
| 21 | open scoped BigOperators |
| 22 | |
| 23 | variable {ι : Type} [Fintype ι] |
| 24 | |
| 25 | /-- An integral basis of the actual exponential lattice is a marking. -/ |
| 26 | abbrev Marking (ι : Type) (A : AlgebraicGeometry.ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) := Module.Basis ι ℤ (AlgebraicGeometry.HodgeConjecture.DegreeTwo.AbelianUniformizationEq.Constructions.AbelianUniformization.periodLattice A) |
| 27 | |
| 28 | /-- Markings exist for every actual abelian variety, by the full-lattice theorem. -/ |
| 29 | theorem exists_marking (A : AlgebraicGeometry.ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) : ∃ n : ℕ, Nonempty (Marking (Fin n) A) := by |
| 30 | let : IsZLattice ℝ (AlgebraicGeometry.HodgeConjecture.DegreeTwo.AbelianUniformizationEq.Constructions.AbelianUniformization.periodLattice A) := AlgebraicGeometry.HodgeConjecture.DegreeTwo.AbelianUniformizationEq.Constructions.AbelianUniformization.periodLattice_full IntrinsicHodgeMaps.Abelian.IntrinsicPeriods.algebraization A |
| 31 | let : Module.Finite ℤ (AlgebraicGeometry.HodgeConjecture.DegreeTwo.AbelianUniformizationEq.Constructions.AbelianUniformization.periodLattice A) := ZLattice.module_finite ℝ _ |
| 32 | let : Module.Free ℤ (AlgebraicGeometry.HodgeConjecture.DegreeTwo.AbelianUniformizationEq.Constructions.AbelianUniformization.periodLattice A) := ZLattice.module_free ℝ _ |
| 33 | let b := Module.Free.chooseBasis ℤ (AlgebraicGeometry.HodgeConjecture.DegreeTwo.AbelianUniformizationEq.Constructions.AbelianUniformization.periodLattice A) |
| 34 | exact ⟨Fintype.card (Module.Free.ChooseBasisIndex ℤ (AlgebraicGeometry.HodgeConjecture.DegreeTwo.AbelianUniformizationEq.Constructions.AbelianUniformization.periodLattice A)), |
| 35 | ⟨b.reindex (Fintype.equivFin _)⟩⟩ |
| 36 | |
| 37 | /-- Complex-linear extension of the marked period vectors. -/ |
| 38 | def periodMap {A : AlgebraicGeometry.ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety} (b : Marking ι A) : |
| 39 | (ι → ℂ) →ₗ[ℂ] AlgebraicGeometry.HodgeConjecture.DegreeTwo.Transport.Constructions.AbelianModel A := |
| 40 | (Pi.basisFun ℂ ι).constr ℂ (fun i => (b i : AlgebraicGeometry.HodgeConjecture.DegreeTwo.Transport.Constructions.AbelianModel A)) |
| 41 | |
| 42 | theorem periodMap_apply {A : AlgebraicGeometry.ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety} (b : Marking ι A) (v : ι → ℂ) : |
| 43 | periodMap b v = ∑ i, v i • (b i : AlgebraicGeometry.HodgeConjecture.DegreeTwo.Transport.Constructions.AbelianModel A) := by |
| 44 | simp [periodMap, Module.Basis.constr_apply_fintype] |
| 45 | |
| 46 | /-- The period map agrees with the original marked lattice on integers. -/ |
| 47 | theorem periodMap_repr {A : AlgebraicGeometry.ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety} (b : Marking ι A) (l : AlgebraicGeometry.HodgeConjecture.DegreeTwo.AbelianUniformizationEq.Constructions.AbelianUniformization.periodLattice A) : |
| 48 | periodMap b (fun i => (b.repr l i : ℂ)) = (l : AlgebraicGeometry.HodgeConjecture.DegreeTwo.Transport.Constructions.AbelianModel A) := by |
| 49 | rw [periodMap_apply] |
| 50 | have h := congrArg (fun x : AlgebraicGeometry.HodgeConjecture.DegreeTwo.AbelianUniformizationEq.Constructions.AbelianUniformization.periodLattice A => (x : AlgebraicGeometry.HodgeConjecture.DegreeTwo.Transport.Constructions.AbelianModel A)) (b.sum_repr l) |
| 51 | simpa only [Submodule.coe_sum, Submodule.coe_smul, Int.cast_smul_eq_zsmul] using h |
| 52 | |
| 53 | theorem periodMap_integer_mem {A : AlgebraicGeometry.ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety} (b : Marking ι A) (v : ι → ℤ) : |
| 54 | periodMap b (fun i => (v i : ℂ)) ∈ AlgebraicGeometry.HodgeConjecture.DegreeTwo.AbelianUniformizationEq.Constructions.AbelianUniformization.periodLattice A := by |
| 55 | rw [periodMap_apply] |
| 56 | apply Submodule.sum_mem |
| 57 | intro i _ |
| 58 | rw [Int.cast_smul_eq_zsmul] |
| 59 | exact Submodule.smul_mem _ _ (b i).property |
| 60 | |
| 61 | /-- Fullness of the actual period lattice proves surjectivity. -/ |
| 62 | theorem periodMap_surjective {A : AlgebraicGeometry.ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety} (b : Marking ι A) : |
| 63 | Function.Surjective (periodMap b) := by |
| 64 | apply LinearMap.range_eq_top.mp |
| 65 | apply top_unique |
| 66 | have hspan : Submodule.span ℂ (AlgebraicGeometry.HodgeConjecture.DegreeTwo.AbelianUniformizationEq.Constructions.AbelianUniformization.periodLattice A : Set (AlgebraicGeometry.HodgeConjecture.DegreeTwo.Transport.Constructions.AbelianModel A)) = ⊤ := |
| 67 | (IntrinsicHodgeMaps.Abelian.IntrinsicPeriods.torus A).complex_span |
| 68 | rw [← hspan] |
| 69 | apply Submodule.span_le.mpr |
| 70 | intro x hx |
| 71 | exact ⟨fun i => (b.repr ⟨x, hx⟩ i : ℂ), periodMap_repr b ⟨x, hx⟩⟩ |
| 72 | |
| 73 | section LinearComparison |
| 74 | |
| 75 | variable {V X Y : Type*} [AddCommGroup V] [Module ℂ V] |
| 76 | [AddCommGroup X] [Module ℂ X] [AddCommGroup Y] [Module ℂ Y] |
| 77 | |
| 78 | /-- Equal kernels of surjective linear maps produce the comparison, |
| 79 | with its exact commutative square, by passage to the quotient. -/ |
| 80 | theorem exists_linearEquiv_of_eq_ker |
| 81 | (p : V →ₗ[ℂ] X) (q : V →ₗ[ℂ] Y) |
| 82 | (hp : Function.Surjective p) (hq : Function.Surjective q) (hker : p.ker = q.ker) : |
| 83 | ∃ e : X ≃ₗ[ℂ] Y, ∀ v, e (p v) = q v := by |
| 84 | let f := (p.ker.liftQ q hker.le).comp (p.quotKerEquivOfSurjective hp).symm.toLinearMap |
| 85 | have hf (v : V) : f (p v) = q v := by |
| 86 | simp only [f, LinearMap.comp_apply, LinearEquiv.coe_coe, |
| 87 | LinearMap.quotKerEquivOfSurjective_symm_apply, Submodule.liftQ_apply] |
| 88 | have hi : Function.Injective f := by |
| 89 | apply LinearMap.ker_eq_bot.mp |
| 90 | apply LinearMap.ker_eq_bot'.mpr |
| 91 | intro x hx |
| 92 | obtain ⟨v, rfl⟩ := hp x |
| 93 | have hv : v ∈ q.ker := (hf v).symm.trans hx |
| 94 | rw [← hker] at hv |
| 95 | exact hv |
| 96 | have hs : Function.Surjective f := by |
| 97 | intro y |
| 98 | obtain ⟨v, rfl⟩ := hq y |
| 99 | exact ⟨p v, hf v⟩ |
| 100 | exact ⟨LinearEquiv.ofBijective f ⟨hi, hs⟩, hf⟩ |
| 101 | |
| 102 | end LinearComparison |
| 103 | |
| 104 | /-- Equality of actual marked period kernels gives an algebraic group |
| 105 | isomorphism, with the precise equality on every complex period vector. -/ |
| 106 | theorem algebraic_iso_of_marked_period_eq (A B : AlgebraicGeometry.ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) |
| 107 | (a : Marking ι A) (b : Marking ι B) |
| 108 | (hperiod : (periodMap a).ker = (periodMap b).ker) : |
| 109 | ∃ e : A.toOver ≅ B.toOver, IsMonHom e.hom ∧ |
| 110 | ∀ z : ι → ℂ, |
| 111 | AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map e.hom |
| 112 | (AlgebraicGeometry.HodgeConjecture.DegreeTwo.AbelianUniformizationEq.Constructions.AbelianUniformization.periodHomeomorph IntrinsicHodgeMaps.Abelian.IntrinsicPeriods.algebraization A ((IntrinsicHodgeMaps.Abelian.IntrinsicPeriods.torus A).proj (periodMap a z))) = |
| 113 | AlgebraicGeometry.HodgeConjecture.DegreeTwo.AbelianUniformizationEq.Constructions.AbelianUniformization.periodHomeomorph IntrinsicHodgeMaps.Abelian.IntrinsicPeriods.algebraization B ((IntrinsicHodgeMaps.Abelian.IntrinsicPeriods.torus B).proj (periodMap b z)) := by |
| 114 | obtain ⟨f, hf⟩ := exists_linearEquiv_of_eq_ker (periodMap a) (periodMap b) |
| 115 | (periodMap_surjective a) (periodMap_surjective b) hperiod |
| 116 | have hl : ∀ v ∈ AlgebraicGeometry.HodgeConjecture.DegreeTwo.AbelianUniformizationEq.Constructions.AbelianUniformization.periodLattice A, f v ∈ AlgebraicGeometry.HodgeConjecture.DegreeTwo.AbelianUniformizationEq.Constructions.AbelianUniformization.periodLattice B := by |
| 117 | intro v hv |
| 118 | have hv' : periodMap a (fun i => (a.repr ⟨v, hv⟩ i : ℂ)) = v := |
| 119 | periodMap_repr a ⟨v, hv⟩ |
| 120 | rw [← hv', hf] |
| 121 | exact periodMap_integer_mem b (fun i => a.repr ⟨v, hv⟩ i) |
| 122 | have hli : ∀ v ∈ AlgebraicGeometry.HodgeConjecture.DegreeTwo.AbelianUniformizationEq.Constructions.AbelianUniformization.periodLattice B, f.symm v ∈ AlgebraicGeometry.HodgeConjecture.DegreeTwo.AbelianUniformizationEq.Constructions.AbelianUniformization.periodLattice A := by |
| 123 | intro v hv |
| 124 | have he (z : ι → ℂ) : f.symm (periodMap b z) = periodMap a z := by |
| 125 | rw [← hf, f.symm_apply_apply] |
| 126 | have hv' : periodMap b (fun i => (b.repr ⟨v, hv⟩ i : ℂ)) = v := |
| 127 | periodMap_repr b ⟨v, hv⟩ |
| 128 | rw [← hv', he] |
| 129 | exact periodMap_integer_mem a (fun i => b.repr ⟨v, hv⟩ i) |
| 130 | obtain ⟨e, he, hep⟩ := IntrinsicHodgeMaps.Abelian.IntrinsicPeriods.algebraic_iso_of_lattice_equiv A B f hl hli |
| 131 | refine ⟨e, he, fun z => ?_⟩ |
| 132 | rw [hep, hf] |
| 133 | |
| 134 | end |
| 135 | |
| 136 | /-! |
| 137 | The marked native period kernel and the actual holomorphic Betti subspace |
| 138 | determine one another. The comparison is built from integration on the |
| 139 | actual exponential lattice; its normalization is fixed on each marked |
| 140 | lattice vector. Equal marked Hodge subspaces therefore give algebraic |
| 141 | group isomorphisms of the actual abelian varieties. |
| 142 | -/ |
| 143 | |
| 144 | open _root_.CategoryTheory |
| 145 | open OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.AbelianUniformizationEq.Constructions.AbelianUniformization |
| 146 | open OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.AbelianPeriodsTo.Constructions.AbelianPeriods OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.Periods.Constructions.HodgePeriods |
| 147 | |
| 148 | variable {ι : Type} [Fintype ι] |
| 149 | |
| 150 | /-- Integration over the marked lattice basis gives complex Betti coordinates. -/ |
| 151 | def complexCoordinates {A : AlgebraicGeometry.ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety} (b : Marking ι A) : |
| 152 | A.variety.complexCohomology 1 ≃ₗ[ℂ] (ι → ℂ) := |
| 153 | (AlgebraicGeometry.HodgeConjecture.DegreeTwo.AbelianPeriodsTo.Constructions.AbelianPeriods.complexPeriods IntrinsicHodgeMaps.Abelian.IntrinsicPeriods.algebraization A).trans |
| 154 | ((addMonoidHomLequivInt ℂ).trans (b.constr ℂ).symm) |
| 155 | |
| 156 | omit [Fintype ι] in |
| 157 | theorem complexCoordinates_apply {A : AlgebraicGeometry.ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety} (b : Marking ι A) |
| 158 | (x : A.variety.complexCohomology 1) (i : ι) : |
| 159 | complexCoordinates b x i = AlgebraicGeometry.HodgeConjecture.DegreeTwo.AbelianPeriodsTo.Constructions.AbelianPeriods.complexPeriods IntrinsicHodgeMaps.Abelian.IntrinsicPeriods.algebraization A x (b i) := rfl |
| 160 | |
| 161 | /-- Regard the marked coordinates as a functional on complexified homology. -/ |
| 162 | def markedBetti {A : AlgebraicGeometry.ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety} (b : Marking ι A) : |
| 163 | A.variety.complexCohomology 1 ≃ₗ[ℂ] Module.Dual ℂ (ι → ℂ) := |
| 164 | (complexCoordinates b).trans ((Pi.basisFun ℂ ι).constr ℂ) |
| 165 | |
| 166 | theorem markedBetti_basis {A : AlgebraicGeometry.ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety} (b : Marking ι A) |
| 167 | (x : A.variety.complexCohomology 1) (i : ι) : |
| 168 | markedBetti b x ((Pi.basisFun ℂ ι) i) = AlgebraicGeometry.HodgeConjecture.DegreeTwo.AbelianPeriodsTo.Constructions.AbelianPeriods.complexPeriods IntrinsicHodgeMaps.Abelian.IntrinsicPeriods.algebraization A x (b i) := by |
| 169 | change (Pi.basisFun ℂ ι).constr ℂ (complexCoordinates b x) ((Pi.basisFun ℂ ι) i) = _ |
| 170 | rw [Module.Basis.constr_basis, complexCoordinates_apply] |
| 171 | |
| 172 | /-- Pure Betti classes are exactly the marked functionals which descend |
| 173 | through the actual complex-linear period map. -/ |
| 174 | theorem pure_iff_markedBetti_lifts {A : AlgebraicGeometry.ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety} (b : Marking ι A) |
| 175 | (x : A.variety.complexCohomology 1) : |
| 176 | x ∈ A.variety.pureBettiSubspace 1 0 ↔ |
| 177 | ∃ f : AlgebraicGeometry.HodgeConjecture.DegreeTwo.Transport.Constructions.AbelianModel A →ₗ[ℂ] ℂ, markedBetti b x = f.comp (periodMap b) := by |
| 178 | rw [AlgebraicGeometry.HodgeConjecture.DegreeTwo.Periods.Constructions.HodgePeriods.holomorphic_iff_complexLinear_periods IntrinsicHodgeMaps.Abelian.IntrinsicPeriods.algebraization A] |
| 179 | constructor |
| 180 | · rintro ⟨f, hf⟩ |
| 181 | refine ⟨f, (Pi.basisFun ℂ ι).ext fun i => ?_⟩ |
| 182 | rw [markedBetti_basis, LinearMap.comp_apply] |
| 183 | change AlgebraicGeometry.HodgeConjecture.DegreeTwo.AbelianPeriodsTo.Constructions.AbelianPeriods.complexPeriods IntrinsicHodgeMaps.Abelian.IntrinsicPeriods.algebraization A x (b i) = |
| 184 | f ((Pi.basisFun ℂ ι).constr ℂ (fun j => (b j : AlgebraicGeometry.HodgeConjecture.DegreeTwo.Transport.Constructions.AbelianModel A)) ((Pi.basisFun ℂ ι) i)) |
| 185 | rw [Module.Basis.constr_basis] |
| 186 | exact hf (b i) |
| 187 | · rintro ⟨f, hf⟩ |
| 188 | have he : (AlgebraicGeometry.HodgeConjecture.DegreeTwo.AbelianPeriodsTo.Constructions.AbelianPeriods.complexPeriods IntrinsicHodgeMaps.Abelian.IntrinsicPeriods.algebraization A x).toIntLinearMap = |
| 189 | (f.restrictScalars ℤ).comp (AlgebraicGeometry.HodgeConjecture.DegreeTwo.AbelianUniformizationEq.Constructions.AbelianUniformization.periodLattice A).subtype := by |
| 190 | apply b.ext |
| 191 | intro i |
| 192 | have hi := LinearMap.congr_fun hf ((Pi.basisFun ℂ ι) i) |
| 193 | rw [markedBetti_basis, LinearMap.comp_apply] at hi |
| 194 | change AlgebraicGeometry.HodgeConjecture.DegreeTwo.AbelianPeriodsTo.Constructions.AbelianPeriods.complexPeriods IntrinsicHodgeMaps.Abelian.IntrinsicPeriods.algebraization A x (b i) = f (b i : AlgebraicGeometry.HodgeConjecture.DegreeTwo.Transport.Constructions.AbelianModel A) |
| 195 | simpa only [periodMap, Module.Basis.constr_basis] using hi |
| 196 | exact ⟨f, fun l => LinearMap.congr_fun he l⟩ |
| 197 | |
| 198 | /-- The actual holomorphic Betti space expressed in the marking. -/ |
| 199 | def markedHolomorphic {A : AlgebraicGeometry.ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety} (b : Marking ι A) : |
| 200 | Submodule ℂ (Module.Dual ℂ (ι → ℂ)) := |
| 201 | (A.variety.pureBettiSubspace 1 0).map (markedBetti b).toLinearMap |
| 202 | |
| 203 | /-- The Hodge subspace is the annihilator of the actual marked period kernel. -/ |
| 204 | theorem markedHolomorphic_eq_annihilator {A : AlgebraicGeometry.ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety} (b : Marking ι A) : |
| 205 | markedHolomorphic b = (periodMap b).ker.dualAnnihilator := by |
| 206 | rw [← LinearMap.range_dualMap_eq_dualAnnihilator_ker] |
| 207 | ext φ |
| 208 | constructor |
| 209 | · rintro ⟨x, hx, rfl⟩ |
| 210 | obtain ⟨f, hf⟩ := (pure_iff_markedBetti_lifts b x).mp hx |
| 211 | exact ⟨f, hf.symm⟩ |
| 212 | · rintro ⟨f, rfl⟩ |
| 213 | let x := (markedBetti b).symm ((periodMap b).dualMap f) |
| 214 | have hx : markedBetti b x = (periodMap b).dualMap f := |
| 215 | (markedBetti b).apply_symm_apply _ |
| 216 | exact ⟨x, (pure_iff_markedBetti_lifts b x).mpr ⟨f, hx⟩, hx⟩ |
| 217 | |
| 218 | theorem period_ker_eq_of_markedHolomorphic_eq (A B : AlgebraicGeometry.ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) |
| 219 | (a : Marking ι A) (b : Marking ι B) |
| 220 | (h : markedHolomorphic a = markedHolomorphic b) : |
| 221 | (periodMap a).ker = (periodMap b).ker := by |
| 222 | apply Subspace.dualAnnihilator_inj.mp |
| 223 | rw [← markedHolomorphic_eq_annihilator a, ← markedHolomorphic_eq_annihilator b] |
| 224 | exact h |
| 225 | |
| 226 | /-- Actual marked holomorphic subspaces classify the abelian varieties |
| 227 | algebraically, with compatibility on the native exponential points. -/ |
| 228 | theorem algebraic_iso_of_markedHolomorphic_eq (A B : AlgebraicGeometry.ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) |
| 229 | (a : Marking ι A) (b : Marking ι B) |
| 230 | (h : markedHolomorphic a = markedHolomorphic b) : |
| 231 | ∃ e : A.toOver ≅ B.toOver, IsMonHom e.hom ∧ |
| 232 | ∀ z : ι → ℂ, |
| 233 | AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map e.hom |
| 234 | (AlgebraicGeometry.HodgeConjecture.DegreeTwo.AbelianUniformizationEq.Constructions.AbelianUniformization.periodHomeomorph IntrinsicHodgeMaps.Abelian.IntrinsicPeriods.algebraization A ((IntrinsicHodgeMaps.Abelian.IntrinsicPeriods.torus A).proj (periodMap a z))) = |
| 235 | AlgebraicGeometry.HodgeConjecture.DegreeTwo.AbelianUniformizationEq.Constructions.AbelianUniformization.periodHomeomorph IntrinsicHodgeMaps.Abelian.IntrinsicPeriods.algebraization B ((IntrinsicHodgeMaps.Abelian.IntrinsicPeriods.torus B).proj (periodMap b z)) := |
| 236 | algebraic_iso_of_marked_period_eq A B a b (period_ker_eq_of_markedHolomorphic_eq A B a b h) |
| 237 | |
| 238 | end |
| 239 | |
| 240 | end OAI.ArithmeticGeometry.Descent.CMVariety.MarkedAbelianPeriods.IntrinsicPeriods |