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.ComplexTransition |
| 2 | |
| 3 | /-! # Compact Complex -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.CompactComplex.CM |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! ThetaCycle: the compact period coordinates act as the actual selected-line projectors. -/ |
| 12 | |
| 13 | open scoped Classical _root_.Matrix |
| 14 | open _root_.Module |
| 15 | |
| 16 | variable {E : Type*} [Field E] [Algebra ℚ E] |
| 17 | |
| 18 | theorem local_basis_matrix_isUnit (σ : E →ₐ[ℚ] ℂ) (b : Basis (Fin 2) E (Analysis.DifferentialForms.Coordinates.LocalApproximation.W E)) : |
| 19 | IsUnit (Analysis.DifferentialForms.Coordinates.LocalApproximation.localBasisMatrix σ b) := by |
| 20 | have hm : Analysis.DifferentialForms.Coordinates.LocalApproximation.localBasisMatrix σ b = |
| 21 | (LinearMap.toMatrix' b.equivFun.symm.toLinearMap).map σ := by |
| 22 | ext i j |
| 23 | simp only [Analysis.DifferentialForms.Coordinates.LocalApproximation.localBasisMatrix, Matrix.map_apply, LinearMap.toMatrix'_apply, |
| 24 | LinearEquiv.coe_coe, b.equivFun_symm_apply] |
| 25 | fin_cases j <;> simp |
| 26 | rw [hm] |
| 27 | exact (LinearMap.isUnit_toMatrix'_iff.mpr |
| 28 | ((Module.End.isUnit_iff _).mpr b.equivFun.symm.bijective)).map σ.toRingHom.mapMatrix |
| 29 | |
| 30 | def boolDiagonal (d : Fin 2 → Bool) : Matrix (Fin 2) (Fin 2) ℂ := |
| 31 | Matrix.diagonal (fun i => if d i then 1 else 0) |
| 32 | |
| 33 | theorem bool_diagonal_complement (d : Fin 2 → Bool) : |
| 34 | 1 - boolDiagonal d = boolDiagonal (fun i => !d i) := by |
| 35 | ext i j |
| 36 | by_cases hij : i = j |
| 37 | · subst j |
| 38 | cases h : d i <;> simp [boolDiagonal, h] |
| 39 | · simp [boolDiagonal, hij] |
| 40 | |
| 41 | theorem bool_diagonal_idempotent (d : Fin 2 → Bool) : |
| 42 | boolDiagonal d * boolDiagonal d = boolDiagonal d := by |
| 43 | unfold boolDiagonal |
| 44 | rw [Matrix.diagonal_mul_diagonal] |
| 45 | congr 1 |
| 46 | funext i |
| 47 | cases d i <;> simp |
| 48 | |
| 49 | theorem conjugate_bool_diagonal (d : Fin 2 → Bool) : |
| 50 | (boolDiagonal d).map star = boolDiagonal d := by |
| 51 | unfold boolDiagonal |
| 52 | rw [Matrix.diagonal_map (star_zero ℂ)] |
| 53 | congr 1 |
| 54 | funext i |
| 55 | cases d i <;> simp |
| 56 | |
| 57 | /-- The first projector selects false lines at the chosen embedding; the |
| 58 | second selects conjugates of true lines at its conjugate embedding. -/ |
| 59 | theorem compact_period_selected_lines (σ : E →ₐ[ℚ] ℂ) |
| 60 | (b : Basis (Fin 2) E (Analysis.DifferentialForms.Coordinates.LocalApproximation.W E)) (d : Fin 2 → Bool) : |
| 61 | (Analysis.DifferentialForms.Coordinates.LocalApproximation.compactPeriod σ b d).1 * Analysis.DifferentialForms.Coordinates.LocalApproximation.localBasisMatrix σ b = |
| 62 | Analysis.DifferentialForms.Coordinates.LocalApproximation.localBasisMatrix σ b * boolDiagonal (fun i => !d i) ∧ |
| 63 | (Analysis.DifferentialForms.Coordinates.LocalApproximation.compactPeriod σ b d).2 * (Analysis.DifferentialForms.Coordinates.LocalApproximation.localBasisMatrix σ b).map star = |
| 64 | (Analysis.DifferentialForms.Coordinates.LocalApproximation.localBasisMatrix σ b).map star * boolDiagonal d := by |
| 65 | let M := Analysis.DifferentialForms.Coordinates.LocalApproximation.localBasisMatrix σ b |
| 66 | have hdet : IsUnit M.det := (Matrix.isUnit_iff_isUnit_det _).mp (local_basis_matrix_isUnit σ b) |
| 67 | have hp : (M * boolDiagonal d * M⁻¹) * M = M * boolDiagonal d := by |
| 68 | rw [Matrix.mul_assoc, Matrix.nonsing_inv_mul _ hdet, Matrix.mul_one] |
| 69 | constructor |
| 70 | · change (1 - M * boolDiagonal d * M⁻¹) * M = M * boolDiagonal (fun i => !d i) |
| 71 | rw [Matrix.sub_mul, Matrix.one_mul, hp, ← bool_diagonal_complement, Matrix.mul_sub, |
| 72 | Matrix.mul_one] |
| 73 | · change (M * boolDiagonal d * M⁻¹).map star * M.map star = M.map star * boolDiagonal d |
| 74 | calc |
| 75 | _ = (starRingEnd ℂ).mapMatrix ((M * boolDiagonal d * M⁻¹) * M) := |
| 76 | (map_mul (starRingEnd ℂ).mapMatrix _ _).symm |
| 77 | _ = (starRingEnd ℂ).mapMatrix (M * boolDiagonal d) := congrArg (starRingEnd ℂ).mapMatrix hp |
| 78 | _ = M.map star * (boolDiagonal d).map star := map_mul (starRingEnd ℂ).mapMatrix _ _ |
| 79 | _ = _ := by rw [conjugate_bool_diagonal] |
| 80 | |
| 81 | theorem compact_period_idempotent (σ : E →ₐ[ℚ] ℂ) |
| 82 | (b : Basis (Fin 2) E (Analysis.DifferentialForms.Coordinates.LocalApproximation.W E)) (d : Fin 2 → Bool) : |
| 83 | (Analysis.DifferentialForms.Coordinates.LocalApproximation.compactPeriod σ b d).1 * (Analysis.DifferentialForms.Coordinates.LocalApproximation.compactPeriod σ b d).1 = (Analysis.DifferentialForms.Coordinates.LocalApproximation.compactPeriod σ b d).1 ∧ |
| 84 | (Analysis.DifferentialForms.Coordinates.LocalApproximation.compactPeriod σ b d).2 * (Analysis.DifferentialForms.Coordinates.LocalApproximation.compactPeriod σ b d).2 = (Analysis.DifferentialForms.Coordinates.LocalApproximation.compactPeriod σ b d).2 := by |
| 85 | let M := Analysis.DifferentialForms.Coordinates.LocalApproximation.localBasisMatrix σ b |
| 86 | have hdet : IsUnit M.det := (Matrix.isUnit_iff_isUnit_det _).mp (local_basis_matrix_isUnit σ b) |
| 87 | have hp : (M * boolDiagonal d * M⁻¹) * (M * boolDiagonal d * M⁻¹) = |
| 88 | M * boolDiagonal d * M⁻¹ := by |
| 89 | calc |
| 90 | _ = M * boolDiagonal d * (M⁻¹ * M) * boolDiagonal d * M⁻¹ := by noncomm_ring |
| 91 | _ = M * (boolDiagonal d * boolDiagonal d) * M⁻¹ := by |
| 92 | rw [Matrix.nonsing_inv_mul _ hdet] |
| 93 | noncomm_ring |
| 94 | _ = _ := by rw [bool_diagonal_idempotent] |
| 95 | constructor |
| 96 | · change (1 - M * boolDiagonal d * M⁻¹) * (1 - M * boolDiagonal d * M⁻¹) = |
| 97 | 1 - M * boolDiagonal d * M⁻¹ |
| 98 | calc |
| 99 | _ = 1 - M * boolDiagonal d * M⁻¹ - M * boolDiagonal d * M⁻¹ + |
| 100 | (M * boolDiagonal d * M⁻¹) * (M * boolDiagonal d * M⁻¹) := by noncomm_ring |
| 101 | _ = _ := by rw [hp]; abel |
| 102 | · change (M * boolDiagonal d * M⁻¹).map star * (M * boolDiagonal d * M⁻¹).map star = |
| 103 | (M * boolDiagonal d * M⁻¹).map star |
| 104 | exact (map_mul (starRingEnd ℂ).mapMatrix _ _).symm.trans |
| 105 | (congrArg (starRingEnd ℂ).mapMatrix hp) |
| 106 | |
| 107 | end |
| 108 | |
| 109 | section |
| 110 | |
| 111 | /-! ThetaCycle: the actual complex multiplicity-basis change is invertible. -/ |
| 112 | |
| 113 | open scoped Classical _root_.Matrix |
| 114 | open _root_.Module |
| 115 | |
| 116 | variable (K : IntermediateField ℚ ℂ) [IsGalois ℚ K] |
| 117 | |
| 118 | def complexTensorBasisEquiv (b : Basis (Fin 2) K (Analysis.DifferentialForms.Coordinates.LocalApproximation.W K)) : |
| 119 | ComplexTransition.CM.TotalAmbient K ≃ₗ[ℂ] ComplexTransition.CM.TotalAmbient K := |
| 120 | { ComplexTransition.CM.complexTensorBasisChange K b with |
| 121 | invFun := fun x i τ j => |
| 122 | ((Analysis.DifferentialForms.Coordinates.LocalApproximation.localBasisMatrix (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.galoisEmbeddingEquiv K τ) b)⁻¹ *ᵥ (fun k => x k τ j)) i |
| 123 | left_inv := by |
| 124 | intro x |
| 125 | funext i τ j |
| 126 | let M := Analysis.DifferentialForms.Coordinates.LocalApproximation.localBasisMatrix (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.galoisEmbeddingEquiv K τ) b |
| 127 | have hm : IsUnit M.det := (Matrix.isUnit_iff_isUnit_det _).mp |
| 128 | (local_basis_matrix_isUnit (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.galoisEmbeddingEquiv K τ) b) |
| 129 | change (M⁻¹ *ᵥ (M *ᵥ (fun k => x k τ j))) i = x i τ j |
| 130 | rw [Matrix.mulVec_mulVec, Matrix.nonsing_inv_mul _ hm, Matrix.one_mulVec] |
| 131 | right_inv := by |
| 132 | intro x |
| 133 | funext i τ j |
| 134 | let M := Analysis.DifferentialForms.Coordinates.LocalApproximation.localBasisMatrix (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.galoisEmbeddingEquiv K τ) b |
| 135 | have hm : IsUnit M.det := (Matrix.isUnit_iff_isUnit_det _).mp |
| 136 | (local_basis_matrix_isUnit (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.galoisEmbeddingEquiv K τ) b) |
| 137 | change (M *ᵥ (M⁻¹ *ᵥ (fun k => x k τ j))) i = x i τ j |
| 138 | rw [Matrix.mulVec_mulVec, Matrix.mul_nonsing_inv _ hm, Matrix.one_mulVec] } |
| 139 | |
| 140 | theorem complex_tensor_basis_equiv_apply (b : Basis (Fin 2) K (Analysis.DifferentialForms.Coordinates.LocalApproximation.W K)) (x : ComplexTransition.CM.TotalAmbient K) : |
| 141 | complexTensorBasisEquiv K b x = ComplexTransition.CM.complexTensorBasisChange K b x := rfl |
| 142 | |
| 143 | theorem complex_tensor_basis_change_bijective (b : Basis (Fin 2) K (Analysis.DifferentialForms.Coordinates.LocalApproximation.W K)) : |
| 144 | Function.Bijective (ComplexTransition.CM.complexTensorBasisChange K b) := |
| 145 | (complexTensorBasisEquiv K b).bijective |
| 146 | |
| 147 | end |
| 148 | |
| 149 | section |
| 150 | |
| 151 | /-! ThetaCycle: explicit holomorphic projectors onto the distinguished line and |
| 152 | its actual bilinear annihilator in the ball prescription. -/ |
| 153 | |
| 154 | open scoped Classical |
| 155 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM _root_.Module |
| 156 | |
| 157 | def ballLineProjection (z : HeckeCycles.GeometricSource.CM.BallChart) : HeckeCycles.GeometricSource.CM.Vec ℂ →ₗ[ℂ] HeckeCycles.GeometricSource.CM.Vec ℂ where |
| 158 | toFun w := w 2 • HeckeCycles.GeometricSource.CM.BallDatum.lineVector z |
| 159 | map_add' x y := by simp [add_smul] |
| 160 | map_smul' c w := by |
| 161 | funext j |
| 162 | change (c * w 2) * HeckeCycles.GeometricSource.CM.BallDatum.lineVector z j = c * (w 2 * HeckeCycles.GeometricSource.CM.BallDatum.lineVector z j) |
| 163 | ring |
| 164 | |
| 165 | def ballAnnihilatorProjection (β : ℂ) (z : HeckeCycles.GeometricSource.CM.BallChart) : HeckeCycles.GeometricSource.CM.Vec ℂ →ₗ[ℂ] HeckeCycles.GeometricSource.CM.Vec ℂ where |
| 166 | toFun w := ![w 0, w 1, -(z 0 * w 0 + z 1 * w 1) / β] |
| 167 | map_add' x y := by |
| 168 | funext j |
| 169 | fin_cases j <;> simp [div_eq_mul_inv] |
| 170 | ring |
| 171 | map_smul' c w := by |
| 172 | funext j |
| 173 | fin_cases j <;> simp [div_eq_mul_inv, smul_eq_mul] |
| 174 | ring |
| 175 | |
| 176 | def ballAnnihilatorEquation (β : ℂ) (z : HeckeCycles.GeometricSource.CM.BallChart) (w : HeckeCycles.GeometricSource.CM.Vec ℂ) : ℂ := |
| 177 | z 0 * w 0 + z 1 * w 1 + β * w 2 |
| 178 | |
| 179 | theorem ball_line_projection_fixed_iff (z : HeckeCycles.GeometricSource.CM.BallChart) (w : HeckeCycles.GeometricSource.CM.Vec ℂ) : |
| 180 | ballLineProjection z w = w ↔ w ∈ ℂ ∙ HeckeCycles.GeometricSource.CM.BallDatum.lineVector z := by |
| 181 | constructor |
| 182 | · intro h |
| 183 | exact Submodule.mem_span_singleton.mpr ⟨w 2, h⟩ |
| 184 | · intro h |
| 185 | obtain ⟨c, rfl⟩ := Submodule.mem_span_singleton.mp h |
| 186 | simp [ballLineProjection, HeckeCycles.GeometricSource.CM.BallDatum.lineVector] |
| 187 | |
| 188 | theorem ball_annihilator_projection_equation (β : ℂ) (hβ : β ≠ 0) |
| 189 | (z : HeckeCycles.GeometricSource.CM.BallChart) (w : HeckeCycles.GeometricSource.CM.Vec ℂ) : |
| 190 | ballAnnihilatorEquation β z (ballAnnihilatorProjection β z w) = 0 := by |
| 191 | change z 0 * w 0 + z 1 * w 1 + β * (-(z 0 * w 0 + z 1 * w 1) / β) = 0 |
| 192 | field_simp [hβ] |
| 193 | ring |
| 194 | |
| 195 | theorem ball_annihilator_projection_fixed_iff (β : ℂ) (hβ : β ≠ 0) |
| 196 | (z : HeckeCycles.GeometricSource.CM.BallChart) (w : HeckeCycles.GeometricSource.CM.Vec ℂ) : |
| 197 | ballAnnihilatorProjection β z w = w ↔ ballAnnihilatorEquation β z w = 0 := by |
| 198 | constructor |
| 199 | · intro h |
| 200 | rw [← h] |
| 201 | exact ball_annihilator_projection_equation β hβ z w |
| 202 | · intro h |
| 203 | funext j |
| 204 | fin_cases j |
| 205 | · rfl |
| 206 | · rfl |
| 207 | · change -(z 0 * w 0 + z 1 * w 1) / β = w 2 |
| 208 | apply (div_eq_iff hβ).mpr |
| 209 | change z 0 * w 0 + z 1 * w 1 + β * w 2 = 0 at h |
| 210 | linear_combination -h |
| 211 | |
| 212 | theorem ball_line_projection_idempotent (z : HeckeCycles.GeometricSource.CM.BallChart) (w : HeckeCycles.GeometricSource.CM.Vec ℂ) : |
| 213 | ballLineProjection z (ballLineProjection z w) = ballLineProjection z w := by |
| 214 | simp [ballLineProjection, HeckeCycles.GeometricSource.CM.BallDatum.lineVector] |
| 215 | |
| 216 | theorem ball_annihilator_projection_idempotent (β : ℂ) (z : HeckeCycles.GeometricSource.CM.BallChart) (w : HeckeCycles.GeometricSource.CM.Vec ℂ) : |
| 217 | ballAnnihilatorProjection β z (ballAnnihilatorProjection β z w) = |
| 218 | ballAnnihilatorProjection β z w := rfl |
| 219 | |
| 220 | theorem ball_line_projection_joint_holomorphic : |
| 221 | Differentiable ℂ (fun p : HeckeCycles.GeometricSource.CM.BallChart × HeckeCycles.GeometricSource.CM.Vec ℂ => ballLineProjection p.1 p.2) := by |
| 222 | unfold ballLineProjection |
| 223 | apply differentiable_pi.mpr |
| 224 | intro j |
| 225 | fin_cases j <;> simp [HeckeCycles.GeometricSource.CM.BallDatum.lineVector] <;> fun_prop |
| 226 | |
| 227 | theorem ball_annihilator_projection_joint_holomorphic (β : ℂ) : |
| 228 | Differentiable ℂ (fun p : HeckeCycles.GeometricSource.CM.BallChart × HeckeCycles.GeometricSource.CM.Vec ℂ => ballAnnihilatorProjection β p.1 p.2) := by |
| 229 | unfold ballAnnihilatorProjection |
| 230 | apply differentiable_pi.mpr |
| 231 | intro j |
| 232 | fin_cases j <;> simp [div_eq_mul_inv] <;> fun_prop |
| 233 | |
| 234 | theorem distinguished_local_pairing (K : IntermediateField ℚ ℂ) (β : K) |
| 235 | (z : HeckeCycles.GeometricSource.CM.BallChart) (w : HeckeCycles.GeometricSource.CM.Vec ℂ) : |
| 236 | HeckeCycles.GeometricSource.CM.localPairing K β 1 (HeckeCycles.GeometricSource.CM.BallDatum.lineVector z) w = ballAnnihilatorEquation (β : ℂ) z w := by |
| 237 | simp [HeckeCycles.GeometricSource.CM.localPairing, HeckeCycles.GeometricSource.CM.BallDatum.lineVector, ballAnnihilatorEquation, Fin.sum_univ_succ] |
| 238 | ring |
| 239 | |
| 240 | def distinguishedProjection (K : IntermediateField ℚ ℂ) |
| 241 | [NumberField K] [NumberField.IsCMField K] (B : HeckeCycles.GeometricSource.CM.BallDatum K) (z : HeckeCycles.GeometricSource.CM.BallChart) : |
| 242 | (HeckeCycles.GeometricSource.CM.Vec ℂ × HeckeCycles.GeometricSource.CM.Vec ℂ) →ₗ[ℂ] (HeckeCycles.GeometricSource.CM.Vec ℂ × HeckeCycles.GeometricSource.CM.Vec ℂ) := |
| 243 | (ballLineProjection z).prodMap (ballAnnihilatorProjection (B.b : ℂ) z) |
| 244 | |
| 245 | /-- This is exactly the distinguished-place clause of the accepted HeckeCycles |
| 246 | source prescription, using the actual coefficient of the constructed ball. -/ |
| 247 | theorem distinguished_projection_fixed_iff (K : IntermediateField ℚ ℂ) |
| 248 | [NumberField K] [NumberField.IsCMField K] (B : HeckeCycles.GeometricSource.CM.BallDatum K) |
| 249 | (z : HeckeCycles.GeometricSource.CM.BallChart) (w : HeckeCycles.GeometricSource.CM.Vec ℂ × HeckeCycles.GeometricSource.CM.Vec ℂ) : |
| 250 | distinguishedProjection K B z w = w ↔ |
| 251 | w.1 ∈ ℂ ∙ HeckeCycles.GeometricSource.CM.BallDatum.lineVector z ∧ HeckeCycles.GeometricSource.CM.localPairing K B.b 1 (HeckeCycles.GeometricSource.CM.BallDatum.lineVector z) w.2 = 0 := by |
| 252 | have hβ : (B.b : ℂ) ≠ 0 := by |
| 253 | intro h |
| 254 | have hn := B.negative |
| 255 | rw [h, Complex.zero_re] at hn |
| 256 | exact (lt_irrefl 0) hn |
| 257 | change (ballLineProjection z w.1, ballAnnihilatorProjection (B.b : ℂ) z w.2) = w ↔ _ |
| 258 | rw [Prod.ext_iff, ball_line_projection_fixed_iff, |
| 259 | ball_annihilator_projection_fixed_iff _ hβ, distinguished_local_pairing] |
| 260 | |
| 261 | end |
| 262 | |
| 263 | /-! ThetaCycle: an actual linear projector onto the full source-prescribed period. -/ |
| 264 | |
| 265 | open scoped Classical |
| 266 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ReferenceDatum.CM |
| 267 | |
| 268 | variable (K : IntermediateField ℚ ℂ) |
| 269 | [NumberField K] [IsGalois ℚ K] [NumberField.IsCMField K] |
| 270 | |
| 271 | def pairedLineProjector (B : HeckeCycles.GeometricSource.CM.BallDatum K) (places : HeckeCycles.GeometricSource.CM.Places K) |
| 272 | (d : Gal(K/ℚ) → Bool) (z : HeckeCycles.GeometricSource.CM.BallChart) : |
| 273 | Lagrangians.CM.pairedAmbient K places →ₗ[ℂ] Lagrangians.CM.pairedAmbient K places where |
| 274 | toFun w τ := if τ = places.distinguished then distinguishedProjection K B z (w τ) |
| 275 | else if d (places.representative τ) then (0, (w τ).2) else ((w τ).1, 0) |
| 276 | map_add' w u := by |
| 277 | funext τ |
| 278 | split_ifs <;> simp_all |
| 279 | map_smul' c w := by |
| 280 | funext τ |
| 281 | split_ifs <;> simp_all |
| 282 | |
| 283 | theorem paired_line_projector_fixed_iff (B : HeckeCycles.GeometricSource.CM.BallDatum K) (places : HeckeCycles.GeometricSource.CM.Places K) |
| 284 | (d : Gal(K/ℚ) → Bool) (z : HeckeCycles.GeometricSource.CM.BallChart) (w : Lagrangians.CM.pairedAmbient K places) : |
| 285 | pairedLineProjector K B places d z w = w ↔ |
| 286 | HeckeCycles.GeometricSource.CM.prescribed K B places d z ((Symplectic.CM.galoisToPaired K places).symm w) := by |
| 287 | rw [funext_iff] |
| 288 | unfold HeckeCycles.GeometricSource.CM.prescribed |
| 289 | apply forall_congr' |
| 290 | intro τ |
| 291 | have hv := Prescribed.CM.paired_inverse_components K places w τ |
| 292 | have hv₁ := congrArg Prod.fst hv |
| 293 | have hv₂ := congrArg Prod.snd hv |
| 294 | change (Symplectic.CM.galoisToPaired K places).symm w (places.representative τ) = (w τ).1 at hv₁ |
| 295 | change (Symplectic.CM.galoisToPaired K places).symm w |
| 296 | (ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K * places.representative τ) = (w τ).2 at hv₂ |
| 297 | simp only [pairedLineProjector, LinearMap.coe_mk, AddHom.coe_mk, hv₁, hv₂] |
| 298 | by_cases hτ : τ = places.distinguished |
| 299 | · subst τ |
| 300 | simp only [ite_true, places.identity, distinguished_projection_fixed_iff] |
| 301 | · cases d (places.representative τ) <;> |
| 302 | simp [hτ, Prod.ext_iff, eq_comm] |
| 303 | |
| 304 | def sourcePeriodProjector (B : HeckeCycles.GeometricSource.CM.BallDatum K) (places : HeckeCycles.GeometricSource.CM.Places K) |
| 305 | (d : Gal(K/ℚ) → Bool) (z : HeckeCycles.GeometricSource.CM.BallChart) : HeckeCycles.GeometricSource.CM.Ambient K →ₗ[ℂ] HeckeCycles.GeometricSource.CM.Ambient K := |
| 306 | (Symplectic.CM.galoisToPaired K places).symm.toLinearMap.comp <| |
| 307 | (pairedLineProjector K B places d z).comp (Symplectic.CM.galoisToPaired K places).toLinearMap |
| 308 | |
| 309 | theorem source_period_projector_fixed_iff (B : HeckeCycles.GeometricSource.CM.BallDatum K) (places : HeckeCycles.GeometricSource.CM.Places K) |
| 310 | (d : Gal(K/ℚ) → Bool) (z : HeckeCycles.GeometricSource.CM.BallChart) (w : HeckeCycles.GeometricSource.CM.Ambient K) : |
| 311 | sourcePeriodProjector K B places d z w = w ↔ HeckeCycles.GeometricSource.CM.prescribed K B places d z w := by |
| 312 | rw [← (Symplectic.CM.galoisToPaired K places).injective.eq_iff] |
| 313 | change Symplectic.CM.galoisToPaired K places ((Symplectic.CM.galoisToPaired K places).symm |
| 314 | (pairedLineProjector K B places d z (Symplectic.CM.galoisToPaired K places w))) = Symplectic.CM.galoisToPaired K places w ↔ _ |
| 315 | rw [LinearEquiv.apply_symm_apply, paired_line_projector_fixed_iff, LinearEquiv.symm_apply_apply] |
| 316 | |
| 317 | omit [IsGalois ℚ K] in |
| 318 | theorem paired_line_projector_idempotent (B : HeckeCycles.GeometricSource.CM.BallDatum K) (places : HeckeCycles.GeometricSource.CM.Places K) |
| 319 | (d : Gal(K/ℚ) → Bool) (z : HeckeCycles.GeometricSource.CM.BallChart) (w : Lagrangians.CM.pairedAmbient K places) : |
| 320 | pairedLineProjector K B places d z (pairedLineProjector K B places d z w) = |
| 321 | pairedLineProjector K B places d z w := by |
| 322 | funext τ |
| 323 | by_cases hτ : τ = places.distinguished |
| 324 | · simp only [pairedLineProjector, LinearMap.coe_mk, AddHom.coe_mk, ite_eq_left hτ] |
| 325 | change (ballLineProjection z (ballLineProjection z (w τ).1), |
| 326 | ballAnnihilatorProjection (B.b : ℂ) z (ballAnnihilatorProjection (B.b : ℂ) z (w τ).2)) = _ |
| 327 | rw [ball_line_projection_idempotent, ball_annihilator_projection_idempotent] |
| 328 | rfl |
| 329 | · cases hd : d (places.representative τ) <;> simp [pairedLineProjector, hτ, hd] |
| 330 | |
| 331 | theorem source_period_projector_idempotent (B : HeckeCycles.GeometricSource.CM.BallDatum K) (places : HeckeCycles.GeometricSource.CM.Places K) |
| 332 | (d : Gal(K/ℚ) → Bool) (z : HeckeCycles.GeometricSource.CM.BallChart) (w : HeckeCycles.GeometricSource.CM.Ambient K) : |
| 333 | sourcePeriodProjector K B places d z (sourcePeriodProjector K B places d z w) = |
| 334 | sourcePeriodProjector K B places d z w := by |
| 335 | simp only [sourcePeriodProjector, LinearMap.comp_apply, LinearEquiv.coe_coe, |
| 336 | LinearEquiv.apply_symm_apply, paired_line_projector_idempotent] |
| 337 | |
| 338 | theorem source_period_projector_prescribed (B : HeckeCycles.GeometricSource.CM.BallDatum K) (places : HeckeCycles.GeometricSource.CM.Places K) |
| 339 | (d : Gal(K/ℚ) → Bool) (z : HeckeCycles.GeometricSource.CM.BallChart) (w : HeckeCycles.GeometricSource.CM.Ambient K) : |
| 340 | HeckeCycles.GeometricSource.CM.prescribed K B places d z (sourcePeriodProjector K B places d z w) := |
| 341 | (source_period_projector_fixed_iff K B places d z _).mp |
| 342 | (source_period_projector_idempotent K B places d z w) |
| 343 | |
| 344 | theorem source_period_graph_fixed {B : HeckeCycles.GeometricSource.CM.BallDatum K} {places : HeckeCycles.GeometricSource.CM.Places K} {d : Gal(K/ℚ) → Bool} |
| 345 | (L : HeckeCycles.GeometricSource.CM.LinePeriod K B places d) (z : HeckeCycles.GeometricSource.CM.BallChart) (hz : z ∈ B.domain) |
| 346 | (x : HeckeCycles.GeometricSource.CM.Positions K places → ℂ) : |
| 347 | sourcePeriodProjector K B places d z (HeckeCycles.GeometricSource.CM.graphInAmbient K L.coordinates (L.period z) x) = |
| 348 | HeckeCycles.GeometricSource.CM.graphInAmbient K L.coordinates (L.period z) x := by |
| 349 | apply (source_period_projector_fixed_iff K B places d z _).mpr |
| 350 | apply (L.graph_prescribed z hz _).mpr |
| 351 | change (L.coordinates.complex (L.coordinates.complex.symm |
| 352 | ((L.period z).matrix.mulVec x, x))).1 = |
| 353 | (L.period z).matrix.mulVec |
| 354 | (L.coordinates.complex (L.coordinates.complex.symm ((L.period z).matrix.mulVec x, x))).2 |
| 355 | rw [LinearEquiv.apply_symm_apply] |
| 356 | |
| 357 | end |
| 358 | |
| 359 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.CompactComplex.CM |