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.AlgebraicGeometry.HodgeConjecture.ThetaCycle.AdelicCharacter |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.ArchimedeanTrace |
| 3 | import OAI.RepresentationTheory.Weil.AdelicSplitting.CompactQuotient |
| 4 | |
| 5 | /-! # Field Adelic Character -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.FieldAdelicCharacter.CM |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! ThetaCycle: the standard trace character on the actual number-field adeles. |
| 12 | The finite part is constructed by strong approximation and the archimedean |
| 13 | part is the real-linear extension of the field trace. -/ |
| 14 | |
| 15 | open scoped Classical _root_.Topology _root_.NumberField |
| 16 | open _root_.NumberField OAI.RepresentationTheory.Weil.AdelicSplitting.CompactQuotient.Construction Filter |
| 17 | |
| 18 | variable (F : Type) [Field F] [NumberField F] |
| 19 | |
| 20 | def fieldFiniteRepresentative (a : RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.FiniteAdeles F) : F := |
| 21 | (RepresentationTheory.Weil.AdelicSplitting.CompactQuotient.Construction.exists_rational_finite_integral_remainder F a).choose |
| 22 | |
| 23 | theorem field_finite_representative_spec (a : RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.FiniteAdeles F) : |
| 24 | a - algebraMap F (RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.FiniteAdeles F) (fieldFiniteRepresentative F a) ∈ RepresentationTheory.Weil.AdelicSplitting.IntegralAdeles.Construction.finiteIntegralRing F := |
| 25 | (RepresentationTheory.Weil.AdelicSplitting.CompactQuotient.Construction.exists_rational_finite_integral_remainder F a).choose_spec |
| 26 | |
| 27 | theorem negative_trace_character_eq (q r : F) |
| 28 | (h : algebraMap F (RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.FiniteAdeles F) (q - r) ∈ RepresentationTheory.Weil.AdelicSplitting.IntegralAdeles.Construction.finiteIntegralRing F) : |
| 29 | RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.standardRealCharacter (-(Algebra.trace ℚ F q : ℝ)) = |
| 30 | RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.standardRealCharacter (-(Algebra.trace ℚ F r : ℝ)) := by |
| 31 | obtain ⟨s, hs⟩ := (RepresentationTheory.Weil.AdelicSplitting.IntegralAdeles.Construction.rational_mem_finiteIntegral_iff F (q - r)).mp h |
| 32 | obtain ⟨n, hn⟩ := ArchimedeanTrace.CM.field_trace_integer F s |
| 33 | have he : (Algebra.trace ℚ F q : ℝ) = (n : ℝ) + (Algebra.trace ℚ F r : ℝ) := by |
| 34 | have ht : (n : ℚ) = Algebra.trace ℚ F q - Algebra.trace ℚ F r := by |
| 35 | rw [← map_sub, ← hs] |
| 36 | exact hn |
| 37 | exact_mod_cast (sub_eq_iff_eq_add.mp ht.symm) |
| 38 | rw [he, neg_add, AddChar.map_add_eq_mul] |
| 39 | have hi : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.standardRealCharacter (-(n : ℝ)) = 1 := by |
| 40 | simpa only [Int.cast_neg] using RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.standardRealCharacter_intCast (-n) |
| 41 | rw [hi, one_mul] |
| 42 | |
| 43 | def fieldFiniteCharacterValue (a : RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.FiniteAdeles F) : ℂ := |
| 44 | RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.standardRealCharacter (-(Algebra.trace ℚ F (fieldFiniteRepresentative F a) : ℝ)) |
| 45 | |
| 46 | theorem field_finite_character_representative (a : RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.FiniteAdeles F) (q : F) |
| 47 | (hq : a - algebraMap F (RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.FiniteAdeles F) q ∈ RepresentationTheory.Weil.AdelicSplitting.IntegralAdeles.Construction.finiteIntegralRing F) : |
| 48 | fieldFiniteCharacterValue F a = RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.standardRealCharacter (-(Algebra.trace ℚ F q : ℝ)) := by |
| 49 | apply negative_trace_character_eq F |
| 50 | have he : algebraMap F (RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.FiniteAdeles F) (fieldFiniteRepresentative F a - q) = |
| 51 | (a - algebraMap F (RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.FiniteAdeles F) q) - |
| 52 | (a - algebraMap F (RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.FiniteAdeles F) (fieldFiniteRepresentative F a)) := by |
| 53 | rw [map_sub] |
| 54 | abel |
| 55 | rw [he] |
| 56 | exact (RepresentationTheory.Weil.AdelicSplitting.IntegralAdeles.Construction.finiteIntegralRing F).sub_mem hq (field_finite_representative_spec F a) |
| 57 | |
| 58 | def fieldFiniteCharacter : AddChar (RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.FiniteAdeles F) ℂ where |
| 59 | toFun := fieldFiniteCharacterValue F |
| 60 | map_zero_eq_one' := by |
| 61 | rw [field_finite_character_representative F 0 0 (by simp)] |
| 62 | simp |
| 63 | map_add_eq_mul' a b := by |
| 64 | have h := (RepresentationTheory.Weil.AdelicSplitting.IntegralAdeles.Construction.finiteIntegralRing F).add_mem (field_finite_representative_spec F a) |
| 65 | (field_finite_representative_spec F b) |
| 66 | have he : a + b - algebraMap F (RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.FiniteAdeles F) |
| 67 | (fieldFiniteRepresentative F a + fieldFiniteRepresentative F b) = |
| 68 | (a - algebraMap F (RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.FiniteAdeles F) (fieldFiniteRepresentative F a)) + |
| 69 | (b - algebraMap F (RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.FiniteAdeles F) (fieldFiniteRepresentative F b)) := by |
| 70 | rw [map_add] |
| 71 | abel |
| 72 | rw [field_finite_character_representative F (a + b) _ (he ▸ h)] |
| 73 | simp only [map_add, Rat.cast_add, neg_add, AddChar.map_add_eq_mul, fieldFiniteCharacterValue] |
| 74 | |
| 75 | theorem field_finite_character_rational (q : F) : |
| 76 | fieldFiniteCharacter F (algebraMap F (RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.FiniteAdeles F) q) = |
| 77 | RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.standardRealCharacter (-(Algebra.trace ℚ F q : ℝ)) := |
| 78 | field_finite_character_representative F _ q (by simp) |
| 79 | |
| 80 | theorem field_finite_character_integral (a : RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.FiniteAdeles F) (ha : a ∈ RepresentationTheory.Weil.AdelicSplitting.IntegralAdeles.Construction.finiteIntegralRing F) : |
| 81 | fieldFiniteCharacter F a = 1 := by |
| 82 | change fieldFiniteCharacterValue F a = 1 |
| 83 | rw [field_finite_character_representative F a 0 (by simpa using ha)] |
| 84 | simp |
| 85 | |
| 86 | theorem field_finite_character_locallyConstant : IsLocallyConstant (fieldFiniteCharacter F) := by |
| 87 | apply (IsLocallyConstant.iff_eventually_eq _).mpr |
| 88 | intro a |
| 89 | have hU : IsOpen {b : RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.FiniteAdeles F | |
| 90 | b - algebraMap F (RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.FiniteAdeles F) (fieldFiniteRepresentative F a) ∈ RepresentationTheory.Weil.AdelicSplitting.IntegralAdeles.Construction.finiteIntegralRing F} := |
| 91 | (RepresentationTheory.Weil.AdelicSplitting.IntegralAdeles.Construction.isOpen_finiteIntegralRing F).preimage (continuous_id.sub continuous_const) |
| 92 | filter_upwards [hU.mem_nhds (field_finite_representative_spec F a)] with b hb |
| 93 | exact field_finite_character_representative F b (fieldFiniteRepresentative F a) hb |
| 94 | |
| 95 | theorem field_finite_character_unitary (a : RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.FiniteAdeles F) : ‖fieldFiniteCharacter F a‖ = 1 := |
| 96 | RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.standardRealCharacter_unitary _ |
| 97 | |
| 98 | def fieldAdelicCharacter : AddChar (RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.Adeles F) ℂ where |
| 99 | toFun a := RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.standardRealCharacter (ArchimedeanTrace.CM.infiniteFieldTrace F a.1) * fieldFiniteCharacter F a.2 |
| 100 | map_zero_eq_one' := by |
| 101 | change RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.standardRealCharacter (ArchimedeanTrace.CM.infiniteFieldTrace F 0) * fieldFiniteCharacter F 0 = 1 |
| 102 | simp |
| 103 | map_add_eq_mul' a b := by |
| 104 | change RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.standardRealCharacter (ArchimedeanTrace.CM.infiniteFieldTrace F (a.1 + b.1)) * fieldFiniteCharacter F (a.2 + b.2) = _ |
| 105 | simp only [map_add, AddChar.map_add_eq_mul] |
| 106 | ring |
| 107 | |
| 108 | theorem field_adelic_character_infinite (t : InfiniteAdeleRing F) : |
| 109 | fieldAdelicCharacter F (t, 0) = RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.standardRealCharacter (ArchimedeanTrace.CM.infiniteFieldTrace F t) := by |
| 110 | change RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.standardRealCharacter (ArchimedeanTrace.CM.infiniteFieldTrace F t) * fieldFiniteCharacter F 0 = _ |
| 111 | simp |
| 112 | |
| 113 | theorem field_adelic_character_finite (a : RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.FiniteAdeles F) : |
| 114 | fieldAdelicCharacter F (0, a) = fieldFiniteCharacter F a := by |
| 115 | change RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.standardRealCharacter (ArchimedeanTrace.CM.infiniteFieldTrace F 0) * fieldFiniteCharacter F a = _ |
| 116 | simp |
| 117 | |
| 118 | theorem field_adelic_character_principal (q : F) : |
| 119 | fieldAdelicCharacter F (algebraMap F (RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.Adeles F) q) = 1 := by |
| 120 | change RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.standardRealCharacter (ArchimedeanTrace.CM.infiniteFieldTrace F (algebraMap F (InfiniteAdeleRing F) q)) * |
| 121 | fieldFiniteCharacter F (algebraMap F (RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.FiniteAdeles F) q) = 1 |
| 122 | rw [ArchimedeanTrace.CM.infinite_field_trace_rational, field_finite_character_rational, ← AddChar.map_add_eq_mul] |
| 123 | simp |
| 124 | |
| 125 | theorem field_adelic_character_continuous : Continuous (fieldAdelicCharacter F) := by |
| 126 | have hr : Continuous RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.standardRealCharacter := by |
| 127 | change Continuous (fun t : ℝ => ((Real.fourierChar t : Circle) : ℂ)) |
| 128 | exact continuous_subtype_val.comp Real.continuous_fourierChar |
| 129 | exact ((hr.comp (ArchimedeanTrace.CM.infinite_field_trace_continuous F)).comp continuous_fst).mul |
| 130 | ((field_finite_character_locallyConstant F).continuous.comp continuous_snd) |
| 131 | |
| 132 | theorem field_adelic_character_unitary (a : RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.Adeles F) : ‖fieldAdelicCharacter F a‖ = 1 := by |
| 133 | change ‖RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.standardRealCharacter (ArchimedeanTrace.CM.infiniteFieldTrace F a.1) * fieldFiniteCharacter F a.2‖ = 1 |
| 134 | rw [norm_mul, RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.standardRealCharacter_unitary, field_finite_character_unitary, one_mul] |
| 135 | |
| 136 | theorem field_adelic_character_nontrivial : ∃ a : RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.Adeles F, fieldAdelicCharacter F a ≠ 1 := by |
| 137 | let q : F := algebraMap ℚ F (1 / (2 * (Module.finrank ℚ F : ℚ))) |
| 138 | have hd : (Module.finrank ℚ F : ℚ) ≠ 0 := by |
| 139 | exact_mod_cast (ne_of_gt (Module.finrank_pos : 0 < Module.finrank ℚ F)) |
| 140 | have hq : Algebra.trace ℚ F q = 1 / 2 := by |
| 141 | change Algebra.trace ℚ F (algebraMap ℚ F _) = _ |
| 142 | rw [Algebra.trace_algebraMap, nsmul_eq_mul] |
| 143 | field_simp |
| 144 | refine ⟨(algebraMap F (InfiniteAdeleRing F) q, 0), ?_⟩ |
| 145 | rw [field_adelic_character_infinite, ArchimedeanTrace.CM.infinite_field_trace_rational, hq] |
| 146 | norm_num only [Rat.cast_div, Rat.cast_one, Rat.cast_ofNat] |
| 147 | intro h |
| 148 | obtain ⟨n, hn⟩ := (RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.standardRealCharacter_eq_one_iff (1 / 2)).mp h |
| 149 | have hpos : (0 : ℤ) < n := by exact_mod_cast (show (0 : ℝ) < (n : ℝ) by rw [hn]; norm_num) |
| 150 | have hlt : n < (1 : ℤ) := by exact_mod_cast (show (n : ℝ) < 1 by rw [hn]; norm_num) |
| 151 | omega |
| 152 | |
| 153 | end |
| 154 | |
| 155 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.FieldAdelicCharacter.CM |