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.Theta.PoissonAutomorphyFiniteFourier |
| 2 | |
| 3 | /-! # Adelic Character -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.AdelicCharacter.CM |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! ThetaCycle: construct the standard additive character on the actual rational |
| 10 | adeles. Finite representatives modulo the integral adeles supply its finite |
| 11 | part; no Weil representation or character package is assumed. -/ |
| 12 | |
| 13 | open scoped Classical _root_.Topology |
| 14 | open OAI.RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction Filter |
| 15 | |
| 16 | def finiteRationalRepresentative (a : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) : ℚ := (RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteAdele_rational_representative a).choose |
| 17 | |
| 18 | theorem finite_rational_representative_spec (a : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) : |
| 19 | a - algebraMap ℚ RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf (finiteRationalRepresentative a) ∈ RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.integralAdele := |
| 20 | (RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteAdele_rational_representative a).choose_spec |
| 21 | |
| 22 | theorem negative_rational_character_eq (q r : ℚ) |
| 23 | (h : algebraMap ℚ RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf (q - r) ∈ RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.integralAdele) : |
| 24 | RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.standardRealCharacter (-(q : ℝ)) = RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.standardRealCharacter (-(r : ℝ)) := by |
| 25 | obtain ⟨n, hn⟩ := (RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.rational_integral_iff (q - r)).mp h |
| 26 | have he : (q : ℝ) = (n : ℝ) + (r : ℝ) := by |
| 27 | exact_mod_cast (sub_eq_iff_eq_add.mp hn.symm) |
| 28 | rw [he, neg_add, AddChar.map_add_eq_mul] |
| 29 | have hi : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.standardRealCharacter (-(n : ℝ)) = 1 := by |
| 30 | simpa only [Int.cast_neg] using RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.standardRealCharacter_intCast (-n) |
| 31 | rw [hi, one_mul] |
| 32 | |
| 33 | def finiteStandardCharacterValue (a : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) : ℂ := |
| 34 | RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.standardRealCharacter (-(finiteRationalRepresentative a : ℝ)) |
| 35 | |
| 36 | theorem finite_standard_character_representative (a : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) (q : ℚ) |
| 37 | (hq : a - algebraMap ℚ RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf q ∈ RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.integralAdele) : |
| 38 | finiteStandardCharacterValue a = RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.standardRealCharacter (-(q : ℝ)) := by |
| 39 | apply negative_rational_character_eq |
| 40 | have he : algebraMap ℚ RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf (finiteRationalRepresentative a - q) = |
| 41 | (a - algebraMap ℚ RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf q) - (a - algebraMap ℚ RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf (finiteRationalRepresentative a)) := by |
| 42 | rw [map_sub] |
| 43 | abel |
| 44 | rw [he] |
| 45 | exact RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.integralAdele.sub_mem hq (finite_rational_representative_spec a) |
| 46 | |
| 47 | def finiteStandardCharacter : AddChar RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf ℂ where |
| 48 | toFun := finiteStandardCharacterValue |
| 49 | map_zero_eq_one' := by |
| 50 | rw [finite_standard_character_representative 0 0 (by simp)] |
| 51 | simp |
| 52 | map_add_eq_mul' a b := by |
| 53 | have h := RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.integralAdele.add_mem (finite_rational_representative_spec a) |
| 54 | (finite_rational_representative_spec b) |
| 55 | have he : a + b - algebraMap ℚ RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf (finiteRationalRepresentative a + finiteRationalRepresentative b) = |
| 56 | (a - algebraMap ℚ RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf (finiteRationalRepresentative a)) + |
| 57 | (b - algebraMap ℚ RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf (finiteRationalRepresentative b)) := by |
| 58 | rw [map_add] |
| 59 | abel |
| 60 | rw [finite_standard_character_representative (a + b) _ (he ▸ h)] |
| 61 | simp only [Rat.cast_add, neg_add, AddChar.map_add_eq_mul, finiteStandardCharacterValue] |
| 62 | |
| 63 | theorem finite_standard_character_rational (q : ℚ) : |
| 64 | finiteStandardCharacter (algebraMap ℚ RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf q) = RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.standardRealCharacter (-(q : ℝ)) := |
| 65 | finite_standard_character_representative _ q (by simp) |
| 66 | |
| 67 | theorem finite_standard_character_integral (a : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) (ha : a ∈ RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.integralAdele) : |
| 68 | finiteStandardCharacter a = 1 := by |
| 69 | change finiteStandardCharacterValue a = 1 |
| 70 | rw [finite_standard_character_representative a 0 (by simpa using ha)] |
| 71 | simp |
| 72 | |
| 73 | theorem finite_standard_character_locallyConstant : IsLocallyConstant finiteStandardCharacter := by |
| 74 | apply (IsLocallyConstant.iff_eventually_eq _).mpr |
| 75 | intro a |
| 76 | have hU : IsOpen {b : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf | b - algebraMap ℚ RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf (finiteRationalRepresentative a) ∈ RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.integralAdele} := |
| 77 | RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.isOpen_integralAdele.preimage (continuous_id.sub continuous_const) |
| 78 | filter_upwards [hU.mem_nhds (finite_rational_representative_spec a)] with b hb |
| 79 | exact finite_standard_character_representative b (finiteRationalRepresentative a) hb |
| 80 | |
| 81 | theorem finite_standard_character_unitary (a : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) : ‖finiteStandardCharacter a‖ = 1 := |
| 82 | RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.standardRealCharacter_unitary _ |
| 83 | |
| 84 | def rationalAdelicCharacter : AddChar RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQ ℂ where |
| 85 | toFun a := RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.standardRealCharacter a.1 * finiteStandardCharacter a.2 |
| 86 | map_zero_eq_one' := by simp |
| 87 | map_add_eq_mul' a b := by |
| 88 | simp only [Prod.fst_add, Prod.snd_add, AddChar.map_add_eq_mul] |
| 89 | ring |
| 90 | |
| 91 | theorem rational_adelic_character_real (t : ℝ) : |
| 92 | rationalAdelicCharacter (t, 0) = RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.standardRealCharacter t := by |
| 93 | change RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.standardRealCharacter t * finiteStandardCharacter 0 = _ |
| 94 | simp |
| 95 | |
| 96 | theorem rational_adelic_character_finite (a : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) : |
| 97 | rationalAdelicCharacter (0, a) = finiteStandardCharacter a := by |
| 98 | change RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.standardRealCharacter 0 * finiteStandardCharacter a = _ |
| 99 | simp |
| 100 | |
| 101 | theorem rational_adelic_character_principal (q : ℚ) : |
| 102 | rationalAdelicCharacter (algebraMap ℚ RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQ q) = 1 := by |
| 103 | change RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.standardRealCharacter (q : ℝ) * finiteStandardCharacter (algebraMap ℚ RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf q) = 1 |
| 104 | rw [finite_standard_character_rational, ← AddChar.map_add_eq_mul] |
| 105 | simp |
| 106 | |
| 107 | theorem rational_adelic_character_continuous : Continuous rationalAdelicCharacter := by |
| 108 | have hr : Continuous RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.standardRealCharacter := by |
| 109 | change Continuous (fun t : ℝ => ((Real.fourierChar t : Circle) : ℂ)) |
| 110 | exact continuous_subtype_val.comp Real.continuous_fourierChar |
| 111 | exact (hr.comp continuous_fst).mul (finite_standard_character_locallyConstant.continuous.comp continuous_snd) |
| 112 | |
| 113 | theorem rational_adelic_character_unitary (a : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQ) : ‖rationalAdelicCharacter a‖ = 1 := by |
| 114 | change ‖RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.standardRealCharacter a.1 * finiteStandardCharacter a.2‖ = 1 |
| 115 | rw [norm_mul, RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.standardRealCharacter_unitary, finite_standard_character_unitary, one_mul] |
| 116 | |
| 117 | theorem rational_adelic_character_nontrivial : ∃ a : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQ, rationalAdelicCharacter a ≠ 1 := by |
| 118 | refine ⟨(1 / 2, 0), ?_⟩ |
| 119 | rw [rational_adelic_character_real] |
| 120 | intro h |
| 121 | obtain ⟨n, hn⟩ := (RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.standardRealCharacter_eq_one_iff (1 / 2)).mp h |
| 122 | have hpos : (0 : ℤ) < n := by exact_mod_cast (show (0 : ℝ) < (n : ℝ) by rw [hn]; norm_num) |
| 123 | have hlt : n < (1 : ℤ) := by exact_mod_cast (show (n : ℝ) < 1 by rw [hn]; norm_num) |
| 124 | omega |
| 125 | |
| 126 | end |
| 127 | |
| 128 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.AdelicCharacter.CM |