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.CharacterScaling |
| 2 | import OAI.RepresentationTheory.Weil.Local.QuadraticIntertwiner |
| 3 | import OAI.RepresentationTheory.Weil.Local.GaussianNonarchimedean |
| 4 | |
| 5 | /-! # Quarter Turn Structure -/ |
| 6 | |
| 7 | namespace OAI.RepresentationTheory.Weil.Local.QuarterTurnStructure.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A conjugate-linear symmetry when the coefficient field contains a square root of -1. -/ |
| 12 | |
| 13 | open _root_.MeasureTheory |
| 14 | open scoped ComplexConjugate |
| 15 | |
| 16 | theorem schwartzBruhat_conjugate_mem {k : Type} [NormedField k] {n : ℕ} |
| 17 | {f : FunctionsMetaplectic.Construction.Position k n → ℂ} (hf : f ∈ FunctionsMetaplectic.Construction.schwartzBruhat k n) : |
| 18 | (fun x => conj (f x)) ∈ FunctionsMetaplectic.Construction.schwartzBruhat k n := by |
| 19 | induction hf using Submodule.span_induction with |
| 20 | | mem f hf => |
| 21 | rcases hf with hf | ⟨d, e, φ, rfl⟩ |
| 22 | · exact FunctionsMetaplectic.Construction.compact_locallyConstant_mem (hf.1.comp _) (hf.2.comp_left (map_zero _)) |
| 23 | · exact FunctionsMetaplectic.Construction.schwartz_coordinate_mem e (φ.postcompCLM Complex.conjCLE.toContinuousLinearMap) |
| 24 | | zero => simpa only [Pi.zero_apply, map_zero] using! (FunctionsMetaplectic.Construction.schwartzBruhat k n).zero_mem |
| 25 | | add f g _ _ hf hg => |
| 26 | simpa only [Pi.add_apply, map_add] using! (FunctionsMetaplectic.Construction.schwartzBruhat k n).add_mem hf hg |
| 27 | | smul c f _ hf => |
| 28 | simpa only [Pi.smul_apply, smul_eq_mul, map_mul] using! (FunctionsMetaplectic.Construction.schwartzBruhat k n).smul_mem (conj c) hf |
| 29 | |
| 30 | theorem quarterTurn_ne_zero {k : Type} [Field k] {r : k} (hr : r ^ 2 = -1) : r ≠ 0 := by |
| 31 | intro h |
| 32 | rw [h, zero_pow (by decide)] at hr |
| 33 | exact (neg_ne_zero.mpr (one_ne_zero : (1 : k) ≠ 0)) hr.symm |
| 34 | |
| 35 | def quarterTurnStructure {k : Type} [NormedField k] {n : ℕ} |
| 36 | (r : k) (hr : r ^ 2 = -1) (f : FunctionsMetaplectic.Construction.schwartzBruhat k n) : FunctionsMetaplectic.Construction.schwartzBruhat k n := |
| 37 | ⟨fun x => conj (f.val (r • x)), |
| 38 | schwartzBruhat_conjugate_mem (FunctionsMetaplectic.Construction.schwartzBruhat_coordinateEquiv |
| 39 | (CharacterScaling.Construction.scalarPositionEquiv n r (quarterTurn_ne_zero hr)).toContinuousAddEquiv f).property⟩ |
| 40 | |
| 41 | theorem quarterTurnStructure_smul {k : Type} [NormedField k] {n : ℕ} |
| 42 | (r : k) (hr : r ^ 2 = -1) (c : ℂ) (f : FunctionsMetaplectic.Construction.schwartzBruhat k n) : |
| 43 | quarterTurnStructure r hr (c • f) = conj c • quarterTurnStructure r hr f := by |
| 44 | apply Subtype.ext |
| 45 | funext x |
| 46 | exact map_mul (starRingEnd ℂ) c (f.val (r • x)) |
| 47 | |
| 48 | theorem quarterTurnStructure_neg {k : Type} [NormedField k] {n : ℕ} |
| 49 | (r : k) (hr : r ^ 2 = -1) (f : FunctionsMetaplectic.Construction.schwartzBruhat k n) : |
| 50 | quarterTurnStructure r hr (-f) = -quarterTurnStructure r hr f := by |
| 51 | apply Subtype.ext |
| 52 | funext x |
| 53 | exact map_neg (starRingEnd ℂ) (f.val (r • x)) |
| 54 | |
| 55 | theorem quarterTurnStructure_quadratic {k : Type} [NormedField k] {n : ℕ} |
| 56 | (r : k) (hr : r ^ 2 = -1) (ψ : AddChar k ℂ) (hu : ∀ t, ‖ψ t‖ = 1) |
| 57 | (hmem : ∀ B (f : FunctionsMetaplectic.Construction.schwartzBruhat k n), FunctionsMetaplectic.Construction.quadraticOperator ψ B f.val ∈ FunctionsMetaplectic.Construction.schwartzBruhat k n) |
| 58 | (B : Matrix (Fin n) (Fin n) k) (f : FunctionsMetaplectic.Construction.schwartzBruhat k n) : |
| 59 | QuadraticIntertwiner.Construction.testQuadratic ψ hmem B (quarterTurnStructure r hr f) = |
| 60 | quarterTurnStructure r hr (QuadraticIntertwiner.Construction.testQuadratic ψ hmem B f) := by |
| 61 | apply Subtype.ext |
| 62 | funext x |
| 63 | change ψ (FunctionsMetaplectic.Construction.quadratic B x) * conj (f.val (r • x)) = |
| 64 | conj (ψ (FunctionsMetaplectic.Construction.quadratic B (r • x)) * f.val (r • x)) |
| 65 | rw [QuadraticIntertwiner.Construction.quadratic_smul_vector, hr, neg_one_mul, GaussianNonarchimedean.Construction.unitary_character_neg ψ hu, map_mul, |
| 66 | starRingEnd_self_apply] |
| 67 | |
| 68 | theorem haarModulus_quarterTurn {k : Type} [NormedField k] [LocallyCompactSpace k] |
| 69 | (r : k) (hr : r ^ 2 = -1) : DeterminantMeasure.Construction.haarModulus k r = 1 := by |
| 70 | apply (pow_eq_one_iff_of_nonneg (show 0 ≤ DeterminantMeasure.Construction.haarModulus k r from zero_le) (by decide : (4 : ℕ) ≠ 0)).mp |
| 71 | rw [← map_pow] |
| 72 | have h4 : r ^ 4 = 1 := by |
| 73 | calc |
| 74 | _ = (r ^ 2) ^ 2 := by ring |
| 75 | _ = 1 := by rw [hr]; ring |
| 76 | rw [h4, map_one] |
| 77 | |
| 78 | theorem dot_quarterTurn {k : Type} [Field k] {n : ℕ} (r : k) (hr : r ^ 2 = -1) |
| 79 | (x y : FunctionsMetaplectic.Construction.Position k n) : FunctionsMetaplectic.Construction.dot (r • x) (r • y) = -FunctionsMetaplectic.Construction.dot x y := by |
| 80 | simp only [FunctionsMetaplectic.Construction.dot, Pi.smul_apply, smul_eq_mul, ← Finset.sum_neg_distrib] |
| 81 | apply Finset.sum_congr rfl |
| 82 | intro i _ |
| 83 | calc |
| 84 | _ = r ^ 2 * (x i * y i) := by ring |
| 85 | _ = _ := by rw [hr, neg_one_mul] |
| 86 | |
| 87 | theorem fourier_quarterTurnStructure |
| 88 | {k : Type} [NormedField k] [LocallyCompactSpace k] |
| 89 | [MeasurableSpace k] [BorelSpace k] [SecondCountableTopology k] {n : ℕ} |
| 90 | (r : k) (hr : r ^ 2 = -1) (ψ : AddChar k ℂ) (hu : ∀ t, ‖ψ t‖ = 1) |
| 91 | (μ : Measure k) [μ.IsAddHaarMeasure] (f : FunctionsMetaplectic.Construction.schwartzBruhat k n) (x : FunctionsMetaplectic.Construction.Position k n) : |
| 92 | FunctionsMetaplectic.Construction.fourierIntegral ψ (Measure.pi (fun _ : Fin n => μ)) (quarterTurnStructure r hr f).val x = |
| 93 | conj (FunctionsMetaplectic.Construction.fourierIntegral ψ (Measure.pi (fun _ : Fin n => μ)) f.val (r • x)) := by |
| 94 | let g : FunctionsMetaplectic.Construction.Position k n → ℂ := fun z => conj (f.val z) * ψ (FunctionsMetaplectic.Construction.dot (r • x) z) |
| 95 | have h := CharacterScaling.Construction.integral_scalar_position n r (quarterTurn_ne_zero hr) μ g |
| 96 | rw [haarModulus_quarterTurn r hr] at h |
| 97 | simp only [NNReal.coe_one, one_pow, inv_one, one_smul] at h |
| 98 | calc |
| 99 | _ = ∫ y, g (r • y) ∂Measure.pi (fun _ : Fin n => μ) := by |
| 100 | apply integral_congr_ae |
| 101 | exact Filter.Eventually.of_forall fun y => by |
| 102 | change conj (f.val (r • y)) * ψ (-FunctionsMetaplectic.Construction.dot x y) = conj (f.val (r • y)) * ψ (FunctionsMetaplectic.Construction.dot (r • x) (r • y)) |
| 103 | rw [dot_quarterTurn r hr] |
| 104 | _ = ∫ y, g y ∂Measure.pi (fun _ : Fin n => μ) := h |
| 105 | _ = _ := by |
| 106 | rw [FunctionsMetaplectic.Construction.fourierIntegral, ← integral_conj] |
| 107 | apply integral_congr_ae |
| 108 | exact Filter.Eventually.of_forall fun y => by |
| 109 | change conj (f.val y) * ψ (FunctionsMetaplectic.Construction.dot (r • x) y) = conj (f.val y * ψ (-FunctionsMetaplectic.Construction.dot (r • x) y)) |
| 110 | rw [map_mul, GaussianNonarchimedean.Construction.unitary_character_neg ψ hu, starRingEnd_self_apply] |
| 111 | |
| 112 | end |
| 113 | |
| 114 | end OAI.RepresentationTheory.Weil.Local.QuarterTurnStructure.Construction |