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.AdelicSplitting.FourierTools |
| 2 | |
| 3 | /-! # Linear Substitution -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Weil.AdelicSplitting.LinearSubstitution.LocalAnalysis |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /- AdelicSplitting-owned copy of the checked LocalWeil analytic helper development. |
| 10 | Kept in a separate namespace so this proof commit has no dependency on |
| 11 | another task's uncommitted modules. -/ |
| 12 | |
| 13 | /-! Coordinate substitutions on the Bruhat space, normalized by Haar measure. -/ |
| 14 | |
| 15 | open _root_.MeasureTheory |
| 16 | open scoped NNReal |
| 17 | |
| 18 | def positionLinearEquiv {k : Type} [Field k] {n : ℕ} |
| 19 | (A : Local.FunctionsMetaplectic.Construction.GeneralLinear k n) : Local.FunctionsMetaplectic.Construction.Position k n ≃ₗ[k] Local.FunctionsMetaplectic.Construction.Position k n := |
| 20 | (Matrix.GeneralLinearGroup.toLin A).toLinearEquiv |
| 21 | |
| 22 | theorem positionLinearEquiv_apply {k : Type} [Field k] {n : ℕ} |
| 23 | (A : Local.FunctionsMetaplectic.Construction.GeneralLinear k n) (x : Local.FunctionsMetaplectic.Construction.Position k n) : |
| 24 | positionLinearEquiv A x = Matrix.mulVec (A : Matrix (Fin n) (Fin n) k) x := rfl |
| 25 | |
| 26 | def positionAddEquiv {k : Type} [NormedField k] {n : ℕ} |
| 27 | (A : Local.FunctionsMetaplectic.Construction.GeneralLinear k n) : Local.FunctionsMetaplectic.Construction.Position k n ≃ₜ+ Local.FunctionsMetaplectic.Construction.Position k n where |
| 28 | __ := (positionLinearEquiv A).toAddEquiv |
| 29 | continuous_toFun := by |
| 30 | change Continuous (fun x => Matrix.mulVec (A : Matrix (Fin n) (Fin n) k) x) |
| 31 | unfold Matrix.mulVec |
| 32 | fun_prop |
| 33 | continuous_invFun := by |
| 34 | change Continuous (fun x => Matrix.mulVec (↑(A⁻¹) : Matrix (Fin n) (Fin n) k) x) |
| 35 | unfold Matrix.mulVec |
| 36 | fun_prop |
| 37 | |
| 38 | def testSubstitution {k : Type} [NormedField k] {n : ℕ} |
| 39 | (A : Local.FunctionsMetaplectic.Construction.GeneralLinear k n) : Local.FunctionsMetaplectic.Construction.schwartzBruhat k n ≃ₗ[ℂ] Local.FunctionsMetaplectic.Construction.schwartzBruhat k n := |
| 40 | TestSpace.LocalAnalysis.schwartzBruhat_coordinateEquiv (positionAddEquiv A⁻¹) |
| 41 | |
| 42 | theorem testSubstitution_apply {k : Type} [NormedField k] {n : ℕ} |
| 43 | (A : Local.FunctionsMetaplectic.Construction.GeneralLinear k n) (f : Local.FunctionsMetaplectic.Construction.schwartzBruhat k n) (x : Local.FunctionsMetaplectic.Construction.Position k n) : |
| 44 | (testSubstitution A f).val x = |
| 45 | f.val (Matrix.mulVec (↑(A⁻¹) : Matrix (Fin n) (Fin n) k) x) := rfl |
| 46 | |
| 47 | variable {k : Type} [NormedField k] [LocallyCompactSpace k] |
| 48 | [MeasurableSpace k] [BorelSpace k] [SecondCountableTopology k] {n : ℕ} |
| 49 | |
| 50 | /-- The Jacobian of a coordinate change is defined by its effect on Haar |
| 51 | measure; it is not an assumed determinant formula. -/ |
| 52 | def coordinateJacobian (e : Local.FunctionsMetaplectic.Construction.Position k n ≃ₜ+ Local.FunctionsMetaplectic.Construction.Position k n) : ℝ := |
| 53 | addEquivAddHaarChar e |
| 54 | |
| 55 | theorem coordinateJacobian_pos (e : Local.FunctionsMetaplectic.Construction.Position k n ≃ₜ+ Local.FunctionsMetaplectic.Construction.Position k n) : |
| 56 | 0 < coordinateJacobian e := addEquivAddHaarChar_pos e |
| 57 | |
| 58 | theorem integral_comp_coordinate_inverse |
| 59 | (μ : Measure (Local.FunctionsMetaplectic.Construction.Position k n)) [μ.IsAddHaarMeasure] |
| 60 | (e : Local.FunctionsMetaplectic.Construction.Position k n ≃ₜ+ Local.FunctionsMetaplectic.Construction.Position k n) (f : Local.FunctionsMetaplectic.Construction.Position k n → ℝ) : |
| 61 | (∫ x, f (e.symm x) ∂μ) = coordinateJacobian e * ∫ x, f x ∂μ := by |
| 62 | let em := e.toHomeomorph.toMeasurableEquiv |
| 63 | calc |
| 64 | _ = ∫ x, f x ∂(μ.map em.symm) := (integral_map_equiv em.symm f).symm |
| 65 | _ = ∫ x, f x ∂(μ.comap em) := by rw [em.map_symm] |
| 66 | _ = coordinateJacobian e * ∫ x, f x ∂μ := by |
| 67 | exact integral_comap_eq_addEquivAddHaarChar_smul μ e |
| 68 | |
| 69 | def coordinateScale (e : Local.FunctionsMetaplectic.Construction.Position k n ≃ₜ+ Local.FunctionsMetaplectic.Construction.Position k n) : ℝ := |
| 70 | (Real.sqrt (coordinateJacobian e))⁻¹ |
| 71 | |
| 72 | theorem coordinateScale_pos (e : Local.FunctionsMetaplectic.Construction.Position k n ≃ₜ+ Local.FunctionsMetaplectic.Construction.Position k n) : |
| 73 | 0 < coordinateScale e := inv_pos.mpr (Real.sqrt_pos.mpr (coordinateJacobian_pos e)) |
| 74 | |
| 75 | theorem coordinateScale_sq_jacobian (e : Local.FunctionsMetaplectic.Construction.Position k n ≃ₜ+ Local.FunctionsMetaplectic.Construction.Position k n) : |
| 76 | coordinateScale e ^ 2 * coordinateJacobian e = 1 := by |
| 77 | rw [coordinateScale, inv_pow, Real.sq_sqrt (coordinateJacobian_pos e).le] |
| 78 | exact inv_mul_cancel₀ (coordinateJacobian_pos e).ne' |
| 79 | |
| 80 | def coordinateScaleUnit (e : Local.FunctionsMetaplectic.Construction.Position k n ≃ₜ+ Local.FunctionsMetaplectic.Construction.Position k n) : ℂˣ := |
| 81 | Units.mk0 (coordinateScale e : ℂ) (Complex.ofReal_ne_zero.mpr (coordinateScale_pos e).ne') |
| 82 | |
| 83 | def normalizedCoordinate (e : Local.FunctionsMetaplectic.Construction.Position k n ≃ₜ+ Local.FunctionsMetaplectic.Construction.Position k n) : |
| 84 | Local.FunctionsMetaplectic.Construction.schwartzBruhat k n ≃ₗ[ℂ] Local.FunctionsMetaplectic.Construction.schwartzBruhat k n := |
| 85 | (TestSpace.LocalAnalysis.schwartzBruhat_coordinateEquiv e.symm).trans (LinearEquiv.smulOfUnit (coordinateScaleUnit e)) |
| 86 | |
| 87 | theorem normalizedCoordinate_apply (e : Local.FunctionsMetaplectic.Construction.Position k n ≃ₜ+ Local.FunctionsMetaplectic.Construction.Position k n) |
| 88 | (f : Local.FunctionsMetaplectic.Construction.schwartzBruhat k n) (x : Local.FunctionsMetaplectic.Construction.Position k n) : |
| 89 | (normalizedCoordinate e f).val x = (coordinateScale e : ℂ) * f.val (e.symm x) := rfl |
| 90 | |
| 91 | theorem normalizedCoordinate_unitary |
| 92 | (μ : Measure (Local.FunctionsMetaplectic.Construction.Position k n)) [μ.IsAddHaarMeasure] |
| 93 | (e : Local.FunctionsMetaplectic.Construction.Position k n ≃ₜ+ Local.FunctionsMetaplectic.Construction.Position k n) (f : Local.FunctionsMetaplectic.Construction.schwartzBruhat k n) : |
| 94 | (∫ x, ‖(normalizedCoordinate e f).val x‖ ^ 2 ∂μ) = ∫ x, ‖f.val x‖ ^ 2 ∂μ := by |
| 95 | simp only [normalizedCoordinate_apply, norm_mul, Complex.norm_real, Real.norm_eq_abs, |
| 96 | abs_of_pos (coordinateScale_pos e), mul_pow] |
| 97 | rw [integral_const_mul, |
| 98 | integral_comp_coordinate_inverse μ e (fun x => ‖f.val x‖ ^ 2)] |
| 99 | rw [← mul_assoc, coordinateScale_sq_jacobian, one_mul] |
| 100 | |
| 101 | theorem normalizedCoordinate_l2Energy |
| 102 | (e : Local.FunctionsMetaplectic.Construction.Position k n ≃ₜ+ Local.FunctionsMetaplectic.Construction.Position k n) (f : Local.FunctionsMetaplectic.Construction.schwartzBruhat k n) : |
| 103 | Local.FunctionsMetaplectic.Construction.l2Energy k n (normalizedCoordinate e f) = Local.FunctionsMetaplectic.Construction.l2Energy k n f := |
| 104 | normalizedCoordinate_unitary |
| 105 | (Measure.pi (fun _ : Fin n => (Measure.addHaar : Measure k))) e f |
| 106 | |
| 107 | end |
| 108 | |
| 109 | end OAI.RepresentationTheory.Weil.AdelicSplitting.LinearSubstitution.LocalAnalysis |