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.TestFourierNormalForm |
| 2 | import OAI.RepresentationTheory.Weil.Local.FourierNormalFormMultiplication |
| 3 | import OAI.RepresentationTheory.Weil.Local.GeneralFresnelOperator |
| 4 | import OAI.RepresentationTheory.Weil.Local.GaussianNormalFormFactors |
| 5 | |
| 6 | /-! # Nonarchimedean Normal Form Product -/ |
| 7 | |
| 8 | namespace OAI.RepresentationTheory.Weil.Local.NonarchimedeanNormalFormProduct.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Exact products of normalized Fourier operators, with the Gaussian determinant factor. -/ |
| 13 | |
| 14 | open _root_.Matrix _root_.MeasureTheory |
| 15 | |
| 16 | variable {k : Type} [NormedField k] [CompleteSpace k] [LocallyCompactSpace k] |
| 17 | [NonarchimedeanAddGroup k] [CharZero k] [MeasurableSpace k] [BorelSpace k] |
| 18 | [SecondCountableTopology k] |
| 19 | (hnd : ¬ DiscreteTopology k) (ψ : AddChar k ℂ) (hu : ∀ t : k, ‖ψ t‖ = 1) |
| 20 | (hc : Continuous (fun t => ψ t)) (hn : ∃ t : k, ψ t ≠ 1) |
| 21 | (hns : ¬ ∃ t : k, t ^ 2 = -1) |
| 22 | |
| 23 | theorem exists_nonarchimedean_normalForm_product {n : ℕ} |
| 24 | (F : FunctionsMetaplectic.Construction.schwartzBruhat k n ≃ₗ[ℂ] FunctionsMetaplectic.Construction.schwartzBruhat k n) |
| 25 | (hF : ∀ f x, (F f).val x = FunctionsMetaplectic.Construction.fourierIntegral ψ (FunctionsMetaplectic.Construction.positionMeasure k n ψ) f.val x) |
| 26 | (P Q P' Q' : FunctionsMetaplectic.Construction.SymmetricMatrix k n) (B B' : FunctionsMetaplectic.Construction.GeneralLinear k n) |
| 27 | (hprod : FourierNormalForm.Construction.fourierNormalForm P B Q * FourierNormalForm.Construction.fourierNormalForm P' B' Q' ∈ FourierBigCell.Construction.fourierBigCell k n) : |
| 28 | let χ := GaussianSquareCharacter.Construction.nonarchimedeanGaussianSquareCharacter hnd ψ hu hc hn hns |
| 29 | let R := TestFourierNormalForm.Construction.testFourierNormalForm ψ (NonarchimedeanTestSpace.Construction.nonarchimedean_quadratic_mem ψ hu hc) F |
| 30 | ∃ (P'' Q'' : FunctionsMetaplectic.Construction.SymmetricMatrix k n) (B'' : FunctionsMetaplectic.Construction.GeneralLinear k n) (Γ : ℂ), |
| 31 | FourierNormalForm.Construction.fourierNormalForm P B Q * FourierNormalForm.Construction.fourierNormalForm P' B' Q' = FourierNormalForm.Construction.fourierNormalForm P'' B'' Q'' ∧ |
| 32 | Γ ^ 2 * (χ (FunctionsMetaplectic.Construction.determinantUnit k B'')).val = |
| 33 | FunctionsMetaplectic.Construction.gaussianIndex k ψ 1 ^ (2 * n) * |
| 34 | (χ (FunctionsMetaplectic.Construction.determinantUnit k B)).val * (χ (FunctionsMetaplectic.Construction.determinantUnit k B')).val ∧ |
| 35 | ∀ f : FunctionsMetaplectic.Construction.schwartzBruhat k n, R P.val B Q.val (R P'.val B' Q'.val f) = |
| 36 | Γ • R P''.val B'' Q''.val f := by |
| 37 | let χ := GaussianSquareCharacter.Construction.nonarchimedeanGaussianSquareCharacter hnd ψ hu hc hn hns |
| 38 | let R := TestFourierNormalForm.Construction.testFourierNormalForm ψ (NonarchimedeanTestSpace.Construction.nonarchimedean_quadratic_mem ψ hu hc) F |
| 39 | have hm := FourierNormalForm.Construction.fourierNormalForm_product_middle_nonsingular P Q P' Q' B B' hprod |
| 40 | obtain ⟨M, hM⟩ := (Matrix.isUnit_iff_isUnit_det (Q.val + P'.val)).mpr (isUnit_iff_ne_zero.mpr hm) |
| 41 | let N := TransposeSubstitution.Construction.transposeGeneralLinear B' * M * B' |
| 42 | have hN : N.val = B'.val.transpose * (Q.val + P'.val) * B'.val := by |
| 43 | change B'.val.transpose * M.val * B'.val = _ |
| 44 | rw [hM] |
| 45 | have hNs : N.val.IsSymm := by |
| 46 | rw [hN] |
| 47 | exact (SymmetricMatrixOperations.Construction.symmetricCongruence B'.val (SymmetricMatrixOperations.Construction.symmetricAdd Q P')).property |
| 48 | obtain ⟨Γ, hΓ, hrel⟩ := GeneralFresnelOperator.Construction.exists_nonarchimedean_general_fourier_relation hnd ψ hu hc hn hns N hNs F hF |
| 49 | let C := B * (TransposeSubstitution.Construction.transposeGeneralLinear B')⁻¹ |
| 50 | let S := SymmetricMatrixOperations.Construction.symmetricNegativeInverse N hNs |
| 51 | refine ⟨SymmetricMatrixOperations.Construction.symmetricAdd P (SymmetricMatrixOperations.Construction.symmetricCongruence C⁻¹.val S), SymmetricMatrixOperations.Construction.symmetricAdd S Q', C * N, Γ, |
| 52 | FourierNormalFormMultiplication.Construction.fourierNormalForm_product_formula P Q P' Q' B B' N hN hNs, ?_, ?_⟩ |
| 53 | · change Γ ^ 2 * (χ (FunctionsMetaplectic.Construction.determinantUnit k (C * N))).val = _ |
| 54 | rw [hΓ, mul_assoc, ← Units.val_mul] |
| 55 | have he := GaussianNormalFormFactors.Construction.gaussianSquareCharacter_normalForm_product hnd ψ hu hc hn hns B B' N |
| 56 | change χ (FunctionsMetaplectic.Construction.determinantUnit k N) * χ (FunctionsMetaplectic.Construction.determinantUnit k (C * N)) = |
| 57 | χ (FunctionsMetaplectic.Construction.determinantUnit k B) * χ (FunctionsMetaplectic.Construction.determinantUnit k B') at he |
| 58 | rw [he, Units.val_mul, ← mul_assoc] |
| 59 | · let : (FunctionsMetaplectic.Construction.selfDualMeasure k ψ).IsAddHaarMeasure := |
| 60 | NonarchimedeanHaar.Construction.nonarchimedean_selfDualMeasure_isAddHaarMeasure hnd ψ hu hc hn |
| 61 | intro f |
| 62 | exact TestFourierNormalForm.Construction.testFourierNormalForm_product ψ (NonarchimedeanTestSpace.Construction.nonarchimedean_quadratic_mem ψ hu hc) F |
| 63 | (FunctionsMetaplectic.Construction.selfDualMeasure k ψ) hF P.val Q.val P'.val Q'.val B B' N hN Γ hrel f |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.RepresentationTheory.Weil.Local.NonarchimedeanNormalFormProduct.Construction |