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.Geometric.AutomorphySections |
| 2 | import Mathlib.GroupTheory.QuotientGroup.Basic |
| 3 | |
| 4 | /-! # Automorphy Trace -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Theta.Geometric |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Finite lattice traces descend sections from an intermediate period cover. -/ |
| 13 | |
| 14 | open scoped BigOperators ContDiff |
| 15 | |
| 16 | variable {Φ : Torus.Data.CM.ProjectivePeriodData} (J : Φ.AutomorphyFactor) |
| 17 | |
| 18 | theorem Torus.Data.CM.ProjectivePeriodData.AutomorphyFactor.value_ne_zero (l : Φ.periodIntegerLattice) (z : Φ.space) : J.value l z ≠ 0 := by |
| 19 | have h := J.add (-l) l z |
| 20 | rw [neg_add_cancel, J.zero] at h |
| 21 | intro hz |
| 22 | rw [hz, mul_zero] at h |
| 23 | exact one_ne_zero h |
| 24 | |
| 25 | def Torus.Data.CM.ProjectivePeriodData.AutomorphyFactor.translateSection (l : Φ.periodIntegerLattice) (t : Φ.space → ℂ) (z : Φ.space) : ℂ := |
| 26 | t (z + l.val) / J.value l z |
| 27 | |
| 28 | theorem Torus.Data.CM.ProjectivePeriodData.AutomorphyFactor.translateSection_zero (t : Φ.space → ℂ) : J.translateSection 0 t = t := by |
| 29 | funext z |
| 30 | simp only [Torus.Data.CM.ProjectivePeriodData.AutomorphyFactor.translateSection, ZeroMemClass.coe_zero, add_zero, J.zero, div_one] |
| 31 | |
| 32 | theorem Torus.Data.CM.ProjectivePeriodData.AutomorphyFactor.translateSection_add (l m : Φ.periodIntegerLattice) (t : Φ.space → ℂ) : |
| 33 | J.translateSection (l + m) t = J.translateSection l (J.translateSection m t) := by |
| 34 | funext z |
| 35 | change t (z + (l.val + m.val)) / J.value (l + m) z = |
| 36 | (t ((z + l.val) + m.val) / J.value m (z + l.val)) / J.value l z |
| 37 | rw [add_comm l m, J.add, div_div, add_assoc] |
| 38 | |
| 39 | theorem Torus.Data.CM.ProjectivePeriodData.AutomorphyFactor.translateSection_eq_of_sub_mem (Γ : AddSubgroup Φ.periodIntegerLattice) |
| 40 | (t : Φ.space → ℂ) (ht : ∀ l ∈ Γ, J.translateSection l t = t) |
| 41 | (l m : Φ.periodIntegerLattice) (hlm : l - m ∈ Γ) : |
| 42 | J.translateSection l t = J.translateSection m t := by |
| 43 | have he : m + (l - m) = l := by abel |
| 44 | rw [← he, J.translateSection_add, ht (l - m) hlm] |
| 45 | |
| 46 | def Torus.Data.CM.ProjectivePeriodData.AutomorphyFactor.cosetSection (Γ : AddSubgroup Φ.periodIntegerLattice) (t : Φ.space → ℂ) |
| 47 | (ht : ∀ l ∈ Γ, J.translateSection l t = t) : |
| 48 | Φ.periodIntegerLattice ⧸ Γ → Φ.space → ℂ := |
| 49 | Quotient.lift (fun l => J.translateSection l t) (by |
| 50 | intro l m h |
| 51 | exact J.translateSection_eq_of_sub_mem Γ t ht l m |
| 52 | (QuotientAddGroup.eq_iff_sub_mem.mp (Quotient.sound h))) |
| 53 | |
| 54 | @[simp] |
| 55 | theorem Torus.Data.CM.ProjectivePeriodData.AutomorphyFactor.cosetSection_mk (Γ : AddSubgroup Φ.periodIntegerLattice) (t : Φ.space → ℂ) |
| 56 | (ht : ∀ l ∈ Γ, J.translateSection l t = t) (l : Φ.periodIntegerLattice) : |
| 57 | J.cosetSection Γ t ht (QuotientAddGroup.mk l) = J.translateSection l t := rfl |
| 58 | |
| 59 | def Torus.Data.CM.ProjectivePeriodData.AutomorphyFactor.finiteTrace (Γ : AddSubgroup Φ.periodIntegerLattice) [Fintype (Φ.periodIntegerLattice ⧸ Γ)] |
| 60 | (t : Φ.space → ℂ) (ht : ∀ l ∈ Γ, J.translateSection l t = t) (z : Φ.space) : ℂ := |
| 61 | ∑ c : Φ.periodIntegerLattice ⧸ Γ, J.cosetSection Γ t ht c z |
| 62 | |
| 63 | theorem Torus.Data.CM.ProjectivePeriodData.AutomorphyFactor.finiteTrace_translates (Γ : AddSubgroup Φ.periodIntegerLattice) |
| 64 | [Fintype (Φ.periodIntegerLattice ⧸ Γ)] (t : Φ.space → ℂ) |
| 65 | (ht : ∀ l ∈ Γ, J.translateSection l t = t) |
| 66 | (l : Φ.periodIntegerLattice) (z : Φ.space) : |
| 67 | J.finiteTrace Γ t ht (z + l.val) = J.value l z * J.finiteTrace Γ t ht z := by |
| 68 | have hshift (c : Φ.periodIntegerLattice ⧸ Γ) : |
| 69 | J.cosetSection Γ t ht c (z + l.val) = |
| 70 | J.value l z * J.cosetSection Γ t ht (QuotientAddGroup.mk l + c) z := by |
| 71 | obtain ⟨m, rfl⟩ := QuotientAddGroup.mk_surjective c |
| 72 | rw [← QuotientAddGroup.mk_add, J.cosetSection_mk, J.cosetSection_mk, |
| 73 | J.translateSection_add] |
| 74 | simp only [Torus.Data.CM.ProjectivePeriodData.AutomorphyFactor.translateSection] |
| 75 | field_simp [J.value_ne_zero l z] |
| 76 | simp_rw [Torus.Data.CM.ProjectivePeriodData.AutomorphyFactor.finiteTrace, hshift] |
| 77 | rw [← Finset.mul_sum] |
| 78 | congr 1 |
| 79 | exact Equiv.sum_comp (Equiv.addLeft (QuotientAddGroup.mk l : Φ.periodIntegerLattice ⧸ Γ)) |
| 80 | (fun c => J.cosetSection Γ t ht c z) |
| 81 | |
| 82 | theorem Torus.Data.CM.ProjectivePeriodData.AutomorphyFactor.translateSection_contDiff (hJ : ∀ l, ContDiff ℂ ∞ (J.value l)) |
| 83 | (l : Φ.periodIntegerLattice) (t : Φ.space → ℂ) (ht : ContDiff ℂ ∞ t) : |
| 84 | ContDiff ℂ ∞ (J.translateSection l t) := |
| 85 | (ht.comp (contDiff_id.add contDiff_const)).div (hJ l) (J.value_ne_zero l) |
| 86 | |
| 87 | theorem Torus.Data.CM.ProjectivePeriodData.AutomorphyFactor.finiteTrace_contDiff (hJ : ∀ l, ContDiff ℂ ∞ (J.value l)) |
| 88 | (Γ : AddSubgroup Φ.periodIntegerLattice) [Fintype (Φ.periodIntegerLattice ⧸ Γ)] |
| 89 | (t : Φ.space → ℂ) (ht : ∀ l ∈ Γ, J.translateSection l t = t) |
| 90 | (hreg : ContDiff ℂ ∞ t) : ContDiff ℂ ∞ (J.finiteTrace Γ t ht) := by |
| 91 | apply ContDiff.sum |
| 92 | intro c _ |
| 93 | obtain ⟨l, rfl⟩ := QuotientAddGroup.mk_surjective c |
| 94 | exact J.translateSection_contDiff hJ l t hreg |
| 95 | |
| 96 | theorem Torus.Data.CM.ProjectivePeriodData.AutomorphyFactor.finiteTrace_eq_of_vanish (Γ : AddSubgroup Φ.periodIntegerLattice) |
| 97 | [Fintype (Φ.periodIntegerLattice ⧸ Γ)] (t : Φ.space → ℂ) |
| 98 | (ht : ∀ l ∈ Γ, J.translateSection l t = t) (z : Φ.space) |
| 99 | (hvanish : ∀ l : Φ.periodIntegerLattice, |
| 100 | (QuotientAddGroup.mk l : Φ.periodIntegerLattice ⧸ Γ) ≠ 0 → t (z + l.val) = 0) : |
| 101 | J.finiteTrace Γ t ht z = t z := by |
| 102 | classical |
| 103 | unfold Torus.Data.CM.ProjectivePeriodData.AutomorphyFactor.finiteTrace |
| 104 | rw [Finset.sum_eq_single (0 : Φ.periodIntegerLattice ⧸ Γ)] |
| 105 | · change J.translateSection 0 t z = t z |
| 106 | rw [J.translateSection_zero] |
| 107 | · intro c _ hc |
| 108 | obtain ⟨l, rfl⟩ := QuotientAddGroup.mk_surjective c |
| 109 | change t (z + l.val) / J.value l z = 0 |
| 110 | rw [hvanish l hc, zero_div] |
| 111 | · intro h |
| 112 | exact False.elim (h (Finset.mem_univ _)) |
| 113 | |
| 114 | end |
| 115 | |
| 116 | /-! Compactness turns pointwise automorphic generators into one finite family. -/ |
| 117 | |
| 118 | open scoped ContDiff |
| 119 | |
| 120 | variable {Φ : Torus.Data.CM.ProjectivePeriodData} (J : Φ.AutomorphyFactor) |
| 121 | |
| 122 | theorem Torus.Data.CM.ProjectivePeriodData.AutomorphyFactor.nonzero_of_same_period (t : Φ.space → ℂ) |
| 123 | (ht : ∀ (l : Φ.periodIntegerLattice) z, t (z + l.val) = J.value l z * t z) |
| 124 | (p q : Φ.space) (hp : t p ≠ 0) |
| 125 | (hpq : (QuotientAddGroup.mk p : Φ.periodTorus) = QuotientAddGroup.mk q) : t q ≠ 0 := by |
| 126 | let l : Φ.periodIntegerLattice := ⟨q - p, QuotientAddGroup.eq_iff_sub_mem.mp hpq.symm⟩ |
| 127 | have h := ht l p |
| 128 | have harg : p + l.val = q := by dsimp [l]; abel |
| 129 | rw [harg] at h |
| 130 | rw [h] |
| 131 | exact mul_ne_zero (J.value_ne_zero l p) hp |
| 132 | |
| 133 | theorem Torus.Data.CM.ProjectivePeriodData.AutomorphyFactor.exists_finite_generators |
| 134 | (h : ∀ p : Φ.space, ∃ t : Φ.space → ℂ, ContDiff ℂ ∞ t ∧ t p ≠ 0 ∧ |
| 135 | ∀ (l : Φ.periodIntegerLattice) z, t (z + l.val) = J.value l z * t z) : |
| 136 | ∃ F : Finset (Φ.space → ℂ), |
| 137 | (∀ t ∈ F, ContDiff ℂ ∞ t) ∧ |
| 138 | (∀ t ∈ F, ∀ (l : Φ.periodIntegerLattice) z, t (z + l.val) = J.value l z * t z) ∧ |
| 139 | ∀ p : Φ.space, ∃ t ∈ F, t p ≠ 0 := by |
| 140 | classical |
| 141 | choose t hreg hnonzero htrans using h |
| 142 | let U (p : Φ.space) : Set Φ.periodTorus := QuotientAddGroup.mk '' {z | t p z ≠ 0} |
| 143 | have hU (p) : IsOpen (U p) := QuotientAddGroup.isOpenMap_coe _ |
| 144 | (isOpen_ne_fun (hreg p).continuous continuous_const) |
| 145 | have hcover : (Set.univ : Set Φ.periodTorus) ⊆ ⋃ p, U p := by |
| 146 | intro q _ |
| 147 | obtain ⟨p, rfl⟩ := QuotientAddGroup.mk_surjective q |
| 148 | exact Set.mem_iUnion.mpr ⟨p, p, hnonzero p, rfl⟩ |
| 149 | obtain ⟨S, hS⟩ := isCompact_univ.elim_finite_subcover U hU hcover |
| 150 | refine ⟨S.image t, ?_, ?_, ?_⟩ |
| 151 | · intro a ha |
| 152 | obtain ⟨p, _, rfl⟩ := Finset.mem_image.mp ha |
| 153 | exact hreg p |
| 154 | · intro a ha |
| 155 | obtain ⟨p, _, rfl⟩ := Finset.mem_image.mp ha |
| 156 | exact htrans p |
| 157 | · intro p |
| 158 | obtain ⟨a, ha, z, hz, he⟩ := Set.mem_iUnion₂.mp (hS (Set.mem_univ (QuotientAddGroup.mk p))) |
| 159 | exact ⟨t a, Finset.mem_image.mpr ⟨a, ha, rfl⟩, |
| 160 | J.nonzero_of_same_period (t a) (htrans a) z p hz he⟩ |
| 161 | |
| 162 | end |
| 163 | |
| 164 | end OAI.RepresentationTheory.Theta.Geometric |