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.TestSpace |
| 2 | |
| 3 | /-! # Archimedean Characters -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Weil.AdelicSplitting.ArchimedeanCharacters.LocalAnalysis |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! Smoothness and bounded derivatives of continuous unitary characters. |
| 12 | The proof first differentiates an interval primitive; it does not assume |
| 13 | a classification of characters or a differentiability hypothesis. -/ |
| 14 | |
| 15 | open _root_.MeasureTheory |
| 16 | open scoped ContDiff |
| 17 | |
| 18 | theorem real_character_derivative |
| 19 | (ψ : AddChar ℝ ℂ) (hc : Continuous ψ) : |
| 20 | ∃ c : ℂ, ∀ x : ℝ, HasDerivAt (fun t => ψ t) (c * ψ x) x := by |
| 21 | let P : ℝ → ℂ := fun a => ∫ t in (0 : ℝ)..a, ψ t |
| 22 | have hP (x : ℝ) : HasDerivAt P (ψ x) x := |
| 23 | intervalIntegral.integral_hasDerivAt_right (hc.intervalIntegrable _ _) |
| 24 | hc.stronglyMeasurable.stronglyMeasurableAtFilter hc.continuousAt |
| 25 | have hnonzero : ∃ a, P a ≠ 0 := by |
| 26 | by_contra! h |
| 27 | have he : P = fun _ => 0 := funext h |
| 28 | have hd := hP 0 |
| 29 | rw [he] at hd |
| 30 | have hh := hd.unique (hasDerivAt_const (0 : ℝ) (0 : ℂ)) |
| 31 | simp at hh |
| 32 | obtain ⟨a, ha⟩ := hnonzero |
| 33 | have htranslate (x : ℝ) : P (x + a) - P x = ψ x * P a := by |
| 34 | change (∫ t in (0 : ℝ)..(x + a), ψ t) - (∫ t in (0 : ℝ)..x, ψ t) = _ |
| 35 | rw [intervalIntegral.integral_interval_sub_left |
| 36 | (hc.intervalIntegrable _ _) (hc.intervalIntegrable _ _)] |
| 37 | calc |
| 38 | (∫ t in x..x + a, ψ t) = ∫ t in (0 : ℝ)..a, ψ (x + t) := by |
| 39 | rw [intervalIntegral.integral_comp_add_left] |
| 40 | simp |
| 41 | _ = ψ x * P a := by |
| 42 | simp only [ψ.map_add_eq_mul] |
| 43 | exact intervalIntegral.integral_const_mul _ _ |
| 44 | have hformula : (fun x => (P (x + a) - P x) / P a) = fun x => ψ x := by |
| 45 | funext x |
| 46 | rw [htranslate, mul_div_cancel_right₀ _ ha] |
| 47 | refine ⟨(ψ a - 1) / P a, ?_⟩ |
| 48 | intro x |
| 49 | have ht : HasDerivAt (fun t => P (t + a)) (ψ (x + a)) x := by |
| 50 | simpa using! (hP (x + a)).scomp x ((hasDerivAt_id x).add_const a) |
| 51 | have hd := (ht.sub (hP x)).mul_const (P a)⁻¹ |
| 52 | have hd' : HasDerivAt (fun t => (P (t + a) - P t) / P a) |
| 53 | ((ψ (x + a) - ψ x) / P a) x := by |
| 54 | simpa only [div_eq_mul_inv, Pi.sub_apply] using! hd |
| 55 | rw [hformula] at hd' |
| 56 | convert hd' using 1 |
| 57 | rw [ψ.map_add_eq_mul] |
| 58 | ring |
| 59 | |
| 60 | theorem real_character_temperate |
| 61 | (ψ : AddChar ℝ ℂ) (hc : Continuous ψ) (hu : ∀ x, ‖ψ x‖ = 1) : |
| 62 | Function.HasTemperateGrowth (fun t => ψ t) := by |
| 63 | obtain ⟨c, hd⟩ := real_character_derivative ψ hc |
| 64 | have hderiv : deriv (fun t => ψ t) = fun t => c * ψ t := funext (fun t => (hd t).deriv) |
| 65 | have hcd : ContDiff ℝ ∞ (fun t => ψ t) := by |
| 66 | rw [contDiff_infty] |
| 67 | intro n |
| 68 | induction n with |
| 69 | | zero => exact contDiff_zero.mpr hc |
| 70 | | succ n ih => |
| 71 | rw [Nat.cast_add, Nat.cast_one] |
| 72 | apply contDiff_succ_iff_deriv.mpr |
| 73 | refine ⟨fun t => (hd t).differentiableAt, by simp, ?_⟩ |
| 74 | rw [hderiv] |
| 75 | exact contDiff_const.mul ih |
| 76 | have hit (n : ℕ) : iteratedDeriv n (fun t => ψ t) = fun t => c ^ n * ψ t := by |
| 77 | induction n with |
| 78 | | zero => simp |
| 79 | | succ n ih => |
| 80 | rw [iteratedDeriv_succ, ih] |
| 81 | funext t |
| 82 | rw [((hd t).const_mul (c ^ n)).deriv] |
| 83 | rw [pow_succ, mul_assoc] |
| 84 | refine ⟨hcd, fun n => ⟨0, ‖c‖ ^ n, fun t => ?_⟩⟩ |
| 85 | rw [norm_iteratedFDeriv_eq_norm_iteratedDeriv, hit] |
| 86 | simp only [norm_mul, norm_pow, hu, mul_one, pow_zero, le_refl] |
| 87 | |
| 88 | theorem complex_character_temperate |
| 89 | (ψ : AddChar ℂ ℂ) (hc : Continuous ψ) (hu : ∀ x, ‖ψ x‖ = 1) : |
| 90 | Function.HasTemperateGrowth (fun z => ψ z) := by |
| 91 | let r : ℝ →+ ℂ := Complex.ofRealHom.toAddMonoidHom |
| 92 | let i : ℝ →+ ℂ := |
| 93 | { toFun := fun t => (t : ℂ) * Complex.I |
| 94 | map_zero' := by simp |
| 95 | map_add' := fun x y => by simp [add_mul] } |
| 96 | let χr := ψ.compAddMonoidHom r |
| 97 | let χi := ψ.compAddMonoidHom i |
| 98 | have hr : Function.HasTemperateGrowth χr := |
| 99 | real_character_temperate χr (hc.comp Complex.continuous_ofReal) (fun t => hu _) |
| 100 | have hi : Function.HasTemperateGrowth χi := |
| 101 | real_character_temperate χi (hc.comp (Complex.continuous_ofReal.mul continuous_const)) |
| 102 | (fun t => hu _) |
| 103 | have he : (fun z => ψ z) = fun z : ℂ => χr z.re * χi z.im := by |
| 104 | funext z |
| 105 | change ψ z = ψ (z.re : ℂ) * ψ ((z.im : ℂ) * Complex.I) |
| 106 | rw [← ψ.map_add_eq_mul, Complex.re_add_im] |
| 107 | rw [he] |
| 108 | exact (hr.comp Complex.reCLM.hasTemperateGrowth).mul |
| 109 | (hi.comp Complex.imCLM.hasTemperateGrowth) |
| 110 | |
| 111 | end |
| 112 | |
| 113 | /-! Quadratic phases preserve the actual Bruhat space at archimedean |
| 114 | places, for arbitrary continuous unitary characters. -/ |
| 115 | |
| 116 | open scoped SchwartzMap ContDiff |
| 117 | |
| 118 | theorem locallyConstant_contDiff_real {E F : Type*} |
| 119 | [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 120 | [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 121 | {f : E → F} (hf : IsLocallyConstant f) : ContDiff ℝ ∞ f := by |
| 122 | rw [contDiff_iff_contDiffAt] |
| 123 | intro x |
| 124 | exact contDiffAt_const.congr_of_eventuallyEq (hf.eventually_eq x) |
| 125 | |
| 126 | theorem schwartzBruhat_archimedean_iff |
| 127 | {k : Type} [NormedField k] [NormedAlgebra ℝ k] [FiniteDimensional ℝ k] |
| 128 | {n : ℕ} {f : Local.FunctionsMetaplectic.Construction.Position k n → ℂ} : |
| 129 | f ∈ Local.FunctionsMetaplectic.Construction.schwartzBruhat k n ↔ ∃ φ : SchwartzMap (Local.FunctionsMetaplectic.Construction.Position k n) ℂ, f = φ := by |
| 130 | constructor |
| 131 | · intro hf |
| 132 | induction hf using Submodule.span_induction with |
| 133 | | mem f hf => |
| 134 | rcases hf with hf | ⟨d, e, φ, rfl⟩ |
| 135 | · exact ⟨hf.2.toSchwartzMap (locallyConstant_contDiff_real hf.1), rfl⟩ |
| 136 | · let a := e.symm.toAddEquiv.toRealLinearEquiv e.symm.continuous e.continuous |
| 137 | exact ⟨SchwartzMap.compCLMOfContinuousLinearEquiv ℂ a φ, rfl⟩ |
| 138 | | zero => exact ⟨0, rfl⟩ |
| 139 | | add f g _ _ hf hg => |
| 140 | obtain ⟨φ, rfl⟩ := hf |
| 141 | obtain ⟨χ, rfl⟩ := hg |
| 142 | exact ⟨φ + χ, rfl⟩ |
| 143 | | smul c f _ hf => |
| 144 | obtain ⟨φ, rfl⟩ := hf |
| 145 | exact ⟨c • φ, rfl⟩ |
| 146 | · rintro ⟨φ, rfl⟩ |
| 147 | let e := (Module.finBasis ℝ (Local.FunctionsMetaplectic.Construction.Position k n)).equivFunL |
| 148 | let χ := SchwartzMap.compCLMOfContinuousLinearEquiv ℂ e.symm φ |
| 149 | have h := Local.FunctionsMetaplectic.Construction.schwartz_coordinate_mem e.symm.toContinuousAddEquiv χ |
| 150 | convert h using 1 |
| 151 | funext x |
| 152 | change φ x = φ (e.symm (e x)) |
| 153 | rw [e.symm_apply_apply] |
| 154 | |
| 155 | theorem quadratic_archimedean_temperate |
| 156 | {k : Type} [NormedField k] [NormedAlgebra ℝ k] {n : ℕ} |
| 157 | (B : Matrix (Fin n) (Fin n) k) : Function.HasTemperateGrowth (Local.FunctionsMetaplectic.Construction.quadratic B) := by |
| 158 | have hc (i : Fin n) : Function.HasTemperateGrowth (fun x : Local.FunctionsMetaplectic.Construction.Position k n => x i) := |
| 159 | (ContinuousLinearMap.proj i : Local.FunctionsMetaplectic.Construction.Position k n →L[ℝ] k).hasTemperateGrowth |
| 160 | have hq : Function.HasTemperateGrowth |
| 161 | (fun x : Local.FunctionsMetaplectic.Construction.Position k n => ∑ i, ∑ j, x i * B i j * x j) := |
| 162 | .sum (fun i _ => .sum (fun j _ => ((hc i).mul (.const (B i j))).mul (hc j))) |
| 163 | convert! hq.mul (.const (2 : k)⁻¹) using 1 |
| 164 | funext x |
| 165 | exact div_eq_mul_inv _ _ |
| 166 | |
| 167 | theorem quadraticOperator_archimedean_mem |
| 168 | {k : Type} [NormedField k] [NormedAlgebra ℝ k] [FiniteDimensional ℝ k] |
| 169 | {n : ℕ} (ψ : AddChar k ℂ) (hψ : Function.HasTemperateGrowth ψ) |
| 170 | (B : Matrix (Fin n) (Fin n) k) {f : Local.FunctionsMetaplectic.Construction.Position k n → ℂ} |
| 171 | (hf : f ∈ Local.FunctionsMetaplectic.Construction.schwartzBruhat k n) : Local.FunctionsMetaplectic.Construction.quadraticOperator ψ B f ∈ Local.FunctionsMetaplectic.Construction.schwartzBruhat k n := by |
| 172 | obtain ⟨φ, rfl⟩ := schwartzBruhat_archimedean_iff.mp hf |
| 173 | let χ := SchwartzMap.smulLeftCLM ℂ (fun x => ψ (Local.FunctionsMetaplectic.Construction.quadratic B x)) φ |
| 174 | refine schwartzBruhat_archimedean_iff.mpr ⟨χ, ?_⟩ |
| 175 | funext x |
| 176 | exact (SchwartzMap.smulLeftCLM_apply_apply |
| 177 | (hψ.comp (quadratic_archimedean_temperate B)) φ x).symm |
| 178 | |
| 179 | end |
| 180 | |
| 181 | end OAI.RepresentationTheory.Weil.AdelicSplitting.ArchimedeanCharacters.LocalAnalysis |