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.Weil.UnitarySplitting.RealFourier |
| 2 | import OAI.RepresentationTheory.Weil.UnitarySplitting.FourierPairing |
| 3 | |
| 4 | /-! # Real Fourier Unitary -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Weil.UnitarySplitting.RealFourierUnitary.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The unitary Fourier lift for every nontrivial continuous unitary |
| 11 | character of the real field. -/ |
| 12 | |
| 13 | open _root_.MeasureTheory |
| 14 | |
| 15 | theorem real_nondiscrete : ¬ DiscreteTopology ℝ := by |
| 16 | intro h |
| 17 | let : DiscreteTopology ℝ := h |
| 18 | have : Subsingleton ℝ := subsingleton_of_preconnected_totallyDisconnected |
| 19 | exact zero_ne_one (Subsingleton.elim (0 : ℝ) 1) |
| 20 | |
| 21 | def realPositionDilation (d : ℕ) (c : ℝ) (hc : c ≠ 0) : Local.FunctionsMetaplectic.Construction.Position ℝ d ≃ₜ+ Local.FunctionsMetaplectic.Construction.Position ℝ d := |
| 22 | (LinearEquiv.smulOfUnit (Units.mk0 c hc) : Local.FunctionsMetaplectic.Construction.Position ℝ d ≃ₗ[ℝ] Local.FunctionsMetaplectic.Construction.Position ℝ d) |
| 23 | |>.toContinuousLinearEquiv.toContinuousAddEquiv |
| 24 | |
| 25 | def realRawFourier (d : ℕ) (c : ℝ) (hc : c ≠ 0) : Local.FunctionsMetaplectic.Construction.schwartzBruhat ℝ d ≃ₗ[ℂ] Local.FunctionsMetaplectic.Construction.schwartzBruhat ℝ d := |
| 26 | (RealFourier.Construction.realBruhatFourier d).trans (CoordinateChange.Construction.schwartzBruhat_coordinateEquiv (realPositionDilation d c hc)) |
| 27 | |
| 28 | theorem real_fourier_frequency {d : ℕ} (c : ℝ) (f : Local.FunctionsMetaplectic.Construction.Position ℝ d → ℂ) (x : Local.FunctionsMetaplectic.Construction.Position ℝ d) : |
| 29 | Local.FunctionsMetaplectic.Construction.fourierIntegral (RealFourier.Construction.realCharacter c) volume f x = |
| 30 | Local.FunctionsMetaplectic.Construction.fourierIntegral (RealFourier.Construction.realCharacter 1) volume f (c • x) := by |
| 31 | unfold Local.FunctionsMetaplectic.Construction.fourierIntegral |
| 32 | apply integral_congr_ae |
| 33 | exact Filter.Eventually.of_forall fun y => by |
| 34 | dsimp only |
| 35 | congr 1 |
| 36 | change (Real.fourierChar (c * -Local.FunctionsMetaplectic.Construction.dot x y) : ℂ) = |
| 37 | (Real.fourierChar (1 * -Local.FunctionsMetaplectic.Construction.dot (c • x) y) : ℂ) |
| 38 | congr 2 |
| 39 | simp [Local.FunctionsMetaplectic.Construction.dot, Pi.smul_apply, smul_eq_mul, ← Finset.mul_sum, mul_assoc] |
| 40 | |
| 41 | theorem realRawFourier_apply {d : ℕ} (c : ℝ) (hc : c ≠ 0) |
| 42 | (f : Local.FunctionsMetaplectic.Construction.schwartzBruhat ℝ d) (x : Local.FunctionsMetaplectic.Construction.Position ℝ d) : |
| 43 | (realRawFourier d c hc f).val x = Local.FunctionsMetaplectic.Construction.fourierIntegral (RealFourier.Construction.realCharacter c) volume f.val x := by |
| 44 | change (RealFourier.Construction.realBruhatFourier d f).val (c • x) = _ |
| 45 | rw [RealFourier.Construction.realBruhatFourier_apply, ← real_fourier_frequency c] |
| 46 | |
| 47 | theorem realRawFourier_energy {d : ℕ} (c : ℝ) (hc : c ≠ 0) (f : Local.FunctionsMetaplectic.Construction.schwartzBruhat ℝ d) : |
| 48 | Local.FunctionsMetaplectic.Construction.l2Energy ℝ d (realRawFourier d c hc f) = (|c| ^ d)⁻¹ * Local.FunctionsMetaplectic.Construction.l2Energy ℝ d f := by |
| 49 | change (∫ x, ‖(RealFourier.Construction.realBruhatFourier d f).val (c • x)‖ ^ 2 ∂ Weak.Construction.referencePositionMeasure ℝ d) = _ |
| 50 | have hh := Measure.integral_comp_smul (Weak.Construction.referencePositionMeasure ℝ d) |
| 51 | (fun x : Local.FunctionsMetaplectic.Construction.Position ℝ d => ‖(RealFourier.Construction.realBruhatFourier d f).val x‖ ^ 2) c |
| 52 | have hh' : (∫ x, ‖(RealFourier.Construction.realBruhatFourier d f).val (c • x)‖ ^ 2 ∂ Weak.Construction.referencePositionMeasure ℝ d) = |
| 53 | (|c| ^ d)⁻¹ * Local.FunctionsMetaplectic.Construction.l2Energy ℝ d (RealFourier.Construction.realBruhatFourier d f) := by |
| 54 | simpa only [Module.finrank_pi, Fintype.card_fin, abs_inv, abs_pow, smul_eq_mul, |
| 55 | Local.FunctionsMetaplectic.Construction.l2Energy] using hh |
| 56 | exact hh'.trans (congrArg ((|c| ^ d)⁻¹ * ·) (RealFourier.Construction.realBruhatFourier_unitary f)) |
| 57 | |
| 58 | theorem exists_real_unitary_fourier {d : ℕ} |
| 59 | (ψ : AddChar ℝ ℂ) (hc : Continuous (fun t : ℝ => ψ t)) |
| 60 | (hunit : ∀ t, ‖ψ t‖ = 1) (hnontrivial : ∃ t, ψ t ≠ 1) : |
| 61 | ∃ U : Local.FunctionsMetaplectic.Construction.schwartzBruhat ℝ d ≃ₗ[ℂ] Local.FunctionsMetaplectic.Construction.schwartzBruhat ℝ d, |
| 62 | (∀ f, Local.FunctionsMetaplectic.Construction.l2Energy ℝ d (U f) = Local.FunctionsMetaplectic.Construction.l2Energy ℝ d f) ∧ |
| 63 | (∀ v f, U (HeisenbergStability.Construction.heisenbergOperator real_nondiscrete ψ hc hunit v f) = |
| 64 | HeisenbergStability.Construction.heisenbergOperator real_nondiscrete ψ hc hunit (FourierCovariance.Construction.fourierPhaseRotation v) (U f)) := by |
| 65 | obtain ⟨c, hcne, rfl⟩ := RealFourier.Construction.continuous_nontrivial_real_character ψ hc hunit hnontrivial |
| 66 | let s : ℝ := Real.sqrt (|c| ^ d) |
| 67 | have hs : 0 < s := Real.sqrt_pos.mpr (pow_pos (abs_pos.mpr hcne) d) |
| 68 | let U := (realRawFourier d c hcne).trans |
| 69 | (LinearEquiv.smulOfUnit (Units.mk0 (s : ℂ) (Complex.ofReal_ne_zero.mpr hs.ne'))) |
| 70 | have hU (f : Local.FunctionsMetaplectic.Construction.schwartzBruhat ℝ d) : U f = (s : ℂ) • realRawFourier d c hcne f := rfl |
| 71 | have hval (f : Local.FunctionsMetaplectic.Construction.schwartzBruhat ℝ d) : (U f).val = |
| 72 | (s : ℂ) • Local.FunctionsMetaplectic.Construction.fourierIntegral (RealFourier.Construction.realCharacter c) volume f.val := by |
| 73 | funext x |
| 74 | change (s : ℂ) * (realRawFourier d c hcne f).val x = _ |
| 75 | rw [realRawFourier_apply] |
| 76 | rfl |
| 77 | refine ⟨U, ?_, ?_⟩ |
| 78 | · intro f |
| 79 | rw [hU, FourierPairing.Construction.l2Energy_smul, realRawFourier_energy] |
| 80 | have hscale : ‖(s : ℂ)‖ ^ 2 * (|c| ^ d)⁻¹ = 1 := by |
| 81 | rw [Complex.norm_real, Real.norm_eq_abs, abs_of_pos hs] |
| 82 | change Real.sqrt (|c| ^ d) ^ 2 * (|c| ^ d)⁻¹ = 1 |
| 83 | rw [Real.sq_sqrt (pow_nonneg (abs_nonneg c) d), mul_inv_cancel₀ (pow_ne_zero d (abs_ne_zero.mpr hcne))] |
| 84 | rw [← mul_assoc, hscale, one_mul] |
| 85 | · intro v f |
| 86 | apply Subtype.ext |
| 87 | change (U (HeisenbergStability.Construction.heisenbergOperator real_nondiscrete (RealFourier.Construction.realCharacter c) hc hunit v f)).val = |
| 88 | Local.FunctionsMetaplectic.Construction.heisenbergFunction (RealFourier.Construction.realCharacter c) (FourierCovariance.Construction.fourierPhaseRotation v) (U f).val |
| 89 | rw [hval, hval] |
| 90 | change (s : ℂ) • Local.FunctionsMetaplectic.Construction.fourierIntegral (RealFourier.Construction.realCharacter c) volume |
| 91 | (Local.FunctionsMetaplectic.Construction.heisenbergFunction (RealFourier.Construction.realCharacter c) v f.val) = _ |
| 92 | rw [FourierCovariance.Construction.fourierIntegral_heisenberg, Oscillator.Construction.heisenbergFunction_smul] |
| 93 | |
| 94 | end |
| 95 | |
| 96 | end OAI.RepresentationTheory.Weil.UnitarySplitting.RealFourierUnitary.Construction |