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.DiagonalQuadratic |
| 2 | import OAI.RepresentationTheory.Weil.Local.FourierLinearSubstitution |
| 3 | |
| 4 | /-! # Fresnel Change Coordinates -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Weil.Local.FresnelChangeCoordinates.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Recovering Gaussian coefficient congruence from the actual Fourier pairing and Haar substitution. -/ |
| 11 | |
| 12 | open _root_.Matrix _root_.MeasureTheory |
| 13 | |
| 14 | section Substitution |
| 15 | variable {k : Type} [NormedField k] [LocallyCompactSpace k] |
| 16 | [MeasurableSpace k] [BorelSpace k] [SecondCountableTopology k] {n : ℕ} |
| 17 | (μ : Measure k) [μ.IsAddHaarMeasure] |
| 18 | |
| 19 | theorem integral_substitution_mul_phase (A : FunctionsMetaplectic.Construction.GeneralLinear k n) |
| 20 | (f P Q : FunctionsMetaplectic.Construction.Position k n → ℂ) (hPQ : ∀ x, P (A.val *ᵥ x) = Q x) : |
| 21 | (∫ x, FunctionsMetaplectic.Construction.substitutionOperator A f x * P x ∂Measure.pi (fun _ : Fin n => μ)) = |
| 22 | (FunctionsMetaplectic.Construction.localModulus k (FunctionsMetaplectic.Construction.determinantUnit k A) : ℝ) • |
| 23 | ∫ x, f x * Q x ∂Measure.pi (fun _ : Fin n => μ) := by |
| 24 | have hi := FourierLinearSubstitution.Construction.integral_matrix_inverse μ A (fun x => f x * Q x) |
| 25 | rw [← hi] |
| 26 | apply integral_congr_ae |
| 27 | exact Filter.Eventually.of_forall fun x => by |
| 28 | dsimp only |
| 29 | rw [FunctionsMetaplectic.Construction.substitutionOperator_apply, ← hPQ] |
| 30 | have hcancel : A.val *ᵥ (A⁻¹.val *ᵥ x) = x := by |
| 31 | rw [mulVec_mulVec, ← Units.val_mul, mul_inv_cancel, Units.val_one, one_mulVec] |
| 32 | rw [hcancel] |
| 33 | |
| 34 | theorem integral_fourier_substitution_phase (ψ : AddChar k ℂ) |
| 35 | (A : FunctionsMetaplectic.Construction.GeneralLinear k n) (hA : A.val.IsSymm) (f P Q : FunctionsMetaplectic.Construction.Position k n → ℂ) |
| 36 | (hPQ : ∀ x, P (A⁻¹.val *ᵥ x) = Q x) : |
| 37 | (∫ x, FunctionsMetaplectic.Construction.fourierIntegral ψ (Measure.pi (fun _ : Fin n => μ)) (FunctionsMetaplectic.Construction.substitutionOperator A f) x * P x |
| 38 | ∂Measure.pi (fun _ : Fin n => μ)) = |
| 39 | ∫ x, FunctionsMetaplectic.Construction.fourierIntegral ψ (Measure.pi (fun _ : Fin n => μ)) f x * Q x |
| 40 | ∂Measure.pi (fun _ : Fin n => μ) := by |
| 41 | let d := FunctionsMetaplectic.Construction.localModulus k (FunctionsMetaplectic.Construction.determinantUnit k A) |
| 42 | let g := fun x => FunctionsMetaplectic.Construction.fourierIntegral ψ (Measure.pi (fun _ : Fin n => μ)) f (A.val *ᵥ x) * P x |
| 43 | calc |
| 44 | _ = d • ∫ x, g x ∂Measure.pi (fun _ : Fin n => μ) := by |
| 45 | rw [← integral_smul] |
| 46 | apply integral_congr_ae |
| 47 | exact Filter.Eventually.of_forall fun x => by |
| 48 | dsimp only |
| 49 | rw [FourierLinearSubstitution.Construction.fourierIntegral_symmetric_substitution ψ μ A hA] |
| 50 | dsimp only [g, d] |
| 51 | simp only [Complex.real_smul] |
| 52 | ring |
| 53 | _ = ∫ x, g (A⁻¹.val *ᵥ x) ∂Measure.pi (fun _ : Fin n => μ) := |
| 54 | (FourierLinearSubstitution.Construction.integral_matrix_inverse μ A g).symm |
| 55 | _ = _ := by |
| 56 | apply integral_congr_ae |
| 57 | exact Filter.Eventually.of_forall fun x => by |
| 58 | dsimp only [g] |
| 59 | rw [hPQ] |
| 60 | have hcancel : A.val *ᵥ (A⁻¹.val *ᵥ x) = x := by |
| 61 | rw [mulVec_mulVec, ← Units.val_mul, mul_inv_cancel, Units.val_one, one_mulVec] |
| 62 | rw [hcancel] |
| 63 | |
| 64 | end Substitution |
| 65 | |
| 66 | theorem nonarchimedean_diagonalGaussianCoefficient_congruence |
| 67 | {k : Type} [NormedField k] [LocallyCompactSpace k] [NonarchimedeanAddGroup k] [CharZero k] |
| 68 | [MeasurableSpace k] [BorelSpace k] |
| 69 | (hnd : ¬ DiscreteTopology k) {n : ℕ} |
| 70 | (ψ : AddChar k ℂ) (hu : ∀ t : k, ‖ψ t‖ = 1) (hc : Continuous (fun t => ψ t)) |
| 71 | (hn : ∃ t : k, ψ t ≠ 1) (a b : Fin n → kˣ) (A : FunctionsMetaplectic.Construction.GeneralLinear k n) (hA : A.val.IsSymm) |
| 72 | (hq : ∀ x, FunctionsMetaplectic.Construction.quadratic (diagonal fun i => (a i).val) (A⁻¹.val *ᵥ x) = |
| 73 | FunctionsMetaplectic.Construction.quadratic (diagonal fun i => (b i).val) x) |
| 74 | (hqi : ∀ x, FunctionsMetaplectic.Construction.quadratic (diagonal fun i => (a i).val⁻¹) (A.val *ᵥ x) = |
| 75 | FunctionsMetaplectic.Construction.quadratic (diagonal fun i => (b i).val⁻¹) x) : |
| 76 | DiagonalQuadratic.Construction.diagonalGaussianCoefficient ψ b = |
| 77 | (FunctionsMetaplectic.Construction.localModulus k (FunctionsMetaplectic.Construction.determinantUnit k A) : ℂ) * DiagonalQuadratic.Construction.diagonalGaussianCoefficient ψ a := by |
| 78 | let : SecondCountableTopology k := FunctionsMetaplectic.Construction.localField_secondCountable k hnd |
| 79 | let μ := FunctionsMetaplectic.Construction.selfDualMeasure k ψ |
| 80 | let : μ.IsAddHaarMeasure := NonarchimedeanHaar.Construction.nonarchimedean_selfDualMeasure_isAddHaarMeasure hnd ψ hu hc hn |
| 81 | let μn := FunctionsMetaplectic.Construction.positionMeasure k n ψ |
| 82 | let : μn.IsAddHaarMeasure := by dsimp [μn, FunctionsMetaplectic.Construction.positionMeasure]; infer_instance |
| 83 | obtain ⟨f, hf⟩ := DiagonalQuadratic.Construction.exists_nonarchimedean_quadratic_pairing_ne_zero hnd ψ hu hc μn |
| 84 | (diagonal fun i => (b i).val⁻¹) |
| 85 | have hfa := DiagonalQuadratic.Construction.nonarchimedean_diagonal_fresnel_pairing hnd ψ hu hc hn a (LinearSubstitution.Construction.testSubstitution A f) |
| 86 | have hfb := DiagonalQuadratic.Construction.nonarchimedean_diagonal_fresnel_pairing hnd ψ hu hc hn b f |
| 87 | have hleft := integral_fourier_substitution_phase μ ψ A hA f.val |
| 88 | (fun x => ψ (FunctionsMetaplectic.Construction.quadratic (diagonal fun i => (a i).val) x)) |
| 89 | (fun x => ψ (FunctionsMetaplectic.Construction.quadratic (diagonal fun i => (b i).val) x)) (fun x => congrArg ψ (hq x)) |
| 90 | have hright := integral_substitution_mul_phase μ A f.val |
| 91 | (fun x => ψ (-FunctionsMetaplectic.Construction.quadratic (diagonal fun i => (a i).val⁻¹) x)) |
| 92 | (fun x => ψ (-FunctionsMetaplectic.Construction.quadratic (diagonal fun i => (b i).val⁻¹) x)) |
| 93 | (fun x => congrArg ψ (congrArg Neg.neg (hqi x))) |
| 94 | change (∫ x, FunctionsMetaplectic.Construction.fourierIntegral ψ μn (FunctionsMetaplectic.Construction.substitutionOperator A f.val) x * |
| 95 | ψ (FunctionsMetaplectic.Construction.quadratic (diagonal fun i => (a i).val) x) ∂μn) = |
| 96 | DiagonalQuadratic.Construction.diagonalGaussianCoefficient ψ a * ∫ x, FunctionsMetaplectic.Construction.substitutionOperator A f.val x * |
| 97 | ψ (-FunctionsMetaplectic.Construction.quadratic (diagonal fun i => (a i).val⁻¹) x) ∂μn at hfa |
| 98 | dsimp only [μn, μ, FunctionsMetaplectic.Construction.positionMeasure] at hfa hleft hright hfb hf |
| 99 | rw [hleft, hright, hfb, Complex.real_smul] at hfa |
| 100 | apply mul_right_cancel₀ hf |
| 101 | calc |
| 102 | _ = _ := hfa |
| 103 | _ = _ := by ring |
| 104 | |
| 105 | end |
| 106 | |
| 107 | end OAI.RepresentationTheory.Weil.Local.FresnelChangeCoordinates.Construction |