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.QuadraticDiagonalData |
| 2 | import OAI.RepresentationTheory.Weil.Local.FresnelChangeCoordinates |
| 3 | |
| 4 | /-! # General Fresnel Pairing -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Weil.Local.GeneralFresnelPairing.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual nonarchimedean Fresnel pairing for a general nonsingular symmetric form. -/ |
| 11 | |
| 12 | open _root_.Matrix _root_.MeasureTheory |
| 13 | |
| 14 | theorem integral_fourier_transpose_substitution_phase |
| 15 | {k : Type} [NormedField k] [LocallyCompactSpace k] |
| 16 | [MeasurableSpace k] [BorelSpace k] [SecondCountableTopology k] {n : ℕ} |
| 17 | (ψ : AddChar k ℂ) (μ : Measure k) [μ.IsAddHaarMeasure] |
| 18 | (A : FunctionsMetaplectic.Construction.GeneralLinear k n) (f P Q : FunctionsMetaplectic.Construction.Position k n → ℂ) |
| 19 | (hPQ : ∀ x, P (A⁻¹.val *ᵥ x) = Q x) : |
| 20 | (∫ x, FunctionsMetaplectic.Construction.fourierIntegral ψ (Measure.pi (fun _ : Fin n => μ)) |
| 21 | (FunctionsMetaplectic.Construction.substitutionOperator (TransposeSubstitution.Construction.transposeGeneralLinear A) f) x * P x |
| 22 | ∂Measure.pi (fun _ : Fin n => μ)) = |
| 23 | ∫ x, FunctionsMetaplectic.Construction.fourierIntegral ψ (Measure.pi (fun _ : Fin n => μ)) f x * Q x |
| 24 | ∂Measure.pi (fun _ : Fin n => μ) := by |
| 25 | let d := FunctionsMetaplectic.Construction.localModulus k (FunctionsMetaplectic.Construction.determinantUnit k A) |
| 26 | let g := fun x => FunctionsMetaplectic.Construction.fourierIntegral ψ (Measure.pi (fun _ : Fin n => μ)) f (A.val *ᵥ x) * P x |
| 27 | calc |
| 28 | _ = d • ∫ x, g x ∂Measure.pi (fun _ : Fin n => μ) := by |
| 29 | rw [← integral_smul] |
| 30 | apply integral_congr_ae |
| 31 | exact Filter.Eventually.of_forall fun x => by |
| 32 | dsimp only |
| 33 | rw [TransposeSubstitution.Construction.fourierIntegral_transpose_substitution, TransposeSubstitution.Construction.determinantUnit_transpose] |
| 34 | change ((FunctionsMetaplectic.Construction.localModulus k (FunctionsMetaplectic.Construction.determinantUnit k A) : ℝ) • |
| 35 | FunctionsMetaplectic.Construction.fourierIntegral ψ (Measure.pi (fun _ : Fin n => μ)) f (A.val.transpose.transpose *ᵥ x)) * P x = _ |
| 36 | rw [Matrix.transpose_transpose] |
| 37 | dsimp only [g, d] |
| 38 | simp only [Complex.real_smul] |
| 39 | ring |
| 40 | _ = ∫ x, g (A⁻¹.val *ᵥ x) ∂Measure.pi (fun _ : Fin n => μ) := |
| 41 | (FourierLinearSubstitution.Construction.integral_matrix_inverse μ A g).symm |
| 42 | _ = _ := by |
| 43 | apply integral_congr_ae |
| 44 | exact Filter.Eventually.of_forall fun x => by |
| 45 | dsimp only [g] |
| 46 | rw [hPQ, Matrix.mulVec_mulVec, ← Units.val_mul, mul_inv_cancel, Units.val_one, one_mulVec] |
| 47 | |
| 48 | theorem nonarchimedean_general_fresnel_pairing_of_diagonalization |
| 49 | {k : Type} [NormedField k] [LocallyCompactSpace k] [NonarchimedeanAddGroup k] [CharZero k] |
| 50 | [MeasurableSpace k] [BorelSpace k] |
| 51 | (hnd : ¬ DiscreteTopology k) {n : ℕ} |
| 52 | (ψ : AddChar k ℂ) (hu : ∀ t : k, ‖ψ t‖ = 1) (hc : Continuous (fun t => ψ t)) |
| 53 | (hn : ∃ t : k, ψ t ≠ 1) (M A : FunctionsMetaplectic.Construction.GeneralLinear k n) (a : Fin n → kˣ) |
| 54 | (hdiag : A.val.transpose * M.val * A.val = diagonal (fun i => (a i).val)) |
| 55 | (f : FunctionsMetaplectic.Construction.schwartzBruhat k n) : |
| 56 | (∫ x, FunctionsMetaplectic.Construction.fourierIntegral ψ (FunctionsMetaplectic.Construction.positionMeasure k n ψ) f.val x * ψ (FunctionsMetaplectic.Construction.quadratic M.val x) |
| 57 | ∂ FunctionsMetaplectic.Construction.positionMeasure k n ψ) = |
| 58 | ((FunctionsMetaplectic.Construction.localModulus k (FunctionsMetaplectic.Construction.determinantUnit k A) : ℂ) * DiagonalQuadratic.Construction.diagonalGaussianCoefficient ψ a) * |
| 59 | ∫ x, f.val x * ψ (-FunctionsMetaplectic.Construction.quadratic M⁻¹.val x) ∂ FunctionsMetaplectic.Construction.positionMeasure k n ψ := by |
| 60 | let : SecondCountableTopology k := FunctionsMetaplectic.Construction.localField_secondCountable k hnd |
| 61 | let μ := FunctionsMetaplectic.Construction.selfDualMeasure k ψ |
| 62 | let : μ.IsAddHaarMeasure := NonarchimedeanHaar.Construction.nonarchimedean_selfDualMeasure_isAddHaarMeasure hnd ψ hu hc hn |
| 63 | have hp := DiagonalQuadratic.Construction.nonarchimedean_diagonal_fresnel_pairing hnd ψ hu hc hn a |
| 64 | (LinearSubstitution.Construction.testSubstitution (TransposeSubstitution.Construction.transposeGeneralLinear A) f) |
| 65 | have hleft := integral_fourier_transpose_substitution_phase ψ μ A f.val |
| 66 | (fun x => ψ (FunctionsMetaplectic.Construction.quadratic (diagonal fun i => (a i).val) x)) (fun x => ψ (FunctionsMetaplectic.Construction.quadratic M.val x)) |
| 67 | (fun x => congrArg ψ (QuadraticDiagonalData.Construction.quadratic_diagonal_inverse_coordinates M A a hdiag x)) |
| 68 | have hright := FresnelChangeCoordinates.Construction.integral_substitution_mul_phase μ (TransposeSubstitution.Construction.transposeGeneralLinear A) f.val |
| 69 | (fun x => ψ (-FunctionsMetaplectic.Construction.quadratic (diagonal fun i => (a i).val⁻¹) x)) (fun x => ψ (-FunctionsMetaplectic.Construction.quadratic M⁻¹.val x)) |
| 70 | (fun x => congrArg ψ (congrArg Neg.neg (QuadraticDiagonalData.Construction.quadratic_inverse_diagonal_coordinates M A a hdiag x))) |
| 71 | change (∫ x, FunctionsMetaplectic.Construction.fourierIntegral ψ (FunctionsMetaplectic.Construction.positionMeasure k n ψ) |
| 72 | (FunctionsMetaplectic.Construction.substitutionOperator (TransposeSubstitution.Construction.transposeGeneralLinear A) f.val) x * |
| 73 | ψ (FunctionsMetaplectic.Construction.quadratic (diagonal fun i => (a i).val) x) ∂ FunctionsMetaplectic.Construction.positionMeasure k n ψ) = |
| 74 | DiagonalQuadratic.Construction.diagonalGaussianCoefficient ψ a * |
| 75 | ∫ x, FunctionsMetaplectic.Construction.substitutionOperator (TransposeSubstitution.Construction.transposeGeneralLinear A) f.val x * |
| 76 | ψ (-FunctionsMetaplectic.Construction.quadratic (diagonal fun i => (a i).val⁻¹) x) ∂ FunctionsMetaplectic.Construction.positionMeasure k n ψ at hp |
| 77 | dsimp only [μ, FunctionsMetaplectic.Construction.positionMeasure] at hp hleft hright ⊢ |
| 78 | rw [hleft, hright, TransposeSubstitution.Construction.determinantUnit_transpose, Complex.real_smul] at hp |
| 79 | exact hp.trans (by ring) |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.RepresentationTheory.Weil.Local.GeneralFresnelPairing.Construction |