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.HeckeCycles.NumberField.FiniteCharacter |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ArchimedeanTrace |
| 3 | |
| 4 | /-! # Adelic Character -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.NumberField.AdelicCharacter.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! An actual continuous unitary character of the number-field adeles, |
| 11 | trivial on the principal field and nontrivial globally. -/ |
| 12 | |
| 13 | open scoped Classical _root_.NumberField |
| 14 | open _root_.NumberField |
| 15 | variable (F : Type) [Field F] [NumberField F] |
| 16 | |
| 17 | def character : AddChar (RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.Adeles F) ℂ where |
| 18 | toFun x := RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.standardRealCharacter (ArchimedeanTrace.CM.trace F x.1) * |
| 19 | FiniteCharacter.CM.character F x.2 |
| 20 | map_zero_eq_one' := by |
| 21 | change RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.standardRealCharacter (ArchimedeanTrace.CM.trace F 0) * FiniteCharacter.CM.character F 0 = 1 |
| 22 | rw [map_zero, AddChar.map_zero_eq_one, AddChar.map_zero_eq_one, one_mul] |
| 23 | map_add_eq_mul' x y := by |
| 24 | change RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.standardRealCharacter (ArchimedeanTrace.CM.trace F (x.1 + y.1)) * |
| 25 | FiniteCharacter.CM.character F (x.2 + y.2) = _ |
| 26 | rw [map_add, AddChar.map_add_eq_mul, AddChar.map_add_eq_mul] |
| 27 | ring |
| 28 | |
| 29 | theorem character_apply (x : RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.Adeles F) : character F x = |
| 30 | RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.standardRealCharacter (ArchimedeanTrace.CM.trace F x.1) * FiniteCharacter.CM.character F x.2 := rfl |
| 31 | |
| 32 | theorem character_continuous : Continuous (character F : RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.Adeles F → ℂ) := by |
| 33 | have hr : Continuous (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.standardRealCharacter : ℝ → ℂ) := |
| 34 | continuous_subtype_val.comp Real.continuous_fourierChar |
| 35 | exact (hr.comp ((ArchimedeanTrace.CM.trace_continuous F).comp continuous_fst)).mul |
| 36 | ((FiniteCharacter.CM.character_continuous F).comp continuous_snd) |
| 37 | |
| 38 | theorem character_unitary (x : RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.Adeles F) : ‖character F x‖ = 1 := by |
| 39 | rw [character_apply, norm_mul, RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.standardRealCharacter_unitary, |
| 40 | FiniteCharacter.CM.character_unitary, one_mul] |
| 41 | |
| 42 | theorem character_rational (q : F) : character F (algebraMap F (RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.Adeles F) q) = 1 := by |
| 43 | change RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.standardRealCharacter (ArchimedeanTrace.CM.trace F (algebraMap F (InfiniteAdeleRing F) q)) * |
| 44 | FiniteCharacter.CM.character F (algebraMap F (RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.FiniteAdeles F) q) = 1 |
| 45 | rw [ArchimedeanTrace.CM.trace_rational, FiniteCharacter.CM.character_rational, |
| 46 | ← AddChar.map_add_eq_mul, add_neg_cancel, AddChar.map_zero_eq_one] |
| 47 | |
| 48 | theorem mixed_character (x : mixedEmbedding.mixedSpace F) : |
| 49 | character F ((InfiniteAdeleRing.ringEquiv_mixedSpace F).symm x, 0) = |
| 50 | RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.standardRealCharacter (ArchimedeanTrace.CM.mixedTrace F x) := by |
| 51 | change RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.standardRealCharacter (ArchimedeanTrace.CM.trace F |
| 52 | ((InfiniteAdeleRing.ringEquiv_mixedSpace F).symm x)) * FiniteCharacter.CM.character F 0 = _ |
| 53 | rw [AddChar.map_zero_eq_one, mul_one] |
| 54 | change RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.standardRealCharacter (ArchimedeanTrace.CM.mixedTrace F |
| 55 | (InfiniteAdeleRing.ringEquiv_mixedSpace F ((InfiniteAdeleRing.ringEquiv_mixedSpace F).symm x))) = _ |
| 56 | rw [RingEquiv.apply_symm_apply] |
| 57 | |
| 58 | theorem trace_one : ArchimedeanTrace.CM.mixedTrace F (mixedEmbedding F 1) = (Module.finrank ℚ F : ℝ) := by |
| 59 | rw [ArchimedeanTrace.CM.mixedTrace_rational] |
| 60 | have ht : Algebra.trace ℚ F (1 : F) = (Module.finrank ℚ F : ℚ) := by |
| 61 | simpa using Algebra.trace_algebraMap (R := ℚ) (S := F) (1 : ℚ) |
| 62 | rw [ht, Rat.cast_natCast] |
| 63 | |
| 64 | theorem character_nontrivial : ∃ x : RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.Adeles F, character F x ≠ 1 := by |
| 65 | let n : ℝ := Module.finrank ℚ F |
| 66 | have hn : n ≠ 0 := by |
| 67 | change (Module.finrank ℚ F : ℝ) ≠ 0 |
| 68 | exact_mod_cast (Module.finrank_pos (R := ℚ) (M := F)).ne' |
| 69 | let y := (1 / (2 * n)) • mixedEmbedding F 1 |
| 70 | refine ⟨((InfiniteAdeleRing.ringEquiv_mixedSpace F).symm y, 0), ?_⟩ |
| 71 | rw [mixed_character] |
| 72 | have hy : ArchimedeanTrace.CM.mixedTrace F y = (1 / 2 : ℝ) := by |
| 73 | dsimp only [y] |
| 74 | rw [map_smul, trace_one] |
| 75 | change (1 / (2 * n)) * n = 1 / 2 |
| 76 | field_simp |
| 77 | rw [hy] |
| 78 | intro he |
| 79 | obtain ⟨m, hm⟩ := (RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.standardRealCharacter_eq_one_iff _).mp he |
| 80 | have hm0 : (0 : ℝ) < m := by linarith |
| 81 | have hm1 : (m : ℝ) < 1 := by linarith |
| 82 | have hz : (0 : ℤ) < m := by exact_mod_cast hm0 |
| 83 | have ho : m < (1 : ℤ) := by exact_mod_cast hm1 |
| 84 | omega |
| 85 | |
| 86 | end |
| 87 | |
| 88 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.NumberField.AdelicCharacter.CM |