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.HeckeCycles.Source.ComplexAction |
| 2 | import OAI.RepresentationTheory.Theta.Geometric.Period.Ne |
| 3 | |
| 4 | /-! # Unitary Eq -/ |
| 5 | |
| 6 | namespace OAI |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.UnitaryEq.CM.Frames |
| 11 | |
| 12 | /-! The literal CM coordinate action preserves the source's paired |
| 13 | forms and carries its distinguished negative line to the actual rational |
| 14 | period action. These are the geometric identities behind theta covariance. -/ |
| 15 | |
| 16 | open scoped Classical |
| 17 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM |
| 18 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.ComplexAction.CM |
| 19 | |
| 20 | variable (E : IntermediateField ℚ ℂ) [NumberField E] [NumberField.IsCMField E] |
| 21 | {B : GeometricSource.CM.BallDatum E} |
| 22 | |
| 23 | def localAction (g : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b) (τ : Gal(E/ℚ)) : Module.End ℂ (GeometricSource.CM.Vec ℂ) := |
| 24 | Matrix.toLin' ((g.val : Matrix (Fin 3) (Fin 3) E).map |
| 25 | (E.val.toRingHom.comp τ.toRingHom)) |
| 26 | |
| 27 | theorem ambientOperator_apply (g : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b) (w : GeometricSource.CM.Ambient E) |
| 28 | (τ : Gal(E/ℚ)) : ComplexAction.CM.ambientOperator E g w τ = localAction E g τ (w τ) := rfl |
| 29 | |
| 30 | theorem conjugate_action (g : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b) (τ : Gal(E/ℚ)) (x : GeometricSource.CM.Vec ℂ) : |
| 31 | localAction E g (ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E * τ) x = star (localAction E g τ (star x)) := by |
| 32 | funext i |
| 33 | simp [localAction, Matrix.toLin'_apply, Matrix.mulVec, dotProduct, |
| 34 | AlgEquiv.mul_apply, ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation_coe] |
| 35 | |
| 36 | theorem pairing_eq_form (τ : Gal(E/ℚ)) (x y : GeometricSource.CM.Vec ℂ) : |
| 37 | GeometricSource.CM.localPairing E B.b τ x y = |
| 38 | Geometry.ComplexBall.ArithmeticQuotientEquationsData.form (starRingEnd ℂ) ((τ B.b : E) : ℂ) x (star y) := by |
| 39 | simp [GeometricSource.CM.localPairing, Geometry.ComplexBall.ArithmeticQuotientEquationsData.form, Geometry.ComplexBall.ArithmeticQuotientEquationsData.diagonalCoefficient] |
| 40 | |
| 41 | theorem pairing_preserved (g : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b) (τ : Gal(E/ℚ)) (x y : GeometricSource.CM.Vec ℂ) : |
| 42 | GeometricSource.CM.localPairing E B.b τ (localAction E g τ x) |
| 43 | (localAction E g (ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E * τ) y) = GeometricSource.CM.localPairing E B.b τ x y := by |
| 44 | rw [pairing_eq_form, pairing_eq_form, conjugate_action, star_star] |
| 45 | exact (Geometry.ComplexBall.ArithmeticQuotientEquationsData.infinitePlaceMap B.b (E.val.toRingHom.comp τ.toRingHom) g).property x (star y) |
| 46 | |
| 47 | def period (g : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b) : GeometricSource.CM.BallChart → GeometricSource.CM.BallChart := |
| 48 | RepresentationTheory.Theta.Geometric.Period.Ne.rationalPeriodPerm B.b E.val.toRingHom g |
| 49 | |
| 50 | theorem line_action (g : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b) |
| 51 | (z : GeometricSource.CM.BallChart) (hz : z ∈ B.domain) : |
| 52 | ∃ c : ℂ, c ≠ 0 ∧ localAction E g 1 (GeometricSource.CM.BallDatum.lineVector z) = |
| 53 | c • GeometricSource.CM.BallDatum.lineVector (Frames.period E g z) := by |
| 54 | have hc := RepresentationTheory.Theta.Geometric.Period.Ne.periodRow_last_ne_zero B.b E.val.toRingHom g ⟨z, hz⟩ |
| 55 | refine ⟨RepresentationTheory.Theta.Geometric.Period.Ne.periodRow B.b E.val.toRingHom g 2 z, hc, ?_⟩ |
| 56 | have ha (i : Fin 3) : localAction E g 1 (GeometricSource.CM.BallDatum.lineVector z) i = |
| 57 | RepresentationTheory.Theta.Geometric.Period.Ne.periodRow B.b E.val.toRingHom g i z := |
| 58 | (RepresentationTheory.Theta.Geometric.Period.Ne.periodRow_eq_mulVec B.b E.val.toRingHom g i z).symm |
| 59 | funext i |
| 60 | rw [ha] |
| 61 | change _ = RepresentationTheory.Theta.Geometric.Period.Ne.periodRow B.b E.val.toRingHom g 2 z * |
| 62 | GeometricSource.CM.BallDatum.lineVector (RepresentationTheory.Theta.Geometric.Period.Ne.rationalPeriodPerm B.b E.val.toRingHom g z) i |
| 63 | rw [RepresentationTheory.Theta.Geometric.Period.Ne.rationalPeriodPerm_eq_fractional B.b E.val.toRingHom g z hz] |
| 64 | fin_cases i |
| 65 | · exact (mul_div_cancel₀ _ hc).symm |
| 66 | · exact (mul_div_cancel₀ _ hc).symm |
| 67 | · exact (mul_one _).symm |
| 68 | |
| 69 | end AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.UnitaryEq.CM.Frames |
| 70 | |
| 71 | namespace AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.UnitaryEq.CM.PrescribedAction |
| 72 | |
| 73 | /-! The source's prescribed Lagrangian is equivariant under the actual |
| 74 | rational unitary action, including its distinguished line, annihilator, |
| 75 | and all compact-place summands. -/ |
| 76 | |
| 77 | open scoped Classical |
| 78 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM |
| 79 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.ComplexAction.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.UnitaryEq.CM.Frames |
| 80 | |
| 81 | variable (E : IntermediateField ℚ ℂ) [NumberField E] [NumberField.IsCMField E] |
| 82 | {B : GeometricSource.CM.BallDatum E} |
| 83 | |
| 84 | theorem localAction_one (τ : Gal(E/ℚ)) : |
| 85 | Frames.localAction E (1 : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b) τ = 1 := by |
| 86 | simp [Frames.localAction] |
| 87 | rfl |
| 88 | |
| 89 | theorem localAction_mul (g h : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b) (τ : Gal(E/ℚ)) : |
| 90 | Frames.localAction E (g * h) τ = Frames.localAction E g τ * Frames.localAction E h τ := by |
| 91 | change Matrix.toLin' (((g.val : Matrix (Fin 3) (Fin 3) E) * h.val).map |
| 92 | (E.val.toRingHom.comp τ.toRingHom)) = _ |
| 93 | rw [Matrix.map_mul, Matrix.toLin'_mul] |
| 94 | rfl |
| 95 | |
| 96 | theorem ambient_inverse (g : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b) (w : GeometricSource.CM.Ambient E) : |
| 97 | ComplexAction.CM.ambientOperator E g⁻¹ (ComplexAction.CM.ambientOperator E g w) = w := by |
| 98 | funext τ |
| 99 | change Frames.localAction E g⁻¹ τ (Frames.localAction E g τ (w τ)) = w τ |
| 100 | rw [← Module.End.mul_apply, ← localAction_mul, inv_mul_cancel, localAction_one, |
| 101 | Module.End.one_apply] |
| 102 | |
| 103 | theorem period_inverse (g : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b) (z : GeometricSource.CM.BallChart) : |
| 104 | Frames.period E g⁻¹ (Frames.period E g z) = z := by |
| 105 | change RepresentationTheory.Theta.Geometric.Period.Ne.rationalPeriodPerm B.b E.val.toRingHom g⁻¹ |
| 106 | (RepresentationTheory.Theta.Geometric.Period.Ne.rationalPeriodPerm B.b E.val.toRingHom g z) = z |
| 107 | rw [← Equiv.Perm.mul_apply, ← map_mul, inv_mul_cancel, map_one] |
| 108 | rfl |
| 109 | |
| 110 | theorem period_preserves (g : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b) (z : GeometricSource.CM.BallChart) |
| 111 | (hz : z ∈ B.domain) : Frames.period E g z ∈ B.domain := |
| 112 | RepresentationTheory.Theta.Geometric.Period.Ne.rationalPeriodPerm_preserves B.b E.val.toRingHom g z hz |
| 113 | |
| 114 | theorem pairing_smul_left (τ : Gal(E/ℚ)) (c : ℂ) (x y : GeometricSource.CM.Vec ℂ) : |
| 115 | GeometricSource.CM.localPairing E B.b τ (c • x) y = c * GeometricSource.CM.localPairing E B.b τ x y := by |
| 116 | simp only [GeometricSource.CM.localPairing, Pi.smul_apply, smul_eq_mul, Finset.mul_sum] |
| 117 | exact Finset.sum_congr rfl (fun _ _ => by ring) |
| 118 | |
| 119 | theorem prescribed_forward (places : GeometricSource.CM.Places E) (d : Gal(E/ℚ) → Bool) |
| 120 | (g : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b) (z : GeometricSource.CM.BallChart) (hz : z ∈ B.domain) |
| 121 | (w : GeometricSource.CM.Ambient E) (hw : GeometricSource.CM.prescribed E B places d z w) : |
| 122 | GeometricSource.CM.prescribed E B places d (Frames.period E g z) (ComplexAction.CM.ambientOperator E g w) := by |
| 123 | intro i |
| 124 | have hi := hw i |
| 125 | by_cases hid : i = places.distinguished |
| 126 | · subst i |
| 127 | simp only [places.identity, mul_one] at hi ⊢ |
| 128 | obtain ⟨c, hc, hline⟩ := Frames.line_action E g z hz |
| 129 | constructor |
| 130 | · obtain ⟨a, ha⟩ := Submodule.mem_span_singleton.mp hi.1 |
| 131 | apply Submodule.mem_span_singleton.mpr |
| 132 | refine ⟨a * c, ?_⟩ |
| 133 | rw [Frames.ambientOperator_apply, ← ha, map_smul, hline, smul_smul] |
| 134 | · have hpair := (Frames.pairing_preserved E g 1 (GeometricSource.CM.BallDatum.lineVector z) (w (ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E))).trans hi.2 |
| 135 | rw [mul_one, hline, pairing_smul_left] at hpair |
| 136 | exact (mul_eq_zero.mp hpair).resolve_left hc |
| 137 | · rw [ite_eq_right hid] at hi ⊢ |
| 138 | split_ifs with hd |
| 139 | · have hwzero : w (places.representative i) = 0 := by simpa only [ite_eq_left hd] using hi |
| 140 | rw [Frames.ambientOperator_apply, hwzero, map_zero] |
| 141 | · have hwzero : w (ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E * places.representative i) = 0 := by |
| 142 | simpa only [ite_eq_right hd] using hi |
| 143 | rw [Frames.ambientOperator_apply, hwzero, map_zero] |
| 144 | |
| 145 | theorem prescribed_equivariant (places : GeometricSource.CM.Places E) (d : Gal(E/ℚ) → Bool) |
| 146 | (g : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b) (z : GeometricSource.CM.BallChart) (hz : z ∈ B.domain) |
| 147 | (w : GeometricSource.CM.Ambient E) : |
| 148 | GeometricSource.CM.prescribed E B places d (Frames.period E g z) (ComplexAction.CM.ambientOperator E g w) ↔ |
| 149 | GeometricSource.CM.prescribed E B places d z w := by |
| 150 | constructor |
| 151 | · intro hw |
| 152 | have h := prescribed_forward E places d g⁻¹ (Frames.period E g z) |
| 153 | (period_preserves E g z hz) (ComplexAction.CM.ambientOperator E g w) hw |
| 154 | rwa [period_inverse, ambient_inverse] at h |
| 155 | · exact prescribed_forward E places d g z hz w |
| 156 | |
| 157 | end AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.UnitaryEq.CM.PrescribedAction |
| 158 | |
| 159 | namespace AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.UnitaryEq.CM.PeriodCovariance |
| 160 | |
| 161 | /-! The actual source period matrix transforms by its constructed |
| 162 | rational symplectic action. This follows from the prescribed graph and |
| 163 | unitary equivariance, with no period-transformation hypothesis. -/ |
| 164 | |
| 165 | open scoped Classical |
| 166 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM |
| 167 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.ComplexAction.CM.Symplectic OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.ComplexAction.CM |
| 168 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.UnitaryEq.CM.Frames OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.UnitaryEq.CM.PrescribedAction |
| 169 | |
| 170 | variable {I : Type*} [Fintype I] [DecidableEq I] |
| 171 | |
| 172 | theorem real_blocks_matrix (g : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.Sp I ℚ) : |
| 173 | Matrix.fromBlocks (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks g).complexify.A (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks g).complexify.B |
| 174 | (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks g).complexify.C (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks g).complexify.D = |
| 175 | g.val.map (algebraMap ℚ ℂ) := by |
| 176 | ext i j |
| 177 | cases i <;> cases j <;> exact Complex.ofReal_ratCast _ |
| 178 | |
| 179 | def graphPhase (Z : ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix I) (x : I → ℂ) : (I ⊕ I) → ℂ := |
| 180 | Sum.elim (Z.matrix.mulVec x) x |
| 181 | |
| 182 | theorem block_graph_action (g : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.Sp I ℚ) (Z : ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix I) (x : I → ℂ) : |
| 183 | (g.val.map (algebraMap ℚ ℂ)).mulVec (graphPhase Z x) = |
| 184 | Sum.elim ((RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks g).complexify.numerator Z.matrix |>.mulVec x) |
| 185 | ((RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks g).complexify.denominator Z.matrix |>.mulVec x) := by |
| 186 | rw [← real_blocks_matrix, Matrix.fromBlocks_mulVec] |
| 187 | simp only [graphPhase, Function.comp_def, Sum.elim_inl, Sum.elim_inr, |
| 188 | ComplexMultiplication.CMSymplecticSiegel.CM.SymplecticBlocks.numerator, ComplexMultiplication.CMSymplecticSiegel.CM.SymplecticBlocks.denominator, Matrix.add_mulVec, |
| 189 | Matrix.mulVec_mulVec] |
| 190 | |
| 191 | variable (E : IntermediateField ℚ ℂ) [NumberField E] [NumberField.IsCMField E] |
| 192 | {B : GeometricSource.CM.BallDatum E} {places : GeometricSource.CM.Places E} {d : Gal(E/ℚ) → Bool} |
| 193 | (L : GeometricSource.CM.LinePeriod E B places d) |
| 194 | |
| 195 | theorem complexFrame_graph (z : GeometricSource.CM.BallChart) (x : GeometricSource.CM.Positions E places → ℂ) : |
| 196 | ComplexAction.CM.complexFrame E L.coordinates (GeometricSource.CM.graphInAmbient E L.coordinates (L.period z) x) = |
| 197 | graphPhase (L.period z) x := by |
| 198 | change (LinearEquiv.sumArrowLequivProdArrow _ _ ℂ ℂ).symm |
| 199 | (L.coordinates.complex (L.coordinates.complex.symm ((L.period z).matrix.mulVec x, x))) = _ |
| 200 | rw [LinearEquiv.apply_symm_apply] |
| 201 | rfl |
| 202 | |
| 203 | theorem graph_prescribed (z : GeometricSource.CM.BallChart) (hz : z ∈ B.domain) (x : GeometricSource.CM.Positions E places → ℂ) : |
| 204 | GeometricSource.CM.prescribed E B places d z (GeometricSource.CM.graphInAmbient E L.coordinates (L.period z) x) := by |
| 205 | apply (L.graph_prescribed z hz _).mpr |
| 206 | change (L.coordinates.complex (L.coordinates.complex.symm ((L.period z).matrix.mulVec x, x))).1 = |
| 207 | (L.period z).matrix.mulVec |
| 208 | (L.coordinates.complex (L.coordinates.complex.symm ((L.period z).matrix.mulVec x, x))).2 |
| 209 | rw [LinearEquiv.apply_symm_apply] |
| 210 | |
| 211 | theorem transformed_graph (g : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b) |
| 212 | (z : GeometricSource.CM.BallChart) (hz : z ∈ B.domain) (x : GeometricSource.CM.Positions E places → ℂ) : |
| 213 | ((RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks (ComplexAction.CM.Symplectic.symplectic E L.coordinates g)).complexify.numerator (L.period z).matrix).mulVec x = |
| 214 | (L.period (Frames.period E g z)).matrix.mulVec |
| 215 | (((RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks (ComplexAction.CM.Symplectic.symplectic E L.coordinates g)).complexify.denominator (L.period z).matrix).mulVec x) := by |
| 216 | let w := GeometricSource.CM.graphInAmbient E L.coordinates (L.period z) x |
| 217 | let w' := ComplexAction.CM.ambientOperator E g w |
| 218 | have hp : GeometricSource.CM.prescribed E B places d (Frames.period E g z) w' := |
| 219 | PrescribedAction.prescribed_forward E places d g z hz w (PeriodCovariance.graph_prescribed E L z hz x) |
| 220 | have hgraph := (L.graph_prescribed (Frames.period E g z) (PrescribedAction.period_preserves E g z hz) w').mp hp |
| 221 | have he : |
| 222 | Sum.elim |
| 223 | (((RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks (ComplexAction.CM.Symplectic.symplectic E L.coordinates g)).complexify.numerator (L.period z).matrix).mulVec x) |
| 224 | (((RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks (ComplexAction.CM.Symplectic.symplectic E L.coordinates g)).complexify.denominator (L.period z).matrix).mulVec x) = |
| 225 | ComplexAction.CM.complexFrame E L.coordinates w' := by |
| 226 | rw [← block_graph_action, ← complexFrame_graph E L z x] |
| 227 | exact ComplexAction.CM.complex_matrix_frame E L.coordinates g w |
| 228 | have hu := congrArg (fun p : (GeometricSource.CM.Positions E places ⊕ GeometricSource.CM.Positions E places) → ℂ => |
| 229 | fun i => p (.inl i)) he |
| 230 | have hl := congrArg (fun p : (GeometricSource.CM.Positions E places ⊕ GeometricSource.CM.Positions E places) → ℂ => |
| 231 | fun i => p (.inr i)) he |
| 232 | exact hu.trans (hgraph.trans (congrArg (L.period (Frames.period E g z)).matrix.mulVec hl.symm)) |
| 233 | |
| 234 | theorem period_covariance (g : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b) |
| 235 | (z : GeometricSource.CM.BallChart) (hz : z ∈ B.domain) : |
| 236 | L.period (Frames.period E g z) = (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks (ComplexAction.CM.Symplectic.symplectic E L.coordinates g)).transformSiegel (L.period z) := by |
| 237 | let G := RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks (ComplexAction.CM.Symplectic.symplectic E L.coordinates g) |
| 238 | have hm : G.complexify.numerator (L.period z).matrix = |
| 239 | (L.period (Frames.period E g z)).matrix * G.complexify.denominator (L.period z).matrix := by |
| 240 | apply Matrix.mulVec_injective |
| 241 | funext x |
| 242 | rw [← Matrix.mulVec_mulVec] |
| 243 | exact transformed_graph E L g z hz x |
| 244 | have he : (L.period (Frames.period E g z)).matrix = (G.transformSiegel (L.period z)).matrix := by |
| 245 | change _ = G.complexify.numerator (L.period z).matrix * |
| 246 | (G.complexify.denominator (L.period z).matrix)⁻¹ |
| 247 | rw [hm, Matrix.mul_assoc, Matrix.mul_nonsing_inv _ (G.denominator_det_isUnit (L.period z)), |
| 248 | Matrix.mul_one] |
| 249 | generalize L.period (Frames.period E g z) = Z at he ⊢ |
| 250 | generalize G.transformSiegel (L.period z) = W at he ⊢ |
| 251 | cases Z |
| 252 | cases W |
| 253 | cases he |
| 254 | rfl |
| 255 | |
| 256 | end AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.UnitaryEq.CM.PeriodCovariance |
| 257 | |
| 258 | end |
| 259 | |
| 260 | end OAI |