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.RealFourier |
| 2 | |
| 3 | /-! # Periodization Integral -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Theta.PeriodizationIntegral.PoissonAutomorphyConstruction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Integration of lattice periodizations over the unit cube. -/ |
| 10 | |
| 11 | open scoped Classical ENNReal |
| 12 | open _root_.MeasureTheory |
| 13 | |
| 14 | local instance : MeasureSpace UnitAddCircle := ⟨AddCircle.haarAddCircle⟩ |
| 15 | |
| 16 | variable {ι : Type*} [Fintype ι] |
| 17 | |
| 18 | def unitCube : Set (ι → ℝ) := {x | ∀ i, x i ∈ Set.Ico (0 : ℝ) 1} |
| 19 | |
| 20 | theorem unitCube_eq_fundamentalDomain : unitCube (ι := ι) = |
| 21 | ZSpan.fundamentalDomain (Pi.basisFun ℝ ι) := by |
| 22 | ext x |
| 23 | simp [unitCube, ZSpan.mem_fundamentalDomain] |
| 24 | |
| 25 | theorem integral_lattice_periodization {f : (ι → ℝ) → ℂ} (hf : Integrable f) : |
| 26 | (∫ x in unitCube, ∑' a : AlgebraicGeometry.ComplexMultiplication.ThetaCoordinates.CM.thetaCoordinateLattice ι, f (x + a.val)) = ∫ x, f x := by |
| 27 | let : Countable (AlgebraicGeometry.ComplexMultiplication.ThetaCoordinates.CM.thetaCoordinateLattice ι) := |
| 28 | Countable.of_equiv (ι → ℤ) (RealFourier.PoissonAutomorphyConstruction.integerLatticeEquiv (ι := ι)) |
| 29 | let : VAddInvariantMeasure (AlgebraicGeometry.ComplexMultiplication.ThetaCoordinates.CM.thetaCoordinateLattice ι) (ι → ℝ) volume := |
| 30 | inferInstanceAs (VAddInvariantMeasure (AlgebraicGeometry.ComplexMultiplication.ThetaCoordinates.CM.thetaCoordinateLattice ι).toAddSubgroup (ι → ℝ) volume) |
| 31 | have hFD : IsAddFundamentalDomain (AlgebraicGeometry.ComplexMultiplication.ThetaCoordinates.CM.thetaCoordinateLattice ι) (unitCube (ι := ι)) volume := by |
| 32 | rw [unitCube_eq_fundamentalDomain] |
| 33 | exact ZSpan.isAddFundamentalDomain (Pi.basisFun ℝ ι) volume |
| 34 | have heq : ∑' a : AlgebraicGeometry.ComplexMultiplication.ThetaCoordinates.CM.thetaCoordinateLattice ι, |
| 35 | ∫⁻ x in unitCube, ‖f (x + a.val)‖ₑ = ∫⁻ x, ‖f x‖ₑ := by |
| 36 | have h := hFD.lintegral_eq_tsum'' (fun x => ‖f x‖ₑ) |
| 37 | simpa only [Submodule.vadd_def, vadd_eq_add, add_comm] using h.symm |
| 38 | rw [integral_tsum (f := fun (a : AlgebraicGeometry.ComplexMultiplication.ThetaCoordinates.CM.thetaCoordinateLattice ι) (x : ι → ℝ) => f (x + a.val)) |
| 39 | (fun a => (hf.comp_add_right a.val).restrict.aestronglyMeasurable) |
| 40 | (heq.trans_ne hf.hasFiniteIntegral.ne)] |
| 41 | have h := hFD.integral_eq_tsum'' f hf |
| 42 | simpa only [Submodule.vadd_def, vadd_eq_add, add_comm] using h.symm |
| 43 | |
| 44 | theorem unitCube_ae_eq_Ioc : unitCube (ι := ι) =ᵐ[volume] |
| 45 | {x : ι → ℝ | ∀ i, x i ∈ Set.Ioc (0 : ℝ) 1} := by |
| 46 | have h := Measure.ae_eq_set_pi (μ := fun _ : ι => (volume : Measure ℝ)) |
| 47 | (I := Set.univ) (fun _ _ => (Ico_ae_eq_Ioc : Set.Ico (0 : ℝ) 1 =ᵐ[volume] Set.Ioc 0 1)) |
| 48 | simpa only [← volume_pi, Set.pi, Set.mem_univ, forall_const, unitCube] using h |
| 49 | |
| 50 | theorem torus_integral_unitCube (f : UnitAddTorus ι → ℂ) : |
| 51 | (∫ x, f x) = ∫ x in unitCube, f (RealFourier.PoissonAutomorphyConstruction.torusProjection x) := by |
| 52 | calc |
| 53 | _ = ∫ x in {x : ι → ℝ | ∀ i, x i ∈ Set.Ioc (0 : ℝ) 1}, f (RealFourier.PoissonAutomorphyConstruction.torusProjection x) := by |
| 54 | convert UnitAddTorus.integral_preimage f (0 : ι → ℝ) using 1 |
| 55 | simp only [Pi.zero_apply, zero_add] |
| 56 | rfl |
| 57 | _ = _ := setIntegral_congr_set (unitCube_ae_eq_Ioc (ι := ι)).symm |
| 58 | |
| 59 | theorem mFourier_apply_norm (n : ι → ℤ) (t : UnitAddTorus ι) : |
| 60 | ‖UnitAddTorus.mFourier n t‖ = 1 := by |
| 61 | simp only [UnitAddTorus.mFourier, ContinuousMap.coe_mk, norm_prod, |
| 62 | fourier_apply, Circle.norm_coe, Finset.prod_const_one] |
| 63 | |
| 64 | theorem torusProjection_add_lattice (x : ι → ℝ) (a : AlgebraicGeometry.ComplexMultiplication.ThetaCoordinates.CM.thetaCoordinateLattice ι) : |
| 65 | RealFourier.PoissonAutomorphyConstruction.torusProjection (x + a.val) = RealFourier.PoissonAutomorphyConstruction.torusProjection x := by |
| 66 | apply (RealFourier.PoissonAutomorphyConstruction.torusProjection_eq_iff _ _).mpr |
| 67 | simpa only [add_sub_cancel_left] using a.property |
| 68 | |
| 69 | theorem torusPeriodization_fourierCoeff (f : SchwartzMap (ι → ℝ) ℂ) (n : ι → ℤ) : |
| 70 | UnitAddTorus.mFourierCoeff (RealFourier.PoissonAutomorphyConstruction.torusPeriodization f) n = |
| 71 | ∫ x : ι → ℝ, UnitAddTorus.mFourier (-n) (RealFourier.PoissonAutomorphyConstruction.torusProjection x) * f x := by |
| 72 | let e : (ι → ℝ) → ℂ := fun x => UnitAddTorus.mFourier (-n) (RealFourier.PoissonAutomorphyConstruction.torusProjection x) |
| 73 | have he : Continuous e := (UnitAddTorus.mFourier (-n)).continuous.comp |
| 74 | RealFourier.PoissonAutomorphyConstruction.torusProjection_isOpenQuotientMap.continuous |
| 75 | have henorm (x : ι → ℝ) : ‖e x‖ = 1 := mFourier_apply_norm _ _ |
| 76 | have hF : Integrable (fun x => e x * f x) := by |
| 77 | apply f.integrable.norm.mono' (he.mul f.continuous).aestronglyMeasurable |
| 78 | exact Filter.Eventually.of_forall fun x => by simp only [Pi.mul_apply, norm_mul, henorm, one_mul, le_refl] |
| 79 | have hshift (x : ι → ℝ) (a : AlgebraicGeometry.ComplexMultiplication.ThetaCoordinates.CM.thetaCoordinateLattice ι) : e (x + a.val) = e x := by |
| 80 | dsimp [e] |
| 81 | rw [torusProjection_add_lattice] |
| 82 | rw [UnitAddTorus.mFourierCoeff] |
| 83 | calc |
| 84 | _ = ∫ x in unitCube, e x * RealFourier.PoissonAutomorphyConstruction.torusPeriodization f (RealFourier.PoissonAutomorphyConstruction.torusProjection x) := by |
| 85 | simpa only [smul_eq_mul] using torus_integral_unitCube |
| 86 | (fun t => UnitAddTorus.mFourier (-n) t • RealFourier.PoissonAutomorphyConstruction.torusPeriodization f t) |
| 87 | _ = ∫ x in unitCube, ∑' a : AlgebraicGeometry.ComplexMultiplication.ThetaCoordinates.CM.thetaCoordinateLattice ι, e (x + a.val) * f (x + a.val) := by |
| 88 | apply setIntegral_congr_fun (by rw [unitCube_eq_fundamentalDomain]; exact |
| 89 | ZSpan.fundamentalDomain_measurableSet (Pi.basisFun ℝ ι)) |
| 90 | intro x _ |
| 91 | simp only [hshift, tsum_mul_left] |
| 92 | congr 1 |
| 93 | change PoissonAutomorphyNormalizationData.Construction.latticePeriodization (AlgebraicGeometry.ComplexMultiplication.ThetaCoordinates.CM.thetaCoordinateLattice ι) f |
| 94 | (RealFourier.PoissonAutomorphyConstruction.torusRepresentative (RealFourier.PoissonAutomorphyConstruction.torusProjection x)) = _ |
| 95 | rw [RealFourier.PoissonAutomorphyConstruction.latticePeriodization_eq_of_projection_eq f (RealFourier.PoissonAutomorphyConstruction.torusRepresentative_projection _), |
| 96 | PoissonAutomorphyNormalizationData.Construction.latticePeriodization_apply] |
| 97 | _ = _ := integral_lattice_periodization hF |
| 98 | |
| 99 | end |
| 100 | |
| 101 | end OAI.RepresentationTheory.Theta.PeriodizationIntegral.PoissonAutomorphyConstruction |