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.NormalizedCovariance |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.SparseSpanning |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.MovingTotalPeriod |
| 4 | import OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.OscillatorPhaseOrder |
| 5 | |
| 6 | /-! # Reindex Theta -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.ReindexTheta.CM |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | section |
| 13 | |
| 14 | /-! ThetaCycle: holomorphicity of the actual determinant multiplier along |
| 15 | holomorphic period families. A nonzero theta derivative determines the |
| 16 | multiplier locally as a quotient of actual holomorphic coefficients. -/ |
| 17 | |
| 18 | open scoped Classical _root_.Matrix.Norms.Elementwise _root_.Topology |
| 19 | open Filter |
| 20 | |
| 21 | theorem finite_first_coefficient_span_eq_top {I : Type*} [Fintype I] (Z : ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix I) : |
| 22 | Submodule.span ℂ (Set.range (fun φ : RepresentationTheory.Theta.DerivativeFactorizationDefinitions.Input I => |
| 23 | RepresentationTheory.Theta.DerivativeFactorizationDefinitions.firstCoefficient φ Z.matrix)) = ⊤ := by |
| 24 | apply top_unique |
| 25 | rw [← ComplexMultiplication.ThetaCoordinates.CM.span_coordinate_sparseThetaGradients_eq_top I Z.phase] |
| 26 | apply Submodule.span_mono |
| 27 | rintro l ⟨⟨a, n⟩, rfl⟩ |
| 28 | exact ⟨SparseSpanning.CM.sparseFiniteInput a n, SparseSpanning.CM.sparse_first_coefficient Z a n⟩ |
| 29 | |
| 30 | theorem exists_nonzero_first_coefficient (N : ℕ) (hN : 0 < N) (Z : ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix (Fin N)) : |
| 31 | ∃ (φ : RepresentationTheory.Theta.DerivativeFactorizationDefinitions.Input (Fin N)) (u : Fin N → ℂ), |
| 32 | RepresentationTheory.Theta.DerivativeFactorizationDefinitions.firstCoefficient φ Z.matrix u ≠ 0 := by |
| 33 | by_contra h |
| 34 | push Not at h |
| 35 | have he : ∀ φ : RepresentationTheory.Theta.DerivativeFactorizationDefinitions.Input (Fin N), RepresentationTheory.Theta.DerivativeFactorizationDefinitions.firstCoefficient φ Z.matrix = 0 := by |
| 36 | intro φ |
| 37 | ext u |
| 38 | exact h φ u |
| 39 | have hle : Submodule.span ℂ (Set.range (fun φ : RepresentationTheory.Theta.DerivativeFactorizationDefinitions.Input (Fin N) => |
| 40 | RepresentationTheory.Theta.DerivativeFactorizationDefinitions.firstCoefficient φ Z.matrix)) ≤ ⊥ := by |
| 41 | apply Submodule.span_le.mpr |
| 42 | rintro l ⟨φ, rfl⟩ |
| 43 | simpa using he φ |
| 44 | rw [finite_first_coefficient_span_eq_top Z] at hle |
| 45 | have hp : (ContinuousLinearMap.proj (⟨0, hN⟩ : Fin N) : (Fin N → ℂ) →L[ℂ] ℂ) = 0 := by |
| 46 | simpa using hle (show (ContinuousLinearMap.proj (⟨0, hN⟩ : Fin N) : |
| 47 | (Fin N → ℂ) →L[ℂ] ℂ) ∈ (⊤ : Submodule ℂ _) from trivial) |
| 48 | have hz := congrArg (fun f : (Fin N → ℂ) →L[ℂ] ℂ => f (fun _ => 1)) hp |
| 49 | exact one_ne_zero hz |
| 50 | |
| 51 | theorem normalized_first_coefficient_covariance (N : ℕ) (γ : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.Sp (Fin N) ℚ) |
| 52 | (φ : RepresentationTheory.Theta.DerivativeFactorizationDefinitions.Input (Fin N)) (Z : ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix (Fin N)) : |
| 53 | (RepresentationTheory.Theta.DerivativeFactorizationDefinitions.firstCoefficient (NormalizedCovariance.CM.normalizedFiniteOscillatorInput N γ φ) |
| 54 | ((RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks γ).transformSiegel Z).matrix).comp ((RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks γ).jacobiChange Z) = |
| 55 | NormalizedCovariance.CM.rationalThetaMultiplier N γ Z • RepresentationTheory.Theta.DerivativeFactorizationDefinitions.firstCoefficient φ Z.matrix := by |
| 56 | apply ComplexMultiplication.ThetaCovariance.CM.theta_first_derivative_covariance ((RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks γ).jacobiChange Z) |
| 57 | ((RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks γ).thetaCorrectionForm Z) (NormalizedCovariance.CM.rationalThetaMultiplier N γ Z) |
| 58 | (RepresentationTheory.Theta.DerivativeFactorizationAdelicLattice.theta_hasFDerivAt_zero φ Z) |
| 59 | (RepresentationTheory.Theta.DerivativeFactorizationAdelicLattice.theta_hasFDerivAt_zero (NormalizedCovariance.CM.normalizedFiniteOscillatorInput N γ φ) |
| 60 | ((RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks γ).transformSiegel Z)) |
| 61 | intro z |
| 62 | simpa only [mul_assoc] using! NormalizedCovariance.CM.normalized_classical_theta_covariance N γ φ Z z |
| 63 | |
| 64 | theorem jacobi_vector_holomorphic {V I : Type*} [NormedAddCommGroup V] [NormedSpace ℂ V] |
| 65 | [Fintype I] [DecidableEq I] {s : Set V} (g : ComplexMultiplication.CMSymplecticSiegel.CM.SymplecticBlocks I ℝ) |
| 66 | (Z : V → ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix I) (hZ : DifferentiableOn ℂ (fun x => (Z x).matrix) s) (u : I → ℂ) : |
| 67 | DifferentiableOn ℂ (fun x => g.jacobiChange (Z x) u) s := by |
| 68 | have hM : DifferentiableOn ℂ (fun x => g.complexify.denominator (Z x).matrix) s := |
| 69 | (MatrixCalculus.CM.matrix_product_holomorphic (fun _ => g.complexify.C) (fun x => (Z x).matrix) |
| 70 | (differentiableOn_const _) hZ).add (differentiableOn_const _) |
| 71 | have hi := MatrixCalculus.CM.matrix_inverse_holomorphic _ hM (fun x _ => (g.denominator_det_isUnit (Z x)).ne_zero) |
| 72 | apply differentiableOn_pi.mpr |
| 73 | intro i |
| 74 | simp only [ComplexMultiplication.CMSymplecticSiegel.CM.SymplecticBlocks.jacobiChange_apply, Matrix.mulVec, dotProduct, Matrix.transpose_apply] |
| 75 | fun_prop |
| 76 | |
| 77 | theorem rational_theta_multiplier_holomorphic {V : Type*} [NormedAddCommGroup V] [NormedSpace ℂ V] |
| 78 | (N : ℕ) (hN : 0 < N) (γ : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.Sp (Fin N) ℚ) {s : Set V} |
| 79 | (Z : V → ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix (Fin N)) (hZ : DifferentiableOn ℂ (fun x => (Z x).matrix) s) : |
| 80 | DifferentiableOn ℂ (fun x => NormalizedCovariance.CM.rationalThetaMultiplier N γ (Z x)) s := by |
| 81 | intro x hx |
| 82 | obtain ⟨φ, u, hu⟩ := exists_nonzero_first_coefficient N hN (Z x) |
| 83 | let Ψ := NormalizedCovariance.CM.normalizedFiniteOscillatorInput N γ φ |
| 84 | let W := fun y => (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks γ).transformSiegel (Z y) |
| 85 | let d := fun y => RepresentationTheory.Theta.DerivativeFactorizationDefinitions.firstCoefficient φ (Z y).matrix u |
| 86 | let n := fun y => RepresentationTheory.Theta.DerivativeFactorizationDefinitions.firstCoefficient Ψ (W y).matrix ((RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks γ).jacobiChange (Z y) u) |
| 87 | have hd : DifferentiableOn ℂ d s := by |
| 88 | have hc : DifferentiableOn ℂ (fun y => RepresentationTheory.Theta.DerivativeFactorizationDefinitions.firstCoefficient φ (Z y).matrix) s := by |
| 89 | intro y hy |
| 90 | simpa only [Function.comp_def] using! |
| 91 | (RepresentationTheory.Theta.DerivativeFactorizationAdelicLattice.firstCoefficient_differentiableAt φ (Z y)).comp_differentiableWithinAt |
| 92 | y (hZ y hy) |
| 93 | exact hc.clm_apply (differentiableOn_const u) |
| 94 | have hn : DifferentiableOn ℂ n s := by |
| 95 | have hW := MovingTotalPeriod.CM.symplectic_period_holomorphic (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks γ) Z hZ |
| 96 | have hc : DifferentiableOn ℂ (fun y => RepresentationTheory.Theta.DerivativeFactorizationDefinitions.firstCoefficient Ψ (W y).matrix) s := by |
| 97 | intro y hy |
| 98 | simpa only [Function.comp_def] using! |
| 99 | (RepresentationTheory.Theta.DerivativeFactorizationAdelicLattice.firstCoefficient_differentiableAt Ψ (W y)).comp_differentiableWithinAt |
| 100 | y (hW y hy) |
| 101 | exact hc.clm_apply (jacobi_vector_holomorphic (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks γ) Z hZ u) |
| 102 | have hp (y : V) : n y = NormalizedCovariance.CM.rationalThetaMultiplier N γ (Z y) * d y := |
| 103 | congrArg (fun f : (Fin N → ℂ) →L[ℂ] ℂ => f u) (normalized_first_coefficient_covariance N γ φ (Z y)) |
| 104 | have he : (fun y => NormalizedCovariance.CM.rationalThetaMultiplier N γ (Z y)) =ᶠ[𝓝[s] x] (fun y => n y / d y) := by |
| 105 | have hne : ∀ᶠ y in 𝓝[s] x, d y ≠ 0 := (hd x hx).continuousWithinAt.eventually (eventually_ne_nhds hu) |
| 106 | filter_upwards [hne] with y hy |
| 107 | exact (eq_div_iff hy).mpr (hp y).symm |
| 108 | have hr : DifferentiableWithinAt ℂ (fun y => n y / d y) s x := by |
| 109 | simpa only [div_eq_mul_inv] using! (hn x hx).mul ((hd x hx).inv hu) |
| 110 | exact hr.congr_of_eventuallyEq_of_mem he hx |
| 111 | |
| 112 | end |
| 113 | |
| 114 | section |
| 115 | |
| 116 | /-! ThetaCycle: compare the constructed oscillator multiplier with an actual |
| 117 | continuous square-root frame. The single resulting sign is absorbed into |
| 118 | one finite Schwartz input, uniformly throughout a connected period family. -/ |
| 119 | |
| 120 | open scoped Classical |
| 121 | open OAI.RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization |
| 122 | |
| 123 | theorem rational_theta_multiplier_ne_zero (N : ℕ) (γ : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.Sp (Fin N) ℚ) |
| 124 | (Z : ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix (Fin N)) : NormalizedCovariance.CM.rationalThetaMultiplier N γ Z ≠ 0 := |
| 125 | div_ne_zero (NormalizedCovariance.CM.rational_oscillator_unit_scalar_ne_zero N γ) |
| 126 | (RationalGaussianCovariance.CM.rational_gaussian_coefficient_ne_zero N γ Z) |
| 127 | |
| 128 | theorem rational_theta_multiplier_frame_sign {V : Type*} |
| 129 | [NormedAddCommGroup V] [NormedSpace ℂ V] |
| 130 | (N : ℕ) (hN : 0 < N) (γ : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.Sp (Fin N) ℚ) {s : Set V} |
| 131 | (hs : IsPreconnected s) (Z : V → ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix (Fin N)) |
| 132 | (hZ : DifferentiableOn ℂ (fun x => (Z x).matrix) s) |
| 133 | (d : V → ℂ) (hd : ContinuousOn d s) |
| 134 | (hsq : ∀ x ∈ s, d x ^ 2 = ((RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks γ).complexify.denominator (Z x).matrix).det) : |
| 135 | ∃ σ : ℂ, (σ = 1 ∨ σ = -1) ∧ |
| 136 | ∀ x ∈ s, d x = σ * NormalizedCovariance.CM.rationalThetaMultiplier N γ (Z x) := by |
| 137 | have hm := (rational_theta_multiplier_holomorphic N hN γ Z hZ).continuousOn |
| 138 | have he : Set.EqOn (d ^ 2) ((fun x => NormalizedCovariance.CM.rationalThetaMultiplier N γ (Z x)) ^ 2) s := by |
| 139 | intro x hx |
| 140 | exact (hsq x hx).trans (NormalizedCovariance.CM.rational_theta_multiplier_square N γ (Z x)).symm |
| 141 | rcases hs.eq_or_eq_neg_of_sq_eq hd hm he |
| 142 | (fun {x} _ => rational_theta_multiplier_ne_zero N γ (Z x)) with h | h |
| 143 | · exact ⟨1, Or.inl rfl, fun x hx => (h hx).trans (one_mul _).symm⟩ |
| 144 | · refine ⟨-1, Or.inr rfl, ?_⟩ |
| 145 | intro x hx |
| 146 | simpa only [Pi.neg_apply, neg_one_mul] using h hx |
| 147 | |
| 148 | theorem exists_frame_normalized_finite_input {V : Type*} |
| 149 | [NormedAddCommGroup V] [NormedSpace ℂ V] |
| 150 | (N : ℕ) (hN : 0 < N) (γ : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.Sp (Fin N) ℚ) {s : Set V} |
| 151 | (hs : IsPreconnected s) (Z : V → ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix (Fin N)) |
| 152 | (hZ : DifferentiableOn ℂ (fun x => (Z x).matrix) s) |
| 153 | (d : V → ℂ) (hd : ContinuousOn d s) |
| 154 | (hsq : ∀ x ∈ s, d x ^ 2 = ((RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks γ).complexify.denominator (Z x).matrix).det) |
| 155 | (φ : RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization.Input (Fin N)) : |
| 156 | ∃ Ψ : RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization.Input (Fin N), ∀ x ∈ s, ∀ z : Fin N → ℂ, |
| 157 | RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization.completed Ψ ((RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks γ).transformSiegel (Z x)) ((RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks γ).jacobiChange (Z x) z) = |
| 158 | d x * RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization.completed φ (Z x) z := by |
| 159 | obtain ⟨σ, _, hσ⟩ := rational_theta_multiplier_frame_sign N hN γ hs Z hZ d hd hsq |
| 160 | refine ⟨RepresentationTheory.Theta.Kernel.Factorization.scaleInput σ (NormalizedCovariance.CM.normalizedFiniteOscillatorInput N γ φ), ?_⟩ |
| 161 | intro x hx z |
| 162 | rw [NormalizedCovariance.CM.completed_scale_finite_input, NormalizedCovariance.CM.normalized_completed_theta_covariance, hσ x hx, mul_assoc] |
| 163 | |
| 164 | end |
| 165 | |
| 166 | section |
| 167 | |
| 168 | /-! ThetaCycle: transport the literal finite input, positive Siegel matrix, and |
| 169 | completed theta series through a finite coordinate equivalence. -/ |
| 170 | |
| 171 | open scoped Classical _root_.Matrix _root_.Matrix.Norms.Elementwise |
| 172 | open OAI.RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization |
| 173 | |
| 174 | variable {I J : Type*} [Fintype I] [Fintype J] |
| 175 | |
| 176 | def positionReindex {A : Type*} [TopologicalSpace A] (e : I ≃ J) : (I → A) ≃ₜ (J → A) where |
| 177 | toFun x j := x (e.symm j) |
| 178 | invFun x i := x (e i) |
| 179 | left_inv x := by funext i; simp only [Equiv.symm_apply_apply] |
| 180 | right_inv x := by funext j; simp only [Equiv.apply_symm_apply] |
| 181 | continuous_toFun := continuous_pi (fun j => continuous_apply (e.symm j)) |
| 182 | continuous_invFun := continuous_pi (fun i => continuous_apply (e i)) |
| 183 | |
| 184 | def finiteInputReindex (e : I ≃ J) : RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization.Input I ≃ RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization.Input J := |
| 185 | RationalSchwartzCoordinates.CM.finiteSchwartzHomeomorphEquiv (positionReindex (A := RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization.AQf) e).symm |
| 186 | |
| 187 | omit [Fintype I] [Fintype J] in |
| 188 | theorem finite_input_reindex_apply (e : I ≃ J) (φ : RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization.Input I) (x : J → RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization.AQf) : |
| 189 | (finiteInputReindex e φ).val x = φ.val (fun i => x (e i)) := rfl |
| 190 | |
| 191 | def siegelReindex (e : I ≃ J) (Z : ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix I) : ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix J where |
| 192 | matrix := Matrix.reindex e e Z.matrix |
| 193 | symmetric := Z.symmetric.submatrix e.symm |
| 194 | imaginary_posDef := Z.imaginary_posDef.submatrix e.symm.injective |
| 195 | |
| 196 | theorem reindex_double_sum {R : Type*} [AddCommMonoid R] (e : I ≃ J) (f : I → I → R) : |
| 197 | (∑ i : J, ∑ j : J, f (e.symm i) (e.symm j)) = ∑ i : I, ∑ j : I, f i j := by |
| 198 | calc |
| 199 | _ = ∑ i : J, ∑ j : I, f (e.symm i) j := by |
| 200 | apply Finset.sum_congr rfl |
| 201 | intro i _ |
| 202 | exact e.symm.sum_comp (f (e.symm i)) |
| 203 | _ = _ := e.symm.sum_comp (fun i => ∑ j : I, f i j) |
| 204 | |
| 205 | theorem kernel_reindex (e : I ≃ J) (B : Matrix I I ℂ) (x : I → ℚ) (z : I → ℂ) : |
| 206 | RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization.kernel (Matrix.reindex e e B) (fun j => x (e.symm j)) (fun j => z (e.symm j)) = RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization.kernel B x z := by |
| 207 | unfold RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization.kernel |
| 208 | congr 1 |
| 209 | simp only [ComplexMultiplication.CMSiegelMatrix.CM.siegelMatrixForm_apply, ComplexMultiplication.ThetaCoordinates.CM.thetaCoordinatePairing_apply, RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization.realPosition, |
| 210 | Matrix.reindex_apply, Matrix.submatrix_apply] |
| 211 | rw [reindex_double_sum e (fun i j => ((x i : ℝ) : ℂ) * (((x j : ℝ) : ℂ) * B i j)), |
| 212 | e.symm.sum_comp (fun i => ((x i : ℝ) : ℂ) * z i)] |
| 213 | |
| 214 | theorem theta_reindex (e : I ≃ J) (φ : RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization.Input I) (B : Matrix I I ℂ) (z : I → ℂ) : |
| 215 | RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization.theta (finiteInputReindex e φ) (Matrix.reindex e e B) (fun j => z (e.symm j)) = RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization.theta φ B z := by |
| 216 | unfold RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization.theta |
| 217 | rw [← (Equiv.piCongrLeft' (fun _ : I => ℚ) e).tsum_eq] |
| 218 | apply tsum_congr |
| 219 | intro x |
| 220 | change (finiteInputReindex e φ).val (RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization.diagonal (fun j => x (e.symm j))) * |
| 221 | RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization.kernel (Matrix.reindex e e B) (fun j => x (e.symm j)) (fun j => z (e.symm j)) = _ |
| 222 | rw [kernel_reindex, finite_input_reindex_apply] |
| 223 | simp only [RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization.diagonal, Equiv.symm_apply_apply] |
| 224 | rfl |
| 225 | |
| 226 | theorem completion_form_reindex (e : I ≃ J) (Z : ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix I) (z w : I → ℂ) : |
| 227 | (siegelReindex e Z).completionForm (fun j => z (e.symm j)) (fun j => w (e.symm j)) = |
| 228 | Z.completionForm z w := by |
| 229 | rw [ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix.completionForm_apply, ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix.completionForm_apply] |
| 230 | have hi : (fun i j => ((siegelReindex e Z).matrix i j).im) = |
| 231 | Matrix.reindex e e (fun i j => (Z.matrix i j).im) := rfl |
| 232 | rw [hi] |
| 233 | have hinv := Matrix.inv_reindex e e (fun i j => (Z.matrix i j).im) |
| 234 | rw [hinv] |
| 235 | simp only [Matrix.reindex_apply, Matrix.submatrix_apply] |
| 236 | rw [reindex_double_sum e (fun i j => z i * |
| 237 | ((@Inv.inv (Matrix I I ℝ) Matrix.inv (fun k l => (Z.matrix k l).im) i j) : ℂ) * w j)] |
| 238 | |
| 239 | theorem completed_reindex (e : I ≃ J) (φ : RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization.Input I) (Z : ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix I) (z : I → ℂ) : |
| 240 | RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization.completed (finiteInputReindex e φ) (siegelReindex e Z) (fun j => z (e.symm j)) = |
| 241 | RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization.completed φ Z z := by |
| 242 | unfold RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization.completed ComplexMultiplication.ThetaCompletion.CM.thetaCompletionFactor |
| 243 | rw [completion_form_reindex] |
| 244 | change _ * RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization.theta (finiteInputReindex e φ) (Matrix.reindex e e Z.matrix) _ = _ |
| 245 | rw [theta_reindex] |
| 246 | |
| 247 | end |
| 248 | |
| 249 | /-! ThetaCycle: coordinate equivariance of the actual fractional Siegel action, |
| 250 | its determinant denominator, and its Jacobi change of variables. -/ |
| 251 | |
| 252 | open scoped Classical _root_.Matrix _root_.Matrix.Norms.Elementwise |
| 253 | |
| 254 | variable {I J : Type*} [Fintype I] [Fintype J] [DecidableEq I] [DecidableEq J] |
| 255 | |
| 256 | theorem reindex_rational_denominator (e : I ≃ J) (γ : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.Sp I ℚ) (Z : ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix I) : |
| 257 | (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks (OscillatorPhaseOrder.CM.reindexSymplectic e γ)).complexify.denominator (siegelReindex e Z).matrix = |
| 258 | Matrix.reindex e e ((RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks γ).complexify.denominator Z.matrix) := by |
| 259 | change Matrix.reindex e e (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks γ).complexify.C * Matrix.reindex e e Z.matrix + |
| 260 | Matrix.reindex e e (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks γ).complexify.D = _ |
| 261 | exact ((Matrix.reindexRingEquiv ℂ e).map_add |
| 262 | ((RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks γ).complexify.C * Z.matrix) (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks γ).complexify.D).trans |
| 263 | (congrArg (fun M => M + Matrix.reindex e e (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks γ).complexify.D) |
| 264 | ((Matrix.reindexRingEquiv ℂ e).map_mul (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks γ).complexify.C Z.matrix)) |>.symm |
| 265 | |
| 266 | theorem reindex_rational_numerator (e : I ≃ J) (γ : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.Sp I ℚ) (Z : ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix I) : |
| 267 | (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks (OscillatorPhaseOrder.CM.reindexSymplectic e γ)).complexify.numerator (siegelReindex e Z).matrix = |
| 268 | Matrix.reindex e e ((RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks γ).complexify.numerator Z.matrix) := by |
| 269 | change Matrix.reindex e e (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks γ).complexify.A * Matrix.reindex e e Z.matrix + |
| 270 | Matrix.reindex e e (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks γ).complexify.B = _ |
| 271 | exact ((Matrix.reindexRingEquiv ℂ e).map_add |
| 272 | ((RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks γ).complexify.A * Z.matrix) (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks γ).complexify.B).trans |
| 273 | (congrArg (fun M => M + Matrix.reindex e e (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks γ).complexify.B) |
| 274 | ((Matrix.reindexRingEquiv ℂ e).map_mul (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks γ).complexify.A Z.matrix)) |>.symm |
| 275 | |
| 276 | omit [DecidableEq I] in |
| 277 | theorem siegel_matrix_ext {A B : ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix I} (h : A.matrix = B.matrix) : A = B := by |
| 278 | cases A |
| 279 | cases B |
| 280 | cases h |
| 281 | rfl |
| 282 | |
| 283 | theorem reindex_rational_siegel_action (e : I ≃ J) (γ : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.Sp I ℚ) (Z : ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix I) : |
| 284 | (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks (OscillatorPhaseOrder.CM.reindexSymplectic e γ)).transformSiegel (siegelReindex e Z) = |
| 285 | siegelReindex e ((RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks γ).transformSiegel Z) := by |
| 286 | apply siegel_matrix_ext |
| 287 | change (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks (OscillatorPhaseOrder.CM.reindexSymplectic e γ)).complexify.numerator (siegelReindex e Z).matrix * |
| 288 | ((RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks (OscillatorPhaseOrder.CM.reindexSymplectic e γ)).complexify.denominator (siegelReindex e Z).matrix)⁻¹ = _ |
| 289 | rw [reindex_rational_numerator, reindex_rational_denominator, Matrix.inv_reindex] |
| 290 | exact ((Matrix.reindexRingEquiv ℂ e).map_mul _ _).symm |
| 291 | |
| 292 | omit [DecidableEq I] [DecidableEq J] in |
| 293 | theorem reindex_matrix_mul_vec (e : I ≃ J) (M : Matrix I I ℂ) (z : I → ℂ) : |
| 294 | Matrix.reindex e e M *ᵥ (fun j => z (e.symm j)) = fun j => (M *ᵥ z) (e.symm j) := by |
| 295 | funext j |
| 296 | exact e.symm.sum_comp (fun i => M (e.symm j) i * z i) |
| 297 | |
| 298 | theorem reindex_rational_jacobi_action (e : I ≃ J) (γ : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.Sp I ℚ) (Z : ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix I) (z : I → ℂ) : |
| 299 | (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks (OscillatorPhaseOrder.CM.reindexSymplectic e γ)).jacobiChange (siegelReindex e Z) (fun j => z (e.symm j)) = |
| 300 | fun j => ((RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks γ).jacobiChange Z z) (e.symm j) := by |
| 301 | rw [ComplexMultiplication.CMSymplecticSiegel.CM.SymplecticBlocks.jacobiChange_apply, reindex_rational_denominator, Matrix.inv_reindex] |
| 302 | change Matrix.reindex e e (((RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks γ).complexify.denominator Z.matrix)⁻¹).transpose *ᵥ |
| 303 | (fun j => z (e.symm j)) = _ |
| 304 | exact reindex_matrix_mul_vec e _ z |
| 305 | |
| 306 | theorem reindex_rational_denominator_det (e : I ≃ J) (γ : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.Sp I ℚ) (Z : ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix I) : |
| 307 | ((RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks (OscillatorPhaseOrder.CM.reindexSymplectic e γ)).complexify.denominator (siegelReindex e Z).matrix).det = |
| 308 | ((RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks γ).complexify.denominator Z.matrix).det := by |
| 309 | rw [reindex_rational_denominator] |
| 310 | exact Matrix.det_reindex_self e _ |
| 311 | |
| 312 | end |
| 313 | |
| 314 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.ReindexTheta.CM |