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.FourierLinearSubstitution |
| 2 | |
| 3 | /-! # Transpose Substitution -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Weil.Local.TransposeSubstitution.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Fourier covariance under an arbitrary invertible matrix, with the transpose explicit. -/ |
| 10 | |
| 11 | open _root_.Matrix _root_.MeasureTheory |
| 12 | |
| 13 | def transposeGeneralLinear {k : Type} [Field k] {n : ℕ} (A : FunctionsMetaplectic.Construction.GeneralLinear k n) : FunctionsMetaplectic.Construction.GeneralLinear k n where |
| 14 | val := A.val.transpose |
| 15 | inv := A⁻¹.val.transpose |
| 16 | val_inv := by rw [← Matrix.transpose_mul, ← Units.val_mul, inv_mul_cancel, Units.val_one, Matrix.transpose_one] |
| 17 | inv_val := by rw [← Matrix.transpose_mul, ← Units.val_mul, mul_inv_cancel, Units.val_one, Matrix.transpose_one] |
| 18 | |
| 19 | theorem transposeGeneralLinear_inv {k : Type} [Field k] {n : ℕ} (A : FunctionsMetaplectic.Construction.GeneralLinear k n) : |
| 20 | (transposeGeneralLinear A)⁻¹ = transposeGeneralLinear A⁻¹ := by apply Units.ext; rfl |
| 21 | |
| 22 | theorem transposeGeneralLinear_transpose {k : Type} [Field k] {n : ℕ} (A : FunctionsMetaplectic.Construction.GeneralLinear k n) : |
| 23 | transposeGeneralLinear (transposeGeneralLinear A) = A := by |
| 24 | apply Units.ext |
| 25 | exact Matrix.transpose_transpose A.val |
| 26 | |
| 27 | theorem determinantUnit_transpose |
| 28 | {k : Type} [NormedField k] [LocallyCompactSpace k] [MeasurableSpace k] [BorelSpace k] |
| 29 | {n : ℕ} (A : FunctionsMetaplectic.Construction.GeneralLinear k n) : FunctionsMetaplectic.Construction.determinantUnit k (transposeGeneralLinear A) = FunctionsMetaplectic.Construction.determinantUnit k A := by |
| 30 | apply Units.ext |
| 31 | exact Matrix.det_transpose A.val |
| 32 | |
| 33 | theorem fourierIntegral_transpose_substitution |
| 34 | {k : Type} [NormedField k] [LocallyCompactSpace k] |
| 35 | [MeasurableSpace k] [BorelSpace k] [SecondCountableTopology k] {n : ℕ} |
| 36 | (ψ : AddChar k ℂ) (μ : Measure k) [μ.IsAddHaarMeasure] |
| 37 | (A : FunctionsMetaplectic.Construction.GeneralLinear k n) (f : FunctionsMetaplectic.Construction.Position k n → ℂ) (x : FunctionsMetaplectic.Construction.Position k n) : |
| 38 | FunctionsMetaplectic.Construction.fourierIntegral ψ (Measure.pi (fun _ : Fin n => μ)) (FunctionsMetaplectic.Construction.substitutionOperator A f) x = |
| 39 | (FunctionsMetaplectic.Construction.localModulus k (FunctionsMetaplectic.Construction.determinantUnit k A) : ℝ) • |
| 40 | FunctionsMetaplectic.Construction.fourierIntegral ψ (Measure.pi (fun _ : Fin n => μ)) f (A.val.transpose *ᵥ x) := by |
| 41 | have h := FourierLinearSubstitution.Construction.integral_matrix_inverse μ A (fun y => f y * ψ (-FunctionsMetaplectic.Construction.dot (A.val.transpose *ᵥ x) y)) |
| 42 | unfold FunctionsMetaplectic.Construction.fourierIntegral |
| 43 | rw [← h] |
| 44 | apply integral_congr_ae |
| 45 | exact Filter.Eventually.of_forall fun y => by |
| 46 | dsimp only |
| 47 | rw [FunctionsMetaplectic.Construction.substitutionOperator_apply] |
| 48 | congr 2 |
| 49 | have heq : FunctionsMetaplectic.Construction.dot (A.val.transpose *ᵥ x) (A⁻¹.val *ᵥ y) = FunctionsMetaplectic.Construction.dot x y := by |
| 50 | change (A.val.transpose *ᵥ x) ⬝ᵥ (A⁻¹.val *ᵥ y) = x ⬝ᵥ y |
| 51 | rw [← Matrix.vecMul_transpose, Matrix.transpose_transpose, Matrix.dotProduct_mulVec, |
| 52 | Matrix.vecMul_vecMul, ← Units.val_mul, mul_inv_cancel, Units.val_one, Matrix.vecMul_one] |
| 53 | exact congrArg Neg.neg heq.symm |
| 54 | |
| 55 | theorem quadratic_matrix_congruence {k : Type} [Field k] {n : ℕ} |
| 56 | (M A : Matrix (Fin n) (Fin n) k) (x : FunctionsMetaplectic.Construction.Position k n) : |
| 57 | FunctionsMetaplectic.Construction.quadratic (A.transpose * M * A) x = FunctionsMetaplectic.Construction.quadratic M (A *ᵥ x) := by |
| 58 | rw [QuadraticIntertwiner.Construction.quadratic_eq_dot, QuadraticIntertwiner.Construction.quadratic_eq_dot] |
| 59 | congr 1 |
| 60 | change x ⬝ᵥ ((A.transpose * M * A) *ᵥ x) = (A *ᵥ x) ⬝ᵥ (M *ᵥ (A *ᵥ x)) |
| 61 | rw [← Matrix.mulVec_mulVec, ← Matrix.mulVec_mulVec, Matrix.dotProduct_mulVec, |
| 62 | Matrix.vecMul_transpose] |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.RepresentationTheory.Weil.Local.TransposeSubstitution.Construction |