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.AdelicSplitting.WeylCoefficientTransport |
| 2 | import OAI.RepresentationTheory.Weil.AdelicSplitting.BruhatProducts |
| 3 | |
| 4 | /-! # Weyl Midpoint -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Weil.AdelicSplitting.WeylMidpoint.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! A Weyl coefficient is the Fourier transform of its midpoint correlation. -/ |
| 13 | |
| 14 | open _root_.MeasureTheory |
| 15 | open scoped ComplexConjugate |
| 16 | |
| 17 | open OAI.RepresentationTheory.Weil.AdelicSplitting.BruhatProducts.LocalAnalysis |
| 18 | |
| 19 | theorem weylMatrixCoefficient_midpoint_fourier |
| 20 | {k : Type} [NormedField k] [CharZero k] [MeasurableSpace k] [BorelSpace k] |
| 21 | [SecondCountableTopology k] {N : ℕ} (ψ : AddChar k ℂ) |
| 22 | (μ : Measure (Local.FunctionsMetaplectic.Construction.Position k N)) [μ.IsAddHaarMeasure] |
| 23 | (f h : Local.FunctionsMetaplectic.Construction.Position k N → ℂ) (q p : Local.FunctionsMetaplectic.Construction.Position k N) : |
| 24 | UnitarySplitting.WeylMatrixCoefficients.Construction.weylMatrixCoefficient ψ μ f h (Sum.elim (2 • q) p) = |
| 25 | Local.FunctionsMetaplectic.Construction.fourierIntegral ψ μ (fun x => f (x - q) * conj (h (x + q))) (-p) := by |
| 26 | rw [UnitarySplitting.WeylMatrixCoefficients.Construction.weylMatrixCoefficient, ← integral_add_right_eq_self _ q] |
| 27 | apply integral_congr_ae |
| 28 | exact Filter.Eventually.of_forall fun x => by |
| 29 | change ψ (∑ i, p i * ((x + q) i - (2 • q) i / 2)) * |
| 30 | f (fun i => (x + q) i - (2 • q) i) * conj (h (x + q)) = |
| 31 | (f (x - q) * conj (h (x + q))) * ψ (-Local.FunctionsMetaplectic.Construction.dot (-p) x) |
| 32 | have hq : (fun i => (x + q) i - (2 • q) i) = x - q := by |
| 33 | funext i |
| 34 | simp only [Pi.add_apply, Pi.sub_apply, Pi.smul_apply, two_smul] |
| 35 | abel |
| 36 | have hp : (∑ i, p i * ((x + q) i - (2 • q) i / 2)) = -Local.FunctionsMetaplectic.Construction.dot (-p) x := by |
| 37 | simp only [Local.FunctionsMetaplectic.Construction.dot, Pi.neg_apply, neg_mul, Finset.sum_neg_distrib, neg_neg] |
| 38 | apply Finset.sum_congr rfl |
| 39 | intro i _ |
| 40 | simp only [Pi.add_apply, Pi.smul_apply, two_smul] |
| 41 | congr 1 |
| 42 | field_simp |
| 43 | ring |
| 44 | rw [hq, hp] |
| 45 | ring |
| 46 | |
| 47 | end |
| 48 | |
| 49 | /-! Rational coordinates for midpoint Fourier coefficients and correlation sums. -/ |
| 50 | |
| 51 | variable (F : Type) [Field F] [CharZero F] (N : ℕ) |
| 52 | |
| 53 | def midpointRationalEquiv : ((Fin N → F) × (Fin N → F)) ≃ (Fin (N + N) → F) where |
| 54 | toFun z i := Sum.elim (fun j => 2 * z.1 j) (fun j => -z.2 j) (finSumFinEquiv.symm i) |
| 55 | invFun x := (fun j => x (finSumFinEquiv (.inl j)) / 2, fun j => -x (finSumFinEquiv (.inr j))) |
| 56 | left_inv z := by |
| 57 | apply Prod.ext <;> funext i |
| 58 | all_goals simp only [Equiv.symm_apply_apply, Sum.elim_inl, Sum.elim_inr, neg_neg] |
| 59 | all_goals field_simp |
| 60 | right_inv x := by |
| 61 | funext i |
| 62 | obtain ⟨j, rfl⟩ := finSumFinEquiv.surjective i |
| 63 | cases j |
| 64 | all_goals simp only [Equiv.symm_apply_apply, Sum.elim_inl, Sum.elim_inr, neg_neg] |
| 65 | all_goals field_simp |
| 66 | |
| 67 | def correlationPairEquiv : ((Fin N → F) × (Fin N → F)) ≃ ((Fin N → F) × (Fin N → F)) where |
| 68 | toFun z := (z.2 - z.1, z.2 + z.1) |
| 69 | invFun z := (fun i => (z.2 i - z.1 i) / 2, fun i => (z.1 i + z.2 i) / 2) |
| 70 | left_inv z := by |
| 71 | apply Prod.ext <;> funext i <;> dsimp <;> field_simp <;> ring |
| 72 | right_inv z := by |
| 73 | apply Prod.ext <;> funext i <;> dsimp <;> field_simp <;> ring |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.RepresentationTheory.Weil.AdelicSplitting.WeylMidpoint.Construction |