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.LinearOscillatorHom |
| 2 | |
| 3 | /-! # Fourier Linear Substitution -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Weil.Local.FourierLinearSubstitution.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Fourier covariance under symmetric normalized linear substitutions. -/ |
| 10 | |
| 11 | open _root_.Matrix _root_.MeasureTheory |
| 12 | open scoped Classical NNReal |
| 13 | |
| 14 | theorem determinantUnit_inv |
| 15 | {k : Type} [NormedField k] [LocallyCompactSpace k] [MeasurableSpace k] [BorelSpace k] |
| 16 | {n : ℕ} (A : FunctionsMetaplectic.Construction.GeneralLinear k n) : FunctionsMetaplectic.Construction.determinantUnit k A⁻¹ = (FunctionsMetaplectic.Construction.determinantUnit k A)⁻¹ := by |
| 17 | simp [FunctionsMetaplectic.Construction.determinantUnit] |
| 18 | |
| 19 | theorem integral_matrix_inverse |
| 20 | {k : Type} [NormedField k] [LocallyCompactSpace k] |
| 21 | [MeasurableSpace k] [BorelSpace k] [SecondCountableTopology k] {n : ℕ} |
| 22 | (μ : Measure k) [μ.IsAddHaarMeasure] (A : FunctionsMetaplectic.Construction.GeneralLinear k n) (f : FunctionsMetaplectic.Construction.Position k n → ℂ) : |
| 23 | (∫ x, f (A⁻¹.val *ᵥ x) ∂Measure.pi (fun _ : Fin n => μ)) = |
| 24 | (FunctionsMetaplectic.Construction.localModulus k (FunctionsMetaplectic.Construction.determinantUnit k A) : ℝ) • ∫ x, f x ∂Measure.pi (fun _ : Fin n => μ) := by |
| 25 | let e := LinearSubstitution.Construction.positionAddEquiv A⁻¹ |
| 26 | have hm := DeterminantMeasure.Construction.map_matrix_haar_eq_smul μ (FunctionsMetaplectic.Construction.determinantUnit k A⁻¹).ne_zero |
| 27 | have hd : (det (A⁻¹ : FunctionsMetaplectic.Construction.GeneralLinear k n).val)⁻¹ = det A.val := by |
| 28 | change ((FunctionsMetaplectic.Construction.determinantUnit k A⁻¹).val)⁻¹ = (FunctionsMetaplectic.Construction.determinantUnit k A).val |
| 29 | rw [determinantUnit_inv, Units.val_inv_eq_inv_val, inv_inv] |
| 30 | rw [hd] at hm |
| 31 | have hi := integral_map_equiv (μ := Measure.pi (fun _ : Fin n => μ)) e.toHomeomorph.toMeasurableEquiv f |
| 32 | change (∫ x, f x ∂Measure.map (Matrix.toLin' (A⁻¹ : FunctionsMetaplectic.Construction.GeneralLinear k n).val) |
| 33 | (Measure.pi (fun _ : Fin n => μ))) = _ at hi |
| 34 | rw [hm, integral_smul_measure] at hi |
| 35 | simp only [ENNReal.coe_toReal] at hi |
| 36 | have hmod : (DeterminantMeasure.Construction.haarModulus k (det A.val) : ℝ) = FunctionsMetaplectic.Construction.localModulus k (FunctionsMetaplectic.Construction.determinantUnit k A) := |
| 37 | congrArg (fun r : ℝ≥0 => (r : ℝ)) (DeterminantMeasure.Construction.haarModulus_unit k (FunctionsMetaplectic.Construction.determinantUnit k A)) |
| 38 | rw [hmod] at hi |
| 39 | exact hi.symm |
| 40 | |
| 41 | theorem fourierIntegral_symmetric_substitution |
| 42 | {k : Type} [NormedField k] [LocallyCompactSpace k] |
| 43 | [MeasurableSpace k] [BorelSpace k] [SecondCountableTopology k] {n : ℕ} |
| 44 | (ψ : AddChar k ℂ) (μ : Measure k) [μ.IsAddHaarMeasure] |
| 45 | (A : FunctionsMetaplectic.Construction.GeneralLinear k n) (hA : A.val.IsSymm) (f : FunctionsMetaplectic.Construction.Position k n → ℂ) (x : FunctionsMetaplectic.Construction.Position k n) : |
| 46 | FunctionsMetaplectic.Construction.fourierIntegral ψ (Measure.pi (fun _ : Fin n => μ)) (FunctionsMetaplectic.Construction.substitutionOperator A f) x = |
| 47 | (FunctionsMetaplectic.Construction.localModulus k (FunctionsMetaplectic.Construction.determinantUnit k A) : ℝ) • |
| 48 | FunctionsMetaplectic.Construction.fourierIntegral ψ (Measure.pi (fun _ : Fin n => μ)) f (A.val *ᵥ x) := by |
| 49 | have h := integral_matrix_inverse μ A (fun y => f y * ψ (-FunctionsMetaplectic.Construction.dot (A.val *ᵥ x) y)) |
| 50 | unfold FunctionsMetaplectic.Construction.fourierIntegral |
| 51 | rw [← h] |
| 52 | apply integral_congr_ae |
| 53 | exact Filter.Eventually.of_forall fun y => by |
| 54 | dsimp only |
| 55 | rw [FunctionsMetaplectic.Construction.substitutionOperator_apply] |
| 56 | congr 2 |
| 57 | have heq : FunctionsMetaplectic.Construction.dot (A.val *ᵥ x) (A⁻¹.val *ᵥ y) = FunctionsMetaplectic.Construction.dot x y := by |
| 58 | change (A.val *ᵥ x) ⬝ᵥ (A⁻¹.val *ᵥ y) = x ⬝ᵥ y |
| 59 | rw [← Matrix.vecMul_transpose, hA.eq, Matrix.dotProduct_mulVec, |
| 60 | Matrix.vecMul_vecMul, ← Units.val_mul, mul_inv_cancel, Units.val_one, Matrix.vecMul_one] |
| 61 | exact congrArg Neg.neg heq.symm |
| 62 | |
| 63 | theorem fourierIntegral_linearOscillator_symmetric |
| 64 | {k : Type} [NormedField k] [LocallyCompactSpace k] |
| 65 | [MeasurableSpace k] [BorelSpace k] [SecondCountableTopology k] {n : ℕ} |
| 66 | (ψ : AddChar k ℂ) (μ : Measure k) [μ.IsAddHaarMeasure] |
| 67 | (A : FunctionsMetaplectic.Construction.GeneralLinear k n) (hA : A.val.IsSymm) (f : FunctionsMetaplectic.Construction.schwartzBruhat k n) (x : FunctionsMetaplectic.Construction.Position k n) : |
| 68 | FunctionsMetaplectic.Construction.fourierIntegral ψ (Measure.pi (fun _ : Fin n => μ)) ((LinearIntertwiner.Construction.linearOscillator ψ A).val.2 f).val x = |
| 69 | ((Real.sqrt (FunctionsMetaplectic.Construction.localModulus k (FunctionsMetaplectic.Construction.determinantUnit k A⁻¹)))⁻¹ : ℂ) * |
| 70 | FunctionsMetaplectic.Construction.fourierIntegral ψ (Measure.pi (fun _ : Fin n => μ)) f.val (A.val *ᵥ x) := by |
| 71 | let d := FunctionsMetaplectic.Construction.localModulus k (FunctionsMetaplectic.Construction.determinantUnit k A) |
| 72 | have hd : 0 < d := FunctionsMetaplectic.Construction.localModulus_pos k _ |
| 73 | have hf : ((LinearIntertwiner.Construction.linearOscillator ψ A).val.2 f).val = |
| 74 | ((Real.sqrt d)⁻¹ : ℂ) • FunctionsMetaplectic.Construction.substitutionOperator A f.val := funext (LinearIntertwiner.Construction.linearOscillator_apply ψ A f) |
| 75 | rw [hf, FunctionsMetaplectic.Construction.fourierIntegral_smul, Pi.smul_apply, fourierIntegral_symmetric_substitution ψ μ A hA, |
| 76 | Complex.real_smul, determinantUnit_inv, FunctionsMetaplectic.Construction.localModulus_inv, Real.sqrt_inv] |
| 77 | simp only [smul_eq_mul, Complex.ofReal_inv, inv_inv] |
| 78 | change (Real.sqrt d : ℂ)⁻¹ * ((d : ℂ) * _) = (Real.sqrt d : ℂ) * _ |
| 79 | have hs : Real.sqrt d ≠ 0 := (Real.sqrt_pos.mpr hd).ne' |
| 80 | have he : (Real.sqrt d)⁻¹ * d = Real.sqrt d := by |
| 81 | calc |
| 82 | _ = (Real.sqrt d)⁻¹ * (Real.sqrt d * Real.sqrt d) := |
| 83 | congrArg (fun r : ℝ => (Real.sqrt d)⁻¹ * r) (Real.mul_self_sqrt hd.le).symm |
| 84 | _ = _ := by rw [← mul_assoc, inv_mul_cancel₀ hs, one_mul] |
| 85 | rw [← mul_assoc, ← Complex.ofReal_inv, ← Complex.ofReal_mul, he] |
| 86 | |
| 87 | end |
| 88 | |
| 89 | end OAI.RepresentationTheory.Weil.Local.FourierLinearSubstitution.Construction |