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.ThetaTest |
| 2 | |
| 3 | /-! # Test Family Action -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Weil.AdelicSplitting |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! Action laws and exact scalar-product behavior for restricted test |
| 12 | families and their convergent theta sums. -/ |
| 13 | |
| 14 | open scoped Classical _root_.NumberField |
| 15 | |
| 16 | variable (F : Type) [Field F] [NumberField F] (N : ℕ) (ψ : AddChar (ArchimedeanAdeles.Construction.Adeles F) ℂ) |
| 17 | |
| 18 | @[ext] theorem RestrictedTestFamilies.Construction.RestrictedTestFamily.ext {f g : RestrictedTestFamilies.Construction.RestrictedTestFamily F N} |
| 19 | (h : ∀ v, f v = g v) : f = g := by |
| 20 | cases f |
| 21 | cases g |
| 22 | congr 1 |
| 23 | exact funext h |
| 24 | |
| 25 | theorem RestrictedTestFamilies.Construction.RestrictedTestFamily.act_one (f : RestrictedTestFamilies.Construction.RestrictedTestFamily F N) : f.act F N ψ 1 = f := by |
| 26 | apply RestrictedTestFamilies.Construction.RestrictedTestFamily.ext |
| 27 | intro v |
| 28 | change Oscillator.Construction.localOperator (ArchimedeanAdeles.Construction.Completion F v) N (Characters.Construction.localAdditiveCharacter F ψ v) 1 (f v) = f v |
| 29 | rw [map_one] |
| 30 | rfl |
| 31 | |
| 32 | theorem RestrictedTestFamilies.Construction.RestrictedTestFamily.act_mul (a b : Rational.Construction.RestrictedCover F N ψ) (f : RestrictedTestFamilies.Construction.RestrictedTestFamily F N) : |
| 33 | f.act F N ψ (a * b) = (f.act F N ψ b).act F N ψ a := by |
| 34 | apply RestrictedTestFamilies.Construction.RestrictedTestFamily.ext |
| 35 | intro v |
| 36 | change Oscillator.Construction.localOperator (ArchimedeanAdeles.Construction.Completion F v) N (Characters.Construction.localAdditiveCharacter F ψ v) (a v * b v) (f v) = _ |
| 37 | rw [map_mul] |
| 38 | rfl |
| 39 | |
| 40 | theorem RestrictedTestFamilies.Construction.RestrictedTestFamily.scalar_value (a : Rational.Construction.RestrictedCover F N ψ) (z : ArchimedeanAdeles.Construction.Places F → Circle) |
| 41 | (ha : ∀ v, a v = Vacuum.Construction.scalarAt F N ψ v (z v)) (c : ℂ) |
| 42 | (hc : HasProd (fun v => (z v : ℂ)) c) (f : RestrictedTestFamilies.Construction.RestrictedTestFamily F N) (x : Fin N → ArchimedeanAdeles.Construction.Adeles F) : |
| 43 | (f.act F N ψ a).value F N x = c * f.value F N x := by |
| 44 | apply ((f.act F N ψ a).localValue_hasProd F N x).unique |
| 45 | apply (hc.mul (f.localValue_hasProd F N x)).congr_fun |
| 46 | intro v |
| 47 | change (Oscillator.Construction.localOperator (ArchimedeanAdeles.Construction.Completion F v) N (Characters.Construction.localAdditiveCharacter F ψ v) (a v) (f v)).val _ = _ |
| 48 | rw [ha v] |
| 49 | rfl |
| 50 | |
| 51 | theorem RestrictedTestFamilies.Construction.RestrictedTestFamily.theta_scalar (a : Rational.Construction.RestrictedCover F N ψ) (z : ArchimedeanAdeles.Construction.Places F → Circle) |
| 52 | (ha : ∀ v, a v = Vacuum.Construction.scalarAt F N ψ v (z v)) (c : ℂ) |
| 53 | (hc : HasProd (fun v => (z v : ℂ)) c) (f : RestrictedTestFamilies.Construction.RestrictedTestFamily F N) : |
| 54 | (f.act F N ψ a).theta F N = c * f.theta F N := by |
| 55 | change (∑' q : Fin N → F, (f.act F N ψ a).value F N |
| 56 | (fun i => algebraMap F (ArchimedeanAdeles.Construction.Adeles F) (q i))) = _ |
| 57 | simp_rw [f.scalar_value F N ψ a z ha c hc] |
| 58 | exact tsum_mul_left |
| 59 | |
| 60 | def TestFamilyAction.Construction.thetaStabilizer : Subgroup (Rational.Construction.RestrictedCover F N ψ) where |
| 61 | carrier := {a | ∀ f : RestrictedTestFamilies.Construction.RestrictedTestFamily F N, (f.act F N ψ a).theta F N = f.theta F N} |
| 62 | one_mem' f := by rw [f.act_one F N ψ] |
| 63 | mul_mem' ha hb f := by rw [f.act_mul F N ψ, ha, hb] |
| 64 | inv_mem' {a} ha f := by |
| 65 | have h := ha (f.act F N ψ a⁻¹) |
| 66 | rw [← f.act_mul F N ψ, mul_inv_cancel, f.act_one F N ψ] at h |
| 67 | exact h.symm |
| 68 | |
| 69 | def TestFamilyAction.Construction.positiveThetaSubgroup : Subgroup (Rational.Construction.RestrictedCover F N ψ) where |
| 70 | carrier := {a | ∀ f : RestrictedTestFamilies.Construction.RestrictedTestFamily F N, |
| 71 | ∃ c : ℝ, 0 < c ∧ (f.act F N ψ a).theta F N = (c : ℂ) * f.theta F N} |
| 72 | one_mem' f := ⟨1, by norm_num, by rw [f.act_one F N ψ, Complex.ofReal_one, one_mul]⟩ |
| 73 | mul_mem' ha hb f := by |
| 74 | obtain ⟨d, hd, hdb⟩ := hb f |
| 75 | obtain ⟨c, hc, hca⟩ := ha (f.act F N ψ _) |
| 76 | exact ⟨c * d, mul_pos hc hd, by rw [f.act_mul F N ψ, hca, hdb, Complex.ofReal_mul, mul_assoc]⟩ |
| 77 | inv_mem' {a} ha f := by |
| 78 | obtain ⟨c, hc, h⟩ := ha (f.act F N ψ a⁻¹) |
| 79 | rw [← f.act_mul F N ψ, mul_inv_cancel, f.act_one F N ψ] at h |
| 80 | refine ⟨c⁻¹, inv_pos.mpr hc, ?_⟩ |
| 81 | rw [Complex.ofReal_inv, h, ← mul_assoc, inv_mul_cancel₀ (Complex.ofReal_ne_zero.mpr hc.ne'), one_mul] |
| 82 | |
| 83 | theorem TestFamilyAction.Construction.thetaStabilizer_le_positiveThetaSubgroup : |
| 84 | TestFamilyAction.Construction.thetaStabilizer F N ψ ≤ TestFamilyAction.Construction.positiveThetaSubgroup F N ψ := by |
| 85 | intro a ha f |
| 86 | exact ⟨1, by norm_num, by simpa only [Complex.ofReal_one, one_mul] using ha f⟩ |
| 87 | |
| 88 | end |
| 89 | |
| 90 | /-! Products of local scalar relations for actual restricted test families. -/ |
| 91 | |
| 92 | open scoped Classical _root_.NumberField |
| 93 | |
| 94 | variable (F : Type) [Field F] [NumberField F] (N : ℕ) |
| 95 | |
| 96 | theorem RestrictedTestFamilies.Construction.RestrictedTestFamily.value_of_local_scalars (f g : RestrictedTestFamilies.Construction.RestrictedTestFamily F N) |
| 97 | (z : ArchimedeanAdeles.Construction.Places F → ℂ) (c : ℂ) (hz : HasProd z c) |
| 98 | (hfg : ∀ v x, (f v).val x = z v * (g v).val x) (x : Fin N → ArchimedeanAdeles.Construction.Adeles F) : |
| 99 | f.value F N x = c * g.value F N x := by |
| 100 | apply (f.localValue_hasProd F N x).unique |
| 101 | exact (hz.mul (g.localValue_hasProd F N x)).congr_fun (fun v => hfg v _) |
| 102 | |
| 103 | theorem RestrictedTestFamilies.Construction.RestrictedTestFamily.theta_of_local_scalars (f g : RestrictedTestFamilies.Construction.RestrictedTestFamily F N) |
| 104 | (z : ArchimedeanAdeles.Construction.Places F → ℂ) (c : ℂ) (hz : HasProd z c) |
| 105 | (hfg : ∀ v x, (f v).val x = z v * (g v).val x) : |
| 106 | f.theta F N = c * g.theta F N := by |
| 107 | change (∑' q : Fin N → F, f.value F N (fun i => algebraMap F (ArchimedeanAdeles.Construction.Adeles F) (q i))) = _ |
| 108 | simp_rw [f.value_of_local_scalars F N g z c hz hfg] |
| 109 | exact tsum_mul_left |
| 110 | |
| 111 | end |
| 112 | |
| 113 | end OAI.RepresentationTheory.Weil.AdelicSplitting |