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.PrincipalColumnDecomposition |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.PrincipalLocalIntegrality |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.RestrictedIntegralNeighborhoods |
| 4 | |
| 5 | /-! # Principal Finite Level -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.PrincipalFiniteLevel.CM |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! ThetaCycle: the actual principal congruence tower of the specified ball |
| 12 | lattice is cofinal in the native finite special-unitary topology. -/ |
| 13 | |
| 14 | open scoped Classical _root_.NumberField _root_.Topology |
| 15 | open _root_.NumberField OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM |
| 16 | open OAI.RepresentationTheory.Theta.Adelic.RationalSU OAI.RepresentationTheory.Theta.Adelic.SpecialUnitary |
| 17 | open OAI.RepresentationTheory.Theta.Adelic.IntegralTopology OAI.RepresentationTheory.Theta.Adelic.FiniteSchwartz |
| 18 | |
| 19 | theorem integer_algebra_map_value {R : Type*} [Ring R] [Algebra ℤ R] (n : ℤ) : |
| 20 | algebraMap ℤ R n = (n : R) := map_intCast _ n |
| 21 | |
| 22 | theorem local_integer_coefficient_factor (F : Type) [Field F] [NumberField F] |
| 23 | (v : RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.Places F) (a n c : ℤ) (x : F) : |
| 24 | algebraMap ℤ (RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.Completion F v) (a * (n * c)) * RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.rationalScalar F v x = |
| 25 | algebraMap ℤ (RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.Completion F v) n * RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.rationalScalar F v ((a * c) • x) := by |
| 26 | have hc (k : ℤ) : algebraMap ℤ (RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.Completion F v) k = (k : RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.Completion F v) := map_intCast _ k |
| 27 | rw [map_zsmul] |
| 28 | simp only [hc, zsmul_eq_mul, Int.cast_mul] |
| 29 | ring |
| 30 | |
| 31 | theorem finite_su_integral_neighborhood (F : Type) [Field F] [NumberField F] |
| 32 | {d : F} {r : ℕ} (H : (Matrix (Fin r) (Fin r) (RepresentationTheory.Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ) |
| 33 | (L : OpenSubgroup (RepresentationTheory.Theta.Adelic.FiniteSchwartz.FiniteSU F H)) : |
| 34 | ∃ (J : Finset (RepresentationTheory.Theta.Adelic.FiniteSchwartz.FinitePlace F)) |
| 35 | (V : ∀ v : RepresentationTheory.Theta.Adelic.FiniteSchwartz.FinitePlace F, Set (RepresentationTheory.Theta.Adelic.SpecialUnitary.SU (RepresentationTheory.Weil.AdelicSplitting.Integral.Construction.localizedForm F H.val (.inr v)))), |
| 36 | (∀ v, V v ∈ 𝓝 1) ∧ ∀ g : RepresentationTheory.Theta.Adelic.FiniteSchwartz.FiniteSU F H, |
| 37 | (∀ v, g v ∈ RepresentationTheory.Theta.Adelic.IntegralTopology.localSUIntegral F H.val (.inr v)) → |
| 38 | (∀ v ∈ J, g v ∈ V v) → g ∈ L := |
| 39 | RestrictedIntegralNeighborhoods.CM.restricted_integral_neighborhood |
| 40 | (G := fun v : RepresentationTheory.Theta.Adelic.FiniteSchwartz.FinitePlace F => RepresentationTheory.Theta.Adelic.SpecialUnitary.SU (RepresentationTheory.Weil.AdelicSplitting.Integral.Construction.localizedForm F H.val (.inr v))) |
| 41 | (fun v => RepresentationTheory.Theta.Adelic.IntegralTopology.localSUIntegral F H.val (.inr v)) |
| 42 | (L : Set (RepresentationTheory.Theta.Adelic.FiniteSchwartz.FiniteSU F H)) (L.isOpen.mem_nhds L.one_mem) |
| 43 | |
| 44 | def FiniteSUIntegerControl (F : Type) [Field F] [NumberField F] |
| 45 | {d : F} {r : ℕ} (H : (Matrix (Fin r) (Fin r) (RepresentationTheory.Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ) |
| 46 | (L : OpenSubgroup (RepresentationTheory.Theta.Adelic.FiniteSchwartz.FiniteSU F H)) : Prop := |
| 47 | ∃ (J : Finset (RepresentationTheory.Theta.Adelic.FiniteSchwartz.FinitePlace F)) |
| 48 | (n : RepresentationTheory.Theta.Adelic.FiniteSchwartz.FinitePlace F → ℤ), (∀ v, n v ≠ 0) ∧ |
| 49 | ∀ g : RepresentationTheory.Theta.Adelic.FiniteSchwartz.FiniteSU F H, (∀ v, g v ∈ RepresentationTheory.Theta.Adelic.IntegralTopology.localSUIntegral F H.val (.inr v)) → |
| 50 | (∀ v ∈ J, ∃ A : Fin 2 × Fin r × Fin r × Fin 2 → RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.Completion F (.inr v), |
| 51 | (∀ i, A i ∈ v.adicCompletionIntegers F) ∧ |
| 52 | ((g v).val.val - 1, ((g v)⁻¹).val.val - 1) = |
| 53 | LocalUnitaryNeighborhoods.CM.quadraticMatrixPair (RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.rationalScalar F (.inr v) d) |
| 54 | (fun i => algebraMap ℤ (RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.Completion F (.inr v)) (n v) * A i)) → g ∈ L |
| 55 | |
| 56 | theorem finite_su_integer_control (F : Type) [Field F] [NumberField F] |
| 57 | {d : F} {r : ℕ} (H : (Matrix (Fin r) (Fin r) (RepresentationTheory.Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ) |
| 58 | (L : OpenSubgroup (RepresentationTheory.Theta.Adelic.FiniteSchwartz.FiniteSU F H)) : FiniteSUIntegerControl F H L := by |
| 59 | unfold FiniteSUIntegerControl |
| 60 | obtain ⟨J, V, hV, hsub⟩ := finite_su_integral_neighborhood F H L |
| 61 | have hn (v : RepresentationTheory.Theta.Adelic.FiniteSchwartz.FinitePlace F) := LocalUnitaryNeighborhoods.CM.local_unitary_integer_neighborhood F v |
| 62 | (RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.rationalScalar F (.inr v) d) (RepresentationTheory.Theta.Adelic.SpecialUnitary.specialUnitary (RepresentationTheory.Weil.AdelicSplitting.Integral.Construction.localizedForm F H.val (.inr v))) (V v) (hV v) |
| 63 | choose n hn0 hlocal using hn |
| 64 | refine ⟨J, n, hn0, ?_⟩ |
| 65 | intro g hg hcoeff |
| 66 | apply hsub g hg |
| 67 | intro v hv |
| 68 | obtain ⟨A, hA, he⟩ := hcoeff v hv |
| 69 | exact hlocal v A hA (g v) he |
| 70 | |
| 71 | variable (K : IntermediateField ℚ ℂ) [NumberField K] [NumberField.IsCMField K] |
| 72 | (δ : K) (hδ : IsCMField.complexConj K δ = -δ) (hδ0 : δ ≠ 0) |
| 73 | |
| 74 | def nativeBallHermitianUnit (B : HeckeCycles.GeometricSource.CM.BallDatum K) : |
| 75 | (Matrix (Fin 3) (Fin 3) (RepresentationTheory.Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic (maximalRealSubfield K) (QuadraticModel.CM.cmQuadraticParameter K δ hδ)))ˣ := |
| 76 | CMGlobalFrames.CM.cmHermitianUnit K δ hδ B.b B.conjugate_b |
| 77 | (fun hb => (ne_of_lt B.negative) (by simp [hb])) |
| 78 | |
| 79 | theorem ball_finite_integer_control (B : HeckeCycles.GeometricSource.CM.BallDatum K) |
| 80 | (L : OpenSubgroup (RepresentationTheory.Theta.Adelic.FiniteSchwartz.FiniteSU (maximalRealSubfield K) (nativeBallHermitianUnit K δ hδ B))) : |
| 81 | FiniteSUIntegerControl (maximalRealSubfield K) (nativeBallHermitianUnit K δ hδ B) L := |
| 82 | finite_su_integer_control (maximalRealSubfield K) |
| 83 | (d := QuadraticModel.CM.cmQuadraticParameter K δ hδ) (r := 3) (nativeBallHermitianUnit K δ hδ B) L |
| 84 | |
| 85 | theorem lattice_columns_satisfy_local_control (B : HeckeCycles.GeometricSource.CM.BallDatum K) (N : ℕ) |
| 86 | (g : HeckeCycles.GeometricSource.CM.Vec K ≃ₗ[K] HeckeCycles.GeometricSource.CM.Vec K) (hg : B.principalLevel N g) |
| 87 | (J : Finset (RepresentationTheory.Theta.Adelic.FiniteSchwartz.FinitePlace (maximalRealSubfield K))) |
| 88 | (n : RepresentationTheory.Theta.Adelic.FiniteSchwartz.FinitePlace (maximalRealSubfield K) → ℤ) |
| 89 | (a : ℤ) (Y : Fin 2 → Fin 3 → HeckeCycles.GeometricSource.CM.Vec K) (hY : ∀ s j, Y s j ∈ B.lattice) |
| 90 | (ha : ∀ x ∈ B.lattice, ∀ (s : Fin 2) (i : Fin 3), |
| 91 | IsIntegral ℤ (a • QuadraticCoefficientMaps.CM.cmQuadraticCoefficient K δ hδ hδ0 s (x i))) |
| 92 | (hcol : ∀ s j, LocalColumnCoordinates.CM.ballColumnDifferences K g s j = (a * ∏ v ∈ J, n v) • Y s j) : |
| 93 | ∀ v ∈ J, |
| 94 | let q := RepresentationTheory.Theta.Adelic.RationalSU.rationalLocalSU (maximalRealSubfield K) (nativeBallHermitianUnit K δ hδ B) (.inr v) |
| 95 | (RationalBallUnitary.CM.rationalBallSU K δ hδ hδ0 B N g hg) |
| 96 | ∃ A : Fin 2 × Fin 3 × Fin 3 × Fin 2 → RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.Completion (maximalRealSubfield K) (.inr v), |
| 97 | (∀ i, A i ∈ v.adicCompletionIntegers (maximalRealSubfield K)) ∧ |
| 98 | (q.val.val - 1, (q⁻¹).val.val - 1) = |
| 99 | LocalUnitaryNeighborhoods.CM.quadraticMatrixPair (RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.rationalScalar (maximalRealSubfield K) (.inr v) (QuadraticModel.CM.cmQuadraticParameter K δ hδ)) |
| 100 | (fun i => algebraMap ℤ (RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.Completion (maximalRealSubfield K) (.inr v)) (n v) * A i) := by |
| 101 | let F : Type := maximalRealSubfield K |
| 102 | let m : ℤ := ∏ v ∈ J, n v |
| 103 | dsimp only |
| 104 | intro v hv |
| 105 | have hdiv : n v ∣ m := Finset.dvd_prod_of_mem n hv |
| 106 | obtain ⟨c, hc⟩ := hdiv |
| 107 | change m = n v * c at hc |
| 108 | let A : Fin 2 × Fin 3 × Fin 3 × Fin 2 → RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.Completion F (.inr v) := fun p => |
| 109 | RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.rationalScalar F (.inr v) |
| 110 | ((a * c) • QuadraticCoefficientMaps.CM.cmQuadraticCoefficient K δ hδ hδ0 p.2.2.2 (Y p.1 p.2.2.1 p.2.1)) |
| 111 | have hA (p : Fin 2 × Fin 3 × Fin 3 × Fin 2) : A p ∈ v.adicCompletionIntegers F := by |
| 112 | apply IntegralLocalCoefficients.CM.integral_scalar_at_every_finite_place F |
| 113 | rw [mul_smul, smul_comm a c] |
| 114 | exact (ha (Y p.1 p.2.2.1) (hY p.1 p.2.2.1) p.2.2.2 p.2.1).smul c |
| 115 | refine ⟨A, hA, ?_⟩ |
| 116 | calc |
| 117 | _ = LocalUnitaryNeighborhoods.CM.quadraticMatrixPair (RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.rationalScalar F (.inr v) (QuadraticModel.CM.cmQuadraticParameter K δ hδ)) |
| 118 | (fun p : Fin 2 × Fin 3 × Fin 3 × Fin 2 => |
| 119 | algebraMap ℤ (RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.Completion F (.inr v)) (a * m) * RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.rationalScalar F (.inr v) |
| 120 | (QuadraticCoefficientMaps.CM.cmQuadraticCoefficient K δ hδ hδ0 p.2.2.2 (Y p.1 p.2.2.1 p.2.1))) := |
| 121 | by simpa only [integer_algebra_map_value] using! |
| 122 | PrincipalColumnDecomposition.CM.local_ball_column_pair_of_integer_decomposition K δ hδ hδ0 B N g hg (a * m) Y hcol (.inr v) |
| 123 | _ = _ := by |
| 124 | apply congrArg (LocalUnitaryNeighborhoods.CM.quadraticMatrixPair _) |
| 125 | funext p |
| 126 | rw [hc] |
| 127 | simpa only [integer_algebra_map_value] using! local_integer_coefficient_factor F (.inr v) a (n v) c |
| 128 | (QuadraticCoefficientMaps.CM.cmQuadraticCoefficient K δ hδ hδ0 p.2.2.2 (Y p.1 p.2.2.1 p.2.1)) |
| 129 | |
| 130 | def PrincipalFiniteMembership (B : HeckeCycles.GeometricSource.CM.BallDatum K) |
| 131 | (L : OpenSubgroup (RepresentationTheory.Theta.Adelic.FiniteSchwartz.FiniteSU (maximalRealSubfield K) (nativeBallHermitianUnit K δ hδ B))) |
| 132 | (N : ℕ) (g : HeckeCycles.GeometricSource.CM.Vec K ≃ₗ[K] HeckeCycles.GeometricSource.CM.Vec K) (hg : B.principalLevel N g) : Prop := |
| 133 | RepresentationTheory.Theta.Adelic.RationalSU.rationalFiniteSU (maximalRealSubfield K) (nativeBallHermitianUnit K δ hδ B) |
| 134 | (RationalBallUnitary.CM.rationalBallSU K δ hδ hδ0 B N g hg) ∈ L |
| 135 | |
| 136 | theorem principal_finite_level_cofinal (B : HeckeCycles.GeometricSource.CM.BallDatum K) |
| 137 | (L : OpenSubgroup (RepresentationTheory.Theta.Adelic.FiniteSchwartz.FiniteSU (maximalRealSubfield K) (nativeBallHermitianUnit K δ hδ B))) : |
| 138 | ∃ D : ℕ, 0 < D ∧ ∀ N : ℕ, D ∣ N → |
| 139 | ∀ (g : HeckeCycles.GeometricSource.CM.Vec K ≃ₗ[K] HeckeCycles.GeometricSource.CM.Vec K) (hg : B.principalLevel N g), |
| 140 | PrincipalFiniteMembership K δ hδ hδ0 B L N g hg := by |
| 141 | have hbdata := PrincipalColumnBounds.CM.ball_lattice_standard_basis_denominator K B |
| 142 | let d : ℤ := hbdata.choose |
| 143 | have hd : d ≠ 0 := hbdata.choose_spec.1 |
| 144 | have hb := hbdata.choose_spec.2 |
| 145 | have hadata := LatticeCoefficientBounds.CM.ball_lattice_quadratic_coefficients_integral K δ hδ hδ0 B |
| 146 | let a : ℤ := hadata.choose |
| 147 | have ha0 : a ≠ 0 := hadata.choose_spec.1 |
| 148 | have ha := hadata.choose_spec.2 |
| 149 | have hIdata := PrincipalLocalIntegrality.CM.exists_principal_local_integral_depth K δ hδ hδ0 B |
| 150 | let D₁ : ℕ := hIdata.choose |
| 151 | have hD₁ : 0 < D₁ := hIdata.choose_spec.1 |
| 152 | have hIntegral := hIdata.choose_spec.2 |
| 153 | have hcontrol := ball_finite_integer_control K δ hδ B L |
| 154 | let J := hcontrol.choose |
| 155 | let n := hcontrol.choose_spec.choose |
| 156 | have hn0 := hcontrol.choose_spec.choose_spec.1 |
| 157 | have hsub := hcontrol.choose_spec.choose_spec.2 |
| 158 | let m : ℤ := ∏ v ∈ J, n v |
| 159 | have hm : m ≠ 0 := Finset.prod_ne_zero_iff.mpr (fun v _ => hn0 v) |
| 160 | refine ⟨D₁ * (d * (a * m)).natAbs, |
| 161 | Nat.mul_pos hD₁ (Int.natAbs_pos.mpr (mul_ne_zero hd (mul_ne_zero ha0 hm))), ?_⟩ |
| 162 | intro N hN g hg |
| 163 | have hN₁ : D₁ ∣ N := dvd_trans ⟨(d * (a * m)).natAbs, rfl⟩ hN |
| 164 | have hN₂ : (d * (a * m)).natAbs ∣ N := |
| 165 | dvd_trans ⟨D₁, Nat.mul_comm _ _⟩ hN |
| 166 | have hdiv : d * (a * m) ∣ (N : ℤ) := Int.natAbs_dvd_natAbs.mp (by |
| 167 | simpa only [Int.natAbs_natCast] using hN₂) |
| 168 | obtain ⟨k, hk⟩ := hdiv |
| 169 | obtain ⟨Y, hY, hcol⟩ := PrincipalColumnDecomposition.CM.principal_columns_lattice_decomposition K B d (a * m) k hd hb N hk g hg |
| 170 | unfold PrincipalFiniteMembership |
| 171 | apply hsub |
| 172 | · exact fun v => hIntegral N hN₁ g hg v |
| 173 | · exact lattice_columns_satisfy_local_control K δ hδ hδ0 B N g hg J n a Y hY ha hcol |
| 174 | |
| 175 | theorem principal_finite_level_cofinal_explicit (B : HeckeCycles.GeometricSource.CM.BallDatum K) |
| 176 | (L : OpenSubgroup (RepresentationTheory.Theta.Adelic.FiniteSchwartz.FiniteSU (maximalRealSubfield K) (nativeBallHermitianUnit K δ hδ B))) : |
| 177 | ∃ D : ℕ, 0 < D ∧ ∀ N : ℕ, D ∣ N → |
| 178 | ∀ (g : HeckeCycles.GeometricSource.CM.Vec K ≃ₗ[K] HeckeCycles.GeometricSource.CM.Vec K) (hg : B.principalLevel N g), |
| 179 | RepresentationTheory.Theta.Adelic.RationalSU.rationalFiniteSU (maximalRealSubfield K) (nativeBallHermitianUnit K δ hδ B) |
| 180 | (RationalBallUnitary.CM.rationalBallSU K δ hδ hδ0 B N g hg) ∈ L := |
| 181 | principal_finite_level_cofinal K δ hδ hδ0 B L |
| 182 | |
| 183 | end |
| 184 | |
| 185 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.PrincipalFiniteLevel.CM |