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.Local.RealOscillator |
| 2 | import OAI.RepresentationTheory.Weil.Local.SiegelGaussian |
| 3 | |
| 4 | /-! # Real Generators -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Weil.Local.RealGenerators.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Concrete multiplication and Fourier formulas for the extended real oscillator action. -/ |
| 11 | |
| 12 | open _root_.MeasureTheory |
| 13 | open scoped InnerProductSpace ComplexConjugate |
| 14 | |
| 15 | theorem real_memLp_reference_of_volume {n : ℕ} {f : FunctionsMetaplectic.Construction.Position ℝ n → ℂ} (hf : MemLp f 2) : |
| 16 | MemLp f 2 (UnitaryInner.Construction.referencePositionMeasure ℝ n) := by |
| 17 | rw [Measure.isAddLeftInvariant_eq_smul_of_regular (UnitaryInner.Construction.referencePositionMeasure ℝ n) volume] |
| 18 | exact hf.smul_measure (by simp) |
| 19 | |
| 20 | theorem inner_mul_unit_scalar (z f g : ℂ) (hz : ‖z‖ = 1) : |
| 21 | ⟪z * f, z * g⟫_ℂ = ⟪f, g⟫_ℂ := by |
| 22 | simp only [RCLike.inner_apply, map_mul] |
| 23 | calc |
| 24 | _ = (z * conj z) * (g * conj f) := by ring |
| 25 | _ = _ := by rw [Complex.mul_conj, Complex.normSq_eq_norm_sq, hz]; simp |
| 26 | |
| 27 | theorem realL2Oscillator_multiplier {n : ℕ} (ψ : AddChar ℝ ℂ) (a : FunctionsMetaplectic.Construction.Oscillator ℝ n ψ) |
| 28 | (q : FunctionsMetaplectic.Construction.Position ℝ n → ℂ) (hq : ∀ x, ‖q x‖ = 1) |
| 29 | (ha : ∀ (φ : FunctionsMetaplectic.Construction.schwartzBruhat ℝ n) x, (a.val.2 φ).val x = q x * φ.val x) |
| 30 | {f g : FunctionsMetaplectic.Construction.Position ℝ n → ℂ} |
| 31 | (hf : MemLp f 2 (UnitaryInner.Construction.referencePositionMeasure ℝ n)) |
| 32 | (hg : MemLp g 2 (UnitaryInner.Construction.referencePositionMeasure ℝ n)) |
| 33 | (hfg : ∀ x, g x = q x * f x) : |
| 34 | RealOscillator.Construction.realL2Oscillator n ψ a (hf.toLp f) = hg.toLp g := by |
| 35 | apply RealOscillator.Construction.realL2Oscillator_toLp_eq_of_integrals |
| 36 | intro φ |
| 37 | apply integral_congr_ae |
| 38 | exact Filter.Eventually.of_forall fun x => by |
| 39 | dsimp only |
| 40 | rw [hfg, ha, inner_mul_unit_scalar _ _ _ (hq x)] |
| 41 | |
| 42 | theorem real_standard_fourier_oscillator_apply {n : ℕ} (φ : FunctionsMetaplectic.Construction.schwartzBruhat ℝ n) |
| 43 | (x : FunctionsMetaplectic.Construction.Position ℝ n) : |
| 44 | ((RealFourierFamily.Construction.realFourierOscillatorFamily n 1 one_ne_zero).val.2 φ).val x = |
| 45 | FunctionsMetaplectic.Construction.fourierIntegral (Gaussian.Construction.realCharacter 1) volume φ.val x := by |
| 46 | change (RealFourierFamily.Construction.realNormalizedFourier n 1 one_ne_zero φ).val x = _ |
| 47 | rw [RealFourierFamily.Construction.realNormalizedFourier_apply, RealNormalization.Construction.fourierIntegral_real_normalized 1 one_ne_zero] |
| 48 | simp |
| 49 | |
| 50 | theorem realL2Oscillator_fourier {n : ℕ} {f g : FunctionsMetaplectic.Construction.Position ℝ n → ℂ} |
| 51 | (hfi : Integrable f) |
| 52 | (hf : MemLp f 2 (UnitaryInner.Construction.referencePositionMeasure ℝ n)) |
| 53 | (hg : MemLp g 2 (UnitaryInner.Construction.referencePositionMeasure ℝ n)) |
| 54 | (hfg : ∀ x, g x = FunctionsMetaplectic.Construction.fourierIntegral (Gaussian.Construction.realCharacter 1) volume f x) : |
| 55 | RealOscillator.Construction.realL2Oscillator n (Gaussian.Construction.realCharacter 1) (RealFourierFamily.Construction.realFourierOscillatorFamily n 1 one_ne_zero) |
| 56 | (hf.toLp f) = hg.toLp g := by |
| 57 | apply RealOscillator.Construction.realL2Oscillator_toLp_eq_of_integrals |
| 58 | intro φ |
| 59 | rw [Measure.isAddLeftInvariant_eq_smul_of_regular (UnitaryInner.Construction.referencePositionMeasure ℝ n) volume, |
| 60 | integral_smul_nnreal_measure, integral_smul_nnreal_measure] |
| 61 | congr 1 |
| 62 | let a := RealFourierFamily.Construction.realFourierOscillatorFamily n 1 one_ne_zero |
| 63 | have ha : (a.val.2 φ).val = FunctionsMetaplectic.Construction.fourierIntegral (Gaussian.Construction.realCharacter 1) volume φ.val := |
| 64 | funext (real_standard_fourier_oscillator_apply φ) |
| 65 | have hs := NonarchimedeanFourier.Construction.fourierIntegral_inner_swap (Gaussian.Construction.realCharacter 1) (QuadraticIntertwiner.Construction.realCharacter_unitary 1) |
| 66 | (RealTestSpace.Construction.realCharacter_temperate 1).1.continuous volume hfi (FunctionsMetaplectic.Construction.schwartzBruhat_integrable volume (a.val.2 φ)) |
| 67 | have hFF (x : FunctionsMetaplectic.Construction.Position ℝ n) : FunctionsMetaplectic.Construction.fourierIntegral (Gaussian.Construction.realCharacter 1) volume (a.val.2 φ).val (-x) = φ.val x := by |
| 68 | rw [ha, RealFourierLp.Construction.real_fourier_inversion_standard, neg_neg] |
| 69 | simp_rw [← hfg, hFF] at hs |
| 70 | exact hs.symm |
| 71 | |
| 72 | theorem realL2Oscillator_scalar_multiple {n : ℕ} (ψ : AddChar ℝ ℂ) |
| 73 | (a b : FunctionsMetaplectic.Construction.Oscillator ℝ n ψ) (z : ℂ) |
| 74 | (h : ∀ φ : FunctionsMetaplectic.Construction.schwartzBruhat ℝ n, a.val.2 φ = z • b.val.2 φ) |
| 75 | (f : Lp ℂ 2 (UnitaryInner.Construction.referencePositionMeasure ℝ n)) : |
| 76 | RealOscillator.Construction.realL2Oscillator n ψ a f = z • RealOscillator.Construction.realL2Oscillator n ψ b f := by |
| 77 | have he := (RealOscillator.Construction.real_testToL2_dense n).equalizer (RealOscillator.Construction.realL2Oscillator n ψ a).continuous |
| 78 | (by fun_prop : Continuous (fun v => z • RealOscillator.Construction.realL2Oscillator n ψ b v)) |
| 79 | (show RealOscillator.Construction.realL2Oscillator n ψ a ∘ UnitaryInner.Construction.testToL2 ℝ n = |
| 80 | (fun v => z • RealOscillator.Construction.realL2Oscillator n ψ b v) ∘ UnitaryInner.Construction.testToL2 ℝ n from by |
| 81 | funext φ |
| 82 | change RealOscillator.Construction.realL2Oscillator n ψ a (UnitaryInner.Construction.testToL2 ℝ n φ) = z • RealOscillator.Construction.realL2Oscillator n ψ b (UnitaryInner.Construction.testToL2 ℝ n φ) |
| 83 | rw [RealOscillator.Construction.realL2Oscillator_apply, RealOscillator.Construction.realL2Oscillator_apply, h, map_smul]) |
| 84 | exact congrFun he f |
| 85 | |
| 86 | end |
| 87 | |
| 88 | end OAI.RepresentationTheory.Weil.Local.RealGenerators.Construction |