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.RepresentationTheory.Theta.PoissonAutomorphyNormalizationData |
| 2 | import Mathlib.Analysis.Fourier.AddCircleMulti |
| 3 | |
| 4 | /-! # Real Fourier -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Theta.RealFourier.PoissonAutomorphyConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Descent of Schwartz lattice sums to the real unit torus. -/ |
| 13 | |
| 14 | open scoped Classical |
| 15 | |
| 16 | variable {ι : Type*} [Fintype ι] |
| 17 | |
| 18 | def integerReal (n : ι → ℤ) : ι → ℝ := fun i => (n i : ℝ) |
| 19 | |
| 20 | theorem integerReal_mem_lattice (n : ι → ℤ) : integerReal n ∈ AlgebraicGeometry.ComplexMultiplication.ThetaCoordinates.CM.thetaCoordinateLattice ι := by |
| 21 | apply ((Pi.basisFun ℝ ι).mem_span_iff_repr_mem ℤ _).mpr |
| 22 | intro i |
| 23 | exact ⟨n i, by simp [integerReal]⟩ |
| 24 | |
| 25 | def integerLatticeEquiv : (ι → ℤ) ≃ AlgebraicGeometry.ComplexMultiplication.ThetaCoordinates.CM.thetaCoordinateLattice ι := |
| 26 | Equiv.ofBijective (fun n => ⟨integerReal n, integerReal_mem_lattice n⟩) (by |
| 27 | constructor |
| 28 | · intro m n h |
| 29 | funext i |
| 30 | have hi : (m i : ℝ) = (n i : ℝ) := congrFun (congrArg Subtype.val h) i |
| 31 | exact_mod_cast hi |
| 32 | · intro a |
| 33 | have ha := ((Pi.basisFun ℝ ι).mem_span_iff_repr_mem ℤ a.val).mp a.property |
| 34 | have h : ∀ i, ∃ m : ℤ, (m : ℝ) = a.val i := by |
| 35 | intro i |
| 36 | simpa using ha i |
| 37 | choose m hm using h |
| 38 | exact ⟨m, Subtype.ext (funext hm)⟩) |
| 39 | |
| 40 | theorem integerLatticeEquiv_apply (n : ι → ℤ) : |
| 41 | (integerLatticeEquiv n).val = integerReal n := rfl |
| 42 | |
| 43 | def torusProjection (x : ι → ℝ) : UnitAddTorus ι := fun i => (x i : UnitAddCircle) |
| 44 | |
| 45 | omit [Fintype ι] in |
| 46 | theorem torusProjection_isOpenQuotientMap : IsOpenQuotientMap |
| 47 | (torusProjection : (ι → ℝ) → UnitAddTorus ι) := |
| 48 | IsOpenQuotientMap.piMap (fun _ => QuotientAddGroup.isOpenQuotientMap_mk) |
| 49 | |
| 50 | theorem torusProjection_eq_iff (x y : ι → ℝ) : |
| 51 | torusProjection x = torusProjection y ↔ x - y ∈ AlgebraicGeometry.ComplexMultiplication.ThetaCoordinates.CM.thetaCoordinateLattice ι := by |
| 52 | change torusProjection x = torusProjection y ↔ |
| 53 | x - y ∈ Submodule.span ℤ (Set.range (Pi.basisFun ℝ ι)) |
| 54 | rw [(Pi.basisFun ℝ ι).mem_span_iff_repr_mem ℤ] |
| 55 | constructor |
| 56 | · intro h i |
| 57 | have hi : (x i : UnitAddCircle) = (y i : UnitAddCircle) := congrFun h i |
| 58 | obtain ⟨n, hn⟩ := AddSubgroup.mem_zmultiples_iff.mp (QuotientAddGroup.eq_iff_sub_mem.mp hi) |
| 59 | exact ⟨n, by simpa using hn⟩ |
| 60 | · intro h |
| 61 | funext i |
| 62 | apply QuotientAddGroup.eq_iff_sub_mem.mpr |
| 63 | obtain ⟨n, hn⟩ := h i |
| 64 | apply AddSubgroup.mem_zmultiples_iff.mpr |
| 65 | exact ⟨n, by simpa using hn⟩ |
| 66 | |
| 67 | theorem latticePeriodization_eq_of_projection_eq (f : SchwartzMap (ι → ℝ) ℂ) |
| 68 | {x y : ι → ℝ} (h : torusProjection x = torusProjection y) : |
| 69 | PoissonAutomorphyNormalizationData.Construction.latticePeriodization (AlgebraicGeometry.ComplexMultiplication.ThetaCoordinates.CM.thetaCoordinateLattice ι) f x = |
| 70 | PoissonAutomorphyNormalizationData.Construction.latticePeriodization (AlgebraicGeometry.ComplexMultiplication.ThetaCoordinates.CM.thetaCoordinateLattice ι) f y := by |
| 71 | let a : AlgebraicGeometry.ComplexMultiplication.ThetaCoordinates.CM.thetaCoordinateLattice ι := ⟨x - y, (torusProjection_eq_iff x y).mp h⟩ |
| 72 | have hxy : x = y + a.val := by dsimp [a]; abel |
| 73 | rw [hxy] |
| 74 | exact PoissonAutomorphyNormalizationData.Construction.latticePeriodization_add _ f a y |
| 75 | |
| 76 | def torusRepresentative (t : UnitAddTorus ι) : ι → ℝ := |
| 77 | (torusProjection_isOpenQuotientMap.surjective t).choose |
| 78 | |
| 79 | omit [Fintype ι] in |
| 80 | theorem torusRepresentative_projection (t : UnitAddTorus ι) : |
| 81 | torusProjection (torusRepresentative t) = t := |
| 82 | (torusProjection_isOpenQuotientMap.surjective t).choose_spec |
| 83 | |
| 84 | def torusPeriodization (f : SchwartzMap (ι → ℝ) ℂ) : C(UnitAddTorus ι, ℂ) where |
| 85 | toFun t := PoissonAutomorphyNormalizationData.Construction.latticePeriodization (AlgebraicGeometry.ComplexMultiplication.ThetaCoordinates.CM.thetaCoordinateLattice ι) f (torusRepresentative t) |
| 86 | continuous_toFun := by |
| 87 | apply torusProjection_isOpenQuotientMap.isQuotientMap.continuous_iff.mpr |
| 88 | have heq : (fun x : ι → ℝ => |
| 89 | PoissonAutomorphyNormalizationData.Construction.latticePeriodization (AlgebraicGeometry.ComplexMultiplication.ThetaCoordinates.CM.thetaCoordinateLattice ι) f |
| 90 | (torusRepresentative (torusProjection x))) = |
| 91 | PoissonAutomorphyNormalizationData.Construction.latticePeriodization (AlgebraicGeometry.ComplexMultiplication.ThetaCoordinates.CM.thetaCoordinateLattice ι) f := by |
| 92 | funext x |
| 93 | exact latticePeriodization_eq_of_projection_eq f (torusRepresentative_projection _) |
| 94 | change Continuous (fun x : ι → ℝ => _) |
| 95 | simp only [Function.comp_def] |
| 96 | rw [heq] |
| 97 | exact (PoissonAutomorphyNormalizationData.Construction.latticePeriodization (AlgebraicGeometry.ComplexMultiplication.ThetaCoordinates.CM.thetaCoordinateLattice ι) f).continuous |
| 98 | |
| 99 | theorem torusPeriodization_projection (f : SchwartzMap (ι → ℝ) ℂ) (x : ι → ℝ) : |
| 100 | torusPeriodization f (torusProjection x) = ∑' n : ι → ℤ, f (x + integerReal n) := by |
| 101 | change PoissonAutomorphyNormalizationData.Construction.latticePeriodization (AlgebraicGeometry.ComplexMultiplication.ThetaCoordinates.CM.thetaCoordinateLattice ι) f |
| 102 | (torusRepresentative (torusProjection x)) = _ |
| 103 | rw [latticePeriodization_eq_of_projection_eq f (torusRepresentative_projection _), |
| 104 | PoissonAutomorphyNormalizationData.Construction.latticePeriodization_apply] |
| 105 | exact (integerLatticeEquiv.tsum_eq (fun a : AlgebraicGeometry.ComplexMultiplication.ThetaCoordinates.CM.thetaCoordinateLattice ι => f (x + a.val))).symm |
| 106 | |
| 107 | theorem integer_schwartz_summable (f : SchwartzMap (ι → ℝ) ℂ) : |
| 108 | Summable (fun n : ι → ℤ => ‖f (integerReal n)‖) := by |
| 109 | have h : Summable (fun n : ι → ℤ => ‖f (integerLatticeEquiv (ι := ι) n).val‖) := |
| 110 | (PoissonAutomorphyNormalizationData.Construction.schwartz_lattice_summable (AlgebraicGeometry.ComplexMultiplication.ThetaCoordinates.CM.thetaCoordinateLattice ι) f).comp_injective |
| 111 | (integerLatticeEquiv (ι := ι)).injective |
| 112 | exact h |
| 113 | |
| 114 | end |
| 115 | |
| 116 | /-! The coordinate Fourier transform preserves the real Schwartz space. -/ |
| 117 | |
| 118 | open scoped Classical FourierTransform |
| 119 | open _root_.MeasureTheory OAI.RepresentationTheory.Theta.PoissonAutomorphyNormalizationData |
| 120 | |
| 121 | variable {ι : Type*} [Fintype ι] |
| 122 | |
| 123 | def coordinateFourier (f : SchwartzMap (ι → ℝ) ℂ) : SchwartzMap (ι → ℝ) ℂ := |
| 124 | SchwartzMap.compCLMOfContinuousLinearEquiv ℂ (PiLp.continuousLinearEquiv 2 ℝ (fun _ : ι => ℝ)).symm |
| 125 | (𝓕 (SchwartzMap.compCLMOfContinuousLinearEquiv ℂ (PiLp.continuousLinearEquiv 2 ℝ (fun _ : ι => ℝ)) f)) |
| 126 | |
| 127 | theorem coordinateFourier_apply (f : SchwartzMap (ι → ℝ) ℂ) (x : ι → ℝ) : |
| 128 | coordinateFourier f x = PoissonAutomorphyNormalizationData.fourier PoissonAutomorphyNormalizationData.standardRealCharacter volume f x := by |
| 129 | change 𝓕 ((SchwartzMap.compCLMOfContinuousLinearEquiv ℂ |
| 130 | (PiLp.continuousLinearEquiv 2 ℝ (fun _ : ι => ℝ)) f : SchwartzMap (EuclideanSpace ℝ ι) ℂ)) |
| 131 | (WithLp.toLp 2 x) = _ |
| 132 | rw [SchwartzMap.fourier_coe, Real.fourier_eq] |
| 133 | rw [← (PiLp.volume_preserving_toLp ι).integral_comp |
| 134 | (MeasurableEquiv.toLp 2 (ι → ℝ)).measurableEmbedding] |
| 135 | apply integral_congr_ae |
| 136 | exact Filter.Eventually.of_forall fun y => by |
| 137 | simp only [Circle.smul_def, smul_eq_mul, PiLp.inner_apply, |
| 138 | RCLike.inner_apply, conj_trivial, PoissonAutomorphyNormalizationData.standardRealCharacter, |
| 139 | MonoidHom.compAddChar_apply] |
| 140 | change (Real.fourierChar (-(∑ i, x i * y i)) : ℂ) * f y = |
| 141 | f y * (Real.fourierChar (-(∑ i, x i * y i)) : ℂ) |
| 142 | exact mul_comm _ _ |
| 143 | |
| 144 | theorem coordinateFourier_integer_summable (f : SchwartzMap (ι → ℝ) ℂ) : |
| 145 | Summable (fun n : ι → ℤ => ‖PoissonAutomorphyNormalizationData.fourier PoissonAutomorphyNormalizationData.standardRealCharacter volume f (integerReal n)‖) := by |
| 146 | simpa only [coordinateFourier_apply] using integer_schwartz_summable (coordinateFourier f) |
| 147 | |
| 148 | end |
| 149 | |
| 150 | end OAI.RepresentationTheory.Theta.RealFourier.PoissonAutomorphyConstruction |