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.RealLevi |
| 2 | import OAI.RepresentationTheory.Weil.Local.UnitaryInner |
| 3 | |
| 4 | /-! # Real Oscillator -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Weil.Local.RealOscillator.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! The actual real oscillator action extends uniquely to the full L² space. -/ |
| 13 | |
| 14 | open _root_.MeasureTheory |
| 15 | |
| 16 | theorem real_testToL2_dense (n : ℕ) : DenseRange (UnitaryInner.Construction.testToL2 ℝ n) := by |
| 17 | have hd := SchwartzMap.denseRange_toLpCLM (E := FunctionsMetaplectic.Construction.Position ℝ n) (F := ℂ) |
| 18 | (μ := UnitaryInner.Construction.referencePositionMeasure ℝ n) (p := 2) (by norm_num) |
| 19 | intro x |
| 20 | apply closure_mono _ (hd x) |
| 21 | rintro _ ⟨f, rfl⟩ |
| 22 | exact ⟨RealTestSpace.Construction.realSchwartzEquiv n f, rfl⟩ |
| 23 | |
| 24 | def realL2Oscillator (n : ℕ) (ψ : AddChar ℝ ℂ) (a : FunctionsMetaplectic.Construction.Oscillator ℝ n ψ) : |
| 25 | Lp ℂ 2 (UnitaryInner.Construction.referencePositionMeasure ℝ n) ≃ₗᵢ[ℂ] Lp ℂ 2 (UnitaryInner.Construction.referencePositionMeasure ℝ n) := |
| 26 | a.val.2.extendOfIsometry (UnitaryInner.Construction.testToL2 ℝ n) (UnitaryInner.Construction.testToL2 ℝ n) |
| 27 | (real_testToL2_dense n) (real_testToL2_dense n) |
| 28 | (fun f => by rw [UnitaryInner.Construction.testToL2_norm, UnitaryInner.Construction.testToL2_norm, a.property.1]) |
| 29 | |
| 30 | theorem realL2Oscillator_apply (n : ℕ) (ψ : AddChar ℝ ℂ) (a : FunctionsMetaplectic.Construction.Oscillator ℝ n ψ) |
| 31 | (f : FunctionsMetaplectic.Construction.schwartzBruhat ℝ n) : |
| 32 | Construction.realL2Oscillator n ψ a (UnitaryInner.Construction.testToL2 ℝ n f) = UnitaryInner.Construction.testToL2 ℝ n (a.val.2 f) := |
| 33 | LinearEquiv.extendOfIsometry_eq _ _ _ _ _ _ f |
| 34 | |
| 35 | theorem realL2Oscillator_one (n : ℕ) (ψ : AddChar ℝ ℂ) : Construction.realL2Oscillator n ψ 1 = 1 := by |
| 36 | apply DFunLike.ext' |
| 37 | apply (real_testToL2_dense n).equalizer (Construction.realL2Oscillator n ψ 1).continuous (continuous_id) |
| 38 | funext f |
| 39 | exact realL2Oscillator_apply n ψ 1 f |
| 40 | |
| 41 | theorem realL2Oscillator_mul (n : ℕ) (ψ : AddChar ℝ ℂ) (a b : FunctionsMetaplectic.Construction.Oscillator ℝ n ψ) : |
| 42 | Construction.realL2Oscillator n ψ (a * b) = Construction.realL2Oscillator n ψ a * Construction.realL2Oscillator n ψ b := by |
| 43 | apply DFunLike.ext' |
| 44 | apply (real_testToL2_dense n).equalizer (Construction.realL2Oscillator n ψ (a * b)).continuous |
| 45 | ((Construction.realL2Oscillator n ψ a).continuous.comp (Construction.realL2Oscillator n ψ b).continuous) |
| 46 | funext f |
| 47 | change Construction.realL2Oscillator n ψ (a * b) (UnitaryInner.Construction.testToL2 ℝ n f) = |
| 48 | Construction.realL2Oscillator n ψ a (Construction.realL2Oscillator n ψ b (UnitaryInner.Construction.testToL2 ℝ n f)) |
| 49 | rw [realL2Oscillator_apply, realL2Oscillator_apply, realL2Oscillator_apply] |
| 50 | rfl |
| 51 | |
| 52 | def realL2OscillatorHom (n : ℕ) (ψ : AddChar ℝ ℂ) : |
| 53 | FunctionsMetaplectic.Construction.Oscillator ℝ n ψ →* (Lp ℂ 2 (UnitaryInner.Construction.referencePositionMeasure ℝ n) ≃ₗᵢ[ℂ] Lp ℂ 2 (UnitaryInner.Construction.referencePositionMeasure ℝ n)) where |
| 54 | toFun := Construction.realL2Oscillator n ψ |
| 55 | map_one' := realL2Oscillator_one n ψ |
| 56 | map_mul' := realL2Oscillator_mul n ψ |
| 57 | |
| 58 | theorem realL2Oscillator_scalar (n : ℕ) (ψ : AddChar ℝ ℂ) (a : FunctionsMetaplectic.Construction.Oscillator ℝ n ψ) (z : ℂ) |
| 59 | (h : ∀ f : FunctionsMetaplectic.Construction.schwartzBruhat ℝ n, a.val.2 f = z • f) |
| 60 | (f : Lp ℂ 2 (UnitaryInner.Construction.referencePositionMeasure ℝ n)) : Construction.realL2Oscillator n ψ a f = z • f := by |
| 61 | have he := (real_testToL2_dense n).equalizer (Construction.realL2Oscillator n ψ a).continuous |
| 62 | (by fun_prop : Continuous (fun g : Lp ℂ 2 (UnitaryInner.Construction.referencePositionMeasure ℝ n) => z • g)) |
| 63 | (show Construction.realL2Oscillator n ψ a ∘ UnitaryInner.Construction.testToL2 ℝ n = |
| 64 | (fun g => z • g) ∘ UnitaryInner.Construction.testToL2 ℝ n from by |
| 65 | funext g |
| 66 | change Construction.realL2Oscillator n ψ a (UnitaryInner.Construction.testToL2 ℝ n g) = z • UnitaryInner.Construction.testToL2 ℝ n g |
| 67 | rw [realL2Oscillator_apply, h, map_smul]) |
| 68 | exact congrFun he f |
| 69 | |
| 70 | end |
| 71 | |
| 72 | /-! Identifying the actual L² oscillator action by test-function pairings. -/ |
| 73 | |
| 74 | open _root_.MeasureTheory |
| 75 | open scoped InnerProductSpace |
| 76 | |
| 77 | theorem L2_toLp_inner {E : Type} [MeasurableSpace E] (μ : Measure E) |
| 78 | {f g : E → ℂ} (hf : MemLp f 2 μ) (hg : MemLp g 2 μ) : |
| 79 | ⟪hf.toLp f, hg.toLp g⟫_ℂ = ∫ x, ⟪f x, g x⟫_ℂ ∂μ := by |
| 80 | change (∫ x, ⟪(hf.toLp f) x, (hg.toLp g) x⟫_ℂ ∂μ) = _ |
| 81 | apply integral_congr_ae |
| 82 | filter_upwards [hf.coeFn_toLp, hg.coeFn_toLp] with x hfx hgx |
| 83 | rw [hfx, hgx] |
| 84 | |
| 85 | theorem realL2Oscillator_eq_of_pairings {n : ℕ} (ψ : AddChar ℝ ℂ) |
| 86 | (a : FunctionsMetaplectic.Construction.Oscillator ℝ n ψ) (f g : Lp ℂ 2 (UnitaryInner.Construction.referencePositionMeasure ℝ n)) |
| 87 | (h : ∀ φ : FunctionsMetaplectic.Construction.schwartzBruhat ℝ n, |
| 88 | ⟪f, UnitaryInner.Construction.testToL2 ℝ n φ⟫_ℂ = ⟪g, UnitaryInner.Construction.testToL2 ℝ n (a.val.2 φ)⟫_ℂ) : |
| 89 | Construction.realL2Oscillator n ψ a f = g := by |
| 90 | apply ext_inner_right ℂ |
| 91 | have he := (real_testToL2_dense n).equalizer |
| 92 | (by fun_prop : Continuous (fun v => ⟪realL2Oscillator n ψ a f, v⟫_ℂ)) |
| 93 | (by fun_prop : Continuous (fun v => ⟪g, v⟫_ℂ)) |
| 94 | (show (fun v => ⟪Construction.realL2Oscillator n ψ a f, v⟫_ℂ) ∘ UnitaryInner.Construction.testToL2 ℝ n = |
| 95 | (fun v => ⟪g, v⟫_ℂ) ∘ UnitaryInner.Construction.testToL2 ℝ n from by |
| 96 | funext θ |
| 97 | let φ := a.val.2.symm θ |
| 98 | have hθ : a.val.2 φ = θ := a.val.2.apply_symm_apply θ |
| 99 | change ⟪Construction.realL2Oscillator n ψ a f, UnitaryInner.Construction.testToL2 ℝ n θ⟫_ℂ = ⟪g, UnitaryInner.Construction.testToL2 ℝ n θ⟫_ℂ |
| 100 | rw [← hθ, ← realL2Oscillator_apply, LinearIsometryEquiv.inner_map_map] |
| 101 | rw [realL2Oscillator_apply] |
| 102 | exact h φ) |
| 103 | exact congrFun he |
| 104 | |
| 105 | theorem realL2Oscillator_toLp_eq_of_integrals {n : ℕ} (ψ : AddChar ℝ ℂ) |
| 106 | (a : FunctionsMetaplectic.Construction.Oscillator ℝ n ψ) {f g : FunctionsMetaplectic.Construction.Position ℝ n → ℂ} |
| 107 | (hf : MemLp f 2 (UnitaryInner.Construction.referencePositionMeasure ℝ n)) |
| 108 | (hg : MemLp g 2 (UnitaryInner.Construction.referencePositionMeasure ℝ n)) |
| 109 | (h : ∀ φ : FunctionsMetaplectic.Construction.schwartzBruhat ℝ n, |
| 110 | (∫ x, ⟪f x, φ.val x⟫_ℂ ∂ UnitaryInner.Construction.referencePositionMeasure ℝ n) = |
| 111 | ∫ x, ⟪g x, (a.val.2 φ).val x⟫_ℂ ∂ UnitaryInner.Construction.referencePositionMeasure ℝ n) : |
| 112 | Construction.realL2Oscillator n ψ a (hf.toLp f) = hg.toLp g := by |
| 113 | apply realL2Oscillator_eq_of_pairings |
| 114 | intro φ |
| 115 | exact (L2_toLp_inner _ hf (UnitaryInner.Construction.test_memLp_two ℝ n φ)).trans |
| 116 | ((h φ).trans (L2_toLp_inner _ hg (UnitaryInner.Construction.test_memLp_two ℝ n (a.val.2 φ))).symm) |
| 117 | |
| 118 | end |
| 119 | |
| 120 | end OAI.RepresentationTheory.Weil.Local.RealOscillator.Construction |