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.UnitarySplitting.UltraMultiplier |
| 2 | |
| 3 | /-! # Character Measure -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Weil.UnitarySplitting.CharacterMeasure |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A point-separating family of bounded continuous characters determines |
| 10 | finite measures. This avoids any classification of archimedean characters. -/ |
| 11 | |
| 12 | open _root_.MeasureTheory BoundedContinuousFunction |
| 13 | open scoped BigOperators |
| 14 | |
| 15 | variable {X I : Type} [PseudoEMetricSpace X] [AddCommGroup I] |
| 16 | variable (χ : I → X →ᵇ ℂ) |
| 17 | variable (hzero : χ 0 = 1) (hadd : ∀ i j, χ (i + j) = χ i * χ j) |
| 18 | variable (hneg : ∀ i, χ (-i) = star (χ i)) |
| 19 | |
| 20 | def characterSpan : Submodule ℂ (X →ᵇ ℂ) := Submodule.span ℂ (Set.range χ) |
| 21 | |
| 22 | include hadd in |
| 23 | theorem characterSpan_mul {f g : X →ᵇ ℂ} |
| 24 | (hf : f ∈ characterSpan χ) (hg : g ∈ characterSpan χ) : |
| 25 | f * g ∈ characterSpan χ := by |
| 26 | have hgen (i : I) {g : X →ᵇ ℂ} (hg : g ∈ characterSpan χ) : |
| 27 | χ i * g ∈ characterSpan χ := by |
| 28 | induction hg using Submodule.span_induction with |
| 29 | | mem g hg => |
| 30 | obtain ⟨j, rfl⟩ := hg |
| 31 | rw [← hadd] |
| 32 | exact Submodule.subset_span ⟨i + j, rfl⟩ |
| 33 | | zero => simp |
| 34 | | add g h _ _ hg hh => simpa [mul_add] using (characterSpan χ).add_mem hg hh |
| 35 | | smul c g _ hg => simpa [mul_smul_comm] using (characterSpan χ).smul_mem c hg |
| 36 | induction hf using Submodule.span_induction with |
| 37 | | mem f hf => |
| 38 | obtain ⟨i, rfl⟩ := hf |
| 39 | exact hgen i hg |
| 40 | | zero => simp |
| 41 | | add f h _ _ hf hh => simpa [add_mul] using (characterSpan χ).add_mem hf hh |
| 42 | | smul c f _ hf => simpa [smul_mul_assoc] using (characterSpan χ).smul_mem c hf |
| 43 | |
| 44 | include hneg in |
| 45 | theorem characterSpan_star {f : X →ᵇ ℂ} (hf : f ∈ characterSpan χ) : |
| 46 | star f ∈ characterSpan χ := by |
| 47 | induction hf using Submodule.span_induction with |
| 48 | | mem f hf => |
| 49 | obtain ⟨i, rfl⟩ := hf |
| 50 | rw [← hneg] |
| 51 | exact Submodule.subset_span ⟨-i, rfl⟩ |
| 52 | | zero => simp |
| 53 | | add f g _ _ hf hg => simpa using (characterSpan χ).add_mem hf hg |
| 54 | | smul c f _ hf => simpa using (characterSpan χ).smul_mem (star c) hf |
| 55 | |
| 56 | def characterAlgebra : StarSubalgebra ℂ (X →ᵇ ℂ) where |
| 57 | carrier := characterSpan χ |
| 58 | zero_mem' := (characterSpan χ).zero_mem |
| 59 | add_mem' := (characterSpan χ).add_mem |
| 60 | one_mem' := hzero ▸ Submodule.subset_span ⟨0, rfl⟩ |
| 61 | mul_mem' := characterSpan_mul χ hadd |
| 62 | algebraMap_mem' c := by |
| 63 | change (algebraMap ℂ (X →ᵇ ℂ)) c ∈ characterSpan χ |
| 64 | have hone : (1 : X →ᵇ ℂ) ∈ characterSpan χ := |
| 65 | hzero ▸ Submodule.subset_span ⟨0, rfl⟩ |
| 66 | simpa only [Algebra.smul_def, mul_one] using (characterSpan χ).smul_mem c hone |
| 67 | star_mem' := characterSpan_star χ hneg |
| 68 | |
| 69 | theorem characterAlgebra_separates |
| 70 | (hsep : ∀ x y : X, x ≠ y → ∃ i, χ i x ≠ χ i y) : |
| 71 | ((characterAlgebra χ hzero hadd hneg).map (toContinuousMapStarₐ ℂ)).SeparatesPoints := by |
| 72 | intro x y hxy |
| 73 | obtain ⟨i, hi⟩ := hsep x y hxy |
| 74 | use χ i |
| 75 | simp only [StarSubalgebra.coe_toSubalgebra, StarSubalgebra.coe_map, Set.mem_image, |
| 76 | SetLike.mem_coe, exists_exists_and_eq_and, ne_eq] |
| 77 | exact ⟨⟨χ i, Submodule.subset_span ⟨i, rfl⟩, rfl⟩, hi⟩ |
| 78 | |
| 79 | include hzero hadd hneg in |
| 80 | theorem measures_eq_of_character_integrals |
| 81 | [MeasurableSpace X] [BorelSpace X] |
| 82 | [CompleteSpace X] [SecondCountableTopology X] |
| 83 | (hsep : ∀ x y : X, x ≠ y → ∃ i, χ i x ≠ χ i y) |
| 84 | (μ ν : Measure X) [IsFiniteMeasure μ] [IsFiniteMeasure ν] |
| 85 | (h : ∀ i, ∫ x, χ i x ∂μ = ∫ x, χ i x ∂ν) : μ = ν := by |
| 86 | apply ext_of_forall_mem_subalgebra_integral_eq_of_pseudoEMetric_complete_countable |
| 87 | (characterAlgebra_separates χ hzero hadd hneg hsep) |
| 88 | intro f hf |
| 89 | change f ∈ characterSpan χ at hf |
| 90 | induction hf using Submodule.span_induction with |
| 91 | | mem f hf => |
| 92 | obtain ⟨i, rfl⟩ := hf |
| 93 | exact h i |
| 94 | | zero => simp |
| 95 | | add f g _ _ hf hg => |
| 96 | simp only [coe_add, Pi.add_apply] |
| 97 | rw [integral_add (f.integrable μ) (g.integrable μ), |
| 98 | integral_add (f.integrable ν) (g.integrable ν), hf, hg] |
| 99 | | smul c f _ hf => |
| 100 | simp only [coe_smul, integral_smul, hf] |
| 101 | |
| 102 | end |
| 103 | |
| 104 | end OAI.RepresentationTheory.Weil.UnitarySplitting.CharacterMeasure |