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.CMExtraction.Radial.Cyclicity |
| 2 | |
| 3 | /-! # Dilation -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Radial.Dilation |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! A scalar relation for an invertible operator extends to all integer |
| 12 | powers, including negative powers, without an invariant-kernel premise. -/ |
| 13 | |
| 14 | open scoped Classical |
| 15 | |
| 16 | theorem linear_map_zpow_relation |
| 17 | {V W : Type*} [AddCommGroup V] [Module ℂ V] [AddCommGroup W] [Module ℂ W] |
| 18 | (D : V ≃ₗ[ℂ] V) (Θ : V →ₗ[ℂ] W) (ω : ℂ) (hω : ω ≠ 0) |
| 19 | (h : ∀ b, Θ (D b) = ω • Θ b) (n : ℤ) (b : V) : |
| 20 | Θ ((D ^ n) b) = ω ^ n • Θ b := by |
| 21 | have hi (x : V) : Θ (D⁻¹ x) = ω⁻¹ • Θ x := by |
| 22 | have hx := congrArg (fun y : W => ω⁻¹ • y) (h (D⁻¹ x)) |
| 23 | have hc : D (D⁻¹ x) = x := by rw [← LinearEquiv.mul_apply, mul_inv_cancel]; rfl |
| 24 | simpa only [hc, smul_smul, inv_mul_cancel₀ hω, one_smul] using hx.symm |
| 25 | induction n using Int.induction_on with |
| 26 | | zero => simp |
| 27 | | succ n ih => |
| 28 | rw [show (n : ℤ) + 1 = 1 + (n : ℤ) by omega, zpow_one_add, LinearEquiv.mul_apply, |
| 29 | h, ih, smul_smul, zpow_one_add₀ hω] |
| 30 | | pred n ih => |
| 31 | have hp : D ^ (-(n : ℤ) - 1) = D⁻¹ * D ^ (-(n : ℤ)) := by |
| 32 | rw [← zpow_neg_one, ← zpow_add] |
| 33 | congr 1 |
| 34 | omega |
| 35 | rw [hp, LinearEquiv.mul_apply, hi, ih, smul_smul] |
| 36 | congr 1 |
| 37 | rw [zpow_sub_one₀ hω, mul_comm] |
| 38 | |
| 39 | end |
| 40 | |
| 41 | section |
| 42 | |
| 43 | /-! The actual RadialDilation dilation relation makes the theta image finite |
| 44 | dimensional: the first M integer-dilation translates span it. -/ |
| 45 | |
| 46 | open scoped Classical |
| 47 | open OAI.RepresentationTheory.Hecke.RadialDilation.Cm |
| 48 | |
| 49 | variable (q : ℕ) [Fact q.Prime] |
| 50 | |
| 51 | theorem dilationEquiv_pow_apply (M : ℕ) (b : RepresentationTheory.Hecke.RadialDilation.Cm.radialInput q) : |
| 52 | (Cyclicity.dilationEquiv q ^ M) b = (RepresentationTheory.Hecke.RadialDilation.Mem.Realization.dilation q ^ M) b := by |
| 53 | induction M generalizing b with |
| 54 | | zero => rfl |
| 55 | | succ M ih => |
| 56 | rw [pow_succ, LinearEquiv.mul_apply, pow_succ, Module.End.mul_apply, ih] |
| 57 | rfl |
| 58 | |
| 59 | theorem radial_image_integer_reduction |
| 60 | {W : Type*} [AddCommGroup W] [Module ℂ W] |
| 61 | (Θ : RepresentationTheory.Hecke.RadialDilation.Cm.radialInput q →ₗ[ℂ] W) (M : ℕ) (ω : ℂ) (hω : ω ≠ 0) |
| 62 | (hrelation : ∀ b, Θ ((RepresentationTheory.Hecke.RadialDilation.Mem.Realization.dilation q ^ M) b) = ω • Θ b) (n : ℤ) : |
| 63 | Θ ((Cyclicity.dilationEquiv q ^ n) (Cyclicity.ball q 0)) = |
| 64 | ω ^ (n / (M : ℤ)) • Θ ((Cyclicity.dilationEquiv q ^ (n % (M : ℤ))) (Cyclicity.ball q 0)) := by |
| 65 | have hblock (b : RepresentationTheory.Hecke.RadialDilation.Cm.radialInput q) : Θ ((Cyclicity.dilationEquiv q ^ M) b) = ω • Θ b := by |
| 66 | rw [dilationEquiv_pow_apply] |
| 67 | exact hrelation b |
| 68 | calc |
| 69 | _ = Θ (((Cyclicity.dilationEquiv q ^ M) ^ (n / (M : ℤ))) |
| 70 | ((Cyclicity.dilationEquiv q ^ (n % (M : ℤ))) (Cyclicity.ball q 0))) := by |
| 71 | congr 1 |
| 72 | rw [← LinearEquiv.mul_apply, ← zpow_natCast (Cyclicity.dilationEquiv q) M, |
| 73 | ← zpow_mul, ← zpow_add] |
| 74 | congr 2 |
| 75 | simpa only [add_comm] using (Int.emod_add_mul_ediv n (M : ℤ)).symm |
| 76 | _ = _ := linear_map_zpow_relation (Cyclicity.dilationEquiv q ^ M) Θ ω hω hblock _ _ |
| 77 | |
| 78 | theorem radial_image_finite_span |
| 79 | {W : Type*} [AddCommGroup W] [Module ℂ W] |
| 80 | (Θ : RepresentationTheory.Hecke.RadialDilation.Cm.radialInput q →ₗ[ℂ] W) (M : ℕ) (hM : 0 < M) (ω : ℂ) (hω : ω ≠ 0) |
| 81 | (hrelation : ∀ b, Θ ((RepresentationTheory.Hecke.RadialDilation.Mem.Realization.dilation q ^ M) b) = ω • Θ b) : |
| 82 | LinearMap.range Θ = Submodule.span ℂ |
| 83 | (Set.range (fun i : Fin M => Θ ((Cyclicity.dilationEquiv q ^ (i.val : ℤ)) (Cyclicity.ball q 0)))) := by |
| 84 | let S := Submodule.span ℂ |
| 85 | (Set.range (fun i : Fin M => Θ ((Cyclicity.dilationEquiv q ^ (i.val : ℤ)) (Cyclicity.ball q 0)))) |
| 86 | apply le_antisymm |
| 87 | · have hle : Submodule.span ℂ |
| 88 | (Set.range (fun n : ℤ => (Cyclicity.dilationEquiv q ^ n) (Cyclicity.ball q 0))) ≤ S.comap Θ := by |
| 89 | apply Submodule.span_le.mpr |
| 90 | rintro b ⟨n, rfl⟩ |
| 91 | change Θ ((Cyclicity.dilationEquiv q ^ n) (Cyclicity.ball q 0)) ∈ S |
| 92 | rw [radial_image_integer_reduction q Θ M ω hω hrelation] |
| 93 | apply S.smul_mem |
| 94 | have hpos : (0 : ℤ) < M := by exact_mod_cast hM |
| 95 | let i : Fin M := ⟨(n % (M : ℤ)).toNat, by |
| 96 | have hn := Int.emod_lt_of_pos n hpos |
| 97 | have hn0 := Int.emod_nonneg n hpos.ne' |
| 98 | omega⟩ |
| 99 | have hi : (i.val : ℤ) = n % (M : ℤ) := by |
| 100 | exact Int.toNat_of_nonneg (Int.emod_nonneg n hpos.ne') |
| 101 | exact Submodule.subset_span ⟨i, |
| 102 | congrArg (fun k : ℤ => Θ ((Cyclicity.dilationEquiv q ^ k) (Cyclicity.ball q 0))) hi⟩ |
| 103 | rw [Cyclicity.radial_cyclic] at hle |
| 104 | rintro y ⟨b, rfl⟩ |
| 105 | exact hle (Submodule.mem_top : b ∈ (⊤ : Submodule ℂ (RepresentationTheory.Hecke.RadialDilation.Cm.radialInput q))) |
| 106 | · apply Submodule.span_le.mpr |
| 107 | rintro y ⟨i, rfl⟩ |
| 108 | exact ⟨_, rfl⟩ |
| 109 | |
| 110 | theorem radial_image_finiteDimensional |
| 111 | {W : Type*} [AddCommGroup W] [Module ℂ W] |
| 112 | (Θ : RepresentationTheory.Hecke.RadialDilation.Cm.radialInput q →ₗ[ℂ] W) (M : ℕ) (hM : 0 < M) (ω : ℂ) (hω : ω ≠ 0) |
| 113 | (hrelation : ∀ b, Θ ((RepresentationTheory.Hecke.RadialDilation.Mem.Realization.dilation q ^ M) b) = ω • Θ b) : |
| 114 | FiniteDimensional ℂ (LinearMap.range Θ) := by |
| 115 | rw [radial_image_finite_span q Θ M hM ω hω hrelation] |
| 116 | exact FiniteDimensional.span_of_finite ℂ (Set.finite_range _) |
| 117 | |
| 118 | end |
| 119 | |
| 120 | /-! The finite dilation quotient is formed from the actual operator |
| 121 | relation. Every theta map satisfying RadialDilation factors through it. -/ |
| 122 | |
| 123 | open scoped Classical |
| 124 | open OAI.RepresentationTheory.Hecke.RadialDilation.Cm |
| 125 | |
| 126 | variable (q : ℕ) [Fact q.Prime] (M : ℕ) (ω : ℂ) |
| 127 | |
| 128 | def dilationRelation : Module.End ℂ (RepresentationTheory.Hecke.RadialDilation.Cm.radialInput q) := RepresentationTheory.Hecke.RadialDilation.Mem.Realization.dilation q ^ M - ω • 1 |
| 129 | |
| 130 | def dilationRelationSpace : Submodule ℂ (RepresentationTheory.Hecke.RadialDilation.Cm.radialInput q) := LinearMap.range (dilationRelation q M ω) |
| 131 | |
| 132 | abbrev RadialQuotient := RepresentationTheory.Hecke.RadialDilation.Cm.radialInput q ⧸ dilationRelationSpace q M ω |
| 133 | |
| 134 | def radialQuotientMap : RepresentationTheory.Hecke.RadialDilation.Cm.radialInput q →ₗ[ℂ] RadialQuotient q M ω := |
| 135 | (dilationRelationSpace q M ω).mkQ |
| 136 | |
| 137 | theorem radialQuotientMap_relation (b : RepresentationTheory.Hecke.RadialDilation.Cm.radialInput q) : |
| 138 | radialQuotientMap q M ω ((RepresentationTheory.Hecke.RadialDilation.Mem.Realization.dilation q ^ M) b) = ω • radialQuotientMap q M ω b := by |
| 139 | have hzero : radialQuotientMap q M ω (dilationRelation q M ω b) = 0 := by |
| 140 | apply LinearMap.mem_ker.mp |
| 141 | change dilationRelation q M ω b ∈ LinearMap.ker (dilationRelationSpace q M ω).mkQ |
| 142 | rw [Submodule.ker_mkQ] |
| 143 | exact ⟨b, rfl⟩ |
| 144 | change radialQuotientMap q M ω ((RepresentationTheory.Hecke.RadialDilation.Mem.Realization.dilation q ^ M) b - ω • b) = 0 at hzero |
| 145 | rw [map_sub, map_smul] at hzero |
| 146 | exact sub_eq_zero.mp hzero |
| 147 | |
| 148 | theorem radialQuotient_finiteDimensional (hM : 0 < M) (hω : ω ≠ 0) : |
| 149 | FiniteDimensional ℂ (RadialQuotient q M ω) := by |
| 150 | let := radial_image_finiteDimensional q (radialQuotientMap q M ω) M hM ω hω |
| 151 | (radialQuotientMap_relation q M ω) |
| 152 | apply Module.Finite.of_surjective (LinearMap.range (radialQuotientMap q M ω)).subtype |
| 153 | intro x |
| 154 | obtain ⟨b, hb⟩ := (dilationRelationSpace q M ω).mkQ_surjective x |
| 155 | exact ⟨⟨x, ⟨b, hb⟩⟩, rfl⟩ |
| 156 | |
| 157 | theorem dilationRelationSpace_le_ker |
| 158 | {W : Type*} [AddCommGroup W] [Module ℂ W] |
| 159 | (Θ : RepresentationTheory.Hecke.RadialDilation.Cm.radialInput q →ₗ[ℂ] W) |
| 160 | (hrelation : ∀ b, Θ ((RepresentationTheory.Hecke.RadialDilation.Mem.Realization.dilation q ^ M) b) = ω • Θ b) : |
| 161 | dilationRelationSpace q M ω ≤ LinearMap.ker Θ := by |
| 162 | rintro x ⟨b, rfl⟩ |
| 163 | change Θ ((RepresentationTheory.Hecke.RadialDilation.Mem.Realization.dilation q ^ M) b - ω • b) = 0 |
| 164 | rw [map_sub, map_smul, hrelation, sub_self] |
| 165 | |
| 166 | def radialQuotientLift |
| 167 | {W : Type*} [AddCommGroup W] [Module ℂ W] |
| 168 | (Θ : RepresentationTheory.Hecke.RadialDilation.Cm.radialInput q →ₗ[ℂ] W) |
| 169 | (hrelation : ∀ b, Θ ((RepresentationTheory.Hecke.RadialDilation.Mem.Realization.dilation q ^ M) b) = ω • Θ b) : |
| 170 | RadialQuotient q M ω →ₗ[ℂ] W := |
| 171 | (dilationRelationSpace q M ω).liftQ Θ (dilationRelationSpace_le_ker q M ω Θ hrelation) |
| 172 | |
| 173 | theorem radialQuotientLift_comp |
| 174 | {W : Type*} [AddCommGroup W] [Module ℂ W] |
| 175 | (Θ : RepresentationTheory.Hecke.RadialDilation.Cm.radialInput q →ₗ[ℂ] W) |
| 176 | (hrelation : ∀ b, Θ ((RepresentationTheory.Hecke.RadialDilation.Mem.Realization.dilation q ^ M) b) = ω • Θ b) : |
| 177 | (radialQuotientLift q M ω Θ hrelation).comp (radialQuotientMap q M ω) = Θ := |
| 178 | Submodule.liftQ_mkQ _ _ _ |
| 179 | |
| 180 | end |
| 181 | |
| 182 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Radial.Dilation |