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.IntegralMarkedMaps |
| 2 | import OAI.ArithmeticGeometry.Descent.CMVariety.MarkedActions |
| 3 | import Mathlib.Analysis.Calculus.ContDiff.Operations |
| 4 | |
| 5 | /-! # Period Coordinate Continuity -/ |
| 6 | |
| 7 | namespace OAI.ArithmeticGeometry.Descent.CMVariety.PeriodCoordinateContinuity.Abelian.IntrinsicPeriods |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! |
| 14 | Real coordinates of the actual integral period lattice. The marked |
| 15 | endomorphism matrix is recovered by taking real period coordinates of |
| 16 | the native linear lift on each lattice basis vector. Continuous period |
| 17 | vectors and continuous images therefore give continuous marked matrices. |
| 18 | -/ |
| 19 | |
| 20 | open _root_.CategoryTheory |
| 21 | open OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.AbelianUniformizationEq.Constructions.AbelianUniformization |
| 22 | open scoped _root_.Topology BigOperators |
| 23 | |
| 24 | variable {Index : Type} [Fintype Index] |
| 25 | |
| 26 | local instance (A : AlgebraicGeometry.ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) : IsZLattice ℝ (AlgebraicGeometry.HodgeConjecture.DegreeTwo.AbelianUniformizationEq.Constructions.AbelianUniformization.periodLattice A) := |
| 27 | AlgebraicGeometry.HodgeConjecture.DegreeTwo.AbelianUniformizationEq.Constructions.AbelianUniformization.periodLattice_full IntrinsicHodgeMaps.Abelian.IntrinsicPeriods.algebraization A |
| 28 | |
| 29 | /-- A marking of the actual full integral lattice is a real basis of |
| 30 | the native tangent space. -/ |
| 31 | def realPeriodEquiv {A : AlgebraicGeometry.ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety} (b : MarkedAbelianPeriods.IntrinsicPeriods.Marking Index A) : |
| 32 | (Index → ℝ) ≃L[ℝ] AlgebraicGeometry.HodgeConjecture.DegreeTwo.Transport.Constructions.AbelianModel A := |
| 33 | (b.ofZLatticeBasis ℝ (AlgebraicGeometry.HodgeConjecture.DegreeTwo.AbelianUniformizationEq.Constructions.AbelianUniformization.periodLattice A)).equivFun.symm.toContinuousLinearEquiv |
| 34 | |
| 35 | theorem realPeriodEquiv_symm_lattice {A : AlgebraicGeometry.ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety} |
| 36 | (b : MarkedAbelianPeriods.IntrinsicPeriods.Marking Index A) (l : AlgebraicGeometry.HodgeConjecture.DegreeTwo.AbelianUniformizationEq.Constructions.AbelianUniformization.periodLattice A) (i : Index) : |
| 37 | (realPeriodEquiv b).symm (l : AlgebraicGeometry.HodgeConjecture.DegreeTwo.Transport.Constructions.AbelianModel A) i = (b.repr l i : ℝ) := |
| 38 | b.ofZLatticeBasis_repr_apply ℝ (AlgebraicGeometry.HodgeConjecture.DegreeTwo.AbelianUniformizationEq.Constructions.AbelianUniformization.periodLattice A) l i |
| 39 | |
| 40 | theorem realPeriodEquiv_basis {A : AlgebraicGeometry.ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety} (b : MarkedAbelianPeriods.IntrinsicPeriods.Marking Index A) (i : Index) : |
| 41 | realPeriodEquiv b ((Pi.basisFun ℝ Index) i) = (b i : AlgebraicGeometry.HodgeConjecture.DegreeTwo.Transport.Constructions.AbelianModel A) := by |
| 42 | classical |
| 43 | change (b.ofZLatticeBasis ℝ (AlgebraicGeometry.HodgeConjecture.DegreeTwo.AbelianUniformizationEq.Constructions.AbelianUniformization.periodLattice A)).equivFun.symm |
| 44 | ((Pi.basisFun ℝ Index) i) = _ |
| 45 | erw [Module.Basis.equivFun_symm_apply] |
| 46 | simp [Pi.basisFun_apply] |
| 47 | exact b.ofZLatticeBasis_apply ℝ (AlgebraicGeometry.HodgeConjecture.DegreeTwo.AbelianUniformizationEq.Constructions.AbelianUniformization.periodLattice A) i |
| 48 | |
| 49 | /-- The real coordinate inverse recovers the integral transpose entry. -/ |
| 50 | theorem markedEndomorphism_real_entry {A : AlgebraicGeometry.ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety} |
| 51 | (b : MarkedAbelianPeriods.IntrinsicPeriods.Marking Index A) (f : A.toOver ⟶ A.toOver) [IsMonHom f] (i j : Index) : |
| 52 | (MarkedActions.Abelian.IntrinsicPeriods.markedEndomorphism b f ((Pi.basisFun ℚ Index) i) j : ℝ) = |
| 53 | (realPeriodEquiv b).symm (IntegralMarkedMaps.Abelian.IntrinsicPeriods.algebraicLinearLift f (b j : AlgebraicGeometry.HodgeConjecture.DegreeTwo.Transport.Constructions.AbelianModel A)) i := by |
| 54 | rw [IntegralMarkedMaps.Abelian.IntrinsicPeriods.markedEndomorphism_integer_entry, Rat.cast_intCast] |
| 55 | exact (realPeriodEquiv_symm_lattice b (IntegralMarkedMaps.Abelian.IntrinsicPeriods.algebraicLatticeMap f (b j)) i).symm |
| 56 | |
| 57 | /-- Inverses of a continuously varying real period basis are continuous, |
| 58 | including their evaluation on a varying vector. -/ |
| 59 | theorem continuousAt_equiv_symm_apply |
| 60 | {S E F : Type*} [TopologicalSpace S] |
| 61 | [NormedAddCommGroup E] [NormedSpace ℝ E] [CompleteSpace E] |
| 62 | [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 63 | (e : S → E ≃L[ℝ] F) (v : S → F) (s₀ : S) |
| 64 | (he : ContinuousAt (fun s => (e s).toContinuousLinearMap) s₀) |
| 65 | (hv : ContinuousAt v s₀) : ContinuousAt (fun s => (e s).symm (v s)) s₀ := by |
| 66 | have hinv : ContinuousAt |
| 67 | (ContinuousLinearMap.inverse : (E →L[ℝ] F) → (F →L[ℝ] E)) |
| 68 | (e s₀).toContinuousLinearMap := |
| 69 | (contDiffAt_map_inverse (n := 0) (e s₀)).continuousAt |
| 70 | have hi : ContinuousAt (fun s => (e s).toContinuousLinearMap.inverse) s₀ := |
| 71 | ContinuousAt.comp (f := fun s => (e s).toContinuousLinearMap) (x := s₀) hinv he |
| 72 | have h := hi.clm_apply hv |
| 73 | simpa only [ContinuousLinearMap.inverse_equiv, ContinuousLinearEquiv.coe_coe] using h |
| 74 | |
| 75 | /-- Tangent coordinates of the real period basis. -/ |
| 76 | def realPeriodInCoordinates {A : AlgebraicGeometry.ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety} {d : ℕ} |
| 77 | (b : MarkedAbelianPeriods.IntrinsicPeriods.Marking Index A) (e : AlgebraicGeometry.HodgeConjecture.DegreeTwo.Transport.Constructions.AbelianModel A ≃ₗ[ℂ] (Fin d → ℂ)) : |
| 78 | (Index → ℝ) ≃L[ℝ] (Fin d → ℂ) := |
| 79 | (realPeriodEquiv b).trans (e.restrictScalars ℝ).toContinuousLinearEquiv |
| 80 | |
| 81 | /-- Continuity of the real period basis and the native lifted images |
| 82 | implies continuity of the actual marked cohomology matrices. -/ |
| 83 | theorem markedEndomorphism_continuous_of_lift_images |
| 84 | {S : Type} [TopologicalSpace S] |
| 85 | (A : S → AlgebraicGeometry.ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) (b : ∀ s, MarkedAbelianPeriods.IntrinsicPeriods.Marking Index (A s)) |
| 86 | (d : ℕ) (e : ∀ s, AlgebraicGeometry.HodgeConjecture.DegreeTwo.Transport.Constructions.AbelianModel (A s) ≃ₗ[ℂ] (Fin d → ℂ)) |
| 87 | (f : ∀ s, (A s).toOver ⟶ (A s).toOver) (hf : ∀ s, IsMonHom (f s)) |
| 88 | (s₀ : S) |
| 89 | (hperiod : ContinuousAt |
| 90 | (fun s => (realPeriodInCoordinates (b s) (e s)).toContinuousLinearMap) s₀) |
| 91 | (himages : let (s : S) : IsMonHom (f s) := hf s |
| 92 | ∀ j, ContinuousAt |
| 93 | (fun s => e s (IntegralMarkedMaps.Abelian.IntrinsicPeriods.algebraicLinearLift (f s) (b s j : AlgebraicGeometry.HodgeConjecture.DegreeTwo.Transport.Constructions.AbelianModel (A s)))) s₀) : |
| 94 | ∀ i j, ContinuousAt |
| 95 | (fun s => (MarkedActions.Abelian.IntrinsicPeriods.markedEndomorphism (b s) (f s) ((Pi.basisFun ℚ Index) i) j : ℝ)) s₀ := by |
| 96 | let (s : S) : IsMonHom (f s) := hf s |
| 97 | intro i j |
| 98 | have h := continuousAt_equiv_symm_apply |
| 99 | (fun s => realPeriodInCoordinates (b s) (e s)) |
| 100 | (fun s => e s (IntegralMarkedMaps.Abelian.IntrinsicPeriods.algebraicLinearLift (f s) (b s j : AlgebraicGeometry.HodgeConjecture.DegreeTwo.Transport.Constructions.AbelianModel (A s)))) |
| 101 | s₀ hperiod (himages j) |
| 102 | have hi := (continuous_apply i).continuousAt.comp h |
| 103 | convert hi using 1 |
| 104 | ext s |
| 105 | rw [markedEndomorphism_real_entry] |
| 106 | change (realPeriodEquiv (b s)).symm _ i = |
| 107 | (realPeriodEquiv (b s)).symm ((e s).symm ((e s) _)) i |
| 108 | rw [LinearEquiv.symm_apply_apply] |
| 109 | |
| 110 | end |
| 111 | |
| 112 | /-! |
| 113 | The real period basis varies continuously when the complex marked period |
| 114 | matrix does. Together with the previous native-lift comparison, this |
| 115 | reduces continuity of marked endomorphism matrices to continuity of the |
| 116 | lifted images of the actual marked lattice vectors. |
| 117 | -/ |
| 118 | |
| 119 | open _root_.CategoryTheory |
| 120 | open scoped _root_.Topology |
| 121 | |
| 122 | variable {Index : Type} [Fintype Index] |
| 123 | |
| 124 | /-- Continuity of the finitely many marked vectors proves continuity of |
| 125 | the full complex period matrix in fixed tangent coordinates. -/ |
| 126 | theorem continuousAt_period_map_of_vectors |
| 127 | {S : Type} [TopologicalSpace S] |
| 128 | (A : S → AlgebraicGeometry.ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) (b : ∀ s, MarkedAbelianPeriods.IntrinsicPeriods.Marking Index (A s)) |
| 129 | (d : ℕ) (e : ∀ s, AlgebraicGeometry.HodgeConjecture.DegreeTwo.Transport.Constructions.AbelianModel (A s) ≃ₗ[ℂ] (Fin d → ℂ)) |
| 130 | (s₀ : S) (hv : ∀ i, ContinuousAt (fun s => e s (b s i : AlgebraicGeometry.HodgeConjecture.DegreeTwo.Transport.Constructions.AbelianModel (A s))) s₀) : |
| 131 | ContinuousAt |
| 132 | (fun s => ((e s).toLinearMap.comp (MarkedAbelianPeriods.IntrinsicPeriods.periodMap (b s))).toContinuousLinearMap) s₀ := by |
| 133 | classical |
| 134 | let frames := ContinuousLinearEquiv.piRing (𝕜 := ℂ) (E := Fin d → ℂ) Index |
| 135 | have h : ContinuousAt (fun s => frames.symm (fun i => e s (b s i : AlgebraicGeometry.HodgeConjecture.DegreeTwo.Transport.Constructions.AbelianModel (A s)))) s₀ := |
| 136 | frames.symm.continuous.continuousAt.comp (continuousAt_pi.mpr hv) |
| 137 | have heq (s : S) : frames.symm (fun i => e s (b s i : AlgebraicGeometry.HodgeConjecture.DegreeTwo.Transport.Constructions.AbelianModel (A s))) = |
| 138 | ((e s).toLinearMap.comp (MarkedAbelianPeriods.IntrinsicPeriods.periodMap (b s))).toContinuousLinearMap := by |
| 139 | apply frames.injective |
| 140 | rw [ContinuousLinearEquiv.apply_symm_apply] |
| 141 | funext i |
| 142 | change e s (b s i : AlgebraicGeometry.HodgeConjecture.DegreeTwo.Transport.Constructions.AbelianModel (A s)) = e s (MarkedAbelianPeriods.IntrinsicPeriods.periodMap (b s) (Pi.single i 1)) |
| 143 | congr 1 |
| 144 | exact ((Pi.basisFun ℂ Index).constr_basis ℂ (fun j => (b s j : AlgebraicGeometry.HodgeConjecture.DegreeTwo.Transport.Constructions.AbelianModel (A s))) i).symm |
| 145 | simpa only [heq] using h |
| 146 | |
| 147 | def realToComplexCoordinates : (Index → ℝ) →L[ℝ] (Index → ℂ) := |
| 148 | (show (Index → ℝ) →ₗ[ℝ] (Index → ℂ) from |
| 149 | { toFun v := fun i => (v i : ℂ) |
| 150 | map_add' v w := by ext i; simp |
| 151 | map_smul' c v := by ext i; simp }).toContinuousLinearMap |
| 152 | |
| 153 | theorem realToComplexCoordinates_basis (i : Index) : |
| 154 | realToComplexCoordinates ((Pi.basisFun ℝ Index) i) = (Pi.basisFun ℂ Index) i := by |
| 155 | classical |
| 156 | ext j |
| 157 | change (((Pi.basisFun ℝ Index) i j : ℝ) : ℂ) = (Pi.basisFun ℂ Index) i j |
| 158 | by_cases h : i = j <;> simp [Pi.basisFun_apply, h] |
| 159 | |
| 160 | theorem realPeriodInCoordinates_eq_restriction {A : AlgebraicGeometry.ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety} {d : ℕ} |
| 161 | (b : MarkedAbelianPeriods.IntrinsicPeriods.Marking Index A) (e : AlgebraicGeometry.HodgeConjecture.DegreeTwo.Transport.Constructions.AbelianModel A ≃ₗ[ℂ] (Fin d → ℂ)) : |
| 162 | (realPeriodInCoordinates b e).toContinuousLinearMap = |
| 163 | ((e.toLinearMap.comp (MarkedAbelianPeriods.IntrinsicPeriods.periodMap b)).toContinuousLinearMap.restrictScalars ℝ).comp |
| 164 | realToComplexCoordinates := by |
| 165 | suffices h : (realPeriodInCoordinates b e).toContinuousLinearMap.toLinearMap = |
| 166 | (((e.toLinearMap.comp (MarkedAbelianPeriods.IntrinsicPeriods.periodMap b)).toContinuousLinearMap.restrictScalars ℝ).comp |
| 167 | realToComplexCoordinates).toLinearMap from |
| 168 | DFunLike.ext _ _ (LinearMap.congr_fun h) |
| 169 | apply (Pi.basisFun ℝ Index).ext |
| 170 | intro i |
| 171 | change e (realPeriodEquiv b ((Pi.basisFun ℝ Index) i)) = |
| 172 | e (MarkedAbelianPeriods.IntrinsicPeriods.periodMap b (realToComplexCoordinates ((Pi.basisFun ℝ Index) i))) |
| 173 | rw [realPeriodEquiv_basis, realToComplexCoordinates_basis] |
| 174 | congr 1 |
| 175 | exact ((Pi.basisFun ℂ Index).constr_basis ℂ (fun j => (b j : AlgebraicGeometry.HodgeConjecture.DegreeTwo.Transport.Constructions.AbelianModel A)) i).symm |
| 176 | |
| 177 | theorem realPeriodInCoordinates_continuousAt |
| 178 | {S : Type} [TopologicalSpace S] |
| 179 | (A : S → AlgebraicGeometry.ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) (b : ∀ s, MarkedAbelianPeriods.IntrinsicPeriods.Marking Index (A s)) |
| 180 | (d : ℕ) (e : ∀ s, AlgebraicGeometry.HodgeConjecture.DegreeTwo.Transport.Constructions.AbelianModel (A s) ≃ₗ[ℂ] (Fin d → ℂ)) |
| 181 | (s₀ : S) |
| 182 | (hp : ContinuousAt |
| 183 | (fun s => ((e s).toLinearMap.comp (MarkedAbelianPeriods.IntrinsicPeriods.periodMap (b s))).toContinuousLinearMap) s₀) : |
| 184 | ContinuousAt |
| 185 | (fun s => (realPeriodInCoordinates (b s) (e s)).toContinuousLinearMap) s₀ := by |
| 186 | have hr : ContinuousAt |
| 187 | (fun s => ((e s).toLinearMap.comp (MarkedAbelianPeriods.IntrinsicPeriods.periodMap (b s))).toContinuousLinearMap.restrictScalars ℝ) |
| 188 | s₀ := |
| 189 | (ContinuousLinearMap.restrictScalarsIsometry ℂ (Index → ℂ) (Fin d → ℂ) ℝ ℝ).continuous.continuousAt.comp hp |
| 190 | have h := hr.clm_comp (continuousAt_const (y := realToComplexCoordinates (Index := Index))) |
| 191 | simpa only [realPeriodInCoordinates_eq_restriction] using h |
| 192 | |
| 193 | end |
| 194 | |
| 195 | end OAI.ArithmeticGeometry.Descent.CMVariety.PeriodCoordinateContinuity.Abelian.IntrinsicPeriods |