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.TransposeSubstitution |
| 2 | |
| 3 | /-! # Test Fourier Normal Form -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Weil.Local.TestFourierNormalForm.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! Exact relations between the concrete test-space generators. -/ |
| 12 | |
| 13 | open _root_.Matrix _root_.MeasureTheory |
| 14 | |
| 15 | theorem fourierIntegral_linearOscillator_transpose |
| 16 | {k : Type} [NormedField k] [LocallyCompactSpace k] |
| 17 | [MeasurableSpace k] [BorelSpace k] [SecondCountableTopology k] {n : ℕ} |
| 18 | (ψ : AddChar k ℂ) (μ : Measure k) [μ.IsAddHaarMeasure] |
| 19 | (A : FunctionsMetaplectic.Construction.GeneralLinear k n) (f : FunctionsMetaplectic.Construction.schwartzBruhat k n) (x : FunctionsMetaplectic.Construction.Position k n) : |
| 20 | FunctionsMetaplectic.Construction.fourierIntegral ψ (Measure.pi (fun _ : Fin n => μ)) ((LinearIntertwiner.Construction.linearOscillator ψ A).val.2 f).val x = |
| 21 | ((Real.sqrt (FunctionsMetaplectic.Construction.localModulus k (FunctionsMetaplectic.Construction.determinantUnit k (TransposeSubstitution.Construction.transposeGeneralLinear A)⁻¹)))⁻¹ : ℂ) * |
| 22 | FunctionsMetaplectic.Construction.fourierIntegral ψ (Measure.pi (fun _ : Fin n => μ)) f.val (A.val.transpose *ᵥ x) := by |
| 23 | let d := FunctionsMetaplectic.Construction.localModulus k (FunctionsMetaplectic.Construction.determinantUnit k A) |
| 24 | have hd : 0 < d := FunctionsMetaplectic.Construction.localModulus_pos k _ |
| 25 | have hf : ((LinearIntertwiner.Construction.linearOscillator ψ A).val.2 f).val = |
| 26 | ((Real.sqrt d)⁻¹ : ℂ) • FunctionsMetaplectic.Construction.substitutionOperator A f.val := funext (LinearIntertwiner.Construction.linearOscillator_apply ψ A f) |
| 27 | rw [hf, FunctionsMetaplectic.Construction.fourierIntegral_smul, Pi.smul_apply, TransposeSubstitution.Construction.fourierIntegral_transpose_substitution ψ μ A, |
| 28 | Complex.real_smul, FourierLinearSubstitution.Construction.determinantUnit_inv, TransposeSubstitution.Construction.determinantUnit_transpose, FunctionsMetaplectic.Construction.localModulus_inv, Real.sqrt_inv] |
| 29 | simp only [smul_eq_mul, Complex.ofReal_inv, inv_inv] |
| 30 | change (Real.sqrt d : ℂ)⁻¹ * ((d : ℂ) * _) = (Real.sqrt d : ℂ) * _ |
| 31 | have hs : Real.sqrt d ≠ 0 := (Real.sqrt_pos.mpr hd).ne' |
| 32 | have he : (Real.sqrt d)⁻¹ * d = Real.sqrt d := by |
| 33 | calc |
| 34 | _ = (Real.sqrt d)⁻¹ * (Real.sqrt d * Real.sqrt d) := |
| 35 | congrArg (fun r : ℝ => (Real.sqrt d)⁻¹ * r) (Real.mul_self_sqrt hd.le).symm |
| 36 | _ = _ := by rw [← mul_assoc, inv_mul_cancel₀ hs, one_mul] |
| 37 | rw [← mul_assoc, ← Complex.ofReal_inv, ← Complex.ofReal_mul, he] |
| 38 | |
| 39 | theorem testFourier_linear_transpose |
| 40 | {k : Type} [NormedField k] [LocallyCompactSpace k] |
| 41 | [MeasurableSpace k] [BorelSpace k] [SecondCountableTopology k] {n : ℕ} |
| 42 | (ψ : AddChar k ℂ) (μ : Measure k) [μ.IsAddHaarMeasure] |
| 43 | (F : FunctionsMetaplectic.Construction.schwartzBruhat k n ≃ₗ[ℂ] FunctionsMetaplectic.Construction.schwartzBruhat k n) |
| 44 | (hF : ∀ f x, (F f).val x = FunctionsMetaplectic.Construction.fourierIntegral ψ (Measure.pi (fun _ : Fin n => μ)) f.val x) |
| 45 | (A : FunctionsMetaplectic.Construction.GeneralLinear k n) (f : FunctionsMetaplectic.Construction.schwartzBruhat k n) : |
| 46 | F ((LinearIntertwiner.Construction.linearOscillator ψ A).val.2 f) = |
| 47 | (LinearIntertwiner.Construction.linearOscillator ψ (TransposeSubstitution.Construction.transposeGeneralLinear A)⁻¹).val.2 (F f) := by |
| 48 | apply Subtype.ext |
| 49 | funext x |
| 50 | rw [hF, LinearIntertwiner.Construction.linearOscillator_apply, inv_inv, hF] |
| 51 | exact fourierIntegral_linearOscillator_transpose ψ μ A f x |
| 52 | |
| 53 | variable {k : Type} [NormedField k] {n : ℕ} (ψ : AddChar k ℂ) |
| 54 | (hs : ∀ (B : Matrix (Fin n) (Fin n) k) (f : FunctionsMetaplectic.Construction.schwartzBruhat k n), |
| 55 | FunctionsMetaplectic.Construction.quadraticOperator ψ B f.val ∈ FunctionsMetaplectic.Construction.schwartzBruhat k n) |
| 56 | |
| 57 | theorem testQuadratic_add (B C : Matrix (Fin n) (Fin n) k) (f : FunctionsMetaplectic.Construction.schwartzBruhat k n) : |
| 58 | QuadraticIntertwiner.Construction.testQuadratic ψ hs B (QuadraticIntertwiner.Construction.testQuadratic ψ hs C f) = QuadraticIntertwiner.Construction.testQuadratic ψ hs (B + C) f := by |
| 59 | apply Subtype.ext |
| 60 | exact Generators.Construction.quadraticOperator_comp ψ B C f.val |
| 61 | |
| 62 | theorem testQuadratic_linear_congruence |
| 63 | [LocallyCompactSpace k] [MeasurableSpace k] [BorelSpace k] [SecondCountableTopology k] |
| 64 | (A : FunctionsMetaplectic.Construction.GeneralLinear k n) (B : Matrix (Fin n) (Fin n) k) (f : FunctionsMetaplectic.Construction.schwartzBruhat k n) : |
| 65 | QuadraticIntertwiner.Construction.testQuadratic ψ hs B ((LinearIntertwiner.Construction.linearOscillator ψ A).val.2 f) = |
| 66 | (LinearIntertwiner.Construction.linearOscillator ψ A).val.2 (QuadraticIntertwiner.Construction.testQuadratic ψ hs (A.val.transpose * B * A.val) f) := by |
| 67 | apply Subtype.ext |
| 68 | funext x |
| 69 | change ψ (FunctionsMetaplectic.Construction.quadratic B x) * ((LinearIntertwiner.Construction.linearOscillator ψ A).val.2 f).val x = _ |
| 70 | rw [LinearIntertwiner.Construction.linearOscillator_apply, LinearIntertwiner.Construction.linearOscillator_apply] |
| 71 | change _ = _ * (ψ (FunctionsMetaplectic.Construction.quadratic (A.val.transpose * B * A.val) (A⁻¹.val *ᵥ x)) * f.val (A⁻¹.val *ᵥ x)) |
| 72 | rw [TransposeSubstitution.Construction.quadratic_matrix_congruence, mulVec_mulVec, ← Units.val_mul, mul_inv_cancel, |
| 73 | Units.val_one, one_mulVec] |
| 74 | ring |
| 75 | |
| 76 | theorem testLinear_quadratic_congruence |
| 77 | [LocallyCompactSpace k] [MeasurableSpace k] [BorelSpace k] [SecondCountableTopology k] |
| 78 | (A : FunctionsMetaplectic.Construction.GeneralLinear k n) (B : Matrix (Fin n) (Fin n) k) (f : FunctionsMetaplectic.Construction.schwartzBruhat k n) : |
| 79 | (LinearIntertwiner.Construction.linearOscillator ψ A).val.2 (QuadraticIntertwiner.Construction.testQuadratic ψ hs B f) = |
| 80 | QuadraticIntertwiner.Construction.testQuadratic ψ hs (A⁻¹.val.transpose * B * A⁻¹.val) ((LinearIntertwiner.Construction.linearOscillator ψ A).val.2 f) := by |
| 81 | apply Subtype.ext |
| 82 | funext x |
| 83 | change ((LinearIntertwiner.Construction.linearOscillator ψ A).val.2 (QuadraticIntertwiner.Construction.testQuadratic ψ hs B f)).val x = |
| 84 | ψ (FunctionsMetaplectic.Construction.quadratic (A⁻¹.val.transpose * B * A⁻¹.val) x) * ((LinearIntertwiner.Construction.linearOscillator ψ A).val.2 f).val x |
| 85 | rw [LinearIntertwiner.Construction.linearOscillator_apply, LinearIntertwiner.Construction.linearOscillator_apply, TransposeSubstitution.Construction.quadratic_matrix_congruence] |
| 86 | change _ * (ψ (FunctionsMetaplectic.Construction.quadratic B (A⁻¹.val *ᵥ x)) * f.val (A⁻¹.val *ᵥ x)) = _ |
| 87 | ring |
| 88 | |
| 89 | end |
| 90 | |
| 91 | /-! Multiplication of concrete Fourier normal forms. -/ |
| 92 | |
| 93 | open _root_.Matrix _root_.MeasureTheory |
| 94 | |
| 95 | variable {k : Type} [NormedField k] [LocallyCompactSpace k] |
| 96 | [MeasurableSpace k] [BorelSpace k] [SecondCountableTopology k] {n : ℕ} |
| 97 | (ψ : AddChar k ℂ) |
| 98 | (hs : ∀ (B : Matrix (Fin n) (Fin n) k) (f : FunctionsMetaplectic.Construction.schwartzBruhat k n), |
| 99 | FunctionsMetaplectic.Construction.quadraticOperator ψ B f.val ∈ FunctionsMetaplectic.Construction.schwartzBruhat k n) |
| 100 | (F : FunctionsMetaplectic.Construction.schwartzBruhat k n ≃ₗ[ℂ] FunctionsMetaplectic.Construction.schwartzBruhat k n) |
| 101 | |
| 102 | def testFourierNormalForm (P : Matrix (Fin n) (Fin n) k) (B : FunctionsMetaplectic.Construction.GeneralLinear k n) |
| 103 | (Q : Matrix (Fin n) (Fin n) k) : FunctionsMetaplectic.Construction.schwartzBruhat k n ≃ₗ[ℂ] FunctionsMetaplectic.Construction.schwartzBruhat k n := |
| 104 | QuadraticIntertwiner.Construction.testQuadratic ψ hs P * (LinearIntertwiner.Construction.linearOscillator ψ B).val.2 * F * QuadraticIntertwiner.Construction.testQuadratic ψ hs Q |
| 105 | |
| 106 | theorem testFourierNormalForm_apply (P : Matrix (Fin n) (Fin n) k) (B : FunctionsMetaplectic.Construction.GeneralLinear k n) |
| 107 | (Q : Matrix (Fin n) (Fin n) k) (f : FunctionsMetaplectic.Construction.schwartzBruhat k n) : |
| 108 | testFourierNormalForm ψ hs F P B Q f = |
| 109 | QuadraticIntertwiner.Construction.testQuadratic ψ hs P ((LinearIntertwiner.Construction.linearOscillator ψ B).val.2 (F (QuadraticIntertwiner.Construction.testQuadratic ψ hs Q f))) := rfl |
| 110 | |
| 111 | theorem testFourierNormalForm_product |
| 112 | (μ : Measure k) [μ.IsAddHaarMeasure] |
| 113 | (hF : ∀ f x, (F f).val x = FunctionsMetaplectic.Construction.fourierIntegral ψ (Measure.pi (fun _ : Fin n => μ)) f.val x) |
| 114 | (P Q P' Q' : Matrix (Fin n) (Fin n) k) (B B' N : FunctionsMetaplectic.Construction.GeneralLinear k n) |
| 115 | (hN : N.val = B'.val.transpose * (Q + P') * B'.val) |
| 116 | (Γ : ℂ) |
| 117 | (hrel : ∀ f, F (QuadraticIntertwiner.Construction.testQuadratic ψ hs N.val (F f)) = |
| 118 | Γ • QuadraticIntertwiner.Construction.testQuadratic ψ hs (-N⁻¹.val) |
| 119 | ((LinearIntertwiner.Construction.linearOscillator ψ N).val.2 (F (QuadraticIntertwiner.Construction.testQuadratic ψ hs (-N⁻¹.val) f)))) |
| 120 | (f : FunctionsMetaplectic.Construction.schwartzBruhat k n) : |
| 121 | let C := B * (TransposeSubstitution.Construction.transposeGeneralLinear B')⁻¹ |
| 122 | testFourierNormalForm ψ hs F P B Q (testFourierNormalForm ψ hs F P' B' Q' f) = |
| 123 | Γ • testFourierNormalForm ψ hs F |
| 124 | (P + C⁻¹.val.transpose * (-N⁻¹.val) * C⁻¹.val) (C * N) (-N⁻¹.val + Q') f := by |
| 125 | let C := B * (TransposeSubstitution.Construction.transposeGeneralLinear B')⁻¹ |
| 126 | have hL (A D : FunctionsMetaplectic.Construction.GeneralLinear k n) (g : FunctionsMetaplectic.Construction.schwartzBruhat k n) : |
| 127 | (LinearIntertwiner.Construction.linearOscillator ψ A).val.2 ((LinearIntertwiner.Construction.linearOscillator ψ D).val.2 g) = |
| 128 | (LinearIntertwiner.Construction.linearOscillator ψ (A * D)).val.2 g := by |
| 129 | exact congrArg (fun a : FunctionsMetaplectic.Construction.Oscillator k n ψ => a.val.2 g) (LinearOscillatorHom.Construction.linearOscillator_mul ψ A D).symm |
| 130 | simp only [testFourierNormalForm_apply] |
| 131 | rw [testQuadratic_add, testQuadratic_linear_congruence ψ hs B' (Q + P'), ← hN, |
| 132 | testFourier_linear_transpose ψ μ F hF, hL, hrel, map_smul, map_smul, |
| 133 | testLinear_quadratic_congruence, testQuadratic_add, hL, testQuadratic_add] |
| 134 | |
| 135 | end |
| 136 | |
| 137 | end OAI.RepresentationTheory.Weil.Local.TestFourierNormalForm.Construction |